mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-19 19:41:25 +02:00
Session management: - GET /auth/sessions and DELETE /auth/sessions/:id endpoints - listSessions() and revokeSession() in shared-auth client - SessionManager component: active sessions list with device info, "Aktuell" badge, revoke individual or all other sessions - Integrated in ManaCore settings page Account lockout UX: - Dedicated amber lockout banner (distinct from generic rate-limit) - "Konto vorübergehend gesperrt" with MM:SS countdown - "Passwort zurücksetzen" link as alternative action - formatCountdown helper for clean time display Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
38 lines
1.7 KiB
TypeScript
38 lines
1.7 KiB
TypeScript
// Pages
|
|
export { default as LoginPage } from './pages/LoginPage.svelte';
|
|
export { default as RegisterPage } from './pages/RegisterPage.svelte';
|
|
export { default as ForgotPasswordPage } from './pages/ForgotPasswordPage.svelte';
|
|
|
|
// Components
|
|
export { default as GuestWelcomeModal } from './components/GuestWelcomeModal.svelte';
|
|
export { default as AuthGateModal } from './components/AuthGateModal.svelte';
|
|
export { default as SessionExpiredBanner } from './components/SessionExpiredBanner.svelte';
|
|
export { default as AuthGate } from './components/AuthGate.svelte';
|
|
export { default as PasskeyManager } from './components/PasskeyManager.svelte';
|
|
export { default as TwoFactorSetup } from './components/TwoFactorSetup.svelte';
|
|
export { default as SecurityOnboarding } from './components/SecurityOnboarding.svelte';
|
|
export { default as ChangePassword } from './components/ChangePassword.svelte';
|
|
export { default as PasswordStrength } from './components/PasswordStrength.svelte';
|
|
export { default as AuditLog } from './components/AuditLog.svelte';
|
|
export { default as SessionManager } from './components/SessionManager.svelte';
|
|
|
|
// Utilities
|
|
export {
|
|
shouldShowGuestWelcome,
|
|
markGuestWelcomeSeen,
|
|
resetGuestWelcome,
|
|
resetAllGuestWelcome,
|
|
} from './utils/guestWelcome';
|
|
|
|
// Types
|
|
export type {
|
|
AuthUIConfig,
|
|
AuthServiceInterface,
|
|
AuthResult,
|
|
GuestWelcomeTranslations,
|
|
AuthGateAction,
|
|
AuthGateTranslations,
|
|
} from './types';
|
|
export type { PasskeyManagerTranslations } from './components/PasskeyManager.svelte';
|
|
export type { TwoFactorSetupTranslations } from './components/TwoFactorSetup.svelte';
|
|
export type { SessionManagerTranslations } from './components/SessionManager.svelte';
|