()
| 1562 | } |
| 1563 | |
| 1564 | export function isClaudeAISubscriber(): boolean { |
| 1565 | if (!isAnthropicAuthEnabled()) { |
| 1566 | return false |
| 1567 | } |
| 1568 | |
| 1569 | return shouldUseClaudeAIAuth(getClaudeAIOAuthTokens()?.scopes) |
| 1570 | } |
| 1571 | |
| 1572 | /** |
| 1573 | * Check if the current OAuth token has the user:profile scope. |
no test coverage detected