Class AuthUI.SignInIntentBuilder

  • Enclosing class:
    AuthUI

    public final class AuthUI.SignInIntentBuilder
    extends java.lang.Object
    Builder for the intent to start the user authentication flow.
    • Method Detail

      • setEmailLink

        @NonNull
        public AuthUI.SignInIntentBuilder setEmailLink​(@NonNull
                                                       java.lang.String emailLink)
        Specifies the email link to be used for sign in. When set, a sign in attempt will be made immediately.
      • enableAnonymousUsersAutoUpgrade

        @NonNull
        public AuthUI.SignInIntentBuilder enableAnonymousUsersAutoUpgrade()
        Enables upgrading anonymous accounts to full accounts during the sign-in flow. This is disabled by default.
        Throws:
        java.lang.IllegalStateException - when you attempt to enable anonymous user upgrade without forcing the same device flow for email link sign in.