import { PrivateKeyJwt } from "https://deno.land/x/oauth4webapi@v3.1.2/mod.ts";
private_key_jwt
uses the HTTP request body to send client_id
, client_assertion_type
,
and client_assertion
as application/x-www-form-urlencoded
body parameters. Digital signature
is used for the assertion's authenticity and integrity.
Examples
Example 1
Example 1
let key!: oauth.CryptoKey | oauth.PrivateKey
let clientAuth = oauth.PrivateKeyJwt(key)
Parameters
clientPrivateKey: CryptoKey | PrivateKey
optional
options: ModifyAssertionOptions