auth
auth/context.go
Continue our descent to horribleness. Remove all the nonsense about "extensibility" and "clean separation of concerns", instead hardcoding connections to decisions. Remove all those "test" things that stopped passing.
1.1 --- a/context.go Fri Jul 18 07:13:22 2014 -0400 1.2 +++ b/context.go Fri Aug 01 23:08:38 2014 -0400 1.3 @@ -1,5 +1,19 @@ 1.4 package oauth2 1.5 1.6 +import "io" 1.7 + 1.8 type Context struct { 1.9 - Config ServerConfig 1.10 + Config ServerConfig 1.11 + Clients ClientStore 1.12 + Tokens TokenStore 1.13 + Profiles ProfileStore 1.14 } 1.15 + 1.16 +func (c Context) RenderError(w io.Writer, err error) { 1.17 +} 1.18 + 1.19 +func (c Context) RenderConfirmation(w io.Writer) { 1.20 +} 1.21 + 1.22 +func (c Context) RenderLogin(w io.Writer) { 1.23 +}