# Functions
自动建表.
DeleteToken 强制删除Token记录,用途--用户账号被盗后,强制下线.
GetAppProductId 获取AppProduct Id.
GetBufferTime 获取BufferTime.
GetClaims 获取Claims.
GetClaimValue 从Gin的Context中获取特定类型的Claim值,通过ClaimHandlers映射来获取.
GetExtend 获取Extend.
GetInt32ClaimValue 从Gin的Context中获取Int32类型的Claim值.
GetInt64ClaimValue 从Gin的Context中获取Int64类型的Claim值.
GetJWTSignKey 获取JWT签名密钥.
GetMerchantNo 获取商户号.
GetNickName 获取用户昵称.
GetPhoneNumber 获取用户手机号.
GetPlatformType 获取Platform Type.
GetStringClaimValue 从Gin的Context中获取字符串类型的Claim值.
GetTokenId 获取Token Id.
GetUserAuthorityId 获取用户角色Id.
GetUserId 获取用户Id.
GetUserName 获取用户名.
GetUserType 获取用户类型.
NewJWT 新建一个 jwt 实例.
RegisteredClaims expiresAt 过期时间单位秒.
SetJWTSignKey 动态设置JWT签名密钥.
# Variables
ClaimHandlers 存储不同类型Claim的处理函数.
定义一些常量.
定义一些常量.
定义一些常量.
定义一些常量.
# Type aliases
ClaimHandlerFunc 定义处理声明的函数.