@Service public class AuthServiceImpl extends Object implements AuthServiceApi
| 构造器和说明 |
|---|
AuthServiceImpl() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
checkAuth(String token,
String requestUrl) |
LoginResponse |
login(LoginRequest loginRequest) |
LoginResponse |
loginWithUserName(String username) |
void |
logout() |
void |
logoutWithToken(String token) |
void |
validateToken(String token) |
public LoginResponse login(LoginRequest loginRequest)
login 在接口中 AuthServiceApipublic LoginResponse loginWithUserName(String username)
loginWithUserName 在接口中 AuthServiceApipublic void logout()
logout 在接口中 AuthServiceApipublic void logoutWithToken(String token)
logoutWithToken 在接口中 AuthServiceApipublic void validateToken(String token) throws AuthException
validateToken 在接口中 AuthServiceApiAuthExceptionpublic void checkAuth(String token, String requestUrl)
checkAuth 在接口中 AuthServiceApiCopyright © 2021. All rights reserved.