Shuffle/app/lib/core/config/auth_config.dart
cschlaefke e632da2344 feat(auth): add registration, check-email and email-link screens
Implements KTO-01 criteria 1-4, 10 and 11 (client part).

Refs #1

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-03 00:27:16 +01:00

9 lines
420 B
Dart

/// Auth settings the client has to know. They mirror the server configuration.
abstract final class AuthConfig {
/// Validity of confirmation and reset links (AUTH-CFG-07,
/// `GOTRUE_MAILER_OTP_EXP=3600`, see `docs/auth-konfiguration.md`).
///
/// The text `authCheckEmailValidityOneHour` is only correct while this is
/// one hour; a test pins the value.
static const linkValidity = Duration(hours: 1);
}