MultiFactorResolverPlatform class

Utility class that contains methods to resolve second factor requirements on users that have opted into two-factor authentication.

Inheritance
  • Object
  • PlatformInterface
  • MultiFactorResolverPlatform

Constructors

MultiFactorResolverPlatform(List<MultiFactorInfo> hints, MultiFactorSession session)
Utility class that contains methods to resolve second factor requirements on users that have opted into two-factor authentication.

Properties

hashCode int
The hash code for this object.
no setterinherited
hints List<MultiFactorInfo>
List of MultiFactorInfo which represents the available second factors that can be used to complete the sign-in for the current session.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
session MultiFactorSession
A MultiFactorSession, an opaque session identifier for the current sign-in flow.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
resolveSignIn(MultiFactorAssertionPlatform assertion) Future<UserCredentialPlatform>
Completes sign in with a second factor using an MultiFactorAssertion which confirms that the user has successfully completed the second factor challenge.
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

verify(MultiFactorResolverPlatform instance) → void
Ensures that any delegate class has extended a MultiFactorResolverPlatform.
override