W3cubDocs

/Symfony 4.1

UserChecker

class UserChecker implements UserCheckerInterface

UserChecker checks the user account flags.

Methods

checkPreAuth(UserInterface $user)

Checks the user account before authentication.

checkPostAuth(UserInterface $user)

Checks the user account after authentication.

Details

checkPreAuth(UserInterface $user)

Checks the user account before authentication.

Parameters

UserInterface $user

Exceptions

AccountStatusException

checkPostAuth(UserInterface $user)

Checks the user account after authentication.

Parameters

UserInterface $user

Exceptions

AccountStatusException

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/Security/Core/User/UserChecker.html