FederatedAuthProvider
protocol FederatedAuthProvider : NSObjectProtocol
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
Swift
func credential(with UIDelegate: AuthUIDelegate?) async throws -> FIRAuthCredential
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.