AccessDenied
Less than 1 minute
AccessDenied
The resource owner or authorization server denied the request (e.g. the user declined consent).
class AccessDenied extends \Hazaar\OAuth\Exception\OAuthExceptionExtends: Hazaar\OAuth\Exception\OAuthException
Methods
__construct
public __construct(string $detail = 'The user denied the authorization request.', int $httpStatus = 403): voidParameters
| Parameter | Type | Description |
|---|---|---|
$detail | string | |
$httpStatus | int | 403 by default; the device grant's token response uses 400, per RFC 8628 §3.5 |
Generated by Hazaar API Doc Generator on Thu, 22 Oct 2026 05:05:28 +0000