com.mohiva.play.silhouette.impl.providers
The auth info repository.
The default password hasher used by the application.
List of password hasher supported by the application.
The execution context to handle the asynchronous operations.
Authenticates a user with its credentials.
Authenticates a user with its credentials.
The credentials to authenticate with.
The login info if the authentication was successful, otherwise a failure.
The execution context to handle the asynchronous operations.
The execution context to handle the asynchronous operations.
Gets the provider ID.
Gets the login info for the given credentials.
Gets the login info for the given credentials.
Override this method to manipulate the creation of the login info from the credentials.
By default the credentials provider creates the login info with the identifier entered in the form. For some cases this may not be enough. It could also be possible that a login form allows a user to log in with either a username or an email address. In this case this method should be overridden to provide a unique binding, like the user ID, for the entered form values.
The credentials to authenticate with.
The login info created from the credentials.
A provider for authenticating with credentials.
The provider supports the change of password hashing algorithms on the fly. Sometimes it may be possible to change the hashing algorithm used by the application. But the hashes stored in the backing store can't be converted back into plain text passwords, to hash them again with the new algorithm. So if a user successfully authenticates after the application has changed the hashing algorithm, the provider hashes the entered password again with the new algorithm and stores the auth info in the backing store.