()
| 1628 | * generate 403 storms against /api/oauth/profile, bootstrap, etc. |
| 1629 | */ |
| 1630 | export function hasProfileScope(): boolean { |
| 1631 | return ( |
| 1632 | getClaudeAIOAuthTokens()?.scopes?.includes(CLAUDE_AI_PROFILE_SCOPE) ?? false |
| 1633 | ) |
| 1634 | } |
| 1635 | |
| 1636 | export function is1PApiCustomer(): boolean { |
| 1637 | // 1P API customers are users who are NOT: |
no outgoing calls
no test coverage detected