AuthMFAEnrollResponse class

The response of AuthMFAApi.enroll.

Constructors

AuthMFAEnrollResponse({required String id, required FactorType type, TOTPEnrollment? totp, PhoneEnrollment? phone})
const
AuthMFAEnrollResponse.fromJson(Map<String, dynamic> json)
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
id → String
ID of the factor that was just enrolled (in an unverified state).
final
phone → PhoneEnrollment?
Phone enrollment information (only present when type is phone).
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
totp → TOTPEnrollment?
TOTP enrollment information (only present when type is totp).
final
type → FactorType
Type of MFA factor. Supports both [FactorType.totp] and [FactorType.phone].
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