MfaApi
Properties
The current MFA status of the user as a flow. This flow will emit a new status any time Auth.sessionStatus changes.
Returns all verified factors from the current user session. If the user has no verified factors or there is no session, an empty list is returned. To fetch up-to-date factors, use retrieveFactorsForCurrentUser.
Functions
Creates a new MFA challenge, which can be used to verify the user's code using verifyChallenge
Creates a new MFA challenge and immediately verifies it
Parses the current JWT and returns the AuthenticatorAssuranceLevel for the current session and the next session
Retrieves all factors for the current user. This will make a network request to fetch the factors. Use verifiedFactors to get the factors from the current session.
Verifies a MFA challenge