Add reusable two-factor verification for login and money operations (#32)

This commit is contained in:
Stephan D committed 2026-09-12 12:44:34 +02:00
1 parent b7a58b1a87
commit fb40f860d2
41 files changed
+2439 -43

No files matched your search

@@ -0,0 +1,25 @@
class FactorSettingsDTO {
const FactorSettingsDTO(this.enabled, this.target, this.method);
final bool enabled;
final String method;
final String target;
}
class FactorChallengeDTO {
const FactorChallengeDTO(
this.id,
this.purpose,
this.operation,
this.target,
this.expiresAt,
this.resendAt,
this.method,
);
final String id, purpose, operation, target, method;
final DateTime expiresAt, resendAt;
}
class FactorGrantDTO {
const FactorGrantDTO(this.token);
final String token;
}