MonoCloud Authentication SDK
    Preparing search index...

    Interface for setting cookies on an outgoing response.

    interface IMonoCloudCookieResponse {
        setCookie(
            cookieName: string,
            value: string,
            options: CookieOptions,
        ): Promise<void>;
    }

    Hierarchy

    Index

    Methods

    Methods

    • Sets a cookie on the response.

      Parameters

      • cookieName: string

        The name of the cookie to set.

      • value: string

        The value to assign to the cookie.

      • options: CookieOptions

        Serialization options for the cookie.

      Returns Promise<void>