public class GoogleSignInHandler extends SingleProviderSignInHandler<GoogleSignInHandler.Params>
| Modifier and Type | Class and Description |
|---|---|
static class |
GoogleSignInHandler.Params |
| Constructor and Description |
|---|
GoogleSignInHandler(Application application) |
| Modifier and Type | Method and Description |
|---|---|
void |
onActivityResult(int requestCode,
int resultCode,
Intent data) |
protected void |
onCreate() |
void |
startSignIn(com.google.firebase.auth.FirebaseAuth auth,
HelperActivityBase activity,
String providerId)
Start the login process for the IDP using the web based Generic IDP flow if applicable,
e.g.
|
startSignIninitWithgetOperation, setResultgetArguments, init, onCleared, setArgumentspublic GoogleSignInHandler(Application application)
protected void onCreate()
onCreate in class ViewModelBase<GoogleSignInHandler.Params>public void startSignIn(@NonNull
com.google.firebase.auth.FirebaseAuth auth,
@NonNull
HelperActivityBase activity,
@NonNull
String providerId)
ProviderSignInBasestartSignIn in class ProviderSignInBase<GoogleSignInHandler.Params>auth - the Firebase auth instanceactivity - from which to start the login, DO NOT USE OUTSIDE OF THIS METHOD!!!providerId - the provider to sign-in with (e.g. "microsoft.com")public void onActivityResult(int requestCode,
int resultCode,
@Nullable
Intent data)
onActivityResult in class ProviderSignInBase<GoogleSignInHandler.Params>