Spring Cloud Feign

https://blog.csdn.net/kangkanglou/article/details/76407623

https://blog.csdn.net/neosmith/article/details/52449921

==========

 https://blog.csdn.net/yudar1024/article/details/76070214 :  

OAuth2FeignRequestInterceptor

 
 http://ju.outofmemory.cn/entry/326119
@Configuration
public class MyFeignInterceptor implements RequestInterceptor {
@Override
public void apply(RequestTemplate requestTemplate) {
requestTemplate.header("Auth","My Name's request header Auth"); }
}
 
 https://blog.csdn.net/doctor_who2004/article/details/75212906 
 
RequestInterceptor and OAuth2
 

<dependency>  

            <groupId>com.netflix.feign</groupId>  

            <artifactId>feign-okhttp</artifactId>  

            <version>8.18.0</version>  

  </dependency> 

 

https://github.com/sdcuike/spring-boot-oauth2-demo

 

 

https://segmentfault.com/a/1190000009821815

https://www.baidu.com/s?wd=requestinterceptor%20feignclient&pn=10&oq=requestinterceptor%20feignclient&tn=94296483_hao_pg&ie=utf-8&rsv_pq=87ed8f0900015376&rsv_t=50e2o3lWGiIkMl%2BTGiaNQvb1NuShIqjvS4FNUGbWv%2Fqhn4XUhAG8YVKIjT0Yg9%2BmYmAWlp%2Fp&rsv_page=1

posted @ 2018-03-27 23:42  Happy2Share  阅读(188)  评论(0编辑  收藏  举报