Firebase.Auth.FederatedOAuthProvider

Authenticates with Federated OAuth Providers via the firebase::auth::Auth and firebase::auth::User classes.

Summary

Once configured with a provider id, and with OAuth scope and OAuth custom parameters via an FedeartedOAuthProviderData structure, an object of this class may be used via Auth::SignInWithProvider to sign-in users, or via User::LinkWithProvider and User::ReauthenticateWithProvider for cross account linking and user reauthentication, respectively.

Inheritance

Inherits from: Firebase.Auth.FederatedAuthProvider

Constructors and Destructors

FederatedOAuthProvider()
Constructs an unconfigured provider.
FederatedOAuthProvider(FederatedOAuthProviderData providerData)
Constructs a FederatedOAuthProvider preconfigured with provider data.

Public functions

Dispose()
virtual override void
SetProviderData(FederatedOAuthProviderData providerData)
void
Configures the provider with OAuth provider information.

Public functions

Dispose

virtual override void Dispose()

FederatedOAuthProvider

 FederatedOAuthProvider()

Constructs an unconfigured provider.

FederatedOAuthProvider

 FederatedOAuthProvider(
  FederatedOAuthProviderData providerData
)

Constructs a FederatedOAuthProvider preconfigured with provider data.

Details
Parameters
providerData
Contains the federated provider id and OAuth scopes and OAuth custom parameters required for user authentication and user linking.

SetProviderData

void SetProviderData(
  FederatedOAuthProviderData providerData
)

Configures the provider with OAuth provider information.

Details
Parameters
providerData
Contains the federated provider id and OAuth scopes and OAuth custom parameters required for user authentication and user linking.