AbstractAuthenticator
in package
implements
AuthenticatorInterface
AbstractYes
An optional base class that creates the necessary tokens for you.
Tags
Table of Contents
Interfaces
- AuthenticatorInterface
- The interface for all authenticators.
Methods
- createToken() : TokenInterface
- Shortcut to create a PostAuthenticationToken for you, if you don't really care about which authenticated token you're using.
Methods
createToken()
Shortcut to create a PostAuthenticationToken for you, if you don't really care about which authenticated token you're using.
public
createToken(Passport $passport, string $firewallName) : TokenInterface
Parameters
- $passport : Passport
-
The passport returned from authenticate()
- $firewallName : string