类 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.String PREFIX
      签名前缀
      • 从类继承的字段 net.guerlab.smart.platform.auth.factory.AbstractTokenFactory

        properties
      • 从接口继承的字段 org.springframework.core.Ordered

        HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
      • 从接口继承的字段 net.guerlab.smart.platform.auth.factory.TokenFactory

        CONNECTORS
    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型 方法 说明
      protected void generateToken0​(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.String getPrefix()  
      protected net.guerlab.smart.wx.core.entity.IWxUserTokenInfo parse0​(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
      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • 从接口继承的方法 net.guerlab.smart.platform.auth.factory.TokenFactory

        accept, acceptAccessToken, acceptRefreshToken
    • 字段详细资料

      • PREFIX

        public static final java.lang.String PREFIX
        签名前缀
        另请参阅:
        常量字段值
    • 构造器详细资料

      • 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()