TwoFactorAuthDto class

Constructors

TwoFactorAuthDto({String? token, required String secret, required String qr})
TwoFactorAuthDto.fromJson(Map<String, dynamic> json, {String what = 'A two factor enrolment response'})
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
qr ↔ String
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
secret ↔ String
getter/setter pair
token ↔ String?
The access token the enrolment request was made with, echoed back. The session is unchanged by enrolling, so there is nothing to store and nothing reads this - hence optional, so an API that stops echoing it back does not break enrolment.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

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