auth
auth/context.go
Add a bunch of TODOs. Let's be realistic about what still needs to be done and tag it appropriately.
1.1 --- a/context.go Wed Aug 13 07:04:23 2014 -0400 1.2 +++ b/context.go Wed Aug 13 07:42:05 2014 -0400 1.3 @@ -14,16 +14,21 @@ 1.4 } 1.5 1.6 func (c Context) RenderError(w io.Writer, err error) { 1.7 + // TODO: write error to w in a template 1.8 } 1.9 1.10 func (c Context) RenderJSONError(w io.Writer, code, description, baseURI string) { 1.11 + // TODO: write error to w in json formatting 1.12 } 1.13 1.14 func (c Context) RenderConfirmation(w io.Writer) { 1.15 + // TODO: render HTML confirmation page 1.16 } 1.17 1.18 func (c Context) RenderLogin(w io.Writer) { 1.19 + // TODO: render HTML login page 1.20 } 1.21 1.22 func (c Context) RenderJSONToken(w io.Writer, data AccessData) { 1.23 + // TODO: render token to w in json formatting 1.24 }