Skip to content

Latest commit

 

History

History
37 lines (23 loc) · 1.38 KB

PrivateKeyJwt.md

File metadata and controls

37 lines (23 loc) · 1.38 KB

Function: PrivateKeyJwt()

💗 Help the project

Support from the community to continue maintaining and improving this module is welcome. If you find the module useful, please consider supporting the project by becoming a sponsor.


PrivateKeyJwt(clientPrivateKey, options?): ClientAuth

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.

Parameters

Parameter Type Description
clientPrivateKey CryptoKey | PrivateKey
options? ModifyAssertionOptions -

Returns

ClientAuth

Example

let key!: oauth.CryptoKey | oauth.PrivateKey

let clientAuth = oauth.PrivateKeyJwt(key)

See