Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/oauth4webapi/mod.ts>DPoPOptions

OAuth 2 / OpenID Connect for JavaScript Runtimes
Go to Latest
interface DPoPOptions
implements CryptoKeyPair
import { type DPoPOptions } from "https://deno.land/x/oauth4webapi@v2.7.0/mod.ts";

Properties

privateKey: CryptoKey

Private CryptoKey instance to sign the DPoP Proof JWT with.

Its algorithm must be compatible with a supported JWS alg Algorithm.

publicKey: CryptoKey

The public key corresponding to DPoPOptions.privateKey.

optional
nonce: string

Server-Provided Nonce to use in the request. This option serves as an override in case the self-correcting mechanism does not work with a particular server. Previously received nonces will be used automatically.