CredentialsOptions.Builder

public static final class CredentialsOptions.Builder extends Auth.AuthCredentialsOptions.Builder

Builder for CredentialsOptions.

Public Constructor Summary

Public Method Summary

CredentialsOptions
build()
Returns a new CredentialsOptions.
CredentialsOptions.Builder
forceEnableSaveDialog()
Specifies that the save confirmation dialog should always be shown when required.

Inherited Method Summary

Public Constructors

public CredentialsOptions.Builder ()

Public Methods

public CredentialsOptions build ()

Returns a new CredentialsOptions.

public CredentialsOptions.Builder forceEnableSaveDialog ()

Specifies that the save confirmation dialog should always be shown when required.

On Android O and above devices the save confirmation dialog may not be shown in favour of the active Autofill service's save dialog. Setting this option overrides this choice and will show the Auth.Api.Credentials save confirmation regardless of the Android Autofill service.