distribution/registry
Josh Hawn 2c3d738a05 Use context for auth access controllers
The auth package has been updated to use "golang.org/x/net/context" for
passing information between the application and the auth backend.

AccessControllers should now set a "auth.user" context value to a AuthUser
struct containing a single "Name" field for now with possible, optional, values
in the future.

The "silly" auth backend always sets the name to "silly", while the "token" auth
backend will set the name to match the "subject" claim of the JWT.

Docker-DCO-1.1-Signed-off-by: Josh Hawn <josh.hawn@docker.com> (github: jlhawn)
2015-02-04 19:17:33 -08:00
..
api_test.go Handle empty blob files more appropriately 2015-02-02 13:01:49 -08:00
app.go Use context for auth access controllers 2015-02-04 19:17:33 -08:00
app_test.go Update the registry app to use the new storage interfaces 2015-01-16 18:33:28 -08:00
context.go Use context for auth access controllers 2015-02-04 19:17:33 -08:00
helpers.go Move registry package out of repo root 2015-01-06 10:40:22 -08:00
hmac.go Refactor handling of hmac state packing 2015-01-09 14:50:39 -08:00
hmac_test.go Refactor handling of hmac state packing 2015-01-09 14:50:39 -08:00
images.go Update the registry app to use the new storage interfaces 2015-01-16 18:33:28 -08:00
layer.go Update the registry app to use the new storage interfaces 2015-01-16 18:33:28 -08:00
layerupload.go Handle empty blob files more appropriately 2015-02-02 13:01:49 -08:00
tags.go Update the registry app to use the new storage interfaces 2015-01-16 18:33:28 -08:00