MonoCloud Authentication SDK
    Preparing search index...

    Options for the authentication sessions.

    interface MonoCloudSessionOptionsBase {
        cookie: MonoCloudCookieOptions;
        duration: number;
        maximumDuration: number;
        sliding: boolean;
        store?: MonoCloudSessionStore;
    }
    Index

    Properties

    Configuration options for the authentication session cookie.

    duration: number

    The duration of the session in seconds.

    86400 (1 Day)
    
    maximumDuration: number

    The maximum duration for the session in seconds. Will only be used when the session is set to 'sliding'.

    604800 (1 Week)
    
    sliding: boolean

    Determines whether the session should use sliding expiration.

    false
    

    Optional: The session store to use for storing session data.