Skip to content

Allow inject subclass of AccessToken easier when subclassing OAuth2::Client

Rainux Luo requested to merge github/fork/rainux/master into master

I'm working on a client library for a OAuth2 provider which require many additional common parameters when request resources with access token, so I decide to subclass the OAuth2::AccessToken class. And this patch make it much easier and cleaner to do so. Hope it make sense for you.

Merge request reports

Loading