connection: SQL connection string for a sqlite, postgresql, or mysql/mariadb database. Support for other engines is not planned
hash_algorithm: Hash algorithm for hashing passwords.
register_query: SQL query for registering a user. Parameters are the username and the hashed password.
login_query: SQL query for logging in a user. Parameters are the username and the hashed password.
unregister_query: SQL query for unregistering a user. Parameter is the username.
User store that queries a SQL database directly.
The parameters are the following:
* `connection`: SQL connection string for a sqlite, postgresql, or mysql/mariadb database. Support for other engines is not planned
* `hash_algorithm`: Hash algorithm for hashing passwords.
* `register_query`: SQL query for registering a user. Parameters are the username and the hashed password.
* `login_query`: SQL query for logging in a user. Parameters are the username and the hashed password.
* `unregister_query`: SQL query for unregistering a user. Parameter is the username.
malacoda
added this to the Phase I milestone 2 years ago
User store that queries a SQL database directly.
The parameters are the following:
connection
: SQL connection string for a sqlite, postgresql, or mysql/mariadb database. Support for other engines is not plannedhash_algorithm
: Hash algorithm for hashing passwords.register_query
: SQL query for registering a user. Parameters are the username and the hashed password.login_query
: SQL query for logging in a user. Parameters are the username and the hashed password.unregister_query
: SQL query for unregistering a user. Parameter is the username.