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

GuardAuthenticationFactory::getPosition()

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

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

GuardAuthenticationListener::handle()

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

GuardAuthenticationListener::setRememberMeServices()

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

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

GroupSequenceProvider

class GroupSequenceProvider Annotation to define a group sequence provider.

GuardAuthenticationFactory::getKey()

getKey()

GuardAuthenticationFactory::addConfiguration()

addConfiguration(NodeDefinition $node) Parameters NodeDefinition $node

GuardAuthenticationFactory::create()

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