()
| 9 | } |
| 10 | |
| 11 | export function generateCodeVerifier(): string { |
| 12 | return base64URLEncode(randomBytes(32)) |
| 13 | } |
| 14 | |
| 15 | export function generateCodeChallenge(verifier: string): string { |
| 16 | const hash = createHash('sha256') |
nothing calls this directly
no test coverage detected