class AnonymousAuthenticationProvider implements AuthenticationProviderInterface
AnonymousAuthenticationProvider validates AnonymousToken instances.
Methods
__construct(string $secret) Constructor. | ||
TokenInterface | authenticate(TokenInterface $token) Attempts to authenticate a TokenInterface object. | |
bool | supports(TokenInterface $token) Checks whether this provider supports the given token. |
Details
__construct(string $secret)
Constructor.
TokenInterface authenticate(TokenInterface $token)
Attempts to authenticate a TokenInterface object.
bool supports(TokenInterface $token)
Checks whether this provider supports the given token.
Please login to continue.