1
0
mirror of https://github.com/volatiletech/authboss.git synced 2025-11-23 22:14:49 +02:00
Go to file
Aaron L 06edd2e615 Make OAuth2 implementation less shoddy.
- Add a new storer specifically for OAuth2 to enable clients to choose
  regular database storing OR Oauth2 but not have to have both.
- Stop storing OAuth2 credentials in a combined form inside username.
- Add new events to capture OAuth events just like auth.
- Have pass-through parameters for OAuth init urls, this allows us to
  pass additional behavior options (redirects and remember me) as well
  as other things that should be present on the page that is redirected
  to.
- Context.LoadUser is now OAuth aware.
- Remember's callbacks now include an OAuth check to see if a horribly
  packed state variable contains a flag to say that we want to be
  remembered.
- Change the OAuth2 Callback to use Attributes instead of that custom
  struct to allow people to append whatever attributes they want into
  the user that will be saved.
2015-03-13 16:29:58 -07:00
2015-03-02 22:09:32 -08:00
2015-03-12 19:20:28 -07:00
2015-01-12 21:08:52 -08:00
2015-02-20 05:08:11 -08:00
2015-02-24 14:45:37 -08:00
2015-03-02 22:09:32 -08:00
2015-03-02 22:09:32 -08:00
2015-01-03 08:59:12 -08:00
2015-02-24 14:45:37 -08:00
2015-02-22 22:27:45 -08:00
2015-02-24 14:45:37 -08:00
2015-02-25 23:11:58 -08:00
2015-02-24 11:13:46 -08:00
2015-02-24 11:13:46 -08:00
2015-02-23 02:03:29 -08:00
2015-02-20 05:08:11 -08:00
2015-02-20 05:08:11 -08:00
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 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.
Description
The boss of http auth.
Readme MIT 1.8 MiB
Languages
Go 100%