Interface WSO2IS7APIResourceManagementClient


public interface WSO2IS7APIResourceManagementClient
Represents the WSO2 Identity Server 7 API Resource Management client.
  • Method Details

    • createAPIResource

      WSO2IS7APIResourceInfo createAPIResource(WSO2IS7APIResourceInfo apiResourceInfo) throws org.wso2.carbon.apimgt.impl.kmclient.KeyManagerClientException
      Throws:
      org.wso2.carbon.apimgt.impl.kmclient.KeyManagerClientException
    • getAPIResources

      com.google.gson.JsonObject getAPIResources(Map<String,String> parameters) throws org.wso2.carbon.apimgt.impl.kmclient.KeyManagerClientException
      Throws:
      org.wso2.carbon.apimgt.impl.kmclient.KeyManagerClientException
    • getAPIResourceScopes

      com.google.gson.JsonArray getAPIResourceScopes(String apiResourceId) throws org.wso2.carbon.apimgt.impl.kmclient.KeyManagerClientException
      Throws:
      org.wso2.carbon.apimgt.impl.kmclient.KeyManagerClientException
    • patchAPIResource

      void patchAPIResource(String apiResourceId, WSO2IS7APIResourceInfo.AddedScopesInfo addedScopes) throws org.wso2.carbon.apimgt.impl.kmclient.KeyManagerClientException
      Throws:
      org.wso2.carbon.apimgt.impl.kmclient.KeyManagerClientException
    • patchAPIResourceScope

      void patchAPIResourceScope(String apiResourceId, String scopeName, WSO2IS7APIResourceScopeInfo scope) throws org.wso2.carbon.apimgt.impl.kmclient.KeyManagerClientException
      Throws:
      org.wso2.carbon.apimgt.impl.kmclient.KeyManagerClientException
    • deleteScopeFromAPIResource

      void deleteScopeFromAPIResource(String apiResourceId, String scopeName) throws org.wso2.carbon.apimgt.impl.kmclient.KeyManagerClientException
      Throws:
      org.wso2.carbon.apimgt.impl.kmclient.KeyManagerClientException