mediatekformation

UserAuthenticationProvider
in package
implements AuthenticationProviderInterface

UserProviderInterface retrieves users for UsernamePasswordToken tokens.

Tags
author

Fabien Potencier fabien@symfony.com

Interfaces, Classes, Traits and Enums

AuthenticationProviderInterface
AuthenticationProviderInterface is the interface for all authentication providers.

Table of Contents

$hideUserNotFoundExceptions  : mixed
$providerKey  : mixed
$userChecker  : mixed
__construct()  : mixed
authenticate()  : mixed
{@inheritdoc}
supports()  : bool
Checks whether this provider supports the given token.
checkAuthentication()  : mixed
Does additional checks on the user and token (like validating the credentials).
retrieveUser()  : UserInterface
Retrieves the user from an implementation-specific location.
getRoles()  : array<string|int, mixed>
Retrieves roles from user and appends SwitchUserRole if original token contained one.

Properties

Methods

__construct()

public __construct(UserCheckerInterface $userChecker, string $providerKey[, bool $hideUserNotFoundExceptions = true ]) : mixed
Parameters
$userChecker : UserCheckerInterface
$providerKey : string
$hideUserNotFoundExceptions : bool = true
Tags
throws
InvalidArgumentException
Return values
mixed

Search results