Class BaseAuthenticator

java.lang.Object
net.dreamlu.mica.http.BaseAuthenticator
All Implemented Interfaces:
okhttp3.Authenticator

public class BaseAuthenticator extends Object implements okhttp3.Authenticator
BaseAuth
Author:
L.cm
  • Nested Class Summary

    Nested classes/interfaces inherited from interface okhttp3.Authenticator

    okhttp3.Authenticator.Companion
  • Field Summary

    Fields inherited from interface okhttp3.Authenticator

    Companion, JAVA_NET_AUTHENTICATOR, NONE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    okhttp3.Request
    authenticate(@Nullable okhttp3.Route route, okhttp3.Response response)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • BaseAuthenticator

      public BaseAuthenticator()
  • Method Details

    • authenticate

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