@wristband/react-client-auth
Version:
A lightweight React SDK that pairs with your backend server auth to initialize and sync frontend sessions via secure session cookies.
7 lines (6 loc) • 424 B
JavaScript
export { WristbandAuthProvider } from './context/wristband-auth-provider.js';
export { useWristbandAuth } from './hooks/use-wristband-auth.js';
export { useWristbandSession } from './hooks/use-wristband-session.js';
export { useWristbandToken } from './hooks/use-wristband-token.js';
export { WristbandError } from './error/index.js';
export { getCsrfToken, redirectToLogin, redirectToLogout } from './utils/auth-utils.js';