FIRFederatedAuthProvider

@protocol FIRFederatedAuthProvider <NSObject>

Utility type for constructing federated auth provider credentials.

  • Used to obtain an auth credential via a mobile web flow.

    Declaration

    Objective-C

    - (void)getCredentialWithUIDelegate:(nullable id<FIRAuthUIDelegate>)UIDelegate
                             completion:
                                 (nullable FIRAuthCredentialCallback)completion;

    Parameters

    UIDelegate

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

    completion

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