package org.lingniu.idp.enums;

/**
     * 撤销原因枚举
     */
    public enum RevokeReason {
        USER_LOGOUT("用户主动登出"),
        ADMIN_REVOKED("管理员撤销"),
        DEVICE_CHANGED("设备变更"),
        SUSPICIOUS_ACTIVITY("可疑活动"),
        PASSWORD_CHANGED("密码修改"),
        SESSION_EXPIRED("会话过期"),
        SECURITY_POLICY("安全策略"),
        OTHER("其他");
        
        private final String description;
        
        RevokeReason(String description) {
            this.description = description;
        }
        
        public String getDescription() {
            return description;
        }
    }