CredentialAuthPrompt.Builder

public final class CredentialAuthPrompt.Builder


Builder for a CredentialAuthPrompt with configurable options.

Summary

Public constructors

Constructs a prompt builder with the given required options.

Public methods

@NonNull CredentialAuthPrompt

Creates a new prompt with the specified options.

@NonNull CredentialAuthPrompt.Builder

Sets a description that should be displayed on the prompt.

Public constructors

Builder

Added in 1.2.0-alpha06
public Builder(@NonNull CharSequence title)

Constructs a prompt builder with the given required options.

Parameters
@NonNull CharSequence title

The title to be displayed on the prompt.

Public methods

build

Added in 1.2.0-alpha06
public @NonNull CredentialAuthPrompt build()

Creates a new prompt with the specified options.

setDescription

Added in 1.2.0-alpha06
public @NonNull CredentialAuthPrompt.Builder setDescription(@NonNull CharSequence description)

Sets a description that should be displayed on the prompt. Defaults to null.

Parameters
@NonNull CharSequence description

A description for the prompt.

Returns
@NonNull CredentialAuthPrompt.Builder

This builder.