(authCode: string)
| 2 | const CLI_AUTH_CODE_HASH_RE = /^[a-f0-9]{64}$/i |
| 3 | |
| 4 | export function isOpaqueCliAuthCodeToken(authCode: string): boolean { |
| 5 | return OPAQUE_CLI_AUTH_CODE_TOKEN_RE.test(authCode.trim()) |
| 6 | } |
| 7 | |
| 8 | export function parseCliAuthCodeShape(authCode: string): { |
| 9 | fingerprintId: string |
no outgoing calls
no test coverage detected