firebase:: auth:: FederatedOAuthProvider
#include <auth.h>
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(const FederatedOAuthProviderData & provider_data)
Constructs a FederatedOAuthProvider preconfigured with provider data.
|
|
~FederatedOAuthProvider()
|
Friend classes |
|
---|---|
::firebase::auth::Auth
|
friend class
|
Public functions |
|
---|---|
SetProviderData(const FederatedOAuthProviderData & provider_data)
|
void
Configures the provider with OAuth provider information.
|
Friend classes
::firebase::auth::Auth
friend class ::firebase::auth::Auth
Public functions
FederatedOAuthProvider
FederatedOAuthProvider()
Constructs an unconfigured provider.
FederatedOAuthProvider
FederatedOAuthProvider( const FederatedOAuthProviderData & provider_data )
Constructs a FederatedOAuthProvider preconfigured with provider data.
Details | |||
---|---|---|---|
Parameters |
|
SetProviderData
void SetProviderData( const FederatedOAuthProviderData & provider_data )
Configures the provider with OAuth provider information.
Details | |||
---|---|---|---|
Parameters |
|
~FederatedOAuthProvider
~FederatedOAuthProvider() override