package com.itheima.sfbx.framework.commons.constant.security;

/**
 * @ClassName OauthCacheConstant.java
 * @Description Oauth认证鉴权cache常量类
 */
public class OauthCacheConstant {

    //缓存父包
    public static final String PREFIX= "oauth:";

    public static final String ACCESS_TOKEN = PREFIX+"access-token:";

    public static final String REFRESH_TOKEN = PREFIX+"refresh-token:";

    public static final String USER_TOKEN = PREFIX+"user-token:";

    public static final String USER_TOKEN_BIND = PREFIX+"user-token-bind:";

    public static final String LOGIN_CODE = "login:code:";

}
