Interface: OAuth2TokenResponse
Defined in: src/core/oauth/types.ts:2
Normalised (camelCase) response from the Atlassian token endpoint.
Properties
accessToken
ts
accessToken: string;Defined in: src/core/oauth/types.ts:3
expiresIn
ts
expiresIn: number;Defined in: src/core/oauth/types.ts:10
Access-token lifetime in seconds, as returned by Atlassian. Typically 3600.
refreshToken?
ts
optional refreshToken?: string;Defined in: src/core/oauth/types.ts:8
The rotated refresh token, present when offline_access was requested. Persist it — Atlassian invalidates the one you sent.
scope
ts
scope: string;Defined in: src/core/oauth/types.ts:12
Space-separated granted scopes.
tokenType
ts
tokenType: string;Defined in: src/core/oauth/types.ts:14
Always bearer.