feat: add MFA types, hooks, and APP_MFA_REQUIRED interceptor

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
hsiegeln
2026-04-26 14:01:04 +02:00
parent a5b30cd1ea
commit 0a77080bca
3 changed files with 79 additions and 1 deletions

View File

@@ -97,6 +97,7 @@ export interface TenantSettings {
status: string;
serverEndpoint: string | null;
createdAt: string;
mfaRequired?: boolean;
}
// SSO connector types
@@ -200,3 +201,18 @@ export interface TenantMetricsEntry {
serverState: string;
metrics: MetricsSummary | null;
}
// MFA types
export interface MfaStatus {
enrolled: boolean;
hasBackupCodes: boolean;
}
export interface MfaSetupResponse {
secret: string;
secretQrCode: string;
}
export interface BackupCodesResponse {
codes: string[];
}