public class SystemScopesApi extends Object
| Constructor and Description |
|---|
SystemScopesApi() |
SystemScopesApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
ApiClient |
getApiClient() |
void |
setApiClient(ApiClient apiClient) |
ScopeListDTO |
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
|
okhttp3.Call |
systemScopesGetAsync(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 dashboard
|
okhttp3.Call |
systemScopesGetCall(ApiCallback _callback)
Build call for systemScopesGet
|
ApiResponse<ScopeListDTO> |
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
|
RoleAliasListDTO |
systemScopesRoleAliasesGet()
Retrieve Role Alias Mappings
This operation can be used to retreive role alias mapping
|
okhttp3.Call |
systemScopesRoleAliasesGetAsync(ApiCallback<RoleAliasListDTO> _callback)
Retrieve Role Alias Mappings (asynchronously)
This operation can be used to retreive role alias mapping
|
okhttp3.Call |
systemScopesRoleAliasesGetCall(ApiCallback _callback)
Build call for systemScopesRoleAliasesGet
|
ApiResponse<RoleAliasListDTO> |
systemScopesRoleAliasesGetWithHttpInfo()
Retrieve Role Alias Mappings
This operation can be used to retreive role alias mapping
|
RoleAliasListDTO |
systemScopesRoleAliasesPut(RoleAliasListDTO roleAliasListDTO)
Add a New Role Alias
This operation can be used to add a new role alias mapping for system scope roles
|
okhttp3.Call |
systemScopesRoleAliasesPutAsync(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 roles
|
okhttp3.Call |
systemScopesRoleAliasesPutCall(RoleAliasListDTO roleAliasListDTO,
ApiCallback _callback)
Build call for systemScopesRoleAliasesPut
|
ApiResponse<RoleAliasListDTO> |
systemScopesRoleAliasesPutWithHttpInfo(RoleAliasListDTO roleAliasListDTO)
Add a New Role Alias
This operation can be used to add a new role alias mapping for system scope roles
|
ScopeSettingsDTO |
systemScopesScopeNameGet(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 parameter
|
okhttp3.Call |
systemScopesScopeNameGetAsync(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 parameter
|
okhttp3.Call |
systemScopesScopeNameGetCall(String scopeName,
String username,
ApiCallback _callback)
Build call for systemScopesScopeNameGet
|
ApiResponse<ScopeSettingsDTO> |
systemScopesScopeNameGetWithHttpInfo(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 parameter
|
ScopeListDTO |
updateRolesForScope(ScopeListDTO scopeListDTO)
Update Roles For Scope
This operation is used to update the roles for all scopes
|
okhttp3.Call |
updateRolesForScopeAsync(ScopeListDTO scopeListDTO,
ApiCallback<ScopeListDTO> _callback)
Update Roles For Scope (asynchronously)
This operation is used to update the roles for all scopes
|
okhttp3.Call |
updateRolesForScopeCall(ScopeListDTO scopeListDTO,
ApiCallback _callback)
Build call for updateRolesForScope
|
ApiResponse<ScopeListDTO> |
updateRolesForScopeWithHttpInfo(ScopeListDTO scopeListDTO)
Update Roles For Scope
This operation is used to update the roles for all scopes
|
public SystemScopesApi()
public SystemScopesApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public okhttp3.Call systemScopesGetCall(ApiCallback _callback) throws ApiException
_callback - Callback for upload/download progressApiException - If fail to serialize the request body objectpublic ScopeListDTO systemScopesGet() throws ApiException
ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ScopeListDTO> systemScopesGetWithHttpInfo() throws ApiException
ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call systemScopesGetAsync(ApiCallback<ScopeListDTO> _callback) throws ApiException
_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic okhttp3.Call systemScopesRoleAliasesGetCall(ApiCallback _callback) throws ApiException
_callback - Callback for upload/download progressApiException - If fail to serialize the request body objectpublic RoleAliasListDTO systemScopesRoleAliasesGet() throws ApiException
ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<RoleAliasListDTO> systemScopesRoleAliasesGetWithHttpInfo() throws ApiException
ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call systemScopesRoleAliasesGetAsync(ApiCallback<RoleAliasListDTO> _callback) throws ApiException
_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic okhttp3.Call systemScopesRoleAliasesPutCall(RoleAliasListDTO roleAliasListDTO, ApiCallback _callback) throws ApiException
roleAliasListDTO - role-alias mapping (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body objectpublic RoleAliasListDTO systemScopesRoleAliasesPut(RoleAliasListDTO roleAliasListDTO) throws ApiException
roleAliasListDTO - role-alias mapping (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<RoleAliasListDTO> systemScopesRoleAliasesPutWithHttpInfo(RoleAliasListDTO roleAliasListDTO) throws ApiException
roleAliasListDTO - role-alias mapping (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call systemScopesRoleAliasesPutAsync(RoleAliasListDTO roleAliasListDTO, ApiCallback<RoleAliasListDTO> _callback) throws ApiException
roleAliasListDTO - role-alias mapping (required)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic okhttp3.Call systemScopesScopeNameGetCall(String scopeName, String username, ApiCallback _callback) throws ApiException
scopeName - scope name to be validated (required)username - (optional)_callback - Callback for upload/download progressApiException - If fail to serialize the request body objectpublic ScopeSettingsDTO systemScopesScopeNameGet(String scopeName, String username) throws ApiException
scopeName - scope name to be validated (required)username - (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ScopeSettingsDTO> systemScopesScopeNameGetWithHttpInfo(String scopeName, String username) throws ApiException
scopeName - scope name to be validated (required)username - (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call systemScopesScopeNameGetAsync(String scopeName, String username, ApiCallback<ScopeSettingsDTO> _callback) throws ApiException
scopeName - scope name to be validated (required)username - (optional)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic okhttp3.Call updateRolesForScopeCall(ScopeListDTO scopeListDTO, ApiCallback _callback) throws ApiException
scopeListDTO - Scope list object with updated scope to role mappings (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body objectpublic ScopeListDTO updateRolesForScope(ScopeListDTO scopeListDTO) throws ApiException
scopeListDTO - Scope list object with updated scope to role mappings (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ScopeListDTO> updateRolesForScopeWithHttpInfo(ScopeListDTO scopeListDTO) throws ApiException
scopeListDTO - Scope list object with updated scope to role mappings (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call updateRolesForScopeAsync(ScopeListDTO scopeListDTO, ApiCallback<ScopeListDTO> _callback) throws ApiException
scopeListDTO - Scope list object with updated scope to role mappings (required)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectCopyright © 2021 WSO2 Inc. All rights reserved.