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

Public Member Functions

 getNewAuthCode ()
 
 persistNewAuthCode (AuthCodeEntityInterface $authCodeEntity)
 
 revokeAuthCode ($codeId)
 
 isAuthCodeRevoked ($codeId)
 

Member Function Documentation

getNewAuthCode ( )

Creates a new AuthCode.

isAuthCodeRevoked (   $codeId)

Check if the auth code has been revoked.

Parameters
string$codeId
Returns
bool Return true if this code has been revoked
persistNewAuthCode ( AuthCodeEntityInterface  $authCodeEntity)

Persists a new auth code to permanent storage.

Returns
void
Exceptions
UniqueTokenIdentifierConstraintViolationException
revokeAuthCode (   $codeId)

Revoke an auth code.

Parameters
string$codeId

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