auth

Paddy 2015-01-19 Parent:d14f0a81498c Child:4f5d13d2f7c7

128:23c1a07c8a61 Go to Latest

auth/client.go

Add our BUG notices. Rather than keeping the list of things to implement or test on sticky notes attached to my monitor, let's give them BUG designations within the code. Now `godoc . bugs` will list them out for us. Isn't that nice?

History
     1.1 --- a/client.go	Mon Jan 19 06:01:51 2015 -0500
     1.2 +++ b/client.go	Mon Jan 19 06:42:42 2015 -0500
     1.3 @@ -384,6 +384,13 @@
     1.4  
     1.5  func RegisterClientHandlers(r *mux.Router, context Context) {
     1.6  	r.Handle("/clients", wrap(context, CreateClientHandler)).Methods("POST")
     1.7 +	// BUG(paddy): We need to implement a handler to retrieve info on a client.
     1.8 +	// BUG(paddy): We need to implement a handler to list clients.
     1.9 +	// BUG(paddy): We need to implement a handler to update a client.
    1.10 +	// BUG(paddy): We need to implement a handler to delete a client. Also, what should that do with the grants and tokens belonging to that client?
    1.11 +	// BUG(paddy): We need to implement a handler to add an endpoint to a client.
    1.12 +	// BUG(paddy): We need to implement a handler to remove an endpoint from a client.
    1.13 +	// BUG(paddy): We need to implement a handler to list endpoints.
    1.14  }
    1.15  
    1.16  func CreateClientHandler(w http.ResponseWriter, r *http.Request, c Context) {