Class

Symfony\Component\Security\Core\Exception\AuthenticationException

class AuthenticationException extends RuntimeException implements Serializable

AuthenticationException is the base class for all authentication exceptions.

Methods

TokenInterface getToken()

Get the token.

setToken(TokenInterface $token)

Set the token.

serialize()

unserialize($str)

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
public TokenInterface getToken()

Get the token.

Return Value

TokenInterface

at line 41
public setToken(TokenInterface $token)

Set the token.

Parameters

TokenInterface $token

at line 46
public serialize()

at line 57
public unserialize($str)

Parameters

$str

at line 73
public string getMessageKey()

Message key to be used by the translation component.

Return Value

string

at line 83
public array getMessageData()

Message data to be used by the translation component.

Return Value

array