Fully Qualified Name: | Laminas\Authentication\Adapter\Http\ResolverInterface |
Auth HTTP Resolver Interface
Defines an interface to resolve a username/realm combination into a shared secret usable by HTTP Authentication.
Name | Description | Defined By |
---|---|---|
resolve() | Resolve username/realm to password/hash/etc. | ResolverInterface |
Resolve username/realm to password/hash/etc.
Parameter Name | Type | Description |
---|---|---|
$username | string | Username |
$realm | string | Authentication |
$password | string | Password |
Returns: string|array|bool User's shared secret as string if found in realm, or User's identity as array if resolved, false otherwise.