Record Class IdPassword

java.lang.Object
java.lang.Record
com.io7m.idstore.model.IdPassword
Record Components:
algorithm - The hash algorithm
hash - The hashed password
salt - The salt value
expires - The expiration date, if any
All Implemented Interfaces:
Formattable

public record IdPassword(IdPasswordAlgorithmType algorithm, String hash, String salt, Optional<OffsetDateTime> expires) extends Record implements Formattable
A hashed password for a user.