Interface UstraAuthenticationStore<R extends UstraAuthentication>
- Type Parameters:
R-
- All Known Implementing Classes:
SessionAuthenticationStore
public interface UstraAuthenticationStore<R extends UstraAuthentication>
인증 정보 저장소 인터페이스
-
Method Summary
Modifier and TypeMethodDescriptiondefault Rget(UstraAuthenticationProperties properties, jakarta.servlet.http.HttpServletRequest request) 인증 정보 조회default voidremove(UstraAuthenticationProperties properties) 인증 정보 제거default voidset(UstraAuthenticationProperties properties, R authentication, boolean updateFlag) 인증 정보 저장
-
Method Details
-
set
인증 정보 저장- Parameters:
properties- UstraAuthenticationPropertiesauthentication- 인증 정보updateFlag- 토큰 업데이트 여부 (로그인 시 : 기본 false, Exception 발생 시 true, 일반인증시: true)
-
get
default R get(UstraAuthenticationProperties properties, jakarta.servlet.http.HttpServletRequest request) 인증 정보 조회- Parameters:
properties- UstraAuthenticationPropertiesrequest- HttpServletRequest- Returns:
- 인증 정보
-
remove
인증 정보 제거- Parameters:
properties- UstraAuthenticationProperties
-