Class ProviderSignInBase<T>

    • Constructor Detail

      • ProviderSignInBase

        protected ProviderSignInBase​(android.app.Application application)
    • Method Detail

      • startSignIn

        public abstract void startSignIn​(@NonNull
                                         HelperActivityBase activity)
        Start the login process for the IDP, e.g. show the Google sign-in activity.
        Parameters:
        activity - from which to start the login, DO NOT USE OUTSIDE OF THIS METHOD!!!
      • startSignIn

        public abstract void startSignIn​(@NonNull
                                         com.google.firebase.auth.FirebaseAuth auth,
                                         @NonNull
                                         HelperActivityBase activity,
                                         @NonNull
                                         java.lang.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 instance
        activity - from which to start the login, DO NOT USE OUTSIDE OF THIS METHOD!!!
        providerId - the provider to sign-in with (e.g. "microsoft.com")
      • onActivityResult

        public abstract void onActivityResult​(int requestCode,
                                              int resultCode,
                                              @Nullable
                                              android.content.Intent data)