JwtPayload
Claims contained in a Jupiter access token.
| Name | Type | Definition |
|---|---|---|
iss | string | Token issuer. |
sub | string | User identifier. |
aud | string | string[] | Token audience. |
exp | number | Expiration time as a Unix timestamp. |
iat | number | Issue time as a Unix timestamp. |
role | string | User role. |
aal | AuthenticatorAssuranceLevels | Authenticator assurance level. |
session_id | string | Session identifier. |
email? | string | User email address. |
phone? | string | User phone number. |
is_anonymous? | boolean | Whether the user is anonymous. |
jti? | string | JWT identifier. |
nbf? | number | Not-before time as a Unix timestamp. |
system_attributes? | JsonObject | System-managed user attributes. |
user_attributes? | JsonObject | Application-defined user attributes. |
amr? | AMREntry[] | string[] | Authentication method references. |
ref? | string | Token reference. |
Example
{ "iss": "https://api.jupitercloud.co/auth", "sub": "user-id", "aud": "project-id", "exp": 1767229200, "iat": 1767225600, "role": "authenticated", "aal": "aal1", "session_id": "session-id", "email": "user@example.com", "is_anonymous": false, "user_attributes": {}, "system_attributes": {}, "amr": [ { "method": "password", "timestamp": 1767225600 } ]}