索引

A B C D E F G H I J K L M N O P R S T U V W 
All Classes and Interfaces|常量字段值|所有程序包|序列化表格

A

ABNORMAL_LIST - 异常错误中的静态变量 cn.dev33.satoken.exception.NotLoginException
代表异常token的标志集合
ACCESS_CONTROL_EXPOSE_HEADERS - 接口中的静态变量 cn.dev33.satoken.context.model.SaResponse
指定前端可以获取到哪些响应头时使用的参数名
account() - annotation interface 中的元素 cn.dev33.satoken.annotation.SaCheckBasic
需要校验的账号密码,格式形如 sa:123456
addCookie(SaCookie) - 接口中的方法 cn.dev33.satoken.context.model.SaResponse
写入指定Cookie
addCookie(String, String, String, String, int) - 接口中的方法 cn.dev33.satoken.context.model.SaResponse
写入指定Cookie
addHeader(String, String) - 接口中的方法 cn.dev33.satoken.context.model.SaResponse
在响应头里添加一个值
addSignParams(Map<String, Object>, String) - 接口中的方法 cn.dev33.satoken.sign.SaSignTemplate
给 paramsMap 追加 timestamp、nonce、sign 三个参数
addSignParamsToString(Map<String, Object>, String) - 接口中的方法 cn.dev33.satoken.sign.SaSignTemplate
给 paramsMap 追加 timestamp、nonce、sign 三个参数,并转换为参数字符串,形如: data=xxx8nonce=xxx8timestamp=xxx8sign=xxx
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加密
ALL - enum class 中的枚举常量 cn.dev33.satoken.router.SaHttpMethod
代表全部请求方式
AND - enum class 中的枚举常量 cn.dev33.satoken.annotation.SaMode
必须具有所有的元素
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
切面、拦截器、过滤器等各种组件的注册优先级顺序

B

back() - 类中的静态方法 cn.dev33.satoken.router.SaRouter
停止匹配,结束执行,向前端返回结果
back() - 类中的方法 cn.dev33.satoken.router.SaRouterStaff
停止匹配,结束执行,向前端返回结果
back(Object) - 类中的静态方法 cn.dev33.satoken.router.SaRouter
停止匹配,结束执行,向前端返回结果
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.DisableServiceException
异常提示语
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.DisableServiceException
已过时。
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

C_BACKSLASH - 类中的静态变量 cn.dev33.satoken.util.StrFormatter
 
check() - 类中的方法 cn.dev33.satoken.basic.SaBasicTemplate
对当前会话进行 Basic 校验(使用全局配置的账号密码),校验不通过则抛出异常
check() - 类中的静态方法 cn.dev33.satoken.basic.SaBasicUtil
对当前会话进行 Basic 校验(使用全局配置的账号密码),校验不通过则抛出异常
check(SaFunction) - 类中的方法 cn.dev33.satoken.router.SaRouterStaff
执行校验函数 (无参)
check(SaParamFunction<SaRouterStaff>) - 类中的方法 cn.dev33.satoken.router.SaRouterStaff
执行校验函数 (带参)
check(String) - 类中的方法 cn.dev33.satoken.basic.SaBasicTemplate
对当前会话进行 Basic 校验(手动设置账号密码),校验不通过则抛出异常
check(String) - 类中的静态方法 cn.dev33.satoken.basic.SaBasicUtil
对当前会话进行 Basic 校验(手动设置账号密码),校验不通过则抛出异常
check(String, String) - 类中的方法 cn.dev33.satoken.basic.SaBasicTemplate
对当前会话进行 Basic 校验(手动设置 Realm 和 账号密码),校验不通过则抛出异常
check(String, String) - 类中的静态方法 cn.dev33.satoken.basic.SaBasicUtil
对当前会话进行 Basic 校验(手动设置 Realm 和 账号密码),校验不通过则抛出异常
checkActivityTimeout() - 类中的方法 cn.dev33.satoken.stp.StpLogic
检查当前token 是否已经[临时过期],如果已经过期则抛出异常
checkActivityTimeout() - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
检查当前token 是否已经[临时过期],如果已经过期则抛出异常
checkActivityTimeout(String) - 类中的方法 cn.dev33.satoken.stp.StpLogic
检查指定token 是否已经[临时过期],如果已经过期则抛出异常
checkByAnnotation(SaCheckDisable) - 类中的方法 cn.dev33.satoken.stp.StpLogic
根据注解(@SaCheckDisable)鉴权
checkByAnnotation(SaCheckLogin) - 类中的方法 cn.dev33.satoken.stp.StpLogic
根据注解(@SaCheckLogin)鉴权
checkByAnnotation(SaCheckPermission) - 类中的方法 cn.dev33.satoken.stp.StpLogic
根据注解(@SaCheckPermission)鉴权
checkByAnnotation(SaCheckRole) - 类中的方法 cn.dev33.satoken.stp.StpLogic
根据注解(@SaCheckRole)鉴权
checkByAnnotation(SaCheckSafe) - 类中的方法 cn.dev33.satoken.stp.StpLogic
根据注解(@SaCheckSafe)鉴权
checkCurrentRequestToken() - 类中的方法 cn.dev33.satoken.same.SaSameTemplate
校验当前 Request 上下文提供的 Same-Token 是否有效 (如果无效则抛出异常)
checkCurrentRequestToken() - 类中的静态方法 cn.dev33.satoken.same.SaSameUtil
校验当前 Request 上下文提供的 Same-Token 是否有效 (如果无效则抛出异常)
checkDisable(Object) - 类中的方法 cn.dev33.satoken.stp.StpLogic
校验:指定账号是否已被封禁,如果被封禁则抛出异常
checkDisable(Object) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
校验:指定账号是否已被封禁,如果被封禁则抛出异常
checkDisable(Object, String...) - 类中的方法 cn.dev33.satoken.stp.StpLogic
校验:指定账号 指定服务 是否已被封禁,如果被封禁则抛出异常
checkDisable(Object, String...) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
校验:指定账号 指定服务 是否已被封禁,如果被封禁则抛出异常
checkDisableLevel(Object, int) - 类中的方法 cn.dev33.satoken.stp.StpLogic
校验:指定账号是否已被封禁到指定等级(如果已经达到,则抛出异常)
checkDisableLevel(Object, int) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
校验:指定账号是否已被封禁到指定等级(如果已经达到,则抛出异常)
checkDisableLevel(Object, String, int) - 类中的方法 cn.dev33.satoken.stp.StpLogic
校验:指定账号的指定服务,是否已被封禁到指定等级(如果已经达到,则抛出异常)
checkDisableLevel(Object, String, int) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
校验:指定账号的指定服务,是否已被封禁到指定等级(如果已经达到,则抛出异常)
checkElementAnnotation - 类中的变量 cn.dev33.satoken.strategy.SaStrategy
对一个 [元素] 对象进行注解校验 (注解鉴权内部实现)
checkLogin() - 类中的方法 cn.dev33.satoken.stp.StpLogic
检验当前会话是否已经登录,如未登录,则抛出异常
checkLogin() - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
检验当前会话是否已经登录,如未登录,则抛出异常
checkMethodAnnotation - 类中的变量 cn.dev33.satoken.strategy.SaStrategy
对一个 [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
检查当前会话是否已通过二级认证,如未通过则抛出异常
checkSafe(String) - 类中的方法 cn.dev33.satoken.stp.StpLogic
检查当前会话是否已通过二级认证,如未通过则抛出异常
checkSafe(String) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
检查当前会话是否已通过二级认证,如未通过则抛出异常
checkSign(Map<String, Object>, String, String) - 接口中的方法 cn.dev33.satoken.sign.SaSignTemplate
校验:给定的参数 + 秘钥 生成的签名是否为有效签名,如果签名无效则抛出异常
checkTimestamp(long, long) - 接口中的方法 cn.dev33.satoken.sign.SaSignTemplate
校验:指定时间戳与当前时间戳的差距是否在允许的范围内,如果超出则抛出异常
checkToken(String) - 类中的方法 cn.dev33.satoken.same.SaSameTemplate
校验一个 Same-Token 是否有效 (如果无效则抛出异常)
checkToken(String) - 类中的静态方法 cn.dev33.satoken.same.SaSameUtil
校验一个 Same-Token 是否有效 (如果无效则抛出异常)
clear() - 类中的方法 cn.dev33.satoken.application.SaApplication
清空存入的所有 key
clear() - 类中的方法 cn.dev33.satoken.session.SaSession
清空所有值
clearBox() - 类中的静态方法 cn.dev33.satoken.context.SaTokenContextForThreadLocalStorage
清除 [Box存储器]
clearLastActivity(String) - 类中的方法 cn.dev33.satoken.stp.StpLogic
清除指定 Token 的 [最后操作时间记录]
clearListener() - 类中的静态方法 cn.dev33.satoken.listener.SaTokenEventCenter
清空所有已注册的侦听器
closeSafe() - 类中的方法 cn.dev33.satoken.stp.StpLogic
在当前会话 结束二级认证
closeSafe() - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
在当前会话 结束二级认证
closeSafe(String) - 类中的方法 cn.dev33.satoken.stp.StpLogic
在当前会话 结束二级认证
closeSafe(String) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
在当前会话 结束二级认证
cn.dev33.satoken - 程序包 cn.dev33.satoken
 
cn.dev33.satoken.annotation - 程序包 cn.dev33.satoken.annotation
 
cn.dev33.satoken.application - 程序包 cn.dev33.satoken.application
 
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.error - 程序包 cn.dev33.satoken.error
 
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.json - 程序包 cn.dev33.satoken.json
 
cn.dev33.satoken.listener - 程序包 cn.dev33.satoken.listener
 
cn.dev33.satoken.log - 程序包 cn.dev33.satoken.log
 
cn.dev33.satoken.router - 程序包 cn.dev33.satoken.router
 
cn.dev33.satoken.same - 程序包 cn.dev33.satoken.same
 
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_10001 - 接口中的静态变量 cn.dev33.satoken.error.SaErrorCode
未能获取有效的上下文处理器
CODE_10002 - 接口中的静态变量 cn.dev33.satoken.error.SaErrorCode
未能获取有效的上下文
CODE_10003 - 接口中的静态变量 cn.dev33.satoken.error.SaErrorCode
JSON 转换器未实现
CODE_10011 - 接口中的静态变量 cn.dev33.satoken.error.SaErrorCode
未能从全局 StpLogic 集合中找到对应 type 的 StpLogic
CODE_10021 - 接口中的静态变量 cn.dev33.satoken.error.SaErrorCode
指定的配置文件加载失败
CODE_10022 - 接口中的静态变量 cn.dev33.satoken.error.SaErrorCode
配置文件属性无法正常读取
CODE_10031 - 接口中的静态变量 cn.dev33.satoken.error.SaErrorCode
重置的侦听器集合不可以为空
CODE_10032 - 接口中的静态变量 cn.dev33.satoken.error.SaErrorCode
注册的侦听器不可以为空
CODE_10301 - 接口中的静态变量 cn.dev33.satoken.error.SaErrorCode
提供的 Same-Token 是无效的
CODE_10311 - 接口中的静态变量 cn.dev33.satoken.error.SaErrorCode
表示未能通过 Http Basic 认证校验
CODE_10321 - 接口中的静态变量 cn.dev33.satoken.error.SaErrorCode
提供的 HttpMethod 是无效的
CODE_11001 - 接口中的静态变量 cn.dev33.satoken.error.SaErrorCode
未能读取到有效Token
CODE_11002 - 接口中的静态变量 cn.dev33.satoken.error.SaErrorCode
登录时的账号id值为空
CODE_11003 - 接口中的静态变量 cn.dev33.satoken.error.SaErrorCode
更改 Token 指向的 账号Id 时,账号Id值为空
CODE_11011 - 接口中的静态变量 cn.dev33.satoken.error.SaErrorCode
未能读取到有效Token
CODE_11012 - 接口中的静态变量 cn.dev33.satoken.error.SaErrorCode
Token无效
CODE_11013 - 接口中的静态变量 cn.dev33.satoken.error.SaErrorCode
Token已过期
CODE_11014 - 接口中的静态变量 cn.dev33.satoken.error.SaErrorCode
Token已被顶下线
CODE_11015 - 接口中的静态变量 cn.dev33.satoken.error.SaErrorCode
Token已被踢下线
CODE_11016 - 接口中的静态变量 cn.dev33.satoken.error.SaErrorCode
Token已临时过期
CODE_11031 - 接口中的静态变量 cn.dev33.satoken.error.SaErrorCode
在未集成 sa-token-jwt 插件时调用 getExtra() 抛出异常
CODE_11041 - 接口中的静态变量 cn.dev33.satoken.error.SaErrorCode
缺少指定的角色
CODE_11051 - 接口中的静态变量 cn.dev33.satoken.error.SaErrorCode
缺少指定的权限
CODE_11061 - 接口中的静态变量 cn.dev33.satoken.error.SaErrorCode
当前账号未通过服务封禁校验
CODE_11062 - 接口中的静态变量 cn.dev33.satoken.error.SaErrorCode
提供要解禁的账号无效
CODE_11063 - 接口中的静态变量 cn.dev33.satoken.error.SaErrorCode
提供要解禁的服务无效
CODE_11064 - 接口中的静态变量 cn.dev33.satoken.error.SaErrorCode
提供要解禁的等级无效
CODE_11071 - 接口中的静态变量 cn.dev33.satoken.error.SaErrorCode
二级认证校验未通过
CODE_12001 - 接口中的静态变量 cn.dev33.satoken.error.SaErrorCode
请求中缺少指定的参数
CODE_12002 - 接口中的静态变量 cn.dev33.satoken.error.SaErrorCode
构建 Cookie 时缺少 name 参数
CODE_12003 - 接口中的静态变量 cn.dev33.satoken.error.SaErrorCode
构建 Cookie 时缺少 value 参数
CODE_12101 - 接口中的静态变量 cn.dev33.satoken.error.SaErrorCode
Base64 编码异常
CODE_12102 - 接口中的静态变量 cn.dev33.satoken.error.SaErrorCode
Base64 解码异常
CODE_12103 - 接口中的静态变量 cn.dev33.satoken.error.SaErrorCode
URL 编码异常
CODE_12104 - 接口中的静态变量 cn.dev33.satoken.error.SaErrorCode
URL 解码异常
CODE_12111 - 接口中的静态变量 cn.dev33.satoken.error.SaErrorCode
md5 加密异常
CODE_12112 - 接口中的静态变量 cn.dev33.satoken.error.SaErrorCode
sha1 加密异常
CODE_12113 - 接口中的静态变量 cn.dev33.satoken.error.SaErrorCode
sha256 加密异常
CODE_12114 - 接口中的静态变量 cn.dev33.satoken.error.SaErrorCode
AES 加密异常
CODE_12115 - 接口中的静态变量 cn.dev33.satoken.error.SaErrorCode
AES 解密异常
CODE_12116 - 接口中的静态变量 cn.dev33.satoken.error.SaErrorCode
RSA 公钥加密异常
CODE_12117 - 接口中的静态变量 cn.dev33.satoken.error.SaErrorCode
RSA 私钥加密异常
CODE_12118 - 接口中的静态变量 cn.dev33.satoken.error.SaErrorCode
RSA 公钥解密异常
CODE_12119 - 接口中的静态变量 cn.dev33.satoken.error.SaErrorCode
RSA 私钥解密异常
CODE_12201 - 接口中的静态变量 cn.dev33.satoken.error.SaErrorCode
参与参数签名的秘钥不可为空
CODE_12202 - 接口中的静态变量 cn.dev33.satoken.error.SaErrorCode
给定的签名无效
CODE_12203 - 接口中的静态变量 cn.dev33.satoken.error.SaErrorCode
timestamp 超出允许的范围
CODE_ERROR - 类中的静态变量 cn.dev33.satoken.util.SaResult
 
CODE_SUCCESS - 类中的静态变量 cn.dev33.satoken.util.SaResult
 
CODE_UNDEFINED - 接口中的静态变量 cn.dev33.satoken.error.SaErrorCode
代表这个异常在抛出时未指定异常细分状态码
config - 类中的静态变量 cn.dev33.satoken.SaManager
配置文件 Bean
configPath - 类中的静态变量 cn.dev33.satoken.config.SaTokenConfigFactory
配置文件地址
CONNECT - enum class 中的枚举常量 cn.dev33.satoken.router.SaHttpMethod
 
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路径获取配置信息
createConfig(String) - 类中的静态方法 cn.dev33.satoken.config.SaTokenConfigFactory
根据指定路径路径获取配置信息
createLoginSession(Object) - 类中的方法 cn.dev33.satoken.stp.StpLogic
创建指定账号id的登录会话
createLoginSession(Object) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
创建指定账号id的登录会话
createLoginSession(Object, SaLoginModel) - 类中的方法 cn.dev33.satoken.stp.StpLogic
创建指定账号id的登录会话
createLoginSession(Object, SaLoginModel) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
创建指定账号id的登录会话
createSession - 类中的变量 cn.dev33.satoken.strategy.SaStrategy
创建 Session 的策略
createSign(Map<String, Object>, String) - 接口中的方法 cn.dev33.satoken.sign.SaSignTemplate
创建签名:md5(paramsStr + keyStr)
createToken - 类中的变量 cn.dev33.satoken.strategy.SaStrategy
创建 Token 的策略
createToken() - 类中的方法 cn.dev33.satoken.same.SaSameTemplate
创建一个 Same-Token
createToken(Object, long) - 接口中的方法 cn.dev33.satoken.temp.SaTempInterface
为 指定值 创建一个临时 Token
createToken(Object, long) - 类中的静态方法 cn.dev33.satoken.temp.SaTempUtil
为 指定值 创建一个临时 Token
createToken(String, Object, long) - 接口中的方法 cn.dev33.satoken.temp.SaTempInterface
为 指定服务 指定值 创建一个 Token
createToken(String, Object, long) - 类中的静态方法 cn.dev33.satoken.temp.SaTempUtil
为 指定服务 指定值 创建一个 Token
createTokenValue(Object, String, long, Map<String, Object>) - 类中的方法 cn.dev33.satoken.stp.StpLogic
创建一个TokenValue
crypt(byte[], byte[], int, int[]) - 类中的方法 cn.dev33.satoken.secure.BCrypt
加密密文

D

data(Object) - 类中的静态方法 cn.dev33.satoken.util.SaResult
 
dataMap - 类中的变量 cn.dev33.satoken.dao.SaTokenDaoDefaultImpl
数据集合
debug - 类中的静态变量 cn.dev33.satoken.log.SaLogForConsole
 
debug(String, Object...) - 接口中的方法 cn.dev33.satoken.log.SaLog
输出 debug 日志
debug(String, Object...) - 类中的方法 cn.dev33.satoken.log.SaLogForConsole
 
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_DISABLE_LEVEL - 类中的静态变量 cn.dev33.satoken.util.SaTokenConsts
常量key标记: 在封禁账号时,默认封禁的等级
DEFAULT_DISABLE_SERVICE - 类中的静态变量 cn.dev33.satoken.util.SaTokenConsts
常量key标记: 在封禁账号时,默认封禁的服务类型
DEFAULT_LOGIN_DEVICE - 类中的静态变量 cn.dev33.satoken.util.SaTokenConsts
常量key标记: 在登录时,默认使用的设备类型
DEFAULT_MESSAGE - 异常错误中的静态变量 cn.dev33.satoken.exception.NotLoginException
默认的提示语
DEFAULT_REALM - 类中的静态变量 cn.dev33.satoken.basic.SaBasicTemplate
默认的 Realm 名称
DEFAULT_SAFE_AUTH_SERVICE - 类中的静态变量 cn.dev33.satoken.util.SaTokenConsts
常量key标记: 在进行 Token 二级验证时,默认的业务类型
DEFAULT_TEMP_TOKEN_SERVICE - 类中的静态变量 cn.dev33.satoken.util.SaTokenConsts
常量key标记: 临时 Token 认证模块,默认的业务类型
defaultContext - 类中的静态变量 cn.dev33.satoken.context.SaTokenContextDefaultImpl
默认的上下文处理器对象
defaultInstance - 类中的静态变量 cn.dev33.satoken.application.SaApplication
默认实例
delete(String) - 类中的方法 cn.dev33.satoken.application.SaApplication
删值
delete(String) - 接口中的方法 cn.dev33.satoken.application.SaSetValueInterface
删值
delete(String) - 接口中的方法 cn.dev33.satoken.context.model.SaStorage
删值
delete(String) - 接口中的方法 cn.dev33.satoken.dao.SaTokenDao
删除Value
delete(String) - 类中的方法 cn.dev33.satoken.dao.SaTokenDaoDefaultImpl
 
delete(String) - 类中的方法 cn.dev33.satoken.session.SaSession
删值
DELETE - enum class 中的枚举常量 cn.dev33.satoken.router.SaHttpMethod
 
deleteCookie(String) - 接口中的方法 cn.dev33.satoken.context.model.SaResponse
删除指定Cookie
deleteCookie(String, String, 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
deleteToken(String, String) - 接口中的方法 cn.dev33.satoken.temp.SaTempInterface
删除一个 Token
deleteToken(String, 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
封禁:指定账号
disable(Object, long) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
封禁:指定账号
disable(Object, String, long) - 类中的方法 cn.dev33.satoken.stp.StpLogic
封禁:指定账号的指定服务
disable(Object, String, long) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
封禁:指定账号的指定服务
disableLevel(Object, int, long) - 类中的方法 cn.dev33.satoken.stp.StpLogic
封禁:指定账号,并指定封禁等级
disableLevel(Object, int, long) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
封禁:指定账号,并指定封禁等级
disableLevel(Object, String, int, long) - 类中的方法 cn.dev33.satoken.stp.StpLogic
封禁:指定账号的指定服务,并指定封禁等级
disableLevel(Object, String, int, long) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
封禁:指定账号的指定服务,并指定封禁等级
DisableServiceException - cn.dev33.satoken.exception中的异常错误
一个异常:代表指定账号指定服务已被封禁
DisableServiceException(String, Object, String, int, int, long) - 异常错误的构造器 cn.dev33.satoken.exception.DisableServiceException
一个异常:代表指定账号指定服务已被封禁
distUsableToken(Object, SaLoginModel) - 类中的方法 cn.dev33.satoken.stp.StpLogic
为指定账号id的登录操作,分配一个可用的 Token
doCloseSafe(String, String, String) - 类中的静态方法 cn.dev33.satoken.listener.SaTokenEventCenter
每次关闭二级认证时触发
doCloseSafe(String, String, String) - 接口中的方法 cn.dev33.satoken.listener.SaTokenListener
每次关闭二级认证时触发
doCloseSafe(String, String, String) - 类中的方法 cn.dev33.satoken.listener.SaTokenListenerForLog
每次关闭二级认证时触发
doCloseSafe(String, String, String) - 类中的方法 cn.dev33.satoken.listener.SaTokenListenerForSimple
 
doCreateSession(String) - 类中的静态方法 cn.dev33.satoken.listener.SaTokenEventCenter
每次创建Session时触发
doCreateSession(String) - 接口中的方法 cn.dev33.satoken.listener.SaTokenListener
每次创建Session时触发
doCreateSession(String) - 类中的方法 cn.dev33.satoken.listener.SaTokenListenerForLog
每次创建Session时触发
doCreateSession(String) - 类中的方法 cn.dev33.satoken.listener.SaTokenListenerForSimple
 
doDisable(String, Object, String, int, long) - 类中的静态方法 cn.dev33.satoken.listener.SaTokenEventCenter
每次被封禁时触发
doDisable(String, Object, String, int, long) - 接口中的方法 cn.dev33.satoken.listener.SaTokenListener
每次被封禁时触发
doDisable(String, Object, String, int, long) - 类中的方法 cn.dev33.satoken.listener.SaTokenListenerForLog
每次被封禁时触发
doDisable(String, Object, String, int, long) - 类中的方法 cn.dev33.satoken.listener.SaTokenListenerForSimple
 
doKickout(String, Object, String) - 类中的静态方法 cn.dev33.satoken.listener.SaTokenEventCenter
每次被踢下线时触发
doKickout(String, Object, String) - 接口中的方法 cn.dev33.satoken.listener.SaTokenListener
每次被踢下线时触发
doKickout(String, Object, String) - 类中的方法 cn.dev33.satoken.listener.SaTokenListenerForLog
每次被踢下线时触发
doKickout(String, Object, String) - 类中的方法 cn.dev33.satoken.listener.SaTokenListenerForSimple
 
doLogin(String, Object, String, SaLoginModel) - 类中的静态方法 cn.dev33.satoken.listener.SaTokenEventCenter
每次登录时触发
doLogin(String, Object, String, SaLoginModel) - 接口中的方法 cn.dev33.satoken.listener.SaTokenListener
每次登录时触发
doLogin(String, Object, String, SaLoginModel) - 类中的方法 cn.dev33.satoken.listener.SaTokenListenerForLog
每次登录时触发
doLogin(String, Object, String, SaLoginModel) - 类中的方法 cn.dev33.satoken.listener.SaTokenListenerForSimple
 
doLogout(String, Object, String) - 类中的静态方法 cn.dev33.satoken.listener.SaTokenEventCenter
每次注销时触发
doLogout(String, Object, String) - 接口中的方法 cn.dev33.satoken.listener.SaTokenListener
每次注销时触发
doLogout(String, Object, String) - 类中的方法 cn.dev33.satoken.listener.SaTokenListenerForLog
每次注销时触发
doLogout(String, Object, String) - 类中的方法 cn.dev33.satoken.listener.SaTokenListenerForSimple
 
doLogoutSession(String) - 类中的静态方法 cn.dev33.satoken.listener.SaTokenEventCenter
每次注销Session时触发
doLogoutSession(String) - 接口中的方法 cn.dev33.satoken.listener.SaTokenListener
每次注销Session时触发
doLogoutSession(String) - 类中的方法 cn.dev33.satoken.listener.SaTokenListenerForLog
每次注销Session时触发
doLogoutSession(String) - 类中的方法 cn.dev33.satoken.listener.SaTokenListenerForSimple
 
doOpenSafe(String, String, String, long) - 类中的静态方法 cn.dev33.satoken.listener.SaTokenEventCenter
每次打开二级认证时触发
doOpenSafe(String, String, String, long) - 接口中的方法 cn.dev33.satoken.listener.SaTokenListener
每次打开二级认证时触发
doOpenSafe(String, String, String, long) - 类中的方法 cn.dev33.satoken.listener.SaTokenListenerForLog
每次打开二级认证时触发
doOpenSafe(String, String, String, long) - 类中的方法 cn.dev33.satoken.listener.SaTokenListenerForSimple
 
doRegisterComponent(String, Object) - 类中的静态方法 cn.dev33.satoken.listener.SaTokenEventCenter
全局组件载入
doRegisterComponent(String, Object) - 接口中的方法 cn.dev33.satoken.listener.SaTokenListener
全局组件载入
doRegisterComponent(String, Object) - 类中的方法 cn.dev33.satoken.listener.SaTokenListenerForLog
全局组件载入
doRenewTimeout(String, Object, long) - 类中的静态方法 cn.dev33.satoken.listener.SaTokenEventCenter
每次Token续期时触发
doRenewTimeout(String, Object, long) - 接口中的方法 cn.dev33.satoken.listener.SaTokenListener
每次Token续期时触发
doRenewTimeout(String, Object, long) - 类中的方法 cn.dev33.satoken.listener.SaTokenListenerForLog
每次Token续期时触发
doRenewTimeout(String, Object, long) - 类中的方法 cn.dev33.satoken.listener.SaTokenListenerForSimple
 
doReplaced(String, Object, String) - 类中的静态方法 cn.dev33.satoken.listener.SaTokenEventCenter
每次被顶下线时触发
doReplaced(String, Object, String) - 接口中的方法 cn.dev33.satoken.listener.SaTokenListener
每次被顶下线时触发
doReplaced(String, Object, String) - 类中的方法 cn.dev33.satoken.listener.SaTokenListenerForLog
每次被顶下线时触发
doReplaced(String, Object, String) - 类中的方法 cn.dev33.satoken.listener.SaTokenListenerForSimple
 
doSetConfig(SaTokenConfig) - 类中的静态方法 cn.dev33.satoken.listener.SaTokenEventCenter
载入全局配置
doSetConfig(SaTokenConfig) - 接口中的方法 cn.dev33.satoken.listener.SaTokenListener
载入全局配置
doSetConfig(SaTokenConfig) - 类中的方法 cn.dev33.satoken.listener.SaTokenListenerForLog
载入全局配置
doSetStpLogic(StpLogic) - 类中的静态方法 cn.dev33.satoken.listener.SaTokenEventCenter
StpLogic 对象替换
doSetStpLogic(StpLogic) - 接口中的方法 cn.dev33.satoken.listener.SaTokenListener
StpLogic 对象替换
doSetStpLogic(StpLogic) - 类中的方法 cn.dev33.satoken.listener.SaTokenListenerForLog
StpLogic 对象替换
doUntieDisable(String, Object, String) - 类中的静态方法 cn.dev33.satoken.listener.SaTokenEventCenter
每次被解封时触发
doUntieDisable(String, Object, String) - 接口中的方法 cn.dev33.satoken.listener.SaTokenListener
每次被解封时触发
doUntieDisable(String, Object, String) - 类中的方法 cn.dev33.satoken.listener.SaTokenListenerForLog
每次被解封时触发
doUntieDisable(String, Object, String) - 类中的方法 cn.dev33.satoken.listener.SaTokenListenerForSimple
 

E

EMPTY_JSON - 类中的静态变量 cn.dev33.satoken.util.StrFormatter
占位符
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
结束临时切换身份
equals(Object, Object) - 类中的静态方法 cn.dev33.satoken.util.SaFoxUtil
比较两个对象是否相等
error - 类中的静态变量 cn.dev33.satoken.log.SaLogForConsole
 
error() - 类中的静态方法 cn.dev33.satoken.util.SaResult
 
error(String) - 类中的静态方法 cn.dev33.satoken.util.SaResult
 
error(String, Object...) - 接口中的方法 cn.dev33.satoken.log.SaLog
输出 error 日志
error(String, Object...) - 类中的方法 cn.dev33.satoken.log.SaLogForConsole
 
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

fatal - 类中的静态变量 cn.dev33.satoken.log.SaLogForConsole
 
fatal(String, Object...) - 接口中的方法 cn.dev33.satoken.log.SaLog
输出 fatal 日志
fatal(String, Object...) - 类中的方法 cn.dev33.satoken.log.SaLogForConsole
 
format(String, Object...) - 类中的静态方法 cn.dev33.satoken.util.StrFormatter
格式化字符串
此方法只是简单将占位符 {} 按照顺序替换为参数
如果想输出 {} 使用 \\转义 { 即可,如果想输出 {} 之前的 \ 使用双转义符 \\\\ 即可
例:
通常使用:format("this is {} for {}", "a", "b") =》 this is a for b
转义{}: format("this is \\{} for {}", "a", "b") =》 this is \{} for a
转义\: format("this is \\\\{} for {}", "a", "b") =》 this is \a for b
formatAfterDate(long) - 类中的静态方法 cn.dev33.satoken.util.SaFoxUtil
指定毫秒后的时间(格式化 :yyyy-MM-dd HH:mm:ss)
formatDate(ZonedDateTime) - 类中的静态方法 cn.dev33.satoken.util.SaFoxUtil
将日期格式化 (yyyy-MM-dd HH:mm:ss)
formatDate(Date) - 类中的静态方法 cn.dev33.satoken.util.SaFoxUtil
将日期格式化 (yyyy-MM-dd HH:mm:ss)
formatWith(String, String, Object...) - 类中的静态方法 cn.dev33.satoken.util.StrFormatter
格式化字符串
此方法只是简单将指定占位符 按照顺序替换为参数
如果想输出占位符使用 \\转义即可,如果想输出占位符之前的 \ 使用双转义符 \\\\ 即可
例:
通常使用:format("this is {} for {}", "{}", "a", "b") =》 this is a for b
转义{}: format("this is \\{} for {}", "{}", "a", "b") =》 this is {} for a
转义\: format("this is \\\\{} for {}", "{}", "a", "b") =》 this is \a for b
forward(String) - 接口中的方法 cn.dev33.satoken.context.model.SaRequest
转发请求
free(SaParamFunction<SaRouterStaff>) - 类中的方法 cn.dev33.satoken.router.SaRouterStaff
自由匹配 ( 在free作用域里执行stop()不会跳出Auth函数,而是仅仅跳出free代码块 )

G

gensalt() - 类中的静态方法 cn.dev33.satoken.secure.BCrypt
生成盐
gensalt(int) - 类中的静态方法 cn.dev33.satoken.secure.BCrypt
生成盐
gensalt(int, SecureRandom) - 类中的静态方法 cn.dev33.satoken.secure.BCrypt
生成盐
get(int, String, Object) - 类中的静态方法 cn.dev33.satoken.util.SaResult
 
get(String) - 类中的方法 cn.dev33.satoken.application.SaApplication
取值
get(String) - 接口中的方法 cn.dev33.satoken.application.SaGetValueInterface
取值
get(String) - 接口中的方法 cn.dev33.satoken.context.model.SaStorage
取值
get(String) - 接口中的方法 cn.dev33.satoken.dao.SaTokenDao
获取Value,如无返空
get(String) - 类中的方法 cn.dev33.satoken.dao.SaTokenDaoDefaultImpl
 
get(String) - 类中的方法 cn.dev33.satoken.session.SaSession
取值
get(String, SaRetFunction) - 接口中的方法 cn.dev33.satoken.application.SaSetValueInterface
取值 (如果值为 null,则执行 fun 函数获取值,并把函数返回值写入缓存)
get(String, Class<T>) - 类中的方法 cn.dev33.satoken.util.SaResult
获取一个值 根据自定义key
get(String, T) - 接口中的方法 cn.dev33.satoken.application.SaGetValueInterface
取值 (指定默认值)
GET - enum class 中的枚举常量 cn.dev33.satoken.router.SaHttpMethod
 
getActivityTimeout() - 类中的方法 cn.dev33.satoken.config.SaTokenConfig
 
getAnnotation - 类中的变量 cn.dev33.satoken.strategy.SaStrategy
从元素上获取注解
getAnonTokenSession() - 类中的方法 cn.dev33.satoken.stp.StpLogic
获取当前匿名 Token-Session (可在未登录情况下使用的Token-Session)
getAnonTokenSession() - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
获取当前匿名 Token-Session (可在未登录情况下使用的Token-Session)
getAnonTokenSession(boolean) - 类中的方法 cn.dev33.satoken.stp.StpLogic
获取当前匿名 Token-Session (可在未登录情况下使用的Token-Session)
getApplication() - 类中的静态方法 cn.dev33.satoken.context.SaHolder
获取全局 SaApplication 对象
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
已过时。
getCheckSameToken() - 类中的方法 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
返回全局配置对象
getConfigOfCookieTimeout() - 类中的方法 cn.dev33.satoken.stp.StpLogic
返回全局配置的 Cookie 保存时长,单位:秒 (根据全局 timeout 计算)
getConfigOfIsShare() - 类中的方法 cn.dev33.satoken.stp.StpLogic
返回全局配置对象的isShare属性
getContext() - 类中的静态方法 cn.dev33.satoken.context.SaHolder
获取当前请求的 SaTokenContext
getCookie() - 类中的方法 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
 
getDeviceOrDefault() - 类中的方法 cn.dev33.satoken.stp.SaLoginModel
 
getDisableLevel(Object) - 类中的方法 cn.dev33.satoken.stp.StpLogic
获取:指定账号被封禁的等级,如果未被封禁则返回-2
getDisableLevel(Object) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
获取:指定账号被封禁的等级,如果未被封禁则返回-2
getDisableLevel(Object, String) - 类中的方法 cn.dev33.satoken.stp.StpLogic
获取:指定账号的 指定服务 被封禁的等级,如果未被封禁则返回-2
getDisableLevel(Object, String) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
获取:指定账号的 指定服务 被封禁的等级,如果未被封禁则返回-2
getDisableTime() - 异常错误中的方法 cn.dev33.satoken.exception.DisableServiceException
获取: 封禁剩余时间,单位:秒
getDisableTime(Object) - 类中的方法 cn.dev33.satoken.stp.StpLogic
获取:指定账号剩余封禁时间,单位:秒(-1=永久封禁,-2=未被封禁)
getDisableTime(Object) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
获取:指定账号剩余封禁时间,单位:秒(-1=永久封禁,-2=未被封禁)
getDisableTime(Object, String) - 类中的方法 cn.dev33.satoken.stp.StpLogic
获取:指定账号 指定服务 剩余封禁时间,单位:秒(-1=永久封禁,-2=未被封禁)
getDisableTime(Object, String) - 类中的静态方法 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.application.SaGetValueInterface
取值 (转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模式下生效)
getExtra(String, String) - 类中的方法 cn.dev33.satoken.stp.StpLogic
获取指定 Token 的扩展信息(此函数只在jwt模式下生效)
getExtra(String, String) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
获取指定 Token 的扩展信息(此函数只在jwt模式下生效)
getExtraData() - 类中的方法 cn.dev33.satoken.stp.SaLoginModel
 
getFloat(String) - 接口中的方法 cn.dev33.satoken.application.SaGetValueInterface
取值 (转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.application.SaGetValueInterface
取值 (转int类型)
getIsConcurrent() - 类中的方法 cn.dev33.satoken.config.SaTokenConfig
 
getIsLastingCookie() - 类中的方法 cn.dev33.satoken.stp.SaLoginModel
 
getIsLastingCookieOrFalse() - 类中的方法 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
已过时。
getIsReadHeader() - 类中的方法 cn.dev33.satoken.config.SaTokenConfig
 
getIsShare() - 类中的方法 cn.dev33.satoken.config.SaTokenConfig
 
getIsWriteHeader() - 类中的方法 cn.dev33.satoken.config.SaTokenConfig
 
getIsWriteHeader() - 类中的方法 cn.dev33.satoken.stp.SaLoginModel
 
getIsWriteHeaderOrGlobalConfig() - 类中的方法 cn.dev33.satoken.stp.SaLoginModel
 
getJwtSecretKey() - 类中的方法 cn.dev33.satoken.config.SaTokenConfig
 
getJwtSecretKey() - 接口中的方法 cn.dev33.satoken.temp.SaTempInterface
 
getLevel() - 异常错误中的方法 cn.dev33.satoken.exception.DisableServiceException
获取: 被封禁的等级
getLimitLevel() - 异常错误中的方法 cn.dev33.satoken.exception.DisableServiceException
获取: 校验时要求低于的等级
getListenerList() - 类中的静态方法 cn.dev33.satoken.listener.SaTokenEventCenter
获取已注册的所有侦听器
getLog() - 类中的静态方法 cn.dev33.satoken.SaManager
 
getLoginDevice() - 类中的方法 cn.dev33.satoken.stp.SaTokenInfo
 
getLoginDevice() - 类中的方法 cn.dev33.satoken.stp.StpLogic
返回当前会话的登录设备类型
getLoginDevice() - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
返回当前会话的登录设备类型
getLoginId() - 异常错误中的方法 cn.dev33.satoken.exception.DisableServiceException
获取: 被封禁的账号id
getLoginId() - 类中的方法 cn.dev33.satoken.stp.SaTokenInfo
 
getLoginId() - 类中的方法 cn.dev33.satoken.stp.StpLogic
获取当前会话账号id, 如果未登录,则抛出异常
getLoginId() - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
获取当前会话账号id, 如果未登录,则抛出异常
getLoginId(T) - 类中的方法 cn.dev33.satoken.stp.StpLogic
获取当前会话账号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 (不做任何特殊处理)
getLoginType() - 异常错误中的方法 cn.dev33.satoken.exception.DisableServiceException
获取:账号类型
getLoginType() - 异常错误中的方法 cn.dev33.satoken.exception.NotLoginException
获得账号类型
getLoginType() - 异常错误中的方法 cn.dev33.satoken.exception.NotPermissionException
获得账号类型
getLoginType() - 异常错误中的方法 cn.dev33.satoken.exception.NotRoleException
获得账号类型
getLoginType() - 异常错误中的方法 cn.dev33.satoken.exception.NotSafeException
获取:账号类型
getLoginType() - 类中的方法 cn.dev33.satoken.stp.SaTokenInfo
 
getLoginType() - 类中的方法 cn.dev33.satoken.stp.StpLogic
获取当前 StpLogic 的账号类型
getLoginType() - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
获取当前 StpLogic 的账号类型
getLogLevel() - 类中的方法 cn.dev33.satoken.config.SaTokenConfig
 
getLogLevelInt() - 类中的方法 cn.dev33.satoken.config.SaTokenConfig
 
getLong(String) - 接口中的方法 cn.dev33.satoken.application.SaGetValueInterface
取值 (转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.application.SaGetValueInterface
取值 (指定转换类型)
getModel(String, Class<T>, Object) - 接口中的方法 cn.dev33.satoken.application.SaGetValueInterface
取值 (指定转换类型, 并指定值为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.same.SaSameTemplate
获取 Past-Same-Token,不做任何处理
getPastTokenNh() - 类中的静态方法 cn.dev33.satoken.same.SaSameUtil
获取 Past-Same-Token,不做任何处理
getPath() - 类中的方法 cn.dev33.satoken.config.SaCookieConfig
 
getPath() - 类中的方法 cn.dev33.satoken.context.model.SaCookie
 
getPermission() - 异常错误中的方法 cn.dev33.satoken.exception.NotPermissionException
 
getPermissionList() - 类中的方法 cn.dev33.satoken.stp.StpLogic
获取:当前账号的权限码集合
getPermissionList() - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
获取:当前账号的权限码集合
getPermissionList(Object) - 类中的方法 cn.dev33.satoken.stp.StpLogic
获取:指定账号的权限码集合
getPermissionList(Object) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
获取:指定账号的权限码集合
getPermissionList(Object, String) - 接口中的方法 cn.dev33.satoken.stp.StpInterface
返回指定账号id所拥有的权限码集合
getPermissionList(Object, String) - 类中的方法 cn.dev33.satoken.stp.StpInterfaceDefaultImpl
 
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() - 类中的方法 cn.dev33.satoken.stp.StpLogic
获取:当前账号的角色集合
getRoleList() - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
获取:当前账号的角色集合
getRoleList(Object) - 类中的方法 cn.dev33.satoken.stp.StpLogic
获取:指定账号的角色集合
getRoleList(Object) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
获取:指定账号的角色集合
getRoleList(Object, String) - 接口中的方法 cn.dev33.satoken.stp.StpInterface
返回指定账号id所拥有的角色标识集合
getRoleList(Object, String) - 类中的方法 cn.dev33.satoken.stp.StpInterfaceDefaultImpl
 
getSafeTime() - 类中的方法 cn.dev33.satoken.stp.StpLogic
获取当前会话的二级认证剩余有效时间 (单位: 秒, 返回-2代表尚未通过二级认证)
getSafeTime() - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
获取当前会话的二级认证剩余有效时间 (单位: 秒, 返回-2代表尚未通过二级认证)
getSafeTime(String) - 类中的方法 cn.dev33.satoken.stp.StpLogic
获取当前会话的二级认证剩余有效时间 (单位: 秒, 返回-2代表尚未通过二级认证)
getSafeTime(String) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
获取当前会话的二级认证剩余有效时间 (单位: 秒, 返回-2代表尚未通过二级认证)
getSaJsonTemplate() - 类中的静态方法 cn.dev33.satoken.SaManager
 
getSameSite() - 类中的方法 cn.dev33.satoken.config.SaCookieConfig
 
getSameSite() - 类中的方法 cn.dev33.satoken.context.model.SaCookie
 
getSameTokenTimeout() - 类中的方法 cn.dev33.satoken.config.SaTokenConfig
 
getSaSameTemplate() - 类中的静态方法 cn.dev33.satoken.SaManager
 
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
返回持久化对象
getSaTokenSecondContext() - 类中的静态方法 cn.dev33.satoken.SaManager
 
getSecure() - 类中的方法 cn.dev33.satoken.config.SaCookieConfig
 
getSecure() - 类中的方法 cn.dev33.satoken.context.model.SaCookie
 
getService() - 异常错误中的方法 cn.dev33.satoken.exception.DisableServiceException
获取: 被封禁的服务
getService() - 异常错误中的方法 cn.dev33.satoken.exception.NotSafeException
获取: 未通过校验的服务
getSession() - 类中的方法 cn.dev33.satoken.stp.StpLogic
获取当前User-Session,如果Session尚未创建,则新建并返回
getSession() - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
获取当前会话的Session,如果Session尚未创建,则新建并返回
getSession(boolean) - 类中的方法 cn.dev33.satoken.stp.StpLogic
获取当前User-Session, 如果Session尚未创建,isCreate=是否新建并返回
getSession(boolean) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
获取当前会话的Session, 如果Session尚未创建,isCreate=是否新建并返回
getSession(String) - 接口中的方法 cn.dev33.satoken.dao.SaTokenDao
获取Session,如无返空
getSessionById(String) - 类中的静态方法 cn.dev33.satoken.session.SaSessionCustomUtil
获取指定key的Session, 如果此Session尚未在DB创建,则新建并返回
getSessionById(String, boolean) - 类中的静态方法 cn.dev33.satoken.session.SaSessionCustomUtil
获取指定key的Session
getSessionByLoginId(Object) - 类中的方法 cn.dev33.satoken.stp.StpLogic
获取指定账号id的User-Session,如果Session尚未创建,则新建并返回
getSessionByLoginId(Object) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
获取指定账号id的Session,如果Session尚未创建,则新建并返回
getSessionByLoginId(Object, boolean) - 类中的方法 cn.dev33.satoken.stp.StpLogic
获取指定账号id的User-Session, 如果Session尚未创建,isCreate=是否新建并返回
getSessionByLoginId(Object, boolean) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
获取指定账号id的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
getSessionBySessionId(String, boolean) - 类中的方法 cn.dev33.satoken.stp.StpLogic
获取指定key的Session, 如果Session尚未创建,isCreate=是否新建并返回
getSessionTimeout() - 类中的方法 cn.dev33.satoken.stp.SaTokenInfo
 
getSessionTimeout() - 类中的方法 cn.dev33.satoken.stp.StpLogic
获取当前登录者的 User-Session 剩余有效时间 (单位: 秒)
getSessionTimeout() - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
获取当前登录者的 User-Session 剩余有效时间 (单位: 秒)
getSessionTimeout(String) - 接口中的方法 cn.dev33.satoken.dao.SaTokenDao
获取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() - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
获取 StpLogic 对象
getStpLogic(String) - 类中的静态方法 cn.dev33.satoken.SaManager
根据 LoginType 获取对应的StpLogic,如果不存在则新建并返回
getStpLogic(String, boolean) - 类中的静态方法 cn.dev33.satoken.SaManager
根据 LoginType 获取对应的StpLogic,如果不存在,isCreate参数=是否自动创建并返回
getString(String) - 接口中的方法 cn.dev33.satoken.application.SaGetValueInterface
取值 (转String类型)
getSwitchLoginId() - 类中的方法 cn.dev33.satoken.stp.StpLogic
返回[身份临时切换]的loginId
getTag() - 类中的方法 cn.dev33.satoken.stp.SaTokenInfo
 
getTimeout() - 类中的方法 cn.dev33.satoken.config.SaTokenConfig
 
getTimeout() - 类中的方法 cn.dev33.satoken.session.SaSession
获取此Session的剩余存活时间 (单位: 秒)
getTimeout() - 类中的方法 cn.dev33.satoken.stp.SaLoginModel
 
getTimeout(String) - 接口中的方法 cn.dev33.satoken.dao.SaTokenDao
获取Value的剩余存活时间 (单位: 秒)
getTimeout(String) - 类中的方法 cn.dev33.satoken.dao.SaTokenDaoDefaultImpl
 
getTimeout(String) - 接口中的方法 cn.dev33.satoken.temp.SaTempInterface
获取指定 Token 的剩余有效期,单位:秒
getTimeout(String) - 类中的静态方法 cn.dev33.satoken.temp.SaTempUtil
获取指定 Token 的剩余有效期,单位:秒
getTimeout(String, String) - 接口中的方法 cn.dev33.satoken.temp.SaTempInterface
获取指定服务指定 Token 的剩余有效期,单位:秒
getTimeout(String, String) - 类中的静态方法 cn.dev33.satoken.temp.SaTempUtil
获取指定服务指定 Token 的剩余有效期,单位:秒
getTimeoutOrGlobalConfig() - 类中的方法 cn.dev33.satoken.stp.SaLoginModel
 
getToken() - 类中的方法 cn.dev33.satoken.same.SaSameTemplate
获取当前 Same-Token, 如果不存在,则立即创建并返回
getToken() - 类中的静态方法 cn.dev33.satoken.same.SaSameUtil
获取当前 Same-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.same.SaSameTemplate
获取 Same-Token,不做任何处理
getTokenNh() - 类中的静态方法 cn.dev33.satoken.same.SaSameUtil
获取 Same-Token,不做任何处理
getTokenPrefix() - 类中的方法 cn.dev33.satoken.config.SaTokenConfig
 
getTokenSession() - 类中的方法 cn.dev33.satoken.stp.StpLogic
获取当前Token-Session,如果Session尚未创建,则新建并返回
getTokenSession() - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
获取当前Token-Session,如果Session尚未创建,则新建并返回
getTokenSession(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尚未创建,则新建并返回
getTokenSessionByToken(String, boolean) - 类中的方法 cn.dev33.satoken.stp.StpLogic
获取指定Token-Session,如果Session尚未创建,isCreate代表是否新建并返回
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.same.SaSameTemplate
获取 Same-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.exception.NotSafeException
获取: 未通过校验的 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
getTokenValueByLoginId(Object) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
获取指定账号id的tokenValue
getTokenValueByLoginId(Object, String) - 类中的方法 cn.dev33.satoken.stp.StpLogic
获取指定账号id指定设备类型端的tokenValue
getTokenValueByLoginId(Object, String) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
获取指定账号id指定设备类型端的tokenValue
getTokenValueListByLoginId(Object) - 类中的方法 cn.dev33.satoken.stp.StpLogic
获取指定账号id的tokenValue集合
getTokenValueListByLoginId(Object) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
获取指定账号id的tokenValue集合
getTokenValueListByLoginId(Object, String) - 类中的方法 cn.dev33.satoken.stp.StpLogic
获取指定账号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 (不裁剪前缀)
getTokenValueNotNull() - 类中的方法 cn.dev33.satoken.stp.StpLogic
获取当前上下文的 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.application.SaGetValueInterface
根据默认值来获取值
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.application.SaGetValueInterface
是否含有某个key
hasElement - 类中的变量 cn.dev33.satoken.strategy.SaStrategy
判断:集合中是否包含指定元素(模糊匹配)
hasElement(List<String>, String) - 类中的方法 cn.dev33.satoken.stp.StpLogic
判断:集合中是否包含指定元素(模糊匹配)
hashpw(String) - 类中的静态方法 cn.dev33.satoken.secure.BCrypt
生成密文,使用长度为10的加盐方式
hashpw(String, String) - 类中的静态方法 cn.dev33.satoken.secure.BCrypt
生成密文
hasListener(SaTokenListener) - 类中的静态方法 cn.dev33.satoken.listener.SaTokenEventCenter
判断是否已经注册了指定侦听器
hasListener(Class<? extends SaTokenListener>) - 类中的静态方法 cn.dev33.satoken.listener.SaTokenEventCenter
判断是否已经注册了指定类型的侦听器
hasParam(String) - 接口中的方法 cn.dev33.satoken.context.model.SaRequest
检测请求是否提供了指定参数
hasPermission(Object, String) - 类中的方法 cn.dev33.satoken.stp.StpLogic
判断:指定账号id是否含有指定权限, 返回true或false
hasPermission(Object, String) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
判断:指定账号id是否含有指定权限, 返回true或false
hasPermission(String) - 类中的方法 cn.dev33.satoken.stp.StpLogic
判断:当前账号是否含有指定权限, 返回true或false
hasPermission(String) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
判断:当前账号是否含有指定权限, 返回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(Object, String) - 类中的方法 cn.dev33.satoken.stp.StpLogic
判断:指定账号是否含有指定角色标识, 返回true或false
hasRole(Object, String) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
判断:指定账号是否含有指定角色标识, 返回true或false
hasRole(String) - 类中的方法 cn.dev33.satoken.stp.StpLogic
判断:当前账号是否拥有指定角色, 返回true或false
hasRole(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
判断:当前账号是否含有指定角色标识 [指定多个,只要其一验证通过即可]
HEAD - enum class 中的枚举常量 cn.dev33.satoken.router.SaHttpMethod
 
HEADER_NAME - 类中的静态变量 cn.dev33.satoken.context.model.SaCookie
写入响应头时使用的key

I

IdTokenInvalidException - cn.dev33.satoken.exception中的异常错误
已过时。
IdTokenInvalidException(String) - 异常错误的构造器 cn.dev33.satoken.exception.IdTokenInvalidException
已过时。
一个异常:代表提供的 Id-Token 无效
info - 类中的静态变量 cn.dev33.satoken.log.SaLogForConsole
 
info(String, Object...) - 接口中的方法 cn.dev33.satoken.log.SaLog
输出 info 日志
info(String, Object...) - 类中的方法 cn.dev33.satoken.log.SaLogForConsole
 
initRefreshThread() - 类中的方法 cn.dev33.satoken.dao.SaTokenDaoDefaultImpl
初始化定时任务
INVALID_TOKEN - 异常错误中的静态变量 cn.dev33.satoken.exception.NotLoginException
表示token无效
INVALID_TOKEN_MESSAGE - 异常错误中的静态变量 cn.dev33.satoken.exception.NotLoginException
 
InvalidContextException - cn.dev33.satoken.exception中的异常错误
一个异常:代表未能获取有效的上下文
InvalidContextException(String) - 异常错误的构造器 cn.dev33.satoken.exception.InvalidContextException
一个异常:代表未能获取有效的上下文
isAjax() - 接口中的方法 cn.dev33.satoken.context.model.SaRequest
此请求是否为Ajax请求
isAnnotationPresent - 类中的变量 cn.dev33.satoken.strategy.SaStrategy
判断一个 Method 或其所属 Class 是否包含指定注解
isBasicType(Class<?>) - 类中的静态方法 cn.dev33.satoken.util.SaFoxUtil
判断类型是否为基础类型:8大基本数据类型、8大包装类、String
isDisable(Object) - 类中的方法 cn.dev33.satoken.stp.StpLogic
判断:指定账号是否已被封禁 (true=已被封禁, false=未被封禁)
isDisable(Object) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
判断:指定账号是否已被封禁 (true=已被封禁, false=未被封禁)
isDisable(Object, String) - 类中的方法 cn.dev33.satoken.stp.StpLogic
判断:指定账号的指定服务 是否已被封禁 (true=已被封禁, false=未被封禁)
isDisable(Object, String) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
判断:指定账号的指定服务 是否已被封禁 (true=已被封禁, false=未被封禁)
isDisableLevel(Object, int) - 类中的方法 cn.dev33.satoken.stp.StpLogic
判断:指定账号是否已被封禁到指定等级
isDisableLevel(Object, int) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
判断:指定账号是否已被封禁到指定等级
isDisableLevel(Object, String, int) - 类中的方法 cn.dev33.satoken.stp.StpLogic
判断:指定账号的指定服务,是否已被封禁到指定等级
isDisableLevel(Object, String, int) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
判断:指定账号的指定服务,是否已被封禁到指定等级
isEmpty(Object) - 类中的静态方法 cn.dev33.satoken.util.SaFoxUtil
指定元素是否为null或者空字符串
isEmpty(T[]) - 类中的静态方法 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(SaHttpMethod[], String) - 类中的静态方法 cn.dev33.satoken.router.SaRouter
Http请求方法匹配
isMatch(String[], String) - 类中的静态方法 cn.dev33.satoken.router.SaRouter
路由匹配
isMatch(String, String) - 类中的静态方法 cn.dev33.satoken.router.SaRouter
路由匹配
isMatch(List<String>, String) - 类中的静态方法 cn.dev33.satoken.router.SaRouter
路由匹配
isMatchCurrMethod(SaHttpMethod[]) - 类中的静态方法 cn.dev33.satoken.router.SaRouter
Http请求方法匹配 (使用当前请求方式)
isMatchCurrURI(String) - 类中的静态方法 cn.dev33.satoken.router.SaRouter
路由匹配 (使用当前URI)
isMatchCurrURI(String[]) - 类中的静态方法 cn.dev33.satoken.router.SaRouter
路由匹配 (使用当前URI)
isMatchCurrURI(List<String>) - 类中的静态方法 cn.dev33.satoken.router.SaRouter
路由匹配 (使用当前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
当前会话 是否处于二级认证时间内
isSafe(String) - 类中的方法 cn.dev33.satoken.stp.StpLogic
当前会话 是否处于二级认证时间内
isSafe(String) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
当前会话 是否处于二级认证时间内
isSafe(String, String) - 类中的方法 cn.dev33.satoken.stp.StpLogic
指定 Token 是否处于二级认证时间内
isSafe(String, String) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
指定 Token 是否处于二级认证时间内
isSetExtraData() - 类中的方法 cn.dev33.satoken.stp.SaLoginModel
判断是否设置了扩展数据
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.same.SaSameTemplate
判断一个 Same-Token 是否有效
isValid(String) - 类中的静态方法 cn.dev33.satoken.same.SaSameUtil
判断一个 Same-Token 是否有效
isValidLoginId(Object) - 类中的方法 cn.dev33.satoken.stp.StpLogic
判断一个 loginId 是否是有效的
isValidSign(Map<String, Object>, String, String) - 接口中的方法 cn.dev33.satoken.sign.SaSignTemplate
判断:给定的参数 + 秘钥 生成的签名是否为有效签名
isValidTimestamp(long, long) - 接口中的方法 cn.dev33.satoken.sign.SaSignTemplate
判断:指定时间戳与当前时间戳的差距是否在允许的范围内
isWrapperType(Class<?>) - 类中的静态方法 cn.dev33.satoken.util.SaFoxUtil
判断类型是否为8大包装类型

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
将所有参数连接成一个字符串(不排序),形如:b=28a=18c=3
joinParamsDictSort(Map<String, Object>) - 接口中的方法 cn.dev33.satoken.sign.SaSignTemplate
将所有参数按照字典顺序连接成一个字符串,形如:a=18b=28c=3
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.application.SaApplication
返回存入的所有 key
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
kickout(Object) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
踢人下线,根据账号id
kickout(Object, String) - 类中的方法 cn.dev33.satoken.stp.StpLogic
踢人下线,根据账号id 和 设备类型
kickout(Object, String) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
踢人下线,根据账号id 和 设备类型
kickoutByTokenValue(String) - 类中的方法 cn.dev33.satoken.stp.StpLogic
踢人下线,根据指定 Token
kickoutByTokenValue(String) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
踢人下线,根据指定 Token

L

level() - annotation interface 中的元素 cn.dev33.satoken.annotation.SaCheckDisable
封禁等级(只有 封禁等级 ≥ 此值 才会抛出异常)
log - 类中的静态变量 cn.dev33.satoken.SaManager
日志输出器
LOG_PREFIX - 类中的静态变量 cn.dev33.satoken.log.SaLogForConsole
日志输出的前缀
login(Object) - 类中的方法 cn.dev33.satoken.stp.StpLogic
会话登录
login(Object) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
会话登录
login(Object, boolean) - 类中的方法 cn.dev33.satoken.stp.StpLogic
会话登录,并指定是否 [记住我]
login(Object, boolean) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
会话登录,并指定是否 [记住我]
login(Object, long) - 类中的方法 cn.dev33.satoken.stp.StpLogic
会话登录,并指定此次登录token的有效期, 单位:秒
login(Object, long) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
会话登录,并指定此次登录token的有效期, 单位:秒
login(Object, SaLoginModel) - 类中的方法 cn.dev33.satoken.stp.StpLogic
会话登录,并指定所有登录参数Model
login(Object, SaLoginModel) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
会话登录,并指定所有登录参数Model
login(Object, String) - 类中的方法 cn.dev33.satoken.stp.StpLogic
会话登录,并指定登录设备类型
login(Object, String) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
会话登录,并指定登录设备类型
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
logLevelList - 类中的静态变量 cn.dev33.satoken.util.SaFoxUtil
 
logout() - 类中的方法 cn.dev33.satoken.session.SaSession
注销Session (从持久库删除)
logout() - 类中的方法 cn.dev33.satoken.stp.StpLogic
会话注销
logout() - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
会话注销
logout(Object) - 类中的方法 cn.dev33.satoken.stp.StpLogic
会话注销,根据账号id
logout(Object) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
会话注销,根据账号id
logout(Object, String) - 类中的方法 cn.dev33.satoken.stp.StpLogic
会话注销,根据账号id 和 设备类型
logout(Object, String) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
会话注销,根据账号id 和 设备类型
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(boolean) - 类中的静态方法 cn.dev33.satoken.router.SaRouter
根据 boolean 值进行匹配
match(boolean) - 类中的方法 cn.dev33.satoken.router.SaRouterStaff
根据 boolean 值进行匹配
match(SaParamRetFunction<Object, Boolean>) - 类中的静态方法 cn.dev33.satoken.router.SaRouter
根据自定义方法进行匹配 (lazy)
match(SaParamRetFunction<Object, Boolean>) - 类中的方法 cn.dev33.satoken.router.SaRouterStaff
根据自定义方法进行匹配 (lazy)
match(SaHttpMethod...) - 类中的静态方法 cn.dev33.satoken.router.SaRouter
Http请求方式匹配 (Enum)
match(SaHttpMethod...) - 类中的方法 cn.dev33.satoken.router.SaRouterStaff
Http请求方法匹配 (Enum)
match(String...) - 类中的静态方法 cn.dev33.satoken.router.SaRouter
路由匹配
match(String...) - 类中的方法 cn.dev33.satoken.router.SaRouterStaff
路由匹配
match(String, SaFunction) - 类中的静态方法 cn.dev33.satoken.router.SaRouter
路由匹配,如果匹配成功则执行认证函数
match(String, SaFunction) - 类中的方法 cn.dev33.satoken.router.SaRouterStaff
路由匹配,如果匹配成功则执行认证函数
match(String, SaParamFunction<SaRouterStaff>) - 类中的静态方法 cn.dev33.satoken.router.SaRouter
路由匹配,如果匹配成功则执行认证函数
match(String, SaParamFunction<SaRouterStaff>) - 类中的方法 cn.dev33.satoken.router.SaRouterStaff
路由匹配,如果匹配成功则执行认证函数
match(String, String, SaFunction) - 类中的静态方法 cn.dev33.satoken.router.SaRouter
路由匹配 (并指定排除匹配符),如果匹配成功则执行认证函数
match(String, String, SaFunction) - 类中的方法 cn.dev33.satoken.router.SaRouterStaff
路由匹配 (并指定排除匹配符),如果匹配成功则执行认证函数
match(String, String, SaParamFunction<SaRouterStaff>) - 类中的静态方法 cn.dev33.satoken.router.SaRouter
路由匹配 (并指定排除匹配符),如果匹配成功则执行认证函数
match(String, String, SaParamFunction<SaRouterStaff>) - 类中的方法 cn.dev33.satoken.router.SaRouterStaff
路由匹配 (并指定排除匹配符),如果匹配成功则执行认证函数
match(List<String>) - 类中的静态方法 cn.dev33.satoken.router.SaRouter
路由匹配
match(List<String>) - 类中的方法 cn.dev33.satoken.router.SaRouterStaff
路由匹配
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 对象的单例引用
MIN_DISABLE_LEVEL - 类中的静态变量 cn.dev33.satoken.util.SaTokenConsts
常量key标记: 在封禁账号时,可使用的最小封禁级别
mode() - annotation interface 中的元素 cn.dev33.satoken.annotation.SaCheckPermission
验证模式:AND | OR,默认AND
mode() - annotation interface 中的元素 cn.dev33.satoken.annotation.SaCheckRole
验证模式:AND | OR,默认AND

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_DISABLE_LEVEL - 类中的静态变量 cn.dev33.satoken.util.SaTokenConsts
常量key标记: 账号封禁级别,表示未被封禁
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 认证
notEquals(Object, Object) - 类中的静态方法 cn.dev33.satoken.util.SaFoxUtil
比较两个对象是否不相等
NotImplException - cn.dev33.satoken.exception中的异常错误
一个异常:代表组件或方法未被提供有效的实现
NotImplException(String) - 异常错误的构造器 cn.dev33.satoken.exception.NotImplException
一个异常:代表组件或方法未被提供有效的实现
NotLoginException - cn.dev33.satoken.exception中的异常错误
一个异常:代表会话未能通过登录认证
NotLoginException(String, String, String) - 异常错误的构造器 cn.dev33.satoken.exception.NotLoginException
构造方法创建一个
notMatch(boolean) - 类中的静态方法 cn.dev33.satoken.router.SaRouter
根据 boolean 值进行匹配排除
notMatch(boolean) - 类中的方法 cn.dev33.satoken.router.SaRouterStaff
根据 boolean 值进行匹配排除
notMatch(SaParamRetFunction<Object, Boolean>) - 类中的静态方法 cn.dev33.satoken.router.SaRouter
根据自定义方法进行匹配排除 (lazy)
notMatch(SaParamRetFunction<Object, Boolean>) - 类中的方法 cn.dev33.satoken.router.SaRouterStaff
根据自定义方法进行匹配排除 (lazy)
notMatch(SaHttpMethod...) - 类中的静态方法 cn.dev33.satoken.router.SaRouter
Http请求方法匹配排除 (Enum)
notMatch(SaHttpMethod...) - 类中的方法 cn.dev33.satoken.router.SaRouterStaff
Http请求方法匹配排除 (Enum)
notMatch(String...) - 类中的静态方法 cn.dev33.satoken.router.SaRouter
路由匹配排除
notMatch(String...) - 类中的方法 cn.dev33.satoken.router.SaRouterStaff
路由匹配排除
notMatch(List<String>) - 类中的静态方法 cn.dev33.satoken.router.SaRouter
路由匹配排除
notMatch(List<String>) - 类中的方法 cn.dev33.satoken.router.SaRouterStaff
路由匹配排除
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(String, String, String) - 异常错误的构造器 cn.dev33.satoken.exception.NotSafeException
一个异常:代表会话未能通过二级认证校验
NotWebContextException - cn.dev33.satoken.exception中的异常错误
一个异常:代表不是 Web 上下文
NotWebContextException(String) - 异常错误的构造器 cn.dev33.satoken.exception.NotWebContextException
一个异常:代表不是 Web 上下文

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
在当前会话 开启二级认证
openSafe(String, long) - 类中的方法 cn.dev33.satoken.stp.StpLogic
在当前会话 开启二级认证
openSafe(String, long) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
在当前会话 开启二级认证
OPTIONS - enum class 中的枚举常量 cn.dev33.satoken.router.SaHttpMethod
 
OR - enum class 中的枚举常量 cn.dev33.satoken.annotation.SaMode
只需具有其中一个元素
orRole() - annotation interface 中的元素 cn.dev33.satoken.annotation.SaCheckPermission
在权限认证不通过时的次要选择,两者只要其一认证成功即可通过校验

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) - 类中的静态方法 cn.dev33.satoken.temp.SaTempUtil
解析 Token 获取 value
parseToken(String, Class<T>) - 接口中的方法 cn.dev33.satoken.temp.SaTempInterface
解析 Token 获取 value,并转换为指定类型
parseToken(String, Class<T>) - 类中的静态方法 cn.dev33.satoken.temp.SaTempUtil
解析 Token 获取 value,并转换为指定类型
parseToken(String, String) - 接口中的方法 cn.dev33.satoken.temp.SaTempInterface
解析 Token 获取 value
parseToken(String, String) - 类中的静态方法 cn.dev33.satoken.temp.SaTempUtil
解析 Token 获取 value
parseToken(String, String, Class<T>) - 接口中的方法 cn.dev33.satoken.temp.SaTempInterface
解析 Token 获取 value,并转换为指定类型
parseToken(String, String, Class<T>) - 类中的静态方法 cn.dev33.satoken.temp.SaTempUtil
解析 Token 获取 value,并转换为指定类型
PATCH - enum class 中的枚举常量 cn.dev33.satoken.router.SaHttpMethod
 
PERMISSION_LIST - 类中的静态变量 cn.dev33.satoken.session.SaSession
在 Session 上存储权限时建议使用的key
POST - enum class 中的枚举常量 cn.dev33.satoken.router.SaHttpMethod
 
println(int, String, Object...) - 类中的方法 cn.dev33.satoken.log.SaLogForConsole
打印日志到控制台
printSaToken() - 类中的静态方法 cn.dev33.satoken.util.SaFoxUtil
打印 Sa-Token 版本字符画
PUT - enum class 中的枚举常量 cn.dev33.satoken.router.SaHttpMethod
 
putStpLogic(StpLogic) - 类中的静态方法 cn.dev33.satoken.SaManager
向全局集合中 put 一个 StpLogic

R

realm() - annotation interface 中的元素 cn.dev33.satoken.annotation.SaCheckBasic
领域
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.same.SaSameTemplate
刷新一次 Same-Token (注意集群环境中不要多个服务重复调用)
refreshToken() - 类中的静态方法 cn.dev33.satoken.same.SaSameUtil
刷新一次 Same-Token (注意集群环境中不要多个服务重复调用)
registerListener(SaTokenListener) - 类中的静态方法 cn.dev33.satoken.listener.SaTokenEventCenter
注册一个侦听器
registerListenerList(List<SaTokenListener>) - 类中的静态方法 cn.dev33.satoken.listener.SaTokenEventCenter
注册一组侦听器
removeListener(SaTokenListener) - 类中的静态方法 cn.dev33.satoken.listener.SaTokenEventCenter
移除一个侦听器
removeListener(Class<? extends SaTokenListener>) - 类中的静态方法 cn.dev33.satoken.listener.SaTokenEventCenter
移除指定类型的所有侦听器
removeTokenSign(String) - 类中的方法 cn.dev33.satoken.session.SaSession
移除一个 Token 签名
renewTimeout(long) - 类中的方法 cn.dev33.satoken.stp.StpLogic
对当前 Token 的 timeout 值进行续期
renewTimeout(long) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
对当前 Token 的 timeout 值进行续期
renewTimeout(String, long) - 类中的方法 cn.dev33.satoken.stp.StpLogic
对指定 Token 的 timeout 值进行续期
renewTimeout(String, long) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
对指定 Token 的 timeout 值进行续期
replaced(Object, String) - 类中的方法 cn.dev33.satoken.stp.StpLogic
顶人下线,根据账号id 和 设备类型
replaced(Object, String) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
顶人下线,根据账号id 和 设备类型
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() - 接口中的方法 cn.dev33.satoken.fun.SaFunction
执行的方法
run() - 接口中的方法 cn.dev33.satoken.fun.SaRetFunction
执行的方法
run(SaRequest, SaResponse, Object) - 接口中的方法 cn.dev33.satoken.router.SaRouteFunction
执行验证的方法
run(Object) - 接口中的方法 cn.dev33.satoken.filter.SaFilterAuthStrategy
执行方法
run(Throwable) - 接口中的方法 cn.dev33.satoken.filter.SaFilterErrorStrategy
执行方法
run(T) - 接口中的方法 cn.dev33.satoken.fun.SaParamFunction
执行的方法
run(T) - 接口中的方法 cn.dev33.satoken.fun.SaParamRetFunction
执行的方法

S

SaApplication - cn.dev33.satoken.application中的类
Application Model,全局作用域的读取值对象
SaApplication() - 类的构造器 cn.dev33.satoken.application.SaApplication
 
SaBase64Util - cn.dev33.satoken.secure中的类
Sa-Token Base64工具类
SaBase64Util() - 类的构造器 cn.dev33.satoken.secure.SaBase64Util
 
saBasicTemplate - 类中的静态变量 cn.dev33.satoken.basic.SaBasicUtil
底层 SaBasicTemplate 对象
SaBasicTemplate - cn.dev33.satoken.basic中的类
Sa-Token Http Basic 认证模块
SaBasicTemplate() - 类的构造器 cn.dev33.satoken.basic.SaBasicTemplate
 
SaBasicUtil - cn.dev33.satoken.basic中的类
Sa-Token Http Basic 认证 Util
SaCheckBasic - cn.dev33.satoken.annotation中的Annotation Interface
Http Basic 认证校验:只有通过 Basic 认证后才能进入该方法
SaCheckDisable - cn.dev33.satoken.annotation中的Annotation Interface
服务禁用校验:在没有被禁用指定服务的情况下才可以进入方法
SaCheckLogin - cn.dev33.satoken.annotation中的Annotation Interface
登录认证校验:只有登录之后才能进入该方法
SaCheckPermission - cn.dev33.satoken.annotation中的Annotation Interface
权限认证校验:必须具有指定权限才能进入该方法
SaCheckRole - cn.dev33.satoken.annotation中的Annotation Interface
角色认证校验:必须具有指定角色标识才能进入该方法
SaCheckSafe - cn.dev33.satoken.annotation中的Annotation Interface
二级认证校验:必须二级认证之后才能进入该方法
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
 
SaErrorCode - cn.dev33.satoken.error中的接口
定义所有异常细分状态码
SAFE_AUTH_SAVE_KEY - 类中的静态变量 cn.dev33.satoken.util.SaTokenConsts
已过时。
SAFE_AUTH_SAVE_VALUE - 类中的静态变量 cn.dev33.satoken.util.SaTokenConsts
常量key标记: 在进行 Token 二级验证时,写入的 value 值
SaFilterAuthStrategy - cn.dev33.satoken.filter中的接口
Sa-Token全局过滤器-认证策略
SaFilterErrorStrategy - cn.dev33.satoken.filter中的接口
Sa-Token全局过滤器-异常处理策略
SaFoxUtil - cn.dev33.satoken.util中的类
Sa-Token 内部工具类
SaFunction - cn.dev33.satoken.fun中的接口
设定一个函数,方便在Lambda表达式下的函数式编程
SaGetValueInterface - cn.dev33.satoken.application中的接口
对取值的一组方法封装
SaHolder - cn.dev33.satoken.context中的类
Sa-Token 上下文持有类
SaHolder() - 类的构造器 cn.dev33.satoken.context.SaHolder
 
SaHttpMethod - cn.dev33.satoken.router中的Enum Class
Http 请求各种请求类型的枚举表示
SaIgnore - cn.dev33.satoken.annotation中的Annotation Interface
忽略认证:表示被修饰的方法或类无需进行注解认证和路由拦截认证
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
 
SaLog - cn.dev33.satoken.log中的接口
Sa-Token 日志输出接口
SaLogForConsole - cn.dev33.satoken.log中的类
Sa-Token 日志实现类 [控制台打印]
SaLogForConsole() - 类的构造器 cn.dev33.satoken.log.SaLogForConsole
 
SaLoginConfig - cn.dev33.satoken.stp中的类
快速构建 调用 `StpUtil.login()` 时的 [配置参数 Model ]
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
 
SAME_TOKEN - 类中的静态变量 cn.dev33.satoken.same.SaSameTemplate
提交 Same-Token 时,建议使用的参数名称
SAME_TOKEN - 类中的静态变量 cn.dev33.satoken.same.SaSameUtil
提交 Same-Token 时,建议使用的参数名称
SameTokenInvalidException - cn.dev33.satoken.exception中的异常错误
一个异常:代表提供的 Same-Token 无效
SameTokenInvalidException(String) - 异常错误的构造器 cn.dev33.satoken.exception.SameTokenInvalidException
一个异常:代表提供的 Same-Token 无效
SaMode - cn.dev33.satoken.annotation中的Enum Class
注解鉴权的验证模式
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, ?>) - 类的构造器 cn.dev33.satoken.util.SaResult
根据 Map 快速构建
SaRetFunction - cn.dev33.satoken.fun中的接口
设定一个函数,并返回一个值,方便在Lambda表达式下的函数式编程
SaRouteFunction - cn.dev33.satoken.router中的接口
路由拦截器验证方法Lambda
SaRouter - cn.dev33.satoken.router中的类
路由匹配操作工具类
SaRouterStaff - cn.dev33.satoken.router中的类
路由匹配操作对象
SaRouterStaff() - 类的构造器 cn.dev33.satoken.router.SaRouterStaff
 
SaSameTemplate - cn.dev33.satoken.same中的类
Sa Same-Token 同源系统身份认证模块 - 模板方法类
SaSameTemplate() - 类的构造器 cn.dev33.satoken.same.SaSameTemplate
 
SaSameUtil - cn.dev33.satoken.same中的类
Sa Same-Token 同源系统身份认证模块 - 工具类
SaSecureUtil - cn.dev33.satoken.secure中的类
Sa-Token 常见加密算法工具类
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 工具类
SaSetValueInterface - cn.dev33.satoken.application中的接口
对写值的一组方法封装
SaSignTemplate - cn.dev33.satoken.sign中的接口
参数签名算法
SaSignTemplateDefaultImpl - cn.dev33.satoken.sign中的类
参数签名算法 [默认实现类]
SaSignTemplateDefaultImpl() - 类的构造器 cn.dev33.satoken.sign.SaSignTemplateDefaultImpl
 
SaStorage - cn.dev33.satoken.context.model中的接口
Storage Model,请求作用域的读取值对象
SaStrategy - cn.dev33.satoken.strategy中的类
Sa-Token 策略对象
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 临时验证令牌模块
SaTokenConfig - cn.dev33.satoken.config中的类
Sa-Token 配置类 Model
SaTokenConfig() - 类的构造器 cn.dev33.satoken.config.SaTokenConfig
 
SaTokenConfigFactory - cn.dev33.satoken.config中的类
Sa-Token配置文件的构建工厂类
SaTokenConsts - cn.dev33.satoken.util中的类
Sa-Token常量类
SaTokenContext - cn.dev33.satoken.context中的接口
Sa-Token 上下文处理器
SaTokenContextDefaultImpl - cn.dev33.satoken.context中的类
Sa-Token 上下文处理器 [默认实现类]
SaTokenContextDefaultImpl() - 类的构造器 cn.dev33.satoken.context.SaTokenContextDefaultImpl
 
SaTokenContextForThreadLocal - cn.dev33.satoken.context中的类
Sa-Token 上下文处理器 [ThreadLocal版本]
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
构造函数
SaTokenEventCenter - cn.dev33.satoken.listener中的类
Sa-Token 事件中心 事件发布器
SaTokenEventCenter() - 类的构造器 cn.dev33.satoken.listener.SaTokenEventCenter
 
SaTokenException - cn.dev33.satoken.exception中的异常错误
Sa-Token框架内部逻辑发生错误抛出的异常 (自定义此异常方便开发者在做全局异常处理时分辨异常类型)
SaTokenException(int) - 异常错误的构造器 cn.dev33.satoken.exception.SaTokenException
构建一个异常
SaTokenException(int, String) - 异常错误的构造器 cn.dev33.satoken.exception.SaTokenException
构建一个异常
SaTokenException(String) - 异常错误的构造器 cn.dev33.satoken.exception.SaTokenException
构建一个异常
SaTokenException(String, Throwable) - 异常错误的构造器 cn.dev33.satoken.exception.SaTokenException
构建一个异常
SaTokenException(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 侦听器
SaTokenListenerForLog - cn.dev33.satoken.listener中的类
Sa-Token 侦听器实现:Log 打印
SaTokenListenerForLog() - 类的构造器 cn.dev33.satoken.listener.SaTokenListenerForLog
 
SaTokenListenerForSimple - cn.dev33.satoken.listener中的类
Sa-Token 侦听器,默认空实现
SaTokenListenerForSimple() - 类的构造器 cn.dev33.satoken.listener.SaTokenListenerForSimple
 
SaTokenSecondContext - cn.dev33.satoken.context.second中的接口
Sa-Token 二级Context - 基础接口
SaTokenSecondContextCreator - cn.dev33.satoken.context.second中的接口
Sa-Token 二级Context - 创建器
savePastToken(String, long) - 类中的方法 cn.dev33.satoken.same.SaSameTemplate
保存 Past-Same-Token
saveToken(String) - 类中的方法 cn.dev33.satoken.same.SaSameTemplate
保存 Same-Token
saveTokenToIdMapping(String, Object, long) - 类中的方法 cn.dev33.satoken.stp.StpLogic
存储 Token-Id 映射
searchData(String, String, int, int, boolean) - 接口中的方法 cn.dev33.satoken.dao.SaTokenDao
搜索数据
searchData(String, String, int, int, boolean) - 类中的方法 cn.dev33.satoken.dao.SaTokenDaoDefaultImpl
 
searchList(Collection<String>, String, String, int, int, boolean) - 类中的静态方法 cn.dev33.satoken.util.SaFoxUtil
从集合里查询数据
searchList(List<String>, int, int, boolean) - 类中的静态方法 cn.dev33.satoken.util.SaFoxUtil
从集合里查询数据
searchSessionId(String, int, int, boolean) - 类中的方法 cn.dev33.satoken.stp.StpLogic
根据条件查询SessionId
searchSessionId(String, int, int, boolean) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
根据条件查询SessionId
searchTokenSessionId(String, int, int, boolean) - 类中的方法 cn.dev33.satoken.stp.StpLogic
根据条件查询Token专属Session的Id
searchTokenSessionId(String, int, int, boolean) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
根据条件查询Token专属Session的Id
searchTokenValue(String, int, int, boolean) - 类中的方法 cn.dev33.satoken.stp.StpLogic
根据条件查询Token
searchTokenValue(String, int, int, boolean) - 类中的静态方法 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.application.SaApplication
写值
set(String, Object) - 接口中的方法 cn.dev33.satoken.application.SaSetValueInterface
写值
set(String, Object) - 接口中的方法 cn.dev33.satoken.context.model.SaStorage
写值
set(String, Object) - 类中的方法 cn.dev33.satoken.session.SaSession
写值
set(String, Object) - 类中的方法 cn.dev33.satoken.util.SaResult
写入一个值 自定义key, 连缀风格
set(String, Object, long) - 类中的方法 cn.dev33.satoken.application.SaApplication
写值
set(String, String, long) - 接口中的方法 cn.dev33.satoken.dao.SaTokenDao
写入Value,并设定存活时间 (单位: 秒)
set(String, String, long) - 类中的方法 cn.dev33.satoken.dao.SaTokenDaoDefaultImpl
 
setActivityTimeout(long) - 类中的方法 cn.dev33.satoken.config.SaTokenConfig
 
setAutoRenew(Boolean) - 类中的方法 cn.dev33.satoken.config.SaTokenConfig
 
setBasic(String) - 类中的方法 cn.dev33.satoken.config.SaTokenConfig
 
setBox(SaRequest, SaResponse, SaStorage) - 类中的静态方法 cn.dev33.satoken.context.SaTokenContextForThreadLocalStorage
初始化 [Box存储器]
setByNull(String, Object) - 接口中的方法 cn.dev33.satoken.application.SaSetValueInterface
写值 (只有在此 key 原本无值的情况下才会写入)
setByNull(String, Object) - 类中的方法 cn.dev33.satoken.session.SaSession
写值 (只有在此 key 原本无值的情况下才会写入)
setCheckElementAnnotation(Consumer<AnnotatedElement>) - 类中的方法 cn.dev33.satoken.strategy.SaStrategy
对一个 [元素] 对象进行注解校验 (注解鉴权内部实现)
setCheckIdToken(Boolean) - 类中的方法 cn.dev33.satoken.config.SaTokenConfig
已过时。
setCheckMethodAnnotation(Consumer<Method>) - 类中的方法 cn.dev33.satoken.strategy.SaStrategy
对一个 [Method] 对象进行注解校验 (注解鉴权内部实现)
setCheckSameToken(Boolean) - 类中的方法 cn.dev33.satoken.config.SaTokenConfig
 
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
 
setCreateSession(Function<String, SaSession>) - 类中的方法 cn.dev33.satoken.strategy.SaStrategy
重写创建 Session 的策略
setCreateTime(long) - 类中的方法 cn.dev33.satoken.session.SaSession
写入此 Session 的创建时间(时间戳)
setCreateToken(BiFunction<Object, String, String>) - 类中的方法 cn.dev33.satoken.strategy.SaStrategy
重写创建 Token 的策略
setCurrDomain(String) - 类中的方法 cn.dev33.satoken.config.SaTokenConfig
 
setData(Object) - 类中的方法 cn.dev33.satoken.util.SaResult
给data赋值,连缀风格
setDataRefreshPeriod(int) - 类中的方法 cn.dev33.satoken.config.SaTokenConfig
 
setDevice(String) - 类中的方法 cn.dev33.satoken.session.TokenSign
写入所属设备类型
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
从元素上获取注解
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
已过时。
setIsAnnotationPresent(BiFunction<Method, Class<? extends Annotation>, Boolean>) - 类中的方法 cn.dev33.satoken.strategy.SaStrategy
判断一个 Method 或其所属 Class 是否包含指定注解
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
已过时。
setIsReadHeader(Boolean) - 类中的方法 cn.dev33.satoken.config.SaTokenConfig
 
setIsShare(Boolean) - 类中的方法 cn.dev33.satoken.config.SaTokenConfig
 
setIsWriteHeader(Boolean) - 类中的方法 cn.dev33.satoken.config.SaTokenConfig
 
setIsWriteHeader(Boolean) - 类中的静态方法 cn.dev33.satoken.stp.SaLoginConfig
 
setIsWriteHeader(Boolean) - 类中的方法 cn.dev33.satoken.stp.SaLoginModel
 
setJwtSecretKey(String) - 类中的方法 cn.dev33.satoken.config.SaTokenConfig
 
setLastActivityToNow(String) - 类中的方法 cn.dev33.satoken.stp.StpLogic
写入指定token的 [最后操作时间] 为当前时间戳
setListenerList(List<SaTokenListener>) - 类中的静态方法 cn.dev33.satoken.listener.SaTokenEventCenter
重置侦听器集合
setLog(SaLog) - 类中的静态方法 cn.dev33.satoken.SaManager
 
setLoginDevice(String) - 类中的方法 cn.dev33.satoken.stp.SaTokenInfo
 
setLoginId(Object) - 类中的方法 cn.dev33.satoken.stp.SaTokenInfo
 
setLoginType(String) - 类中的方法 cn.dev33.satoken.stp.SaTokenInfo
 
setLoginType(String) - 类中的方法 cn.dev33.satoken.stp.StpLogic
设置当前账号类型
setLogLeveInt(int) - 类中的方法 cn.dev33.satoken.config.SaTokenConfig
 
setLogLevel(String) - 类中的方法 cn.dev33.satoken.config.SaTokenConfig
 
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
 
setSameTokenTimeout(long) - 类中的方法 cn.dev33.satoken.config.SaTokenConfig
 
setSaSameTemplate(SaSameTemplate) - 类中的静态方法 cn.dev33.satoken.SaManager
 
setSaSignTemplate(SaSignTemplate) - 类中的静态方法 cn.dev33.satoken.SaManager
 
setSaTemp(SaTempInterface) - 类中的静态方法 cn.dev33.satoken.SaManager
 
setSaTokenContext(SaTokenContext) - 类中的静态方法 cn.dev33.satoken.SaManager
 
setSaTokenDao(SaTokenDao) - 类中的静态方法 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 对象
1、更改此账户的 StpLogic 对象
2、put 到全局 StpLogic 集合中
3、发送日志
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
 
setTokenSignList(List<TokenSign>) - 类中的方法 cn.dev33.satoken.session.SaSession
写入此 Session 绑定的 Token 签名列表
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) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
在当前会话写入当前TokenValue
setTokenValue(String, int) - 类中的方法 cn.dev33.satoken.stp.StpLogic
在当前会话写入当前TokenValue
setTokenValue(String, int) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
在当前会话写入当前TokenValue
setTokenValue(String, SaLoginModel) - 类中的方法 cn.dev33.satoken.stp.StpLogic
在当前会话写入当前TokenValue
setTokenValue(String, SaLoginModel) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
在当前会话写入当前TokenValue
setTokenValueToCookie(String, int) - 类中的方法 cn.dev33.satoken.stp.StpLogic
将 Token 保存到 [Cookie] 里
setTokenValueToResponseHeader(String) - 类中的方法 cn.dev33.satoken.stp.StpLogic
将 Token 写入到 [响应头] 里
setTokenValueToStorage(String) - 类中的方法 cn.dev33.satoken.stp.StpLogic
将 Token 保存到 [Storage] 里
setValue(String) - 类中的方法 cn.dev33.satoken.context.model.SaCookie
 
setValue(String) - 类中的方法 cn.dev33.satoken.session.TokenSign
写入 Token 值
sha1(String) - 类中的静态方法 cn.dev33.satoken.secure.SaSecureUtil
sha1加密
sha256(String) - 类中的静态方法 cn.dev33.satoken.secure.SaSecureUtil
sha256加密
spliceTwoUrl(String, String) - 类中的静态方法 cn.dev33.satoken.util.SaFoxUtil
拼接两个url
splicingDataKey(String) - 类中的方法 cn.dev33.satoken.application.SaApplication
拼接key:变量存储时使用的key
splicingKeyDisable(Object, String) - 类中的方法 cn.dev33.satoken.stp.StpLogic
拼接key: 账号封禁
splicingKeyJustCreatedSave() - 类中的方法 cn.dev33.satoken.stp.StpLogic
如果token为本次请求新创建的,则以此字符串为key存储在当前request中
splicingKeyLastActivityTime(String) - 类中的方法 cn.dev33.satoken.stp.StpLogic
拼接key: 指定token的最后操作时间 持久化
splicingKeySafe(String, String) - 类中的方法 cn.dev33.satoken.stp.StpLogic
拼接key: 二级认证
splicingKeySession(Object) - 类中的方法 cn.dev33.satoken.stp.StpLogic
拼接key: Session 持久化
splicingKeySwitch() - 类中的方法 cn.dev33.satoken.stp.StpLogic
在进行身份切换时,使用的存储key
splicingKeyTempToken(String, 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.same.SaSameTemplate
拼接key:次级 Same-Token 的存储 key
splicingSessionKey(String) - 类中的静态方法 cn.dev33.satoken.session.SaSessionCustomUtil
拼接Key: 自定义Session的Id
splicingTokenSaveKey() - 类中的方法 cn.dev33.satoken.same.SaSameTemplate
拼接key:Same-Token 的存储 key
stop() - 类中的静态方法 cn.dev33.satoken.router.SaRouter
停止匹配,跳出函数 (在多个匹配链中一次性跳出Auth函数)
stop() - 类中的方法 cn.dev33.satoken.router.SaRouterStaff
停止匹配,跳出函数 (在多个匹配链中一次性跳出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 接口默认的实现类
StpInterfaceDefaultImpl() - 类的构造器 cn.dev33.satoken.stp.StpInterfaceDefaultImpl
 
stpLogic - 类中的静态变量 cn.dev33.satoken.stp.StpUtil
底层的 StpLogic 对象
StpLogic - cn.dev33.satoken.stp中的类
Sa-Token 权限认证,逻辑实现类
StpLogic(String) - 类的构造器 cn.dev33.satoken.stp.StpLogic
初始化StpLogic, 并指定账号类型
stpLogicMap - 类中的静态变量 cn.dev33.satoken.SaManager
StpLogic集合, 记录框架所有成功初始化的StpLogic
StpUtil - cn.dev33.satoken.stp中的类
Sa-Token 权限认证工具类
StrFormatter - cn.dev33.satoken.util中的类
字符串格式化工具
StrFormatter() - 类的构造器 cn.dev33.satoken.util.StrFormatter
 
SWITCH_TO_SAVE_KEY - 类中的静态变量 cn.dev33.satoken.util.SaTokenConsts
常量key标记: 在进行临时身份切换时使用的key
switchTo(Object) - 类中的方法 cn.dev33.satoken.stp.StpLogic
临时切换身份为指定账号id
switchTo(Object) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
临时切换身份为指定账号id
switchTo(Object, SaFunction) - 类中的方法 cn.dev33.satoken.stp.StpLogic
在一个代码段里方法内,临时切换身份为指定账号id
switchTo(Object, SaFunction) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
在一个代码段里方法内,临时切换身份为指定账号id

T

tag - 类中的变量 cn.dev33.satoken.stp.SaTokenInfo
自定义数据
throwBy(boolean, String, int) - 异常错误中的静态方法 cn.dev33.satoken.exception.SaTokenException
如果flag==true,则抛出message异常
throwByNull(Object, String, int) - 异常错误中的静态方法 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) - enum class中的静态方法 cn.dev33.satoken.router.SaHttpMethod
String 转 enum
toEnumArray(String...) - enum class中的静态方法 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
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
 
trace - 类中的静态变量 cn.dev33.satoken.log.SaLogForConsole
日志等级
trace(String, Object...) - 接口中的方法 cn.dev33.satoken.log.SaLog
输出 trace 日志
trace(String, Object...) - 类中的方法 cn.dev33.satoken.log.SaLogForConsole
 
TRACE - enum class 中的枚举常量 cn.dev33.satoken.router.SaHttpMethod
 
trans(long) - 类中的方法 cn.dev33.satoken.session.SaSession
value为 -1 时返回 Long.MAX_VALUE,否则原样返回
translateLogLevelToInt(String) - 类中的静态方法 cn.dev33.satoken.util.SaFoxUtil
将日志等级从 String 格式转化为 int 格式
translateLogLevelToString(int) - 类中的静态方法 cn.dev33.satoken.util.SaFoxUtil
将日志等级从 String 格式转化为 int 格式
type() - annotation interface 中的元素 cn.dev33.satoken.annotation.SaCheckDisable
多账号体系下所属的账号体系标识
type() - annotation interface 中的元素 cn.dev33.satoken.annotation.SaCheckLogin
多账号体系下所属的账号体系标识
type() - annotation interface 中的元素 cn.dev33.satoken.annotation.SaCheckPermission
多账号体系下所属的账号体系标识
type() - annotation interface 中的元素 cn.dev33.satoken.annotation.SaCheckRole
账号类型
type() - annotation interface 中的元素 cn.dev33.satoken.annotation.SaCheckSafe
多账号体系下所属的账号体系标识
TYPE - 类中的静态变量 cn.dev33.satoken.stp.StpUtil
账号类型标识

U

untieDisable(Object) - 类中的方法 cn.dev33.satoken.stp.StpLogic
解封:指定账号
untieDisable(Object) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
解封:指定账号
untieDisable(Object, String...) - 类中的方法 cn.dev33.satoken.stp.StpLogic
解封:指定账号、指定服务
untieDisable(Object, String...) - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
解封:指定账号、指定服务
update() - 类中的方法 cn.dev33.satoken.session.SaSession
更新Session(从持久库更新刷新一下)
update(String, String) - 接口中的方法 cn.dev33.satoken.dao.SaTokenDao
更新Value (过期时间不变)
update(String, String) - 类中的方法 cn.dev33.satoken.dao.SaTokenDaoDefaultImpl
 
updateLastActivityToNow() - 类中的方法 cn.dev33.satoken.stp.StpLogic
续签当前token:(将 [最后操作时间] 更新为当前时间戳)
updateLastActivityToNow() - 类中的静态方法 cn.dev33.satoken.stp.StpUtil
续签当前token:(将 [最后操作时间] 更新为当前时间戳)
updateLastActivityToNow(String) - 类中的方法 cn.dev33.satoken.stp.StpLogic
续签指定token:(将 [最后操作时间] 更新为当前时间戳)
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(long) - 类中的方法 cn.dev33.satoken.session.SaSession
修改此Session的剩余存活时间
updateTimeout(String, long) - 接口中的方法 cn.dev33.satoken.dao.SaTokenDao
修改Value的剩余存活时间 (单位: 秒)
updateTimeout(String, long) - 类中的方法 cn.dev33.satoken.dao.SaTokenDaoDefaultImpl
 
updateTokenToIdMapping(String, Object) - 类中的方法 cn.dev33.satoken.stp.StpLogic
更改 Token 指向的 账号Id 值
URL_REGEX - 类中的静态变量 cn.dev33.satoken.util.SaFoxUtil
验证URL的正则表达式
USER - 类中的静态变量 cn.dev33.satoken.session.SaSession
在 Session 上存储用户对象时建议使用的key

V

vagueMatch(String, String) - 类中的静态方法 cn.dev33.satoken.util.SaFoxUtil
字符串模糊匹配
value() - annotation interface 中的元素 cn.dev33.satoken.annotation.SaCheckDisable
服务标识 (要校验是否禁用的服务名称)
value() - annotation interface 中的元素 cn.dev33.satoken.annotation.SaCheckPermission
需要校验的权限码
value() - annotation interface 中的元素 cn.dev33.satoken.annotation.SaCheckRole
需要校验的角色标识
value() - annotation interface 中的元素 cn.dev33.satoken.annotation.SaCheckSafe
要校验的服务
valueIsNull(Object) - 接口中的方法 cn.dev33.satoken.application.SaGetValueInterface
判断一个值是否为null
valueOf(String) - enum class中的静态方法 cn.dev33.satoken.annotation.SaMode
Returns the enum constant of this class with the specified name.
valueOf(String) - enum class中的静态方法 cn.dev33.satoken.router.SaHttpMethod
Returns the enum constant of this class with the specified name.
values() - enum class中的静态方法 cn.dev33.satoken.annotation.SaMode
Returns an array containing the constants of this enum class, in the order they are declared.
values() - enum class中的静态方法 cn.dev33.satoken.router.SaHttpMethod
Returns an array containing the constants of this enum class, in the order they are declared.
VERSION_NO - 类中的静态变量 cn.dev33.satoken.util.SaTokenConsts
Sa-Token 当前版本号

W

warn - 类中的静态变量 cn.dev33.satoken.log.SaLogForConsole
 
warn(String, Object...) - 接口中的方法 cn.dev33.satoken.log.SaLog
输出 warn 日志
warn(String, Object...) - 类中的方法 cn.dev33.satoken.log.SaLogForConsole
 
A B C D E F G H I J K L M N O P R S T U V W 
All Classes and Interfaces|常量字段值|所有程序包|序列化表格