auth
auth/context.go
Render JSON errors. Start rendering JSON errors when obtaining an access token doesn't succeed.
1.1 --- a/context.go Fri Aug 01 23:54:30 2014 -0400 1.2 +++ b/context.go Sun Aug 03 02:06:50 2014 -0400 1.3 @@ -12,6 +12,9 @@ 1.4 func (c Context) RenderError(w io.Writer, err error) { 1.5 } 1.6 1.7 +func (c Context) RenderJSONError(w io.Writer, code, description, baseURI string) { 1.8 +} 1.9 + 1.10 func (c Context) RenderConfirmation(w io.Writer) { 1.11 } 1.12