VirtualMFADevice class

Contains information about a virtual MFA device.

Constructors

VirtualMFADevice({required String serialNumber, Uint8List? base32StringSeed, DateTime? enableDate, Uint8List? qRCodePNG, User? user})
VirtualMFADevice.fromXml(XmlElement elem)
factory

Properties

base32StringSeed Uint8List?
The base32 seed defined as specified in RFC3548. The Base32StringSeed is base64-encoded.
final
enableDate DateTime?
The date and time on which the virtual MFA device was enabled.
final
hashCode int
The hash code for this object.
no setterinherited
qRCodePNG Uint8List?
A QR code PNG image that encodes otpauth://totp/$virtualMFADeviceName@$AccountName?secret=$Base32String where $virtualMFADeviceName is one of the create call arguments. AccountName is the user name if set (otherwise, the account ID otherwise), and Base32String is the seed in base32 format. The Base32String value is base64-encoded.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
serialNumber String
The serial number associated with VirtualMFADevice.
final
user User?
The IAM user associated with this virtual MFA device.
final

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