Class OAuth2FeignRequestInterceptor
- java.lang.Object
-
- org.activiti.cloud.acc.shared.rest.feign.OAuth2FeignRequestInterceptor
-
- All Implemented Interfaces:
feign.RequestInterceptor
public class OAuth2FeignRequestInterceptor extends java.lang.Object implements feign.RequestInterceptorFeign RequestInterceptor to add Bearer token in all headers
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringAUTHORIZATIONstatic java.lang.StringBEARER
-
Constructor Summary
Constructors Constructor Description OAuth2FeignRequestInterceptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidapply(feign.RequestTemplate template)
-
-
-
Field Detail
-
BEARER
public static final java.lang.String BEARER
- See Also:
- Constant Field Values
-
AUTHORIZATION
public static final java.lang.String AUTHORIZATION
- See Also:
- Constant Field Values
-
-