TotpMultiFactorGenerator class
Provider for generating a PhoneMultiFactorAssertion.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
generateSecret(
MultiFactorSession session) → Future< TotpSecret> - Transforms a PhoneAuthCredential into a MultiFactorAssertion which can be used to confirm ownership of a phone second factor.
-
getAssertionForEnrollment(
TotpSecret secret, String oneTimePassword) → Future< MultiFactorAssertion> - Get a MultiFactorAssertion which can be used to confirm ownership of a TOTP second factor.
-
getAssertionForSignIn(
String enrollmentId, String oneTimePassword) → Future< MultiFactorAssertion> - Get a MultiFactorAssertion which can be used to confirm ownership of a TOTP second factor.