Package club.zhcs.lina.auth.service.impl
Class DefaultAuthService
java.lang.Object
club.zhcs.lina.auth.service.HttpServletAuthService
club.zhcs.lina.auth.service.impl.DefaultAuthService
- All Implemented Interfaces:
AuthService
- Author:
- Kerbores(kerbores@riemann.tech)
-
Field Summary
Fields inherited from class club.zhcs.lina.auth.service.HttpServletAuthService
TOKEN_EXPIRED -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncookie 设置jakarta.servlet.http.HttpServletRequestjakarta.servlet.http.HttpServletResponseMethods inherited from class club.zhcs.lina.auth.service.HttpServletAuthService
addCookie, authentication, authorizationHeaderKey, login, logout, optionalUser, pass, refreshToken, refreshToken, refreshTokenKey, skip, subject, token, token, tokenKey, tryRefreshToken, user, userNameMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface club.zhcs.lina.auth.service.AuthService
permissions, roles
-
Constructor Details
-
DefaultAuthService
public DefaultAuthService()
-
-
Method Details
-
getRequest
public jakarta.servlet.http.HttpServletRequest getRequest()- Specified by:
getRequestin classHttpServletAuthService
-
getResponse
public jakarta.servlet.http.HttpServletResponse getResponse()- Specified by:
getResponsein classHttpServletAuthService
-
userDetailService
- Specified by:
userDetailServicein classHttpServletAuthService
-
jwtEncoder
- Specified by:
jwtEncoderin classHttpServletAuthService- Returns:
- See Also:
-
jwtDecoder
- Specified by:
jwtDecoderin classHttpServletAuthService- Returns:
- See Also:
-
cookieSettings
Description copied from class:HttpServletAuthServicecookie 设置- Specified by:
cookieSettingsin classHttpServletAuthService- Returns:
- See Also:
-