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