(info: OAuthClientInformationMixed)
| 40 | } |
| 41 | |
| 42 | async function encryptClientInformation(info: OAuthClientInformationMixed): Promise<string> { |
| 43 | const { encrypted } = await encryptSecret(JSON.stringify(info)) |
| 44 | return encrypted |
| 45 | } |
| 46 | |
| 47 | /** |
| 48 | * Returns `null` and clears the column when decryption fails (e.g. key rotation) |
no test coverage detected