abstractclass AbstractAuthenticator implementsAuthenticatorInterface

An optional base class that creates the necessary tokens for you.

Methods

createToken(Passport$passport,string$firewallName)

Shortcut to create a PostAuthenticationToken for you, if you don't really care about which authenticated token you're using.

Details

TokenInterface createToken(Passport$passport,string$firewallName)

Shortcut to create a PostAuthenticationToken for you, if you don't really care about which authenticated token you're using.

Parameters

Passport $passport
string $firewallName

Return Value

TokenInterface