auth

Paddy 2015-01-19 Parent:dcd2125c4f57 Child:23c1a07c8a61

127:b714af0578dc Go to Latest

auth/oauth2.go

Drop RemoveToken, test RevokeToken for refresh tokens. The RemoveToken function was never actually used, and there's no reason to use it. Tokens are revoked, not removed. So I deleted it. And while I was updating the tests, I finally inserted the test for revoking a refresh token, mainly to get rid of that damn TODO.

History