Skip to main content

Interface: TokenResponse

Defined in: src/auth/oauth/oauth-service.ts:136

Token response.

Properties

accessToken

readonly accessToken: string

Defined in: src/auth/oauth/oauth-service.ts:140

Access token.


expiresIn

readonly expiresIn: number

Defined in: src/auth/oauth/oauth-service.ts:150

Token expiration in seconds.


refreshToken?

readonly optional refreshToken: string

Defined in: src/auth/oauth/oauth-service.ts:155

Refresh token (if granted).


scope

readonly scope: string

Defined in: src/auth/oauth/oauth-service.ts:160

Granted scopes (space-separated).


tokenType

readonly tokenType: "Bearer"

Defined in: src/auth/oauth/oauth-service.ts:145

Token type (always "Bearer").