Auth0 Node.js SDK - v5.1.0
    Preparing search index...

    Interface Args

    interface Args {
        url: string;
        method: string;
        contentType?: string;
        headers?: Record<string, EndpointSupplier<string | null | undefined>>;
        queryParameters?: Record<string, unknown>;
        body?: unknown;
        timeoutMs?: number;
        maxRetries?: number;
        withCredentials?: boolean;
        abortSignal?: AbortSignal;
        requestType?: "json" | "other" | "bytes" | "file" | "form";
        responseType?:
            | "json"
            | "text"
            | "arrayBuffer"
            | "blob"
            | "binary-response"
            | "sse"
            | "streaming";
        duplex?: "half";
        endpointMetadata?: EndpointMetadata;
        fetchFn?: {
            (input: RequestInfo | URL, init?: RequestInit): Promise<Response>;
            (input: string | Request | URL, init?: RequestInit): Promise<Response>;
        };
    }
    Index

    Properties

    url: string
    method: string
    contentType?: string
    headers?: Record<string, EndpointSupplier<string | null | undefined>>
    queryParameters?: Record<string, unknown>
    body?: unknown
    timeoutMs?: number
    maxRetries?: number
    withCredentials?: boolean
    abortSignal?: AbortSignal
    requestType?: "json" | "other" | "bytes" | "file" | "form"
    responseType?:
        | "json"
        | "text"
        | "arrayBuffer"
        | "blob"
        | "binary-response"
        | "sse"
        | "streaming"
    duplex?: "half"
    endpointMetadata?: EndpointMetadata
    fetchFn?: {
        (input: RequestInfo | URL, init?: RequestInit): Promise<Response>;
        (input: string | Request | URL, init?: RequestInit): Promise<Response>;
    }

    Type Declaration

      • (input: RequestInfo | URL, init?: RequestInit): Promise<Response>
      • Parameters

        • input: RequestInfo | URL
        • Optionalinit: RequestInit

        Returns Promise<Response>

      • (input: string | Request | URL, init?: RequestInit): Promise<Response>
      • Parameters

        • input: string | Request | URL
        • Optionalinit: RequestInit

        Returns Promise<Response>