class AuthenticationTrustResolver implements AuthenticationTrustResolverInterface
The default implementation of the authentication trust resolver.
__construct(string $anonymousClass, string $rememberMeClass) | ||
bool | isAnonymous(TokenInterface $token = null) Resolves whether the passed token implementation is authenticated anonymously. | |
bool | isRememberMe(TokenInterface $token = null) Resolves whether the passed token implementation is authenticated using remember-me capabilities. | |
bool | isFullFledged(TokenInterface $token = null) Resolves whether the passed token implementation is fully authenticated. |
string | $anonymousClass | |
string | $rememberMeClass |
Resolves whether the passed token implementation is authenticated anonymously.
If null is passed, the method must return false.
TokenInterface | $token |
bool |
Resolves whether the passed token implementation is authenticated using remember-me capabilities.
TokenInterface | $token |
bool |
Resolves whether the passed token implementation is fully authenticated.
TokenInterface | $token |
bool |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/Security/Core/Authentication/AuthenticationTrustResolver.html