(payload: Record<string, any> | null)
| 251 | } |
| 252 | |
| 253 | function getAuthClaims(payload: Record<string, any> | null): Record<string, any> | null { |
| 254 | const raw = payload?.['https://api.openai.com/auth']; |
| 255 | return isRecord(raw) ? raw : null; |
| 256 | } |
| 257 | |
| 258 | function resolveRequestedAuthPath( |
| 259 | authPathOrOptions: string | { authPath?: string; env?: NodeJS.ProcessEnv }, |
no test coverage detected