接口 LoginService
- 所有已知子接口:
WxMaLoginService,WxMpLoginService
public interface LoginService
登录服务
- 作者:
- guer
-
方法概要
修饰符和类型 方法 说明 net.guerlab.smart.wx.core.domain.LoginResponsebuildLoginResponse(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.LoginResponselogin(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- appIdcode- codeip- ipreferer- 登录源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- appIdtokenFactory- token工厂ip- 登录IP- 返回:
- 登录响应
-