IO Wallet SDK
    Preparing search index...

    Function fetchJarRequestObject

    • Fetches a JWT-Secured Authorization Request object from a request_uri.

      Parameters

      • options: {
            fetch?: (
                input: RequestInfo | URL,
                init?: RequestInit,
            ) => Promise<Response>;
            requestUri: string;
        }

        Request object fetch options.

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

          Optional fetch implementation; defaults to the runtime fetch through createFetcher.

        • requestUri: string

          URI hosting the signed authorization request object.

      Returns Promise<string>

      Compact JAR request object JWT.

      If the endpoint does not return HTTP 200.

      If the request object cannot be fetched.