Skip to content

IntrospectionResponse

Defined in: packages/core/src/types.ts:149

Token introspection response as defined in RFC 7662 Section 2.2.

active: boolean

Defined in: packages/core/src/types.ts:151

Whether the token is currently active.


optional aud?: string

Defined in: packages/core/src/types.ts:167

Audience the token is intended for.


optional client_id?: string

Defined in: packages/core/src/types.ts:155

Client identifier for the token.


optional exp?: number

Defined in: packages/core/src/types.ts:161

Expiration time as a Unix timestamp in seconds (RFC 7662 Section 2.2).


optional iat?: number

Defined in: packages/core/src/types.ts:163

Issued-at time as a Unix timestamp in seconds.


optional iss?: string

Defined in: packages/core/src/types.ts:169

Issuer of the token.


optional scope?: string

Defined in: packages/core/src/types.ts:153

Space-delimited scopes associated with the token.


optional sub?: string

Defined in: packages/core/src/types.ts:165

Subject of the token.


optional token_type?: string

Defined in: packages/core/src/types.ts:159

Token type (e.g., "Bearer").


optional username?: string

Defined in: packages/core/src/types.ts:157

Human-readable identifier for the resource owner.