isNeomageAISubscriber function

bool isNeomageAISubscriber()

Whether the current user is a Neomage AI subscriber.

Implementation

bool isNeomageAISubscriber() {
  if (!isAnthropicAuthEnabled()) return false;
  final tokens = getNeomageAIOAuthTokens();
  return _shouldUseNeomageAIAuth(tokens?.scopes);
}