mirror of
https://github.com/hanzoai/openid-client.git
synced 2026-09-24 17:01:10 +00:00
1.1 KiB
1.1 KiB
Function: randomDPoPKeyPair()
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.
â–¸ randomDPoPKeyPair(alg?, options?): Promise<CryptoKeyPair>
Generates random CryptoKeyPair to sign DPoP Proof JWTs with
Parameters
| Parameter | Type | Description |
|---|---|---|
alg? |
string |
One of the supported JWS Algorithm identifiers. Default is ES256. |
options? |
GenerateKeyPairOptions |
- |