package com.sptg.gateway.util;

import org.springframework.stereotype.Component;

/**
 * Jwt常量信息
 *
 * @author xuanyan
 */
@Component
public final class JwtCons {

    /**
     * 该类不可被实例化
     */
    private JwtCons() {

    }

    /**
     * Token过期时间
     */
//    public static final long EXPIRE_TIME = 10 * 1000;
    public static final long EXPIRE_TIME = 1400* 600 * 2000;

    /**
     * JWT 自定义密钥
     */
    public static final String SECRET_KEY = "gzlz";


    /**
     * user_key
     */
    public static final String USER_TEL = "tel";

    public static final String MAC_URL = "macUrl";

    /**
     * OpenId
     */
    public static final String AUTHORIZATION = "Authorization";

}
