Skip to main content

Interface: IssuedTokens

Defined in: oauthServerTypes.ts:173

Tokens returned by the app's OAuthServerOptions.issueTokens hook.

Properties

accessToken

accessToken: string

Defined in: oauthServerTypes.ts:175

The access token string (JWT, opaque, …).


expiresIn?

optional expiresIn?: number

Defined in: oauthServerTypes.ts:179

Access token lifetime in seconds, surfaced as expires_in.


refreshToken?

optional refreshToken?: string

Defined in: oauthServerTypes.ts:177

Optional refresh token enabling the refresh_token grant.


scope?

optional scope?: string

Defined in: oauthServerTypes.ts:181

Granted scopes as a space-separated string. Defaults to the bound scopes.