symfony / 3.1 / symfony / component / security / http / authentication / authenticationutils.html

AuthenticationUtils

class AuthenticationUtils

Extracts Security Errors from Request.

Methods

__construct(RequestStack $requestStack)
AuthenticationException|null getLastAuthenticationError(bool $clearSession = true)
string getLastUsername()

Details

__construct(RequestStack $requestStack)

Parameters

RequestStack $requestStack

AuthenticationException|null getLastAuthenticationError(bool $clearSession = true)

Parameters

bool $clearSession

Return Value

string getLastUsername()

Return Value

string