(tokens: OAuthTokens)
| 35 | } |
| 36 | |
| 37 | async function encryptTokens(tokens: OAuthTokens): Promise<string> { |
| 38 | const { encrypted } = await encryptSecret(JSON.stringify(tokens)) |
| 39 | return encrypted |
| 40 | } |
| 41 | |
| 42 | async function encryptClientInformation(info: OAuthClientInformationMixed): Promise<string> { |
| 43 | const { encrypted } = await encryptSecret(JSON.stringify(info)) |
no test coverage detected