Stud.IP  4.0
 All Data Structures Namespaces Files Functions Variables Groups
RefreshTokenRepository Class Reference
Inheritance diagram for RefreshTokenRepository:

Public Member Functions

 getNewRefreshToken ()
 
 persistNewRefreshToken (RefreshTokenEntityInterface $refreshTokenEntity)
 
 revokeRefreshToken ($tokenId)
 
 isRefreshTokenRevoked ($tokenId)
 

Member Function Documentation

getNewRefreshToken ( )

Creates a new refresh token.

isRefreshTokenRevoked (   $tokenId)

Check if the refresh token has been revoked.

Parameters
string$tokenId
Returns
bool Return true if this token has been revoked
persistNewRefreshToken ( RefreshTokenEntityInterface  $refreshTokenEntity)

Create a new refresh token_name.

Exceptions
UniqueTokenIdentifierConstraintViolationException
revokeRefreshToken (   $tokenId)

Revoke the refresh token.

Parameters
string$tokenId

The documentation for this class was generated from the following file: