UserAuthService.java 926 B

12345678910111213141516171819202122232425262728293031
  1. /*
  2. * *************************************************
  3. * Copyright (c) 2018 QMTH. All Rights Reserved.
  4. * Created by Deason on 2018-07-31 17:40:42.
  5. * *************************************************
  6. */
  7. package cn.com.qmth.examcloud.app.service;
  8. import cn.com.qmth.examcloud.app.model.Result;
  9. import cn.com.qmth.examcloud.app.model.User;
  10. /**
  11. * 认证中心业务服务接口
  12. *
  13. * @author: fengdesheng
  14. * @since: 2018/7/31
  15. */
  16. public interface UserAuthService {
  17. Result<User> login(String account, String password, String accountType, Long rootOrgId, String domain) throws Exception;
  18. Result logout(String key, String token) throws Exception;
  19. Result getUserInfo(String key, String token) throws Exception;
  20. Result updatePassword(String key, String token, Long userId, String password) throws Exception;
  21. Result userBindingPhone(String key, String token, Long userId, String phone, String code);
  22. }