SDK reference / Models

Models.SecondFactor namespace

Types

TypeKindDescription
AdoptionMemberclassOne member in the adoption list. Names appear to the organisation's owners only.
CodeRequestclassA code from the app.
CurrentFactorRequestclassTurning the authenticator app off, or issuing new recovery codes, needs a current factor.
EnrolledSessionclassThe session, with the first recovery codes of the new enrolment (shown once).
EnrolmentChallengeRequestclassStarts or finishes the enrolment that an organisation's policy asks for before a session opens.
FinishEnrolmentRequestclass
NewRecoveryCodesclassTen new recovery codes; the old set no longer works.
OrganizationRequirementclassWhat the caller's organisation asks of the caller.
SecondFactorAdoptionclass
SecondFactorPolicyclassAn organisation's second-factor policy.
SecondFactorPolicyMergePatchUpdateclassAn organisation's second-factor policy.
SecondFactorPolicyMergePatchUpdate_graceDaysMember1class
SecondFactorStatusclassThe caller's second factors.
TotpConfirmedclassThe first set of recovery codes and the confirmed state, answered when an enrolment is confirmed.
TotpEnrolmentclassA new authenticator-app secret. It is shown once.
TotpEnrolment_algorithmenum
TotpStateenumThe state of the caller's authenticator app.
VerifySecondFactorRequestclassFinishes a sign-in that a second factor interrupted.