AuthenticationExpiredException
class AuthenticationExpiredException extends AccountStatusException
AuthenticationServiceException is thrown when an authenticated token becomes un-authentcated between requests.
In practice, this is due to the User changing between requests (e.g. password changes), causes the token to become un-authenticated.
Methods
string
getMessageKey()
Message key to be used by the translation component.
array
getMessageData()
Message data to be used by the translation component.
Details
in AuthenticationException at line line 31
TokenInterface
getToken()
Get the token.
in AuthenticationException at line line 41
setToken(TokenInterface $token)
Set the token.
in AccountStatusException at line line 50
serialize()
in AccountStatusException at line line 61
unserialize($str)
at line line 27
string
getMessageKey()
Message key to be used by the translation component.
in AuthenticationException at line line 83
array
getMessageData()
Message data to be used by the translation component.
in AccountStatusException at line line 32
UserInterface
getUser()
Get the user.
in AccountStatusException at line line 42
setUser(UserInterface $user)
Set the user.