C D G J U V
C
- cn.stylefeng.roses.kernel.jwt.api - 程序包 cn.stylefeng.roses.kernel.jwt.api
-
- cn.stylefeng.roses.kernel.jwt.api.constants - 程序包 cn.stylefeng.roses.kernel.jwt.api.constants
-
- cn.stylefeng.roses.kernel.jwt.api.exception - 程序包 cn.stylefeng.roses.kernel.jwt.api.exception
-
- cn.stylefeng.roses.kernel.jwt.api.exception.enums - 程序包 cn.stylefeng.roses.kernel.jwt.api.exception.enums
-
- cn.stylefeng.roses.kernel.jwt.api.pojo.config - 程序包 cn.stylefeng.roses.kernel.jwt.api.pojo.config
-
D
- DEFAULT_JWT_TIMEOUT_SECONDS - 接口 中的静态变量cn.stylefeng.roses.kernel.jwt.api.constants.JwtConstants
-
jwt默认失效时间 1天
G
- generateToken(Map<String, Object>) - 接口 中的方法cn.stylefeng.roses.kernel.jwt.api.JwtApi
-
生成token
- getJwtPayloadClaims(String) - 接口 中的方法cn.stylefeng.roses.kernel.jwt.api.JwtApi
-
获取jwt的payload(通用的)
J
- JWT_EXCEPTION_STEP_CODE - 接口 中的静态变量cn.stylefeng.roses.kernel.jwt.api.constants.JwtConstants
-
异常枚举的步进值
- JWT_MODULE_NAME - 接口 中的静态变量cn.stylefeng.roses.kernel.jwt.api.constants.JwtConstants
-
jwt模块的名称
- JwtApi - cn.stylefeng.roses.kernel.jwt.api中的接口
-
jwt相关的操作api
- JwtConfig - cn.stylefeng.roses.kernel.jwt.api.pojo.config中的类
-
jwt相关的配置封装
- JwtConfig() - 类 的构造器cn.stylefeng.roses.kernel.jwt.api.pojo.config.JwtConfig
-
- JwtConstants - cn.stylefeng.roses.kernel.jwt.api.constants中的接口
-
jwt模块常量
- JwtException - cn.stylefeng.roses.kernel.jwt.api.exception中的异常错误
-
jwt异常
- JwtException(AbstractExceptionEnum, Object...) - 异常错误 的构造器cn.stylefeng.roses.kernel.jwt.api.exception.JwtException
-
- JwtException(AbstractExceptionEnum) - 异常错误 的构造器cn.stylefeng.roses.kernel.jwt.api.exception.JwtException
-
- JwtExceptionEnum - cn.stylefeng.roses.kernel.jwt.api.exception.enums中的枚举
-
jwt异常的状态码
U
- updateJwtConfig(JwtConfig) - 接口 中的方法cn.stylefeng.roses.kernel.jwt.api.JwtApi
-
更新jwt的配置
V
- validateToken(String) - 接口 中的方法cn.stylefeng.roses.kernel.jwt.api.JwtApi
-
校验jwt token是否正确
不正确的token有两种:
1.
- validateTokenIsExpired(String) - 接口 中的方法cn.stylefeng.roses.kernel.jwt.api.JwtApi
-
校验jwt token是否失效了
- validateTokenWithException(String) - 接口 中的方法cn.stylefeng.roses.kernel.jwt.api.JwtApi
-
校验jwt token是否正确,如果参数token是错误的会抛出对应异常
不正确的token有两种:
1.
- valueOf(String) - 枚举 中的静态方法cn.stylefeng.roses.kernel.jwt.api.exception.enums.JwtExceptionEnum
-
返回带有指定名称的该类型的枚举常量。
- values() - 枚举 中的静态方法cn.stylefeng.roses.kernel.jwt.api.exception.enums.JwtExceptionEnum
-
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
C D G J U V
Copyright © 2024. All rights reserved.