Open Policy Agent TypeScript Packages
    Preparing search index...
    type SDKOptions = {
        bearerAuth?: string | (() => Promise<string>);
        debugLogger?: Logger;
        httpClient?: HTTPClient;
        retryConfig?: RetryConfig;
        serverIdx?: number;
        serverURL?: string;
        timeoutMs?: number;
    }
    Index

    Properties

    bearerAuth?: string | (() => Promise<string>)
    debugLogger?: Logger
    httpClient?: HTTPClient
    retryConfig?: RetryConfig

    Allows overriding the default retry config used by the SDK

    serverIdx?: number

    Allows overriding the default server used by the SDK

    serverURL?: string

    Allows overriding the default server URL used by the SDK

    timeoutMs?: number