houston-oauth-plugin 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +12 -0
- data/CHANGELOG +187 -0
- data/Gemfile +27 -0
- data/Guardfile +8 -0
- data/MIT-LICENSE +20 -0
- data/README.rdoc +542 -0
- data/Rakefile +1 -0
- data/UPGRADE.rdoc +21 -0
- data/generators/oauth_consumer/USAGE +10 -0
- data/generators/oauth_consumer/oauth_consumer_generator.rb +52 -0
- data/generators/oauth_consumer/templates/consumer_token.rb +11 -0
- data/generators/oauth_consumer/templates/controller.rb +27 -0
- data/generators/oauth_consumer/templates/index.html.erb +29 -0
- data/generators/oauth_consumer/templates/index.html.haml +18 -0
- data/generators/oauth_consumer/templates/index.html.slim +15 -0
- data/generators/oauth_consumer/templates/migration.rb +23 -0
- data/generators/oauth_consumer/templates/oauth_config.rb +73 -0
- data/generators/oauth_consumer/templates/show.html.erb +7 -0
- data/generators/oauth_consumer/templates/show.html.haml +8 -0
- data/generators/oauth_consumer/templates/show.html.slim +8 -0
- data/generators/oauth_provider/USAGE +20 -0
- data/generators/oauth_provider/lib/insert_routes.rb +67 -0
- data/generators/oauth_provider/oauth_provider_generator.rb +127 -0
- data/generators/oauth_provider/templates/_form.html.erb +17 -0
- data/generators/oauth_provider/templates/_form.html.haml +21 -0
- data/generators/oauth_provider/templates/access_token.rb +16 -0
- data/generators/oauth_provider/templates/authorize.html.erb +14 -0
- data/generators/oauth_provider/templates/authorize.html.haml +16 -0
- data/generators/oauth_provider/templates/authorize_failure.html.erb +1 -0
- data/generators/oauth_provider/templates/authorize_failure.html.haml +1 -0
- data/generators/oauth_provider/templates/authorize_success.html.erb +1 -0
- data/generators/oauth_provider/templates/authorize_success.html.haml +1 -0
- data/generators/oauth_provider/templates/client_application.rb +57 -0
- data/generators/oauth_provider/templates/client_application_spec.rb +29 -0
- data/generators/oauth_provider/templates/client_application_test.rb +42 -0
- data/generators/oauth_provider/templates/client_applications.yml +23 -0
- data/generators/oauth_provider/templates/clients_controller.rb +52 -0
- data/generators/oauth_provider/templates/clients_controller_spec.rb +176 -0
- data/generators/oauth_provider/templates/clients_controller_test.rb +280 -0
- data/generators/oauth_provider/templates/controller.rb +23 -0
- data/generators/oauth_provider/templates/edit.html.erb +7 -0
- data/generators/oauth_provider/templates/edit.html.haml +4 -0
- data/generators/oauth_provider/templates/index.html.erb +43 -0
- data/generators/oauth_provider/templates/index.html.haml +39 -0
- data/generators/oauth_provider/templates/migration.rb +47 -0
- data/generators/oauth_provider/templates/new.html.erb +5 -0
- data/generators/oauth_provider/templates/new.html.haml +5 -0
- data/generators/oauth_provider/templates/oauth2_authorize.html.erb +16 -0
- data/generators/oauth_provider/templates/oauth2_authorize.html.haml +17 -0
- data/generators/oauth_provider/templates/oauth2_token.rb +20 -0
- data/generators/oauth_provider/templates/oauth2_token_spec.rb +52 -0
- data/generators/oauth_provider/templates/oauth2_verifier.rb +35 -0
- data/generators/oauth_provider/templates/oauth2_verifier_spec.rb +44 -0
- data/generators/oauth_provider/templates/oauth_nonce.rb +13 -0
- data/generators/oauth_provider/templates/oauth_nonce_spec.rb +24 -0
- data/generators/oauth_provider/templates/oauth_nonce_test.rb +26 -0
- data/generators/oauth_provider/templates/oauth_nonces.yml +13 -0
- data/generators/oauth_provider/templates/oauth_token.rb +30 -0
- data/generators/oauth_provider/templates/oauth_token_spec.rb +309 -0
- data/generators/oauth_provider/templates/oauth_token_test.rb +57 -0
- data/generators/oauth_provider/templates/oauth_tokens.yml +17 -0
- data/generators/oauth_provider/templates/request_token.rb +40 -0
- data/generators/oauth_provider/templates/show.html.erb +27 -0
- data/generators/oauth_provider/templates/show.html.haml +30 -0
- data/init.rb +1 -0
- data/install.rb +2 -0
- data/lib/generators/active_record/oauth_consumer_generator.rb +33 -0
- data/lib/generators/active_record/oauth_consumer_templates/consumer_token.rb +11 -0
- data/lib/generators/active_record/oauth_consumer_templates/migration.rb +20 -0
- data/lib/generators/active_record/oauth_provider_generator.rb +39 -0
- data/lib/generators/active_record/oauth_provider_templates/access_token.rb +16 -0
- data/lib/generators/active_record/oauth_provider_templates/client_application.rb +57 -0
- data/lib/generators/active_record/oauth_provider_templates/migration.rb +47 -0
- data/lib/generators/active_record/oauth_provider_templates/oauth2_token.rb +20 -0
- data/lib/generators/active_record/oauth_provider_templates/oauth2_verifier.rb +35 -0
- data/lib/generators/active_record/oauth_provider_templates/oauth_nonce.rb +13 -0
- data/lib/generators/active_record/oauth_provider_templates/oauth_token.rb +30 -0
- data/lib/generators/active_record/oauth_provider_templates/request_token.rb +40 -0
- data/lib/generators/erb/oauth_consumer_generator.rb +14 -0
- data/lib/generators/erb/oauth_consumer_templates/index.html.erb +29 -0
- data/lib/generators/erb/oauth_consumer_templates/show.html.erb +7 -0
- data/lib/generators/erb/oauth_provider_generator.rb +23 -0
- data/lib/generators/erb/oauth_provider_templates/_form.html.erb +17 -0
- data/lib/generators/erb/oauth_provider_templates/authorize.html.erb +14 -0
- data/lib/generators/erb/oauth_provider_templates/authorize_failure.html.erb +1 -0
- data/lib/generators/erb/oauth_provider_templates/authorize_success.html.erb +1 -0
- data/lib/generators/erb/oauth_provider_templates/edit.html.erb +7 -0
- data/lib/generators/erb/oauth_provider_templates/index.html.erb +43 -0
- data/lib/generators/erb/oauth_provider_templates/new.html.erb +5 -0
- data/lib/generators/erb/oauth_provider_templates/oauth2_authorize.html.erb +16 -0
- data/lib/generators/erb/oauth_provider_templates/show.html.erb +27 -0
- data/lib/generators/haml/oauth_consumer_generator.rb +21 -0
- data/lib/generators/haml/oauth_consumer_templates/index.html.haml +18 -0
- data/lib/generators/haml/oauth_consumer_templates/show.html.haml +8 -0
- data/lib/generators/haml/oauth_provider_generator.rb +28 -0
- data/lib/generators/haml/oauth_provider_templates/_form.html.haml +21 -0
- data/lib/generators/haml/oauth_provider_templates/authorize.html.haml +16 -0
- data/lib/generators/haml/oauth_provider_templates/authorize_failure.html.haml +1 -0
- data/lib/generators/haml/oauth_provider_templates/authorize_success.html.haml +1 -0
- data/lib/generators/haml/oauth_provider_templates/edit.html.haml +4 -0
- data/lib/generators/haml/oauth_provider_templates/index.html.haml +39 -0
- data/lib/generators/haml/oauth_provider_templates/new.html.haml +5 -0
- data/lib/generators/haml/oauth_provider_templates/oauth2_authorize.html.haml +17 -0
- data/lib/generators/haml/oauth_provider_templates/show.html.haml +30 -0
- data/lib/generators/mongoid/oauth_consumer_generator.rb +15 -0
- data/lib/generators/mongoid/oauth_consumer_templates/consumer_token.rb +41 -0
- data/lib/generators/mongoid/oauth_provider_generator.rb +21 -0
- data/lib/generators/mongoid/oauth_provider_templates/access_token.rb +16 -0
- data/lib/generators/mongoid/oauth_provider_templates/client_application.rb +71 -0
- data/lib/generators/mongoid/oauth_provider_templates/oauth2_token.rb +20 -0
- data/lib/generators/mongoid/oauth_provider_templates/oauth2_verifier.rb +35 -0
- data/lib/generators/mongoid/oauth_provider_templates/oauth_nonce.rb +24 -0
- data/lib/generators/mongoid/oauth_provider_templates/oauth_token.rb +44 -0
- data/lib/generators/mongoid/oauth_provider_templates/request_token.rb +36 -0
- data/lib/generators/oauth_consumer/USAGE +11 -0
- data/lib/generators/oauth_consumer/oauth_consumer_generator.rb +31 -0
- data/lib/generators/oauth_consumer/templates/controller.rb +59 -0
- data/lib/generators/oauth_consumer/templates/oauth_config.rb +68 -0
- data/lib/generators/oauth_inflections.rb +6 -0
- data/lib/generators/oauth_plugin.rb +0 -0
- data/lib/generators/oauth_provider/USAGE +18 -0
- data/lib/generators/oauth_provider/oauth_provider_generator.rb +37 -0
- data/lib/generators/oauth_provider/templates/clients_controller.rb +52 -0
- data/lib/generators/oauth_provider/templates/controller.rb +23 -0
- data/lib/generators/rspec/oauth_provider_generator.rb +35 -0
- data/lib/generators/rspec/templates/client_application_spec.rb +29 -0
- data/lib/generators/rspec/templates/client_applications.yml +23 -0
- data/lib/generators/rspec/templates/clients_controller_spec.rb +176 -0
- data/lib/generators/rspec/templates/oauth2_token_spec.rb +52 -0
- data/lib/generators/rspec/templates/oauth2_verifier_spec.rb +44 -0
- data/lib/generators/rspec/templates/oauth_nonce_spec.rb +24 -0
- data/lib/generators/rspec/templates/oauth_nonces.yml +13 -0
- data/lib/generators/rspec/templates/oauth_token_spec.rb +309 -0
- data/lib/generators/rspec/templates/oauth_tokens.yml +17 -0
- data/lib/generators/slim/oauth_consumer_generator.rb +21 -0
- data/lib/generators/slim/oauth_consumer_templates/index.html.slim +15 -0
- data/lib/generators/slim/oauth_consumer_templates/show.html.slim +8 -0
- data/lib/generators/test_unit/oauth_provider_generator.rb +33 -0
- data/lib/generators/test_unit/templates/client_application_test.rb +42 -0
- data/lib/generators/test_unit/templates/client_applications.yml +23 -0
- data/lib/generators/test_unit/templates/clients_controller_test.rb +280 -0
- data/lib/generators/test_unit/templates/oauth_nonce_test.rb +26 -0
- data/lib/generators/test_unit/templates/oauth_nonces.yml +13 -0
- data/lib/generators/test_unit/templates/oauth_token_test.rb +57 -0
- data/lib/generators/test_unit/templates/oauth_tokens.yml +17 -0
- data/lib/oauth-plugin.rb +24 -0
- data/lib/oauth-plugin/version.rb +5 -0
- data/lib/oauth/controllers/application_controller_methods.rb +140 -0
- data/lib/oauth/controllers/consumer_controller.rb +153 -0
- data/lib/oauth/controllers/provider_controller.rb +181 -0
- data/lib/oauth/models/consumers/service_loader.rb +28 -0
- data/lib/oauth/models/consumers/services/agree2_token.rb +15 -0
- data/lib/oauth/models/consumers/services/fireeagle_token.rb +39 -0
- data/lib/oauth/models/consumers/services/google_token.rb +21 -0
- data/lib/oauth/models/consumers/services/oauth2_token.rb +49 -0
- data/lib/oauth/models/consumers/services/opentransact_token.rb +15 -0
- data/lib/oauth/models/consumers/services/picomoney_token.rb +17 -0
- data/lib/oauth/models/consumers/services/twitter_token.rb +24 -0
- data/lib/oauth/models/consumers/simple_client.rb +50 -0
- data/lib/oauth/models/consumers/token.rb +121 -0
- data/lib/oauth/provider/authorizer.rb +83 -0
- data/lib/oauth/rack/oauth_filter.rb +97 -0
- data/oauth-plugin.gemspec +40 -0
- data/rails/init.rb +1 -0
- data/spec/dummy_provider_models.rb +53 -0
- data/spec/oauth/provider/authorizer_spec.rb +202 -0
- data/spec/rack/oauth_filter_spec.rb +244 -0
- data/spec/spec_helper.rb +3 -0
- data/tasks/oauth_tasks.rake +4 -0
- data/uninstall.rb +1 -0
- metadata +373 -0
data/spec/spec_helper.rb
ADDED
data/uninstall.rb
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
# Uninstall hook code here
|
metadata
ADDED
@@ -0,0 +1,373 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: houston-oauth-plugin
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.5.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Pelle Braendgaard
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2011-10-20 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: opentransact
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rspec
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 2.4.0
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 2.4.0
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: fakeweb
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: fuubar
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: guard-rspec
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: growl
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: rack-test
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ">="
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ">="
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: multi_json
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - ">="
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
118
|
+
type: :runtime
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - ">="
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '0'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: oauth
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - "~>"
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: 0.4.4
|
132
|
+
type: :runtime
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - "~>"
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: 0.4.4
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: rack
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - ">="
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: '0'
|
146
|
+
type: :runtime
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - ">="
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: '0'
|
153
|
+
- !ruby/object:Gem::Dependency
|
154
|
+
name: oauth2
|
155
|
+
requirement: !ruby/object:Gem::Requirement
|
156
|
+
requirements:
|
157
|
+
- - ">="
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: 0.5.0
|
160
|
+
type: :runtime
|
161
|
+
prerelease: false
|
162
|
+
version_requirements: !ruby/object:Gem::Requirement
|
163
|
+
requirements:
|
164
|
+
- - ">="
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: 0.5.0
|
167
|
+
description: Rails plugin for implementing an OAuth Provider or Consumer
|
168
|
+
email: oauth-ruby@googlegroups.com
|
169
|
+
executables: []
|
170
|
+
extensions: []
|
171
|
+
extra_rdoc_files:
|
172
|
+
- README.rdoc
|
173
|
+
files:
|
174
|
+
- ".gitignore"
|
175
|
+
- CHANGELOG
|
176
|
+
- Gemfile
|
177
|
+
- Guardfile
|
178
|
+
- MIT-LICENSE
|
179
|
+
- README.rdoc
|
180
|
+
- Rakefile
|
181
|
+
- UPGRADE.rdoc
|
182
|
+
- generators/oauth_consumer/USAGE
|
183
|
+
- generators/oauth_consumer/oauth_consumer_generator.rb
|
184
|
+
- generators/oauth_consumer/templates/consumer_token.rb
|
185
|
+
- generators/oauth_consumer/templates/controller.rb
|
186
|
+
- generators/oauth_consumer/templates/index.html.erb
|
187
|
+
- generators/oauth_consumer/templates/index.html.haml
|
188
|
+
- generators/oauth_consumer/templates/index.html.slim
|
189
|
+
- generators/oauth_consumer/templates/migration.rb
|
190
|
+
- generators/oauth_consumer/templates/oauth_config.rb
|
191
|
+
- generators/oauth_consumer/templates/show.html.erb
|
192
|
+
- generators/oauth_consumer/templates/show.html.haml
|
193
|
+
- generators/oauth_consumer/templates/show.html.slim
|
194
|
+
- generators/oauth_provider/USAGE
|
195
|
+
- generators/oauth_provider/lib/insert_routes.rb
|
196
|
+
- generators/oauth_provider/oauth_provider_generator.rb
|
197
|
+
- generators/oauth_provider/templates/_form.html.erb
|
198
|
+
- generators/oauth_provider/templates/_form.html.haml
|
199
|
+
- generators/oauth_provider/templates/access_token.rb
|
200
|
+
- generators/oauth_provider/templates/authorize.html.erb
|
201
|
+
- generators/oauth_provider/templates/authorize.html.haml
|
202
|
+
- generators/oauth_provider/templates/authorize_failure.html.erb
|
203
|
+
- generators/oauth_provider/templates/authorize_failure.html.haml
|
204
|
+
- generators/oauth_provider/templates/authorize_success.html.erb
|
205
|
+
- generators/oauth_provider/templates/authorize_success.html.haml
|
206
|
+
- generators/oauth_provider/templates/client_application.rb
|
207
|
+
- generators/oauth_provider/templates/client_application_spec.rb
|
208
|
+
- generators/oauth_provider/templates/client_application_test.rb
|
209
|
+
- generators/oauth_provider/templates/client_applications.yml
|
210
|
+
- generators/oauth_provider/templates/clients_controller.rb
|
211
|
+
- generators/oauth_provider/templates/clients_controller_spec.rb
|
212
|
+
- generators/oauth_provider/templates/clients_controller_test.rb
|
213
|
+
- generators/oauth_provider/templates/controller.rb
|
214
|
+
- generators/oauth_provider/templates/edit.html.erb
|
215
|
+
- generators/oauth_provider/templates/edit.html.haml
|
216
|
+
- generators/oauth_provider/templates/index.html.erb
|
217
|
+
- generators/oauth_provider/templates/index.html.haml
|
218
|
+
- generators/oauth_provider/templates/migration.rb
|
219
|
+
- generators/oauth_provider/templates/new.html.erb
|
220
|
+
- generators/oauth_provider/templates/new.html.haml
|
221
|
+
- generators/oauth_provider/templates/oauth2_authorize.html.erb
|
222
|
+
- generators/oauth_provider/templates/oauth2_authorize.html.haml
|
223
|
+
- generators/oauth_provider/templates/oauth2_token.rb
|
224
|
+
- generators/oauth_provider/templates/oauth2_token_spec.rb
|
225
|
+
- generators/oauth_provider/templates/oauth2_verifier.rb
|
226
|
+
- generators/oauth_provider/templates/oauth2_verifier_spec.rb
|
227
|
+
- generators/oauth_provider/templates/oauth_nonce.rb
|
228
|
+
- generators/oauth_provider/templates/oauth_nonce_spec.rb
|
229
|
+
- generators/oauth_provider/templates/oauth_nonce_test.rb
|
230
|
+
- generators/oauth_provider/templates/oauth_nonces.yml
|
231
|
+
- generators/oauth_provider/templates/oauth_token.rb
|
232
|
+
- generators/oauth_provider/templates/oauth_token_spec.rb
|
233
|
+
- generators/oauth_provider/templates/oauth_token_test.rb
|
234
|
+
- generators/oauth_provider/templates/oauth_tokens.yml
|
235
|
+
- generators/oauth_provider/templates/request_token.rb
|
236
|
+
- generators/oauth_provider/templates/show.html.erb
|
237
|
+
- generators/oauth_provider/templates/show.html.haml
|
238
|
+
- init.rb
|
239
|
+
- install.rb
|
240
|
+
- lib/generators/active_record/oauth_consumer_generator.rb
|
241
|
+
- lib/generators/active_record/oauth_consumer_templates/consumer_token.rb
|
242
|
+
- lib/generators/active_record/oauth_consumer_templates/migration.rb
|
243
|
+
- lib/generators/active_record/oauth_provider_generator.rb
|
244
|
+
- lib/generators/active_record/oauth_provider_templates/access_token.rb
|
245
|
+
- lib/generators/active_record/oauth_provider_templates/client_application.rb
|
246
|
+
- lib/generators/active_record/oauth_provider_templates/migration.rb
|
247
|
+
- lib/generators/active_record/oauth_provider_templates/oauth2_token.rb
|
248
|
+
- lib/generators/active_record/oauth_provider_templates/oauth2_verifier.rb
|
249
|
+
- lib/generators/active_record/oauth_provider_templates/oauth_nonce.rb
|
250
|
+
- lib/generators/active_record/oauth_provider_templates/oauth_token.rb
|
251
|
+
- lib/generators/active_record/oauth_provider_templates/request_token.rb
|
252
|
+
- lib/generators/erb/oauth_consumer_generator.rb
|
253
|
+
- lib/generators/erb/oauth_consumer_templates/index.html.erb
|
254
|
+
- lib/generators/erb/oauth_consumer_templates/show.html.erb
|
255
|
+
- lib/generators/erb/oauth_provider_generator.rb
|
256
|
+
- lib/generators/erb/oauth_provider_templates/_form.html.erb
|
257
|
+
- lib/generators/erb/oauth_provider_templates/authorize.html.erb
|
258
|
+
- lib/generators/erb/oauth_provider_templates/authorize_failure.html.erb
|
259
|
+
- lib/generators/erb/oauth_provider_templates/authorize_success.html.erb
|
260
|
+
- lib/generators/erb/oauth_provider_templates/edit.html.erb
|
261
|
+
- lib/generators/erb/oauth_provider_templates/index.html.erb
|
262
|
+
- lib/generators/erb/oauth_provider_templates/new.html.erb
|
263
|
+
- lib/generators/erb/oauth_provider_templates/oauth2_authorize.html.erb
|
264
|
+
- lib/generators/erb/oauth_provider_templates/show.html.erb
|
265
|
+
- lib/generators/haml/oauth_consumer_generator.rb
|
266
|
+
- lib/generators/haml/oauth_consumer_templates/index.html.haml
|
267
|
+
- lib/generators/haml/oauth_consumer_templates/show.html.haml
|
268
|
+
- lib/generators/haml/oauth_provider_generator.rb
|
269
|
+
- lib/generators/haml/oauth_provider_templates/_form.html.haml
|
270
|
+
- lib/generators/haml/oauth_provider_templates/authorize.html.haml
|
271
|
+
- lib/generators/haml/oauth_provider_templates/authorize_failure.html.haml
|
272
|
+
- lib/generators/haml/oauth_provider_templates/authorize_success.html.haml
|
273
|
+
- lib/generators/haml/oauth_provider_templates/edit.html.haml
|
274
|
+
- lib/generators/haml/oauth_provider_templates/index.html.haml
|
275
|
+
- lib/generators/haml/oauth_provider_templates/new.html.haml
|
276
|
+
- lib/generators/haml/oauth_provider_templates/oauth2_authorize.html.haml
|
277
|
+
- lib/generators/haml/oauth_provider_templates/show.html.haml
|
278
|
+
- lib/generators/mongoid/oauth_consumer_generator.rb
|
279
|
+
- lib/generators/mongoid/oauth_consumer_templates/consumer_token.rb
|
280
|
+
- lib/generators/mongoid/oauth_provider_generator.rb
|
281
|
+
- lib/generators/mongoid/oauth_provider_templates/access_token.rb
|
282
|
+
- lib/generators/mongoid/oauth_provider_templates/client_application.rb
|
283
|
+
- lib/generators/mongoid/oauth_provider_templates/oauth2_token.rb
|
284
|
+
- lib/generators/mongoid/oauth_provider_templates/oauth2_verifier.rb
|
285
|
+
- lib/generators/mongoid/oauth_provider_templates/oauth_nonce.rb
|
286
|
+
- lib/generators/mongoid/oauth_provider_templates/oauth_token.rb
|
287
|
+
- lib/generators/mongoid/oauth_provider_templates/request_token.rb
|
288
|
+
- lib/generators/oauth_consumer/USAGE
|
289
|
+
- lib/generators/oauth_consumer/oauth_consumer_generator.rb
|
290
|
+
- lib/generators/oauth_consumer/templates/controller.rb
|
291
|
+
- lib/generators/oauth_consumer/templates/oauth_config.rb
|
292
|
+
- lib/generators/oauth_inflections.rb
|
293
|
+
- lib/generators/oauth_plugin.rb
|
294
|
+
- lib/generators/oauth_provider/USAGE
|
295
|
+
- lib/generators/oauth_provider/oauth_provider_generator.rb
|
296
|
+
- lib/generators/oauth_provider/templates/clients_controller.rb
|
297
|
+
- lib/generators/oauth_provider/templates/controller.rb
|
298
|
+
- lib/generators/rspec/oauth_provider_generator.rb
|
299
|
+
- lib/generators/rspec/templates/client_application_spec.rb
|
300
|
+
- lib/generators/rspec/templates/client_applications.yml
|
301
|
+
- lib/generators/rspec/templates/clients_controller_spec.rb
|
302
|
+
- lib/generators/rspec/templates/oauth2_token_spec.rb
|
303
|
+
- lib/generators/rspec/templates/oauth2_verifier_spec.rb
|
304
|
+
- lib/generators/rspec/templates/oauth_nonce_spec.rb
|
305
|
+
- lib/generators/rspec/templates/oauth_nonces.yml
|
306
|
+
- lib/generators/rspec/templates/oauth_token_spec.rb
|
307
|
+
- lib/generators/rspec/templates/oauth_tokens.yml
|
308
|
+
- lib/generators/slim/oauth_consumer_generator.rb
|
309
|
+
- lib/generators/slim/oauth_consumer_templates/index.html.slim
|
310
|
+
- lib/generators/slim/oauth_consumer_templates/show.html.slim
|
311
|
+
- lib/generators/test_unit/oauth_provider_generator.rb
|
312
|
+
- lib/generators/test_unit/templates/client_application_test.rb
|
313
|
+
- lib/generators/test_unit/templates/client_applications.yml
|
314
|
+
- lib/generators/test_unit/templates/clients_controller_test.rb
|
315
|
+
- lib/generators/test_unit/templates/oauth_nonce_test.rb
|
316
|
+
- lib/generators/test_unit/templates/oauth_nonces.yml
|
317
|
+
- lib/generators/test_unit/templates/oauth_token_test.rb
|
318
|
+
- lib/generators/test_unit/templates/oauth_tokens.yml
|
319
|
+
- lib/oauth-plugin.rb
|
320
|
+
- lib/oauth-plugin/version.rb
|
321
|
+
- lib/oauth/controllers/application_controller_methods.rb
|
322
|
+
- lib/oauth/controllers/consumer_controller.rb
|
323
|
+
- lib/oauth/controllers/provider_controller.rb
|
324
|
+
- lib/oauth/models/consumers/service_loader.rb
|
325
|
+
- lib/oauth/models/consumers/services/agree2_token.rb
|
326
|
+
- lib/oauth/models/consumers/services/fireeagle_token.rb
|
327
|
+
- lib/oauth/models/consumers/services/google_token.rb
|
328
|
+
- lib/oauth/models/consumers/services/oauth2_token.rb
|
329
|
+
- lib/oauth/models/consumers/services/opentransact_token.rb
|
330
|
+
- lib/oauth/models/consumers/services/picomoney_token.rb
|
331
|
+
- lib/oauth/models/consumers/services/twitter_token.rb
|
332
|
+
- lib/oauth/models/consumers/simple_client.rb
|
333
|
+
- lib/oauth/models/consumers/token.rb
|
334
|
+
- lib/oauth/provider/authorizer.rb
|
335
|
+
- lib/oauth/rack/oauth_filter.rb
|
336
|
+
- oauth-plugin.gemspec
|
337
|
+
- rails/init.rb
|
338
|
+
- spec/dummy_provider_models.rb
|
339
|
+
- spec/oauth/provider/authorizer_spec.rb
|
340
|
+
- spec/rack/oauth_filter_spec.rb
|
341
|
+
- spec/spec_helper.rb
|
342
|
+
- tasks/oauth_tasks.rake
|
343
|
+
- uninstall.rb
|
344
|
+
homepage: http://github.com/pelle/oauth-plugin
|
345
|
+
licenses:
|
346
|
+
- MIT
|
347
|
+
metadata: {}
|
348
|
+
post_install_message:
|
349
|
+
rdoc_options: []
|
350
|
+
require_paths:
|
351
|
+
- lib
|
352
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
353
|
+
requirements:
|
354
|
+
- - ">="
|
355
|
+
- !ruby/object:Gem::Version
|
356
|
+
version: '0'
|
357
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
358
|
+
requirements:
|
359
|
+
- - ">"
|
360
|
+
- !ruby/object:Gem::Version
|
361
|
+
version: 1.3.1
|
362
|
+
requirements: []
|
363
|
+
rubyforge_project: oauth
|
364
|
+
rubygems_version: 2.2.2
|
365
|
+
signing_key:
|
366
|
+
specification_version: 4
|
367
|
+
summary: Ruby on Rails Plugin for OAuth Provider and Consumer
|
368
|
+
test_files:
|
369
|
+
- spec/dummy_provider_models.rb
|
370
|
+
- spec/oauth/provider/authorizer_spec.rb
|
371
|
+
- spec/rack/oauth_filter_spec.rb
|
372
|
+
- spec/spec_helper.rb
|
373
|
+
has_rdoc:
|