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
| AuthenticationException|null |
string getLastUsername()
Return Value
| string |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/Security/Http/Authentication/AuthenticationUtils.html