Class CustomProxyAuthenticator

java.lang.Object
com.whatsapp.api.utils.proxy.CustomProxyAuthenticator
All Implemented Interfaces:
okhttp3.Authenticator

public class CustomProxyAuthenticator extends Object implements okhttp3.Authenticator
  • 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
    CustomProxyAuthenticator(String username, String password)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    okhttp3.Request
    authenticate(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

    • CustomProxyAuthenticator

      public CustomProxyAuthenticator(String username, String password)
  • Method Details

    • authenticate

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