Package Exports
- dpop
- dpop/build/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (dpop) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
DPoP for Web Platform API JavaScript runtimes
OAuth 2.0 Demonstration of Proof-of-Possession at the Application Layer - draft-ietf-oauth-dpop-08.
💗 Help the project
Dependencies: 0
Documentation
example ESM import
import DPoP, { generateKeyPair } from 'dpop'example Deno import
import DPoP, { generateKeyPair } from 'https://deno.land/x/dpop/src/index.ts'Runtime requirements
The supported JavaScript runtimes include ones that
- are reasonably up to date ECMAScript (targets ES2020, but may be further transpiled for compatibility)
- support required Web API globals and standard built-in objects
- Web Crypto API and its related globals crypto, CryptoKey
- Encoding API and its related globals TextEncoder, TextDecoder
- btoa
- Uint8Array
- These are (not an exhaustive list):
- Browsers
- Cloudflare Workers
- Deno (^1.21.0)
- Electron
- Next.js Middlewares
- Node.js (runtime flags may be needed)
- Vercel Edge Functions
Out of scope
- CommonJS