ludc
2025-01-16 5203081b68e3a8dc139d1807b2f8774e4a00a82a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
package com.vci.web.service;
 
import com.vci.bo.LoginResultBO;
import com.vci.corba.common.PLException;
import com.vci.dto.LoginUserDTO;
import com.vci.starter.web.exception.VciBaseException;
import com.vci.starter.web.pagemodel.RequestClientInfo;
 
/**
 * 登录和退出服务
 * @author weidy
 * @date 2020/1/29
 */
public interface OsLoginServiceI {
 
    /**
     * 登录
     * @param userDTO 登录信息
     * @param clientInfo 请求的客户端的信息
     * @return 登录的结果对象
     * @throws VciBaseException 登录失败的时候抛出异常
     */
    LoginResultBO login(LoginUserDTO userDTO, RequestClientInfo clientInfo) throws Exception;
 
    /**
     * 退出系统
     * @param userToken 用户的许可码
     * @throws VciBaseException 删除会话信息出错的时候会抛出异常
     */
    void logout(String userToken) throws Exception;
}