A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/mbleigh/omniauth-box below:

mbleigh/omniauth-box: Box.net strategy for OmniAuth

OmniAuth Box.net Strategy

This gem provides a dead simple way to authenticate to Box.net using OmniAuth.

Add this line to your application's Gemfile:

First, you will need to register an application with Box.net and obtain an API key. Once you do that, you can use it like so:

use OmniAuth::Builder do
  provider :box, 'yourapikey'
end

The following information is provided back to you for this provider:

{
  uid: '12345',
  info: {
    nickname: 'login', # may be email
    email: 'someone@example.com'
  },
  credentials: {
    token: 'thetoken' # can be used to auth to the API
  },
  extra: { raw_info: raw_api_response }
}
  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Added some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4