iya-sts
    Preparing search index...
    mfaRosterJson: (
        req: any,
    ) => {
        capped: boolean;
        counts: { people: number } & {
            noCredential: number;
            passwordOnly: number;
            primaryKeys: number;
            unreadable: number;
            withKeys: number;
            withSecond: number;
            withTotp: number;
        };
        filter: { factor: string; protocol: string; q: string };
        firstRow: number;
        lastRow: number;
        matched: number;
        offered: boolean;
        page: number;
        pages: number;
        people: any;
        perPage: number;
        scanLimit: number;
        scanned: number;
        shown: any;
        store: boolean;
        totp: {
            algorithms: { id: string; inUse: boolean; name: string; note: string }[];
            digits: number;
            encoding: string;
            offered: boolean;
            period: number;
            secretBits: number;
            truncation: string;
            window: number;
        };
        webauthn: {
            algorithms: {
                coseAlg: number;
                insecure: boolean;
                name: any;
                offered: boolean;
                postQuantum: boolean;
            }[];
            attestation: any;
            attestationAllowedAaguids: string[];
            attestationAllowSafetynet: boolean;
            attestationAndroidSoftwareKeys: boolean;
            attestationDemandsTrust: boolean;
            attestationFormats: string[];
            attestationMinCertificationLevel: any;
            attestationPolicy: any;
            attestationPolicyConfigured: any;
            attestationRequireFips: boolean;
            attestationTrustAnchors: number;
            attestationVerified: boolean;
            authenticatorAttachment: any;
            clientDataHash: string;
            credProps: boolean;
            curves: { coseCurve: number; name: any }[];
            insecureAlgorithms: boolean;
            maxKeysPerPerson: any;
            mfaAllowed: boolean;
            offered: boolean;
            pqcOnly: boolean;
            primaryAllowed: boolean;
            residentKey: any;
            rpId: string;
            rpIdSource: string;
            rpName: string;
            signatureCounter: string;
            timeoutMs: any;
            userVerification: any;
            userVerificationEnforced: boolean;
        };
    } = ...

    Type Declaration

      • (
            req: any,
        ): {
            capped: boolean;
            counts: { people: number } & {
                noCredential: number;
                passwordOnly: number;
                primaryKeys: number;
                unreadable: number;
                withKeys: number;
                withSecond: number;
                withTotp: number;
            };
            filter: { factor: string; protocol: string; q: string };
            firstRow: number;
            lastRow: number;
            matched: number;
            offered: boolean;
            page: number;
            pages: number;
            people: any;
            perPage: number;
            scanLimit: number;
            scanned: number;
            shown: any;
            store: boolean;
            totp: {
                algorithms: { id: string; inUse: boolean; name: string; note: string }[];
                digits: number;
                encoding: string;
                offered: boolean;
                period: number;
                secretBits: number;
                truncation: string;
                window: number;
            };
            webauthn: {
                algorithms: {
                    coseAlg: number;
                    insecure: boolean;
                    name: any;
                    offered: boolean;
                    postQuantum: boolean;
                }[];
                attestation: any;
                attestationAllowedAaguids: string[];
                attestationAllowSafetynet: boolean;
                attestationAndroidSoftwareKeys: boolean;
                attestationDemandsTrust: boolean;
                attestationFormats: string[];
                attestationMinCertificationLevel: any;
                attestationPolicy: any;
                attestationPolicyConfigured: any;
                attestationRequireFips: boolean;
                attestationTrustAnchors: number;
                attestationVerified: boolean;
                authenticatorAttachment: any;
                clientDataHash: string;
                credProps: boolean;
                curves: { coseCurve: number; name: any }[];
                insecureAlgorithms: boolean;
                maxKeysPerPerson: any;
                mfaAllowed: boolean;
                offered: boolean;
                pqcOnly: boolean;
                primaryAllowed: boolean;
                residentKey: any;
                rpId: string;
                rpIdSource: string;
                rpName: string;
                signatureCounter: string;
                timeoutMs: any;
                userVerification: any;
                userVerificationEnforced: boolean;
            };
        }
      • Builds the second-factor roster, in the shape /admin/mfa always had.

        Parameters

        • req: any

          the request

        Returns {
            capped: boolean;
            counts: { people: number } & {
                noCredential: number;
                passwordOnly: number;
                primaryKeys: number;
                unreadable: number;
                withKeys: number;
                withSecond: number;
                withTotp: number;
            };
            filter: { factor: string; protocol: string; q: string };
            firstRow: number;
            lastRow: number;
            matched: number;
            offered: boolean;
            page: number;
            pages: number;
            people: any;
            perPage: number;
            scanLimit: number;
            scanned: number;
            shown: any;
            store: boolean;
            totp: {
                algorithms: { id: string; inUse: boolean; name: string; note: string }[];
                digits: number;
                encoding: string;
                offered: boolean;
                period: number;
                secretBits: number;
                truncation: string;
                window: number;
            };
            webauthn: {
                algorithms: {
                    coseAlg: number;
                    insecure: boolean;
                    name: any;
                    offered: boolean;
                    postQuantum: boolean;
                }[];
                attestation: any;
                attestationAllowedAaguids: string[];
                attestationAllowSafetynet: boolean;
                attestationAndroidSoftwareKeys: boolean;
                attestationDemandsTrust: boolean;
                attestationFormats: string[];
                attestationMinCertificationLevel: any;
                attestationPolicy: any;
                attestationPolicyConfigured: any;
                attestationRequireFips: boolean;
                attestationTrustAnchors: number;
                attestationVerified: boolean;
                authenticatorAttachment: any;
                clientDataHash: string;
                credProps: boolean;
                curves: { coseCurve: number; name: any }[];
                insecureAlgorithms: boolean;
                maxKeysPerPerson: any;
                mfaAllowed: boolean;
                offered: boolean;
                pqcOnly: boolean;
                primaryAllowed: boolean;
                residentKey: any;
                rpId: string;
                rpIdSource: string;
                rpName: string;
                signatureCounter: string;
                timeoutMs: any;
                userVerification: any;
                userVerificationEnforced: boolean;
            };
        }

        the JSON