package
0.0.0-20231212065251-038867245068
Repository: https://github.com/mandiant/gocrack.git
Documentation: pkg.go.dev
# Functions
CheckPasswordRequirement ensures the password meets sane requirements of 8+ characters, at least one number, one special character, and both an upper and lowercase letter.
Open creates the authentication plugin.
Register makes a storage backend available to the system.
WrapProvider returns an auth wrapper that is used by services like the API to perform authentication.
# Variables
DefaultTokenExpiry indicates the default duration of a JWT if the TokenExpiry in AuthSettings is nil.
ErrExpired indicates that token is used after expiry time indicated in exp claim.
ErrFailsRequirements indicates the password fails to meet the system requirements.
ErrPasswordEmpty indicates the password is empty.
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
# Interfaces
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
PluginSettings contains settings related to a specific authentication plugin.