package com.cnooc.expert.common.constant;

/**
 * Token的Key常量
 * 
 * @author FuHongZhang
 */
public class TokenConstants
{
    /**
     * 令牌前缀
     * todo 暂时不用
     */
    public static final String PREFIX = "Bearer ";

    /**
     * 令牌秘钥
     */
    public final static String SECRET = "DjLRzlhhd/gdx6kPXtfBUSMiL8d0VzDYAtWBKpt3BuA=";

    /**
     * uuid_key 用于拼接缓存token的key
     */
    public static final String UUID_KEY = "uuid_key";

    /**
     * 用户id
     */
    public static final String USER_ID = "user_id";

    /**
     * 用于拼接缓存token的key
     */
    public static final String TOKEN_KEY_ = "TOKEN:TOKEN_KEY_";

    /**
     * 用于登录用户信息的key
     */
    public static final String LOGIN_USER_KEY_ = "LOGIN:USER_KEY_";
}
