SupportsBasicAuth
in
Table of Contents
- basic() : Response|null
- Attempt to authenticate using HTTP Basic Auth.
- onceBasic() : Response|null
- Perform a stateless HTTP Basic login attempt.
Methods
basic()
Attempt to authenticate using HTTP Basic Auth.
public
basic([string $field = 'email' ][, array<string|int, mixed> $extraConditions = [] ]) : Response|null
Parameters
- $field : string = 'email'
- $extraConditions : array<string|int, mixed> = []
Return values
Response|null —onceBasic()
Perform a stateless HTTP Basic login attempt.
public
onceBasic([string $field = 'email' ][, array<string|int, mixed> $extraConditions = [] ]) : Response|null
Parameters
- $field : string = 'email'
- $extraConditions : array<string|int, mixed> = []