Package org.apache.fineract.client.auth
Class HttpBasicAuth
java.lang.Object
org.apache.fineract.client.auth.HttpBasicAuth
- All Implemented Interfaces:
okhttp3.Interceptor
-
Nested Class Summary
Nested classes/interfaces inherited from interface okhttp3.Interceptor
okhttp3.Interceptor.Chain, okhttp3.Interceptor.Companion -
Field Summary
Fields inherited from interface okhttp3.Interceptor
Companion -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionokhttp3.Responseintercept(okhttp3.Interceptor.Chain chain) voidsetCredentials(String username, String password) voidsetPassword(String password) voidsetUsername(String username)
-
Constructor Details
-
HttpBasicAuth
public HttpBasicAuth()
-
-
Method Details
-
getUsername
-
setUsername
-
getPassword
-
setPassword
-
setCredentials
-
intercept
- Specified by:
interceptin interfaceokhttp3.Interceptor- Throws:
IOException
-