mirror of
https://github.com/volatiletech/authboss.git
synced 2024-11-24 08:42:17 +02:00
The boss of http auth.
auth | ||
confirm | ||
internal | ||
lock | ||
oauth2 | ||
recover | ||
register | ||
remember | ||
.gitignore | ||
authboss_test.go | ||
authboss.go | ||
callbacks_test.go | ||
callbacks.go | ||
client_storer_test.go | ||
client_storer.go | ||
config.go | ||
context_test.go | ||
context.go | ||
errors_test.go | ||
errors.go | ||
expire_test.go | ||
expire.go | ||
LICENSE | ||
mailer_test.go | ||
mailer.go | ||
mocks_test.go | ||
module_test.go | ||
module.go | ||
oauth2.go | ||
README.md | ||
router_test.go | ||
router.go | ||
rules_test.go | ||
rules.go | ||
storer_test.go | ||
storer.go | ||
validation_test.go | ||
validation.go | ||
views_test.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 | Support for the modular system, constants, helpers. |
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 | Persisting login sessions past session expiry. |
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 inactivity. |