xuefei
2020-12-13 59380c11771d47459b8db5425bc21293823ada74
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
package cn.cetc54.platform.core.common.constant;
 
/**
 * @author
 */
public interface SecurityConstant {
 
    /**
     * token分割
     */
    String TOKEN_SPLIT = "Bearer ";
 
    /**
     * JWT签名加密key
     */
    String JWT_SIGN_KEY = "platform";
 
    /**
     * token参数头
     */
    String HEADER = "accessToken";
 
    /**
     * 权限参数头
     */
    String AUTHORITIES = "authorities";
 
    /**
     * 用户选择JWT保存时间参数头
     */
    String SAVE_LOGIN = "saveLogin";
 
    /**
     * 交互token前缀key
     */
    String TOKEN_PRE = "PLATFORM_TOKEN_PRE:";
 
    /**
     * 用户token前缀key 单点登录使用
     */
    String USER_TOKEN = "PLATFORM_USER_TOKEN:";
}