Class HttpBasicAuth

java.lang.Object
com.datadog.api.client.auth.HttpBasicAuth
All Implemented Interfaces:
Authentication

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class HttpBasicAuth extends Object implements Authentication
  • Constructor Details

    • HttpBasicAuth

      public HttpBasicAuth()
  • Method Details

    • getUsername

      public String getUsername()
    • setUsername

      public void setUsername(String username)
    • getPassword

      public String getPassword()
    • setPassword

      public void setPassword(String password)
    • applyToParams

      public void applyToParams(List<Pair> queryParams, Map<String,String> headerParams, Map<String,String> cookieParams, String payload, String method, URI uri) throws ApiException
      Description copied from interface: Authentication
      Apply authentication settings to header and query params.
      Specified by:
      applyToParams in interface Authentication
      Parameters:
      queryParams - List of query parameters
      headerParams - Map of header parameters
      cookieParams - Map of cookie parameters
      payload - Raw payload
      method - HTTP method to authenticate
      uri - URI to authenticate
      Throws:
      ApiException - If the settings can't be applied