omniauth 0.2.6 → 0.3.0.rc3
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of omniauth might be problematic. Click here for more details.
- data/README.md +62 -34
- data/lib/omniauth/version.rb +3 -3
- metadata +74 -228
- data/Gemfile +0 -12
- data/Rakefile +0 -51
- data/oa-basic/Gemfile +0 -7
- data/oa-basic/LICENSE +0 -19
- data/oa-basic/README.rdoc +0 -34
- data/oa-basic/Rakefile +0 -6
- data/oa-basic/lib/oa-basic.rb +0 -1
- data/oa-basic/lib/omniauth/basic.rb +0 -8
- data/oa-basic/lib/omniauth/strategies/http_basic.rb +0 -56
- data/oa-basic/lib/omniauth/version.rb +0 -19
- data/oa-basic/oa-basic.gemspec +0 -27
- data/oa-basic/spec/omniauth/strategies/basic_spec.rb +0 -7
- data/oa-basic/spec/spec_helper.rb +0 -11
- data/oa-core/Gemfile +0 -3
- data/oa-core/LICENSE +0 -19
- data/oa-core/Rakefile +0 -6
- data/oa-core/autotest/discover.rb +0 -1
- data/oa-core/lib/oa-core.rb +0 -1
- data/oa-core/lib/omniauth/builder.rb +0 -33
- data/oa-core/lib/omniauth/core.rb +0 -135
- data/oa-core/lib/omniauth/form.rb +0 -186
- data/oa-core/lib/omniauth/strategy.rb +0 -227
- data/oa-core/lib/omniauth/test.rb +0 -12
- data/oa-core/lib/omniauth/test/phony_session.rb +0 -8
- data/oa-core/lib/omniauth/test/strategy_macros.rb +0 -34
- data/oa-core/lib/omniauth/test/strategy_test_case.rb +0 -49
- data/oa-core/lib/omniauth/version.rb +0 -19
- data/oa-core/oa-core.gemspec +0 -24
- data/oa-core/spec/omniauth/builder_spec.rb +0 -20
- data/oa-core/spec/omniauth/core_spec.rb +0 -79
- data/oa-core/spec/omniauth/strategy_spec.rb +0 -363
- data/oa-core/spec/spec_helper.rb +0 -12
- data/oa-enterprise/Gemfile +0 -7
- data/oa-enterprise/LICENSE +0 -19
- data/oa-enterprise/README.rdoc +0 -82
- data/oa-enterprise/Rakefile +0 -6
- data/oa-enterprise/lib/oa-enterprise.rb +0 -1
- data/oa-enterprise/lib/omniauth/enterprise.rb +0 -8
- data/oa-enterprise/lib/omniauth/strategies/cas.rb +0 -47
- data/oa-enterprise/lib/omniauth/strategies/cas/configuration.rb +0 -98
- data/oa-enterprise/lib/omniauth/strategies/cas/service_ticket_validator.rb +0 -91
- data/oa-enterprise/lib/omniauth/strategies/ldap.rb +0 -111
- data/oa-enterprise/lib/omniauth/strategies/ldap/adaptor.rb +0 -279
- data/oa-enterprise/lib/omniauth/version.rb +0 -19
- data/oa-enterprise/oa-enterprise.gemspec +0 -31
- data/oa-enterprise/spec/fixtures/cas_failure.xml +0 -4
- data/oa-enterprise/spec/fixtures/cas_success.xml +0 -8
- data/oa-enterprise/spec/omniauth/strategies/cas_spec.rb +0 -94
- data/oa-enterprise/spec/omniauth/strategies/ldap_spec.rb +0 -41
- data/oa-enterprise/spec/spec_helper.rb +0 -14
- data/oa-more/Gemfile +0 -7
- data/oa-more/LICENSE +0 -19
- data/oa-more/README.rdoc +0 -22
- data/oa-more/Rakefile +0 -6
- data/oa-more/lib/oa-more.rb +0 -1
- data/oa-more/lib/omniauth/more.rb +0 -11
- data/oa-more/lib/omniauth/strategies/draugiem.rb +0 -104
- data/oa-more/lib/omniauth/strategies/flickr.rb +0 -86
- data/oa-more/lib/omniauth/strategies/ign.rb +0 -93
- data/oa-more/lib/omniauth/strategies/windows_live.rb +0 -39
- data/oa-more/lib/omniauth/strategies/windows_live/windowslivelogin.rb +0 -1143
- data/oa-more/lib/omniauth/strategies/yupoo.rb +0 -67
- data/oa-more/lib/omniauth/version.rb +0 -19
- data/oa-more/oa-more.gemspec +0 -29
- data/oa-more/spec/omniauth/strategies/draugiem_spec.rb +0 -51
- data/oa-more/spec/omniauth/strategies/flickr_spec.rb +0 -7
- data/oa-more/spec/spec_helper.rb +0 -11
- data/oa-oauth/Gemfile +0 -7
- data/oa-oauth/LICENSE +0 -19
- data/oa-oauth/README.rdoc +0 -35
- data/oa-oauth/Rakefile +0 -6
- data/oa-oauth/autotest/discover.rb +0 -1
- data/oa-oauth/lib/oa-oauth.rb +0 -1
- data/oa-oauth/lib/omniauth/oauth.rb +0 -56
- data/oa-oauth/lib/omniauth/strategies/bitly.rb +0 -46
- data/oa-oauth/lib/omniauth/strategies/dailymile.rb +0 -64
- data/oa-oauth/lib/omniauth/strategies/doit.rb +0 -60
- data/oa-oauth/lib/omniauth/strategies/dopplr.rb +0 -53
- data/oa-oauth/lib/omniauth/strategies/douban.rb +0 -60
- data/oa-oauth/lib/omniauth/strategies/evernote.rb +0 -54
- data/oa-oauth/lib/omniauth/strategies/facebook.rb +0 -70
- data/oa-oauth/lib/omniauth/strategies/foursquare.rb +0 -62
- data/oa-oauth/lib/omniauth/strategies/github.rb +0 -50
- data/oa-oauth/lib/omniauth/strategies/goodreads.rb +0 -44
- data/oa-oauth/lib/omniauth/strategies/google.rb +0 -80
- data/oa-oauth/lib/omniauth/strategies/gowalla.rb +0 -72
- data/oa-oauth/lib/omniauth/strategies/hyves.rb +0 -67
- data/oa-oauth/lib/omniauth/strategies/identica.rb +0 -49
- data/oa-oauth/lib/omniauth/strategies/instagram.rb +0 -56
- data/oa-oauth/lib/omniauth/strategies/instapaper.rb +0 -40
- data/oa-oauth/lib/omniauth/strategies/linked_in.rb +0 -56
- data/oa-oauth/lib/omniauth/strategies/mailru.rb +0 -107
- data/oa-oauth/lib/omniauth/strategies/meetup.rb +0 -56
- data/oa-oauth/lib/omniauth/strategies/miso.rb +0 -41
- data/oa-oauth/lib/omniauth/strategies/mixi.rb +0 -59
- data/oa-oauth/lib/omniauth/strategies/netflix.rb +0 -65
- data/oa-oauth/lib/omniauth/strategies/oauth.rb +0 -83
- data/oa-oauth/lib/omniauth/strategies/oauth2.rb +0 -91
- data/oa-oauth/lib/omniauth/strategies/plurk.rb +0 -58
- data/oa-oauth/lib/omniauth/strategies/qzone.rb +0 -69
- data/oa-oauth/lib/omniauth/strategies/rdio.rb +0 -45
- data/oa-oauth/lib/omniauth/strategies/renren.rb +0 -87
- data/oa-oauth/lib/omniauth/strategies/salesforce.rb +0 -44
- data/oa-oauth/lib/omniauth/strategies/smug_mug.rb +0 -42
- data/oa-oauth/lib/omniauth/strategies/sound_cloud.rb +0 -46
- data/oa-oauth/lib/omniauth/strategies/t163.rb +0 -57
- data/oa-oauth/lib/omniauth/strategies/taobao.rb +0 -79
- data/oa-oauth/lib/omniauth/strategies/teambox.rb +0 -49
- data/oa-oauth/lib/omniauth/strategies/thirty_seven_signals.rb +0 -41
- data/oa-oauth/lib/omniauth/strategies/tqq.rb +0 -64
- data/oa-oauth/lib/omniauth/strategies/trade_me.rb +0 -45
- data/oa-oauth/lib/omniauth/strategies/trip_it.rb +0 -22
- data/oa-oauth/lib/omniauth/strategies/tsina.rb +0 -79
- data/oa-oauth/lib/omniauth/strategies/tsohu.rb +0 -57
- data/oa-oauth/lib/omniauth/strategies/tumblr.rb +0 -60
- data/oa-oauth/lib/omniauth/strategies/twitter.rb +0 -57
- data/oa-oauth/lib/omniauth/strategies/type_pad.rb +0 -76
- data/oa-oauth/lib/omniauth/strategies/vimeo.rb +0 -54
- data/oa-oauth/lib/omniauth/strategies/vkontakte.rb +0 -87
- data/oa-oauth/lib/omniauth/strategies/xauth.rb +0 -67
- data/oa-oauth/lib/omniauth/strategies/yahoo.rb +0 -55
- data/oa-oauth/lib/omniauth/strategies/yammer.rb +0 -43
- data/oa-oauth/lib/omniauth/strategies/you_tube.rb +0 -73
- data/oa-oauth/lib/omniauth/version.rb +0 -19
- data/oa-oauth/oa-oauth.gemspec +0 -32
- data/oa-oauth/spec/fixtures/basecamp_200.xml +0 -24
- data/oa-oauth/spec/fixtures/campfire_200.json +0 -10
- data/oa-oauth/spec/omniauth/strategies/bitly_spec.rb +0 -5
- data/oa-oauth/spec/omniauth/strategies/dailymile_spec.rb +0 -5
- data/oa-oauth/spec/omniauth/strategies/doit_spec.rb +0 -5
- data/oa-oauth/spec/omniauth/strategies/dopplr_spec.rb +0 -5
- data/oa-oauth/spec/omniauth/strategies/douban_spec.rb +0 -5
- data/oa-oauth/spec/omniauth/strategies/evernote_spec.rb +0 -5
- data/oa-oauth/spec/omniauth/strategies/facebook_spec.rb +0 -5
- data/oa-oauth/spec/omniauth/strategies/foursquare_spec.rb +0 -18
- data/oa-oauth/spec/omniauth/strategies/github_spec.rb +0 -5
- data/oa-oauth/spec/omniauth/strategies/goodreads_spec.rb +0 -6
- data/oa-oauth/spec/omniauth/strategies/google_spec.rb +0 -5
- data/oa-oauth/spec/omniauth/strategies/gowalla_spec.rb +0 -5
- data/oa-oauth/spec/omniauth/strategies/hyves_spec.rb +0 -5
- data/oa-oauth/spec/omniauth/strategies/identica_spec.rb +0 -5
- data/oa-oauth/spec/omniauth/strategies/linked_in_spec.rb +0 -5
- data/oa-oauth/spec/omniauth/strategies/mailru_spec.rb +0 -5
- data/oa-oauth/spec/omniauth/strategies/meetup_spec.rb +0 -14
- data/oa-oauth/spec/omniauth/strategies/miso_spec.rb +0 -5
- data/oa-oauth/spec/omniauth/strategies/netflix_spec.rb +0 -5
- data/oa-oauth/spec/omniauth/strategies/oauth2_spec.rb +0 -0
- data/oa-oauth/spec/omniauth/strategies/oauth_spec.rb +0 -77
- data/oa-oauth/spec/omniauth/strategies/plurk_spec.rb +0 -5
- data/oa-oauth/spec/omniauth/strategies/rdio_spec.rb +0 -5
- data/oa-oauth/spec/omniauth/strategies/salesforce_spec.rb +0 -5
- data/oa-oauth/spec/omniauth/strategies/smug_mug_spec.rb +0 -5
- data/oa-oauth/spec/omniauth/strategies/sound_cloud_spec.rb +0 -5
- data/oa-oauth/spec/omniauth/strategies/t163_spec.rb +0 -5
- data/oa-oauth/spec/omniauth/strategies/taobao_spec.rb +0 -5
- data/oa-oauth/spec/omniauth/strategies/teambox_spec.rb +0 -5
- data/oa-oauth/spec/omniauth/strategies/thirty_seven_signals_spec.rb +0 -5
- data/oa-oauth/spec/omniauth/strategies/trade_me_spec.rb +0 -5
- data/oa-oauth/spec/omniauth/strategies/trip_it_spec.rb +0 -5
- data/oa-oauth/spec/omniauth/strategies/tsina_spec.rb +0 -5
- data/oa-oauth/spec/omniauth/strategies/tumblr_spec.rb +0 -5
- data/oa-oauth/spec/omniauth/strategies/twitter_spec.rb +0 -20
- data/oa-oauth/spec/omniauth/strategies/type_pad_spec.rb +0 -5
- data/oa-oauth/spec/omniauth/strategies/vimeo_spec.rb +0 -5
- data/oa-oauth/spec/omniauth/strategies/vkontakte_spec.rb +0 -5
- data/oa-oauth/spec/omniauth/strategies/yahoo_spec.rb +0 -5
- data/oa-oauth/spec/omniauth/strategies/yammer_spec.rb +0 -5
- data/oa-oauth/spec/omniauth/strategies/you_tube_spec.rb +0 -5
- data/oa-oauth/spec/spec_helper.rb +0 -27
- data/oa-oauth/spec/support/shared_examples.rb +0 -29
- data/oa-openid/Gemfile +0 -7
- data/oa-openid/LICENSE +0 -19
- data/oa-openid/README.rdoc +0 -51
- data/oa-openid/Rakefile +0 -6
- data/oa-openid/lib/oa-openid.rb +0 -1
- data/oa-openid/lib/omniauth/openid.rb +0 -60
- data/oa-openid/lib/omniauth/openid/gapps.rb +0 -32
- data/oa-openid/lib/omniauth/strategies/google_apps.rb +0 -23
- data/oa-openid/lib/omniauth/strategies/open_id.rb +0 -132
- data/oa-openid/lib/omniauth/strategies/steam.rb +0 -55
- data/oa-openid/lib/omniauth/version.rb +0 -19
- data/oa-openid/oa-openid.gemspec +0 -28
- data/oa-openid/spec/omniauth/strategies/open_id_spec.rb +0 -71
- data/oa-openid/spec/spec_helper.rb +0 -14
- data/omniauth.gemspec +0 -20
- data/tasks/all.rb +0 -134
data/README.md
CHANGED
@@ -1,26 +1,34 @@
|
|
1
1
|
# OmniAuth: Standardized Multi-Provider Authentication
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
2
|
+
OmniAuth is a new Rack-based authentication system for multi-provider external
|
3
|
+
authentcation. OmniAuth is built from the ground up on the philosophy that
|
4
|
+
**authentication is not the same as identity**, and is based on two
|
5
|
+
observations:
|
6
|
+
|
7
|
+
1. The traditional 'sign up using a login and password' model is becoming the
|
8
|
+
exception, not the rule. Modern web applications offer external
|
9
|
+
authentication via OpenID, Facebook, and/or OAuth.
|
10
|
+
2. The interconnectable web is no longer a dream, it is a necessity. It is not
|
11
|
+
unreasonable to expect that one application may need to be able to connect
|
12
|
+
to one, three, or twelve other services. Modern authentication systems
|
13
|
+
should allow a user's identity to be associated with many authentications.
|
14
|
+
|
15
|
+
## <a name="installation">Installation</a>
|
10
16
|
To install OmniAuth, simply install the gem:
|
11
17
|
|
12
18
|
gem install omniauth
|
13
19
|
|
14
|
-
## Continuous Integration
|
15
|
-
[![Build Status](
|
16
|
-
|
17
|
-
## Providers
|
20
|
+
## <a name="ci">Continuous Integration</a>
|
21
|
+
[![Build Status](https://travis-ci.org/intridea/omniauth.png)](http://travis-ci.org/intridea/omniauth)
|
18
22
|
|
23
|
+
## <a name="providers">Providers</a>
|
19
24
|
OmniAuth currently supports the following external providers:
|
20
25
|
|
21
26
|
* via OAuth (OAuth 1.0, OAuth 2, and xAuth)
|
22
27
|
* 37signals ID (credit: [mbleigh](https://github.com/mbleigh))
|
28
|
+
* AngelList (credit: [joshuaxls](https://github.com/joshuaxls))
|
23
29
|
* Bit.ly (credit: [philnash](https://github.com/philnash))
|
30
|
+
* Blogger (credit: [dsueiro-backing](https://github.com/dsueiro-backing))
|
31
|
+
* Cobot (credit: [kamal](https://github.com/kamal))
|
24
32
|
* DailyMile (credit: [cdmwebs](https://github.com/cdmwebs))
|
25
33
|
* Doit.im (credit: [chouti](https://github.com/chouti))
|
26
34
|
* Dopplr (credit: [flextrip](https://github.com/flextrip))
|
@@ -29,18 +37,24 @@ OmniAuth currently supports the following external providers:
|
|
29
37
|
* Facebook (credit: [mbleigh](https://github.com/mbleigh))
|
30
38
|
* Foursquare (credit: [mbleigh](https://github.com/mbleigh))
|
31
39
|
* GitHub (credit: [mbleigh](https://github.com/mbleigh))
|
40
|
+
* Glitch (credit: [harrylove](https://github.com/harrylove))
|
32
41
|
* GoodReads (credit: [cristoffer](https://github.com/christoffer))
|
42
|
+
* Google Health (credit: [jaigouk](https://github.com/jaigouk))
|
33
43
|
* Gowalla (credit: [kvnsmth](https://github.com/kvnsmth))
|
34
44
|
* Hyves (credit: [mrdg](https://github.com/mrdg))
|
35
45
|
* Identi.ca (credit: [dcu](https://github.com/dcu))
|
46
|
+
* Flattr (credit: [dcu](https://github.com/dcu))
|
36
47
|
* Instagram (credit: [kiyoshi](https://github.com/kiyoshi))
|
37
48
|
* Instapaper (credit: [micpringle](https://github.com/micpringle))
|
49
|
+
* LastFM (credit: [tictoc](https://github.com/tictoc))
|
38
50
|
* LinkedIn (credit: [mbleigh](https://github.com/mbleigh))
|
51
|
+
* Mailchimp (via [srbiv](http://github.com/srbiv))
|
39
52
|
* Mailru (credit: [lexer](https://github.com/lexer))
|
40
53
|
* Meetup (credit [coderoshi](https://github.com/coderoshi))
|
41
54
|
* Miso (credit: [rickenharp](https://github.com/rickenharp))
|
42
55
|
* Mixi (credit: [kiyoshi](https://github.com/kiyoshi))
|
43
56
|
* Netflix (credit: [caged](https://github.com/caged))
|
57
|
+
* Orkut (credit: [andersonleite](https://github.com/andersonleite))
|
44
58
|
* Plurk (credit: [albb0920](http://github.com/albb0920))
|
45
59
|
* Qzone (credit: [quake](https://github.com/quake))
|
46
60
|
* Rdio (via [brandonweiss](https://github.com/brandonweiss))
|
@@ -58,36 +72,28 @@ OmniAuth currently supports the following external providers:
|
|
58
72
|
* Tsohu (credit: [quake](https://github.com/quake))
|
59
73
|
* Tumblr (credit: [jamiew](https://github.com/jamiew))
|
60
74
|
* Twitter (credit: [mbleigh](https://github.com/mbleigh))
|
75
|
+
* Viadeo (credit: [guillaug](https://github.com/guillaug))
|
61
76
|
* Vimeo (credit: [jamiew](https://github.com/jamiew))
|
62
77
|
* Vkontakte (credit: [german](https://github.com/german))
|
78
|
+
* WePay (credit: [ryanwood](https://github.com/ryanwood))
|
79
|
+
* Yahoo (credit: [mpd](https://github.com/mpd))
|
63
80
|
* Yammer (credit: [kltcalamay](https://github.com/kltcalamay))
|
64
81
|
* YouTube (credit: [jamiew](https://github.com/jamiew))
|
65
82
|
* CAS (Central Authentication Service) (credit: [jamesarosen](https://github.com/jamesarosen))
|
66
83
|
* Flickr (credit: [pchilton](https://github.com/pchilton))
|
67
84
|
* Google Apps (via OpenID) (credit: [mbleigh](https://github.com/mbleigh))
|
85
|
+
* Google OpenID+OAuth (via Hybrid Protocol) (credit: [boyvanamstel](https://github.com/boyvanamstel))
|
68
86
|
* LDAP (credit: [pyu10055](https://github.com/pyu10055))
|
69
87
|
* OpenID (credit: [mbleigh](https://github.com/mbleigh))
|
70
88
|
* Yupoo (credit: [chouti](https://github.com/chouti))
|
71
89
|
|
72
|
-
##
|
73
|
-
|
74
|
-
OmniAuth is tested against the following Ruby versions:
|
75
|
-
|
76
|
-
* 1.8.7
|
77
|
-
* 1.9.1
|
78
|
-
* 1.9.2
|
79
|
-
* jRuby (note, the Evernote strategy is not available for jRuby)
|
80
|
-
* Rubinius
|
81
|
-
* REE
|
82
|
-
|
83
|
-
## Usage
|
84
|
-
|
90
|
+
## <a name="usage">Usage</a>
|
85
91
|
OmniAuth is a collection of Rack middleware. To use a single strategy, you simply need to add the middleware:
|
86
92
|
|
87
93
|
require 'oa-oauth'
|
88
94
|
use OmniAuth::Strategies::Twitter, 'CONSUMER_KEY', 'CONSUMER_SECRET'
|
89
95
|
|
90
|
-
Now to initiate authentication you merely need to redirect the user to `/auth/twitter` via a link or other means. Once the user has authenticated to Twitter, they will be redirected to `/auth/twitter/callback`. You should build an endpoint that handles this URL, at which point you will
|
96
|
+
Now to initiate authentication you merely need to redirect the user to `/auth/twitter` via a link or other means. Once the user has authenticated to Twitter, they will be redirected to `/auth/twitter/callback`. You should build an endpoint that handles this URL, at which point you will have access to the authentication information through the `omniauth.auth` parameter of the Rack environment. For example, in Sinatra you would do something like this:
|
91
97
|
|
92
98
|
get '/auth/twitter/callback' do
|
93
99
|
auth_hash = request.env['omniauth.auth']
|
@@ -107,21 +113,43 @@ The hash in question will look something like this:
|
|
107
113
|
|
108
114
|
The `user_info` hash will automatically be populated with as much information about the user as OmniAuth was able to pull from the given API or authentication provider.
|
109
115
|
|
110
|
-
## Resources
|
111
|
-
|
116
|
+
## <a name="resources">Resources</a>
|
112
117
|
The best place to find more information is the [OmniAuth Wiki](https://github.com/intridea/omniauth/wiki). Some specific information you might be interested in:
|
113
118
|
|
114
|
-
* [CI Build Status](http://travis-ci.org
|
119
|
+
* [CI Build Status](http://travis-ci.org/intridea/omniauth)
|
115
120
|
* [Roadmap](https://github.com/intridea/omniauth/wiki/Roadmap)
|
116
121
|
* [Changelog](https://github.com/intridea/omniauth/wiki/Changelog)
|
117
122
|
* [Report Issues](https://github.com/intridea/omniauth/issues)
|
118
123
|
* [Mailing List](http://groups.google.com/group/omniauth)
|
119
124
|
|
120
|
-
##
|
121
|
-
|
125
|
+
## <a name="core">Core Team</a>
|
122
126
|
* **Michael Bleigh** ([mbleigh](https://github.com/mbleigh))
|
123
127
|
* **Erik Michaels-Ober** ([sferik](https://github.com/sferik))
|
124
128
|
|
125
|
-
##
|
126
|
-
|
127
|
-
|
129
|
+
## <a name="rubies">Supported Rubies</a>
|
130
|
+
This library aims to support and is [tested
|
131
|
+
against](http://travis-ci.org/intridea/omniauth) the following Ruby
|
132
|
+
implementations:
|
133
|
+
|
134
|
+
* Ruby 1.8.7
|
135
|
+
* Ruby 1.9.2
|
136
|
+
* [JRuby](http://www.jruby.org/)
|
137
|
+
* [Rubinius](http://rubini.us/)
|
138
|
+
* [Ruby Enterprise Edition](http://www.rubyenterpriseedition.com/)
|
139
|
+
|
140
|
+
If something doesn't work on one of these interpreters, it should be considered
|
141
|
+
a bug.
|
142
|
+
|
143
|
+
This library may inadvertently work (or seem to work) on other Ruby
|
144
|
+
implementations, however support will only be provided for the versions listed
|
145
|
+
above.
|
146
|
+
|
147
|
+
If you would like this library to support another Ruby version, you may
|
148
|
+
volunteer to be a maintainer. Being a maintainer entails making sure all tests
|
149
|
+
run and pass on that implementation. When something breaks on your
|
150
|
+
implementation, you will be personally responsible for providing patches in a
|
151
|
+
timely fashion. If critical issues for a particular implementation exist at the
|
152
|
+
time of a major release, support for that Ruby version may be dropped.
|
153
|
+
|
154
|
+
## <a name="license">License</a>
|
155
|
+
OmniAuth is released under the MIT License.
|
data/lib/omniauth/version.rb
CHANGED
@@ -4,13 +4,13 @@ module OmniAuth
|
|
4
4
|
MAJOR = 0
|
5
5
|
end
|
6
6
|
unless defined?(::OmniAuth::Version::MINOR)
|
7
|
-
MINOR =
|
7
|
+
MINOR = 3
|
8
8
|
end
|
9
9
|
unless defined?(::OmniAuth::Version::PATCH)
|
10
|
-
PATCH =
|
10
|
+
PATCH = 0
|
11
11
|
end
|
12
12
|
unless defined?(::OmniAuth::Version::PRE)
|
13
|
-
PRE =
|
13
|
+
PRE = "rc3"
|
14
14
|
end
|
15
15
|
unless defined?(::OmniAuth::Version::STRING)
|
16
16
|
STRING = [MAJOR, MINOR, PATCH, PRE].compact.join('.')
|
metadata
CHANGED
@@ -1,8 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: omniauth
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
|
4
|
+
hash: 15424035
|
5
|
+
prerelease: 6
|
6
|
+
segments:
|
7
|
+
- 0
|
8
|
+
- 3
|
9
|
+
- 0
|
10
|
+
- rc
|
11
|
+
- 3
|
12
|
+
version: 0.3.0.rc3
|
6
13
|
platform: ruby
|
7
14
|
authors:
|
8
15
|
- Michael Bleigh
|
@@ -11,7 +18,7 @@ autorequire:
|
|
11
18
|
bindir: bin
|
12
19
|
cert_chain: []
|
13
20
|
|
14
|
-
date: 2011-
|
21
|
+
date: 2011-09-03 00:00:00 Z
|
15
22
|
dependencies:
|
16
23
|
- !ruby/object:Gem::Dependency
|
17
24
|
name: oa-basic
|
@@ -21,7 +28,14 @@ dependencies:
|
|
21
28
|
requirements:
|
22
29
|
- - "="
|
23
30
|
- !ruby/object:Gem::Version
|
24
|
-
|
31
|
+
hash: 15424035
|
32
|
+
segments:
|
33
|
+
- 0
|
34
|
+
- 3
|
35
|
+
- 0
|
36
|
+
- rc
|
37
|
+
- 3
|
38
|
+
version: 0.3.0.rc3
|
25
39
|
type: :runtime
|
26
40
|
version_requirements: *id001
|
27
41
|
- !ruby/object:Gem::Dependency
|
@@ -32,7 +46,14 @@ dependencies:
|
|
32
46
|
requirements:
|
33
47
|
- - "="
|
34
48
|
- !ruby/object:Gem::Version
|
35
|
-
|
49
|
+
hash: 15424035
|
50
|
+
segments:
|
51
|
+
- 0
|
52
|
+
- 3
|
53
|
+
- 0
|
54
|
+
- rc
|
55
|
+
- 3
|
56
|
+
version: 0.3.0.rc3
|
36
57
|
type: :runtime
|
37
58
|
version_requirements: *id002
|
38
59
|
- !ruby/object:Gem::Dependency
|
@@ -43,7 +64,14 @@ dependencies:
|
|
43
64
|
requirements:
|
44
65
|
- - "="
|
45
66
|
- !ruby/object:Gem::Version
|
46
|
-
|
67
|
+
hash: 15424035
|
68
|
+
segments:
|
69
|
+
- 0
|
70
|
+
- 3
|
71
|
+
- 0
|
72
|
+
- rc
|
73
|
+
- 3
|
74
|
+
version: 0.3.0.rc3
|
47
75
|
type: :runtime
|
48
76
|
version_requirements: *id003
|
49
77
|
- !ruby/object:Gem::Dependency
|
@@ -54,7 +82,14 @@ dependencies:
|
|
54
82
|
requirements:
|
55
83
|
- - "="
|
56
84
|
- !ruby/object:Gem::Version
|
57
|
-
|
85
|
+
hash: 15424035
|
86
|
+
segments:
|
87
|
+
- 0
|
88
|
+
- 3
|
89
|
+
- 0
|
90
|
+
- rc
|
91
|
+
- 3
|
92
|
+
version: 0.3.0.rc3
|
58
93
|
type: :runtime
|
59
94
|
version_requirements: *id004
|
60
95
|
- !ruby/object:Gem::Dependency
|
@@ -65,7 +100,14 @@ dependencies:
|
|
65
100
|
requirements:
|
66
101
|
- - "="
|
67
102
|
- !ruby/object:Gem::Version
|
68
|
-
|
103
|
+
hash: 15424035
|
104
|
+
segments:
|
105
|
+
- 0
|
106
|
+
- 3
|
107
|
+
- 0
|
108
|
+
- rc
|
109
|
+
- 3
|
110
|
+
version: 0.3.0.rc3
|
69
111
|
type: :runtime
|
70
112
|
version_requirements: *id005
|
71
113
|
- !ruby/object:Gem::Dependency
|
@@ -76,10 +118,17 @@ dependencies:
|
|
76
118
|
requirements:
|
77
119
|
- - "="
|
78
120
|
- !ruby/object:Gem::Version
|
79
|
-
|
121
|
+
hash: 15424035
|
122
|
+
segments:
|
123
|
+
- 0
|
124
|
+
- 3
|
125
|
+
- 0
|
126
|
+
- rc
|
127
|
+
- 3
|
128
|
+
version: 0.3.0.rc3
|
80
129
|
type: :runtime
|
81
130
|
version_requirements: *id006
|
82
|
-
description: OmniAuth is an authentication framework that
|
131
|
+
description: OmniAuth is an authentication framework that separates the concept of authentiation from the concept of identity, providing simple hooks for any application to have one or multiple authentication providers for a user.
|
83
132
|
email:
|
84
133
|
- michael@intridea.com
|
85
134
|
- sferik@gmail.com
|
@@ -90,221 +139,10 @@ extensions: []
|
|
90
139
|
extra_rdoc_files: []
|
91
140
|
|
92
141
|
files:
|
93
|
-
- .autotest
|
94
|
-
- .document
|
95
|
-
- .gemtest
|
96
|
-
- .gitignore
|
97
|
-
- .rspec
|
98
|
-
- .travis.yml
|
99
|
-
- .yardopts
|
100
|
-
- Gemfile
|
101
|
-
- LICENSE.md
|
102
|
-
- README.md
|
103
|
-
- Rakefile
|
104
|
-
- lib/omniauth.rb
|
105
142
|
- lib/omniauth/version.rb
|
106
|
-
-
|
107
|
-
-
|
108
|
-
-
|
109
|
-
- oa-basic/Gemfile
|
110
|
-
- oa-basic/LICENSE
|
111
|
-
- oa-basic/README.rdoc
|
112
|
-
- oa-basic/Rakefile
|
113
|
-
- oa-basic/lib/oa-basic.rb
|
114
|
-
- oa-basic/lib/omniauth/basic.rb
|
115
|
-
- oa-basic/lib/omniauth/strategies/http_basic.rb
|
116
|
-
- oa-basic/lib/omniauth/version.rb
|
117
|
-
- oa-basic/oa-basic.gemspec
|
118
|
-
- oa-basic/spec/omniauth/strategies/basic_spec.rb
|
119
|
-
- oa-basic/spec/spec_helper.rb
|
120
|
-
- oa-core/.gemtest
|
121
|
-
- oa-core/.rspec
|
122
|
-
- oa-core/.yardopts
|
123
|
-
- oa-core/Gemfile
|
124
|
-
- oa-core/LICENSE
|
125
|
-
- oa-core/Rakefile
|
126
|
-
- oa-core/autotest/discover.rb
|
127
|
-
- oa-core/lib/oa-core.rb
|
128
|
-
- oa-core/lib/omniauth/builder.rb
|
129
|
-
- oa-core/lib/omniauth/core.rb
|
130
|
-
- oa-core/lib/omniauth/form.rb
|
131
|
-
- oa-core/lib/omniauth/strategy.rb
|
132
|
-
- oa-core/lib/omniauth/test.rb
|
133
|
-
- oa-core/lib/omniauth/test/phony_session.rb
|
134
|
-
- oa-core/lib/omniauth/test/strategy_macros.rb
|
135
|
-
- oa-core/lib/omniauth/test/strategy_test_case.rb
|
136
|
-
- oa-core/lib/omniauth/version.rb
|
137
|
-
- oa-core/oa-core.gemspec
|
138
|
-
- oa-core/spec/omniauth/builder_spec.rb
|
139
|
-
- oa-core/spec/omniauth/core_spec.rb
|
140
|
-
- oa-core/spec/omniauth/strategy_spec.rb
|
141
|
-
- oa-core/spec/spec_helper.rb
|
142
|
-
- oa-enterprise/.gemtest
|
143
|
-
- oa-enterprise/.rspec
|
144
|
-
- oa-enterprise/.yardopts
|
145
|
-
- oa-enterprise/Gemfile
|
146
|
-
- oa-enterprise/LICENSE
|
147
|
-
- oa-enterprise/README.rdoc
|
148
|
-
- oa-enterprise/Rakefile
|
149
|
-
- oa-enterprise/lib/oa-enterprise.rb
|
150
|
-
- oa-enterprise/lib/omniauth/enterprise.rb
|
151
|
-
- oa-enterprise/lib/omniauth/strategies/cas.rb
|
152
|
-
- oa-enterprise/lib/omniauth/strategies/cas/configuration.rb
|
153
|
-
- oa-enterprise/lib/omniauth/strategies/cas/service_ticket_validator.rb
|
154
|
-
- oa-enterprise/lib/omniauth/strategies/ldap.rb
|
155
|
-
- oa-enterprise/lib/omniauth/strategies/ldap/adaptor.rb
|
156
|
-
- oa-enterprise/lib/omniauth/version.rb
|
157
|
-
- oa-enterprise/oa-enterprise.gemspec
|
158
|
-
- oa-enterprise/spec/fixtures/cas_failure.xml
|
159
|
-
- oa-enterprise/spec/fixtures/cas_success.xml
|
160
|
-
- oa-enterprise/spec/omniauth/strategies/cas_spec.rb
|
161
|
-
- oa-enterprise/spec/omniauth/strategies/ldap_spec.rb
|
162
|
-
- oa-enterprise/spec/spec_helper.rb
|
163
|
-
- oa-more/.gemtest
|
164
|
-
- oa-more/.rspec
|
165
|
-
- oa-more/.yardopts
|
166
|
-
- oa-more/Gemfile
|
167
|
-
- oa-more/LICENSE
|
168
|
-
- oa-more/README.rdoc
|
169
|
-
- oa-more/Rakefile
|
170
|
-
- oa-more/lib/oa-more.rb
|
171
|
-
- oa-more/lib/omniauth/more.rb
|
172
|
-
- oa-more/lib/omniauth/strategies/draugiem.rb
|
173
|
-
- oa-more/lib/omniauth/strategies/flickr.rb
|
174
|
-
- oa-more/lib/omniauth/strategies/ign.rb
|
175
|
-
- oa-more/lib/omniauth/strategies/windows_live.rb
|
176
|
-
- oa-more/lib/omniauth/strategies/windows_live/windowslivelogin.rb
|
177
|
-
- oa-more/lib/omniauth/strategies/yupoo.rb
|
178
|
-
- oa-more/lib/omniauth/version.rb
|
179
|
-
- oa-more/oa-more.gemspec
|
180
|
-
- oa-more/spec/omniauth/strategies/draugiem_spec.rb
|
181
|
-
- oa-more/spec/omniauth/strategies/flickr_spec.rb
|
182
|
-
- oa-more/spec/spec_helper.rb
|
183
|
-
- oa-oauth/.gemtest
|
184
|
-
- oa-oauth/.rspec
|
185
|
-
- oa-oauth/.yardopts
|
186
|
-
- oa-oauth/Gemfile
|
187
|
-
- oa-oauth/LICENSE
|
188
|
-
- oa-oauth/README.rdoc
|
189
|
-
- oa-oauth/Rakefile
|
190
|
-
- oa-oauth/autotest/discover.rb
|
191
|
-
- oa-oauth/lib/oa-oauth.rb
|
192
|
-
- oa-oauth/lib/omniauth/oauth.rb
|
193
|
-
- oa-oauth/lib/omniauth/strategies/bitly.rb
|
194
|
-
- oa-oauth/lib/omniauth/strategies/dailymile.rb
|
195
|
-
- oa-oauth/lib/omniauth/strategies/doit.rb
|
196
|
-
- oa-oauth/lib/omniauth/strategies/dopplr.rb
|
197
|
-
- oa-oauth/lib/omniauth/strategies/douban.rb
|
198
|
-
- oa-oauth/lib/omniauth/strategies/evernote.rb
|
199
|
-
- oa-oauth/lib/omniauth/strategies/facebook.rb
|
200
|
-
- oa-oauth/lib/omniauth/strategies/foursquare.rb
|
201
|
-
- oa-oauth/lib/omniauth/strategies/github.rb
|
202
|
-
- oa-oauth/lib/omniauth/strategies/goodreads.rb
|
203
|
-
- oa-oauth/lib/omniauth/strategies/google.rb
|
204
|
-
- oa-oauth/lib/omniauth/strategies/gowalla.rb
|
205
|
-
- oa-oauth/lib/omniauth/strategies/hyves.rb
|
206
|
-
- oa-oauth/lib/omniauth/strategies/identica.rb
|
207
|
-
- oa-oauth/lib/omniauth/strategies/instagram.rb
|
208
|
-
- oa-oauth/lib/omniauth/strategies/instapaper.rb
|
209
|
-
- oa-oauth/lib/omniauth/strategies/linked_in.rb
|
210
|
-
- oa-oauth/lib/omniauth/strategies/mailru.rb
|
211
|
-
- oa-oauth/lib/omniauth/strategies/meetup.rb
|
212
|
-
- oa-oauth/lib/omniauth/strategies/miso.rb
|
213
|
-
- oa-oauth/lib/omniauth/strategies/mixi.rb
|
214
|
-
- oa-oauth/lib/omniauth/strategies/netflix.rb
|
215
|
-
- oa-oauth/lib/omniauth/strategies/oauth.rb
|
216
|
-
- oa-oauth/lib/omniauth/strategies/oauth2.rb
|
217
|
-
- oa-oauth/lib/omniauth/strategies/plurk.rb
|
218
|
-
- oa-oauth/lib/omniauth/strategies/qzone.rb
|
219
|
-
- oa-oauth/lib/omniauth/strategies/rdio.rb
|
220
|
-
- oa-oauth/lib/omniauth/strategies/renren.rb
|
221
|
-
- oa-oauth/lib/omniauth/strategies/salesforce.rb
|
222
|
-
- oa-oauth/lib/omniauth/strategies/smug_mug.rb
|
223
|
-
- oa-oauth/lib/omniauth/strategies/sound_cloud.rb
|
224
|
-
- oa-oauth/lib/omniauth/strategies/t163.rb
|
225
|
-
- oa-oauth/lib/omniauth/strategies/taobao.rb
|
226
|
-
- oa-oauth/lib/omniauth/strategies/teambox.rb
|
227
|
-
- oa-oauth/lib/omniauth/strategies/thirty_seven_signals.rb
|
228
|
-
- oa-oauth/lib/omniauth/strategies/tqq.rb
|
229
|
-
- oa-oauth/lib/omniauth/strategies/trade_me.rb
|
230
|
-
- oa-oauth/lib/omniauth/strategies/trip_it.rb
|
231
|
-
- oa-oauth/lib/omniauth/strategies/tsina.rb
|
232
|
-
- oa-oauth/lib/omniauth/strategies/tsohu.rb
|
233
|
-
- oa-oauth/lib/omniauth/strategies/tumblr.rb
|
234
|
-
- oa-oauth/lib/omniauth/strategies/twitter.rb
|
235
|
-
- oa-oauth/lib/omniauth/strategies/type_pad.rb
|
236
|
-
- oa-oauth/lib/omniauth/strategies/vimeo.rb
|
237
|
-
- oa-oauth/lib/omniauth/strategies/vkontakte.rb
|
238
|
-
- oa-oauth/lib/omniauth/strategies/xauth.rb
|
239
|
-
- oa-oauth/lib/omniauth/strategies/yahoo.rb
|
240
|
-
- oa-oauth/lib/omniauth/strategies/yammer.rb
|
241
|
-
- oa-oauth/lib/omniauth/strategies/you_tube.rb
|
242
|
-
- oa-oauth/lib/omniauth/version.rb
|
243
|
-
- oa-oauth/oa-oauth.gemspec
|
244
|
-
- oa-oauth/spec/fixtures/basecamp_200.xml
|
245
|
-
- oa-oauth/spec/fixtures/campfire_200.json
|
246
|
-
- oa-oauth/spec/omniauth/strategies/bitly_spec.rb
|
247
|
-
- oa-oauth/spec/omniauth/strategies/dailymile_spec.rb
|
248
|
-
- oa-oauth/spec/omniauth/strategies/doit_spec.rb
|
249
|
-
- oa-oauth/spec/omniauth/strategies/dopplr_spec.rb
|
250
|
-
- oa-oauth/spec/omniauth/strategies/douban_spec.rb
|
251
|
-
- oa-oauth/spec/omniauth/strategies/evernote_spec.rb
|
252
|
-
- oa-oauth/spec/omniauth/strategies/facebook_spec.rb
|
253
|
-
- oa-oauth/spec/omniauth/strategies/foursquare_spec.rb
|
254
|
-
- oa-oauth/spec/omniauth/strategies/github_spec.rb
|
255
|
-
- oa-oauth/spec/omniauth/strategies/goodreads_spec.rb
|
256
|
-
- oa-oauth/spec/omniauth/strategies/google_spec.rb
|
257
|
-
- oa-oauth/spec/omniauth/strategies/gowalla_spec.rb
|
258
|
-
- oa-oauth/spec/omniauth/strategies/hyves_spec.rb
|
259
|
-
- oa-oauth/spec/omniauth/strategies/identica_spec.rb
|
260
|
-
- oa-oauth/spec/omniauth/strategies/linked_in_spec.rb
|
261
|
-
- oa-oauth/spec/omniauth/strategies/mailru_spec.rb
|
262
|
-
- oa-oauth/spec/omniauth/strategies/meetup_spec.rb
|
263
|
-
- oa-oauth/spec/omniauth/strategies/miso_spec.rb
|
264
|
-
- oa-oauth/spec/omniauth/strategies/netflix_spec.rb
|
265
|
-
- oa-oauth/spec/omniauth/strategies/oauth2_spec.rb
|
266
|
-
- oa-oauth/spec/omniauth/strategies/oauth_spec.rb
|
267
|
-
- oa-oauth/spec/omniauth/strategies/plurk_spec.rb
|
268
|
-
- oa-oauth/spec/omniauth/strategies/rdio_spec.rb
|
269
|
-
- oa-oauth/spec/omniauth/strategies/salesforce_spec.rb
|
270
|
-
- oa-oauth/spec/omniauth/strategies/smug_mug_spec.rb
|
271
|
-
- oa-oauth/spec/omniauth/strategies/sound_cloud_spec.rb
|
272
|
-
- oa-oauth/spec/omniauth/strategies/t163_spec.rb
|
273
|
-
- oa-oauth/spec/omniauth/strategies/taobao_spec.rb
|
274
|
-
- oa-oauth/spec/omniauth/strategies/teambox_spec.rb
|
275
|
-
- oa-oauth/spec/omniauth/strategies/thirty_seven_signals_spec.rb
|
276
|
-
- oa-oauth/spec/omniauth/strategies/trade_me_spec.rb
|
277
|
-
- oa-oauth/spec/omniauth/strategies/trip_it_spec.rb
|
278
|
-
- oa-oauth/spec/omniauth/strategies/tsina_spec.rb
|
279
|
-
- oa-oauth/spec/omniauth/strategies/tumblr_spec.rb
|
280
|
-
- oa-oauth/spec/omniauth/strategies/twitter_spec.rb
|
281
|
-
- oa-oauth/spec/omniauth/strategies/type_pad_spec.rb
|
282
|
-
- oa-oauth/spec/omniauth/strategies/vimeo_spec.rb
|
283
|
-
- oa-oauth/spec/omniauth/strategies/vkontakte_spec.rb
|
284
|
-
- oa-oauth/spec/omniauth/strategies/yahoo_spec.rb
|
285
|
-
- oa-oauth/spec/omniauth/strategies/yammer_spec.rb
|
286
|
-
- oa-oauth/spec/omniauth/strategies/you_tube_spec.rb
|
287
|
-
- oa-oauth/spec/spec_helper.rb
|
288
|
-
- oa-oauth/spec/support/shared_examples.rb
|
289
|
-
- oa-openid/.gemtest
|
290
|
-
- oa-openid/.rspec
|
291
|
-
- oa-openid/.yardopts
|
292
|
-
- oa-openid/Gemfile
|
293
|
-
- oa-openid/LICENSE
|
294
|
-
- oa-openid/README.rdoc
|
295
|
-
- oa-openid/Rakefile
|
296
|
-
- oa-openid/lib/oa-openid.rb
|
297
|
-
- oa-openid/lib/omniauth/openid.rb
|
298
|
-
- oa-openid/lib/omniauth/openid/gapps.rb
|
299
|
-
- oa-openid/lib/omniauth/strategies/google_apps.rb
|
300
|
-
- oa-openid/lib/omniauth/strategies/open_id.rb
|
301
|
-
- oa-openid/lib/omniauth/strategies/steam.rb
|
302
|
-
- oa-openid/lib/omniauth/version.rb
|
303
|
-
- oa-openid/oa-openid.gemspec
|
304
|
-
- oa-openid/spec/omniauth/strategies/open_id_spec.rb
|
305
|
-
- oa-openid/spec/spec_helper.rb
|
306
|
-
- omniauth.gemspec
|
307
|
-
- tasks/all.rb
|
143
|
+
- lib/omniauth.rb
|
144
|
+
- README.md
|
145
|
+
- LICENSE.md
|
308
146
|
homepage: http://github.com/intridea/omniauth
|
309
147
|
licenses: []
|
310
148
|
|
@@ -318,19 +156,27 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
318
156
|
requirements:
|
319
157
|
- - ">="
|
320
158
|
- !ruby/object:Gem::Version
|
159
|
+
hash: 3
|
160
|
+
segments:
|
161
|
+
- 0
|
321
162
|
version: "0"
|
322
163
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
323
164
|
none: false
|
324
165
|
requirements:
|
325
|
-
- - "
|
166
|
+
- - ">"
|
326
167
|
- !ruby/object:Gem::Version
|
327
|
-
|
168
|
+
hash: 25
|
169
|
+
segments:
|
170
|
+
- 1
|
171
|
+
- 3
|
172
|
+
- 1
|
173
|
+
version: 1.3.1
|
328
174
|
requirements: []
|
329
175
|
|
330
176
|
rubyforge_project:
|
331
|
-
rubygems_version: 1.8.
|
177
|
+
rubygems_version: 1.8.10
|
332
178
|
signing_key:
|
333
179
|
specification_version: 3
|
334
|
-
summary: Rack middleware for standardized multi-provider authentication
|
180
|
+
summary: Rack middleware for standardized multi-provider authentication
|
335
181
|
test_files: []
|
336
182
|
|