AbstractGuardAuthenticator
in package
implements
AuthenticatorInterface
An optional base class that creates a PostAuthenticationGuardToken for you.
Tags
Interfaces, Classes, Traits and Enums
- AuthenticatorInterface
- The interface for all "guard" authenticators.
Table of Contents
- createAuthenticatedToken() : PostAuthenticationGuardToken
- Shortcut to create a PostAuthenticationGuardToken for you, if you don't really care about which authenticated token you're using.
Methods
createAuthenticatedToken()
Shortcut to create a PostAuthenticationGuardToken for you, if you don't really care about which authenticated token you're using.
public
createAuthenticatedToken(UserInterface $user, string $providerKey) : PostAuthenticationGuardToken
Parameters
- $user : UserInterface
- $providerKey : string