AccessTokenRepository
class AccessTokenRepository extends EntityRepository implements AccessTokenRepositoryInterface (View source)
Methods
                    AccessTokenEntityInterface
                
                
                    getNewToken(ClientEntityInterface $clientEntity, array $scopes, mixed $userIdentifier = null)
        
                                            
                
            Create a new access token
                    persistNewAccessToken(AccessTokenEntityInterface $accessTokenEntity)
        
                                            
                
            Persists a new access token to permanent storage.
                    revokeAccessToken(string $tokenId)
        
                                            
                
            Revoke an access token.
                    bool
                
                
                    isAccessTokenRevoked(string $tokenId)
        
                                            
                
            Check if the access token has been revoked.
Details
        
                            AccessTokenEntityInterface
    getNewToken(ClientEntityInterface $clientEntity, array $scopes, mixed $userIdentifier = null)
        
    
    Create a new access token
        
                            
    persistNewAccessToken(AccessTokenEntityInterface $accessTokenEntity)
        
    
    Persists a new access token to permanent storage.
        
                            
    revokeAccessToken(string $tokenId)
        
    
    Revoke an access token.
        
                            bool
    isAccessTokenRevoked(string $tokenId)
        
    
    Check if the access token has been revoked.