GuardAuthenticationProvider

class GuardAuthenticationProvider implements AuthenticationProviderInterface Responsible for accepting the PreAuthenticationGuardToken and calling the correct authenticator to retrieve the authenticated token. Methods __construct(array $guardAuthenticators, UserProviderInterface $userProvider, string $providerKey, UserCheckerInterface $userChecker) TokenInterface authenticate(TokenInterface $token) Finds the correct authenticator for the token and calls it. bool supports(Token

GuardAuthenticationListener::setRememberMeServices()

setRememberMeServices(RememberMeServicesInterface $rememberMeServices) Should be called if this listener will support remember me. Parameters RememberMeServicesInterface $rememberMeServices

GuardAuthenticationListener::handle()

handle(GetResponseEvent $event) Iterates over each authenticator to see if each wants to authenticate the request. Parameters GetResponseEvent $event

GuardAuthenticationListener

class GuardAuthenticationListener implements ListenerInterface Authentication listener for the "guard" system. Methods __construct(GuardAuthenticatorHandler $guardHandler, AuthenticationManagerInterface $authenticationManager, string $providerKey, array $guardAuthenticators, LoggerInterface $logger = null) handle(GetResponseEvent $event) Iterates over each authenticator to see if each wants to authenticate the request. setRememberMeServices(RememberMeServicesInterface $remembe

GuardAuthenticationFactory::getPosition()

string getPosition() Defines the position at which the provider is called. Possible values: preauth, form, http, and rememberme. Return Value string

GuardAuthenticationFactory::getKey()

getKey()

GuardAuthenticationFactory::create()

create(ContainerBuilder $container, $id, $config, $userProvider, $defaultEntryPoint) Parameters ContainerBuilder $container $id $config $userProvider $defaultEntryPoint

GuardAuthenticationFactory::addConfiguration()

addConfiguration(NodeDefinition $node) Parameters NodeDefinition $node

GuardAuthenticationFactory

class GuardAuthenticationFactory implements SecurityFactoryInterface Configures the "guard" authentication provider key under a firewall. Methods string getPosition() Defines the position at which the provider is called. getKey() addConfiguration(NodeDefinition $node) create(ContainerBuilder $container, $id, $config, $userProvider, $defaultEntryPoint) Details string getPosition() Defines the position at which the provider is c

GroupSequenceProviderInterface

interface GroupSequenceProviderInterface Defines the interface for a group sequence provider. Methods array getGroupSequence() Returns which validation groups should be used for a certain state of the object. Details array getGroupSequence() Returns which validation groups should be used for a certain state of the object. Return Value array An array of validation groups