Enum Class的使用
cn.dev33.satoken.stp.parameter.enums.SaLogoutRange
使用SaLogoutRange的程序包
-
cn.dev33.satoken.config中SaLogoutRange的使用
修饰符和类型方法说明SaTokenConfig.getLogoutRange()获取 注销范围 (TOKEN=只注销当前 token 的会话,ACCOUNT=注销当前 token 指向的 loginId 其所有客户端会话)
(此参数只在调用 StpUtil.logout() 时有效)参数类型为SaLogoutRange的cn.dev33.satoken.config中的方法修饰符和类型方法说明SaTokenConfig.setLogoutRange(SaLogoutRange logoutRange) 设置 注销范围 (TOKEN=只注销当前 token 的会话,ACCOUNT=注销当前 token 指向的 loginId 其所有客户端会话)
(此参数只在调用 StpUtil.logout() 时有效) -
cn.dev33.satoken.stp.parameter中SaLogoutRange的使用
修饰符和类型方法说明SaLogoutParameter.getRange()注销范围 (TOKEN=只注销当前 token 的会话,ACCOUNT=注销当前 token 指向的 loginId 其所有客户端会话)
(此参数只在调用 StpUtil.logout() 时有效)修饰符和类型方法说明SaLogoutParameter.setRange(SaLogoutRange range) 注销范围 (TOKEN=只注销当前 token 的会话,ACCOUNT=注销当前 token 指向的 loginId 其所有客户端会话)
(此参数只在调用 StpUtil.logout() 时有效) -
cn.dev33.satoken.stp.parameter.enums中SaLogoutRange的使用
修饰符和类型方法说明static SaLogoutRangeReturns the enum constant of this class with the specified name.static SaLogoutRange[]SaLogoutRange.values()Returns an array containing the constants of this enum class, in the order they are declared.