findIdentityByAccessToken() public abstract static method
Finds an identity by the given token.
public abstract static yii\web\IdentityInterface findIdentityByAccessToken ( $token, $type = null ) | ||
---|---|---|
$token | mixed |
The token to be looked for |
$type | mixed |
The type of the token. The value of this parameter depends on the implementation. For example, yii\filters\auth\HttpBearerAuth will set this parameter to be |
return | yii\web\IdentityInterface |
The identity object that matches the given token. Null should be returned if such an identity cannot be found or the identity is not in an active state (disabled, deleted, etc.) |
Please login to continue.