AuthenticationUtils
in package
Extracts Security Errors from Request.
Tags
Table of Contents
- $requestStack : mixed
- __construct() : mixed
- getLastAuthenticationError() : AuthenticationException|null
- getLastUsername() : string
- getRequest() : Request
Properties
$requestStack
private
mixed
$requestStack
Methods
__construct()
public
__construct(RequestStack $requestStack) : mixed
Parameters
- $requestStack : RequestStack
Return values
mixed —getLastAuthenticationError()
public
getLastAuthenticationError([bool $clearSession = true ]) : AuthenticationException|null
Parameters
- $clearSession : bool = true
Return values
AuthenticationException|null —getLastUsername()
public
getLastUsername() : string
Return values
string —getRequest()
private
getRequest() : Request