martini-contrib / oauth2

[not maintained] Allows your Martini application to support user login via an OAuth 2.0 backend.
Apache License 2.0
125 stars 47 forks source link

Fix infinite recursion from 478a5ec #38

Closed asazernik closed 10 years ago

asazernik commented 10 years ago

The token types in this project were changed to use the name Expired() instead of IsExpired(), matching golang/oauth2. This was unfortunate, since this use of an anonymous field's method relied on there not being a name collision.

dougbarrett commented 10 years ago

Is it possible to get this merged? I've updated it locally on my dev machine, but we're planning on releasing code in the next few days and this being fixed will help tremendously when running go get to grab the application dependencies.

Thank you!