ConsentDecision
Less than 1 minute
ConsentDecision
class ConsentDecisionProperties
approved
public readonly bool $approvedType: bool
scope
public readonly array $scopeType: array
response
public readonly Response $responseType: Hazaar\Controller\Response
Methods
__construct
private __construct(bool $approved, array $scope, Response $response): voidParameters
| Parameter | Type | Description |
|---|---|---|
$approved | bool | |
$scope | array | |
$response | Hazaar\Controller\Response |
approve
public approve(array $scope): selfReturns: self
Parameters
| Parameter | Type | Description |
|---|---|---|
$scope | array | the scopes the user actually approved, which may be a subset of those requested |
deny
public deny(): selfReturns: self
pending
The app is handling the consent interaction itself; short-circuit /authorize with this response.
public pending(Response $response): selfReturns: self
Parameters
| Parameter | Type | Description |
|---|---|---|
$response | Hazaar\Controller\Response |
isPending
public isPending(): boolReturns: bool
Generated by Hazaar API Doc Generator on Sun, 23 Aug 2026 10:49:43 +0000