MonoCloud Authentication SDK
    Preparing search index...

    Interface RefreshSessionOptions

    Options for refreshing MonoCloudSession

    interface RefreshSessionOptions {
        fetchUserInfo?: boolean;
        filteredIdTokenClaims?: string[];
        idTokenClockSkew?: number;
        idTokenClockTolerance?: number;
        jwks?: Jwks;
        onSessionCreating?: OnSessionCreating;
        refreshGrantOptions?: RefreshGrantOptions;
        validateIdToken?: boolean;
    }
    Index

    Properties

    fetchUserInfo?: boolean

    When enabled, the userinfo is fetched and populated into the user object.

    false
    
    filteredIdTokenClaims?: string[]

    List of ID token claims to remove.

    idTokenClockSkew?: number

    Used to adjust the current time to align with the authorization server time

    idTokenClockTolerance?: number

    Allowed clock tolerance when checking date-time claims

    jwks?: Jwks

    Jwks to validate the ID token with. JWKS is fetched from the authorization server if jwks is not provided.

    onSessionCreating?: OnSessionCreating

    A callback function invoked before creating or updating the user session.

    refreshGrantOptions?: RefreshGrantOptions

    Options for the refresh grant

    validateIdToken?: boolean

    Whether to validate the ID token or not.

    true