Skip to content

panva/dpop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

39fc1f1 ยท Feb 18, 2025

History

26 Commits
Feb 18, 2025
Sep 28, 2022
May 18, 2022
May 27, 2024
May 18, 2022
May 18, 2022
Apr 26, 2023
Apr 26, 2023
May 27, 2024
May 18, 2022
May 18, 2022
May 18, 2022
Sep 8, 2023
Jun 19, 2024
May 27, 2024
May 18, 2022
May 18, 2022

Repository files navigation

DPoP for Web Platform API JavaScript runtimes

OAuth 2.0 Demonstration of Proof-of-Possession at the Application Layer - RFC9449.

Dependencies: 0

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
  • 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