Aaron
538adcf188
Add initial oauth2 support.
...
- Needs more providers and more tests.
2015-03-12 19:20:36 -07:00
Kris Runzer
40154b2749
Update binding/unbinding to support Null* values with SQL drivers
...
- Changed to int64 across the board
2015-03-03 23:18:24 -08:00
Kris Runzer
a7a67981ce
Move create from Storer to RegisterStorer
...
- Fixed the qq tests
- Removed all module singletons
2015-03-01 20:00:19 -08:00
Aaron
b93e0e6eb1
Add callback from confirm to BeforeAuth
...
- Allow missing struct attributes to go unnoticed in Bind()
2015-02-26 12:15:33 -08:00
Aaron
e369d626a8
Increase test coverage in authboss.
2015-02-24 13:03:06 -08:00
Aaron
c723f46a3e
Refactor storers into modules.
2015-02-24 11:04:27 -08:00
Aaron
001810bf7c
Add PrimaryID to the system.
...
- Fix #17
2015-02-22 13:24:53 -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
Aaron
dee6a42a68
Finish tests for confirm.
...
- Rename UserXXX to StoreXXX in confirm/authboss.
2015-02-16 13:27:29 -08:00
Aaron
a91a7ef162
Finish confirm module (except tests).
2015-02-15 20:21:38 -08:00
Aaron
d86fac49ac
Add confirm module beginnings.
...
- Fix some inconsistencies in expire and lock.
- Add bool type to storer.
2015-02-07 04:27:12 -08:00
Kris Runzer
2b043b78fa
More work on cleaning up recover
...
- Add email layouts
2015-02-01 14:17:18 -08:00
Kris Runzer
e660edd428
Safety commit
...
- Add new validation methods
- Cleaned up interactions with validation
- Add required validation
- Add confirm fields to validation
2015-01-25 23:02:43 -08:00
Aaron
f537664fd9
Cleanup various sad things.
...
- Export ModuleAttrMeta so the modules can access it.
- Add a couple new events for later use.
- Fix a few compile errors.
- Prefix err constants with Err.
2015-01-23 15:56:24 -08:00
Aaron
efc834006a
Add proper database/go casing.
2015-01-18 14:35:51 -08:00
Aaron
d9bcf5326c
Lowercase all identifiers used with storer.
2015-01-14 17:48:14 -08:00
Aaron
f51bce96c9
Just store the type itself. Go has reflection.
2015-01-14 16:07:15 -08:00
Aaron
7f9fe3ec77
Add session and cookie concepts.
...
- Add tests for callbacks.
- Refactor callbacks into a keyed map.
2015-01-12 23:46:52 -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
Aaron
11a0cabe5f
Add unbind to pull data from a struct.
2015-01-07 11:39:12 -08:00
Aaron L
8ac986b99b
Add some more infrastructure.
...
- Add module system.
- Add storer interface.
2015-01-03 12:03:57 -08:00