3、实现签名校验上述只是简单实用Feign,接下来以实现签名校验为例展示Feign的扩展机制。签名验证是最常见的安全机制,首先在客户端定义一个签名拦截器,用于生成签名信息,示范代码如下图所示:publicclassAuthRequestInterceptorimplementsfeign.RequestInterceptor{privateTokenServicetokenService;publicAuthRequestInterceptor(TokenServicetokenService){this.tokenServicetokenService;}Overridepublicvoidapply(Request...