Represents an authenticated session, containing the authenticated user profile along with the tokens and metadata issued during authentication.
[key: string]: unknown
Additional custom properties attached to the session.
These may be added via hooks such as onSessionCreating.
| Property | Type | Description |
|---|---|---|
accessTokens? | AccessToken[] | Access tokens associated with the session. Multiple tokens may exist when access tokens are issued for different resources or scope sets. |
authorizedScopes? | string | Space-separated list of scopes authorized for the session. |
idToken? | string | Optional ID token issued during authentication. |
refreshToken? | string | Optional refresh token used to obtain new access tokens without requiring the user to re-authenticate. |
user | MonoCloudUser | The authenticated user profile, typically derived from ID token claims and/or the UserInfo endpoint. |