Documentation

LoginAuthenticator extends AbstractFormLoginAuthenticator
in package
implements PasswordAuthenticatedInterface Uses TargetPathTrait

Interfaces, Classes, Traits and Enums

PasswordAuthenticatedInterface

Table of Contents

LOGIN_ROUTE  = 'app_login'
$csrfTokenManager  : mixed
$entityManager  : mixed
$passwordEncoder  : mixed
$urlGenerator  : mixed
__construct()  : mixed
checkCredentials()  : mixed
getCredentials()  : mixed
getPassword()  : string|null
Used to upgrade (rehash) the user's password automatically over time.
getUser()  : mixed
onAuthenticationSuccess()  : mixed
supports()  : mixed
getLoginUrl()  : mixed

Constants

Properties

Methods

__construct()

public __construct(EntityManagerInterface $entityManager, UrlGeneratorInterface $urlGenerator, CsrfTokenManagerInterface $csrfTokenManager, UserPasswordEncoderInterface $passwordEncoder) : mixed
Parameters
$entityManager : EntityManagerInterface
$urlGenerator : UrlGeneratorInterface
$csrfTokenManager : CsrfTokenManagerInterface
$passwordEncoder : UserPasswordEncoderInterface
Return values
mixed

checkCredentials()

public checkCredentials(mixed $credentials, UserInterface $user) : mixed
Parameters
$credentials : mixed
$user : UserInterface
Return values
mixed

getCredentials()

public getCredentials(Request $request) : mixed
Parameters
$request : Request
Return values
mixed

getPassword()

Used to upgrade (rehash) the user's password automatically over time.

public getPassword(mixed $credentials) : string|null
Parameters
$credentials : mixed
Return values
string|null

getUser()

public getUser(mixed $credentials, UserProviderInterface $userProvider) : mixed
Parameters
$credentials : mixed
$userProvider : UserProviderInterface
Return values
mixed

onAuthenticationSuccess()

public onAuthenticationSuccess(Request $request, TokenInterface $token, string $providerKey) : mixed
Parameters
$request : Request
$token : TokenInterface
$providerKey : string
Return values
mixed

supports()

public supports(Request $request) : mixed
Parameters
$request : Request
Return values
mixed

Search results