Sha256: 552bcc81a181006d3b0ee829603d5ab23e9a935bdd8c79b7da5ea229c5003b65
Contents?: true
Size: 831 Bytes
Versions: 1
Compression:
Stored size: 831 Bytes
Contents
# OmniAuth Yammer This gem contains the Yammer strategy for OmniAuth 1.0. Supports the OAuth 2.0 server-side flow. Read the Yammer docs for more details: https://developer.yammer.com/api/oauth2.html ## Installing Add to your `Gemfile`: ```ruby gem 'omniauth' gem 'omniauth-yammer' ``` or even: ```ruby gem 'omniauth' gem 'omniauth-yammer', :git => 'git://github.com/le0pard/omniauth-yammer.git' ``` Then `bundle install`. ## Usage `OmniAuth::Strategies::Yammer` is simply a Rack middleware. Read the OmniAuth 1.0 docs for detailed instructions: https://github.com/intridea/omniauth. Here's a quick example, adding the middleware to a Rails app in `config/initializers/omniauth.rb`: ```ruby Rails.application.config.middleware.use OmniAuth::Builder do provider :yammer, ENV['YAMMER_KEY'], ENV['YAMMER_SECRET'] end ```
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
omniauth-yammer-0.0.1 | README.md |