Skip to content

Latest commit

 

History

History
22 lines (15 loc) · 751 Bytes

default.md

File metadata and controls

22 lines (15 loc) · 751 Bytes

Function: default

💗 Help the project

default(keypair, htu, htm, nonce?, accessToken?, additional?): Promise<string>

Generates a unique DPoP Proof JWT.

Parameters

Name Type Description
keypair KeyPair
htu string The HTTP URI (without query and fragment parts) of the request
htm string The HTTP method of the request
nonce? string Server-provided nonce.
accessToken? string Associated access token's value.
additional? Record<string, JsonValue> Any additional claims.

Returns

Promise<string>