Skip to main content

QOAuthTokenIntrospectionResponse

@quik/oauth-server


@quik/oauth-server / QOAuthTokenIntrospectionResponse

Type Alias: QOAuthTokenIntrospectionResponse

QOAuthTokenIntrospectionResponse = object

Defined in: oauth-server/src/types.ts:164

Standard OAuth token introspection response payload.

Properties

active

active: boolean

Defined in: oauth-server/src/types.ts:166

Whether the token is currently active.


aud?

optional aud?: string | string[]

Defined in: oauth-server/src/types.ts:178

Audience claim.


client_id?

optional client_id?: string

Defined in: oauth-server/src/types.ts:170

Client id bound to the token.


exp?

optional exp?: number

Defined in: oauth-server/src/types.ts:180

Expiry timestamp in seconds since epoch.


grant_type?

optional grant_type?: QOAuthGrantType

Defined in: oauth-server/src/types.ts:184

Grant type used to issue the token.


iat?

optional iat?: number

Defined in: oauth-server/src/types.ts:182

Issued-at timestamp in seconds since epoch.


iss?

optional iss?: string

Defined in: oauth-server/src/types.ts:176

Issuer claim.


scope?

optional scope?: string

Defined in: oauth-server/src/types.ts:168

Space-delimited scope string.


sub?

optional sub?: string

Defined in: oauth-server/src/types.ts:172

Subject represented by the token.


token_type?

optional token_type?: string

Defined in: oauth-server/src/types.ts:174

Token type.