passwordHasher property
The hashing algorithm that was used to generate the password digest. The algorithms we support at the moment are bcrypt
, bcrypt_sha256_django
, md5
, pbkdf2_sha1
, pbkdf2_sha256
, pbkdf2_sha256_django
, phpass
, scrypt_firebase
, scrypt_werkzeug
, sha256
, and the argon2
variants: argon2i
and argon2id
. Each of the supported hashers expects the incoming digest to be in a particular format. See the Clerk docs for more information.
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
Implementation
String? passwordHasher;