PasswordRule

class PasswordRule(val description: String, val predicate: (password: String) -> Boolean)(source)

Represents a rule that can be applied to a password.

Parameters

description

The description of the rule.

predicate

The predicate that determines whether the rule is fulfilled.

Constructors

Link copied to clipboard
constructor(description: String, predicate: (password: String) -> Boolean)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
val predicate: (password: String) -> Boolean