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