MultiFactorResolver
@available(iOS 13, tvOS 13, macOS 10.15, watchOS 7, *)
@objc(FIRMultiFactorResolver)
open class MultiFactorResolver : NSObject
The subclass of base class MultiFactorAssertion
, used to assert ownership of a phone
second factor.
This class is available on iOS only.
-
The opaque session identifier for the current sign-in flow.
Declaration
Swift
@objc public let session: MultiFactorSession
-
The list of hints for the second factors needed to complete the sign-in for the current session.
Declaration
Swift
@objc public let hints: [MultiFactorInfo]
-
The Auth reference for the current
MultiResolver
.Declaration
Swift
@objc public let auth: Auth
-
A helper function to help users complete sign in with a second factor using a
MultiFactorAssertion
confirming the user successfully completed the second factor challenge.Declaration
Swift
@objc(resolveSignInWithAssertion:completion:) open func resolveSignIn(with assertion: MultiFactorAssertion, completion: ((AuthDataResult?, Error?) -> Void)? = nil)
Parameters
completion
The block invoked when the request is complete, or fails.
-
A helper function to help users complete sign in with a second factor using a
MultiFactorAssertion
confirming the user successfully completed the second factor challenge.Declaration
Swift
@available(iOS 13, tvOS 13, macOS 10.15, watchOS 7, *) open func resolveSignIn(with assertion: MultiFactorAssertion) async throws -> AuthDataResult