0
Fork 0
mirror of https://github.com/caddyserver/caddy.git synced 2024-12-23 22:27:38 -05:00
caddy/caddyhttp/basicauth
Kurt Jung 977a3c3226 basicauth: Store name of authenticated user (#1426)
* Store name of authenticated user in basicauth for use by upstream middleware such as fastcgi and cgi.

* Use request context to transfer name of authorized user from basicauth to upstream middleware. Test retrieval of name from context.

* Remove development code that was inadvertently left in place

* Use keys of type httpserver.CtxKey to access Context values
2017-02-17 15:37:58 -07:00
..
basicauth.go basicauth: Store name of authenticated user (#1426) 2017-02-17 15:37:58 -07:00
basicauth_test.go basicauth: Store name of authenticated user (#1426) 2017-02-17 15:37:58 -07:00
setup.go Refactor how caddy.Context is stored and used 2016-06-20 11:59:23 -06:00
setup_test.go Refactor how caddy.Context is stored and used 2016-06-20 11:59:23 -06:00