FIRMultiFactorResolver
@interface FIRMultiFactorResolver : NSObject
The data structure used to help developers resolve 2nd factor requirements on users that have opted in to 2 factor authentication. This class is available on iOS only.
-
The opaque session identifier for the current sign-in flow.
Declaration
Objective-C
@property (nonatomic, readonly) FIRMultiFactorSession *_Nonnull session;
-
The list of hints for the second factors needed to complete the sign-in for the current session.
Declaration
Objective-C
@property (nonatomic, readonly) NS_SWIFT_NAME(hints) NSArray<FIRMultiFactorInfo *> *hints;
-
The Auth reference for the current FIRMultiResolver.
Declaration
Objective-C
@property (nonatomic, readonly) FIRAuth *_Nonnull auth;
-
A helper function to help users complete sign in with a second factor using an FIRMultiFactorAssertion confirming the user successfully completed the second factor challenge.
Declaration
Objective-C
- (void)resolveSignInWithAssertion:(nonnull FIRMultiFactorAssertion *)assertion completion: (nullable FIRAuthDataResultCallback)completion;
Parameters
completion
The block invoked when the request is complete, or fails.