接口 ILoginService

所有已知实现类:
LoginServiceImpl

public interface ILoginService
  • 方法详细资料

    • login

      ApiResult login(LoginDto loginDto, jakarta.servlet.http.HttpServletRequest request)
      用户登录
      参数:
      loginDto -
      request -
      返回:
    • phoneNumberLogin

      ApiResult phoneNumberLogin(PhoneNumberLoginDto loginDto, jakarta.servlet.http.HttpServletRequest request)
      手机号码登录
      参数:
      loginDto -
      request -
      返回:
    • emailLogin

      ApiResult emailLogin(EMailLoginDto eMailLoginDto, jakarta.servlet.http.HttpServletRequest request)
      邮箱登录
      参数:
      eMailLoginDto -
      request -
      返回:
    • logout

      void logout()
      退出
    • forceKickOut

      void forceKickOut(Long userId, String deviceType)
      强制下线
      参数:
      userId -
      deviceType - 设备类型
    • forceLogOut

      void forceLogOut(Long userId, String deviceType)
      强制注销
      参数:
      userId -
      deviceType - 设备类型
    • switchTo

      void switchTo(Long userId)
      模拟登录到其他账号
      参数:
      userId -
    • endSwitch

      void endSwitch()
      结束临时切换