Class AutoDetectAuthenticator

java.lang.Object
org.infinispan.client.rest.impl.okhttp.auth.AbstractAuthenticator
org.infinispan.client.rest.impl.okhttp.auth.AutoDetectAuthenticator
All Implemented Interfaces:
okhttp3.Authenticator, CachingAuthenticator

public class AutoDetectAuthenticator extends AbstractAuthenticator implements CachingAuthenticator
Since:
10.0
Author:
Tristan Tarrant <tristan@infinispan.org>
  • Constructor Details

  • Method Details

    • authenticate

      public okhttp3.Request authenticate(okhttp3.Route route, okhttp3.Response response) throws IOException
      Specified by:
      authenticate in interface okhttp3.Authenticator
      Throws:
      IOException
    • authenticateWithState

      public okhttp3.Request authenticateWithState(okhttp3.Route route, okhttp3.Request request) throws IOException
      Specified by:
      authenticateWithState in interface CachingAuthenticator
      Throws:
      IOException