Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
/*
* FINBOURNE Identity Service API
*
* Contact: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.finbourne.identity.api;
import com.finbourne.identity.ApiCallback;
import com.finbourne.identity.ApiClient;
import com.finbourne.identity.ApiException;
import com.finbourne.identity.ApiResponse;
import com.finbourne.identity.Configuration;
import com.finbourne.identity.Pair;
import com.finbourne.identity.ProgressRequestBody;
import com.finbourne.identity.ProgressResponseBody;
import com.finbourne.identity.extensions.ConfigurationOptions;
import com.google.gson.reflect.TypeToken;
import java.io.IOException;
import com.finbourne.identity.model.ApiKey;
import com.finbourne.identity.model.CreateApiKey;
import com.finbourne.identity.model.CreatedApiKey;
import com.finbourne.identity.model.LusidProblemDetails;
import com.finbourne.identity.model.LusidValidationProblemDetails;
import java.lang.reflect.Type;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
public class PersonalAuthenticationTokensApi {
private ApiClient localVarApiClient;
private int localHostIndex;
private String localCustomBaseUrl;
public PersonalAuthenticationTokensApi() {
this(Configuration.getDefaultApiClient());
}
public PersonalAuthenticationTokensApi(ApiClient apiClient) {
this.localVarApiClient = apiClient;
}
public ApiClient getApiClient() {
return localVarApiClient;
}
public void setApiClient(ApiClient apiClient) {
this.localVarApiClient = apiClient;
}
public int getHostIndex() {
return localHostIndex;
}
public void setHostIndex(int hostIndex) {
this.localHostIndex = hostIndex;
}
public String getCustomBaseUrl() {
return localCustomBaseUrl;
}
public void setCustomBaseUrl(String customBaseUrl) {
this.localCustomBaseUrl = customBaseUrl;
}
private okhttp3.Call createApiKeyCall(CreateApiKey createApiKey, final ApiCallback _callback) throws ApiException {
return createApiKeyCall(createApiKey, _callback, new ConfigurationOptions());
}
private okhttp3.Call createApiKeyCall(CreateApiKey createApiKey, final ApiCallback _callback, ConfigurationOptions opts) throws ApiException {
String basePath = null;
// Operation Servers
String[] localBasePaths = new String[] { };
// Determine Base Path to Use
if (localCustomBaseUrl != null){
basePath = localCustomBaseUrl;
} else if ( localBasePaths.length > 0 ) {
basePath = localBasePaths[localHostIndex];
} else {
basePath = null;
}
Object localVarPostBody = createApiKey;
// create path and map variables
String localVarPath = "/api/keys";
List localVarQueryParams = new ArrayList();
List localVarCollectionQueryParams = new ArrayList();
Map localVarHeaderParams = new HashMap();
Map localVarCookieParams = new HashMap();
Map localVarFormParams = new HashMap();
final String[] localVarAccepts = {
"application/json"
};
final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts);
if (localVarAccept != null) {
localVarHeaderParams.put("Accept", localVarAccept);
}
final String[] localVarContentTypes = {
"application/json-patch+json",
"application/json",
"text/json",
"application/*+json"
};
final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes);
if (localVarContentType != null) {
localVarHeaderParams.put("Content-Type", localVarContentType);
}
String[] localVarAuthNames = new String[] { "oauth2" };
return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback, opts);
}
@SuppressWarnings("rawtypes")
private okhttp3.Call createApiKeyValidateBeforeCall(CreateApiKey createApiKey, final ApiCallback _callback, ConfigurationOptions opts) throws ApiException {
// verify the required parameter 'createApiKey' is set
if (createApiKey == null) {
throw new ApiException("Missing the required parameter 'createApiKey' when calling createApiKey(Async)");
}
return createApiKeyCall(createApiKey, _callback, opts);
}
private ApiResponse createApiKeyWithHttpInfo(CreateApiKey createApiKey) throws ApiException {
okhttp3.Call localVarCall = createApiKeyValidateBeforeCall(createApiKey, null, new ConfigurationOptions());
Type localVarReturnType = new TypeToken(){}.getType();
return localVarApiClient.execute(localVarCall, localVarReturnType);
}
private ApiResponse createApiKeyWithHttpInfo(CreateApiKey createApiKey, ConfigurationOptions opts) throws ApiException {
okhttp3.Call localVarCall = createApiKeyValidateBeforeCall(createApiKey, null, opts);
Type localVarReturnType = new TypeToken(){}.getType();
return localVarApiClient.execute(localVarCall, localVarReturnType);
}
private okhttp3.Call createApiKeyAsync(CreateApiKey createApiKey, final ApiCallback _callback) throws ApiException {
okhttp3.Call localVarCall = createApiKeyValidateBeforeCall(createApiKey, _callback, new ConfigurationOptions());
Type localVarReturnType = new TypeToken(){}.getType();
localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback);
return localVarCall;
}
private okhttp3.Call createApiKeyAsync(CreateApiKey createApiKey, final ApiCallback _callback, ConfigurationOptions opts) throws ApiException {
okhttp3.Call localVarCall = createApiKeyValidateBeforeCall(createApiKey, _callback, opts);
Type localVarReturnType = new TypeToken(){}.getType();
localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback);
return localVarCall;
}
public class APIcreateApiKeyRequest {
private final CreateApiKey createApiKey;
private APIcreateApiKeyRequest(CreateApiKey createApiKey) {
this.createApiKey = createApiKey;
}
/**
* Build call for createApiKey
* @param _callback ApiCallback API callback
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
* @http.response.details
Status Code
Description
Response Headers
200
The Personal Access Token and associated meta data.
-
400
The details of the input related failure
-
0
Error response
-
*/
public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException {
return createApiKeyCall(createApiKey, _callback);
}
/**
* Execute createApiKey request
* @return CreatedApiKey
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
* @http.response.details
Status Code
Description
Response Headers
200
The Personal Access Token and associated meta data.
-
400
The details of the input related failure
-
0
Error response
-
*/
public CreatedApiKey execute() throws ApiException {
ApiResponse localVarResp = createApiKeyWithHttpInfo(createApiKey);
return localVarResp.getData();
}
/**
* Execute createApiKey request. Use any specified configuration options to override any other configuration for this request only.
* @return CreatedApiKey
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
* @http.response.details
Status Code
Description
Response Headers
200
The Personal Access Token and associated meta data.
-
400
The details of the input related failure
-
0
Error response
-
*/
public CreatedApiKey execute(ConfigurationOptions opts) throws ApiException {
ApiResponse localVarResp = createApiKeyWithHttpInfo(createApiKey, opts);
return localVarResp.getData();
}
/**
* Execute createApiKey request with HTTP info returned
* @return ApiResponse<CreatedApiKey>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
* @http.response.details
Status Code
Description
Response Headers
200
The Personal Access Token and associated meta data.
-
400
The details of the input related failure
-
0
Error response
-
*/
public ApiResponse executeWithHttpInfo() throws ApiException {
return createApiKeyWithHttpInfo(createApiKey);
}
/**
* Execute createApiKey request with HTTP info returned. Use any specified configuration options to override any other configuration for this request only.
* @return ApiResponse<CreatedApiKey>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
* @http.response.details
Status Code
Description
Response Headers
200
The Personal Access Token and associated meta data.
-
400
The details of the input related failure
-
0
Error response
-
*/
public ApiResponse executeWithHttpInfo(ConfigurationOptions opts) throws ApiException {
return createApiKeyWithHttpInfo(createApiKey, opts);
}
/**
* Execute createApiKey request (asynchronously)
* @param _callback The callback to be executed when the API call finishes
* @return The request call
* @throws ApiException If fail to process the API call, e.g. serializing the request body object
* @http.response.details
Status Code
Description
Response Headers
200
The Personal Access Token and associated meta data.
-
400
The details of the input related failure
-
0
Error response
-
*/
public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException {
return createApiKeyAsync(createApiKey, _callback);
}
/**
* Execute createApiKey request (asynchronously). Use any specified configuration options to override any other configuration for this request only.
* @param _callback The callback to be executed when the API call finishes
* @return The request call
* @throws ApiException If fail to process the API call, e.g. serializing the request body object
* @http.response.details
Status Code
Description
Response Headers
200
The Personal Access Token and associated meta data.
-
400
The details of the input related failure
-
0
Error response
-
*/
public okhttp3.Call executeAsync(final ApiCallback _callback, ConfigurationOptions opts) throws ApiException {
return createApiKeyAsync(createApiKey, _callback, opts);
}
}
/**
* CreateApiKey: Create a Personal Access Token
* Generates a Personal Access Token and returns the new key and its associated metadata.
* @param createApiKey The request to create a new Personal Access Token (required)
* @return APIcreateApiKeyRequest
* @http.response.details
Status Code
Description
Response Headers
200
The Personal Access Token and associated meta data.
-
400
The details of the input related failure
-
0
Error response
-
*/
public APIcreateApiKeyRequest createApiKey(CreateApiKey createApiKey) {
return new APIcreateApiKeyRequest(createApiKey);
}
private okhttp3.Call deleteApiKeyCall(String id, final ApiCallback _callback) throws ApiException {
return deleteApiKeyCall(id, _callback, new ConfigurationOptions());
}
private okhttp3.Call deleteApiKeyCall(String id, final ApiCallback _callback, ConfigurationOptions opts) throws ApiException {
String basePath = null;
// Operation Servers
String[] localBasePaths = new String[] { };
// Determine Base Path to Use
if (localCustomBaseUrl != null){
basePath = localCustomBaseUrl;
} else if ( localBasePaths.length > 0 ) {
basePath = localBasePaths[localHostIndex];
} else {
basePath = null;
}
Object localVarPostBody = null;
// create path and map variables
String localVarPath = "/api/keys/{id}"
.replace("{" + "id" + "}", localVarApiClient.escapeString(id.toString()));
List localVarQueryParams = new ArrayList();
List localVarCollectionQueryParams = new ArrayList();
Map localVarHeaderParams = new HashMap();
Map localVarCookieParams = new HashMap();
Map localVarFormParams = new HashMap();
final String[] localVarAccepts = {
"application/json"
};
final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts);
if (localVarAccept != null) {
localVarHeaderParams.put("Accept", localVarAccept);
}
final String[] localVarContentTypes = {
};
final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes);
if (localVarContentType != null) {
localVarHeaderParams.put("Content-Type", localVarContentType);
}
String[] localVarAuthNames = new String[] { "oauth2" };
return localVarApiClient.buildCall(basePath, localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback, opts);
}
@SuppressWarnings("rawtypes")
private okhttp3.Call deleteApiKeyValidateBeforeCall(String id, final ApiCallback _callback, ConfigurationOptions opts) throws ApiException {
// verify the required parameter 'id' is set
if (id == null) {
throw new ApiException("Missing the required parameter 'id' when calling deleteApiKey(Async)");
}
return deleteApiKeyCall(id, _callback, opts);
}
private ApiResponse deleteApiKeyWithHttpInfo(String id) throws ApiException {
okhttp3.Call localVarCall = deleteApiKeyValidateBeforeCall(id, null, new ConfigurationOptions());
Type localVarReturnType = new TypeToken(){}.getType();
return localVarApiClient.execute(localVarCall, localVarReturnType);
}
private ApiResponse deleteApiKeyWithHttpInfo(String id, ConfigurationOptions opts) throws ApiException {
okhttp3.Call localVarCall = deleteApiKeyValidateBeforeCall(id, null, opts);
Type localVarReturnType = new TypeToken(){}.getType();
return localVarApiClient.execute(localVarCall, localVarReturnType);
}
private okhttp3.Call deleteApiKeyAsync(String id, final ApiCallback _callback) throws ApiException {
okhttp3.Call localVarCall = deleteApiKeyValidateBeforeCall(id, _callback, new ConfigurationOptions());
Type localVarReturnType = new TypeToken(){}.getType();
localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback);
return localVarCall;
}
private okhttp3.Call deleteApiKeyAsync(String id, final ApiCallback _callback, ConfigurationOptions opts) throws ApiException {
okhttp3.Call localVarCall = deleteApiKeyValidateBeforeCall(id, _callback, opts);
Type localVarReturnType = new TypeToken(){}.getType();
localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback);
return localVarCall;
}
public class APIdeleteApiKeyRequest {
private final String id;
private APIdeleteApiKeyRequest(String id) {
this.id = id;
}
/**
* Build call for deleteApiKey
* @param _callback ApiCallback API callback
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
* @http.response.details
Status Code
Description
Response Headers
200
Invalidates a Personal Access Token
-
400
The details of the input related failure
-
0
Error response
-
*/
public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException {
return deleteApiKeyCall(id, _callback);
}
/**
* Execute deleteApiKey request
* @return ApiKey
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
* @http.response.details
Status Code
Description
Response Headers
200
Invalidates a Personal Access Token
-
400
The details of the input related failure
-
0
Error response
-
*/
public ApiKey execute() throws ApiException {
ApiResponse localVarResp = deleteApiKeyWithHttpInfo(id);
return localVarResp.getData();
}
/**
* Execute deleteApiKey request. Use any specified configuration options to override any other configuration for this request only.
* @return ApiKey
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
* @http.response.details
Status Code
Description
Response Headers
200
Invalidates a Personal Access Token
-
400
The details of the input related failure
-
0
Error response
-
*/
public ApiKey execute(ConfigurationOptions opts) throws ApiException {
ApiResponse localVarResp = deleteApiKeyWithHttpInfo(id, opts);
return localVarResp.getData();
}
/**
* Execute deleteApiKey request with HTTP info returned
* @return ApiResponse<ApiKey>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
* @http.response.details
Status Code
Description
Response Headers
200
Invalidates a Personal Access Token
-
400
The details of the input related failure
-
0
Error response
-
*/
public ApiResponse executeWithHttpInfo() throws ApiException {
return deleteApiKeyWithHttpInfo(id);
}
/**
* Execute deleteApiKey request with HTTP info returned. Use any specified configuration options to override any other configuration for this request only.
* @return ApiResponse<ApiKey>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
* @http.response.details
Status Code
Description
Response Headers
200
Invalidates a Personal Access Token
-
400
The details of the input related failure
-
0
Error response
-
*/
public ApiResponse executeWithHttpInfo(ConfigurationOptions opts) throws ApiException {
return deleteApiKeyWithHttpInfo(id, opts);
}
/**
* Execute deleteApiKey request (asynchronously)
* @param _callback The callback to be executed when the API call finishes
* @return The request call
* @throws ApiException If fail to process the API call, e.g. serializing the request body object
* @http.response.details
Status Code
Description
Response Headers
200
Invalidates a Personal Access Token
-
400
The details of the input related failure
-
0
Error response
-
*/
public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException {
return deleteApiKeyAsync(id, _callback);
}
/**
* Execute deleteApiKey request (asynchronously). Use any specified configuration options to override any other configuration for this request only.
* @param _callback The callback to be executed when the API call finishes
* @return The request call
* @throws ApiException If fail to process the API call, e.g. serializing the request body object
* @http.response.details
Status Code
Description
Response Headers
200
Invalidates a Personal Access Token
-
400
The details of the input related failure
-
0
Error response
-
*/
public okhttp3.Call executeAsync(final ApiCallback _callback, ConfigurationOptions opts) throws ApiException {
return deleteApiKeyAsync(id, _callback, opts);
}
}
/**
* DeleteApiKey: Invalidate a Personal Access Token
* Immediately invalidates the specified Personal Access Token
* @param id The id of the Personal Access Token to delete (required)
* @return APIdeleteApiKeyRequest
* @http.response.details
Status Code
Description
Response Headers
200
Invalidates a Personal Access Token
-
400
The details of the input related failure
-
0
Error response
-
*/
public APIdeleteApiKeyRequest deleteApiKey(String id) {
return new APIdeleteApiKeyRequest(id);
}
private okhttp3.Call listOwnApiKeysCall(final ApiCallback _callback) throws ApiException {
return listOwnApiKeysCall( _callback, new ConfigurationOptions());
}
private okhttp3.Call listOwnApiKeysCall(final ApiCallback _callback, ConfigurationOptions opts) throws ApiException {
String basePath = null;
// Operation Servers
String[] localBasePaths = new String[] { };
// Determine Base Path to Use
if (localCustomBaseUrl != null){
basePath = localCustomBaseUrl;
} else if ( localBasePaths.length > 0 ) {
basePath = localBasePaths[localHostIndex];
} else {
basePath = null;
}
Object localVarPostBody = null;
// create path and map variables
String localVarPath = "/api/keys";
List localVarQueryParams = new ArrayList();
List localVarCollectionQueryParams = new ArrayList();
Map localVarHeaderParams = new HashMap();
Map localVarCookieParams = new HashMap();
Map localVarFormParams = new HashMap();
final String[] localVarAccepts = {
"application/json"
};
final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts);
if (localVarAccept != null) {
localVarHeaderParams.put("Accept", localVarAccept);
}
final String[] localVarContentTypes = {
};
final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes);
if (localVarContentType != null) {
localVarHeaderParams.put("Content-Type", localVarContentType);
}
String[] localVarAuthNames = new String[] { "oauth2" };
return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback, opts);
}
@SuppressWarnings("rawtypes")
private okhttp3.Call listOwnApiKeysValidateBeforeCall(final ApiCallback _callback, ConfigurationOptions opts) throws ApiException {
return listOwnApiKeysCall(_callback, opts);
}
private ApiResponse> listOwnApiKeysWithHttpInfo() throws ApiException {
okhttp3.Call localVarCall = listOwnApiKeysValidateBeforeCall(null, new ConfigurationOptions());
Type localVarReturnType = new TypeToken>(){}.getType();
return localVarApiClient.execute(localVarCall, localVarReturnType);
}
private ApiResponse> listOwnApiKeysWithHttpInfo(ConfigurationOptions opts) throws ApiException {
okhttp3.Call localVarCall = listOwnApiKeysValidateBeforeCall(null, opts);
Type localVarReturnType = new TypeToken>(){}.getType();
return localVarApiClient.execute(localVarCall, localVarReturnType);
}
private okhttp3.Call listOwnApiKeysAsync(final ApiCallback> _callback) throws ApiException {
okhttp3.Call localVarCall = listOwnApiKeysValidateBeforeCall(_callback, new ConfigurationOptions());
Type localVarReturnType = new TypeToken>(){}.getType();
localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback);
return localVarCall;
}
private okhttp3.Call listOwnApiKeysAsync(final ApiCallback> _callback, ConfigurationOptions opts) throws ApiException {
okhttp3.Call localVarCall = listOwnApiKeysValidateBeforeCall(_callback, opts);
Type localVarReturnType = new TypeToken>(){}.getType();
localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback);
return localVarCall;
}
public class APIlistOwnApiKeysRequest {
private APIlistOwnApiKeysRequest() {
}
/**
* Build call for listOwnApiKeys
* @param _callback ApiCallback API callback
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
* @http.response.details
Status Code
Description
Response Headers
200
List of user's existing Personal Access Tokens
-
0
Error response
-
*/
public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException {
return listOwnApiKeysCall(_callback);
}
/**
* Execute listOwnApiKeys request
* @return List<ApiKey>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
* @http.response.details
Status Code
Description
Response Headers
200
List of user's existing Personal Access Tokens
-
0
Error response
-
*/
public List execute() throws ApiException {
ApiResponse> localVarResp = listOwnApiKeysWithHttpInfo();
return localVarResp.getData();
}
/**
* Execute listOwnApiKeys request. Use any specified configuration options to override any other configuration for this request only.
* @return List<ApiKey>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
* @http.response.details
Status Code
Description
Response Headers
200
List of user's existing Personal Access Tokens
-
0
Error response
-
*/
public List execute(ConfigurationOptions opts) throws ApiException {
ApiResponse> localVarResp = listOwnApiKeysWithHttpInfo(opts);
return localVarResp.getData();
}
/**
* Execute listOwnApiKeys request with HTTP info returned
* @return ApiResponse<List<ApiKey>>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
* @http.response.details
Status Code
Description
Response Headers
200
List of user's existing Personal Access Tokens
-
0
Error response
-
*/
public ApiResponse> executeWithHttpInfo() throws ApiException {
return listOwnApiKeysWithHttpInfo();
}
/**
* Execute listOwnApiKeys request with HTTP info returned. Use any specified configuration options to override any other configuration for this request only.
* @return ApiResponse<List<ApiKey>>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
* @http.response.details
Status Code
Description
Response Headers
200
List of user's existing Personal Access Tokens
-
0
Error response
-
*/
public ApiResponse> executeWithHttpInfo(ConfigurationOptions opts) throws ApiException {
return listOwnApiKeysWithHttpInfo(opts);
}
/**
* Execute listOwnApiKeys request (asynchronously)
* @param _callback The callback to be executed when the API call finishes
* @return The request call
* @throws ApiException If fail to process the API call, e.g. serializing the request body object
* @http.response.details
Status Code
Description
Response Headers
200
List of user's existing Personal Access Tokens
-
0
Error response
-
*/
public okhttp3.Call executeAsync(final ApiCallback> _callback) throws ApiException {
return listOwnApiKeysAsync(_callback);
}
/**
* Execute listOwnApiKeys request (asynchronously). Use any specified configuration options to override any other configuration for this request only.
* @param _callback The callback to be executed when the API call finishes
* @return The request call
* @throws ApiException If fail to process the API call, e.g. serializing the request body object
* @http.response.details
Status Code
Description
Response Headers
200
List of user's existing Personal Access Tokens
-
0
Error response
-
*/
public okhttp3.Call executeAsync(final ApiCallback> _callback, ConfigurationOptions opts) throws ApiException {
return listOwnApiKeysAsync(_callback, opts);
}
}
/**
* ListOwnApiKeys: Gets the meta data for all of the user's existing Personal Access Tokens.
* Gets the meta data for all of the user's Personal Access Tokens that have not been deleted. They may be invalid due to the deactivation date having passed.
* @return APIlistOwnApiKeysRequest
* @http.response.details
Status Code
Description
Response Headers
200
List of user's existing Personal Access Tokens
-
0
Error response
-
*/
public APIlistOwnApiKeysRequest listOwnApiKeys() {
return new APIlistOwnApiKeysRequest();
}
}