docs: function isScopeAllowed(allowedScopes, tokenScopes) {
      allowedScopes = normalizeScope(allowedScopes);
      tokenScopes = normalizeScope(tokenScopes);
      if (allowedScopes.length === 0) {
          return true;
      }
      for (var i = 0, n = allowedScopes.length; i < n; i++) {
          if (tokenScopes.indexOf(allowedScopes[i]) !== -1) {
              return true;
          }
      }
      return false;
  }