FirebaseAuth Framework Reference

FIRFederatedAuthProvider

@protocol FIRFederatedAuthProvider <NSObject>

Utility type for constructing federated auth provider credentials.

  • Used to obtain an auth credential via a mobile web flow. This method is available on iOS only.

    Declaration

    Objective-C

    - (void)getCredentialWithUIDelegate:(nullable id<FIRAuthUIDelegate>)UIDelegate
                             completion:
                                 (nullable void (^)(FIRAuthCredential *_Nullable,
                                                    NSError *_Nullable))completion;

    Parameters

    UIDelegate

    An optional UI delegate used to present the mobile web flow.

    completion

    Optionally; a block which is invoked asynchronously on the main thread when the mobile web flow is completed.