Get Multi-Factor Resolver

Use the getMultiFactorResolver method to obtain a resolver for handling multi-factor authentication (MFA) when a user is required to complete an additional authentication factor.

Method

final multiFactorResolver = await FirebaseApp.firebaseAuth?.getMultiFactorResolver(error);

Parameters

  • error (MultiFactorError): The error object received when MFA is required.

Return

  • MultiFactorResolver: Returns a MultiFactorResolver object to resolve the multi-factor authentication challenge.

This method provides a resolver that handles multi-factor authentication when an additional factor is required during the sign-in process.

Last updated