auth
auth/authd/server.go
Implement an endpoint for token information. Implement an endpoint that allows us to look up information on a token. We strip the refresh token before the response is sent to avoid leaking the response token.
1.1 --- a/authd/server.go Mon May 11 21:25:18 2015 -0400 1.2 +++ b/authd/server.go Tue May 12 21:14:21 2015 -0400 1.3 @@ -55,6 +55,7 @@ 1.4 auth.RegisterSessionHandlers(router, context) 1.5 auth.RegisterProfileHandlers(router, context) 1.6 auth.RegisterClientHandlers(router, context) 1.7 + auth.RegisterTokenHandlers(router, context) 1.8 http.Handle("/", router) 1.9 log.Fatal(http.ListenAndServe(":8080", nil)) 1.10 }