MonoCloud Authentication SDK
    Preparing search index...

    Represents a request object that includes cookie handling capabilities.

    interface MonoCloudRequest {
        getAllCookies(): Promise<Map<string, string>>;
        getCookie(name: string): Promise<string | undefined>;
        getQuery(parameter: string): string | string[] | undefined;
        getRawRequest(): Promise<
            { body: string
            | Record<string, string>; method: string; url: string },
        >;
    }

    Hierarchy

    Index

    Methods

    • Retrieves a query parameter value by name.

      Parameters

      • parameter: string

        The name of the query parameter to retrieve.

      Returns string | string[] | undefined

    • Returns the raw request details including method, URL, and body.

      Returns Promise<{ body: string | Record<string, string>; method: string; url: string }>