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