This gem provides a simple way to authenticate to Quizlet using Omniauth.
Add this line to your application's Gemfile:
gem 'omniauth-quizlet'
First, you will need to register with Quizlet and obtain an Client ID and Secret Key. Once you do that, you can use it like so:
use OmniAuth::Builder do
provider :quizlet, 'client_id', 'secret_key', :scope => "read write_set write_group", :state => "RANDOM_STRING"
end
Scopes represent a limited set of permissions you can request from a user. More info on scopes
For additional information, refer to the OmniAuth wiki and Quizlet API 2.0.
- 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
MIT License. Copyright 2012 Zigotto®. http://www.zigotto.com