1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
| package cn.lili.common.security.enums;
|
| /**
| * 安全相关常量
| *
| * @author Chopper
| */
| public enum SecurityEnum {
|
| /**
| * 存在与header中的token参数头 名
| */
| HEADER_TOKEN("accessToken"), USER_CONTEXT("userContext"), JWT_SECRET("secret"), UUID("uuid"), INVITER("inviter");
|
| String value;
|
| SecurityEnum(String value) {
| this.value = value;
| }
|
| public String getValue() {
| return value;
| }
| }
|
|