class AuthCodeRepository extends EntityRepository implements AuthCodeRepositoryInterface (View source)

Methods

findPublicEntities()

No description

findExpressForms()

No description

AuthCodeEntityInterface
getNewAuthCode()

Creates a new AuthCode

persistNewAuthCode(AuthCodeEntityInterface $authCodeEntity)

Persists a new auth code to permanent storage.

revokeAuthCode(string $codeId)

Revoke an auth code.

bool
isAuthCodeRevoked(string $codeId)

Check if the auth code has been revoked.

Details

findPublicEntities()

findExpressForms()

findOneByResultsNode(ExpressEntryResults $node)

Parameters

ExpressEntryResults $node

AuthCodeEntityInterface getNewAuthCode()

Creates a new AuthCode

Return Value

AuthCodeEntityInterface

persistNewAuthCode(AuthCodeEntityInterface $authCodeEntity)

Persists a new auth code to permanent storage.

Parameters

AuthCodeEntityInterface $authCodeEntity

Exceptions

Exception

revokeAuthCode(string $codeId)

Revoke an auth code.

Parameters

string $codeId

Exceptions

Exception

bool isAuthCodeRevoked(string $codeId)

Check if the auth code has been revoked.

Parameters

string $codeId

Return Value

bool Return true if this code has been revoked