MultiFactorPlatform class abstract
The platform defining the interface of multi-factor related
properties and operations pertaining to a User
.
- Inheritance
-
- Object
- PlatformInterface
- MultiFactorPlatform
Constructors
- MultiFactorPlatform(FirebaseAuthPlatform auth)
-
The platform defining the interface of multi-factor related
properties and operations pertaining to a
User
.
Properties
- auth → FirebaseAuthPlatform
-
The FirebaseAuthPlatform instance.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
enroll(
MultiFactorAssertionPlatform assertion, {String? displayName}) → Future< void> -
Enrolls a second factor as identified by the
MultiFactorAssertion
parameter for the current user. -
getEnrolledFactors(
) → Future< List< MultiFactorInfo> > - Returns a list of the MultiFactorInfo already associated with this user.
-
getSession(
) → Future< MultiFactorSession> - Returns a session identifier for a second factor enrollment operation.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
unenroll(
{String? factorUid, MultiFactorInfo? multiFactorInfo}) → Future< void> - Unenrolls a second factor from this user.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited