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

x/oauth4webapi/mod.ts>ClientSecretJwt

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

client_secret_jwt uses the HTTP request body to send client_id, client_assertion_type, and client_assertion as application/x-www-form-urlencoded body parameters. HMAC is used for the assertion's authenticity and integrity.

Examples

Example 1

let clientSecret!: string

let clientAuth = oauth.ClientSecretJwt(clientSecret)

Parameters

clientSecret: string
optional
options: ModifyAssertionOptions