优化Feign拦截器,增加access_token、username、roles、client等重要参数传递
This commit is contained in:
+7
@@ -12,6 +12,13 @@ public interface CommonConstant {
|
||||
*/
|
||||
String TOKEN_HEADER = "Authorization";
|
||||
|
||||
/**
|
||||
* The access token issued by the authorization server. This value is REQUIRED.
|
||||
*/
|
||||
String ACCESS_TOKEN = "access_token";
|
||||
|
||||
String BEARER_TYPE = "Bearer";
|
||||
|
||||
/**
|
||||
* 标签 header key
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user