@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.
8 lines (7 loc) • 476 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 { AuthStatus } from './types/auth-provider-types.js';
export { WristbandTokenError } from './error/index.js';
export { redirectToLogin, redirectToLogout } from './utils/auth-utils.js';