io.swagger.client.auth

## Class HttpBasicAuth

- java.lang.Object
- - io.swagger.client.auth.HttpBasicAuth

- All Implemented Interfaces:
    Authentication

      public class HttpBasicAuth
      extends Object
      implements Authentication

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `HttpBasicAuth()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `applyToParams(List<Pair> queryParams, Map<String,String> headerParams)` Apply authentication settings to header and query params.
    `String` | `getPassword()`
    `String` | `getUsername()`
    `void` | `setPassword(String password)`
    `void` | `setUsername(String username)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### HttpBasicAuth

          public HttpBasicAuth()

  - ### Method Detail

    - #### 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)

      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

Copyright © 2018. All rights reserved.