Package club.zhcs.lina.oidc.service
Class CacheableOpenIDConnectionAuthService
java.lang.Object
club.zhcs.lina.auth.service.HttpServletAuthService
club.zhcs.lina.oidc.service.CacheableOpenIDConnectionAuthService
- All Implemented Interfaces:
AuthService
基于open id connect 实现的token验证可缓存的实现
-
Field Summary
Fields inherited from class club.zhcs.lina.auth.service.HttpServletAuthService
TOKEN_EXPIRED -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionjakarta.servlet.http.HttpServletRequestjakarta.servlet.http.HttpServletResponsetryRefreshToken(String refreshToken) user()Methods inherited from class club.zhcs.lina.auth.service.HttpServletAuthService
addCookie, authentication, authorizationHeaderKey, login, logout, optionalUser, pass, refreshToken, refreshToken, refreshTokenKey, skip, subject, token, token, tokenKey, 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
-
CacheableOpenIDConnectionAuthService
public CacheableOpenIDConnectionAuthService()
-
-
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
-
cookieSettings
- Specified by:
cookieSettingsin classHttpServletAuthService
-
jwtEncoder
- Specified by:
jwtEncoderin classHttpServletAuthService
-
user
- Specified by:
userin interfaceAuthService- Overrides:
userin classHttpServletAuthService
-
tryRefreshToken
- Overrides:
tryRefreshTokenin classHttpServletAuthService- Parameters:
refreshToken-- Returns:
-
jwtDecoder
- Specified by:
jwtDecoderin classHttpServletAuthService- Returns:
- See Also:
-