Sha256: 50c2cbb2327d2a027698c6909f419ff228e874b7cb8a88fa3e402786003d4b18
Contents?: true
Size: 576 Bytes
Versions: 3
Compression:
Stored size: 576 Bytes
Contents
# OmniAuth::Appnet An OmniAuth Strategy for App.net. ## Installation Add this line to your application's Gemfile: gem 'omniauth-appnet' And then execute: $ bundle Or install it yourself as: $ gem install omniauth-appnet ## Usage ### Sinatra ```ruby require 'omniauth' require 'omniauth-appnet' use Rack::Session::Cookie use OmniAuth::Builder do provider :appnet, 'YOUR_CLIENT_ID', 'YOUR_CLIENT_SECRET' end get '/auth/:provider/callback' do # Do something with auth_hash redirect to('/') end def auth_hash request.env['omniauth.auth'] end ```
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
omniauth-appnet-0.1.0 | README.md |
omniauth-appnet-0.0.5 | README.md |
omniauth-appnet-0.0.4 | README.md |