@Service public class AuthServiceImpl extends Object implements AuthServiceApi
| 构造器和说明 |
|---|
AuthServiceImpl() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
checkAuth(String token,
String requestUrl) |
LoginResponse |
login(LoginRequest loginRequest) |
LoginResponse |
LoginWithToken(LoginWithTokenRequest loginWithTokenRequest) |
LoginResponse |
loginWithUserName(String username) |
LoginResponse |
loginWithUserNameAndCaToken(String username,
String caToken) |
void |
logout() |
void |
logoutWithToken(String token) |
void |
validateToken(String token) |
public LoginResponse login(LoginRequest loginRequest)
login 在接口中 AuthServiceApipublic LoginResponse loginWithUserName(String username)
loginWithUserName 在接口中 AuthServiceApipublic LoginResponse loginWithUserNameAndCaToken(String username, String caToken)
loginWithUserNameAndCaToken 在接口中 AuthServiceApipublic LoginResponse LoginWithToken(LoginWithTokenRequest loginWithTokenRequest)
LoginWithToken 在接口中 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.