1
0
mirror of https://github.com/volatiletech/authboss.git synced 2024-11-24 08:42:17 +02:00
authboss/defaults
Aaron L 386133a84b Add a way to read values and validate
In order to support multiple different types of requests, there needed
to be an interface to be able to read values from a request, and
subsequently validate them to return any errors.

So we've adjusted the Validator interface to no longer validate a
request but instead validate the object it lives on.

And we've created a new BodyReader interface.
2018-02-04 18:39:25 -08:00
..
doc.go Re(move) swaths of code 2018-01-31 17:07:11 -08:00
error_handler_test.go Abstract logger and error handling 2018-02-02 12:11:47 -08:00
error_handler.go Abstract logger and error handling 2018-02-02 12:11:47 -08:00
log_mailer_test.go Start moving default implementations 2018-01-29 13:14:55 -08:00
log_mailer.go Start moving default implementations 2018-01-29 13:14:55 -08:00
logger_test.go Abstract logger and error handling 2018-02-02 12:11:47 -08:00
logger.go Abstract logger and error handling 2018-02-02 12:11:47 -08:00
responder_test.go Get tests working after latest refactors 2018-02-01 15:42:48 -08:00
responder.go Fix the tests in defaults package 2018-02-01 10:25:54 -08:00
router_test.go Fix the tests in defaults package 2018-02-01 10:25:54 -08:00
router.go Re(move) swaths of code 2018-01-31 17:07:11 -08:00
rules_test.go Move validation implementations to defaults 2018-01-29 16:24:42 -08:00
rules.go Add a way to read values and validate 2018-02-04 18:39:25 -08:00
smtp_mailer.go Start moving default implementations 2018-01-29 13:14:55 -08:00
validation_test.go Add a way to read values and validate 2018-02-04 18:39:25 -08:00
validation.go Add a way to read values and validate 2018-02-04 18:39:25 -08:00
values_test.go Add a way to read values and validate 2018-02-04 18:39:25 -08:00
values.go Add a way to read values and validate 2018-02-04 18:39:25 -08:00