Package xyz.felh.okx.v5.interceptor
Class AuthenticationInterceptor
java.lang.Object
xyz.felh.okx.v5.interceptor.AuthenticationInterceptor
- All Implemented Interfaces:
okhttp3.Interceptor
OkHttp Interceptor that adds an authorization header
-
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
ConstructorsConstructorDescriptionAuthenticationInterceptor(String apiKey, String secretKey, String passphrase) AuthenticationInterceptor(String apiKey, String secretKey, String passphrase, boolean simulated) -
Method Summary
-
Constructor Details
-
AuthenticationInterceptor
-
AuthenticationInterceptor
-
-
Method Details
-
intercept
@NotNull public okhttp3.Response intercept(@NotNull okhttp3.Interceptor.Chain chain) throws IOException - Specified by:
interceptin interfaceokhttp3.Interceptor- Throws:
IOException
-