Password (record)

Represents a password that will not displayed to the UI but can be persisted.

API

Password.java
record Password {
  Password of(String password)
  boolean checkPassword(String password)
  String toString()
}