()
| 1826 | * generate 403 storms against /api/oauth/profile, bootstrap, etc. |
| 1827 | */ |
| 1828 | export function hasProfileScope(): boolean { |
| 1829 | return ( |
| 1830 | getClaudeAIOAuthTokens()?.scopes?.includes(CLAUDE_AI_PROFILE_SCOPE) ?? false |
| 1831 | ) |
| 1832 | } |
| 1833 | |
| 1834 | export function getUsableClaudeAiAccessToken(options?: { |
| 1835 | requireProfileScope?: boolean |
no outgoing calls
no test coverage detected