is Me

protected open fun isMe(id: String, token: String): Boolean

Method to check whether the user who made a request is an authorized user If the user is authorized the me instance is loaded

Return

whether the user is an authorized user as boolean

Parameters

id

: the identifier of the user

token

: the token of the user