TokenResponse interface
OAuth 2.1 token response per RFC 6749. Returned by the /token endpoint for all grant types. Matches backend TokenResponse model.
Properties
| access |
The JWT access token (signed with asymmetric keys). |
| expires |
Access token lifetime in seconds (not milliseconds). |
| refresh |
The revolving refresh token, when issued. |
| scope | Space-separated list of granted scopes, when present. |
| token |
The token type; always |
Property Details
accessToken
The JWT access token (signed with asymmetric keys).
accessToken: string
Property Value
string
expiresIn
Access token lifetime in seconds (not milliseconds).
expiresIn: number
Property Value
number
refreshToken
The revolving refresh token, when issued.
refreshToken?: null | string
Property Value
null | string
scope
Space-separated list of granted scopes, when present.
scope?: null | string
Property Value
null | string
tokenType
The token type; always "Bearer".
tokenType: string
Property Value
string