()
| 195 | } |
| 196 | |
| 197 | public static async generateDPoPKeys() : Promise<CryptoKeyPair> { |
| 198 | return await window.crypto.subtle.generateKey( |
| 199 | { |
| 200 | name: "ECDSA", |
| 201 | namedCurve: "P-256", |
| 202 | }, |
| 203 | false, |
| 204 | ["sign", "verify"], |
| 205 | ); |
| 206 | } |
| 207 | |
| 208 | /** |
| 209 | * Generates a client assertion JWT for client_secret_jwt authentication |
no outgoing calls
no test coverage detected