类 StpLogicJwtForSimple
java.lang.Object
cn.dev33.satoken.stp.StpLogic
cn.dev33.satoken.jwt.StpLogicJwtForSimple
public class StpLogicJwtForSimple
extends cn.dev33.satoken.stp.StpLogic
Sa-Token 整合 jwt -- Simple 简单模式
- 作者:
- kong
-
字段概要
从类继承的字段 cn.dev33.satoken.stp.StpLogic
loginType -
构造器概要
构造器构造器说明Sa-Token 整合 jwt -- Simple模式StpLogicJwtForSimple(String loginType) Sa-Token 整合 jwt -- Simple模式 -
方法概要
从类继承的方法 cn.dev33.satoken.stp.StpLogic
checkActivityTimeout, checkActivityTimeout, checkByAnnotation, checkByAnnotation, checkByAnnotation, checkByAnnotation, checkByAnnotation, checkDisable, checkDisable, checkDisableLevel, checkDisableLevel, checkLogin, checkPermission, checkPermissionAnd, checkPermissionOr, checkRole, checkRoleAnd, checkRoleOr, checkSafe, checkSafe, clearLastActivity, closeSafe, closeSafe, createLoginSession, createLoginSession, deleteTokenSession, deleteTokenToIdMapping, disable, disable, disableLevel, disableLevel, distUsableToken, endSwitch, getAnonTokenSession, getAnonTokenSession, getConfig, getConfigOfCookieTimeout, getDisableLevel, getDisableLevel, getDisableTime, getDisableTime, getLoginDevice, getLoginId, getLoginId, getLoginIdAsInt, getLoginIdAsLong, getLoginIdAsString, getLoginIdByToken, getLoginIdDefaultNull, getLoginIdNotHandle, getLoginType, getPermissionList, getPermissionList, getRoleList, getRoleList, getSafeTime, getSafeTime, getSaTokenDao, getSession, getSession, getSessionByLoginId, getSessionByLoginId, getSessionBySessionId, getSessionBySessionId, getSessionTimeout, getSessionTimeoutByLoginId, getSwitchLoginId, getTokenActivityTimeout, getTokenActivityTimeoutByToken, getTokenInfo, getTokenName, getTokenSession, getTokenSession, getTokenSessionByToken, getTokenSessionByToken, getTokenSessionTimeout, getTokenSessionTimeoutByTokenValue, getTokenTimeout, getTokenTimeoutByLoginId, getTokenValue, getTokenValueByLoginId, getTokenValueByLoginId, getTokenValueListByLoginId, getTokenValueListByLoginId, getTokenValueNotCut, getTokenValueNotNull, hasElement, hasPermission, hasPermission, hasPermissionAnd, hasPermissionOr, hasRole, hasRole, hasRoleAnd, hasRoleOr, isDisable, isDisable, isDisableLevel, isDisableLevel, isLogin, isOpenActivityCheck, isSafe, isSafe, isSafe, isSwitch, isValidLoginId, kickout, kickout, kickoutByTokenValue, login, login, login, login, login, logout, logout, logout, logoutByMaxLoginCount, logoutByTokenValue, openSafe, openSafe, renewTimeout, renewTimeout, replaced, saveTokenToIdMapping, searchSessionId, searchTokenSessionId, searchTokenValue, setLastActivityToNow, setLoginType, setTokenValue, setTokenValue, setTokenValue, setTokenValueToCookie, setTokenValueToResponseHeader, setTokenValueToStorage, splicingKeyDisable, splicingKeyJustCreatedSave, splicingKeyLastActivityTime, splicingKeySafe, splicingKeySession, splicingKeySwitch, splicingKeyTokenName, splicingKeyTokenSession, splicingKeyTokenValue, switchTo, switchTo, untieDisable, untieDisable, updateLastActivityToNow, updateLastActivityToNow, updateTokenToIdMapping
-
构造器详细资料
-
StpLogicJwtForSimple
public StpLogicJwtForSimple()Sa-Token 整合 jwt -- Simple模式 -
StpLogicJwtForSimple
Sa-Token 整合 jwt -- Simple模式- 参数:
loginType- 账号体系标识
-
-
方法详细资料
-
jwtSecretKey
获取jwt秘钥- 返回:
- /
-
createTokenValue
public String createTokenValue(Object loginId, String device, long timeout, Map<String, Object> extraData) 创建一个TokenValue- 覆盖:
createTokenValue在类中cn.dev33.satoken.stp.StpLogic
-
getExtra
获取当前 Token 的扩展信息- 覆盖:
getExtra在类中cn.dev33.satoken.stp.StpLogic
-
getExtra
获取指定 Token 的扩展信息- 覆盖:
getExtra在类中cn.dev33.satoken.stp.StpLogic
-