AuthenticationTrustResolver
class AuthenticationTrustResolver implements AuthenticationTrustResolverInterface
The default implementation of the authentication trust resolver.
Methods
__construct(string $anonymousClass, string $rememberMeClass)
Constructor.
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.
Details
at line line 32
__construct(string $anonymousClass, string $rememberMeClass)
Constructor.
at line line 41
bool
isAnonymous(TokenInterface $token = null)
Resolves whether the passed token implementation is authenticated anonymously.
If null is passed, the method must return false.
at line line 53
bool
isRememberMe(TokenInterface $token = null)
Resolves whether the passed token implementation is authenticated using remember-me capabilities.
at line line 65
bool
isFullFledged(TokenInterface $token = null)
Resolves whether the passed token implementation is fully authenticated.