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

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

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.

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

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

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

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

AuditLogger

class AuditLogger implements AuditLoggerInterface Base audit logger implementation Methods logIfNeeded(bool $granted, EntryInterface $ace) Performs some checks if logging was requested Details logIfNeeded(bool $granted, EntryInterface $ace) Performs some checks if logging was requested Parameters bool $granted EntryInterface $ace

AuditableEntryInterface::isAuditSuccess()

bool isAuditSuccess() Whether auditing for successful denies is turned on Return Value bool