# Functions
AuthenticateAdmin authenticates the given password against the temporary admin account, if any.
FromContext returns the authenticated User in the given Context, if it is set.
InitCommonPasswords reads in the configured list of common passwords.
No description provided by the author
NewContext returns a new Context includign the given User.
NewOwnerContext returns a new Context includign the given User.
NewPassword creates a new salt and hash for the given password, using the current latest password version.
OwnerFromContext returns the owning User in the given Context, if it is set.
No description provided by the author
RandomPassword generates a random password of the given length using a CPRNG.
RecoveryMode initializes recovery mode, creating a temporary admin account, and returning the password to the account.
ValidatePassword against the password rules.
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
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
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
# Type aliases
No description provided by the author