public class ApiKeysApi extends Object
| Constructor and Description |
|---|
ApiKeysApi() |
ApiKeysApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
APIKeyDTO |
applicationsApplicationIdApiKeysKeyTypeGeneratePost(String applicationId,
String keyType,
APIKeyGenerateRequestDTO body,
String ifMatch)
Generate API Key
Generate a self contained API Key for the application
|
com.squareup.okhttp.Call |
applicationsApplicationIdApiKeysKeyTypeGeneratePostAsync(String applicationId,
String keyType,
APIKeyGenerateRequestDTO body,
String ifMatch,
ApiCallback<APIKeyDTO> callback)
Generate API Key (asynchronously)
Generate a self contained API Key for the application
|
com.squareup.okhttp.Call |
applicationsApplicationIdApiKeysKeyTypeGeneratePostCall(String applicationId,
String keyType,
APIKeyGenerateRequestDTO body,
String ifMatch,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for applicationsApplicationIdApiKeysKeyTypeGeneratePost
|
ApiResponse<APIKeyDTO> |
applicationsApplicationIdApiKeysKeyTypeGeneratePostWithHttpInfo(String applicationId,
String keyType,
APIKeyGenerateRequestDTO body,
String ifMatch)
Generate API Key
Generate a self contained API Key for the application
|
void |
applicationsApplicationIdApiKeysKeyTypeRevokePost(String applicationId,
String keyType,
APIKeyRevokeRequestDTO body,
String ifMatch)
Revoke API Key
Revoke a self contained API Key for the application
|
com.squareup.okhttp.Call |
applicationsApplicationIdApiKeysKeyTypeRevokePostAsync(String applicationId,
String keyType,
APIKeyRevokeRequestDTO body,
String ifMatch,
ApiCallback<Void> callback)
Revoke API Key (asynchronously)
Revoke a self contained API Key for the application
|
com.squareup.okhttp.Call |
applicationsApplicationIdApiKeysKeyTypeRevokePostCall(String applicationId,
String keyType,
APIKeyRevokeRequestDTO body,
String ifMatch,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for applicationsApplicationIdApiKeysKeyTypeRevokePost
|
ApiResponse<Void> |
applicationsApplicationIdApiKeysKeyTypeRevokePostWithHttpInfo(String applicationId,
String keyType,
APIKeyRevokeRequestDTO body,
String ifMatch)
Revoke API Key
Revoke a self contained API Key for the application
|
ApiClient |
getApiClient() |
void |
setApiClient(ApiClient apiClient) |
public ApiKeysApi()
public ApiKeysApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call applicationsApplicationIdApiKeysKeyTypeGeneratePostCall(String applicationId, String keyType, APIKeyGenerateRequestDTO body, String ifMatch, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
applicationId - Application Identifier consisting of the UUID of the Application. (required)keyType - **Application Key Type** standing for the type of the keys (i.e. Production or Sandbox). (required)body - API Key generation request object (optional)ifMatch - Validator for conditional requests; based on ETag. (optional)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic APIKeyDTO applicationsApplicationIdApiKeysKeyTypeGeneratePost(String applicationId, String keyType, APIKeyGenerateRequestDTO body, String ifMatch) throws ApiException
applicationId - Application Identifier consisting of the UUID of the Application. (required)keyType - **Application Key Type** standing for the type of the keys (i.e. Production or Sandbox). (required)body - API Key generation request object (optional)ifMatch - Validator for conditional requests; based on ETag. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<APIKeyDTO> applicationsApplicationIdApiKeysKeyTypeGeneratePostWithHttpInfo(String applicationId, String keyType, APIKeyGenerateRequestDTO body, String ifMatch) throws ApiException
applicationId - Application Identifier consisting of the UUID of the Application. (required)keyType - **Application Key Type** standing for the type of the keys (i.e. Production or Sandbox). (required)body - API Key generation request object (optional)ifMatch - Validator for conditional requests; based on ETag. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call applicationsApplicationIdApiKeysKeyTypeGeneratePostAsync(String applicationId, String keyType, APIKeyGenerateRequestDTO body, String ifMatch, ApiCallback<APIKeyDTO> callback) throws ApiException
applicationId - Application Identifier consisting of the UUID of the Application. (required)keyType - **Application Key Type** standing for the type of the keys (i.e. Production or Sandbox). (required)body - API Key generation request object (optional)ifMatch - Validator for conditional requests; based on ETag. (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 com.squareup.okhttp.Call applicationsApplicationIdApiKeysKeyTypeRevokePostCall(String applicationId, String keyType, APIKeyRevokeRequestDTO body, String ifMatch, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
applicationId - Application Identifier consisting of the UUID of the Application. (required)keyType - **Application Key Type** standing for the type of the keys (i.e. Production or Sandbox). (required)body - API Key revoke request object (optional)ifMatch - Validator for conditional requests; based on ETag. (optional)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic void applicationsApplicationIdApiKeysKeyTypeRevokePost(String applicationId, String keyType, APIKeyRevokeRequestDTO body, String ifMatch) throws ApiException
applicationId - Application Identifier consisting of the UUID of the Application. (required)keyType - **Application Key Type** standing for the type of the keys (i.e. Production or Sandbox). (required)body - API Key revoke request object (optional)ifMatch - Validator for conditional requests; based on ETag. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> applicationsApplicationIdApiKeysKeyTypeRevokePostWithHttpInfo(String applicationId, String keyType, APIKeyRevokeRequestDTO body, String ifMatch) throws ApiException
applicationId - Application Identifier consisting of the UUID of the Application. (required)keyType - **Application Key Type** standing for the type of the keys (i.e. Production or Sandbox). (required)body - API Key revoke request object (optional)ifMatch - Validator for conditional requests; based on ETag. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call applicationsApplicationIdApiKeysKeyTypeRevokePostAsync(String applicationId, String keyType, APIKeyRevokeRequestDTO body, String ifMatch, ApiCallback<Void> callback) throws ApiException
applicationId - Application Identifier consisting of the UUID of the Application. (required)keyType - **Application Key Type** standing for the type of the keys (i.e. Production or Sandbox). (required)body - API Key revoke request object (optional)ifMatch - Validator for conditional requests; based on ETag. (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 objectCopyright © 2020 WSO2 Inc. All rights reserved.