TotpSetupDetails class

The TOTP secret code and QR code, used to set up an authenticator for TOTP MFA.

Mixed in types

Constructors

TotpSetupDetails({required String sharedSecret, required String username})
The TOTP secret code and QR code, used to set up an authenticator for TOTP MFA.
const
TotpSetupDetails.fromJson(Map<String, Object?> json)
The TOTP secret code and QR code, used to set up an authenticator for TOTP MFA.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
props List<Object?>
The type's equatable properties.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
runtimeTypeName String
The string value of runtimeType, saving a runtime lookup and preventing obfuscation during web compilation.
no setteroverride
sharedSecret String
The secret code.
final

Methods

getSetupUri({required String appName, String? accountName}) Uri
Gets the URI for setting up an authenticator app which can be used to render a QR code or create a button which opens the user's authenticator app.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, Object?>
Serializes this as a JSON object.
override
toString() String
A string representation of this object.
inherited

Operators

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