Class HttpBasicAuth

java.lang.Object
org.apache.fineract.client.auth.HttpBasicAuth
All Implemented Interfaces:
okhttp3.Interceptor

public class HttpBasicAuth extends Object implements okhttp3.Interceptor
  • Constructor Details

    • HttpBasicAuth

      public HttpBasicAuth()
  • Method Details

    • getUsername

      public String getUsername()
    • setUsername

      public void setUsername(String username)
    • getPassword

      public String getPassword()
    • setPassword

      public void setPassword(String password)
    • setCredentials

      public void setCredentials(String username, String password)
    • intercept

      public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOException
      Specified by:
      intercept in interface okhttp3.Interceptor
      Throws:
      IOException