// @marketplaces/auth — public API barrel. // Two independent auth mechanisms, per ADR-0001 (marketplaces repo: // docs/context/adrs/ADR-0001-extract-auth-and-payment-into-shared-marketplaces-packages.md): // - telegram/ — live Telegram QR/session auth (customer + admin) // - ed25519/ — future Ed25519 challenge/response admin auth (backend not shipped yet) // Provide AUTH_API_URL (and optionally TELEGRAM_BOT_USERNAME) from the consuming app's config. export { AUTH_API_URL, TELEGRAM_BOT_USERNAME } from './config'; export { TelegramSessionApiService } from './telegram/telegram-session-api.service'; export { AuthService } from './telegram/auth.service'; export { AdminAuthService } from './telegram/admin-auth.service'; export { adminAuthGuard } from './telegram/admin-auth.guard'; export { adminAuthHeadersInterceptor } from './telegram/admin-auth-headers.interceptor'; // Ed25519 module (namespaced re-exports to avoid colliding with the telegram module's AuthService) export { AuthService as Ed25519AuthService } from './ed25519/auth.service'; export { AuthFacade } from './ed25519/auth-facade.service'; export { AuthApiService } from './ed25519/auth-api.service'; export { SessionService } from './ed25519/session.service'; export { JwtService } from './ed25519/jwt.service'; export { Ed25519KeypairService } from './ed25519/ed25519-keypair.service'; export { PermissionService } from './ed25519/permission.service'; export { Ed25519VerificationService } from './ed25519/ed25519-verification.model'; export { NoopEd25519VerificationService } from './ed25519/noop-ed25519-verification.service'; export { authErrorCodeFromBackendCode, authErrorCodeFromStatus } from './ed25519/models/auth-error.model'; export { ROLE_PERMISSIONS } from './ed25519/models/permission.model';