web library
Web support for sp_jwt_auth, including Web Locks, TabSync, and httpOnly cookie transport.
Classes
- BrowserCookieEnv
- Browser cookie environment seam allowing tests to inject mock environments.
- CookieTransportConfig
- Configuration options for web cookie transport.
- Csrf
- CSRF double-submit configuration for cookie transport.
- MockBroadcastChannel
- In-process mock channel for tests and environments without BroadcastChannel.
- MockBrowserCookieEnv
- In-memory mock implementation of BrowserCookieEnv for testing.
- TabLoggedOutMessage
- Message indicating user logged out in another tab.
- TabRefreshedMessage
- Message indicating session tokens were rotated in another tab.
- TabSync
- Service that coordinates session updates across multiple browser tabs.
- TabSyncChannel
- Communication seam for multi-tab synchronization.
- TabSyncMessage
- Base sealed class for tab sync messages.
- WebLocksRefreshLock
- Cross-tab refresh lock using the Web Locks API with fallback to in-process synchronization.
Enums
- Transport
- Transport mode for authentication tokens.
Functions
-
defaultCookieEnv(
) → BrowserCookieEnv - Returns the platform default BrowserCookieEnv.