一个用于 OmniAuth 的抽象 OAuth2 策略。
[][gem] [][codeclimate] [][coveralls] [gem]: https://rubygems.org/gems/omniauth-oauth2 [codeclimate]: https://codeclimate.com/github/intridea/omniauth-oauth2 [coveralls]: https://coveralls.io/r/intridea/omniauth-oauth2
This gem contains a generic OAuth2 strategy for OmniAuth. It is meant to serve as a building block strategy for other strategies and not to be used independently (since it has no inherent way to gather uid and user info).
To create an OmniAuth OAuth2 strategy using this gem, you can simply subclass it and add a few extra methods like so:
…That's pretty much it!
Available as part of the Tidelift Subscription.
The maintainers of OmniAuth-OAuth2 and thousands of other packages are working with Tidelift to deliver commercial support and maintenance for the open source packages you use to build your applications. Save time, reduce risk, and improve code health, while paying the maintainers of the exact packages you use. Learn more.
OmniAuth is tested under 2.5, 2.6, 2.7, 3.0, 3.1, 3.2, truffleruby, and JRuby.
暂无开放 Issues,或尚未同步最近议题。