brandapp-ui
Reopt User Menu
brandapp-ui - User Menu
ReoptUserMenu
Global re-auth modal triggered by session truthy→falsy transition or the reopt:session-expired window event.
forceReauth 옵션
true(기본)이면 backdrop/ESC dismiss 가 비활성화되어 사용자가 반드시 재로그인을 거쳐야 합니다.
트리거
실제 환경에서는 (1) authClient.useSession()이 truthy→falsy 로 전이되거나 (2) 보호된 fetch 헬퍼가 401 응답을 받아 reopt:session-expired 윈도우 이벤트를 디스패치할 때 자동으로 열립니다.