mirror of
https://github.com/volatiletech/authboss.git
synced 2024-11-24 08:42:17 +02:00
The boss of http auth.
9f4cde2934
- Fix #16 |
||
---|---|---|
auth | ||
confirm | ||
expire | ||
internal | ||
lock | ||
recover | ||
register | ||
remember | ||
validate | ||
.gitignore | ||
authboss_test.go | ||
authboss.go | ||
callbacks_test.go | ||
callbacks.go | ||
client_storer.go | ||
config.go | ||
context_test.go | ||
context.go | ||
LICENSE | ||
mailer_test.go | ||
mailer.go | ||
mocks_test.go | ||
module_test.go | ||
module.go | ||
README.md | ||
router.go | ||
rules_test.go | ||
rules.go | ||
storer_test.go | ||
storer.go | ||
validation_test.go | ||
validation.go | ||
views.go | ||
xsrf.go |
Authboss
Authboss is a modular authentication system for the web. It tries to remove as much boilerplate and "hard things" as possible so that each time you start a new web project in Go, you can plug it in, configure and be off to the races without having to think about the hard questions like how to store Remember Me tokens, or passwords.
Modules
Each module can be turned on simply by importing it and the side-effects take care of the rest. However each module has storage requirements and configuration that's required.
Name | Import Path | Description |
---|---|---|
Core | gopkg.in/authboss.v0 | The necessities for authentication, module system etc. |
Register | gopkg.in/authboss.v0/register | Provides a registration section for users. |
Confirm | gopkg.in/authboss.v0/confirm | Sends an e-mail verification before allowing users to log in. |
Recover | gopkg.in/authboss.v0/recover | Allows for password resets via e-mail. |
Remember | gopkg.in/authboss.v0/remember | Half-authed accounts using a generated token. |
Lock | gopkg.in/authboss.v0/lock | Locks user accounts after N authentication failures in M time. |
Expire | gopkg.in/authboss.v0/expire | Expires user sessions after a certain period of time. |
Validate | gopkg.in/authboss.v0/validate | Username, Email and Password format validations. |