code: public void setScopesToResources(Map<String, String> scopeToResource) {
          this.scopeToResource = new HashMap<String, String>(scopeToResource);
      }
docs: A map from scope name to resource id, for cases (like openid) that cannot
  be extracted from the scope name.
  
  @param scopeToResource the map to use