Implements KTO-01 criteria 1-4, 10 and 11 (client part). Refs #1 Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
9 lines
420 B
Dart
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);
|
|
}
|