hasProfileScope function

bool hasProfileScope()

Check if OAuth token has the user:profile scope.

Implementation

bool hasProfileScope() {
  return getNeomageAIOAuthTokens()?.scopes.contains(neomageAiProfileScope) ??
      false;
}