Package org.wso2.is7.client.model
Interface WSO2IS7APIResourceManagementClient
public interface WSO2IS7APIResourceManagementClient
Represents the WSO2 Identity Server 7 API Resource Management client.
-
Method Summary
Modifier and TypeMethodDescriptioncreateAPIResource(WSO2IS7APIResourceInfo apiResourceInfo) voiddeleteScopeFromAPIResource(String apiResourceId, String scopeName) com.google.gson.JsonObjectgetAPIResources(Map<String, String> parameters) com.google.gson.JsonArraygetAPIResourceScopes(String apiResourceId) voidpatchAPIResource(String apiResourceId, WSO2IS7APIResourceInfo.AddedScopesInfo addedScopes) voidpatchAPIResourceScope(String apiResourceId, String scopeName, WSO2IS7APIResourceScopeInfo scope)
-
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
-