DPoP Module
DPoP (Demonstration of Proof-of-Possession) proof generation. Creates JWT proofs that bind access tokens to a specific key pair, as specified in RFC 9449.
Functions and values
| Function or value |
Description
|
Full Usage:
createProof key httpMethod targetUri accessTokenHash nonce
Parameters:
ECDsa
httpMethod : string
targetUri : string
accessTokenHash : string option
nonce : string option
Returns: string
|
Create a DPoP proof JWT for a request. The proof binds the request to the key pair and optionally to an access token.
|
|
|
|
|
Full Usage:
hashAccessToken accessToken
Parameters:
string
Returns: string
|
Compute the base64url-encoded SHA-256 hash of an access token, for use in the "ath" claim of a DPoP proof.
|