package com.usthe.sureness.util;

/**
 * sureness public constant
 * @author tomsun28
 * @date 2021/4/18 16:12
 */
public class SurenessConstant {

    /** the principal for subject,like appId, username **/
    public static final String PRINCIPAL = "principal";
    /** multiple principal **/
    public static final String PRINCIPALS = "principals";
    /** the roles user have **/
    public static final String ROLES = "roles";
    /** the request header auth key **/
    public static final String AUTHORIZATION = "Authorization";
    /** Basic auth header **/
    public static final String BASIC = "Basic";
    /** Digest auth header **/
    public static final String DIGEST = "Digest ";
    /** Bearer token auth header **/
    public static final String BEARER = "Bearer";
    /** Token auth key **/
    public static final String TOKEN = "token";
    /** JWT auth **/
    public static final String JWT = "Jwt";
    /** Url special char ; **/
    public static final String URL_PATH_SPECIAL = ";";
}
