phpDocumentor

UserAuthenticator

Interface UserAuthenticatorInterface

Table of Contents

authenticate()  : UserId
Authenticates a user based on the provided email and password and returns his ID.

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
throws
AuthenticationException

If user can not be authenticated.

Return values
UserId

Search results