public class ApplicationTokensApi extends Object
| Constructor and Description |
|---|
ApplicationTokensApi() |
ApplicationTokensApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
ApplicationTokenDTO |
applicationsApplicationIdKeysKeyTypeGenerateTokenPost(String applicationId,
String keyType,
ApplicationTokenGenerateRequestDTO body,
String ifMatch)
Generate application token
Generate an access token for application by client_credentials grant type
|
com.squareup.okhttp.Call |
applicationsApplicationIdKeysKeyTypeGenerateTokenPostAsync(String applicationId,
String keyType,
ApplicationTokenGenerateRequestDTO body,
String ifMatch,
ApiCallback<ApplicationTokenDTO> callback)
Generate application token (asynchronously)
Generate an access token for application by client_credentials grant type
|
com.squareup.okhttp.Call |
applicationsApplicationIdKeysKeyTypeGenerateTokenPostCall(String applicationId,
String keyType,
ApplicationTokenGenerateRequestDTO body,
String ifMatch,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for applicationsApplicationIdKeysKeyTypeGenerateTokenPost
|
ApiResponse<ApplicationTokenDTO> |
applicationsApplicationIdKeysKeyTypeGenerateTokenPostWithHttpInfo(String applicationId,
String keyType,
ApplicationTokenGenerateRequestDTO body,
String ifMatch)
Generate application token
Generate an access token for application by client_credentials grant type
|
ApiClient |
getApiClient() |
void |
setApiClient(ApiClient apiClient) |
public ApplicationTokensApi()
public ApplicationTokensApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call applicationsApplicationIdKeysKeyTypeGenerateTokenPostCall(String applicationId, String keyType, ApplicationTokenGenerateRequestDTO 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 - Application token generation request object (required)ifMatch - Validator for conditional requests; based on ETag. (optional)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic ApplicationTokenDTO applicationsApplicationIdKeysKeyTypeGenerateTokenPost(String applicationId, String keyType, ApplicationTokenGenerateRequestDTO 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 - Application token generation request object (required)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<ApplicationTokenDTO> applicationsApplicationIdKeysKeyTypeGenerateTokenPostWithHttpInfo(String applicationId, String keyType, ApplicationTokenGenerateRequestDTO 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 - Application token generation request object (required)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 applicationsApplicationIdKeysKeyTypeGenerateTokenPostAsync(String applicationId, String keyType, ApplicationTokenGenerateRequestDTO body, String ifMatch, ApiCallback<ApplicationTokenDTO> 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 - Application token generation request object (required)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.