TotpSecretPlatform class

Helper class used to generate TotpMultiFactorAssertions.

Inheritance
  • Object
  • PlatformInterface
  • TotpSecretPlatform

Constructors

TotpSecretPlatform(int? codeIntervalSeconds, int? codeLength, DateTime? enrollmentCompletionDeadline, String? hashingAlgorithm, String secretKey)

Properties

codeIntervalSeconds int?
final
codeLength int?
final
enrollmentCompletionDeadline DateTime?
final
hashCode int
The hash code for this object.
no setterinherited
hashingAlgorithm String?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
secretKey String
final

Methods

generateQrCodeUrl({String? accountName, String? issuer}) Future<String>
Generate a TOTP secret for the authenticated user.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
openInOtpApp(String qrCodeUrl) Future<void>
Opens the specified QR Code URL in a password manager like iCloud Keychain.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited