AXIAM PHP SDK

CibaInitiateResponse
in package

FinalYes

`CibaInitiateResponse` (CONTRACT.md §33.2) — what {@see OidcClient::cibaInitiate()} returns.

It proves nothing about the user (§33.3 rule 4): AXIAM answers a hint that names nobody, a locked user and a real one identically, and the only signal that a user did not answer is expired_token.

Table of Contents

Properties

$authReqId  : Sensitive
$expiresIn  : int
$interval  : int
$receivedAt  : float

Methods

__construct()  : mixed

Properties

Methods

__construct()

public __construct(Sensitive $authReqId, int $expiresIn, int $interval, float $receivedAt) : mixed
Parameters
$authReqId : Sensitive

The request's id at the token endpoint — a bearer credential for the grant (§33.5). Never parse or length-check it.

$expiresIn : int

The request's lifetime in seconds — authoritative (§33.7 rule 4).

$interval : int

The minimum seconds between token requests: the response's value, or 5 when it was absent or zero (§33.7 rule 2).

$receivedAt : float

When the response was received (seconds, on the clock passed to cibaInitiate); cibaAwait's deadline is this plus expiresIn.

On this page

Search results