PasswordConfig

data class PasswordConfig(val prompt: String, val confirmPrompt: String, val requireConfirmation: Boolean, val mismatchPrompt: String, val maxRetries: Int)(source)

Configuration for password options.

Constructors

Link copied to clipboard
constructor(prompt: String, confirmPrompt: String, requireConfirmation: Boolean, mismatchPrompt: String, maxRetries: Int)

Properties

Link copied to clipboard

The prompt text displayed when asking for password confirmation.

Link copied to clipboard

Maximum number of retry attempts allowed for password confirmation.

Link copied to clipboard

The message displayed when the password and confirmation don't match.

Link copied to clipboard

The prompt text displayed when asking for the password.

Link copied to clipboard

Whether to require password confirmation by asking for the password twice.