Interface: AccessToken
Defined in: canton/authentication/types.ts:35
An OAuth 2.0 access token with optional refresh metadata.
The expiresAt field is derived from expires_in (seconds) at fetch time
so callers can check staleness without re-parsing the JWT.
Properties
accessToken
accessToken:
string
Defined in: canton/authentication/types.ts:37
The bearer access token (JWT).
expiresAt?
optionalexpiresAt?:number
Defined in: canton/authentication/types.ts:41
Absolute expiry (epoch ms). undefined when the server did not return expires_in.
refreshToken?
optionalrefreshToken?:string
Defined in: canton/authentication/types.ts:43
Refresh token (authorization code flow only). Used to obtain new access tokens.
tokenType?
optionaltokenType?:string
Defined in: canton/authentication/types.ts:39
Token type, typically "Bearer".