Documentation

AbstractAuthenticator
in package
implements AuthenticatorInterface

AbstractYes

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

Tags
author

Ryan Weaver ryan@symfonycasts.com

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
Return values
TokenInterface

        
On this page

Search results