()
| 1574 | * generate 403 storms against /api/oauth/profile, bootstrap, etc. |
| 1575 | */ |
| 1576 | export function hasProfileScope(): boolean { |
| 1577 | return ( |
| 1578 | getClaudeAIOAuthTokens()?.scopes?.includes(CLAUDE_AI_PROFILE_SCOPE) ?? false |
| 1579 | ) |
| 1580 | } |
| 1581 | |
| 1582 | export function is1PApiCustomer(): boolean { |
| 1583 | // 1P API customers are users who are NOT: |
no outgoing calls
no test coverage detected