auth
auth/client.go
Add a bunch of TODOs. Let's be realistic about what still needs to be done and tag it appropriately.
1.1 --- a/client.go Wed Aug 13 07:04:23 2014 -0400 1.2 +++ b/client.go Wed Aug 13 07:42:05 2014 -0400 1.3 @@ -15,21 +15,26 @@ 1.4 } 1.5 1.6 func GetClient(id uuid.ID, ctx Context) (Client, error) { 1.7 + // TODO: pull client from ctx 1.8 return Client{}, nil 1.9 } 1.10 1.11 func createClient(name, logo, redirectURI string, owner uuid.ID, ctx Context) (Client, error) { 1.12 + // TODO: store client in ctx 1.13 return Client{}, nil 1.14 } 1.15 1.16 func updateClient(client *Client, name, logo, redirectURI *string, ctx Context) error { 1.17 + // TODO: update client in ctx 1.18 return nil 1.19 } 1.20 1.21 func removeClient(id uuid.ID, ctx Context) error { 1.22 + // TODO: delete client from ctx 1.23 return nil 1.24 } 1.25 1.26 func listClients(id uuid.ID, page, num int, ctx Context) ([]Client, error) { 1.27 + // TODO: retrieve list of clients from ctx 1.28 return []Client{}, nil 1.29 }