# Omniauth::Inspur This is the OAuth2 strategy for authenticating to your Inspur service. ## Installation Add this line to your application's Gemfile: gem 'omniauth-inspur' And then execute: $ bundle Or install it yourself as: $ gem build omniauth-inspur.gemspec $ gem install omniauth-inspur ## Basic Usage use OmniAuth::Builder do provider :inspur, ENV['INSPUR_KEY'], ENV['INSPUR_SECRET'] end ## Standalone Usage use OmniAuth::Builder do provider :inspur, ENV['INSPUR_KEY'], ENV['INSPUR_SECRET'], { client_options: { site: 'https://inspur.com' } } end ## Contributing 1. Fork it 2. Create your feature branch (`git checkout -b my-new-feature`) 3. Commit your changes (`git commit -am 'Add some feature'`) 4. Push to the branch (`git push origin my-new-feature`) 5. Create new Pull Request