getAssertionForSignIn static method
Get a MultiFactorAssertion which can be used to confirm ownership of a TOTP second factor.
Implementation
static Future<MultiFactorAssertion> getAssertionForSignIn(
String enrollmentId,
String oneTimePassword,
) async {
final assertion =
await TotpMultiFactorGeneratorPlatform.instance.getAssertionForSignIn(
enrollmentId,
oneTimePassword,
);
return MultiFactorAssertion._(assertion);
}