@adcp/sdk API Reference - v7.9.0
    Preparing search index...

    Interface DiscoverAuthorizationOptions

    interface DiscoverAuthorizationOptions {
        allowPrivateIp?: boolean;
        timeoutMs?: number;
        wwwAuthenticate?: string;
    }
    Index

    Properties

    allowPrivateIp?: boolean

    Allow http:// and private-IP probe targets. Default false.

    timeoutMs?: number

    Override per-probe HTTP timeout (ms). Default inherits from ssrfSafeFetch (10s).

    wwwAuthenticate?: string

    If provided, use this WWW-Authenticate header verbatim instead of re-probing the agent. Use this when you already have a 401 response in hand and want to avoid a second round-trip.