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

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 TokenInterface getToken() Get the token. from AuthenticationException setToken(TokenInterface $token) Set the token. from AuthenticationException serialize() from

AuthenticationEvent

class AuthenticationEvent extends Event This is a general purpose authentication event. Methods Boolean isPropagationStopped() Returns whether further event listeners should be triggered. from Event stopPropagation() Stops the propagation of the event to further event listeners. from Event setDispatcher(EventDispatcherInterface $dispatcher) Stores the EventDispatcher that dispatches this Event from Event EventDispatcherInterface getDispatcher() Returns the EventDispatcher tha

AuthenticationEntryPointInterface

interface AuthenticationEntryPointInterface Implement this interface for any classes that will be called to "start" the authentication process (see method for more details). Methods Response start(Request $request, AuthenticationException $authException = null) Returns a response that directs the user to authenticate. Details Response start(Request $request, AuthenticationException $authException = null) Returns a response that directs the user

AuthenticationEvents

class AuthenticationEvents Constants AUTHENTICATION_SUCCESS The AUTHENTICATION_SUCCESS event occurs after a user is authenticated by one provider. AUTHENTICATION_FAILURE The AUTHENTICATION_FAILURE event occurs after a user cannot be authenticated by any of the providers.

AuditLoggerInterface

interface AuditLoggerInterface Interface for audit loggers Methods logIfNeeded(bool $granted, EntryInterface $ace) This method is called whenever access is granted, or denied, and administrative mode is turned off. Details logIfNeeded(bool $granted, EntryInterface $ace) This method is called whenever access is granted, or denied, and administrative mode is turned off. Parameters bool $granted EntryInterface $ace

AuthenticatedVoter

class AuthenticatedVoter implements VoterInterface AuthenticatedVoter votes if an attribute like ISAUTHENTICATEDFULLY, ISAUTHENTICATEDREMEMBERED, or ISAUTHENTICATEDANONYMOUSLY is present. This list is most restrictive to least restrictive checking. Constants IS_AUTHENTICATED_FULLY IS_AUTHENTICATED_REMEMBERED IS_AUTHENTICATED_ANONYMOUSLY Methods __construct(AuthenticationTrustResolverInterface $authenticationTrustResolver) Constructor. int vote(TokenInterface $token, mi

AuthenticationCredentialsNotFoundException

class AuthenticationCredentialsNotFoundException extends AuthenticationException AuthenticationCredentialsNotFoundException is thrown when an authentication is rejected because no Token is available. Methods TokenInterface getToken() Get the token. from AuthenticationException setToken(TokenInterface $token) Set the token. from AuthenticationException serialize() from AuthenticationException unserialize($str) from AuthenticationException string getMessageKey() Message k

AuditableEntryInterface

interface AuditableEntryInterface implements EntryInterface ACEs can implement this interface if they support auditing capabilities. Methods AclInterface getAcl() The ACL this ACE is associated with. from EntryInterface int getId() The primary key of this ACE from EntryInterface int getMask() The permission mask of this ACE from EntryInterface SecurityIdentityInterface getSecurityIdentity() The security identity associated with this ACE from EntryInterface string getStrat

AuditableEntryInterface::isAuditFailure()

bool isAuditFailure() Whether auditing for successful grants is turned on Return Value bool