loginByAccessToken() public method
Logs in a user by the given access token. This method will first authenticate the user by calling yii\web\IdentityInterface::findIdentityByAccessToken() with the provided access token. If successful, it will call login() to log in the authenticated user. If authentication fails or login() is unsuccessful, it will return null.
public yii\web\IdentityInterface|null loginByAccessToken ( $token, $type = null )$token string
The access token $type mixed
The