OmniAuth Treasure Data Strategy
This gem provides a dead simple way to authenticate to Treasure Data using OmniAuth.
Installation
Add this line to your application's Gemfile:
gem 'omniauth-td'Usage
use OmniAuth::Builder do
provider :td
endAuth Hash Schema
The following information is provided back to you for this provider:
{
uid: 12345,
info: {
account_id: 12345,
email: 'kazuki.ohta@gmail.com'
},
credentials: {
apikey: 'YOUR_TREASURE_DATA_APIKEY'
},
extra: {}
}Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Added some feature') - Push to the branch (
git push origin my-new-feature) - Create new Pull Request