Module user

Module user 

Source
Expand description

User management: creation, deletion, login, metadata. This tries to lock the user during write operations so it won’t end up in inconsistent states, etc. but that doesn’t currently seem to work reliably.

Modules§

auth
Password hashing, authentication credentials, and user security models.
session
User session and cache management. Manages decrypted database encryption keys (DEKs) and active sessions.

Structs§

NameAndIdLock
User
UserLocalConfig
UserPublicInfo

Functions§

add_non_admin_user
change_user_password
change_user_password_async
create_user_and_session
create_user_and_session_async
get_all_user_ids
get_test_user
invalidate_session
lock_by_id
lock_by_name
login_user
login_user_async
refresh_session
user_exists
validate_session