类 WxUserJwtTokenFactory
java.lang.Object
net.guerlab.smart.platform.auth.factory.AbstractTokenFactory<T,P>
net.guerlab.smart.platform.auth.factory.AbstractJwtTokenFactory<net.guerlab.smart.wx.core.entity.IWxUserTokenInfo,WxUserJwtTokenFactoryProperties>
net.guerlab.smart.wx.auth.factory.WxUserJwtTokenFactory
- 所有已实现的接口:
java.lang.Comparable<net.guerlab.smart.platform.auth.factory.TokenFactory<?>>,net.guerlab.smart.platform.auth.factory.TokenFactory<net.guerlab.smart.wx.core.entity.IWxUserTokenInfo>,org.springframework.core.Ordered
public class WxUserJwtTokenFactory extends net.guerlab.smart.platform.auth.factory.AbstractJwtTokenFactory<net.guerlab.smart.wx.core.entity.IWxUserTokenInfo,WxUserJwtTokenFactoryProperties>
jwt token 工厂
- 作者:
- guer
-
字段概要
字段 修饰符和类型 字段 说明 static java.lang.StringPREFIX签名前缀 -
构造器概要
构造器 构造器 说明 WxUserJwtTokenFactory() -
方法概要
修饰符和类型 方法 说明 protected voidgenerateToken0(io.jsonwebtoken.JwtBuilder builder, net.guerlab.smart.wx.core.entity.IWxUserTokenInfo user)java.lang.Class<net.guerlab.smart.wx.core.entity.IWxUserTokenInfo>getAcceptClass()protected java.lang.StringgetPrefix()protected net.guerlab.smart.wx.core.entity.IWxUserTokenInfoparse0(io.jsonwebtoken.Claims body)从类继承的方法 net.guerlab.smart.platform.auth.factory.AbstractJwtTokenFactory
generateByAccessToken, generateByRefreshToken, parseByAccessToken, parseByRefreshToken从类继承的方法 net.guerlab.smart.platform.auth.factory.AbstractTokenFactory
acceptIp, compareTo, enabled, getAccessTokenPrefix, getObjectValue, getOrder, getRefreshTokenPrefix, isDefault, setProperties
-
字段详细资料
-
构造器详细资料
-
WxUserJwtTokenFactory
public WxUserJwtTokenFactory()
-
-
方法详细资料
-
generateToken0
protected void generateToken0(io.jsonwebtoken.JwtBuilder builder, net.guerlab.smart.wx.core.entity.IWxUserTokenInfo user)- 指定者:
generateToken0在类中net.guerlab.smart.platform.auth.factory.AbstractJwtTokenFactory<net.guerlab.smart.wx.core.entity.IWxUserTokenInfo,WxUserJwtTokenFactoryProperties>
-
parse0
protected net.guerlab.smart.wx.core.entity.IWxUserTokenInfo parse0(io.jsonwebtoken.Claims body)- 指定者:
parse0在类中net.guerlab.smart.platform.auth.factory.AbstractJwtTokenFactory<net.guerlab.smart.wx.core.entity.IWxUserTokenInfo,WxUserJwtTokenFactoryProperties>
-
getPrefix
protected java.lang.String getPrefix()- 指定者:
getPrefix在类中net.guerlab.smart.platform.auth.factory.AbstractTokenFactory<net.guerlab.smart.wx.core.entity.IWxUserTokenInfo,WxUserJwtTokenFactoryProperties>
-
getAcceptClass
public java.lang.Class<net.guerlab.smart.wx.core.entity.IWxUserTokenInfo> getAcceptClass()
-