puzhibing
2023-06-13 7860e5cb6db60aeb82c640651998f8294635df5b
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
package cn.mb.cloud.auth.config;
 
public interface SecurityEnum {
    /**
     * 客户端ID
     */
    String clinet_id = "1Oy7OUJwHn4T1uSA";
    /**
     * 密钥
     */
    String secret_key = "JvAdJCdqDCzKf1zZ";
    /**
     * 授权码模式
     */
    String authorization_code = "authorization_code";
    /**
     * 账号密码模式
     */
    String password = "password";
    /**
     * 刷新令牌模式
     */
    String refresh_token = "refresh_token";
    /**
     * 授权范围(所有)
     */
    String scopes_all = "all";
    /**
     * token有效时长
     */
    Integer token_effective_time = 7200;
    /**
     * 刷新令牌凭证有效时长
     */
    Integer refresh_token_effective_time = 86400;
 
 
}