跳过导航链接
A B C D E F G H I J K L M N O P R S T U V 

A

ABNORMAL_LIST - 异常错误 中的静态变量cn.dev33.satoken.exception.NotLoginException
代表异常token的标志集合
addCookie(String, String, String, String, int) - 接口 中的方法cn.dev33.satoken.context.model.SaResponse
写入指定Cookie
addCookie(SaCookie) - 接口 中的方法cn.dev33.satoken.context.model.SaResponse
写入指定Cookie
addHeader(String, String) - 接口 中的方法cn.dev33.satoken.context.model.SaResponse
在响应头里添加一个值
addTokenSign(TokenSign) - 类 中的方法cn.dev33.satoken.session.SaSession
添加一个token签名
addTokenSign(String, String) - 类 中的方法cn.dev33.satoken.session.SaSession
添加一个token签名
aesDecrypt(String, String) - 类 中的静态方法cn.dev33.satoken.secure.SaSecureUtil
AES解密
aesEncrypt(String, String) - 类 中的静态方法cn.dev33.satoken.secure.SaSecureUtil
AES加密
ApiDisabledException - cn.dev33.satoken.exception中的异常错误
一个异常:代表 API 已被禁用
ApiDisabledException() - 异常错误 的构造器cn.dev33.satoken.exception.ApiDisabledException
一个异常:代表 API 已被禁用
ApiDisabledException(String) - 异常错误 的构造器cn.dev33.satoken.exception.ApiDisabledException
一个异常:代表 API 已被禁用
arrayJoin(String[]) - 类 中的静态方法cn.dev33.satoken.util.SaFoxUtil
将数组的所有元素使用逗号拼接在一起
ASSEMBLY_ORDER - 类 中的静态变量cn.dev33.satoken.util.SaTokenConsts
切面、拦截器、过滤器等各种组件的注册优先级顺序
attributeKeys() - 类 中的方法cn.dev33.satoken.session.SaSession
已过时。

B

back() - 类 中的静态方法cn.dev33.satoken.router.SaRouter
停止匹配,结束执行,向前端返回结果
back(Object) - 类 中的静态方法cn.dev33.satoken.router.SaRouter
停止匹配,结束执行,向前端返回结果
back() - 类 中的方法cn.dev33.satoken.router.SaRouterStaff
停止匹配,结束执行,向前端返回结果
back(Object) - 类 中的方法cn.dev33.satoken.router.SaRouterStaff
停止匹配,结束执行,向前端返回结果
BackResultException - cn.dev33.satoken.exception中的异常错误
一个异常:代表停止匹配,直接退出,向前端输出结果
BackResultException(Object) - 异常错误 的构造器cn.dev33.satoken.exception.BackResultException
构造
BCrypt - cn.dev33.satoken.secure中的类
BCrypt加密算法实现。
BCrypt() - 类 的构造器cn.dev33.satoken.secure.BCrypt
 
BE_MESSAGE - 异常错误 中的静态变量cn.dev33.satoken.exception.ApiDisabledException
异常提示语
BE_MESSAGE - 异常错误 中的静态变量cn.dev33.satoken.exception.DisableLoginException
异常提示语
BE_MESSAGE - 异常错误 中的静态变量cn.dev33.satoken.exception.NotBasicAuthException
异常提示语
BE_MESSAGE - 异常错误 中的静态变量cn.dev33.satoken.exception.NotSafeException
异常提示语
BE_REPLACED - 异常错误 中的静态变量cn.dev33.satoken.exception.NotLoginException
表示token已被顶下线
BE_REPLACED_MESSAGE - 异常错误 中的静态变量cn.dev33.satoken.exception.NotLoginException
 
BE_VALUE - 异常错误 中的静态变量cn.dev33.satoken.exception.DisableLoginException
异常标记值
Box(SaRequest, SaResponse, SaStorage) - 类 的构造器cn.dev33.satoken.context.SaTokenContextForThreadLocalStorage.Box
 
boxThreadLocal - 类 中的静态变量cn.dev33.satoken.context.SaTokenContextForThreadLocalStorage
基于 ThreadLocal 的 [Box存储器]
build() - 类 中的方法cn.dev33.satoken.stp.SaLoginModel
构建对象,初始化默认值
build(SaTokenConfig) - 类 中的方法cn.dev33.satoken.stp.SaLoginModel
构建对象,初始化默认值
builde() - 类 中的方法cn.dev33.satoken.context.model.SaCookie
构建一下

C

check() - 类 中的方法cn.dev33.satoken.basic.SaBasicTemplate
对当前会话进行 Basic 校验(使用全局配置的账号密码),校验不通过则抛出异常
check(String) - 类 中的方法cn.dev33.satoken.basic.SaBasicTemplate
对当前会话进行 Basic 校验(手动设置账号密码),校验不通过则抛出异常
check(String, String) - 类 中的方法cn.dev33.satoken.basic.SaBasicTemplate
对当前会话进行 Basic 校验(手动设置 Realm 和 账号密码),校验不通过则抛出异常
check() - 类 中的静态方法cn.dev33.satoken.basic.SaBasicUtil
对当前会话进行 Basic 校验(使用全局配置的账号密码),校验不通过则抛出异常
check(String) - 类 中的静态方法cn.dev33.satoken.basic.SaBasicUtil
对当前会话进行 Basic 校验(手动设置账号密码),校验不通过则抛出异常
check(String, String) - 类 中的静态方法cn.dev33.satoken.basic.SaBasicUtil
对当前会话进行 Basic 校验(手动设置 Realm 和 账号密码),校验不通过则抛出异常
check(SaFunction) - 类 中的方法cn.dev33.satoken.router.SaRouterStaff
执行校验函数 (无参)
check(SaParamFunction<SaRouterStaff>) - 类 中的方法cn.dev33.satoken.router.SaRouterStaff
执行校验函数 (带参)
checkActivityTimeout(String) - 类 中的方法cn.dev33.satoken.stp.StpLogic
检查指定token 是否已经[临时过期],如果已经过期则抛出异常
checkActivityTimeout() - 类 中的方法cn.dev33.satoken.stp.StpLogic
检查当前token 是否已经[临时过期],如果已经过期则抛出异常
checkActivityTimeout() - 类 中的静态方法cn.dev33.satoken.stp.StpUtil
检查当前token 是否已经[临时过期],如果已经过期则抛出异常
checkByAnnotation(SaCheckLogin) - 类 中的方法cn.dev33.satoken.stp.StpLogic
根据注解(@SaCheckLogin)鉴权
checkByAnnotation(SaCheckRole) - 类 中的方法cn.dev33.satoken.stp.StpLogic
根据注解(@SaCheckRole)鉴权
checkByAnnotation(SaCheckPermission) - 类 中的方法cn.dev33.satoken.stp.StpLogic
根据注解(@SaCheckPermission)鉴权
checkByAnnotation(SaCheckSafe) - 类 中的方法cn.dev33.satoken.stp.StpLogic
根据注解(@SaCheckSafe)鉴权
checkCurrentRequestToken() - 类 中的方法cn.dev33.satoken.id.SaIdTemplate
校验当前Request提供的Id-Token是否有效 (如果无效则抛出异常)
checkCurrentRequestToken() - 类 中的静态方法cn.dev33.satoken.id.SaIdUtil
校验当前Request提供的Id-Token是否有效 (如果无效则抛出异常)
checkElementAnnotation - 类 中的变量cn.dev33.satoken.strategy.SaStrategy
对一个 [元素] 对象进行注解校验 (注解鉴权内部实现) 参数 [element元素]
checkLogin() - 类 中的方法cn.dev33.satoken.stp.StpLogic
检验当前会话是否已经登录,如未登录,则抛出异常
checkLogin() - 类 中的静态方法cn.dev33.satoken.stp.StpUtil
检验当前会话是否已经登录,如未登录,则抛出异常
checkMethodAnnotation - 类 中的变量cn.dev33.satoken.strategy.SaStrategy
对一个 [Method] 对象进行注解校验 (注解鉴权内部实现) 参数 [Method句柄]
checkPermission(String) - 类 中的方法cn.dev33.satoken.stp.StpLogic
校验:当前账号是否含有指定权限, 如果验证未通过,则抛出异常: NotPermissionException
checkPermission(String) - 类 中的静态方法cn.dev33.satoken.stp.StpUtil
校验:当前账号是否含有指定权限, 如果验证未通过,则抛出异常: NotPermissionException
checkPermissionAnd(String...) - 类 中的方法cn.dev33.satoken.stp.StpLogic
校验:当前账号是否含有指定权限 [指定多个,必须全部验证通过]
checkPermissionAnd(String...) - 类 中的静态方法cn.dev33.satoken.stp.StpUtil
校验:当前账号是否含有指定权限 [指定多个,必须全部验证通过]
checkPermissionOr(String...) - 类 中的方法cn.dev33.satoken.stp.StpLogic
校验:当前账号是否含有指定权限 [指定多个,只要其一验证通过即可]
checkPermissionOr(String...) - 类 中的静态方法cn.dev33.satoken.stp.StpUtil
校验:当前账号是否含有指定权限 [指定多个,只要其一验证通过即可]
checkpw(String, String) - 类 中的静态方法cn.dev33.satoken.secure.BCrypt
检查明文密码文本是否匹配加密后的文本
checkRole(String) - 类 中的方法cn.dev33.satoken.stp.StpLogic
校验:当前账号是否含有指定角色标识, 如果验证未通过,则抛出异常: NotRoleException
checkRole(String) - 类 中的静态方法cn.dev33.satoken.stp.StpUtil
校验:当前账号是否含有指定角色标识, 如果验证未通过,则抛出异常: NotRoleException
checkRoleAnd(String...) - 类 中的方法cn.dev33.satoken.stp.StpLogic
校验:当前账号是否含有指定角色标识 [指定多个,必须全部验证通过]
checkRoleAnd(String...) - 类 中的静态方法cn.dev33.satoken.stp.StpUtil
校验:当前账号是否含有指定角色标识 [指定多个,必须全部验证通过]
checkRoleOr(String...) - 类 中的方法cn.dev33.satoken.stp.StpLogic
校验:当前账号是否含有指定角色标识 [指定多个,只要其一验证通过即可]
checkRoleOr(String...) - 类 中的静态方法cn.dev33.satoken.stp.StpUtil
校验:当前账号是否含有指定角色标识 [指定多个,只要其一验证通过即可]
checkSafe() - 类 中的方法cn.dev33.satoken.stp.StpLogic
检查当前会话是否已通过二级认证,如未通过则抛出异常
checkSafe() - 类 中的静态方法cn.dev33.satoken.stp.StpUtil
检查当前会话是否已通过二级认证,如未通过则抛出异常
checkToken(String) - 类 中的方法cn.dev33.satoken.id.SaIdTemplate
校验一个Id-Token是否有效 (如果无效则抛出异常)
checkToken(String) - 类 中的静态方法cn.dev33.satoken.id.SaIdUtil
校验一个Id-Token是否有效 (如果无效则抛出异常)
clear() - 类 中的方法cn.dev33.satoken.session.SaSession
清空所有值
clearAttribute() - 类 中的方法cn.dev33.satoken.session.SaSession
已过时。
clearBox() - 类 中的静态方法cn.dev33.satoken.context.SaTokenContextForThreadLocalStorage
清除 [Box存储器]
clearLastActivity(String) - 类 中的方法cn.dev33.satoken.stp.StpLogic
清除指定token的 [最后操作时间]
closeSafe() - 类 中的方法cn.dev33.satoken.stp.StpLogic
在当前会话 结束二级认证
closeSafe() - 类 中的静态方法cn.dev33.satoken.stp.StpUtil
在当前会话 结束二级认证
cn.dev33.satoken - 程序包 cn.dev33.satoken
 
cn.dev33.satoken.annotation - 程序包 cn.dev33.satoken.annotation
 
cn.dev33.satoken.basic - 程序包 cn.dev33.satoken.basic
 
cn.dev33.satoken.config - 程序包 cn.dev33.satoken.config
 
cn.dev33.satoken.context - 程序包 cn.dev33.satoken.context
 
cn.dev33.satoken.context.model - 程序包 cn.dev33.satoken.context.model
因为不能确定最终运行的容器属于标准Servlet模型还是非Servlet模型,特封装此包下的包装类进行对接
cn.dev33.satoken.context.second - 程序包 cn.dev33.satoken.context.second
 
cn.dev33.satoken.dao - 程序包 cn.dev33.satoken.dao
 
cn.dev33.satoken.exception - 程序包 cn.dev33.satoken.exception
 
cn.dev33.satoken.filter - 程序包 cn.dev33.satoken.filter
 
cn.dev33.satoken.fun - 程序包 cn.dev33.satoken.fun
 
cn.dev33.satoken.id - 程序包 cn.dev33.satoken.id
 
cn.dev33.satoken.json - 程序包 cn.dev33.satoken.json
 
cn.dev33.satoken.listener - 程序包 cn.dev33.satoken.listener
 
cn.dev33.satoken.router - 程序包 cn.dev33.satoken.router
 
cn.dev33.satoken.secure - 程序包 cn.dev33.satoken.secure
 
cn.dev33.satoken.session - 程序包 cn.dev33.satoken.session
 
cn.dev33.satoken.sign - 程序包 cn.dev33.satoken.sign
 
cn.dev33.satoken.stp - 程序包 cn.dev33.satoken.stp
 
cn.dev33.satoken.strategy - 程序包 cn.dev33.satoken.strategy
 
cn.dev33.satoken.temp - 程序包 cn.dev33.satoken.temp
 
cn.dev33.satoken.util - 程序包 cn.dev33.satoken.util
 
code(int) - 类 中的静态方法cn.dev33.satoken.util.SaResult
 
CODE_ERROR - 类 中的静态变量cn.dev33.satoken.util.SaResult
 
CODE_SUCCESS - 类 中的静态变量cn.dev33.satoken.util.SaResult
 
CODE_UNDEFINED - 类 中的静态变量cn.dev33.satoken.exception.SaExceptionCode
代表未指定异常细分状态码
config - 类 中的静态变量cn.dev33.satoken.SaManager
配置文件 Bean
configPath - 类 中的静态变量cn.dev33.satoken.config.SaTokenConfigFactory
配置文件地址
containsAttribute(String) - 类 中的方法cn.dev33.satoken.session.SaSession
已过时。
convertArrayToString(String[]) - 类 中的静态方法cn.dev33.satoken.util.SaFoxUtil
Array 转 String,按照逗号切割
convertListToString(List<?>) - 类 中的静态方法cn.dev33.satoken.util.SaFoxUtil
将指定集合按照逗号连接成一个字符串
convertStringToArray(String) - 类 中的静态方法cn.dev33.satoken.util.SaFoxUtil
String 转 Array,按照逗号切割
convertStringToList(String) - 类 中的静态方法cn.dev33.satoken.util.SaFoxUtil
将指定字符串按照逗号分隔符转化为字符串集合
cookie - 类 中的变量cn.dev33.satoken.config.SaTokenConfig
Cookie配置对象
create() - 接口 中的方法cn.dev33.satoken.context.second.SaTokenSecondContextCreator
创建一个二级 Context
create() - 类 中的静态方法cn.dev33.satoken.stp.SaLoginConfig
静态方法获取一个 SaLoginModel 对象
create() - 类 中的静态方法cn.dev33.satoken.stp.SaLoginModel
静态方法获取一个 SaLoginModel 对象
createConfig() - 类 中的静态方法cn.dev33.satoken.config.SaTokenConfigFactory
根据configPath路径获取配置信息
createLoginSession(Object) - 类 中的方法cn.dev33.satoken.stp.StpLogic
创建指定账号id的登录会话
createLoginSession(Object, SaLoginModel) - 类 中的方法cn.dev33.satoken.stp.StpLogic
创建指定账号id的登录会话
createLoginSession(Object) - 类 中的静态方法cn.dev33.satoken.stp.StpUtil
创建指定账号id的登录会话
createLoginSession(Object, SaLoginModel) - 类 中的静态方法cn.dev33.satoken.stp.StpUtil
创建指定账号id的登录会话
createSession - 类 中的变量cn.dev33.satoken.strategy.SaStrategy
创建 Session 的策略 参数 [SessionId]
createSign(Map<String, Object>, String) - 接口 中的方法cn.dev33.satoken.sign.SaSignTemplate
创建签名:md5(paramsStr + keyStr)
createToken() - 类 中的方法cn.dev33.satoken.id.SaIdTemplate
创建一个Id-Token
createToken - 类 中的变量cn.dev33.satoken.strategy.SaStrategy
创建 Token 的策略 参数 [账号id, 账号类型]
createToken(Object, long) - 接口 中的方法cn.dev33.satoken.temp.SaTempInterface
根据value创建一个token
createToken(Object, long) - 类 中的静态方法cn.dev33.satoken.temp.SaTempUtil
根据value创建一个token
createTokenValue(Object, String, long, Map<String, Object>) - 类 中的方法cn.dev33.satoken.stp.StpLogic
创建一个TokenValue
createTokenValue(Object, String, long) - 类 中的方法cn.dev33.satoken.stp.StpLogic
已过时。
crypt(byte[], byte[], int, int[]) - 类 中的方法cn.dev33.satoken.secure.BCrypt
加密密文

D

data(Object) - 类 中的静态方法cn.dev33.satoken.util.SaResult
 
dataMap - 类 中的变量cn.dev33.satoken.dao.SaTokenDaoDefaultImpl
数据集合
decode(String) - 类 中的静态方法cn.dev33.satoken.secure.SaBase64Util
Base64解码,String 转 String
decoderUrl(String) - 类 中的静态方法cn.dev33.satoken.util.SaFoxUtil
URL解码
decodeStringToBytes(String) - 类 中的静态方法cn.dev33.satoken.secure.SaBase64Util
Base64解码,String 转 byte[]
DEFAULT_LOGIN_DEVICE - 类 中的静态变量cn.dev33.satoken.util.SaTokenConsts
常量key标记: 在登录时,默认使用的设备类型
DEFAULT_MESSAGE - 异常错误 中的静态变量cn.dev33.satoken.exception.NotLoginException
默认的提示语
DEFAULT_REALM - 类 中的静态变量cn.dev33.satoken.basic.SaBasicTemplate
默认的 Realm 名称
defaultContext - 类 中的静态变量cn.dev33.satoken.context.SaTokenContextDefaultImpl
默认的上下文处理器对象
delete(String) - 接口 中的方法cn.dev33.satoken.context.model.SaStorage
在 [Request作用域] 里删除一个值
delete(String) - 接口 中的方法cn.dev33.satoken.dao.SaTokenDao
删除Value
delete(String) - 类 中的方法cn.dev33.satoken.dao.SaTokenDaoDefaultImpl
 
delete(String) - 类 中的方法cn.dev33.satoken.session.SaSession
删值
deleteCookie(String) - 接口 中的方法cn.dev33.satoken.context.model.SaResponse
删除指定Cookie
deleteObject(String) - 接口 中的方法cn.dev33.satoken.dao.SaTokenDao
删除Object
deleteObject(String) - 类 中的方法cn.dev33.satoken.dao.SaTokenDaoDefaultImpl
 
deleteSession(String) - 接口 中的方法cn.dev33.satoken.dao.SaTokenDao
删除Session
deleteSessionById(String) - 类 中的静态方法cn.dev33.satoken.session.SaSessionCustomUtil
删除指定key的Session
deleteToken(String) - 接口 中的方法cn.dev33.satoken.temp.SaTempInterface
删除一个 token
deleteToken(String) - 类 中的静态方法cn.dev33.satoken.temp.SaTempUtil
删除一个 token
deleteTokenSession(String) - 类 中的方法cn.dev33.satoken.stp.StpLogic
删除Token-Session
deleteTokenToIdMapping(String) - 类 中的方法cn.dev33.satoken.stp.StpLogic
删除 Token-Id 映射
DEV_DOC_URL - 类 中的静态变量cn.dev33.satoken.util.SaTokenConsts
Sa-Token 开发文档地址
device - 类 中的变量cn.dev33.satoken.stp.SaLoginModel
此次登录的客户端设备类型
disable(Object, long) - 类 中的方法cn.dev33.satoken.stp.StpLogic
封禁指定账号 此方法不会直接将此账号id踢下线,而是在对方再次登录时抛出`DisableLoginException`异常
disable(Object, long) - 类 中的静态方法cn.dev33.satoken.stp.StpUtil
封禁指定账号 此方法不会直接将此账号id踢下线,而是在对方再次登录时抛出`DisableLoginException`异常
DisableLoginException - cn.dev33.satoken.exception中的异常错误
一个异常:代表账号已被封禁
DisableLoginException(String, Object, long) - 异常错误 的构造器cn.dev33.satoken.exception.DisableLoginException
一个异常:代表账号已被封禁
doCreateSession(String) - 接口 中的方法cn.dev33.satoken.listener.SaTokenListener
每次创建Session时触发
doCreateSession(String) - 类 中的方法cn.dev33.satoken.listener.SaTokenListenerDefaultImpl
每次创建Session时触发
doDisable(String, Object, long) - 接口 中的方法cn.dev33.satoken.listener.SaTokenListener
每次被封禁时触发
doDisable(String, Object, long) - 类 中的方法cn.dev33.satoken.listener.SaTokenListenerDefaultImpl
每次被封禁时触发
doKickout(String, Object, String) - 接口 中的方法cn.dev33.satoken.listener.SaTokenListener
每次被踢下线时触发
doKickout(String, Object, String) - 类 中的方法cn.dev33.satoken.listener.SaTokenListenerDefaultImpl
每次被踢下线时触发
doLogin(String, Object, String, SaLoginModel) - 接口 中的方法cn.dev33.satoken.listener.SaTokenListener
每次登录时触发
doLogin(String, Object, String, SaLoginModel) - 类 中的方法cn.dev33.satoken.listener.SaTokenListenerDefaultImpl
每次登录时触发
doLogout(String, Object, String) - 接口 中的方法cn.dev33.satoken.listener.SaTokenListener
每次注销时触发
doLogout(String, Object, String) - 类 中的方法cn.dev33.satoken.listener.SaTokenListenerDefaultImpl
每次注销时触发
doLogoutSession(String) - 接口 中的方法cn.dev33.satoken.listener.SaTokenListener
每次注销Session时触发
doLogoutSession(String) - 类 中的方法cn.dev33.satoken.listener.SaTokenListenerDefaultImpl
每次注销Session时触发
doReplaced(String, Object, String) - 接口 中的方法cn.dev33.satoken.listener.SaTokenListener
每次被顶下线时触发
doReplaced(String, Object, String) - 类 中的方法cn.dev33.satoken.listener.SaTokenListenerDefaultImpl
每次被顶下线时触发
doUntieDisable(String, Object) - 接口 中的方法cn.dev33.satoken.listener.SaTokenListener
每次被解封时触发
doUntieDisable(String, Object) - 类 中的方法cn.dev33.satoken.listener.SaTokenListenerDefaultImpl
每次被解封时触发

E

emptyList() - 类 中的静态方法cn.dev33.satoken.util.SaFoxUtil
返回一个空集合
encode(String) - 类 中的静态方法cn.dev33.satoken.secure.SaBase64Util
Base64编码,String 转 String
encodeBytesToString(byte[]) - 类 中的静态方法cn.dev33.satoken.secure.SaBase64Util
Base64编码,byte[] 转 String
encodeUrl(String) - 类 中的静态方法cn.dev33.satoken.util.SaFoxUtil
URL编码
endRefreshThread() - 类 中的方法cn.dev33.satoken.dao.SaTokenDaoDefaultImpl
结束定时任务
endSwitch() - 类 中的方法cn.dev33.satoken.stp.StpLogic
结束临时切换身份
endSwitch() - 类 中的静态方法cn.dev33.satoken.stp.StpUtil
结束临时切换身份
error() - 类 中的静态方法cn.dev33.satoken.util.SaResult
 
error(String) - 类 中的静态方法cn.dev33.satoken.util.SaResult
 
ERROR_MESSAGE - 类 中的静态变量cn.dev33.satoken.context.SaTokenContextDefaultImpl
默认的错误提示语
ERROR_MESSAGE - 类 中的静态变量cn.dev33.satoken.json.SaJsonTemplateDefaultImpl
 
exe(SaFunction) - 类 中的方法cn.dev33.satoken.fun.IsRunFunction
当 isRun == true 时执行此函数
expireMap - 类 中的变量cn.dev33.satoken.dao.SaTokenDaoDefaultImpl
过期时间集合 (单位: 毫秒) , 记录所有key的到期时间 [注意不是剩余存活时间]
extraData - 类 中的变量cn.dev33.satoken.stp.SaLoginModel
扩展信息(只在jwt模式下生效)

F

formatDate(Date) - 类 中的静态方法cn.dev33.satoken.util.SaFoxUtil
将日期格式化 (yyyy-MM-dd HH:mm:ss)
forward(String) - 接口 中的方法cn.dev33.satoken.context.model.SaRequest
转发请求
free(SaParamFunction<SaRouterStaff>) - 类 中的方法cn.dev33.satoken.router.SaRouterStaff
自由匹配 ( 在free作用域里执行stop()不会跳出Auth函数,而是仅仅跳出free代码块 )

G

gensalt(int, SecureRandom) - 类 中的静态方法cn.dev33.satoken.secure.BCrypt
生成盐
gensalt(int) - 类 中的静态方法cn.dev33.satoken.secure.BCrypt
生成盐
gensalt() - 类 中的静态方法cn.dev33.satoken.secure.BCrypt
生成盐
get(String) - 接口 中的方法cn.dev33.satoken.context.model.SaStorage
在 [Request作用域] 里获取一个值
get(String) - 接口 中的方法cn.dev33.satoken.dao.SaTokenDao
获取Value,如无返空
get(String) - 类 中的方法cn.dev33.satoken.dao.SaTokenDaoDefaultImpl
 
get(String) - 类 中的方法cn.dev33.satoken.session.SaSession
取值
get(String, T) - 类 中的方法cn.dev33.satoken.session.SaSession
取值 (指定默认值)
get(String, SaRetFunction) - 类 中的方法cn.dev33.satoken.session.SaSession
取值 (如果值为null,则执行fun函数获取值)
get(int, String, Object) - 类 中的静态方法cn.dev33.satoken.util.SaResult
 
getActivityTimeout() - 类 中的方法cn.dev33.satoken.config.SaTokenConfig
 
getAnnotation - 类 中的变量cn.dev33.satoken.strategy.SaStrategy
从元素上获取注解(注解鉴权内部实现) 参数 [element元素,要获取的注解类型]
getAttribute(String) - 类 中的方法cn.dev33.satoken.session.SaSession
已过时。
getAttribute(String, Object) - 类 中的方法cn.dev33.satoken.session.SaSession
已过时。
getAuthorizationValue() - 类 中的方法cn.dev33.satoken.basic.SaBasicTemplate
获取浏览器提交的 Basic 参数 (裁剪掉前缀并解码)
getAuthorizationValue() - 类 中的静态方法cn.dev33.satoken.basic.SaBasicUtil
获取浏览器提交的 Basic 参数 (裁剪掉前缀并解码)
getAutoRenew() - 类 中的方法cn.dev33.satoken.config.SaTokenConfig
 
getBasic() - 类 中的方法cn.dev33.satoken.config.SaTokenConfig
 
getBox() - 类 中的静态方法cn.dev33.satoken.context.SaTokenContextForThreadLocalStorage
获取 [Box存储器]
getBoxNotNull() - 类 中的静态方法cn.dev33.satoken.context.SaTokenContextForThreadLocalStorage
获取 [Box存储器], 如果为空则抛出异常
getCheckIdToken() - 类 中的方法cn.dev33.satoken.config.SaTokenConfig
 
getCode() - 异常错误 中的方法cn.dev33.satoken.exception.NotPermissionException
已过时。
getCode() - 异常错误 中的方法cn.dev33.satoken.exception.SaTokenException
获取异常细分状态码
getCode() - 类 中的方法cn.dev33.satoken.util.SaResult
获取code
getConfig() - 类 中的静态方法cn.dev33.satoken.SaManager
 
getConfig() - 类 中的方法cn.dev33.satoken.stp.StpLogic
返回全局配置对象
getConfigOfIsShare() - 类 中的方法cn.dev33.satoken.stp.StpLogic
返回全局配置对象的isShare属性
getContext() - 类 中的静态方法cn.dev33.satoken.context.SaHolder
获取当前请求的 SaTokenContext
getCookie() - 类 中的方法cn.dev33.satoken.config.SaTokenConfig
 
getCookieDomain() - 类 中的方法cn.dev33.satoken.config.SaTokenConfig
已过时。
getCookieTimeout() - 类 中的方法cn.dev33.satoken.stp.SaLoginModel
 
getCookieValue(String) - 接口 中的方法cn.dev33.satoken.context.model.SaRequest
在 [Cookie作用域] 里获取一个值
getCreateTime() - 类 中的方法cn.dev33.satoken.session.SaSession
返回当前会话创建时间
getCurrDomain() - 类 中的方法cn.dev33.satoken.config.SaTokenConfig
 
getData() - 类 中的方法cn.dev33.satoken.util.SaResult
获取data
getDataMap() - 类 中的方法cn.dev33.satoken.session.SaSession
获取数据挂载集合(如果更新map里的值,请调用session.update()方法避免产生脏数据 )
getDataRefreshPeriod() - 类 中的方法cn.dev33.satoken.config.SaTokenConfig
 
getDevice() - 类 中的方法cn.dev33.satoken.session.TokenSign
 
getDevice() - 类 中的方法cn.dev33.satoken.stp.SaLoginModel
 
getDeviceOrDefalut() - 类 中的方法cn.dev33.satoken.stp.SaLoginModel
已过时。
getDeviceOrDefault() - 类 中的方法cn.dev33.satoken.stp.SaLoginModel
 
getDisableTime() - 异常错误 中的方法cn.dev33.satoken.exception.DisableLoginException
获取: 封禁剩余时间,单位:秒
getDisableTime(Object) - 类 中的方法cn.dev33.satoken.stp.StpLogic
获取指定账号剩余封禁时间,单位:秒(-1=永久封禁,-2=未被封禁)
getDisableTime(Object) - 类 中的静态方法cn.dev33.satoken.stp.StpUtil
获取指定账号剩余封禁时间,单位:秒(-1=永久封禁,-2=未被封禁)
getDomain() - 类 中的方法cn.dev33.satoken.config.SaCookieConfig
 
getDomain() - 类 中的方法cn.dev33.satoken.context.model.SaCookie
 
getDouble(String) - 类 中的方法cn.dev33.satoken.session.SaSession
取值 (转double类型)
getExtra(String) - 类 中的方法cn.dev33.satoken.stp.SaLoginModel
获取扩展数据(只在jwt模式下生效)
getExtra(String) - 类 中的方法cn.dev33.satoken.stp.StpLogic
获取Token扩展信息(只在jwt模式下有效)
getExtra(String) - 类 中的静态方法cn.dev33.satoken.stp.StpUtil
获取Token扩展信息(只在jwt模式下有效)
getExtraData() - 类 中的方法cn.dev33.satoken.stp.SaLoginModel
 
getFloat(String) - 类 中的方法cn.dev33.satoken.session.SaSession
取值 (转float类型)
getHeader(String) - 接口 中的方法cn.dev33.satoken.context.model.SaRequest
在 [请求头] 里获取一个值
getHeader(String, String) - 接口 中的方法cn.dev33.satoken.context.model.SaRequest
在 [请求头] 里获取一个值
getHttpOnly() - 类 中的方法cn.dev33.satoken.config.SaCookieConfig
 
getHttpOnly() - 类 中的方法cn.dev33.satoken.context.model.SaCookie
 
getId() - 类 中的方法cn.dev33.satoken.session.SaSession
获取此Session的id
getIdTokenTimeout() - 类 中的方法cn.dev33.satoken.config.SaTokenConfig
 
getInt(String) - 类 中的方法cn.dev33.satoken.session.SaSession
取值 (转int类型)
getIsConcurrent() - 类 中的方法cn.dev33.satoken.config.SaTokenConfig
 
getIsLastingCookie() - 类 中的方法cn.dev33.satoken.stp.SaLoginModel
 
getIsLog() - 类 中的方法cn.dev33.satoken.config.SaTokenConfig
 
getIsLogin() - 类 中的方法cn.dev33.satoken.stp.SaTokenInfo
 
getIsPrint() - 类 中的方法cn.dev33.satoken.config.SaTokenConfig
 
getIsReadBody() - 类 中的方法cn.dev33.satoken.config.SaTokenConfig
 
getIsReadCookie() - 类 中的方法cn.dev33.satoken.config.SaTokenConfig
 
getIsReadHead() - 类 中的方法cn.dev33.satoken.config.SaTokenConfig
 
getIsShare() - 类 中的方法cn.dev33.satoken.config.SaTokenConfig
 
getJwtSecretKey() - 类 中的方法cn.dev33.satoken.config.SaTokenConfig
 
getJwtSecretKey() - 接口 中的方法cn.dev33.satoken.temp.SaTempInterface
 
getLoginDevice() - 类 中的方法cn.dev33.satoken.stp.SaTokenInfo
 
getLoginDevice() - 类 中的方法cn.dev33.satoken.stp.StpLogic
返回当前会话的登录设备类型
getLoginDevice() - 类 中的静态方法cn.dev33.satoken.stp.StpUtil
返回当前会话的登录设备类型
getLoginId() - 异常错误 中的方法cn.dev33.satoken.exception.DisableLoginException
获取: 被封禁的账号id
getLoginId() - 类 中的方法cn.dev33.satoken.stp.SaTokenInfo
 
getLoginId() - 类 中的方法cn.dev33.satoken.stp.StpLogic
获取当前会话账号id, 如果未登录,则抛出异常
getLoginId(T) - 类 中的方法cn.dev33.satoken.stp.StpLogic
获取当前会话账号id, 如果未登录,则返回默认值
getLoginId() - 类 中的静态方法cn.dev33.satoken.stp.StpUtil
获取当前会话账号id, 如果未登录,则抛出异常
getLoginId(T) - 类 中的静态方法cn.dev33.satoken.stp.StpUtil
获取当前会话账号id, 如果未登录,则返回默认值
getLoginIdAsInt() - 类 中的方法cn.dev33.satoken.stp.StpLogic
获取当前会话账号id, 并转换为int类型
getLoginIdAsInt() - 类 中的静态方法cn.dev33.satoken.stp.StpUtil
获取当前会话账号id, 并转换为int类型
getLoginIdAsLong() - 类 中的方法cn.dev33.satoken.stp.StpLogic
获取当前会话账号id, 并转换为long类型
getLoginIdAsLong() - 类 中的静态方法cn.dev33.satoken.stp.StpUtil
获取当前会话账号id, 并转换为long类型
getLoginIdAsString() - 类 中的方法cn.dev33.satoken.stp.StpLogic
获取当前会话账号id, 并转换为String类型
getLoginIdAsString() - 类 中的静态方法cn.dev33.satoken.stp.StpUtil
获取当前会话账号id, 并转换为String类型
getLoginIdByToken(String) - 类 中的方法cn.dev33.satoken.stp.StpLogic
获取指定Token对应的账号id,如果未登录,则返回 null
getLoginIdByToken(String) - 类 中的静态方法cn.dev33.satoken.stp.StpUtil
获取指定Token对应的账号id,如果未登录,则返回 null
getLoginIdDefaultNull() - 类 中的方法cn.dev33.satoken.stp.StpLogic
获取当前会话账号id, 如果未登录,则返回null
getLoginIdDefaultNull() - 类 中的静态方法cn.dev33.satoken.stp.StpUtil
获取当前会话账号id, 如果未登录,则返回null
getLoginIdNotHandle(String) - 类 中的方法cn.dev33.satoken.stp.StpLogic
获取指定Token对应的账号id (不做任何特殊处理)
getLoginKey() - 类 中的静态方法cn.dev33.satoken.stp.StpUtil
已过时。
getLoginType() - 异常错误 中的方法cn.dev33.satoken.exception.DisableLoginException
获取账号类型
getLoginType() - 异常错误 中的方法cn.dev33.satoken.exception.NotLoginException
获得账号类型
getLoginType() - 异常错误 中的方法cn.dev33.satoken.exception.NotPermissionException
获得账号类型
getLoginType() - 异常错误 中的方法cn.dev33.satoken.exception.NotRoleException
获得账号类型
getLoginType() - 类 中的方法cn.dev33.satoken.stp.SaTokenInfo
 
getLoginType() - 类 中的方法cn.dev33.satoken.stp.StpLogic
获取当前 StpLogic 的账号类型
getLoginType() - 类 中的静态方法cn.dev33.satoken.stp.StpUtil
获取当前 StpLogic 的账号类型
getLong(String) - 类 中的方法cn.dev33.satoken.session.SaSession
取值 (转long类型)
getMarking28() - 类 中的静态方法cn.dev33.satoken.util.SaFoxUtil
以当前时间戳和随机int数字拼接一个随机字符串
getMaxAge() - 类 中的方法cn.dev33.satoken.context.model.SaCookie
 
getMaxLoginCount() - 类 中的方法cn.dev33.satoken.config.SaTokenConfig
 
getMethod() - 接口 中的方法cn.dev33.satoken.context.model.SaRequest
返回当前请求的类型
getModel(String, Class<T>) - 类 中的方法cn.dev33.satoken.session.SaSession
取值 (指定转换类型)
getModel(String, Class<T>, Object) - 类 中的方法cn.dev33.satoken.session.SaSession
取值 (指定转换类型, 并指定值为Null时返回的默认值)
getMsg() - 类 中的方法cn.dev33.satoken.util.SaResult
获取msg
getName() - 类 中的方法cn.dev33.satoken.context.model.SaCookie
 
getObject(String) - 接口 中的方法cn.dev33.satoken.dao.SaTokenDao
获取Object,如无返空
getObject(String) - 类 中的方法cn.dev33.satoken.dao.SaTokenDaoDefaultImpl
 
getObjectTimeout(String) - 接口 中的方法cn.dev33.satoken.dao.SaTokenDao
获取Object的剩余存活时间 (单位: 秒)
getObjectTimeout(String) - 类 中的方法cn.dev33.satoken.dao.SaTokenDaoDefaultImpl
 
getParam(String) - 接口 中的方法cn.dev33.satoken.context.model.SaRequest
在 [请求体] 里获取一个值
getParam(String, String) - 接口 中的方法cn.dev33.satoken.context.model.SaRequest
在 [请求体] 里获取一个值,值为空时返回默认值
getParamNotNull(String) - 接口 中的方法cn.dev33.satoken.context.model.SaRequest
在 [请求体] 里获取一个值 (此值必须存在,否则抛出异常 )
getPastTokenNh() - 类 中的方法cn.dev33.satoken.id.SaIdTemplate
获取Past-Id-Token,不做任何处理
getPastTokenNh() - 类 中的静态方法cn.dev33.satoken.id.SaIdUtil
获取Past-Id-Token,不做任何处理
getPath() - 类 中的方法cn.dev33.satoken.config.SaCookieConfig
 
getPath() - 类 中的方法cn.dev33.satoken.context.model.SaCookie
 
getPermission() - 异常错误 中的方法cn.dev33.satoken.exception.NotPermissionException
 
getPermissionList(Object, String) - 接口 中的方法cn.dev33.satoken.stp.StpInterface
返回指定账号id所拥有的权限码集合
getPermissionList(Object, String) - 类 中的方法cn.dev33.satoken.stp.StpInterfaceDefaultImpl
 
getPermissionList() - 类 中的方法cn.dev33.satoken.stp.StpLogic
获取:当前账号的权限码集合
getPermissionList(Object) - 类 中的方法cn.dev33.satoken.stp.StpLogic
获取:指定账号的权限码集合
getPermissionList() - 类 中的静态方法cn.dev33.satoken.stp.StpUtil
获取:当前账号的权限码集合
getPermissionList(Object) - 类 中的静态方法cn.dev33.satoken.stp.StpUtil
获取:指定账号的权限码集合
getRandomString(int) - 类 中的静态方法cn.dev33.satoken.util.SaFoxUtil
生成指定长度的随机字符串
getRequest() - 类 中的静态方法cn.dev33.satoken.context.SaHolder
获取当前请求的 [Request] 对象
getRequest() - 接口 中的方法cn.dev33.satoken.context.SaTokenContext
获取当前请求的 [Request] 对象
getRequest() - 类 中的方法cn.dev33.satoken.context.SaTokenContextDefaultImpl
获取当前请求的 [Request] 对象
getRequest() - 类 中的方法cn.dev33.satoken.context.SaTokenContextForThreadLocal
 
getRequest() - 类 中的方法cn.dev33.satoken.context.SaTokenContextForThreadLocalStorage.Box
 
getRequest() - 类 中的静态方法cn.dev33.satoken.context.SaTokenContextForThreadLocalStorage
在 [Box存储器] 获取 [Request] 对象
getRequestPath() - 接口 中的方法cn.dev33.satoken.context.model.SaRequest
返回当前请求path (不包括上下文名称)
getResponse() - 类 中的静态方法cn.dev33.satoken.context.SaHolder
获取当前请求的 [Response] 对象
getResponse() - 接口 中的方法cn.dev33.satoken.context.SaTokenContext
获取当前请求的 [Response] 对象
getResponse() - 类 中的方法cn.dev33.satoken.context.SaTokenContextDefaultImpl
获取当前请求的 [Response] 对象
getResponse() - 类 中的方法cn.dev33.satoken.context.SaTokenContextForThreadLocal
 
getResponse() - 类 中的方法cn.dev33.satoken.context.SaTokenContextForThreadLocalStorage.Box
 
getResponse() - 类 中的静态方法cn.dev33.satoken.context.SaTokenContextForThreadLocalStorage
在 [Box存储器] 获取 [Response] 对象
getRole() - 异常错误 中的方法cn.dev33.satoken.exception.NotRoleException
 
getRoleList(Object, String) - 接口 中的方法cn.dev33.satoken.stp.StpInterface
返回指定账号id所拥有的角色标识集合
getRoleList(Object, String) - 类 中的方法cn.dev33.satoken.stp.StpInterfaceDefaultImpl
 
getRoleList() - 类 中的方法cn.dev33.satoken.stp.StpLogic
获取:当前账号的角色集合
getRoleList(Object) - 类 中的方法cn.dev33.satoken.stp.StpLogic
获取:指定账号的角色集合
getRoleList() - 类 中的静态方法cn.dev33.satoken.stp.StpUtil
获取:当前账号的角色集合
getRoleList(Object) - 类 中的静态方法cn.dev33.satoken.stp.StpUtil
获取:指定账号的角色集合
getSafeTime() - 类 中的方法cn.dev33.satoken.stp.StpLogic
获取当前会话的二级认证剩余有效时间 (单位: 秒, 返回-2代表尚未通过二级认证)
getSafeTime() - 类 中的静态方法cn.dev33.satoken.stp.StpUtil
获取当前会话的二级认证剩余有效时间 (单位: 秒, 返回-2代表尚未通过二级认证)
getSaJsonTemplate() - 类 中的静态方法cn.dev33.satoken.SaManager
 
getSameSite() - 类 中的方法cn.dev33.satoken.config.SaCookieConfig
 
getSameSite() - 类 中的方法cn.dev33.satoken.context.model.SaCookie
 
getSaSignTemplate() - 类 中的静态方法cn.dev33.satoken.SaManager
 
getSaTemp() - 类 中的静态方法cn.dev33.satoken.SaManager
 
getSaTokenContext() - 类 中的静态方法cn.dev33.satoken.SaManager
 
getSaTokenContextOrSecond() - 类 中的静态方法cn.dev33.satoken.SaManager
获取一个可用的SaTokenContext
getSaTokenDao() - 类 中的静态方法cn.dev33.satoken.SaManager
 
getSaTokenDao() - 类 中的方法cn.dev33.satoken.stp.StpLogic
返回持久化对象
getSaTokenListener() - 类 中的静态方法cn.dev33.satoken.SaManager
 
getSaTokenSecondContext() - 类 中的静态方法cn.dev33.satoken.SaManager
 
getSecure() - 类 中的方法cn.dev33.satoken.config.SaCookieConfig
 
getSecure() - 类 中的方法cn.dev33.satoken.context.model.SaCookie
 
getSession(String) - 接口 中的方法cn.dev33.satoken.dao.SaTokenDao
获取Session,如无返空
getSession(boolean) - 类 中的方法cn.dev33.satoken.stp.StpLogic
获取当前User-Session, 如果Session尚未创建,isCreate=是否新建并返回
getSession() - 类 中的方法cn.dev33.satoken.stp.StpLogic
获取当前User-Session,如果Session尚未创建,则新建并返回
getSession(boolean) - 类 中的静态方法cn.dev33.satoken.stp.StpUtil
获取当前会话的Session, 如果Session尚未创建,isCreate=是否新建并返回
getSession() - 类 中的静态方法cn.dev33.satoken.stp.StpUtil
获取当前会话的Session,如果Session尚未创建,则新建并返回
getSessionById(String, boolean) - 类 中的静态方法cn.dev33.satoken.session.SaSessionCustomUtil
获取指定key的Session
getSessionById(String) - 类 中的静态方法cn.dev33.satoken.session.SaSessionCustomUtil
获取指定key的Session, 如果此Session尚未在DB创建,则新建并返回
getSessionByLoginId(Object, boolean) - 类 中的方法cn.dev33.satoken.stp.StpLogic
获取指定账号id的User-Session, 如果Session尚未创建,isCreate=是否新建并返回
getSessionByLoginId(Object) - 类 中的方法cn.dev33.satoken.stp.StpLogic
获取指定账号id的User-Session,如果Session尚未创建,则新建并返回
getSessionByLoginId(Object, boolean) - 类 中的静态方法cn.dev33.satoken.stp.StpUtil
获取指定账号id的Session, 如果Session尚未创建,isCreate=是否新建并返回
getSessionByLoginId(Object) - 类 中的静态方法cn.dev33.satoken.stp.StpUtil
获取指定账号id的Session,如果Session尚未创建,则新建并返回
getSessionBySessionId(String, boolean) - 类 中的方法cn.dev33.satoken.stp.StpLogic
获取指定key的Session, 如果Session尚未创建,isCreate=是否新建并返回
getSessionBySessionId(String) - 类 中的方法cn.dev33.satoken.stp.StpLogic
获取指定key的Session, 如果Session尚未创建,则返回null
getSessionBySessionId(String) - 类 中的静态方法cn.dev33.satoken.stp.StpUtil
获取指定key的Session, 如果Session尚未创建,则返回null
getSessionTimeout(String) - 接口 中的方法cn.dev33.satoken.dao.SaTokenDao
获取Session剩余存活时间 (单位: 秒)
getSessionTimeout() - 类 中的方法cn.dev33.satoken.stp.SaTokenInfo
 
getSessionTimeout() - 类 中的方法cn.dev33.satoken.stp.StpLogic
获取当前登录者的 User-Session 剩余有效时间 (单位: 秒)
getSessionTimeout() - 类 中的静态方法cn.dev33.satoken.stp.StpUtil
获取当前登录者的 User-Session 剩余有效时间 (单位: 秒)
getSessionTimeoutByLoginId(Object) - 类 中的方法cn.dev33.satoken.stp.StpLogic
获取指定 loginId 的 User-Session 剩余有效时间 (单位: 秒)
getSource() - 接口 中的方法cn.dev33.satoken.context.model.SaRequest
获取底层源对象
getSource() - 接口 中的方法cn.dev33.satoken.context.model.SaResponse
获取底层源对象
getSource() - 接口 中的方法cn.dev33.satoken.context.model.SaStorage
获取底层源对象
getStorage() - 类 中的静态方法cn.dev33.satoken.context.SaHolder
获取当前请求的 [存储器] 对象
getStorage() - 接口 中的方法cn.dev33.satoken.context.SaTokenContext
获取当前请求的 [存储器] 对象
getStorage() - 类 中的方法cn.dev33.satoken.context.SaTokenContextDefaultImpl
获取当前请求的 [存储器] 对象
getStorage() - 类 中的方法cn.dev33.satoken.context.SaTokenContextForThreadLocal
 
getStorage() - 类 中的方法cn.dev33.satoken.context.SaTokenContextForThreadLocalStorage.Box
 
getStorage() - 类 中的静态方法cn.dev33.satoken.context.SaTokenContextForThreadLocalStorage
在 [Box存储器] 获取 [存储器] 对象
getStpInterface() - 类 中的静态方法cn.dev33.satoken.SaManager
 
getStpLogic(String) - 类 中的静态方法cn.dev33.satoken.SaManager
根据 LoginType 获取对应的StpLogic,如果不存在则抛出异常
getString(String) - 类 中的方法cn.dev33.satoken.session.SaSession
取值 (转String类型)
getSwitchLoginId() - 类 中的方法cn.dev33.satoken.stp.StpLogic
返回[身份临时切换]的loginId
getTag() - 类 中的方法cn.dev33.satoken.stp.SaTokenInfo
 
getTimeout() - 类 中的方法cn.dev33.satoken.config.SaTokenConfig
 
getTimeout(String) - 接口 中的方法cn.dev33.satoken.dao.SaTokenDao
获取Value的剩余存活时间 (单位: 秒)
getTimeout(String) - 类 中的方法cn.dev33.satoken.dao.SaTokenDaoDefaultImpl
 
getTimeout() - 类 中的方法cn.dev33.satoken.session.SaSession
获取此Session的剩余存活时间 (单位: 秒)
getTimeout() - 类 中的方法cn.dev33.satoken.stp.SaLoginModel
 
getTimeout(String) - 接口 中的方法cn.dev33.satoken.temp.SaTempInterface
获取指定 token 的剩余有效期,单位:秒 返回值 -1 代表永久,-2 代表token无效
getTimeout(String) - 类 中的静态方法cn.dev33.satoken.temp.SaTempUtil
获取指定 token 的剩余有效期,单位:秒 返回值 -1 代表永久,-2 代表token无效
getToken() - 类 中的方法cn.dev33.satoken.id.SaIdTemplate
获取当前Id-Token, 如果不存在,则立即创建并返回
getToken() - 类 中的静态方法cn.dev33.satoken.id.SaIdUtil
获取当前Id-Token, 如果不存在,则立即创建并返回
getToken() - 类 中的方法cn.dev33.satoken.stp.SaLoginModel
 
getTokenActivityTimeout() - 类 中的方法cn.dev33.satoken.stp.SaTokenInfo
 
getTokenActivityTimeout() - 类 中的方法cn.dev33.satoken.stp.StpLogic
获取当前 token [临时过期] 剩余有效时间 (单位: 秒)
getTokenActivityTimeout() - 类 中的静态方法cn.dev33.satoken.stp.StpUtil
获取当前 token [临时过期] 剩余有效时间 (单位: 秒)
getTokenActivityTimeoutByToken(String) - 类 中的方法cn.dev33.satoken.stp.StpLogic
获取指定 token [临时过期] 剩余有效时间 (单位: 秒)
getTokenInfo() - 类 中的方法cn.dev33.satoken.stp.StpLogic
获取当前会话的Token信息
getTokenInfo() - 类 中的静态方法cn.dev33.satoken.stp.StpUtil
获取当前会话的Token信息
getTokenName() - 类 中的方法cn.dev33.satoken.config.SaTokenConfig
 
getTokenName() - 类 中的方法cn.dev33.satoken.stp.SaTokenInfo
 
getTokenName() - 类 中的方法cn.dev33.satoken.stp.StpLogic
返回token名称
getTokenName() - 类 中的静态方法cn.dev33.satoken.stp.StpUtil
返回token名称
getTokenNh() - 类 中的方法cn.dev33.satoken.id.SaIdTemplate
获取Id-Token,不做任何处理
getTokenNh() - 类 中的静态方法cn.dev33.satoken.id.SaIdUtil
获取Id-Token,不做任何处理
getTokenPrefix() - 类 中的方法cn.dev33.satoken.config.SaTokenConfig
 
getTokenSession(boolean) - 类 中的方法cn.dev33.satoken.stp.StpLogic
获取当前Token-Session,如果Session尚未创建,isCreate代表是否新建并返回
getTokenSession() - 类 中的方法cn.dev33.satoken.stp.StpLogic
获取当前Token-Session,如果Session尚未创建,则新建并返回
getTokenSession() - 类 中的静态方法cn.dev33.satoken.stp.StpUtil
获取当前Token-Session,如果Session尚未创建,则新建并返回
getTokenSessionByToken(String, boolean) - 类 中的方法cn.dev33.satoken.stp.StpLogic
获取指定Token-Session,如果Session尚未创建,isCreate代表是否新建并返回
getTokenSessionByToken(String) - 类 中的方法cn.dev33.satoken.stp.StpLogic
获取指定Token-Session,如果Session尚未创建,则新建并返回
getTokenSessionByToken(String) - 类 中的静态方法cn.dev33.satoken.stp.StpUtil
获取指定Token-Session,如果Session尚未创建,则新建并返回
getTokenSessionCheckLogin() - 类 中的方法cn.dev33.satoken.config.SaTokenConfig
 
getTokenSessionTimeout() - 类 中的方法cn.dev33.satoken.stp.SaTokenInfo
 
getTokenSessionTimeout() - 类 中的方法cn.dev33.satoken.stp.StpLogic
获取当前 Token-Session 剩余有效时间 (单位: 秒)
getTokenSessionTimeout() - 类 中的静态方法cn.dev33.satoken.stp.StpUtil
获取当前 Token-Session 剩余有效时间 (单位: 秒)
getTokenSessionTimeoutByTokenValue(String) - 类 中的方法cn.dev33.satoken.stp.StpLogic
获取指定 Token-Session 剩余有效时间 (单位: 秒)
getTokenSign(String) - 类 中的方法cn.dev33.satoken.session.SaSession
查找一个token签名
getTokenSignList() - 类 中的方法cn.dev33.satoken.session.SaSession
此Session绑定的token签名列表
getTokenStyle() - 类 中的方法cn.dev33.satoken.config.SaTokenConfig
 
getTokenTimeout() - 类 中的方法cn.dev33.satoken.id.SaIdTemplate
获取Id-Token的剩余有效期 (单位:秒)
getTokenTimeout() - 类 中的方法cn.dev33.satoken.stp.SaTokenInfo
 
getTokenTimeout() - 类 中的方法cn.dev33.satoken.stp.StpLogic
获取当前登录者的 token 剩余有效时间 (单位: 秒)
getTokenTimeout() - 类 中的静态方法cn.dev33.satoken.stp.StpUtil
获取当前登录者的 token 剩余有效时间 (单位: 秒)
getTokenTimeoutByLoginId(Object) - 类 中的方法cn.dev33.satoken.stp.StpLogic
获取指定 loginId 的 token 剩余有效时间 (单位: 秒)
getTokenValue() - 类 中的方法cn.dev33.satoken.stp.SaTokenInfo
 
getTokenValue() - 类 中的方法cn.dev33.satoken.stp.StpLogic
获取当前TokenValue
getTokenValue() - 类 中的静态方法cn.dev33.satoken.stp.StpUtil
获取当前TokenValue
getTokenValueByLoginId(Object) - 类 中的方法cn.dev33.satoken.stp.StpLogic
获取指定账号id的tokenValue 在配置为允许并发登录时,此方法只会返回队列的最后一个token, 如果你需要返回此账号id的所有token,请调用 getTokenValueListByLoginId
getTokenValueByLoginId(Object, String) - 类 中的方法cn.dev33.satoken.stp.StpLogic
获取指定账号id指定设备类型端的tokenValue 在配置为允许并发登录时,此方法只会返回队列的最后一个token, 如果你需要返回此账号id的所有token,请调用 getTokenValueListByLoginId
getTokenValueByLoginId(Object) - 类 中的静态方法cn.dev33.satoken.stp.StpUtil
获取指定账号id的tokenValue 在配置为允许并发登录时,此方法只会返回队列的最后一个token, 如果你需要返回此账号id的所有token,请调用 getTokenValueListByLoginId
getTokenValueByLoginId(Object, String) - 类 中的静态方法cn.dev33.satoken.stp.StpUtil
获取指定账号id指定设备类型端的tokenValue 在配置为允许并发登录时,此方法只会返回队列的最后一个token, 如果你需要返回此账号id的所有token,请调用 getTokenValueListByLoginId
getTokenValueListByLoginId(Object) - 类 中的方法cn.dev33.satoken.stp.StpLogic
获取指定账号id的tokenValue集合
getTokenValueListByLoginId(Object, String) - 类 中的方法cn.dev33.satoken.stp.StpLogic
获取指定账号id指定设备类型端的tokenValue 集合
getTokenValueListByLoginId(Object) - 类 中的静态方法cn.dev33.satoken.stp.StpUtil
获取指定账号id的tokenValue集合
getTokenValueListByLoginId(Object, String) - 类 中的静态方法cn.dev33.satoken.stp.StpUtil
获取指定账号id指定设备类型端的tokenValue 集合
getTokenValueNotCut() - 类 中的方法cn.dev33.satoken.stp.StpLogic
获取当前TokenValue (不裁剪前缀)
getTokenValueNotCut() - 类 中的静态方法cn.dev33.satoken.stp.StpUtil
获取当前TokenValue (不裁剪前缀)
getType() - 异常错误 中的方法cn.dev33.satoken.exception.NotLoginException
获取异常类型
getUrl() - 接口 中的方法cn.dev33.satoken.context.model.SaRequest
返回当前请求的url,不带query参数,例:http://xxx.com/test
getValue() - 类 中的方法cn.dev33.satoken.context.model.SaCookie
 
getValue() - 类 中的方法cn.dev33.satoken.session.TokenSign
 
getValueByDefaultValue(Object, T) - 类 中的方法cn.dev33.satoken.session.SaSession
根据默认值来获取值
getValueByType(Object, Class<T>) - 类 中的静态方法cn.dev33.satoken.util.SaFoxUtil
将指定值转化为指定类型
GITEE_URL - 类 中的静态变量cn.dev33.satoken.util.SaTokenConsts
Sa-Token 开源地址 Gitee
GITHUB_URL - 类 中的静态变量cn.dev33.satoken.util.SaTokenConsts
Sa-Token 开源地址 GitHub

H

has(String) - 类 中的方法cn.dev33.satoken.session.SaSession
是否含有某个key
hasElement(List<String>, String) - 类 中的方法cn.dev33.satoken.stp.StpLogic
判断:集合中是否包含指定元素(模糊匹配)
hasElement - 类 中的变量cn.dev33.satoken.strategy.SaStrategy
判断:集合中是否包含指定元素(模糊匹配) 参数 [集合, 元素]
hashpw(String) - 类 中的静态方法cn.dev33.satoken.secure.BCrypt
生成密文,使用长度为10的加盐方式
hashpw(String, String) - 类 中的静态方法cn.dev33.satoken.secure.BCrypt
生成密文
hasParam(String) - 接口 中的方法cn.dev33.satoken.context.model.SaRequest
检测请求是否提供了指定参数
hasPermission(String) - 类 中的方法cn.dev33.satoken.stp.StpLogic
判断:当前账号是否含有指定权限, 返回true或false
hasPermission(Object, String) - 类 中的方法cn.dev33.satoken.stp.StpLogic
判断:指定账号id是否含有指定权限, 返回true或false
hasPermission(String) - 类 中的静态方法cn.dev33.satoken.stp.StpUtil
判断:当前账号是否含有指定权限, 返回true或false
hasPermission(Object, String) - 类 中的静态方法cn.dev33.satoken.stp.StpUtil
判断:指定账号id是否含有指定权限, 返回true或false
hasPermissionAnd(String...) - 类 中的方法cn.dev33.satoken.stp.StpLogic
判断:当前账号是否含有指定权限, [指定多个,必须全部具有]
hasPermissionAnd(String...) - 类 中的静态方法cn.dev33.satoken.stp.StpUtil
判断:当前账号是否含有指定权限, [指定多个,必须全部具有]
hasPermissionOr(String...) - 类 中的方法cn.dev33.satoken.stp.StpLogic
判断:当前账号是否含有指定权限 [指定多个,只要其一验证通过即可]
hasPermissionOr(String...) - 类 中的静态方法cn.dev33.satoken.stp.StpUtil
判断:当前账号是否含有指定权限 [指定多个,只要其一验证通过即可]
hasRole(String) - 类 中的方法cn.dev33.satoken.stp.StpLogic
判断:当前账号是否拥有指定角色, 返回true或false
hasRole(Object, String) - 类 中的方法cn.dev33.satoken.stp.StpLogic
判断:指定账号是否含有指定角色标识, 返回true或false
hasRole(String) - 类 中的静态方法cn.dev33.satoken.stp.StpUtil
判断:当前账号是否拥有指定角色, 返回true或false
hasRole(Object, String) - 类 中的静态方法cn.dev33.satoken.stp.StpUtil
判断:指定账号是否含有指定角色标识, 返回true或false
hasRoleAnd(String...) - 类 中的方法cn.dev33.satoken.stp.StpLogic
判断:当前账号是否含有指定角色标识 [指定多个,必须全部验证通过]
hasRoleAnd(String...) - 类 中的静态方法cn.dev33.satoken.stp.StpUtil
判断:当前账号是否含有指定角色标识 [指定多个,必须全部验证通过]
hasRoleOr(String...) - 类 中的方法cn.dev33.satoken.stp.StpLogic
判断:当前账号是否含有指定角色标识 [指定多个,只要其一验证通过即可]
hasRoleOr(String...) - 类 中的静态方法cn.dev33.satoken.stp.StpUtil
判断:当前账号是否含有指定角色标识 [指定多个,只要其一验证通过即可]
HEADER_NAME - 类 中的静态变量cn.dev33.satoken.context.model.SaCookie
写入响应头时使用的key

I

ID_TOKEN - 类 中的静态变量cn.dev33.satoken.id.SaIdTemplate
在 Request 上储存 Id-Token 时建议使用的key
ID_TOKEN - 类 中的静态变量cn.dev33.satoken.id.SaIdUtil
在 Request 上储存 Id-Token 时建议使用的key
IdTokenInvalidException - cn.dev33.satoken.exception中的异常错误
一个异常:代表提供的 Id-Token 无效
IdTokenInvalidException(String) - 异常错误 的构造器cn.dev33.satoken.exception.IdTokenInvalidException
一个异常:代表提供的 Id-Token 无效
initRefreshThread() - 类 中的方法cn.dev33.satoken.dao.SaTokenDaoDefaultImpl
初始化定时任务
INVALID_TOKEN - 异常错误 中的静态变量cn.dev33.satoken.exception.NotLoginException
表示token无效
INVALID_TOKEN_MESSAGE - 异常错误 中的静态变量cn.dev33.satoken.exception.NotLoginException
 
isAjax() - 接口 中的方法cn.dev33.satoken.context.model.SaRequest
此请求是否为Ajax请求
isDisable(Object) - 类 中的方法cn.dev33.satoken.stp.StpLogic
指定账号是否已被封禁 (true=已被封禁, false=未被封禁)
isDisable(Object) - 类 中的静态方法cn.dev33.satoken.stp.StpUtil
指定账号是否已被封禁 (true=已被封禁, false=未被封禁)
isEmpty(Object) - 类 中的静态方法cn.dev33.satoken.util.SaFoxUtil
指定元素是否为null或者空字符串
isExists(String) - 类 中的静态方法cn.dev33.satoken.session.SaSessionCustomUtil
指定key的Session是否存在
isHit - 类 中的变量cn.dev33.satoken.router.SaRouterStaff
是否命中的标记变量
isHit() - 类 中的方法cn.dev33.satoken.router.SaRouterStaff
 
isLastingCookie - 类 中的变量cn.dev33.satoken.stp.SaLoginModel
是否为持久Cookie(临时Cookie在浏览器关闭时会自动删除,持久Cookie在重新打开后依然存在)
isLogin - 类 中的变量cn.dev33.satoken.stp.SaTokenInfo
此token是否已经登录
isLogin() - 类 中的方法cn.dev33.satoken.stp.StpLogic
当前会话是否已经登录
isLogin() - 类 中的静态方法cn.dev33.satoken.stp.StpUtil
当前会话是否已经登录
isMatch(String, String) - 类 中的静态方法cn.dev33.satoken.router.SaRouter
路由匹配
isMatch(List<String>, String) - 类 中的静态方法cn.dev33.satoken.router.SaRouter
路由匹配
isMatch(String[], String) - 类 中的静态方法cn.dev33.satoken.router.SaRouter
路由匹配
isMatch(SaHttpMethod[], String) - 类 中的静态方法cn.dev33.satoken.router.SaRouter
Http请求方法匹配
isMatch(String, String) - 类 中的静态方法cn.dev33.satoken.router.SaRouterUtil
已过时。
校验指定路由匹配符是否可以匹配成功指定路径
isMatch(List<String>, String) - 类 中的静态方法cn.dev33.satoken.router.SaRouterUtil
已过时。
校验指定路由匹配符是否可以匹配成功指定路径
isMatchCurrMethod(SaHttpMethod[]) - 类 中的静态方法cn.dev33.satoken.router.SaRouter
Http请求方法匹配 (使用当前请求方式)
isMatchCurrURI(String) - 类 中的静态方法cn.dev33.satoken.router.SaRouter
路由匹配 (使用当前URI)
isMatchCurrURI(List<String>) - 类 中的静态方法cn.dev33.satoken.router.SaRouter
路由匹配 (使用当前URI)
isMatchCurrURI(String[]) - 类 中的静态方法cn.dev33.satoken.router.SaRouter
路由匹配 (使用当前URI)
isMatchCurrURI(String) - 类 中的静态方法cn.dev33.satoken.router.SaRouterUtil
已过时。
校验指定路由匹配符是否可以匹配成功当前URI
isMatchCurrURI(List<String>) - 类 中的静态方法cn.dev33.satoken.router.SaRouterUtil
已过时。
校验指定路由匹配符是否可以匹配成功当前URI
isNotEmpty(Object) - 类 中的静态方法cn.dev33.satoken.util.SaFoxUtil
指定元素是否不为 (null或者空字符串)
isOpenActivityCheck() - 类 中的方法cn.dev33.satoken.stp.StpLogic
返回全局配置是否开启了Token 活跃校验
isParam(String, String) - 接口 中的方法cn.dev33.satoken.context.model.SaRequest
检测提供的参数是否为指定值
isPath(String) - 接口 中的方法cn.dev33.satoken.context.model.SaRequest
返回当前请求path是否为指定值
isRun - 类 中的变量cn.dev33.satoken.fun.IsRunFunction
变量
IsRunFunction - cn.dev33.satoken.fun中的类
根据Boolean变量,决定是否执行一个函数
IsRunFunction(boolean) - 类 的构造器cn.dev33.satoken.fun.IsRunFunction
设定一个变量,如果为true,则执行exe函数
isSafe() - 类 中的方法cn.dev33.satoken.stp.StpLogic
当前会话 是否处于二级认证时间内
isSafe() - 类 中的静态方法cn.dev33.satoken.stp.StpUtil
当前会话 是否处于二级认证时间内
isSwitch() - 类 中的方法cn.dev33.satoken.stp.StpLogic
当前是否正处于[身份临时切换]中
isSwitch() - 类 中的静态方法cn.dev33.satoken.stp.StpUtil
当前是否正处于[身份临时切换]中
isUrl(String) - 类 中的静态方法cn.dev33.satoken.util.SaFoxUtil
使用正则表达式判断一个字符串是否为URL
isValid() - 接口 中的方法cn.dev33.satoken.context.SaTokenContext
此上下文是否有效
isValid() - 类 中的方法cn.dev33.satoken.context.SaTokenContextForThreadLocal
 
isValid(String) - 类 中的方法cn.dev33.satoken.id.SaIdTemplate
判断一个Id-Token是否有效
isValid(String) - 类 中的静态方法cn.dev33.satoken.id.SaIdUtil
判断一个Id-Token是否有效
isValidLoginId(Object) - 类 中的方法cn.dev33.satoken.stp.StpLogic
判断一个 loginId 是否是有效的

J

joinParam(String, String) - 类 中的静态方法cn.dev33.satoken.util.SaFoxUtil
在url上拼接上kv参数并返回
joinParam(String, String, Object) - 类 中的静态方法cn.dev33.satoken.util.SaFoxUtil
在url上拼接上kv参数并返回
joinParams(Map<String, Object>) - 接口 中的方法cn.dev33.satoken.sign.SaSignTemplate
将所有参数连接成一个字符串
joinSharpParam(String, String) - 类 中的静态方法cn.dev33.satoken.util.SaFoxUtil
在url上拼接锚参数
joinSharpParam(String, String, Object) - 类 中的静态方法cn.dev33.satoken.util.SaFoxUtil
在url上拼接锚参数
JUST_CREATED - 类 中的静态变量cn.dev33.satoken.util.SaTokenConsts
常量key标记: 如果token为本次请求新创建的,则以此字符串为key存储在当前request中
JUST_CREATED_NOT_PREFIX - 类 中的静态变量cn.dev33.satoken.util.SaTokenConsts
常量key标记: 如果token为本次请求新创建的,则以此字符串为key存储在当前request中(不拼接前缀,纯Token)
JUST_CREATED_SAVE_KEY - 类 中的静态变量cn.dev33.satoken.util.SaTokenConsts
已过时。

K

keys() - 类 中的方法cn.dev33.satoken.session.SaSession
返回当前Session的所有key
KICK_OUT - 异常错误 中的静态变量cn.dev33.satoken.exception.NotLoginException
表示token已被踢下线
KICK_OUT_MESSAGE - 异常错误 中的静态变量cn.dev33.satoken.exception.NotLoginException
 
kickout(Object) - 类 中的方法cn.dev33.satoken.stp.StpLogic
踢人下线,根据账号id 当对方再次访问系统时,会抛出NotLoginException异常,场景值=-5
kickout(Object, String) - 类 中的方法cn.dev33.satoken.stp.StpLogic
踢人下线,根据账号id 和 设备类型 当对方再次访问系统时,会抛出NotLoginException异常,场景值=-5
kickout(Object) - 类 中的静态方法cn.dev33.satoken.stp.StpUtil
踢人下线,根据账号id 当对方再次访问系统时,会抛出NotLoginException异常,场景值=-5
kickout(Object, String) - 类 中的静态方法cn.dev33.satoken.stp.StpUtil
踢人下线,根据账号id 和 设备类型 当对方再次访问系统时,会抛出NotLoginException异常,场景值=-5
kickoutByTokenValue(String) - 类 中的方法cn.dev33.satoken.stp.StpLogic
踢人下线,根据指定 Token 当对方再次访问系统时,会抛出NotLoginException异常,场景值=-5
kickoutByTokenValue(String) - 类 中的静态方法cn.dev33.satoken.stp.StpUtil
踢人下线,根据指定 Token 当对方再次访问系统时,会抛出NotLoginException异常,场景值=-5

L

LOG_PREFIX - 类 中的静态变量cn.dev33.satoken.listener.SaTokenListenerDefaultImpl
日志输出的前缀
login(Object) - 类 中的方法cn.dev33.satoken.stp.StpLogic
会话登录
login(Object, String) - 类 中的方法cn.dev33.satoken.stp.StpLogic
会话登录,并指定登录设备类型
login(Object, boolean) - 类 中的方法cn.dev33.satoken.stp.StpLogic
会话登录,并指定是否 [记住我]
login(Object, SaLoginModel) - 类 中的方法cn.dev33.satoken.stp.StpLogic
会话登录,并指定所有登录参数Model
login(Object) - 类 中的静态方法cn.dev33.satoken.stp.StpUtil
会话登录
login(Object, String) - 类 中的静态方法cn.dev33.satoken.stp.StpUtil
会话登录,并指定登录设备类型
login(Object, boolean) - 类 中的静态方法cn.dev33.satoken.stp.StpUtil
会话登录,并指定是否 [记住我]
login(Object, SaLoginModel) - 类 中的静态方法cn.dev33.satoken.stp.StpUtil
会话登录,并指定所有登录参数Model
loginDevice - 类 中的变量cn.dev33.satoken.stp.SaTokenInfo
登录设备类型
loginId - 类 中的变量cn.dev33.satoken.stp.SaTokenInfo
此token对应的LoginId,未登录时为null
loginType - 类 中的变量cn.dev33.satoken.stp.SaTokenInfo
账号类型
loginType - 类 中的变量cn.dev33.satoken.stp.StpLogic
账号类型,多账号体系时以此值区分,比如:login、user、admin
logout() - 类 中的方法cn.dev33.satoken.session.SaSession
注销Session (从持久库删除)
logout() - 类 中的方法cn.dev33.satoken.stp.StpLogic
会话注销
logout(Object) - 类 中的方法cn.dev33.satoken.stp.StpLogic
会话注销,根据账号id
logout(Object, String) - 类 中的方法cn.dev33.satoken.stp.StpLogic
会话注销,根据账号id 和 设备类型
logout() - 类 中的静态方法cn.dev33.satoken.stp.StpUtil
会话注销
logout(Object) - 类 中的静态方法cn.dev33.satoken.stp.StpUtil
会话注销,根据账号id
logout(Object, String) - 类 中的静态方法cn.dev33.satoken.stp.StpUtil
会话注销,根据账号id 和 设备类型
logoutByLoginId(Object) - 类 中的方法cn.dev33.satoken.stp.StpLogic
已过时。
logoutByLoginId(Object, String) - 类 中的方法cn.dev33.satoken.stp.StpLogic
已过时。
logoutByLoginId(Object) - 类 中的静态方法cn.dev33.satoken.stp.StpUtil
已过时。
logoutByLoginId(Object, String) - 类 中的静态方法cn.dev33.satoken.stp.StpUtil
已过时。
logoutByMaxLoginCount(Object, SaSession, String, int) - 类 中的方法cn.dev33.satoken.stp.StpLogic
会话注销,根据账号id 和 设备类型 和 最大同时在线数量
logoutByTokenSignCountToZero() - 类 中的方法cn.dev33.satoken.session.SaSession
当Session上的tokenSign数量为零时,注销会话
logoutByTokenValue(String) - 类 中的方法cn.dev33.satoken.stp.StpLogic
会话注销,根据指定 Token
logoutByTokenValue(String) - 类 中的静态方法cn.dev33.satoken.stp.StpUtil
会话注销,根据指定 Token

M

match(String...) - 类 中的静态方法cn.dev33.satoken.router.SaRouter
路由匹配
match(List<String>) - 类 中的静态方法cn.dev33.satoken.router.SaRouter
路由匹配
match(SaHttpMethod...) - 类 中的静态方法cn.dev33.satoken.router.SaRouter
Http请求方式匹配 (Enum)
match(boolean) - 类 中的静态方法cn.dev33.satoken.router.SaRouter
根据 boolean 值进行匹配
match(SaParamRetFunction<Object, Boolean>) - 类 中的静态方法cn.dev33.satoken.router.SaRouter
根据自定义方法进行匹配 (lazy)
match(String, SaFunction) - 类 中的静态方法cn.dev33.satoken.router.SaRouter
路由匹配,如果匹配成功则执行认证函数
match(String, SaParamFunction<SaRouterStaff>) - 类 中的静态方法cn.dev33.satoken.router.SaRouter
路由匹配,如果匹配成功则执行认证函数
match(String, String, SaFunction) - 类 中的静态方法cn.dev33.satoken.router.SaRouter
路由匹配 (并指定排除匹配符),如果匹配成功则执行认证函数
match(String, String, SaParamFunction<SaRouterStaff>) - 类 中的静态方法cn.dev33.satoken.router.SaRouter
路由匹配 (并指定排除匹配符),如果匹配成功则执行认证函数
match(List<String>, SaFunction) - 类 中的静态方法cn.dev33.satoken.router.SaRouter
已过时。
match(List<String>, List<String>, SaFunction) - 类 中的静态方法cn.dev33.satoken.router.SaRouter
已过时。
match(String...) - 类 中的方法cn.dev33.satoken.router.SaRouterStaff
路由匹配
match(List<String>) - 类 中的方法cn.dev33.satoken.router.SaRouterStaff
路由匹配
match(SaHttpMethod...) - 类 中的方法cn.dev33.satoken.router.SaRouterStaff
Http请求方法匹配 (Enum)
match(boolean) - 类 中的方法cn.dev33.satoken.router.SaRouterStaff
根据 boolean 值进行匹配
match(SaParamRetFunction<Object, Boolean>) - 类 中的方法cn.dev33.satoken.router.SaRouterStaff
根据自定义方法进行匹配 (lazy)
match(String, SaFunction) - 类 中的方法cn.dev33.satoken.router.SaRouterStaff
路由匹配,如果匹配成功则执行认证函数
match(String, SaParamFunction<SaRouterStaff>) - 类 中的方法cn.dev33.satoken.router.SaRouterStaff
路由匹配,如果匹配成功则执行认证函数
match(String, String, SaFunction) - 类 中的方法cn.dev33.satoken.router.SaRouterStaff
路由匹配 (并指定排除匹配符),如果匹配成功则执行认证函数
match(String, String, SaParamFunction<SaRouterStaff>) - 类 中的方法cn.dev33.satoken.router.SaRouterStaff
路由匹配 (并指定排除匹配符),如果匹配成功则执行认证函数
match(String, SaFunction) - 类 中的静态方法cn.dev33.satoken.router.SaRouterUtil
已过时。
使用路由匹配符与当前URI执行匹配,如果匹配成功则执行验证函数
match(String, String, SaFunction) - 类 中的静态方法cn.dev33.satoken.router.SaRouterUtil
已过时。
使用路由匹配符与当前URI执行匹配 (并指定排除匹配符),如果匹配成功则执行验证函数
match(List<String>, SaFunction) - 类 中的静态方法cn.dev33.satoken.router.SaRouterUtil
已过时。
使用路由匹配符集合与当前URI执行匹配,如果匹配成功则执行验证函数
match(List<String>, List<String>, SaFunction) - 类 中的静态方法cn.dev33.satoken.router.SaRouterUtil
已过时。
使用路由匹配符集合与当前URI执行匹配 (并指定排除匹配符),如果匹配成功则执行验证函数
match(String...) - 类 中的静态方法cn.dev33.satoken.router.SaRouterUtil
已过时。
使用路由匹配符集合与当前URI执行匹配,如果匹配成功则执行验证函数
matchMethod(String...) - 类 中的静态方法cn.dev33.satoken.router.SaRouter
Http请求方法匹配 (String)
matchMethod(String...) - 类 中的方法cn.dev33.satoken.router.SaRouterStaff
Http请求方法匹配 (String)
matchPath(String, String) - 接口 中的方法cn.dev33.satoken.context.SaTokenContext
校验指定路由匹配符是否可以匹配成功指定路径
matchPath(String, String) - 类 中的方法cn.dev33.satoken.context.SaTokenContextDefaultImpl
校验指定路由匹配符是否可以匹配成功指定路径
matchPath(String, String) - 类 中的方法cn.dev33.satoken.context.SaTokenContextForThreadLocal
 
md5(String) - 类 中的静态方法cn.dev33.satoken.secure.SaSecureUtil
md5加密
md5BySalt(String, String) - 类 中的静态方法cn.dev33.satoken.secure.SaSecureUtil
md5加盐加密: md5(md5(str) + md5(salt))
me - 类 中的静态变量cn.dev33.satoken.strategy.SaStrategy
获取 SaStrategy 对象的单例引用

N

NEVER_EXPIRE - 接口 中的静态变量cn.dev33.satoken.dao.SaTokenDao
常量,表示一个key永不过期 (在一个key被标注为永远不过期时返回此值)
newInstance(String, String) - 异常错误 中的静态方法cn.dev33.satoken.exception.NotLoginException
静态方法构建一个NotLoginException
newInstance(String, String, String) - 异常错误 中的静态方法cn.dev33.satoken.exception.NotLoginException
静态方法构建一个NotLoginException
newMatch() - 类 中的静态方法cn.dev33.satoken.router.SaRouter
初始化一个SaRouterStaff,开始匹配
noExe(SaFunction) - 类 中的方法cn.dev33.satoken.fun.IsRunFunction
当 isRun == false 时执行此函数
NOT_TOKEN - 异常错误 中的静态变量cn.dev33.satoken.exception.NotLoginException
表示未提供token
NOT_TOKEN_MESSAGE - 异常错误 中的静态变量cn.dev33.satoken.exception.NotLoginException
 
NOT_VALUE_EXPIRE - 接口 中的静态变量cn.dev33.satoken.dao.SaTokenDao
常量,表示系统中不存在这个缓存 (在对不存在的key获取剩余存活时间时返回此值)
NotBasicAuthException - cn.dev33.satoken.exception中的异常错误
一个异常:代表会话未能通过 Http Basic 认证
NotBasicAuthException() - 异常错误 的构造器cn.dev33.satoken.exception.NotBasicAuthException
一个异常:代表会话未通过 Http Basic 认证
NotLoginException - cn.dev33.satoken.exception中的异常错误
一个异常:代表会话未能通过登录认证
NotLoginException(String, String, String) - 异常错误 的构造器cn.dev33.satoken.exception.NotLoginException
构造方法创建一个
notMatch(String...) - 类 中的静态方法cn.dev33.satoken.router.SaRouter
路由匹配排除
notMatch(List<String>) - 类 中的静态方法cn.dev33.satoken.router.SaRouter
路由匹配排除
notMatch(SaHttpMethod...) - 类 中的静态方法cn.dev33.satoken.router.SaRouter
Http请求方法匹配排除 (Enum)
notMatch(boolean) - 类 中的静态方法cn.dev33.satoken.router.SaRouter
根据 boolean 值进行匹配排除
notMatch(SaParamRetFunction<Object, Boolean>) - 类 中的静态方法cn.dev33.satoken.router.SaRouter
根据自定义方法进行匹配排除 (lazy)
notMatch(String...) - 类 中的方法cn.dev33.satoken.router.SaRouterStaff
路由匹配排除
notMatch(List<String>) - 类 中的方法cn.dev33.satoken.router.SaRouterStaff
路由匹配排除
notMatch(SaHttpMethod...) - 类 中的方法cn.dev33.satoken.router.SaRouterStaff
Http请求方法匹配排除 (Enum)
notMatch(boolean) - 类 中的方法cn.dev33.satoken.router.SaRouterStaff
根据 boolean 值进行匹配排除
notMatch(SaParamRetFunction<Object, Boolean>) - 类 中的方法cn.dev33.satoken.router.SaRouterStaff
根据自定义方法进行匹配排除 (lazy)
notMatchMethod(String...) - 类 中的静态方法cn.dev33.satoken.router.SaRouter
Http请求方法匹配排除 (String)
notMatchMethod(String...) - 类 中的方法cn.dev33.satoken.router.SaRouterStaff
Http请求方法匹配排除 (String)
NotPermissionException - cn.dev33.satoken.exception中的异常错误
一个异常:代表会话未能通过权限认证
NotPermissionException(String) - 异常错误 的构造器cn.dev33.satoken.exception.NotPermissionException
 
NotPermissionException(String, String) - 异常错误 的构造器cn.dev33.satoken.exception.NotPermissionException
 
NotRoleException - cn.dev33.satoken.exception中的异常错误
一个异常:代表会话未能通过角色认证
NotRoleException(String) - 异常错误 的构造器cn.dev33.satoken.exception.NotRoleException
 
NotRoleException(String, String) - 异常错误 的构造器cn.dev33.satoken.exception.NotRoleException
 
NotSafeException - cn.dev33.satoken.exception中的异常错误
一个异常:代表会话未能通过二级认证
NotSafeException() - 异常错误 的构造器cn.dev33.satoken.exception.NotSafeException
一个异常:代表会话未通过二级认证

O

ok() - 类 中的静态方法cn.dev33.satoken.util.SaResult
 
ok(String) - 类 中的静态方法cn.dev33.satoken.util.SaResult
 
openSafe(long) - 类 中的方法cn.dev33.satoken.stp.StpLogic
在当前会话 开启二级认证
openSafe(long) - 类 中的静态方法cn.dev33.satoken.stp.StpUtil
在当前会话 开启二级认证

P

parseJsonToMap(String) - 接口 中的方法cn.dev33.satoken.json.SaJsonTemplate
解析 json 字符串为map对象
parseJsonToMap(String) - 类 中的方法cn.dev33.satoken.json.SaJsonTemplateDefaultImpl
将 json 字符串解析为 Map
parseToken(String) - 接口 中的方法cn.dev33.satoken.temp.SaTempInterface
解析token获取value
parseToken(String, Class<T>) - 接口 中的方法cn.dev33.satoken.temp.SaTempInterface
解析token获取value,并转换为指定类型
parseToken(String) - 类 中的静态方法cn.dev33.satoken.temp.SaTempUtil
解析token获取value
parseToken(String, Class<T>) - 类 中的静态方法cn.dev33.satoken.temp.SaTempUtil
解析token获取value,并转换为指定类型
PERMISSION_LIST - 类 中的静态变量cn.dev33.satoken.session.SaSession
在 Session 上存储权限时建议使用的key
println(String) - 类 中的方法cn.dev33.satoken.listener.SaTokenListenerDefaultImpl
打印指定字符串
printSaToken() - 类 中的静态方法cn.dev33.satoken.util.SaFoxUtil
打印 Sa-Token 版本字符画
putStpLogic(StpLogic) - 类 中的静态方法cn.dev33.satoken.SaManager
向集合中 put 一个 StpLogic

R

redirect(String) - 接口 中的方法cn.dev33.satoken.context.model.SaResponse
重定向
refreshDataMap() - 类 中的方法cn.dev33.satoken.dao.SaTokenDaoDefaultImpl
清理所有已经过期的key
refreshDataMap(Map<String, Object>) - 类 中的方法cn.dev33.satoken.session.SaSession
写入数据集合 (不改变底层对象,只将此dataMap所有数据进行替换)
refreshFlag - 类 中的变量cn.dev33.satoken.dao.SaTokenDaoDefaultImpl
是否继续执行数据清理的线程标记
refreshThread - 类 中的变量cn.dev33.satoken.dao.SaTokenDaoDefaultImpl
执行数据清理的线程
refreshToken() - 类 中的方法cn.dev33.satoken.id.SaIdTemplate
刷新一次Id-Token (注意集群环境中不要多个服务重复调用)
refreshToken() - 类 中的静态方法cn.dev33.satoken.id.SaIdUtil
刷新一次Id-Token (注意集群环境中不要多个服务重复调用)
removeAttribute(String) - 类 中的方法cn.dev33.satoken.session.SaSession
已过时。
removeTokenSign(String) - 类 中的方法cn.dev33.satoken.session.SaSession
移除一个token签名
renewTimeout(long) - 类 中的方法cn.dev33.satoken.stp.StpLogic
对当前 Token 的 timeout 值进行续期
renewTimeout(String, long) - 类 中的方法cn.dev33.satoken.stp.StpLogic
对指定 Token 的 timeout 值进行续期
renewTimeout(long) - 类 中的静态方法cn.dev33.satoken.stp.StpUtil
对当前 Token 的 timeout 值进行续期
renewTimeout(String, long) - 类 中的静态方法cn.dev33.satoken.stp.StpUtil
对指定 Token 的 timeout 值进行续期
replaced(Object, String) - 类 中的方法cn.dev33.satoken.stp.StpLogic
顶人下线,根据账号id 和 设备类型 当对方再次访问系统时,会抛出NotLoginException异常,场景值=-4
replaced(Object, String) - 类 中的静态方法cn.dev33.satoken.stp.StpUtil
顶人下线,根据账号id 和 设备类型 当对方再次访问系统时,会抛出NotLoginException异常,场景值=-4
request - 类 中的变量cn.dev33.satoken.context.SaTokenContextForThreadLocalStorage.Box
 
reset() - 类 中的方法cn.dev33.satoken.router.SaRouterStaff
重置命中标记为 true
response - 类 中的变量cn.dev33.satoken.context.SaTokenContextForThreadLocalStorage.Box
 
result - 异常错误 中的变量cn.dev33.satoken.exception.BackResultException
要输出的结果
ROLE_LIST - 类 中的静态变量cn.dev33.satoken.session.SaSession
在 Session 上存储角色时建议使用的key
rsaDecryptByPrivate(String, String) - 类 中的静态方法cn.dev33.satoken.secure.SaSecureUtil
RSA私钥解密
rsaDecryptByPublic(String, String) - 类 中的静态方法cn.dev33.satoken.secure.SaSecureUtil
RSA公钥解密
rsaEncryptByPrivate(String, String) - 类 中的静态方法cn.dev33.satoken.secure.SaSecureUtil
RSA私钥加密
rsaEncryptByPublic(String, String) - 类 中的静态方法cn.dev33.satoken.secure.SaSecureUtil
RSA公钥加密
rsaGenerateKeyPair() - 类 中的静态方法cn.dev33.satoken.secure.SaSecureUtil
生成密钥对
run(Object) - 接口 中的方法cn.dev33.satoken.filter.SaFilterAuthStrategy
执行方法
run(Throwable) - 接口 中的方法cn.dev33.satoken.filter.SaFilterErrorStrategy
执行方法
run() - 接口 中的方法cn.dev33.satoken.fun.SaFunction
执行的方法
run(T) - 接口 中的方法cn.dev33.satoken.fun.SaParamFunction
执行的方法
run(T) - 接口 中的方法cn.dev33.satoken.fun.SaParamRetFunction
执行的方法
run() - 接口 中的方法cn.dev33.satoken.fun.SaRetFunction
执行的方法
run(SaRequest, SaResponse, Object) - 接口 中的方法cn.dev33.satoken.router.SaRouteFunction
执行验证的方法

S

SaBase64Util - cn.dev33.satoken.secure中的类
Sa-Token Base64工具类
SaBase64Util() - 类 的构造器cn.dev33.satoken.secure.SaBase64Util
 
SaBasicTemplate - cn.dev33.satoken.basic中的类
Sa-Token Http Basic 认证模块
SaBasicTemplate() - 类 的构造器cn.dev33.satoken.basic.SaBasicTemplate
 
saBasicTemplate - 类 中的静态变量cn.dev33.satoken.basic.SaBasicUtil
底层 SaBasicTemplate 对象
SaBasicUtil - cn.dev33.satoken.basic中的类
Sa-Token Http Basic 认证 Util
SaBasicUtil() - 类 的构造器cn.dev33.satoken.basic.SaBasicUtil
 
SaCheckBasic - cn.dev33.satoken.annotation中的注释类型
Http Basic 认证:只有通过 Basic 认证后才能进入该方法 可标注在函数、类上(效果等同于标注在此类的所有方法上)
SaCheckLogin - cn.dev33.satoken.annotation中的注释类型
登录认证:只有登录之后才能进入该方法 可标注在函数、类上(效果等同于标注在此类的所有方法上)
SaCheckPermission - cn.dev33.satoken.annotation中的注释类型
权限认证:必须具有指定权限才能进入该方法 可标注在函数、类上(效果等同于标注在此类的所有方法上)
SaCheckRole - cn.dev33.satoken.annotation中的注释类型
角色认证:必须具有指定角色标识才能进入该方法 可标注在函数、类上(效果等同于标注在此类的所有方法上)
SaCheckSafe - cn.dev33.satoken.annotation中的注释类型
二级认证校验:必须二级认证之后才能进入该方法 可标注在函数、类上(效果等同于标注在此类的所有方法上)
SaCookie - cn.dev33.satoken.context.model中的类
Cookie Model
SaCookie() - 类 的构造器cn.dev33.satoken.context.model.SaCookie
构造一个
SaCookie(String, String) - 类 的构造器cn.dev33.satoken.context.model.SaCookie
构造一个
SaCookieConfig - cn.dev33.satoken.config中的类
Sa-Token Cookie写入 相关配置
SaCookieConfig() - 类 的构造器cn.dev33.satoken.config.SaCookieConfig
 
SaExceptionCode - cn.dev33.satoken.exception中的类
定义所有异常细分状态码
SaExceptionCode() - 类 的构造器cn.dev33.satoken.exception.SaExceptionCode
 
SAFE_AUTH_SAVE_KEY - 类 中的静态变量cn.dev33.satoken.util.SaTokenConsts
常量key标记: 在进行Token二级验证时使用的key
SaFilterAuthStrategy - cn.dev33.satoken.filter中的接口
Sa-Token全局过滤器-认证策略
SaFilterErrorStrategy - cn.dev33.satoken.filter中的接口
Sa-Token全局过滤器-异常处理策略
SaFoxUtil - cn.dev33.satoken.util中的类
Sa-Token 内部工具类
SaFoxUtil() - 类 的构造器cn.dev33.satoken.util.SaFoxUtil
 
SaFunction - cn.dev33.satoken.fun中的接口
设定一个函数,方便在Lambda表达式下的函数式编程
SaHolder - cn.dev33.satoken.context中的类
Sa-Token 上下文持有类
SaHolder() - 类 的构造器cn.dev33.satoken.context.SaHolder
 
SaHttpMethod - cn.dev33.satoken.router中的枚举
Http 请求各种请求类型的枚举表示 参考:Spring - HttpMethod
SaIdTemplate - cn.dev33.satoken.id中的类
Sa-Token-Id 身份凭证模块 身份凭证的获取与校验,可用于微服务内部调用鉴权
SaIdTemplate() - 类 的构造器cn.dev33.satoken.id.SaIdTemplate
 
saIdTemplate - 类 中的静态变量cn.dev33.satoken.id.SaIdUtil
底层 SaIdTemplate 对象
SaIdUtil - cn.dev33.satoken.id中的类
Sa-Token-Id 身份凭证模块-工具类
SaIdUtil() - 类 的构造器cn.dev33.satoken.id.SaIdUtil
 
SaJsonConvertException - cn.dev33.satoken.exception中的异常错误
一个异常:代表 JSON 转换失败
SaJsonConvertException(Throwable) - 异常错误 的构造器cn.dev33.satoken.exception.SaJsonConvertException
一个异常:代表 JSON 转换失败
SaJsonTemplate - cn.dev33.satoken.json中的接口
JSON 转换器
SaJsonTemplateDefaultImpl - cn.dev33.satoken.json中的类
JSON 相关操作接口
SaJsonTemplateDefaultImpl() - 类 的构造器cn.dev33.satoken.json.SaJsonTemplateDefaultImpl
 
SaLoginConfig - cn.dev33.satoken.stp中的类
快速构建 调用 `StpUtil.login()` 时的 [配置参数 Model ]
SaLoginConfig() - 类 的构造器cn.dev33.satoken.stp.SaLoginConfig
 
SaLoginModel - cn.dev33.satoken.stp中的类
调用 `StpUtil.login()` 时的 [配置参数 Model ]
SaLoginModel() - 类 的构造器cn.dev33.satoken.stp.SaLoginModel
 
SaManager - cn.dev33.satoken中的类
管理 Sa-Token 所有全局组件
SaManager() - 类 的构造器cn.dev33.satoken.SaManager
 
SaMode - cn.dev33.satoken.annotation中的枚举
注解鉴权的验证模式
SaParamFunction<T> - cn.dev33.satoken.fun中的接口
设定一个函数,并传入一个参数,方便在Lambda表达式下的函数式编程
SaParamRetFunction<T,R> - cn.dev33.satoken.fun中的接口
设定一个函数,传入一个参数,并返回一个值,方便在Lambda表达式下的函数式编程
SaRequest - cn.dev33.satoken.context.model中的接口
Request 包装类
SaResponse - cn.dev33.satoken.context.model中的接口
Response 包装类
SaResult - cn.dev33.satoken.util中的类
对Ajax请求返回Json格式数据的简易封装
所有预留字段:
code=状态码
msg=描述信息
data=携带对象
SaResult() - 类 的构造器cn.dev33.satoken.util.SaResult
构建
SaResult(int, String, Object) - 类 的构造器cn.dev33.satoken.util.SaResult
构建
SaResult(Map<String, Object>) - 类 的构造器cn.dev33.satoken.util.SaResult
根据 Map 快速构建
SaRetFunction - cn.dev33.satoken.fun中的接口
设定一个函数,并返回一个值,方便在Lambda表达式下的函数式编程
SaRouteFunction - cn.dev33.satoken.router中的接口
路由拦截器验证方法Lambda
SaRouter - cn.dev33.satoken.router中的类
路由匹配操作工具类
SaRouter() - 类 的构造器cn.dev33.satoken.router.SaRouter
 
SaRouterStaff - cn.dev33.satoken.router中的类
路由匹配操作对象
SaRouterStaff() - 类 的构造器cn.dev33.satoken.router.SaRouterStaff
 
SaRouterUtil - cn.dev33.satoken.router中的类
已过时。
SaRouterUtil() - 类 的构造器cn.dev33.satoken.router.SaRouterUtil
已过时。
 
SaSecureUtil - cn.dev33.satoken.secure中的类
Sa-Token 常见加密算法工具类
SaSecureUtil() - 类 的构造器cn.dev33.satoken.secure.SaSecureUtil
 
SaSession - cn.dev33.satoken.session中的类
Session Model
SaSession() - 类 的构造器cn.dev33.satoken.session.SaSession
构建一个Session对象
SaSession(String) - 类 的构造器cn.dev33.satoken.session.SaSession
构建一个Session对象
SaSessionCustomUtil - cn.dev33.satoken.session中的类
自定义 Session 工具类 样例: // 在一处代码写入数据 SaSession session = SaSessionCustomUtil.getSessionById("role-" + 1001); session.set("count", 1); // 在另一处代码获取数据 SaSession session = SaSessionCustomUtil.getSessionById("role-" + 1001); int count = session.getInt("count"); System.out.println("count=" + count);
SaSessionCustomUtil() - 类 的构造器cn.dev33.satoken.session.SaSessionCustomUtil
 
SaSignTemplate - cn.dev33.satoken.sign中的接口
参数签名算法
SaSignTemplateDefaultImpl - cn.dev33.satoken.sign中的类
参数签名算法 [默认实现类]
SaSignTemplateDefaultImpl() - 类 的构造器cn.dev33.satoken.sign.SaSignTemplateDefaultImpl
 
SaStorage - cn.dev33.satoken.context.model中的接口
[存储器] 包装类 在 Request作用域里: 存值、取值
SaStrategy - cn.dev33.satoken.strategy中的类
Sa-Token 策略对象 此类统一定义框架内的一些关键性逻辑算法,方便开发者进行按需重写,例: // SaStrategy全局单例,所有方法都用以下形式重写 SaStrategy.me.setCreateToken((loginId, loginType) -》 { // 自定义Token生成的算法 return "xxxx"; });
SaTempDefaultImpl - cn.dev33.satoken.temp中的类
Sa-Token 临时令牌验证模块 默认实现类
SaTempDefaultImpl() - 类 的构造器cn.dev33.satoken.temp.SaTempDefaultImpl
 
SaTempInterface - cn.dev33.satoken.temp中的接口
Sa-Token 临时令牌验证模块接口
SaTempUtil - cn.dev33.satoken.temp中的类
Sa-Token 临时验证令牌模块
SaTempUtil() - 类 的构造器cn.dev33.satoken.temp.SaTempUtil
 
SaTokenConfig - cn.dev33.satoken.config中的类
Sa-Token 配置类 Model 你可以通过yml、properties、java代码等形式配置本类参数,具体请查阅官方文档: http://sa-token.dev33.cn/
SaTokenConfig() - 类 的构造器cn.dev33.satoken.config.SaTokenConfig
 
SaTokenConfigFactory - cn.dev33.satoken.config中的类
Sa-Token配置文件的构建工厂类 用于手动读取配置文件初始化 SaTokenConfig 对象,只有在非IOC环境下你才会用到此类
SaTokenConfigFactory() - 类 的构造器cn.dev33.satoken.config.SaTokenConfigFactory
 
SaTokenConsts - cn.dev33.satoken.util中的类
Sa-Token常量类
SaTokenConsts() - 类 的构造器cn.dev33.satoken.util.SaTokenConsts
 
SaTokenContext - cn.dev33.satoken.context中的接口
Sa-Token 上下文处理器
SaTokenContextDefaultImpl - cn.dev33.satoken.context中的类
Sa-Token 上下文处理器 [默认实现类] 一般情况下框架会为你自动注入合适的上下文处理器,如果代码断点走到了此默认实现类, 说明你引入的依赖有问题或者错误的调用了Sa-Token的API, 请在[在线开发文档 → 附录 → 常见问题排查] 中按照提示进行排查
SaTokenContextDefaultImpl() - 类 的构造器cn.dev33.satoken.context.SaTokenContextDefaultImpl
 
SaTokenContextForThreadLocal - cn.dev33.satoken.context中的类
Sa-Token 上下文处理器 [ThreadLocal版本] 使用 [ThreadLocal版本] 上下文处理器需要在全局过滤器或者拦截器内率先调用 SaTokenContextForThreadLocalStorage.setBox(req,res, sto) 初始化上下文
SaTokenContextForThreadLocal() - 类 的构造器cn.dev33.satoken.context.SaTokenContextForThreadLocal
 
SaTokenContextForThreadLocalStorage - cn.dev33.satoken.context中的类
Sa-Token 上下文处理器 [ThreadLocal版本] ---- 对象存储器
SaTokenContextForThreadLocalStorage() - 类 的构造器cn.dev33.satoken.context.SaTokenContextForThreadLocalStorage
 
SaTokenContextForThreadLocalStorage.Box - cn.dev33.satoken.context中的类
 
SaTokenDao - cn.dev33.satoken.dao中的接口
Sa-Token持久层接口
SaTokenDaoDefaultImpl - cn.dev33.satoken.dao中的类
Sa-Token持久层接口 [默认实现类, 基于内存Map]
SaTokenDaoDefaultImpl() - 类 的构造器cn.dev33.satoken.dao.SaTokenDaoDefaultImpl
构造函数
SaTokenException - cn.dev33.satoken.exception中的异常错误
Sa-Token框架内部逻辑发生错误抛出的异常 (自定义此异常方便开发者在做全局异常处理时分辨异常类型)
SaTokenException(int) - 异常错误 的构造器cn.dev33.satoken.exception.SaTokenException
构建一个异常
SaTokenException(String) - 异常错误 的构造器cn.dev33.satoken.exception.SaTokenException
构建一个异常
SaTokenException(int, String) - 异常错误 的构造器cn.dev33.satoken.exception.SaTokenException
构建一个异常
SaTokenException(Throwable) - 异常错误 的构造器cn.dev33.satoken.exception.SaTokenException
构建一个异常
SaTokenException(String, Throwable) - 异常错误 的构造器cn.dev33.satoken.exception.SaTokenException
构建一个异常
SaTokenInfo - cn.dev33.satoken.stp中的类
Token信息Model: 用来描述一个Token的常用参数
SaTokenInfo() - 类 的构造器cn.dev33.satoken.stp.SaTokenInfo
 
SaTokenListener - cn.dev33.satoken.listener中的接口
Sa-Token 侦听器 你可以通过实现此接口在用户登陆、退出等关键性操作时进行一些AOP操作
SaTokenListenerDefaultImpl - cn.dev33.satoken.listener中的类
Sa-Token 侦听器的默认实现:log打印
SaTokenListenerDefaultImpl() - 类 的构造器cn.dev33.satoken.listener.SaTokenListenerDefaultImpl
 
SaTokenSecondContext - cn.dev33.satoken.context.second中的接口
Sa-Token 二级Context - 基础接口 (利用继承机制实现区别 [一级Context] 与 [二级Context] 的目的)
SaTokenSecondContextCreator - cn.dev33.satoken.context.second中的接口
Sa-Token 二级Context - 创建器
savePastToken(String, long) - 类 中的方法cn.dev33.satoken.id.SaIdTemplate
保存Past-Id-Token
saveToken(String) - 类 中的方法cn.dev33.satoken.id.SaIdTemplate
保存Id-Token
saveTokenToIdMapping(String, Object, long) - 类 中的方法cn.dev33.satoken.stp.StpLogic
存储 Token-Id 映射
searchData(String, String, int, int) - 接口 中的方法cn.dev33.satoken.dao.SaTokenDao
搜索数据
searchData(String, String, int, int) - 类 中的方法cn.dev33.satoken.dao.SaTokenDaoDefaultImpl
 
searchList(Collection<String>, String, String, int, int) - 类 中的静态方法cn.dev33.satoken.util.SaFoxUtil
从集合里查询数据
searchList(List<String>, int, int) - 类 中的静态方法cn.dev33.satoken.util.SaFoxUtil
从集合里查询数据
searchSessionId(String, int, int) - 类 中的方法cn.dev33.satoken.stp.StpLogic
根据条件查询SessionId
searchSessionId(String, int, int) - 类 中的静态方法cn.dev33.satoken.stp.StpUtil
根据条件查询SessionId
searchTokenSessionId(String, int, int) - 类 中的方法cn.dev33.satoken.stp.StpLogic
根据条件查询Token专属Session的Id
searchTokenSessionId(String, int, int) - 类 中的静态方法cn.dev33.satoken.stp.StpUtil
根据条件查询Token专属Session的Id
searchTokenValue(String, int, int) - 类 中的方法cn.dev33.satoken.stp.StpLogic
根据条件查询Token
searchTokenValue(String, int, int) - 类 中的静态方法cn.dev33.satoken.stp.StpUtil
根据条件查询Token
sessionKey - 类 中的静态变量cn.dev33.satoken.session.SaSessionCustomUtil
添加上指定前缀,防止恶意伪造Session
sessionTimeout - 类 中的变量cn.dev33.satoken.stp.SaTokenInfo
User-Session剩余有效时间 (单位: 秒)
set(String, Object) - 接口 中的方法cn.dev33.satoken.context.model.SaStorage
在 [Request作用域] 里写入一个值
set(String, String, long) - 接口 中的方法cn.dev33.satoken.dao.SaTokenDao
写入Value,并设定存活时间 (单位: 秒)
set(String, String, long) - 类 中的方法cn.dev33.satoken.dao.SaTokenDaoDefaultImpl
 
set(String, Object) - 类 中的方法cn.dev33.satoken.session.SaSession
写值
set(String, Object) - 类 中的方法cn.dev33.satoken.util.SaResult
写入一个值 自定义key, 连缀风格
setActivityTimeout(long) - 类 中的方法cn.dev33.satoken.config.SaTokenConfig
 
setAllowConcurrentLogin(Boolean) - 类 中的方法cn.dev33.satoken.config.SaTokenConfig
已过时。
setAttribute(String, Object) - 类 中的方法cn.dev33.satoken.session.SaSession
已过时。
setAutoRenew(Boolean) - 类 中的方法cn.dev33.satoken.config.SaTokenConfig
 
setBasic(String) - 类 中的方法cn.dev33.satoken.config.SaTokenConfig
 
setBox(SaRequest, SaResponse, SaStorage) - 类 中的静态方法cn.dev33.satoken.context.SaTokenContextForThreadLocalStorage
初始化 [Box存储器]
setCheckElementAnnotation(Consumer<AnnotatedElement>) - 类 中的方法cn.dev33.satoken.strategy.SaStrategy
对一个 [元素] 对象进行注解校验 (注解鉴权内部实现) 参数 [element元素]
setCheckIdToken(Boolean) - 类 中的方法cn.dev33.satoken.config.SaTokenConfig
 
setCheckMethodAnnotation(Consumer<Method>) - 类 中的方法cn.dev33.satoken.strategy.SaStrategy
对一个 [Method] 对象进行注解校验 (注解鉴权内部实现) 参数 [Method句柄]
setCode(int) - 异常错误 中的方法cn.dev33.satoken.exception.SaTokenException
写入异常细分状态码
setCode(int) - 类 中的方法cn.dev33.satoken.util.SaResult
给code赋值,连缀风格
setConfig(SaTokenConfig) - 类 中的静态方法cn.dev33.satoken.SaManager
 
setCookie(SaCookieConfig) - 类 中的方法cn.dev33.satoken.config.SaTokenConfig
 
setCookieDomain(String) - 类 中的方法cn.dev33.satoken.config.SaTokenConfig
已过时。
setCreateSession(Function<String, SaSession>) - 类 中的方法cn.dev33.satoken.strategy.SaStrategy
重写创建 Session 的策略 参数 [SessionId]
setCreateTime(long) - 类 中的方法cn.dev33.satoken.session.SaSession
写入此Session的创建时间
setCreateToken(BiFunction<Object, String, String>) - 类 中的方法cn.dev33.satoken.strategy.SaStrategy
重写创建 Token 的策略 参数 [账号id, 账号类型]
setCurrDomain(String) - 类 中的方法cn.dev33.satoken.config.SaTokenConfig
 
setData(Object) - 类 中的方法cn.dev33.satoken.util.SaResult
给data赋值,连缀风格
setDataRefreshPeriod(int) - 类 中的方法cn.dev33.satoken.config.SaTokenConfig
 
setDefaultValue(String, Object) - 类 中的方法cn.dev33.satoken.session.SaSession
写值(只有在此key原本无值的时候才会写入)
setDevice(String) - 类 中的静态方法cn.dev33.satoken.stp.SaLoginConfig
 
setDevice(String) - 类 中的方法cn.dev33.satoken.stp.SaLoginModel
 
setDomain(String) - 类 中的方法cn.dev33.satoken.config.SaCookieConfig
 
setDomain(String) - 类 中的方法cn.dev33.satoken.context.model.SaCookie
 
setExtra(String, Object) - 类 中的静态方法cn.dev33.satoken.stp.SaLoginConfig
写入扩展数据(只在jwt模式下生效)
setExtra(String, Object) - 类 中的方法cn.dev33.satoken.stp.SaLoginModel
写入扩展数据(只在jwt模式下生效)
setExtraData(Map<String, Object>) - 类 中的静态方法cn.dev33.satoken.stp.SaLoginConfig
 
setExtraData(Map<String, Object>) - 类 中的方法cn.dev33.satoken.stp.SaLoginModel
 
setGetAnnotation(BiFunction<AnnotatedElement, Class<? extends Annotation>, Annotation>) - 类 中的方法cn.dev33.satoken.strategy.SaStrategy
从元素上获取注解(注解鉴权内部实现) 参数 [element元素,要获取的注解类型]
setHasElement(BiFunction<List<String>, String, Boolean>) - 类 中的方法cn.dev33.satoken.strategy.SaStrategy
判断:集合中是否包含指定元素(模糊匹配) 参数 [集合, 元素]
setHeader(String, String) - 接口 中的方法cn.dev33.satoken.context.model.SaResponse
在响应头里写入一个值
setHit(boolean) - 类 中的方法cn.dev33.satoken.router.SaRouterStaff
 
setHttpOnly(Boolean) - 类 中的方法cn.dev33.satoken.config.SaCookieConfig
 
setHttpOnly(Boolean) - 类 中的方法cn.dev33.satoken.context.model.SaCookie
 
setId(String) - 类 中的方法cn.dev33.satoken.session.SaSession
写入此Session的id
setIdTokenTimeout(long) - 类 中的方法cn.dev33.satoken.config.SaTokenConfig
 
setIsConcurrent(Boolean) - 类 中的方法cn.dev33.satoken.config.SaTokenConfig
 
setIsLastingCookie(Boolean) - 类 中的静态方法cn.dev33.satoken.stp.SaLoginConfig
 
setIsLastingCookie(Boolean) - 类 中的方法cn.dev33.satoken.stp.SaLoginModel
 
setIsLog(Boolean) - 类 中的方法cn.dev33.satoken.config.SaTokenConfig
 
setIsLogin(Boolean) - 类 中的方法cn.dev33.satoken.stp.SaTokenInfo
 
setIsPrint(Boolean) - 类 中的方法cn.dev33.satoken.config.SaTokenConfig
 
setIsReadBody(Boolean) - 类 中的方法cn.dev33.satoken.config.SaTokenConfig
 
setIsReadCookie(Boolean) - 类 中的方法cn.dev33.satoken.config.SaTokenConfig
 
setIsReadHead(Boolean) - 类 中的方法cn.dev33.satoken.config.SaTokenConfig
 
setIsShare(Boolean) - 类 中的方法cn.dev33.satoken.config.SaTokenConfig
 
setIsV(Boolean) - 类 中的方法cn.dev33.satoken.config.SaTokenConfig
已过时。
setJwtSecretKey(String) - 类 中的方法cn.dev33.satoken.config.SaTokenConfig
 
setLastActivityToNow(String) - 类 中的方法cn.dev33.satoken.stp.StpLogic
写入指定token的 [最后操作时间] 为当前时间戳
setLoginDevice(String) - 类 中的方法cn.dev33.satoken.stp.SaTokenInfo
 
setLoginId(Object) - 类 中的方法cn.dev33.satoken.stp.SaTokenInfo
 
setLoginId(Object) - 类 中的静态方法cn.dev33.satoken.stp.StpUtil
已过时。
setLoginId(Object, String) - 类 中的静态方法cn.dev33.satoken.stp.StpUtil
已过时。
setLoginId(Object, boolean) - 类 中的静态方法cn.dev33.satoken.stp.StpUtil
已过时。
setLoginId(Object, SaLoginModel) - 类 中的静态方法cn.dev33.satoken.stp.StpUtil
已过时。
setLoginType(String) - 类 中的方法cn.dev33.satoken.stp.SaTokenInfo
 
setLoginType(String) - 类 中的方法cn.dev33.satoken.stp.StpLogic
设置当前账号类型
setMap(Map<String, ?>) - 类 中的方法cn.dev33.satoken.util.SaResult
写入一个Map, 连缀风格
setMaxAge(int) - 类 中的方法cn.dev33.satoken.context.model.SaCookie
 
setMaxLoginCount(int) - 类 中的方法cn.dev33.satoken.config.SaTokenConfig
 
setMsg(String) - 类 中的方法cn.dev33.satoken.util.SaResult
给msg赋值,连缀风格
setName(String) - 类 中的方法cn.dev33.satoken.context.model.SaCookie
 
setObject(String, Object, long) - 接口 中的方法cn.dev33.satoken.dao.SaTokenDao
写入Object,并设定存活时间 (单位: 秒)
setObject(String, Object, long) - 类 中的方法cn.dev33.satoken.dao.SaTokenDaoDefaultImpl
 
setPath(String) - 类 中的方法cn.dev33.satoken.config.SaCookieConfig
 
setPath(String) - 类 中的方法cn.dev33.satoken.context.model.SaCookie
 
setRequest(SaRequest) - 类 中的方法cn.dev33.satoken.context.SaTokenContextForThreadLocalStorage.Box
 
setResponse(SaResponse) - 类 中的方法cn.dev33.satoken.context.SaTokenContextForThreadLocalStorage.Box
 
setSaJsonTemplate(SaJsonTemplate) - 类 中的静态方法cn.dev33.satoken.SaManager
 
setSameSite(String) - 类 中的方法cn.dev33.satoken.config.SaCookieConfig
 
setSameSite(String) - 类 中的方法cn.dev33.satoken.context.model.SaCookie
 
setSaSignTemplate(SaSignTemplate) - 类 中的静态方法cn.dev33.satoken.SaManager
 
setSaTemp(SaTempInterface) - 类 中的静态方法cn.dev33.satoken.SaManager
 
setSaTokenContext(SaTokenContext) - 类 中的静态方法cn.dev33.satoken.SaManager
 
setSaTokenDao(SaTokenDao) - 类 中的静态方法cn.dev33.satoken.SaManager
 
setSaTokenListener(SaTokenListener) - 类 中的静态方法cn.dev33.satoken.SaManager
 
setSaTokenSecondContext(SaTokenSecondContext) - 类 中的静态方法cn.dev33.satoken.SaManager
 
setSecure(Boolean) - 类 中的方法cn.dev33.satoken.config.SaCookieConfig
 
setSecure(Boolean) - 类 中的方法cn.dev33.satoken.context.model.SaCookie
 
setServer(String) - 接口 中的方法cn.dev33.satoken.context.model.SaResponse
在响应头写入 [Server] 服务器名称
setSession(SaSession, long) - 接口 中的方法cn.dev33.satoken.dao.SaTokenDao
写入Session,并设定存活时间 (单位: 秒)
setSessionTimeout(long) - 类 中的方法cn.dev33.satoken.stp.SaTokenInfo
 
setStatus(int) - 接口 中的方法cn.dev33.satoken.context.model.SaResponse
设置响应状态码
setStorage(SaStorage) - 类 中的方法cn.dev33.satoken.context.SaTokenContextForThreadLocalStorage.Box
 
setStpInterface(StpInterface) - 类 中的静态方法cn.dev33.satoken.SaManager
 
setStpLogic(StpLogic) - 类 中的静态方法cn.dev33.satoken.stp.StpUtil
重置 StpLogic 对象
setTag(String) - 类 中的方法cn.dev33.satoken.stp.SaTokenInfo
 
setTimeout(long) - 类 中的方法cn.dev33.satoken.config.SaTokenConfig
 
setTimeout(Long) - 类 中的静态方法cn.dev33.satoken.stp.SaLoginConfig
 
setTimeout(long) - 类 中的方法cn.dev33.satoken.stp.SaLoginModel
 
setToken(String) - 类 中的静态方法cn.dev33.satoken.stp.SaLoginConfig
 
setToken(String) - 类 中的方法cn.dev33.satoken.stp.SaLoginModel
 
setTokenActivityTimeout(long) - 类 中的方法cn.dev33.satoken.stp.SaTokenInfo
 
setTokenName(String) - 类 中的方法cn.dev33.satoken.config.SaTokenConfig
 
setTokenName(String) - 类 中的方法cn.dev33.satoken.stp.SaTokenInfo
 
setTokenPrefix(String) - 类 中的方法cn.dev33.satoken.config.SaTokenConfig
 
setTokenSessionCheckLogin(Boolean) - 类 中的方法cn.dev33.satoken.config.SaTokenConfig
 
setTokenSessionTimeout(long) - 类 中的方法cn.dev33.satoken.stp.SaTokenInfo
 
setTokenStyle(String) - 类 中的方法cn.dev33.satoken.config.SaTokenConfig
 
setTokenTimeout(long) - 类 中的方法cn.dev33.satoken.stp.SaTokenInfo
 
setTokenValue(String) - 类 中的方法cn.dev33.satoken.stp.SaTokenInfo
 
setTokenValue(String) - 类 中的方法cn.dev33.satoken.stp.StpLogic
在当前会话写入当前TokenValue
setTokenValue(String, int) - 类 中的方法cn.dev33.satoken.stp.StpLogic
在当前会话写入当前TokenValue
setTokenValue(String) - 类 中的静态方法cn.dev33.satoken.stp.StpUtil
在当前会话写入当前TokenValue
setTokenValue(String, int) - 类 中的静态方法cn.dev33.satoken.stp.StpUtil
在当前会话写入当前TokenValue
setTokenValueToCookie(String, int) - 类 中的方法cn.dev33.satoken.stp.StpLogic
将 Token 保存到 [Cookie] 里
setTokenValueToStorage(String) - 类 中的方法cn.dev33.satoken.stp.StpLogic
将 Token 保存到 [Storage] 里
setValue(String) - 类 中的方法cn.dev33.satoken.context.model.SaCookie
 
sha1(String) - 类 中的静态方法cn.dev33.satoken.secure.SaSecureUtil
sha1加密
sha256(String) - 类 中的静态方法cn.dev33.satoken.secure.SaSecureUtil
sha256加密
splicingKeyDisable(Object) - 类 中的方法cn.dev33.satoken.stp.StpLogic
拼接key: 账号封禁
splicingKeyJustCreatedSave() - 类 中的方法cn.dev33.satoken.stp.StpLogic
如果token为本次请求新创建的,则以此字符串为key存储在当前request中
splicingKeyLastActivityTime(String) - 类 中的方法cn.dev33.satoken.stp.StpLogic
拼接key: 指定token的最后操作时间 持久化
splicingKeySession(Object) - 类 中的方法cn.dev33.satoken.stp.StpLogic
拼接key: Session 持久化
splicingKeySwitch() - 类 中的方法cn.dev33.satoken.stp.StpLogic
在进行身份切换时,使用的存储key
splicingKeyTempToken(String) - 接口 中的方法cn.dev33.satoken.temp.SaTempInterface
获取映射关系的持久化key
splicingKeyTokenName() - 类 中的方法cn.dev33.satoken.stp.StpLogic
拼接key:客户端 tokenName
splicingKeyTokenSession(String) - 类 中的方法cn.dev33.satoken.stp.StpLogic
拼接key: tokenValue的Token-Session
splicingKeyTokenValue(String) - 类 中的方法cn.dev33.satoken.stp.StpLogic
拼接key: tokenValue 持久化 token-id
splicingPastTokenSaveKey() - 类 中的方法cn.dev33.satoken.id.SaIdTemplate
拼接key:次级 Id-Token 的存储 key
splicingSessionKey(String) - 类 中的静态方法cn.dev33.satoken.session.SaSessionCustomUtil
拼接Key: 自定义Session的Id
splicingTokenSaveKey() - 类 中的方法cn.dev33.satoken.id.SaIdTemplate
拼接key:Id-Token 的存储 key
stop() - 类 中的静态方法cn.dev33.satoken.router.SaRouter
停止匹配,跳出函数 (在多个匹配链中一次性跳出Auth函数)
stop() - 类 中的方法cn.dev33.satoken.router.SaRouterStaff
停止匹配,跳出函数 (在多个匹配链中一次性跳出Auth函数)
stop() - 类 中的静态方法cn.dev33.satoken.router.SaRouterUtil
已过时。
停止匹配,跳出函数 (在多个匹配链中一次性跳出Auth函数)
StopMatchException - cn.dev33.satoken.exception中的异常错误
一个异常:代表停止路由匹配,进入Controller
StopMatchException() - 异常错误 的构造器cn.dev33.satoken.exception.StopMatchException
构造
storage - 类 中的变量cn.dev33.satoken.context.SaTokenContextForThreadLocalStorage.Box
 
StpInterface - cn.dev33.satoken.stp中的接口
权限认证接口,实现此接口即可集成权限认证功能
StpInterfaceDefaultImpl - cn.dev33.satoken.stp中的类
StpInterface 接口默认的实现类 如果开发者没有实现StpInterface接口,则使用此默认实现
StpInterfaceDefaultImpl() - 类 的构造器cn.dev33.satoken.stp.StpInterfaceDefaultImpl
 
StpLogic - cn.dev33.satoken.stp中的类
Sa-Token 权限认证,逻辑实现类
StpLogic(String) - 类 的构造器cn.dev33.satoken.stp.StpLogic
初始化StpLogic, 并指定账号类型
stpLogic - 类 中的静态变量cn.dev33.satoken.stp.StpUtil
底层的 StpLogic 对象
stpLogicMap - 类 中的静态变量cn.dev33.satoken.SaManager
StpLogic集合, 记录框架所有成功初始化的StpLogic
StpUtil - cn.dev33.satoken.stp中的类
Sa-Token 权限认证工具类
StpUtil() - 类 的构造器cn.dev33.satoken.stp.StpUtil
 
SWITCH_TO_SAVE_KEY - 类 中的静态变量cn.dev33.satoken.util.SaTokenConsts
常量key标记: 在进行临时身份切换时使用的key
switchTo(Object) - 类 中的方法cn.dev33.satoken.stp.StpLogic
临时切换身份为指定账号id
switchTo(Object, SaFunction) - 类 中的方法cn.dev33.satoken.stp.StpLogic
在一个代码段里方法内,临时切换身份为指定账号id
switchTo(Object) - 类 中的静态方法cn.dev33.satoken.stp.StpUtil
临时切换身份为指定账号id
switchTo(Object, SaFunction) - 类 中的静态方法cn.dev33.satoken.stp.StpUtil
在一个代码段里方法内,临时切换身份为指定账号id

T

tag - 类 中的变量cn.dev33.satoken.stp.SaTokenInfo
自定义数据
throwBy(boolean, String) - 异常错误 中的静态方法cn.dev33.satoken.exception.SaTokenException
如果flag==true,则抛出message异常
throwByNull(Object, String) - 异常错误 中的静态方法cn.dev33.satoken.exception.SaTokenException
如果value==null或者isEmpty,则抛出message异常
throwNotBasicAuthException(String) - 类 中的方法cn.dev33.satoken.basic.SaBasicTemplate
设置响应头,并抛出异常
timeout - 类 中的变量cn.dev33.satoken.stp.SaLoginModel
指定此次登录token的有效期, 单位:秒 (如未指定,自动取全局配置的timeout值)
toEnum(String) - 枚举 中的静态方法cn.dev33.satoken.router.SaHttpMethod
String 转 enum
toEnumArray(String...) - 枚举 中的静态方法cn.dev33.satoken.router.SaHttpMethod
String[] 转 enum[]
toHeaderValue() - 类 中的方法cn.dev33.satoken.context.model.SaCookie
转换为响应头 Set-Cookie 参数需要的值
toJsonString(Object) - 接口 中的方法cn.dev33.satoken.json.SaJsonTemplate
将任意对象转换为 json 字符串
toJsonString(Object) - 类 中的方法cn.dev33.satoken.json.SaJsonTemplateDefaultImpl
将任意对象转换为 json 字符串
token - 类 中的变量cn.dev33.satoken.stp.SaLoginModel
预定Token(预定本次登录生成的Token值)
TOKEN_ACTIVITY_TIMEOUT_CHECKED_KEY - 类 中的静态变量cn.dev33.satoken.util.SaTokenConsts
常量key标记: 如果本次请求已经验证过[无操作过期], 则以此值存储在当前request中
TOKEN_CONNECTOR_CHAT - 类 中的静态变量cn.dev33.satoken.util.SaTokenConsts
连接Token前缀和Token值的字符
TOKEN_STYLE_RANDOM_128 - 类 中的静态变量cn.dev33.satoken.util.SaTokenConsts
Token风格: 128位随机字符串
TOKEN_STYLE_RANDOM_32 - 类 中的静态变量cn.dev33.satoken.util.SaTokenConsts
Token风格: 32位随机字符串
TOKEN_STYLE_RANDOM_64 - 类 中的静态变量cn.dev33.satoken.util.SaTokenConsts
Token风格: 64位随机字符串
TOKEN_STYLE_SIMPLE_UUID - 类 中的静态变量cn.dev33.satoken.util.SaTokenConsts
Token风格: 简单uuid (不带下划线)
TOKEN_STYLE_TIK - 类 中的静态变量cn.dev33.satoken.util.SaTokenConsts
Token风格: tik风格 (2_14_16)
TOKEN_STYLE_UUID - 类 中的静态变量cn.dev33.satoken.util.SaTokenConsts
Token风格: uuid
TOKEN_TIMEOUT - 异常错误 中的静态变量cn.dev33.satoken.exception.NotLoginException
表示token已过期
TOKEN_TIMEOUT_MESSAGE - 异常错误 中的静态变量cn.dev33.satoken.exception.NotLoginException
 
tokenActivityTimeout - 类 中的变量cn.dev33.satoken.stp.SaTokenInfo
token剩余无操作有效时间 (单位: 秒)
tokenName - 类 中的变量cn.dev33.satoken.stp.SaTokenInfo
token名称
tokenSessionTimeout - 类 中的变量cn.dev33.satoken.stp.SaTokenInfo
Token-Session剩余有效时间 (单位: 秒)
TokenSign - cn.dev33.satoken.session中的类
Token 签名 Model 挂在到SaSession上的token签名
TokenSign() - 类 的构造器cn.dev33.satoken.session.TokenSign
构建一个
TokenSign(String, String) - 类 的构造器cn.dev33.satoken.session.TokenSign
构建一个
tokenSignListCopy() - 类 中的方法cn.dev33.satoken.session.SaSession
返回token签名列表的拷贝副本
tokenSignListCopyByDevice(String) - 类 中的方法cn.dev33.satoken.session.SaSession
返回token签名列表的拷贝副本,根据 device 筛选
tokenTimeout - 类 中的变量cn.dev33.satoken.stp.SaTokenInfo
token剩余有效期 (单位: 秒)
tokenValue - 类 中的变量cn.dev33.satoken.stp.SaTokenInfo
token值
toList(String...) - 类 中的静态方法cn.dev33.satoken.util.SaFoxUtil
String数组转集合
toString() - 类 中的方法cn.dev33.satoken.config.SaCookieConfig
 
toString() - 类 中的方法cn.dev33.satoken.config.SaTokenConfig
 
toString() - 类 中的方法cn.dev33.satoken.context.model.SaCookie
 
toString() - 类 中的方法cn.dev33.satoken.context.SaTokenContextForThreadLocalStorage.Box
 
toString() - 类 中的方法cn.dev33.satoken.session.TokenSign
 
toString() - 类 中的方法cn.dev33.satoken.stp.SaLoginModel
 
toString() - 类 中的方法cn.dev33.satoken.stp.SaTokenInfo
toString
toString() - 类 中的方法cn.dev33.satoken.util.SaResult
 
trans(long) - 类 中的方法cn.dev33.satoken.session.SaSession
value为 -1 时返回 Long.MAX_VALUE,否则原样返回
TYPE - 类 中的静态变量cn.dev33.satoken.stp.StpUtil
账号类型标识

U

untieDisable(Object) - 类 中的方法cn.dev33.satoken.stp.StpLogic
解封指定账号
untieDisable(Object) - 类 中的静态方法cn.dev33.satoken.stp.StpUtil
解封指定账号
update(String, String) - 接口 中的方法cn.dev33.satoken.dao.SaTokenDao
更新Value (过期时间不变)
update(String, String) - 类 中的方法cn.dev33.satoken.dao.SaTokenDaoDefaultImpl
 
update() - 类 中的方法cn.dev33.satoken.session.SaSession
更新Session(从持久库更新刷新一下)
updateLastActivityToNow(String) - 类 中的方法cn.dev33.satoken.stp.StpLogic
续签指定token:(将 [最后操作时间] 更新为当前时间戳)
updateLastActivityToNow() - 类 中的方法cn.dev33.satoken.stp.StpLogic
续签当前token:(将 [最后操作时间] 更新为当前时间戳) 请注意: 即使token已经 [临时过期] 也可续签成功, 如果此场景下需要提示续签失败,可在此之前调用 checkActivityTimeout() 强制检查是否过期即可
updateLastActivityToNow() - 类 中的静态方法cn.dev33.satoken.stp.StpUtil
续签当前token:(将 [最后操作时间] 更新为当前时间戳) 请注意: 即使token已经 [临时过期] 也可续签成功, 如果此场景下需要提示续签失败,可在此之前调用 checkActivityTimeout() 强制检查是否过期即可
updateMaxTimeout(long) - 类 中的方法cn.dev33.satoken.session.SaSession
修改此Session的最大剩余存活时间 (只有在Session的过期时间高于指定的maxTimeout时才会进行修改)
updateMinTimeout(long) - 类 中的方法cn.dev33.satoken.session.SaSession
修改此Session的最小剩余存活时间 (只有在Session的过期时间低于指定的minTimeout时才会进行修改)
updateObject(String, Object) - 接口 中的方法cn.dev33.satoken.dao.SaTokenDao
更新Object (过期时间不变)
updateObject(String, Object) - 类 中的方法cn.dev33.satoken.dao.SaTokenDaoDefaultImpl
 
updateObjectTimeout(String, long) - 接口 中的方法cn.dev33.satoken.dao.SaTokenDao
修改Object的剩余存活时间 (单位: 秒)
updateObjectTimeout(String, long) - 类 中的方法cn.dev33.satoken.dao.SaTokenDaoDefaultImpl
 
updateSession(SaSession) - 接口 中的方法cn.dev33.satoken.dao.SaTokenDao
更新Session
updateSessionTimeout(String, long) - 接口 中的方法cn.dev33.satoken.dao.SaTokenDao
修改Session剩余存活时间 (单位: 秒)
updateTimeout(String, long) - 接口 中的方法cn.dev33.satoken.dao.SaTokenDao
修改Value的剩余存活时间 (单位: 秒)
updateTimeout(String, long) - 类 中的方法cn.dev33.satoken.dao.SaTokenDaoDefaultImpl
 
updateTimeout(long) - 类 中的方法cn.dev33.satoken.session.SaSession
修改此Session的剩余存活时间
updateTokenToIdMapping(String, Object) - 类 中的方法cn.dev33.satoken.stp.StpLogic
更改 Token 指向的 账号Id 值
URL_REGEX - 类 中的静态变量cn.dev33.satoken.util.SaFoxUtil
验证URL的正则表达式

V

vagueMatch(String, String) - 类 中的静态方法cn.dev33.satoken.util.SaFoxUtil
字符串模糊匹配 example: user* user-add -- true user* art-add -- false
valueIsNull(Object) - 类 中的方法cn.dev33.satoken.session.SaSession
判断一个值是否为null
valueOf(String) - 枚举 中的静态方法cn.dev33.satoken.annotation.SaMode
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法cn.dev33.satoken.router.SaHttpMethod
返回带有指定名称的该类型的枚举常量。
values() - 枚举 中的静态方法cn.dev33.satoken.annotation.SaMode
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法cn.dev33.satoken.router.SaHttpMethod
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
VERSION_NO - 类 中的静态变量cn.dev33.satoken.util.SaTokenConsts
Sa-Token 当前版本号
A B C D E F G H I J K L M N O P R S T U V 
跳过导航链接

Copyright © 2022. All Rights Reserved.