@auth0/nextjs-auth0 - v4.9.0
    Preparing search index...

    Interface TransactionCookieOptions

    interface TransactionCookieOptions {
        domain?: string;
        maxAge?: number;
        path?: string;
        prefix?: string;
        sameSite?: "lax" | "strict" | "none";
        secure?: boolean;
    }
    Index

    Properties

    domain?: string

    Specifies the value for the Set-Cookie attribute. By default, no domain is set, and most clients will consider the cookie to apply to only the current domain.

    maxAge?: number

    The expiration time for transaction cookies in seconds. If not provided, defaults to 1 hour (3600 seconds).

    3600
    
    path?: string

    The path attribute of the transaction cookie. Will be set to '/' by default.

    prefix?: string

    The prefix of the cookie used to store the transaction state.

    Default: __txn_{state}.

    sameSite?: "lax" | "strict" | "none"

    The sameSite attribute of the transaction cookie.

    Default: lax.

    secure?: boolean

    The secure attribute of the transaction cookie.

    Default: depends on the protocol of the application's base URL. If the protocol is https, then true, otherwise false.