org.apache.hc.client5.http.auth

## Interface AuthCache

- All Known Implementing Classes:
    BasicAuthCache

      public interface AuthCache

  This interface represents an cache of `AuthScheme` state information that can be re-used for preemptive authentication by subsequent requests.
  Since:
    4.1

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `clear()`
    `AuthScheme` | `get(org.apache.hc.core5.http.HttpHost host)`
    `void` | `put(org.apache.hc.core5.http.HttpHost host, AuthScheme authScheme)`
    `void` | `remove(org.apache.hc.core5.http.HttpHost host)`

- - ### Method Detail

    - #### put

          void put(org.apache.hc.core5.http.HttpHost host,
                 AuthScheme authScheme)

    - #### get

          AuthScheme get(org.apache.hc.core5.http.HttpHost host)

    - #### remove

          void remove(org.apache.hc.core5.http.HttpHost host)

    - #### clear

          void clear()

Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.