(authCode: string)
| 20 | } |
| 21 | |
| 22 | export function isOpaqueCliAuthCodeToken(authCode: string): boolean { |
| 23 | return OPAQUE_CLI_AUTH_CODE_TOKEN_RE.test(authCode.trim()) |
| 24 | } |
| 25 | |
| 26 | export function getCliAuthCodeHashPrefix(authCode: string): string { |
| 27 | return getCliAuthCodeHash(authCode).slice(0, 12) |
no outgoing calls
no test coverage detected