Client
Client
- Full name:
\Onslip360\Hawk\Client
Methods
header
Generate an Authorization header for a given request
public static header(string $uri, string $method, \Onslip360\Hawk\HeaderOptions $options): \Onslip360\Hawk\HeaderResult
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$uri | string | |
$method | string | |
$options | \Onslip360\Hawk\HeaderOptions |
authenticate
Validate Server Response
public static authenticate(array $headers, \Onslip360\Hawk\Credentials $credentials, \Onslip360\Hawk\HeaderArtifacts $artifacts, \Onslip360\Hawk\AuthenticateOptions $options): mixed
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$headers | array | |
$credentials | \Onslip360\Hawk\Credentials | |
$artifacts | \Onslip360\Hawk\HeaderArtifacts | |
$options | \Onslip360\Hawk\AuthenticateOptions |
Automatically generated on 2024-11-05