Stud.IP  5.4
AuthCodeRepository Class Reference
Inheritance diagram for AuthCodeRepository:

Public Member Functions

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

Member Function Documentation

◆ getNewAuthCode()

getNewAuthCode ( )

Creates a new AuthCode.

◆ isAuthCodeRevoked()

isAuthCodeRevoked (   $codeId)

Check if the auth code has been revoked.

Parameters
string$codeId
Returns
bool Return true if this code has been revoked

◆ persistNewAuthCode()

persistNewAuthCode ( AuthCodeEntityInterface  $authCodeEntity)

Persists a new auth code to permanent storage.

Returns
void
Exceptions
UniqueTokenIdentifierConstraintViolationException

◆ revokeAuthCode()

revokeAuthCode (   $codeId)

Revoke an auth code.

Parameters
string$codeId

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