[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-27 UTC."],[],[],null,["# FirebaseAuth Framework Reference\n\nPhoneMultiFactorGenerator\n=========================\n\n @available(iOS 13, tvOS 13, macOS 10.15, watchOS 7, *)\n @objc(FIRPhoneMultiFactorGenerator)\n open class PhoneMultiFactorGenerator : NSObject\n\nThe data structure used to help initialize an assertion for a second factor entity to the\nFirebase Auth/CICP server.\n\nDepending on the type of second factor, this will help generate the assertion.\n\nThis class is available on iOS only.\n- `\n ``\n ``\n `\n\n ### [assertion(with:)](#/c:@M@FirebaseAuth@objc(cs)FIRPhoneMultiFactorGenerator(cm)assertionWithCredential:)\n\n `\n ` \n Initializes the MFA assertion to confirm ownership of the phone second factor.\n\n Note that this API is used for both enrolling and signing in with a phone second factor. \n\n #### Declaration\n\n Swift \n\n @objc(assertionWithCredential:)\n open class func assertion(with phoneAuthCredential: ../Classes/PhoneAuthCredential.html)\n -\u003e ../Classes.html#/c:@M@FirebaseAuth@objc(cs)FIRPhoneMultiFactorAssertion\n\n #### Parameters\n\n |-----------------------------|--------------------------------------------------------|\n | ` `*phoneAuthCredential*` ` | The phone auth credential used for multi factor flows. |"]]