MultiFactorInfo class abstract
Interface representing the common properties of a user-enrolled second factor.
- Implementers
Constructors
- MultiFactorInfo({required String uid, required String? displayName, required DateTime? enrollmentTime})
- MultiFactorInfo.fromResponse(GoogleCloudIdentitytoolkitV1MfaEnrollment response)
Properties
- displayName → String?
-
The optional display name of the enrolled second factor.
final
- enrollmentTime → DateTime?
-
The optional date the second factor was enrolled, formatted as a UTC string.
final
- factorId → MultiFactorId
-
The type identifier of the second factor.
For SMS second factors, this is
phone
. For TOTP second factors, this istotp
.no setter - hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- uid → String
-
The ID of the enrolled second factor. This ID is unique to the user.
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
Static Methods
-
initMultiFactorInfo(
GoogleCloudIdentitytoolkitV1MfaEnrollment response) → MultiFactorInfo? - Initializes the MultiFactorInfo associated subclass using the server side. If no MultiFactorInfo is associated with the response, null is returned.