package
Version:
v2.0.3
Opens a new window with list of versions in this module.
Published: Nov 4, 2024
License: MIT
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
DeleteUser deletes the given user from the db
DisableUser disables the given user
EnableUser enables the given user
IsUserEnabled returns whether the given user is enabled
Setup sets up the connection to the local sqlite db. Creates the user table if it not exists
User is the model mapping to the table in the db
ListUsers lists all users in the db
UserData represents the data generated on login
LoginUser logs the user in using the local db
RegisterUser creates a new user and saves the user to db. The password is hashed using sha256
Source Files
¶
Click to show internal directories.
Click to hide internal directories.