-
@RestrictTo(value = RestrictTo.Scope.LIBRARY_GROUP) public class FacebookSignInHandler extends SingleProviderSignInHandler<AuthUI.IdpConfig>
-
-
Constructor Summary
Constructors Constructor Description FacebookSignInHandler(Application application)
-
Method Summary
Modifier and Type Method Description voidstartSignIn(@NonNull() FirebaseAuth auth, @NonNull() HelperActivityBase activity, @NonNull() String providerId)Start the login process for the IDP using the web based Generic IDP flow if applicable,e.g. voidonActivityResult(int requestCode, int resultCode, @Nullable() Intent data)-
Methods inherited from class com.firebase.ui.auth.data.remote.SingleProviderSignInHandler
startSignIn -
Methods inherited from class com.firebase.ui.auth.viewmodel.ProviderSignInBase
initWith, startSignIn -
Methods inherited from class com.firebase.ui.auth.viewmodel.OperableViewModel
getOperation -
Methods inherited from class com.firebase.ui.auth.viewmodel.ViewModelBase
init -
Methods inherited from class androidx.lifecycle.AndroidViewModel
getApplication -
Methods inherited from class androidx.lifecycle.ViewModel
addCloseable -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
FacebookSignInHandler
FacebookSignInHandler(Application application)
-
-
Method Detail
-
startSignIn
void startSignIn(@NonNull() FirebaseAuth auth, @NonNull() HelperActivityBase activity, @NonNull() String providerId)
Start the login process for the IDP using the web based Generic IDP flow if applicable,e.g. sign-in through a custom-chrome tab, otherwise falls back to the default method.
- Parameters:
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.
-
onActivityResult
void onActivityResult(int requestCode, int resultCode, @Nullable() Intent data)
-
-
-
-