MonoCloud Authentication SDK
    Preparing search index...

    Represents an authenticated session, containing the authenticated user profile along with the tokens and metadata issued during authentication.

    interface MonoCloudSession {
        accessTokens?: AccessToken[];
        authorizedScopes?: string;
        idToken?: string;
        refreshToken?: string;
        user: MonoCloudUser;
        [key: string]: unknown;
    }

    Indexable

    • [key: string]: unknown

      Additional custom properties attached to the session.

      These may be added via hooks such as onSessionCreating.

    Index

    Properties

    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.

    The authenticated user profile, typically derived from ID token claims and/or the UserInfo endpoint.