AccessTokenClaims
Less than 1 minute
AccessTokenClaims
class AccessTokenClaimsProperties
subject
public readonly string $subjectType: string
scope
public readonly array $scopeType: array
audience
public readonly string $audienceType: string
clientId
public readonly string $clientIdType: string
Methods
__construct
public __construct(string $subject, array $scope, string $audience, string $clientId): voidParameters
| Parameter | Type | Description |
|---|---|---|
$subject | string | |
$scope | array | |
$audience | string | |
$clientId | string |
hasScope
public hasScope(string $scope): boolReturns: bool
Parameters
| Parameter | Type | Description |
|---|---|---|
$scope | string |
hasAllScopes
public hasAllScopes(array $scopes): boolReturns: bool
Parameters
| Parameter | Type | Description |
|---|---|---|
$scopes | array |
Generated by Hazaar API Doc Generator on Sun, 23 Aug 2026 10:49:43 +0000