verifyTotpSetup method

Future<void> verifyTotpSetup(
  1. String totpCode, {
  2. VerifyTotpSetupOptions? options,
})

Completes setup of a TOTP MFA application.

Call this method with the one-time code generated by the user's authenticator app with the URI given by setUpTotp.

Implementation

Future<void> verifyTotpSetup(
  String totpCode, {
  VerifyTotpSetupOptions? options,
}) =>
    defaultPlugin.verifyTotpSetup(
      totpCode,
      options: options,
    );