valid Password Request

private open fun validPasswordRequest(userId: String, token: String, deviceId: String, passwordId: String): Boolean

Method used to validate a request related to a Password's operation

Return

whether the requester user is authorized to work on the specified password

Parameters

userId

The identifier of the user

token

The token of the user

deviceId

The identifier of the device from the user request

passwordId

The identifier of the password