Interface RestClientAuthenticator
- All Superinterfaces:
okhttp3.Authenticator
,okhttp3.Interceptor
public interface RestClientAuthenticator
extends okhttp3.Authenticator, okhttp3.Interceptor
-
Nested Class Summary
Nested classes/interfaces inherited from interface okhttp3.Authenticator
okhttp3.Authenticator.Companion
Nested classes/interfaces inherited from interface okhttp3.Interceptor
okhttp3.Interceptor.Chain, okhttp3.Interceptor.Companion
-
Field Summary
Fields inherited from interface okhttp3.Authenticator
Companion, JAVA_NET_AUTHENTICATOR, NONE
Fields inherited from interface okhttp3.Interceptor
Companion
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onLogout()
Logs out the client.void
onUsernameAndPassword
(String username, String password) When passing credentials.Methods inherited from interface okhttp3.Authenticator
authenticate
Methods inherited from interface okhttp3.Interceptor
intercept
-
Method Details
-
onUsernameAndPassword
When passing credentials.- Parameters:
username
-password
-
-
onLogout
void onLogout()Logs out the client.
-