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