All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cn.meteor.common.launch.constants.TokenConstants Maven / Gradle / Ivy

package cn.meteor.common.launch.constants;// Copyright (C), Created on 2021-04-02

/**
 * Token配置常量.
 *
 * @author ths
 * @since 1.0.0
 */
public interface TokenConstants {

	String ADMIN = "admin";
	String AVATAR = "avatar";
	String HEADER = "meteor-auth";
	String ACCOUNT_HEADER = "meteor-auth:account:";
	String TOKEN_HEADER = "meteor-auth:token:";
	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_ID = "user_id";
	String ROLE_ID = "role_id";
	String USER_NAME = "user_name";
	String ROLE_NAME = "role_name";
	String TENANT_ID = "tenant_id";
	String OAUTH_ID = "oauth_id";
	String CLIENT_ID = "client_id";
	String LICENSE = "license";
	String LICENSE_NAME = "powered by meteor";
	String DEFAULT_AVATAR = "https://gw.alipayobjects.com/zos/rmsportal/BiazfanxmamNRoxxVxka.png";
	Integer AUTH_LENGTH = 7;

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy