Password#

Password holds a password in a string column, password in the descriptor.

Password::make('passwordHash', 'New password')->hashed()->min(8),
A Password field on a user's form: an empty New password input, with the hint Leave empty to keep the current password
A Password field on a user's form: an empty New password input, with the hint Leave empty to keep the current password

A Password field stores what is written, so the resource’s create() or apply() hashes it, or the field is hashed(): the value is then hashed through the application’s Kinetis\Vector\Auth\PasswordHasherInterface, bound on AppScope in bootstrap.php, or through the implementation hashed(OtherHasher::class) names, for a table hashed differently. When a field hashes through the interface and nothing binds it, the first request refuses with the reason rather than storing plain text. An empty value on a form keeps the stored hash.

It takes the common modifiers too.