valid Requester

protected open fun validRequester(userId: String, token: String, deviceId: String): Boolean

Method used to validate the requester's identifier, token and the device id from requested an operation

Return

whether the requester is authorized as boolean

Parameters

userId

The identifier of the user

token

The token of the user

deviceId

The identifier of the device from the user request