Class OAuth2ClientApi

java.lang.Object
com.jumio.sdk.oauth2.api.OAuth2ClientApi

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-05-09T15:46:41.632885300+02:00[Europe/Vienna]") public class OAuth2ClientApi extends Object
  • Constructor Details

    • OAuth2ClientApi

      public OAuth2ClientApi()
    • OAuth2ClientApi

      public OAuth2ClientApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • authenticate

      public OAuth2Response authenticate(String grantType) throws org.springframework.web.client.RestClientException
      Retrieves an OAuth2 token

      200 - OK

      401 - Unauthorized

      Parameters:
      grantType - (optional)
      Returns:
      OAuth2Response
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • authenticateWithHttpInfo

      public org.springframework.http.ResponseEntity<OAuth2Response> authenticateWithHttpInfo(String grantType) throws org.springframework.web.client.RestClientException
      Retrieves an OAuth2 token

      200 - OK

      401 - Unauthorized

      Parameters:
      grantType - (optional)
      Returns:
      ResponseEntity<OAuth2Response>
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API