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

x/oauth4webapi/src/index.ts>generateKeyPair

OAuth 2 / OpenID Connect for JavaScript Runtimes
Go to Latest
function generateKeyPair
import { generateKeyPair } from "https://deno.land/x/oauth4webapi@v2.8.0/src/index.ts";

Generates a CryptoKeyPair for a given JWS alg Algorithm identifier.

Parameters

Supported JWS alg Algorithm identifier.

optional
options: GenerateKeyPairOptions