TotpMultiFactorGeneratorPlatform class

Helper class used to generate TotpMultiFactorAssertions.

Inheritance
  • Object
  • PlatformInterface
  • TotpMultiFactorGeneratorPlatform

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

generateSecret(MultiFactorSession session) Future<TotpSecretPlatform>
Generate a TOTP secret for the authenticated user.
getAssertionForEnrollment(TotpSecretPlatform secret, String oneTimePassword) Future<MultiFactorAssertionPlatform>
Get a MultiFactorAssertion which can be used to confirm ownership of a TOTP second factor.
getAssertionForSignIn(String enrollmentId, String oneTimePassword) Future<MultiFactorAssertionPlatform>
Get a MultiFactorAssertion which can be used to confirm ownership of a TOTP second factor.
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 Properties

instance TotpMultiFactorGeneratorPlatform
The current default TotpMultiFactorGeneratorPlatform instance.
getter/setter pair