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;
|
|
|
}
|