接口 LoginService

    • 方法概要

      所有方法 实例方法 抽象方法 
      修饰符和类型 方法 说明
      net.guerlab.smart.wx.core.domain.LoginResponse buildLoginResponse​(WxUser user, net.guerlab.smart.platform.auth.factory.TokenFactory<net.guerlab.smart.wx.core.entity.IWxUserTokenInfo> tokenFactory, java.lang.String ip)
      构造登录响应
      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)
      登录
    • 方法详细资料

      • login

        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)
        登录
        参数:
        appId - appId
        code - code
        ip - ip
        referer - 登录源
        tokenFactory - token工厂
        返回:
        token
      • buildLoginResponse

        net.guerlab.smart.wx.core.domain.LoginResponse buildLoginResponse​(WxUser user,
                                                                          net.guerlab.smart.platform.auth.factory.TokenFactory<net.guerlab.smart.wx.core.entity.IWxUserTokenInfo> tokenFactory,
                                                                          java.lang.String ip)
        构造登录响应
        参数:
        user - appId
        tokenFactory - token工厂
        ip - 登录IP
        返回:
        登录响应