InsufficientScope
Less than 1 minute
InsufficientScope
The bearer token is valid but lacks a scope required by the resource being accessed (RFC 6750 §3.1).
class InsufficientScope extends \Hazaar\OAuth\Exception\OAuthExceptionExtends: Hazaar\OAuth\Exception\OAuthException
Properties
requiredScope
private readonly array $requiredScopeType: array
Methods
__construct
public __construct(array $requiredScope, string $detail = 'The access token does not have the required scope.'): voidParameters
| Parameter | Type | Description |
|---|---|---|
$requiredScope | array | |
$detail | string |
getRequiredScope
public getRequiredScope(): arrayReturns: array
Generated by Hazaar API Doc Generator on Sun, 23 Aug 2026 10:49:43 +0000