public abstract class AbstrackAccountService extends Object implements AccountService
| 构造器和说明 |
|---|
AbstrackAccountService(TokenService tokenService,
SmsCodeService smsCodeService) |
public AbstrackAccountService(TokenService tokenService, SmsCodeService smsCodeService)
public LoginOut login(SmartLoginForm form) throws AccountException
login 在接口中 AccountServiceAccountExceptionpublic LoginOut login(LoginForm form) throws AccountException
login 在接口中 AccountServiceAccountExceptionpublic LoginOut quickLogin(LoginForm form) throws AccountException
quickLogin 在接口中 AccountServiceAccountExceptionprotected abstract int getLoginLifeTime(LoginForm form) throws AccountException
AccountExceptionprotected abstract String findUserAndCheckPassAndReturnId(LoginForm form) throws AccountException
AccountExceptionprotected abstract String findUserAndReturnId(LoginForm form) throws AccountException
AccountExceptionpublic void logout(LoginOut form) throws AccountException
logout 在接口中 AccountServiceAccountExceptionpublic void changePass(ChangePass form) throws AccountException
changePass 在接口中 AccountServiceAccountExceptionprotected abstract void updatePassword(String id, String password, Type type) throws AccountException
AccountExceptionprotected abstract boolean checkPassword(String id, String password, Type type) throws AccountException
AccountExceptionpublic void resetPass(ResetPass form) throws AccountException
resetPass 在接口中 AccountServiceAccountExceptionprotected abstract void updatePasswordByEmail(String email, String password, Type type) throws AccountException
AccountExceptionprotected abstract void updatePasswordByPhone(String phone, String password, Type type) throws AccountException
AccountExceptionpublic String signup(Signup form) throws AccountException
signup 在接口中 AccountServiceAccountExceptionpublic void requestSmsCodeForResetPass(String phone) throws SmsCodeException
requestSmsCodeForResetPass 在接口中 AccountServiceSmsCodeExceptionpublic boolean checkSmsCodeForResetPass(String phone, String code)
checkSmsCodeForResetPass 在接口中 AccountServicepublic void requestSmsCodeForLogin(String phone) throws SmsCodeException
requestSmsCodeForLogin 在接口中 AccountServiceSmsCodeExceptionpublic boolean checkSmsCodeForLogin(String phone, String code)
checkSmsCodeForLogin 在接口中 AccountServicepublic TokenService getTokenService()
public void setTokenService(TokenService tokenService)
public SmsCodeService getSmsCodeService()
public void setSmsCodeService(SmsCodeService smsCodeService)
Copyright © 2017. All rights reserved.