接口 LoginService

所有已知子接口:
WxMaLoginService, WxMpLoginService
所有已知实现类:
AbstractWxLoginServiceImpl, WxMaLoginServiceImpl, WxMpLoginServiceImpl

public interface LoginService
登录服务
作者:
guer
  • 方法概要

    修饰符和类型 方法 说明
    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
      返回:
      登录响应