org.macrocloud.kernel.launch.constant.TokenConstant Maven / Gradle / Ivy
The newest version!
package org.macrocloud.kernel.launch.constant;
/**
* Token配置常量.
*
*/
public interface TokenConstant {
String AVATAR = "avatar";
String HEADER = "Macro-Auth";
String BEARER = "bearer";
String ACCESS_TOKEN = "access_token";
String REFRESH_TOKEN = "refresh_token";
String TOKEN_TYPE = "token_type";
String EXPIRES_IN = "expires_in";
String ACCOUNT = "account";
String USER_NAME = "user_name";
String NICK_NAME = "nick_name";
String REAL_NAME = "real_name";
String USER_ID = "user_id";
String DEPT_ID = "dept_id";
String POST_ID = "post_id";
String ROLE_ID = "role_id";
String ROLE_NAME = "role_name";
String TENANT_ID = "tenant_id";
String OAUTH_ID = "oauth_id";
String CLIENT_ID = "client_id";
String DETAIL = "detail";
String LICENSE = "license";
String LICENSE_NAME = "powered by macrox";
String DEFAULT_AVATAR = "";
String SIGN_KEY = "macrocloudisapoweddsdsdsfsdffffffffffssssssssrfulmicroservicearchitectureupgradedandoptimizedfromacommercialaaaproject";
Integer AUTH_LENGTH = 7;
String CRYPTO = "crypto";
int SIGN_KEY_LENGTH = 32;
}