Setu-TS
    Preparing search index...

    Type Alias TotpProofResult

    TotpProofResult: "proof-required" | "invalid" | "locked" | "not-enrolled"

    The result of a factor-changing call that needs proof of the CURRENT factor: confirming a re-enrolment, regenerating recovery codes, or disabling.

    • 'proof-required' — a confirmed factor exists and no proof was supplied.
    • 'invalid' / 'locked' — the proof (or, for a confirmation, the new code) failed, or the account is locked out.
    • 'not-enrolled' — there is no factor to act on.