class AuthenticationException extends RuntimeException implements Serializable

AuthenticationException is the base class for all authentication exceptions.

Methods

getToken()

Get the token.

setToken(TokenInterface $token)

No description

serialize()

{@inheritdoc}

doSerialize($serialized, $isCalledFromOverridingMethod)

No description

unserialize($str)

No description

string
getMessageKey()

Message key to be used by the translation component.

array
getMessageData()

Message data to be used by the translation component.

Details

at line 31
TokenInterface getToken()

Get the token.

Return Value

TokenInterface

at line 36
setToken(TokenInterface $token)

Parameters

TokenInterface $token

at line 44
serialize()

{@inheritdoc}

at line 60
protected doSerialize($serialized, $isCalledFromOverridingMethod)

Parameters

$serialized
$isCalledFromOverridingMethod

at line 70
unserialize($str)

Parameters

$str

at line 86
string getMessageKey()

Message key to be used by the translation component.

Return Value

string

at line 96
array getMessageData()

Message data to be used by the translation component.

Return Value

array