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