Client
Less than 1 minute
Client
class ClientProperties
clientId
public readonly string $clientIdType: string
clientSecretHash
public readonly string $clientSecretHashType: string
redirectUris
public readonly array $redirectUrisType: array
grantTypes
public readonly array $grantTypesType: array
responseTypes
public readonly array $responseTypesType: array
tokenEndpointAuthMethod
public readonly string $tokenEndpointAuthMethodType: string
clientName
public readonly string $clientNameType: string
scope
public readonly array $scopeType: array
clientIdIssuedAt
public readonly int $clientIdIssuedAtType: int
Methods
__construct
public __construct(string $clientId, string $clientSecretHash, array $redirectUris, array $grantTypes, array $responseTypes, string $tokenEndpointAuthMethod, string $clientName, array $scope, int $clientIdIssuedAt): voidParameters
| Parameter | Type | Description |
|---|---|---|
$clientId | string | |
$clientSecretHash | string | |
$redirectUris | array | |
$grantTypes | array | |
$responseTypes | array | |
$tokenEndpointAuthMethod | string | |
$clientName | string | |
$scope | array | |
$clientIdIssuedAt | int |
isConfidential
public isConfidential(): boolReturns: bool
supportsGrantType
public supportsGrantType(string $grantType): boolReturns: bool
Parameters
| Parameter | Type | Description |
|---|---|---|
$grantType | string |
hasRedirectUri
public hasRedirectUri(string $redirectUri): boolReturns: bool
Parameters
| Parameter | Type | Description |
|---|---|---|
$redirectUri | string |
verifySecret
Verifies a plaintext client secret against the stored hash using a timing-safe comparison.
public verifySecret(string $clientSecret): boolReturns: bool
Parameters
| Parameter | Type | Description |
|---|---|---|
$clientSecret | string |
Generated by Hazaar API Doc Generator on Sun, 23 Aug 2026 10:49:43 +0000