-
public final class AuthUI.IdpConfig.GoogleBuilder extends AuthUI.IdpConfig.Builder
IdpConfig builder for the Google provider.
-
-
Constructor Summary
Constructors Constructor Description AuthUI.IdpConfig.GoogleBuilder()
-
Method Summary
Modifier and Type Method Description AuthUI.IdpConfig.GoogleBuildersetScopes(@NonNull() List<String> scopes)Set the scopes that your app will request when using Google sign-in. AuthUI.IdpConfig.GoogleBuildersetSignInOptions(@NonNull() GoogleSignInOptions options)Set the GoogleSignInOptions to be used for Google sign-in. AuthUI.IdpConfigbuild()-
-
Method Detail
-
setScopes
@NonNull() AuthUI.IdpConfig.GoogleBuilder setScopes(@NonNull() List<String> scopes)
Set the scopes that your app will request when using Google sign-in. See all availablescopes.
- Parameters:
scopes- additional scopes to be requested
-
setSignInOptions
@NonNull() AuthUI.IdpConfig.GoogleBuilder setSignInOptions(@NonNull() GoogleSignInOptions options)
Set the GoogleSignInOptions to be used for Google sign-in. Standardoptions like requesting the user's email will automatically be added.
- Parameters:
options- sign-in options
-
build
@NonNull() AuthUI.IdpConfig build()
-
-
-
-