Interface: SessionToken
Defined in: src/types/interfaces/auth.interface.ts:98
Session token response.
Remarks
Returned after successful authentication or token refresh.
Properties
accessToken
readonlyaccessToken:string
Defined in: src/types/interfaces/auth.interface.ts:106
JWT access token.
Remarks
Short-lived token (1 hour) for API access. Signed with ES256 algorithm.
expiresIn
readonlyexpiresIn:number
Defined in: src/types/interfaces/auth.interface.ts:120
Access token expiry in seconds.
refreshToken?
readonlyoptionalrefreshToken:string
Defined in: src/types/interfaces/auth.interface.ts:115
Refresh token for obtaining new access tokens.
Remarks
Single-use token that is rotated on each refresh.
Only included if includeRefreshToken was true.
scope?
readonlyoptionalscope: readonlystring[]
Defined in: src/types/interfaces/auth.interface.ts:137
Granted scopes.
Remarks
May be a subset of requested scopes if user does not have all requested permissions.
tokenType
readonlytokenType:"Bearer"
Defined in: src/types/interfaces/auth.interface.ts:128
Token type.
Remarks
Always "Bearer" per RFC 6750.