AXIAM PHP SDK

IntrospectionResult
in package

FinalYes

The RFC 7662 introspection result (wire schema `IntrospectionResponse`, CONTRACT.md ยง12.1). Only `$active` is guaranteed; the server omits the metadata fields for an inactive token.

Table of Contents

Properties

$active  : bool
$clientId  : string|null
$exp  : int|null
$iat  : int|null
$scope  : string|null
$sub  : string|null
$tokenType  : string|null

Methods

__construct()  : mixed

Properties

Methods

__construct()

public __construct(bool $active[, string|null $sub = null ][, string|null $clientId = null ][, string|null $scope = null ][, string|null $tokenType = null ][, int|null $exp = null ][, int|null $iat = null ]) : mixed
Parameters
$active : bool

Whether the token is currently active.

$sub : string|null = null

Subject the token was issued to.

$clientId : string|null = null

Client the token was issued to.

$scope : string|null = null

Scope granted to the token.

$tokenType : string|null = null

Token type (Bearer).

$exp : int|null = null

Expiry time, epoch seconds.

$iat : int|null = null

Issued-at time, epoch seconds.

On this page

Search results