Component\Security\Core\Authentication

Namespaces Symfony\Component\Security\Core\Authentication\ProviderSymfony\Component\Security\Core\Authentication\RememberMeSymfony\Component\Security\Core\Authentication\Token Classes AuthenticationProviderManager AuthenticationProviderManager uses a list of AuthenticationProviderInterface instances to authenticate a Token. AuthenticationTrustResolver The default implementation of the authentication trust resolver. Interfaces AuthenticationManagerInterface AuthenticationManagerIn

ParserCacheInterface

interface ParserCacheInterface Methods save(string $key, ParsedExpression $expression) Saves an expression in the cache. ParsedExpression|null fetch(string $key) Fetches an expression from the cache. Details save(string $key, ParsedExpression $expression) Saves an expression in the cache. Parameters string $key The cache key ParsedExpression $expression A ParsedExpression instance to store in the cache ParsedExpr

AuthenticationUtils::getLastAuthenticationError()

AuthenticationException|null getLastAuthenticationError(bool $clearSession = true) Parameters bool $clearSession Return Value AuthenticationException|null

ConstraintViolation::getMessage()

string getMessage() Returns the violation message. Return Value string The violation message

JsonEncode::supportsEncoding()

bool supportsEncoding(string $format) Checks whether the serializer can encode to given format. Parameters string $format format name Return Value bool

PropertyAccessorBuilder::enableMagicCall()

PropertyAccessorBuilder enableMagicCall() Enables the use of "__call" by the PropertyAccessor. Return Value PropertyAccessorBuilder The builder object

Component\Security\Guard\Provider

Classes GuardAuthenticationProvider Responsible for accepting the PreAuthenticationGuardToken and calling the correct authenticator to retrieve the authenticated token.

RememberMeListener

class RememberMeListener implements ListenerInterface RememberMeListener implements authentication capabilities via a cookie. Methods __construct(TokenStorageInterface $tokenStorage, RememberMeServicesInterface $rememberMeServices, AuthenticationManagerInterface $authenticationManager, LoggerInterface $logger = null, EventDispatcherInterface $dispatcher = null, bool $catchExceptions = true, SessionAuthenticationStrategyInterface $sessionStrategy = null) Constructor. handle(GetRespon

SimpleFormAuthenticationListener

class SimpleFormAuthenticationListener extends AbstractAuthenticationListener Methods __construct(TokenStorageInterface $tokenStorage, AuthenticationManagerInterface $authenticationManager, SessionAuthenticationStrategyInterface $sessionStrategy, HttpUtils $httpUtils, string $providerKey, AuthenticationSuccessHandlerInterface $successHandler, AuthenticationFailureHandlerInterface $failureHandler, array $options = array(), LoggerInterface $logger = null, EventDispatcherInterface $dispatcher

AbstractAuthenticationListener::handle()

final handle(GetResponseEvent $event) Handles form based authentication. Parameters GetResponseEvent $event Exceptions RuntimeException SessionUnavailableException