SimpleAuthenticationProvider
in package
implements
AuthenticationProviderInterface
Tags
Interfaces, Classes, Traits and Enums
- AuthenticationProviderInterface
- AuthenticationProviderInterface is the interface for all authentication providers.
Table of Contents
- $providerKey : mixed
- $simpleAuthenticator : mixed
- $userChecker : mixed
- $userProvider : mixed
- __construct() : mixed
- authenticate() : mixed
- supports() : bool
- Checks whether this provider supports the given token.
Properties
$providerKey
private
mixed
$providerKey
$simpleAuthenticator
private
mixed
$simpleAuthenticator
$userChecker
private
mixed
$userChecker
$userProvider
private
mixed
$userProvider
Methods
__construct()
public
__construct(SimpleAuthenticatorInterface $simpleAuthenticator, UserProviderInterface $userProvider, string $providerKey[, UserCheckerInterface $userChecker = null ]) : mixed
Parameters
- $simpleAuthenticator : SimpleAuthenticatorInterface
- $userProvider : UserProviderInterface
- $providerKey : string
- $userChecker : UserCheckerInterface = null
Return values
mixed —authenticate()
public
authenticate(TokenInterface $token) : mixed
Parameters
- $token : TokenInterface
Return values
mixed —supports()
Checks whether this provider supports the given token.
public
supports(TokenInterface $token) : bool
Parameters
- $token : TokenInterface
Return values
bool —true if the implementation supports the Token, false otherwise