diff --git a/index.d.ts b/index.d.ts index 0a89028..9843beb 100644 --- a/index.d.ts +++ b/index.d.ts @@ -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