Package com.epam.reportportal.service
Class BearerAuthInterceptor
- java.lang.Object
-
- com.epam.reportportal.service.BearerAuthInterceptor
-
- All Implemented Interfaces:
okhttp3.Interceptor
public class BearerAuthInterceptor extends java.lang.Object implements okhttp3.InterceptorAdds Bearer TOKEN to the request headers
-
-
Constructor Summary
Constructors Constructor Description BearerAuthInterceptor(java.lang.String apiKey)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description okhttp3.Responseintercept(okhttp3.Interceptor.Chain chain)
-