类 WxMaLoginServiceImpl

    • 构造器详细资料

      • WxMaLoginServiceImpl

        public WxMaLoginServiceImpl()
    • 方法详细资料

      • login

        public net.guerlab.smart.wx.core.domain.LoginResponse login​(java.lang.String appId,
                                                                    java.lang.String code,
                                                                    java.lang.String ip,
                                                                    java.lang.String referer,
                                                                    net.guerlab.smart.platform.auth.factory.TokenFactory<net.guerlab.smart.wx.core.entity.IWxUserTokenInfo> tokenFactory)
        从接口复制的说明: LoginService
        登录
        指定者:
        login 在接口中 LoginService
        参数:
        appId - appId
        code - code
        ip - ip
        referer - 登录源
        tokenFactory - token工厂
        返回:
        token
      • register

        public net.guerlab.smart.wx.core.domain.LoginResponse register​(java.lang.String appId,
                                                                       java.lang.String openId,
                                                                       net.guerlab.smart.wx.core.domain.MaEncryptedData encryptedData,
                                                                       net.guerlab.smart.platform.auth.factory.TokenFactory<net.guerlab.smart.wx.core.entity.IWxUserTokenInfo> tokenFactory,
                                                                       java.lang.String ip)
        从接口复制的说明: WxMaLoginService
        注册
        指定者:
        register 在接口中 WxMaLoginService
        参数:
        appId - appId
        openId - openId
        encryptedData - 小程序加密信息请求
        tokenFactory - token工厂
        ip - 登录IP
        返回:
        token
      • setManagerService

        @Autowired
        public void setManagerService​(WxMaManagerService managerService)
      • setSessionKeyStorage

        @Autowired
        public void setSessionKeyStorage​(net.guerlab.smart.wx.miniapp.spring.storage.ISessionKeyStorage sessionKeyStorage)