kell_creations/kell_creations_apps/packages/auth/lib/auth.dart

24 lines
949 B
Dart

/// Authentication and credential management for the Kell Creations platform.
///
/// This package provides:
///
/// - [KcUser] / [KcUserRole] — user identity domain models
/// - [AuthState] hierarchy — [AuthStateUnauthenticated], [AuthStateLoading],
/// [AuthStateAuthenticated], [AuthStateError]
/// - [AuthService] — abstract contract for sign-in, sign-out, and token refresh
/// - [AuthException] — thrown by [AuthService] on failure
/// - [CredentialStore] / [CredentialKeys] — secure key/value storage contract
/// for API keys and session tokens
/// - [InMemoryCredentialStore] — in-memory implementation for tests and fake mode
/// - [FakeAuthService] — in-memory [AuthService] for fake mode and tests
library;
// Domain
export 'src/domain/auth_service.dart';
export 'src/domain/auth_state.dart';
export 'src/domain/credential_store.dart';
export 'src/domain/user.dart';
// Data
export 'src/data/fake_auth_service.dart';