iya-sts
    Preparing search index...
    fetchJson: (
        record: any,
        attribute: string,
        options?: FetchOptions,
    ) => Promise<FetchResult> = ...

    Forwards to FederationHttp.fetchJson().

    Type Declaration

      • (record: any, attribute: string, options?: FetchOptions): Promise<FetchResult>
      • Makes a federation relationship's back-channel request to the URL in one of its DIALLABLE attributes and reads the answer as JSON.

        Another attribute is refused and logged under STS-FED-0046. Never rejects.

        Parameters

        • record: any

          the federation relationship

        • attribute: string

          the attribute holding the URL, one of DIALLABLE

        • Optionaloptions: FetchOptions

          method, form, bearer, basic and headers

        Returns Promise<FetchResult>

        a promise of { ok, status, json, text, url, errorCode, why }