◆ getNewToken()
getNewToken |
( |
ClientEntityInterface |
$clientEntity, |
|
|
array |
$scopes, |
|
|
|
$userIdentifier = null |
|
) |
| |
Create a new access token.
- Parameters
-
| ScopeEntityInterface[] | $scopes |
mixed | $userIdentifier | |
- Returns
- AccessTokenEntityInterface
◆ isAccessTokenRevoked()
isAccessTokenRevoked |
( |
|
$tokenId | ) |
|
Check if the access token has been revoked.
- Parameters
-
- Returns
- bool Return true if this token has been revoked
◆ persistNewAccessToken()
persistNewAccessToken |
( |
AccessTokenEntityInterface |
$accessTokenEntity | ) |
|
Persists a new access token to permanent storage.
- Exceptions
-
UniqueTokenIdentifierConstraintViolationException | |
◆ revokeAccessToken()
revokeAccessToken |
( |
|
$tokenId | ) |
|
Revoke an access token.
- Parameters
-
The documentation for this class was generated from the following file: