AuthCodeRepository
class AuthCodeRepository implements AuthCodeRepositoryInterface
Traits
Methods
void
from
PersistsTokens
AuthCodeEntityInterface
getNewAuthCode()
Create a new authorization code entity.
void
persistNewAuthCode(AuthCodeEntityInterface $authCodeEntity)
Persist a new authorization code.
void
revokeAuthCode(string $codeId)
Revoke an authorization code.
bool
isAuthCodeRevoked(string $codeId)
Determine whether an authorization code has been revoked.
Details
in
PersistsTokens at line 15
protected void
saveToken(Model $token)
Save a credential or fail when a model observer cancels persistence.
at line 21
AuthCodeEntityInterface
getNewAuthCode()
Create a new authorization code entity.
{@inheritdoc}
at line 31
void
persistNewAuthCode(AuthCodeEntityInterface $authCodeEntity)
Persist a new authorization code.
{@inheritdoc}
at line 55
void
revokeAuthCode(string $codeId)
Revoke an authorization code.
{@inheritdoc}
at line 65
bool
isAuthCodeRevoked(string $codeId)
Determine whether an authorization code has been revoked.
{@inheritdoc}