AdvancedUserInterface::isAccountNonLocked()

bool isAccountNonLocked() Checks whether the user is locked. Internally, if this method returns false, the authentication system will throw a LockedException and prevent login. Return Value bool true if the user is not locked, false otherwise See also LockedException

AdvancedUserInterface::isAccountNonExpired()

bool isAccountNonExpired() Checks whether the user's account has expired. Internally, if this method returns false, the authentication system will throw an AccountExpiredException and prevent login. Return Value bool true if the user's account is non expired, false otherwise See also AccountExpiredException

AdvancedUserInterface

interface AdvancedUserInterface implements UserInterface Adds extra features to a user class related to account status flags. This interface can be implemented in place of UserInterface if you'd like the authentication system to consider different account status flags during authentication. If any of the methods in this interface return false, authentication will fail. If you need to perform custom logic for any of these situations, then you will need to register an exception listener and wa

AddValidatorInitializersPass

class AddValidatorInitializersPass implements CompilerPassInterface Methods process(ContainerBuilder $container) You can modify the container here before it is dumped to PHP code. Details process(ContainerBuilder $container) You can modify the container here before it is dumped to PHP code. Parameters ContainerBuilder $container

AddSecurityVotersPass

class AddSecurityVotersPass implements CompilerPassInterface Adds all configured security voters to the access decision manager. Methods process(ContainerBuilder $container) You can modify the container here before it is dumped to PHP code. Details process(ContainerBuilder $container) You can modify the container here before it is dumped to PHP code. Parameters ContainerBuilder $container

AddRequestFormatsListener::onKernelRequest()

onKernelRequest(GetResponseEvent $event) Adds request formats. Parameters GetResponseEvent $event

AddRequestFormatsListener::getSubscribedEvents()

static array getSubscribedEvents() Returns an array of event names this subscriber wants to listen to. The array keys are event names and the value can be: The method name to call (priority defaults to 0) An array composed of the method name to call and the priority An array of arrays composed of the method names to call and respective priorities, or 0 if unset For instance: array('eventName' => 'methodName') array('eventName' => array('methodName', $priority)) a

AddRequestFormatsListener

class AddRequestFormatsListener implements EventSubscriberInterface Adds configured formats to each request. Methods __construct(array $formats) onKernelRequest(GetResponseEvent $event) Adds request formats. static array getSubscribedEvents() Returns an array of event names this subscriber wants to listen to. Details __construct(array $formats) Parameters array $formats onKernelRequest(GetResponseEven

AddExpressionLanguageProvidersPass

class AddExpressionLanguageProvidersPass implements CompilerPassInterface Registers the expression language providers. Methods process(ContainerBuilder $container) You can modify the container here before it is dumped to PHP code. Details process(ContainerBuilder $container) You can modify the container here before it is dumped to PHP code. Parameters ContainerBuilder $container

AddConstraintValidatorsPass

class AddConstraintValidatorsPass implements CompilerPassInterface Methods process(ContainerBuilder $container) You can modify the container here before it is dumped to PHP code. Details process(ContainerBuilder $container) You can modify the container here before it is dumped to PHP code. Parameters ContainerBuilder $container