AuthenticationTrustResolver
in package
implements
AuthenticationTrustResolverInterface
The default implementation of the authentication trust resolver.
Tags
Interfaces, Classes, Traits and Enums
- AuthenticationTrustResolverInterface
- Interface for resolving the authentication status of a given token.
Table of Contents
- $anonymousClass : mixed
- $rememberMeClass : mixed
- __construct() : mixed
- 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.
Properties
$anonymousClass
private
mixed
$anonymousClass
$rememberMeClass
private
mixed
$rememberMeClass
Methods
__construct()
public
__construct([string $anonymousClass = null ][, string $rememberMeClass = null ]) : mixed
Parameters
- $anonymousClass : string = null
- $rememberMeClass : string = null
Return values
mixed —isAnonymous()
Resolves whether the passed token implementation is authenticated anonymously.
public
isAnonymous([TokenInterface $token = null ]) : bool
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