phpDocumentor

UserAuthenticator
in package
implements UserAuthenticator

Class UserAuthenticator

Interfaces, Classes and Traits

UserAuthenticator
Interface UserAuthenticatorInterface

Table of Contents

$hashStrategies  : array<string|int, HashStrategy>
$userRepository  : UserRepository
__construct()  : mixed
WebAuthenticator constructor.
authenticate()  : UserId
Authenticates a user based on the provided email and password and returns his ID.

Properties

Methods

authenticate()

Authenticates a user based on the provided email and password and returns his ID.

public authenticate(string $email, string $password) : UserId
Parameters
$email : string
$password : string
Tags
inheritDoc
Return values
UserId

Search results