I'm not sure if people should pass *golang/oauth2.Options or *martini-contrib/oauth2.Options. That's why I removed the Options type from here since it has nothing more than golang/oauth2 one and we're copying fields one by one (which might be prone to errors in the future). AuthUrl and TokenUrl was not the right place for this type anyway.
Another problem might be the marshaled token types are not exactly the same in the old lib and the new lib. So that might give some trouble to the apps updating it.
Breaking changes
requires package: github.com/golang/oauth2
no longer requires package: code.google.com/p/goauth2/oauth
caller code should use Options type from not this oauth2 but golang's oauth2 (not sure if it was the right choice)
Fixes #23.
*golang/oauth2.Options
or*martini-contrib/oauth2.Options
. That's why I removed theOptions
type from here since it has nothing more thangolang/oauth2
one and we're copying fields one by one (which might be prone to errors in the future).AuthUrl
andTokenUrl
was not the right place for this type anyway.token
types are not exactly the same in the old lib and the new lib. So that might give some trouble to the apps updating it.github.com/golang/oauth2
code.google.com/p/goauth2/oauth
Options
type from not thisoauth2
but golang'soauth2
(not sure if it was the right choice)