Class SystemScopesApi
java.lang.Object
org.wso2.am.integration.clients.admin.api.SystemScopesApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetApiClient(ApiClient apiClient) Get Role Scope Mappings This operation is used to get the list of role scope mapping from tenant-conf for the apim admin dashboardokhttp3.CallsystemScopesGetAsync(ApiCallback<ScopeListDTO> _callback) Get Role Scope Mappings (asynchronously) This operation is used to get the list of role scope mapping from tenant-conf for the apim admin dashboardokhttp3.CallsystemScopesGetCall(ApiCallback _callback) Build call for systemScopesGetGet Role Scope Mappings This operation is used to get the list of role scope mapping from tenant-conf for the apim admin dashboardRetrieve Role Alias Mappings This operation can be used to retreive role alias mappingokhttp3.CallRetrieve Role Alias Mappings (asynchronously) This operation can be used to retreive role alias mappingokhttp3.CallsystemScopesRoleAliasesGetCall(ApiCallback _callback) Build call for systemScopesRoleAliasesGetRetrieve Role Alias Mappings This operation can be used to retreive role alias mappingsystemScopesRoleAliasesPut(RoleAliasListDTO roleAliasListDTO) Add a New Role Alias This operation can be used to add a new role alias mapping for system scope rolesokhttp3.CallsystemScopesRoleAliasesPutAsync(RoleAliasListDTO roleAliasListDTO, ApiCallback<RoleAliasListDTO> _callback) Add a New Role Alias (asynchronously) This operation can be used to add a new role alias mapping for system scope rolesokhttp3.CallsystemScopesRoleAliasesPutCall(RoleAliasListDTO roleAliasListDTO, ApiCallback _callback) Build call for systemScopesRoleAliasesPutsystemScopesRoleAliasesPutWithHttpInfo(RoleAliasListDTO roleAliasListDTO) Add a New Role Alias This operation can be used to add a new role alias mapping for system scope rolessystemScopesScopeNameGet(String scopeName, String username) Retrieve Scopes for a Particular User This operation will return the scope list of particular user In order to get it, we need to pass the userId as a query parameterokhttp3.CallsystemScopesScopeNameGetAsync(String scopeName, String username, ApiCallback<ScopeSettingsDTO> _callback) Retrieve Scopes for a Particular User (asynchronously) This operation will return the scope list of particular user In order to get it, we need to pass the userId as a query parameterokhttp3.CallsystemScopesScopeNameGetCall(String scopeName, String username, ApiCallback _callback) Build call for systemScopesScopeNameGetsystemScopesScopeNameGetWithHttpInfo(String scopeName, String username) Retrieve Scopes for a Particular User This operation will return the scope list of particular user In order to get it, we need to pass the userId as a query parameterupdateRolesForScope(ScopeListDTO scopeListDTO) Update Roles For Scope This operation is used to update the roles for all scopesokhttp3.CallupdateRolesForScopeAsync(ScopeListDTO scopeListDTO, ApiCallback<ScopeListDTO> _callback) Update Roles For Scope (asynchronously) This operation is used to update the roles for all scopesokhttp3.CallupdateRolesForScopeCall(ScopeListDTO scopeListDTO, ApiCallback _callback) Build call for updateRolesForScopeupdateRolesForScopeWithHttpInfo(ScopeListDTO scopeListDTO) Update Roles For Scope This operation is used to update the roles for all scopes
-
Constructor Details
-
SystemScopesApi
public SystemScopesApi() -
SystemScopesApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
systemScopesGetCall
Build call for systemScopesGet- Parameters:
_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
systemScopesGet
Get Role Scope Mappings This operation is used to get the list of role scope mapping from tenant-conf for the apim admin dashboard- Returns:
- ScopeListDTO
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
systemScopesGetWithHttpInfo
Get Role Scope Mappings This operation is used to get the list of role scope mapping from tenant-conf for the apim admin dashboard- Returns:
- ApiResponse<ScopeListDTO>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
systemScopesGetAsync
Get Role Scope Mappings (asynchronously) This operation is used to get the list of role scope mapping from tenant-conf for the apim admin dashboard- Parameters:
_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
systemScopesRoleAliasesGetCall
Build call for systemScopesRoleAliasesGet- Parameters:
_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
systemScopesRoleAliasesGet
Retrieve Role Alias Mappings This operation can be used to retreive role alias mapping- Returns:
- RoleAliasListDTO
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
systemScopesRoleAliasesGetWithHttpInfo
Retrieve Role Alias Mappings This operation can be used to retreive role alias mapping- Returns:
- ApiResponse<RoleAliasListDTO>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
systemScopesRoleAliasesGetAsync
public okhttp3.Call systemScopesRoleAliasesGetAsync(ApiCallback<RoleAliasListDTO> _callback) throws ApiException Retrieve Role Alias Mappings (asynchronously) This operation can be used to retreive role alias mapping- Parameters:
_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
systemScopesRoleAliasesPutCall
public okhttp3.Call systemScopesRoleAliasesPutCall(RoleAliasListDTO roleAliasListDTO, ApiCallback _callback) throws ApiException Build call for systemScopesRoleAliasesPut- Parameters:
roleAliasListDTO- role-alias mapping (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
systemScopesRoleAliasesPut
public RoleAliasListDTO systemScopesRoleAliasesPut(RoleAliasListDTO roleAliasListDTO) throws ApiException Add a New Role Alias This operation can be used to add a new role alias mapping for system scope roles- Parameters:
roleAliasListDTO- role-alias mapping (required)- Returns:
- RoleAliasListDTO
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
systemScopesRoleAliasesPutWithHttpInfo
public ApiResponse<RoleAliasListDTO> systemScopesRoleAliasesPutWithHttpInfo(RoleAliasListDTO roleAliasListDTO) throws ApiException Add a New Role Alias This operation can be used to add a new role alias mapping for system scope roles- Parameters:
roleAliasListDTO- role-alias mapping (required)- Returns:
- ApiResponse<RoleAliasListDTO>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
systemScopesRoleAliasesPutAsync
public okhttp3.Call systemScopesRoleAliasesPutAsync(RoleAliasListDTO roleAliasListDTO, ApiCallback<RoleAliasListDTO> _callback) throws ApiException Add a New Role Alias (asynchronously) This operation can be used to add a new role alias mapping for system scope roles- Parameters:
roleAliasListDTO- role-alias mapping (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
systemScopesScopeNameGetCall
public okhttp3.Call systemScopesScopeNameGetCall(String scopeName, String username, ApiCallback _callback) throws ApiException Build call for systemScopesScopeNameGet- Parameters:
scopeName- scope name to be validated (required)username- (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
systemScopesScopeNameGet
public ScopeSettingsDTO systemScopesScopeNameGet(String scopeName, String username) throws ApiException Retrieve Scopes for a Particular User This operation will return the scope list of particular user In order to get it, we need to pass the userId as a query parameter- Parameters:
scopeName- scope name to be validated (required)username- (optional)- Returns:
- ScopeSettingsDTO
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
systemScopesScopeNameGetWithHttpInfo
public ApiResponse<ScopeSettingsDTO> systemScopesScopeNameGetWithHttpInfo(String scopeName, String username) throws ApiException Retrieve Scopes for a Particular User This operation will return the scope list of particular user In order to get it, we need to pass the userId as a query parameter- Parameters:
scopeName- scope name to be validated (required)username- (optional)- Returns:
- ApiResponse<ScopeSettingsDTO>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
systemScopesScopeNameGetAsync
public okhttp3.Call systemScopesScopeNameGetAsync(String scopeName, String username, ApiCallback<ScopeSettingsDTO> _callback) throws ApiException Retrieve Scopes for a Particular User (asynchronously) This operation will return the scope list of particular user In order to get it, we need to pass the userId as a query parameter- Parameters:
scopeName- scope name to be validated (required)username- (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
updateRolesForScopeCall
public okhttp3.Call updateRolesForScopeCall(ScopeListDTO scopeListDTO, ApiCallback _callback) throws ApiException Build call for updateRolesForScope- Parameters:
scopeListDTO- Scope list object with updated scope to role mappings (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
updateRolesForScope
Update Roles For Scope This operation is used to update the roles for all scopes- Parameters:
scopeListDTO- Scope list object with updated scope to role mappings (required)- Returns:
- ScopeListDTO
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
updateRolesForScopeWithHttpInfo
public ApiResponse<ScopeListDTO> updateRolesForScopeWithHttpInfo(ScopeListDTO scopeListDTO) throws ApiException Update Roles For Scope This operation is used to update the roles for all scopes- Parameters:
scopeListDTO- Scope list object with updated scope to role mappings (required)- Returns:
- ApiResponse<ScopeListDTO>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
updateRolesForScopeAsync
public okhttp3.Call updateRolesForScopeAsync(ScopeListDTO scopeListDTO, ApiCallback<ScopeListDTO> _callback) throws ApiException Update Roles For Scope (asynchronously) This operation is used to update the roles for all scopes- Parameters:
scopeListDTO- Scope list object with updated scope to role mappings (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-