
com.luues.security.core.interfaces.Security Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spring-boot-starter-security Show documentation
Show all versions of spring-boot-starter-security Show documentation
身份凭证的生成及验证封装(jwt、token、session共享三种方式)
package com.luues.security.core.interfaces;
import com.luues.security.core.entity.Expire;
import com.luues.security.enumeration.VerifyType;
public interface Security {
//令牌类型 默认session有状态模式
VerifyType verifyType();
//令牌有效期
Expire expire();
//是否验证SysUser对象的ok属性,默认false
boolean ok();
//是否允许3端同时在线,默认允许,token可用
boolean apppcappletsCoexist();
//是否开启某端只允许一个有效凭证,默认false, jwt暂未实现
boolean maxoneVoucher();
//token方式令牌是否自动续期,默认false
boolean tokenAutoRenewal();
//是否本地验证,默认false,本地验证即不需要通信到单点模块,通过配置的密钥直接解密验证
boolean localVerify();
//是否开启黑名单验证
boolean verifyBlack();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy