Aaron
9ff0b65629
Rewrite module loading to be per-instance
2015-03-31 15:08:43 -07:00
Aaron
f12f10fa43
Stop reliance on global scope.
...
- This change was necessary because multi-tenancy sites could not use
authboss properly.
2015-03-31 12:34:03 -07:00
Aaron
bd0d3c5f68
Add a default logger.
...
- Having the default logger set to nil was troublesome because some errors
are hard to detect without a logger. This falls under "sane default"
changes and so should be made.
2015-03-30 09:55:37 -07:00
Aaron L
99d0af8b72
Destroy a list of go lint errors.
2015-03-16 14:42:45 -07:00
Aaron
889dcaa974
Make log output cooler.
2015-02-25 23:11:58 -08:00
Aaron
1075149bb8
Add router tests.
...
- Rename Endpoint to Location in ErrAndRedirect
2015-02-24 14:45:37 -08:00
Kris Runzer
1198466d76
Reworking auth
2015-02-21 11:22:55 -08:00
Aaron
5f96e8dec8
Make an GetErr version of the ClientStorer.
2015-02-20 22:02:55 -08:00
Aaron
585f842a5c
Get authboss tests passing.
2015-02-20 04:03:22 -08:00
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
Kris Runzer
bab1475b72
Change config to be global. Updated most modules and tests.
2015-02-15 20:07:36 -08:00
Kris Runzer
7841223f39
Made config global in authboss
2015-01-16 22:03:40 -08:00
Kris Runzer
716e7dd6ba
Add response writer to client storer
2015-01-15 14:01:01 -08:00
Aaron
0b66578b88
Add full-circle remember me test.
...
- Add more helpers to context.
2015-01-15 02:56:13 -08:00
Aaron
a2ffe4f7c4
Add many new files and types.
...
- Add context.
- Add handler type.
- Add new storers for client storage and sessions.
- Add start of remember module.
2015-01-10 22:54:31 -08:00