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

    Type Alias BaseClientOptions

    BaseClientOptions: {
        environment?: Supplier<ManagementEnvironment | string>;
        baseUrl?: Supplier<string>;
        headers?: Record<
            string,
            string
            | Supplier<string | null | undefined>
            | null
            | undefined,
        >;
        timeoutInSeconds?: number;
        maxRetries?: number;
        fetch?: typeof __type;
        fetcher?: FetchFunction;
        logging?: LogConfig | Logger;
    } & AuthOptions

    Type Declaration

    • Optionalenvironment?: Supplier<ManagementEnvironment | string>
    • OptionalbaseUrl?: Supplier<string>

      Specify a custom URL to connect the client to.

    • Optionalheaders?: Record<string, string | Supplier<string | null | undefined> | null | undefined>

      Additional headers to include in requests.

    • OptionaltimeoutInSeconds?: number

      The default maximum time to wait for a response in seconds.

    • OptionalmaxRetries?: number

      The default number of times to retry the request. Defaults to 2.

    • Optionalfetch?: typeof __type

      Provide a custom fetch implementation. Useful for platforms that don't have a built-in fetch or need a custom implementation.

    • Optionalfetcher?: FetchFunction
    • Optionallogging?: LogConfig | Logger

      Configure logging for the client.