()
| 1646 | * generate 403 storms against /api/oauth/profile, bootstrap, etc. |
| 1647 | */ |
| 1648 | export function hasProfileScope(): boolean { |
| 1649 | return ( |
| 1650 | getClaudeAIOAuthTokens()?.scopes?.includes(CLAUDE_AI_PROFILE_SCOPE) ?? false |
| 1651 | ) |
| 1652 | } |
| 1653 | |
| 1654 | export function is1PApiCustomer(): boolean { |
| 1655 | // 1P API customers are users who are NOT: |
no outgoing calls
no test coverage detected