public class UsersApi extends Object
| Constructor and Description |
|---|
UsersApi() |
UsersApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
void |
changeUserPassword(CurrentAndNewPasswordsDTO currentAndNewPasswordsDTO)
Change the Password of the user
Using this operation, logged-in user can change their password.
|
okhttp3.Call |
changeUserPasswordAsync(CurrentAndNewPasswordsDTO currentAndNewPasswordsDTO,
ApiCallback<Void> _callback)
Change the Password of the user (asynchronously)
Using this operation, logged-in user can change their password.
|
okhttp3.Call |
changeUserPasswordCall(CurrentAndNewPasswordsDTO currentAndNewPasswordsDTO,
ApiCallback _callback)
Build call for changeUserPassword
|
ApiResponse<Void> |
changeUserPasswordWithHttpInfo(CurrentAndNewPasswordsDTO currentAndNewPasswordsDTO)
Change the Password of the user
Using this operation, logged-in user can change their password.
|
ApiClient |
getApiClient() |
void |
setApiClient(ApiClient apiClient) |
public UsersApi()
public UsersApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public okhttp3.Call changeUserPasswordCall(CurrentAndNewPasswordsDTO currentAndNewPasswordsDTO, ApiCallback _callback) throws ApiException
currentAndNewPasswordsDTO - Current and new password of the user (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body objectpublic void changeUserPassword(CurrentAndNewPasswordsDTO currentAndNewPasswordsDTO) throws ApiException
currentAndNewPasswordsDTO - Current and new password of the user (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> changeUserPasswordWithHttpInfo(CurrentAndNewPasswordsDTO currentAndNewPasswordsDTO) throws ApiException
currentAndNewPasswordsDTO - Current and new password of the user (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call changeUserPasswordAsync(CurrentAndNewPasswordsDTO currentAndNewPasswordsDTO, ApiCallback<Void> _callback) throws ApiException
currentAndNewPasswordsDTO - Current and new password of the user (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.