You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
478 B
31 lines
478 B
/**
|
|
* Copyright (c) 2018 人人开源 All rights reserved.
|
|
*
|
|
* https://www.renren.io
|
|
*
|
|
* 版权所有,侵权必究!
|
|
*/
|
|
|
|
package com.epmet.service;
|
|
|
|
import com.epmet.dto.AuthorizationDTO;
|
|
import com.epmet.dto.LoginDTO;
|
|
|
|
/**
|
|
* 认证服务
|
|
*
|
|
* @author Mark sunlightcs@gmail.com
|
|
* @since 1.0.0
|
|
*/
|
|
public interface AuthService {
|
|
|
|
/**
|
|
* 登录
|
|
*/
|
|
AuthorizationDTO login(LoginDTO login);
|
|
|
|
/**
|
|
* 退出
|
|
*/
|
|
void logout(Long userId);
|
|
}
|
|
|