MonoCloud Authentication SDK
    Preparing search index...

    Interface MonoCloudStateOptions

    Configuration options for authentication state handling.

    interface MonoCloudStateOptions {
        cookie: MonoCloudStateCookieOptions;
        duration: number;
        maxConcurrent: number;
    }
    Index

    Configuration for the state cookie.

    This cookie temporarily stores authorization transaction data required to validate the callback response and prevent replay or CSRF attacks.

    duration: number

    The lifetime of an authorization transaction in seconds.

    900 (15 minutes)
    
    maxConcurrent: number

    The maximum number of concurrent sign-in transactions retained.

    When a new sign in would exceed the limit, the earliest pending transactions are evicted first. Set to 1 for sequential sign-ins, where starting a new sign in discards the previous pending one. Must be between 1 and 20.

    5