PreAuthenticatedToken::getCredentials()

mixed getCredentials() Returns the user credentials. Return Value mixed The user credentials

PreAuthenticatedToken::eraseCredentials()

eraseCredentials() Removes sensitive information from the token.

PreAuthenticatedToken

class PreAuthenticatedToken extends AbstractToken PreAuthenticatedToken implements a pre-authenticated token. Methods __construct(string|object $user, mixed $credentials, string $providerKey, array $roles = array()) Constructor. RoleInterface[] getRoles() Returns the user roles. from AbstractToken string getUsername() Returns the username. from AbstractToken mixed getUser() Returns a user representation. from AbstractToken setUser(mixed $user) Sets a user. from Abstract

PreAuthenticatedAuthenticationProvider::supports()

bool supports(TokenInterface $token) Checks whether this provider supports the given token. Parameters TokenInterface $token A TokenInterface instance Return Value bool true if the implementation supports the Token, false otherwise

PreAuthenticatedAuthenticationProvider::authenticate()

TokenInterface authenticate(TokenInterface $token) Attempts to authenticate a TokenInterface object. Parameters TokenInterface $token The TokenInterface instance to authenticate Return Value TokenInterface An authenticated TokenInterface instance, never null Exceptions AuthenticationException if the authentication fails

PreAuthenticatedAuthenticationProvider

class PreAuthenticatedAuthenticationProvider implements AuthenticationProviderInterface Processes a pre-authenticated authentication request. This authentication provider will not perform any checks on authentication requests, as they should already be pre-authenticated. However, the UserProviderInterface implementation may still throw a UsernameNotFoundException, for example. Methods __construct(UserProviderInterface $userProvider, UserCheckerInterface $userChecker, string $providerKey)

PostResponseEvent

class PostResponseEvent extends KernelEvent Allows to execute logic after a response was sent. Since it's only triggered on master requests, the getRequestType() method will always return the value of HttpKernelInterface::MASTER_REQUEST. Methods bool 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 $dispat

PostAuthenticationGuardToken::unserialize()

unserialize($serialized) {@inheritdoc} Parameters $serialized

PostAuthenticationGuardToken::serialize()

serialize() {@inheritdoc}

PostAuthenticationGuardToken::getProviderKey()

string getProviderKey() Returns the provider (firewall) key. Return Value string