AuthenticationTrustResolverInterface
in
Interface for resolving the authentication status of a given token.
Tags
Table of Contents
- isAnonymous() : bool
- Resolves whether the passed token implementation is authenticated anonymously.
- isFullFledged() : bool
- Resolves whether the passed token implementation is fully authenticated.
- isRememberMe() : bool
- Resolves whether the passed token implementation is authenticated using remember-me capabilities.
Methods
isAnonymous()
Resolves whether the passed token implementation is authenticated anonymously.
public
isAnonymous([TokenInterface $token = null ]) : bool
If null is passed, the method must return false.
Parameters
- $token : TokenInterface = null
Return values
bool —isFullFledged()
Resolves whether the passed token implementation is fully authenticated.
public
isFullFledged([TokenInterface $token = null ]) : bool
Parameters
- $token : TokenInterface = null
Return values
bool —isRememberMe()
Resolves whether the passed token implementation is authenticated using remember-me capabilities.
public
isRememberMe([TokenInterface $token = null ]) : bool
Parameters
- $token : TokenInterface = null