Module jwks_server::auth
source · Structs
- Represents credentials with a username and password.
- Represents a user with a unique identifier, username, and password hash.
Functions
- Creates a new user in the database with the provided username and password hash.
- Finds a user by username in the database.
- Hashes a password using bcrypt.