Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/oauth4webapi/mod.ts>generateKeyPair

Low-Level OAuth 2 / OpenID Connect Client API for JavaScript Runtimes
Latest
function generateKeyPair
import { generateKeyPair } from "https://deno.land/x/oauth4webapi@v2.17.0/mod.ts";

Generates a !CryptoKeyPair for a given JWS alg Algorithm identifier.

Parameters

Supported JWS alg Algorithm identifier.

optional
options: GenerateKeyPairOptions