PhoneMultiFactorGenerator
@available(iOS 13, tvOS 13, macOS 10.15, watchOS 7, *)
@objc(FIRPhoneMultiFactorGenerator)
open class PhoneMultiFactorGenerator : NSObjectThe data structure used to help initialize an assertion for a second factor entity to the Firebase Auth/CICP server.
Depending on the type of second factor, this will help generate the assertion.
This class is available on iOS and macOS.
-
Initializes the MFA assertion to confirm ownership of the phone second factor.
Note that this API is used for both enrolling and signing in with a phone second factor.
Declaration
Swift
@objc(assertionWithCredential:) open class func assertion(with phoneAuthCredential: PhoneAuthCredential) -> PhoneMultiFactorAssertionParameters
phoneAuthCredentialThe phone auth credential used for multi factor flows.