Auth HTTP Resolver Interface

Defines an interface to resolve a username/realm combination into a shared secret usable by HTTP Authentication.

 Methods

Resolve username/realm to password/hash/etc.

resolve(string $username, string $realm, string $password) : string | array | false

Parameters

$username

string

Username

$realm

string

Authentication Realm

$password

string

Password (optional)

Returns

stringarrayfalseUser's shared secret as string if found in realm, or User's identity as array if resolved, false otherwise.