CredentialAuthPrompt.Builder

class CredentialAuthPrompt.Builder


Builder for a CredentialAuthPrompt with configurable options.

Summary

Public constructors

Constructs a prompt builder with the given required options.

Public functions

CredentialAuthPrompt

Creates a new prompt with the specified options.

CredentialAuthPrompt.Builder

Sets a description that should be displayed on the prompt.

Public constructors

Builder

Added in 1.2.0-alpha06
Builder(title: CharSequence)

Constructs a prompt builder with the given required options.

Parameters
title: CharSequence

The title to be displayed on the prompt.

Public functions

build

Added in 1.2.0-alpha06
fun build(): CredentialAuthPrompt

Creates a new prompt with the specified options.

Returns
CredentialAuthPrompt

An instance of CredentialAuthPrompt.

setDescription

Added in 1.2.0-alpha06
fun setDescription(description: CharSequence): CredentialAuthPrompt.Builder

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

Parameters
description: CharSequence

A description for the prompt.

Returns
CredentialAuthPrompt.Builder

This builder.