Class OAuth2FeignRequestInterceptor
java.lang.Object
org.activiti.cloud.acc.shared.rest.feign.OAuth2FeignRequestInterceptor
- All Implemented Interfaces:
feign.RequestInterceptor
Feign RequestInterceptor to add Bearer token in all headers
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
BEARER
- See Also:
-
AUTHORIZATION
- See Also:
-
-
Constructor Details
-
OAuth2FeignRequestInterceptor
public OAuth2FeignRequestInterceptor()
-
-
Method Details
-
apply
public void apply(feign.RequestTemplate template) - Specified by:
applyin interfacefeign.RequestInterceptor
-