The current password hasher used by the application.
The deprecated list of password hashers.
Returns the complete list of supported password hashers.
Returns the complete list of supported password hashers.
The complete list of supported password hashers.
The current password hasher used by the application.
The deprecated list of password hashers.
Finds the password hasher suitable for the given password info.
Finds the password hasher suitable for the given password info.
First it checks if the current hasher is suitable for the given password hasher. As next it checks
if a deprecated password hasher is suitable for the given password info. If non of the registered
password hasher is suitable for the given password info, this method returns None
.
The password info to return a suitable password hasher for.
Maybe a suitable password hasher, otherwise None.
Indicates if a hasher is in the list of deprecated hashers.
Indicates if a hasher is in the list of deprecated hashers.
The hasher to check the deprecation status for.
True if the given hasher is deprecated, false otherwise.
Defines the password hashers used by the application.
Sometimes it's needed to change the password hashing algorithm, because of a better algorithm or some similar case. But the passwords stored in the backing store cannot easily be converted with another algorithm because they're hashed and cannot be decrypted back to plain text. For such case Silhouette supports the change of hashing algorithms on the fly. So if a user successfully authenticates after the application has changed the hashing algorithm, the provider hashes the entered plain-text password again with the new algorithm and overrides the auth info in the backing store with the new hash.
The password hasher registry defines the current password hasher which is able to hash all new passwords and also match the passwords stored in the backing store for this algorithm. And also a list of deprecated hashers, which should match passwords that are stored in the baking store but which are different to the current hasher.
The current password hasher used by the application.
The deprecated list of password hashers.