✨ types(auth): Admin-Übersicht und Nutzer-MFA-Status
`AdminMfaOverview` (Quote: Nutzer, mit/ohne Faktor, erzwungen, Policy) und `AdminUserMfaStatus` (Faktorstatus eines Kontos für die Admin-Sicht).
This commit is contained in:
1 parent
5bf93ef035
commit
2187ef3d1c
1 file changed
+18
Vendored
+18
@@ -2596,6 +2596,24 @@ declare global {
|
||||
}
|
||||
}
|
||||
|
||||
/** Admin dashboard: how many accounts have a factor. */
|
||||
export interface AdminMfaOverview {
|
||||
users: number
|
||||
withFactor: number
|
||||
withoutFactor: number
|
||||
enforced: number
|
||||
policy: "off" | "optional" | "required"
|
||||
}
|
||||
|
||||
/** Admin view of one account's factor state. */
|
||||
export interface AdminUserMfaStatus {
|
||||
userId: string
|
||||
username: string
|
||||
mfaEnabled: boolean
|
||||
mfaEnforced: boolean
|
||||
status: AdminMfaStatus
|
||||
}
|
||||
|
||||
/** Options for the passwordless (first-factor) passkey login. */
|
||||
export interface AdminPasskeyOptions {
|
||||
publicKey: AdminWebAuthnRequestOptions
|
||||
|
||||
Reference in new issue
Block a user