mediatekformation

AnonymousAuthenticationProvider
in package
implements AuthenticationProviderInterface

AnonymousAuthenticationProvider validates AnonymousToken instances.

Tags
author

Fabien Potencier fabien@symfony.com

Interfaces, Classes, Traits and Enums

AuthenticationProviderInterface
AuthenticationProviderInterface is the interface for all authentication providers.

Table of Contents

$secret  : string
Used to determine if the token is created by the application instead of a malicious client.
__construct()  : mixed
authenticate()  : mixed
{@inheritdoc}
supports()  : bool
Checks whether this provider supports the given token.

Properties

Methods

__construct()

public __construct(string $secret) : mixed
Parameters
$secret : string

The secret shared with the AnonymousToken

Return values
mixed

Search results