FirebaseAuth Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
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.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2023-02-08 UTC.
[null,null,["Last updated 2023-02-08 UTC."],[],[],null,["FIRFederatedAuthProvider \n\n @protocol FIRFederatedAuthProvider \u003cNSObject\u003e\n\nUtility type for constructing federated auth provider credentials.\n- `\n ``\n ``\n `\n\n [-getCredentialWithUIDelegate:completion:](#/c:objc(pl)FIRFederatedAuthProvider(im)getCredentialWithUIDelegate:completion:)`\n ` \n Used to obtain an auth credential via a mobile web flow.\n This method is available on iOS only. \n\n Declaration \n Objective-C \n\n - (void)getCredentialWithUIDelegate:(nullable id\u003c../Protocols/FIRAuthUIDelegate.html\u003e)UIDelegate\n completion:\n (nullable void (^)(../Classes/FIRAuthCredential.html *_Nullable,\n NSError *_Nullable))completion;\n\n Parameters"]]