Class ApplicationTokensApi


  • public class ApplicationTokensApi
    extends Object
    • Constructor Detail

      • ApplicationTokensApi

        public ApplicationTokensApi()
      • ApplicationTokensApi

        public ApplicationTokensApi​(ApiClient apiClient)
    • Method Detail

      • getApiClient

        public ApiClient getApiClient()
      • setApiClient

        public void setApiClient​(ApiClient apiClient)
      • applicationsApplicationIdKeysKeyTypeGenerateTokenPostCall

        @Deprecated
        public okhttp3.Call applicationsApplicationIdKeysKeyTypeGenerateTokenPostCall​(String applicationId,
                                                                                      String keyType,
                                                                                      ApplicationTokenGenerateRequestDTO applicationTokenGenerateRequestDTO,
                                                                                      String ifMatch,
                                                                                      ApiCallback _callback)
                                                                               throws ApiException
        Deprecated.
        Build call for applicationsApplicationIdKeysKeyTypeGenerateTokenPost
        Parameters:
        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)
        applicationTokenGenerateRequestDTO - Application token generation request object (required)
        ifMatch - Validator for conditional requests; based on ETag. (optional)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • applicationsApplicationIdKeysKeyTypeGenerateTokenPost

        @Deprecated
        public ApplicationTokenDTO applicationsApplicationIdKeysKeyTypeGenerateTokenPost​(String applicationId,
                                                                                         String keyType,
                                                                                         ApplicationTokenGenerateRequestDTO applicationTokenGenerateRequestDTO,
                                                                                         String ifMatch)
                                                                                  throws ApiException
        Deprecated.
        Generate Application Token Generate an access token for application by client_credentials grant type
        Parameters:
        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)
        applicationTokenGenerateRequestDTO - Application token generation request object (required)
        ifMatch - Validator for conditional requests; based on ETag. (optional)
        Returns:
        ApplicationTokenDTO
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • applicationsApplicationIdKeysKeyTypeGenerateTokenPostWithHttpInfo

        @Deprecated
        public ApiResponse<ApplicationTokenDTO> applicationsApplicationIdKeysKeyTypeGenerateTokenPostWithHttpInfo​(String applicationId,
                                                                                                                  String keyType,
                                                                                                                  ApplicationTokenGenerateRequestDTO applicationTokenGenerateRequestDTO,
                                                                                                                  String ifMatch)
                                                                                                           throws ApiException
        Deprecated.
        Generate Application Token Generate an access token for application by client_credentials grant type
        Parameters:
        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)
        applicationTokenGenerateRequestDTO - Application token generation request object (required)
        ifMatch - Validator for conditional requests; based on ETag. (optional)
        Returns:
        ApiResponse<ApplicationTokenDTO>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • applicationsApplicationIdKeysKeyTypeGenerateTokenPostAsync

        @Deprecated
        public okhttp3.Call applicationsApplicationIdKeysKeyTypeGenerateTokenPostAsync​(String applicationId,
                                                                                       String keyType,
                                                                                       ApplicationTokenGenerateRequestDTO applicationTokenGenerateRequestDTO,
                                                                                       String ifMatch,
                                                                                       ApiCallback<ApplicationTokenDTO> _callback)
                                                                                throws ApiException
        Deprecated.
        Generate Application Token (asynchronously) Generate an access token for application by client_credentials grant type
        Parameters:
        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)
        applicationTokenGenerateRequestDTO - 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 finishes
        Returns:
        The request call
        Throws:
        ApiException - If fail to process the API call, e.g. serializing the request body object
      • applicationsApplicationIdOauthKeysKeyMappingIdGenerateTokenPostCall

        public okhttp3.Call applicationsApplicationIdOauthKeysKeyMappingIdGenerateTokenPostCall​(String applicationId,
                                                                                                String keyMappingId,
                                                                                                ApplicationTokenGenerateRequestDTO applicationTokenGenerateRequestDTO,
                                                                                                String ifMatch,
                                                                                                ApiCallback _callback)
                                                                                         throws ApiException
        Build call for applicationsApplicationIdOauthKeysKeyMappingIdGenerateTokenPost
        Parameters:
        applicationId - Application Identifier consisting of the UUID of the Application. (required)
        keyMappingId - OAuth Key Identifier consisting of the UUID of the Oauth Key Mapping. (required)
        applicationTokenGenerateRequestDTO - Application token generation request object (required)
        ifMatch - Validator for conditional requests; based on ETag. (optional)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • applicationsApplicationIdOauthKeysKeyMappingIdGenerateTokenPost

        public ApplicationTokenDTO applicationsApplicationIdOauthKeysKeyMappingIdGenerateTokenPost​(String applicationId,
                                                                                                   String keyMappingId,
                                                                                                   ApplicationTokenGenerateRequestDTO applicationTokenGenerateRequestDTO,
                                                                                                   String ifMatch)
                                                                                            throws ApiException
        Generate Application Token Generate an access token for application by client_credentials grant type
        Parameters:
        applicationId - Application Identifier consisting of the UUID of the Application. (required)
        keyMappingId - OAuth Key Identifier consisting of the UUID of the Oauth Key Mapping. (required)
        applicationTokenGenerateRequestDTO - Application token generation request object (required)
        ifMatch - Validator for conditional requests; based on ETag. (optional)
        Returns:
        ApplicationTokenDTO
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • applicationsApplicationIdOauthKeysKeyMappingIdGenerateTokenPostWithHttpInfo

        public ApiResponse<ApplicationTokenDTO> applicationsApplicationIdOauthKeysKeyMappingIdGenerateTokenPostWithHttpInfo​(String applicationId,
                                                                                                                            String keyMappingId,
                                                                                                                            ApplicationTokenGenerateRequestDTO applicationTokenGenerateRequestDTO,
                                                                                                                            String ifMatch)
                                                                                                                     throws ApiException
        Generate Application Token Generate an access token for application by client_credentials grant type
        Parameters:
        applicationId - Application Identifier consisting of the UUID of the Application. (required)
        keyMappingId - OAuth Key Identifier consisting of the UUID of the Oauth Key Mapping. (required)
        applicationTokenGenerateRequestDTO - Application token generation request object (required)
        ifMatch - Validator for conditional requests; based on ETag. (optional)
        Returns:
        ApiResponse<ApplicationTokenDTO>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • applicationsApplicationIdOauthKeysKeyMappingIdGenerateTokenPostAsync

        public okhttp3.Call applicationsApplicationIdOauthKeysKeyMappingIdGenerateTokenPostAsync​(String applicationId,
                                                                                                 String keyMappingId,
                                                                                                 ApplicationTokenGenerateRequestDTO applicationTokenGenerateRequestDTO,
                                                                                                 String ifMatch,
                                                                                                 ApiCallback<ApplicationTokenDTO> _callback)
                                                                                          throws ApiException
        Generate Application Token (asynchronously) Generate an access token for application by client_credentials grant type
        Parameters:
        applicationId - Application Identifier consisting of the UUID of the Application. (required)
        keyMappingId - OAuth Key Identifier consisting of the UUID of the Oauth Key Mapping. (required)
        applicationTokenGenerateRequestDTO - 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 finishes
        Returns:
        The request call
        Throws:
        ApiException - If fail to process the API call, e.g. serializing the request body object