com.github.rexsheng.springboot.faster.system.auth.application.AuthService Maven / Gradle / Ivy
The newest version!
package com.github.rexsheng.springboot.faster.system.auth.application;
import com.github.rexsheng.springboot.faster.system.auth.application.dto.*;
import com.github.rexsheng.springboot.faster.system.auth.domain.SysUserDetail;
import java.io.IOException;
import java.util.Map;
public interface AuthService {
SysUserDetail login(LoginRequest request);
SysUserDetail loadUser(LoadUserRequest request);
Map createSessionToken(SysUserDetail user);
SysUserDetail getUserBySessionToken(String token);
Map refreshSessionToken(RefreshTokenRequest request);
SysUserDetail logout(String token);
Map createKaptcha() throws IOException;
boolean validateKaptcha(String uuid, String code);
SysUserDetail getUserByApiToken(String tokenName,String tokenValue);
void offline(OfflineUserRequest request);
FindUserByAccountResponse validateUserAccount(ValidateAccountRequest request);
void sendResetPasswordMail(String uid);
FindUserByAccountResponse validateUserRemoteKaptcha(ValidateUserRemoteKaptchaRequest request);
void findPassword(FindPasswordRequest request);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy