auth
auth/request.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/request.go Mon May 11 21:25:18 2015 -0400 1.2 +++ b/request.go Tue May 12 21:14:21 2015 -0400 1.3 @@ -34,6 +34,7 @@ 1.4 Clients []Client `json:"clients,omitempty"` 1.5 Endpoints []Endpoint `json:"endpoints,omitempty"` 1.6 Sessions []Session `json:"sessions,omitempty"` 1.7 + Tokens []Token `json:"tokens,omitempty"` 1.8 } 1.9 1.10 type requestError struct {