iya-sts
    Preparing search index...

    Variable dpopProof

    dpopProof: (
        key: DpopKey,
        method: string,
        url: string,
        opts?: { accessToken?: string; nonce?: string },
    ) => string = ...

    Type Declaration

      • (
            key: DpopKey,
            method: string,
            url: string,
            opts?: { accessToken?: string; nonce?: string },
        ): string
      • Makes an RFC 9449 DPoP proof for one request.

        Parameters

        • key: DpopKey

          the key from dpopKey()

        • method: string

          the HTTP method

        • url: string

          the URL, whose query and fragment are left out of htu

        • Optionalopts: { accessToken?: string; nonce?: string }

          nonce where the server asked for one, accessToken for ath

        Returns string

        the signed proof