# Functions
No description provided by the author
No description provided by the author
create a new user in a database.
Check if two passwords match using Bcrypt's CompareHashAndPassword which return nil on success and an error on failure.
Generate access and refresh JWT tokens.
generate a pseudo-random token.
getDb returns the database object.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Hash password.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
check if email is valid.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Type aliases
No description provided by the author