1
0
mirror of https://github.com/volatiletech/authboss.git synced 2024-11-24 08:42:17 +02:00
The boss of http auth.
Go to file
Aaron 6a4feaa2ea Add authboss error types.
- Add error handling at the routing level so that all errors can bubble
  up and be handled and logged there in one place.
- Add Err variants for ClientStorer and Attributes to facilitate
  generating errors for missing type-failing arguments.
- Add better control flow and error handling for callbacks.
2015-02-19 14:46:38 -08:00
auth Add XSRF to all forms. 2015-02-15 21:39:18 -08:00
confirm Fix test breakages from new saving stuff. 2015-02-18 08:57:50 -08:00
expire Change config to be global. Updated most modules and tests. 2015-02-15 20:07:36 -08:00
internal Add authboss error types. 2015-02-19 14:46:38 -08:00
lock Add authboss error types. 2015-02-19 14:46:38 -08:00
recover Fix test breakages from new saving stuff. 2015-02-18 08:57:50 -08:00
register Add module directories and readme. 2015-01-03 08:58:09 -08:00
remember Change config to be global. Updated most modules and tests. 2015-02-15 20:07:36 -08:00
validate Change config to be global. Updated most modules and tests. 2015-02-15 20:07:36 -08:00
.gitignore Cleaned up auth module and tests 2015-01-12 21:08:52 -08:00
authboss_test.go Change config to be global. Updated most modules and tests. 2015-02-15 20:07:36 -08:00
authboss.go Clean up save/load user on context. 2015-02-18 08:45:27 -08:00
callbacks_test.go Add more to context. 2015-01-14 19:18:45 -08:00
callbacks.go Add authboss error types. 2015-02-19 14:46:38 -08:00
client_storer.go Safety commit 2015-01-25 23:02:43 -08:00
config.go Change config to be global. Updated most modules and tests. 2015-02-15 20:07:36 -08:00
context_test.go Clean up save/load user on context. 2015-02-18 08:45:27 -08:00
context.go Add authboss error types. 2015-02-19 14:46:38 -08:00
errors.go Add authboss error types. 2015-02-19 14:46:38 -08:00
LICENSE Updated copyright information. 2015-01-03 08:59:12 -08:00
mailer_test.go Change config to be global. Updated most modules and tests. 2015-02-15 20:07:36 -08:00
mailer.go Change config to be global. Updated most modules and tests. 2015-02-15 20:07:36 -08:00
mocks_test.go Second shot at proper validation. 2015-01-24 16:07:41 -08:00
module_test.go Change config to be global. Updated most modules and tests. 2015-02-15 20:07:36 -08:00
module.go Change config to be global. Updated most modules and tests. 2015-02-15 20:07:36 -08:00
README.md Update README. 2015-01-03 08:54:48 -08:00
router.go Add authboss error types. 2015-02-19 14:46:38 -08:00
rules_test.go Safety commit 2015-01-25 23:02:43 -08:00
rules.go Safety commit 2015-01-25 23:02:43 -08:00
storer_test.go Change config to be global. Updated most modules and tests. 2015-02-15 20:07:36 -08:00
storer.go Add authboss error types. 2015-02-19 14:46:38 -08:00
validation_test.go Safety commit 2015-01-25 23:02:43 -08:00
validation.go Fix validate to work with new policies/rules 2015-02-10 23:30:46 -08:00
views.go Add authboss error types. 2015-02-19 14:46:38 -08:00
xsrf.go Add form value name for xsrf tokens. 2015-01-27 17:34:55 -08:00

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.