Interface AdvancedUserInterface
Adds extra features to a user class related to account status flags.
This interface can be implemented in place of UserInterface if you'd like the authentication system to consider different account status flags during authentication. If any of the methods in this interface return false, authentication will fail.
If you need to perform custom logic for any of these situations, then you will need to register an exception listener and watch for the specific exception instances thrown in each case. All exceptions are a subclass of AccountStatusException
- Symfony\Component\Security\Core\User\AdvancedUserInterface implements Symfony\Component\Security\Core\User\UserInterface
Direct known implementers
Symfony\Component\Security\Core\User\User
Namespace: Symfony\Component\Security\Core\User
Author: Fabien Potencier <fabien@symfony.com>
See:
See: AccountStatusException
Located at AdvancedUserInterface.php
Author: Fabien Potencier <fabien@symfony.com>
See:
Symfony\Component\Security\Core\User\UserInterface
See: AccountStatusException
Located at AdvancedUserInterface.php
public
boolean
|
|
public
boolean
|
|
public
boolean
|
|
public
boolean
|
eraseCredentials(),
getPassword(),
getRoles(),
getSalt(),
getUsername()
|