Class AuthUI.IdpConfig.GoogleBuilder

    • Constructor Detail

      • GoogleBuilder

        public GoogleBuilder()
    • Method Detail

      • setScopes

        @NonNull
        public AuthUI.IdpConfig.GoogleBuilder setScopes​(@NonNull
                                                        java.util.List<java.lang.String> scopes)
        Set the scopes that your app will request when using Google sign-in. See all available scopes.
        Parameters:
        scopes - additional scopes to be requested
      • setSignInOptions

        @NonNull
        public AuthUI.IdpConfig.GoogleBuilder setSignInOptions​(@NonNull
                                                               com.google.android.gms.auth.api.signin.GoogleSignInOptions options)
        Set the GoogleSignInOptions to be used for Google sign-in. Standard options like requesting the user's email will automatically be added.
        Parameters:
        options - sign-in options