auth

Paddy 2014-08-01 Parent:7a6f64db7246 Child:65c49af1ed3f

1:7b9e0fc20256 Go to Latest

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.

History
1 package oauth2
3 import "io"
5 type Context struct {
6 Config ServerConfig
7 Clients ClientStore
8 Tokens TokenStore
9 Profiles ProfileStore
10 }
12 func (c Context) RenderError(w io.Writer, err error) {
13 }
15 func (c Context) RenderConfirmation(w io.Writer) {
16 }
18 func (c Context) RenderLogin(w io.Writer) {
19 }