Przejdź do głównej zawartości

Function: selectIsAuthSettling()

selectIsAuthSettling(s): boolean

true while the auth identity is still settling: the store says the buyer is authenticated but there is no access token in memory yet — a cold-start refresh is pending (the short-lived access cookie lapsed while the long-lived session-expiry hint kept isAuthenticated true). Customer-account reads should wait for this to clear instead of racing ahead with no token (a guest response, which surfaces a logged-in buyer as "signed out" on reload).

Parameters

s

AuthStore

Returns

boolean