sidecar_token_auth 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE +13 -0
- data/README.md +12 -0
- data/Rakefile +42 -0
- data/app/controllers/devise_token_auth/application_controller.rb +79 -0
- data/app/controllers/devise_token_auth/concerns/resource_finder.rb +44 -0
- data/app/controllers/devise_token_auth/concerns/set_user_by_token.rb +162 -0
- data/app/controllers/devise_token_auth/confirmations_controller.rb +90 -0
- data/app/controllers/devise_token_auth/omniauth_callbacks_controller.rb +287 -0
- data/app/controllers/devise_token_auth/passwords_controller.rb +206 -0
- data/app/controllers/devise_token_auth/registrations_controller.rb +283 -0
- data/app/controllers/devise_token_auth/sessions_controller.rb +245 -0
- data/app/controllers/devise_token_auth/token_validations_controller.rb +31 -0
- data/app/controllers/devise_token_auth/unlocks_controller.rb +89 -0
- data/app/models/devise_token_auth/concerns/active_record_support.rb +16 -0
- data/app/models/devise_token_auth/concerns/confirmable_support.rb +28 -0
- data/app/models/devise_token_auth/concerns/mongoid_support.rb +19 -0
- data/app/models/devise_token_auth/concerns/tokens_serialization.rb +19 -0
- data/app/models/devise_token_auth/concerns/user.rb +257 -0
- data/app/models/devise_token_auth/concerns/user_omniauth_callbacks.rb +31 -0
- data/app/validators/devise_token_auth_email_validator.rb +23 -0
- data/app/views/devise/mailer/confirmation_instructions.html.erb +5 -0
- data/app/views/devise/mailer/reset_password_instructions.html.erb +8 -0
- data/app/views/devise/mailer/unlock_instructions.html.erb +7 -0
- data/app/views/devise_token_auth/omniauth_external_window.html.erb +38 -0
- data/config/locales/da-DK.yml +52 -0
- data/config/locales/de.yml +51 -0
- data/config/locales/en.yml +60 -0
- data/config/locales/es.yml +51 -0
- data/config/locales/fr.yml +51 -0
- data/config/locales/he.yml +52 -0
- data/config/locales/it.yml +48 -0
- data/config/locales/ja.yml +48 -0
- data/config/locales/ko.yml +51 -0
- data/config/locales/nl.yml +32 -0
- data/config/locales/pl.yml +51 -0
- data/config/locales/pt-BR.yml +48 -0
- data/config/locales/pt.yml +51 -0
- data/config/locales/ro.yml +48 -0
- data/config/locales/ru.yml +52 -0
- data/config/locales/sq.yml +48 -0
- data/config/locales/sv.yml +52 -0
- data/config/locales/uk.yml +61 -0
- data/config/locales/vi.yml +52 -0
- data/config/locales/zh-CN.yml +48 -0
- data/config/locales/zh-HK.yml +50 -0
- data/config/locales/zh-TW.yml +50 -0
- data/lib/devise_token_auth.rb +14 -0
- data/lib/devise_token_auth/blacklist.rb +2 -0
- data/lib/devise_token_auth/controllers/helpers.rb +157 -0
- data/lib/devise_token_auth/controllers/url_helpers.rb +10 -0
- data/lib/devise_token_auth/engine.rb +96 -0
- data/lib/devise_token_auth/errors.rb +8 -0
- data/lib/devise_token_auth/rails/routes.rb +116 -0
- data/lib/devise_token_auth/token_factory.rb +126 -0
- data/lib/devise_token_auth/url.rb +44 -0
- data/lib/devise_token_auth/version.rb +5 -0
- data/lib/generators/devise_token_auth/USAGE +31 -0
- data/lib/generators/devise_token_auth/install_generator.rb +91 -0
- data/lib/generators/devise_token_auth/install_generator_helpers.rb +98 -0
- data/lib/generators/devise_token_auth/install_mongoid_generator.rb +46 -0
- data/lib/generators/devise_token_auth/install_views_generator.rb +18 -0
- data/lib/generators/devise_token_auth/templates/devise_token_auth.rb +60 -0
- data/lib/generators/devise_token_auth/templates/devise_token_auth_create_users.rb.erb +49 -0
- data/lib/generators/devise_token_auth/templates/user.rb.erb +9 -0
- data/lib/generators/devise_token_auth/templates/user_mongoid.rb.erb +56 -0
- data/lib/tasks/devise_token_auth_tasks.rake +6 -0
- data/test/controllers/custom/custom_confirmations_controller_test.rb +25 -0
- data/test/controllers/custom/custom_omniauth_callbacks_controller_test.rb +33 -0
- data/test/controllers/custom/custom_passwords_controller_test.rb +79 -0
- data/test/controllers/custom/custom_registrations_controller_test.rb +63 -0
- data/test/controllers/custom/custom_sessions_controller_test.rb +39 -0
- data/test/controllers/custom/custom_token_validations_controller_test.rb +42 -0
- data/test/controllers/demo_group_controller_test.rb +151 -0
- data/test/controllers/demo_mang_controller_test.rb +284 -0
- data/test/controllers/demo_user_controller_test.rb +629 -0
- data/test/controllers/devise_token_auth/confirmations_controller_test.rb +191 -0
- data/test/controllers/devise_token_auth/omniauth_callbacks_controller_test.rb +441 -0
- data/test/controllers/devise_token_auth/passwords_controller_test.rb +780 -0
- data/test/controllers/devise_token_auth/registrations_controller_test.rb +907 -0
- data/test/controllers/devise_token_auth/sessions_controller_test.rb +503 -0
- data/test/controllers/devise_token_auth/token_validations_controller_test.rb +102 -0
- data/test/controllers/devise_token_auth/unlocks_controller_test.rb +196 -0
- data/test/controllers/overrides/confirmations_controller_test.rb +47 -0
- data/test/controllers/overrides/omniauth_callbacks_controller_test.rb +53 -0
- data/test/controllers/overrides/passwords_controller_test.rb +64 -0
- data/test/controllers/overrides/registrations_controller_test.rb +46 -0
- data/test/controllers/overrides/sessions_controller_test.rb +35 -0
- data/test/controllers/overrides/token_validations_controller_test.rb +43 -0
- data/test/dummy/README.rdoc +28 -0
- data/test/dummy/app/active_record/confirmable_user.rb +11 -0
- data/test/dummy/app/active_record/lockable_user.rb +7 -0
- data/test/dummy/app/active_record/mang.rb +5 -0
- data/test/dummy/app/active_record/only_email_user.rb +7 -0
- data/test/dummy/app/active_record/scoped_user.rb +9 -0
- data/test/dummy/app/active_record/unconfirmable_user.rb +9 -0
- data/test/dummy/app/active_record/unregisterable_user.rb +9 -0
- data/test/dummy/app/active_record/user.rb +6 -0
- data/test/dummy/app/controllers/application_controller.rb +18 -0
- data/test/dummy/app/controllers/auth_origin_controller.rb +7 -0
- data/test/dummy/app/controllers/custom/confirmations_controller.rb +13 -0
- data/test/dummy/app/controllers/custom/omniauth_callbacks_controller.rb +13 -0
- data/test/dummy/app/controllers/custom/passwords_controller.rb +39 -0
- data/test/dummy/app/controllers/custom/registrations_controller.rb +39 -0
- data/test/dummy/app/controllers/custom/sessions_controller.rb +29 -0
- data/test/dummy/app/controllers/custom/token_validations_controller.rb +19 -0
- data/test/dummy/app/controllers/demo_group_controller.rb +15 -0
- data/test/dummy/app/controllers/demo_mang_controller.rb +14 -0
- data/test/dummy/app/controllers/demo_user_controller.rb +27 -0
- data/test/dummy/app/controllers/overrides/confirmations_controller.rb +28 -0
- data/test/dummy/app/controllers/overrides/omniauth_callbacks_controller.rb +16 -0
- data/test/dummy/app/controllers/overrides/passwords_controller.rb +35 -0
- data/test/dummy/app/controllers/overrides/registrations_controller.rb +29 -0
- data/test/dummy/app/controllers/overrides/sessions_controller.rb +36 -0
- data/test/dummy/app/controllers/overrides/token_validations_controller.rb +23 -0
- data/test/dummy/app/helpers/application_helper.rb +1058 -0
- data/test/dummy/app/models/concerns/favorite_color.rb +19 -0
- data/test/dummy/app/mongoid/confirmable_user.rb +52 -0
- data/test/dummy/app/mongoid/lockable_user.rb +38 -0
- data/test/dummy/app/mongoid/mang.rb +46 -0
- data/test/dummy/app/mongoid/only_email_user.rb +33 -0
- data/test/dummy/app/mongoid/scoped_user.rb +50 -0
- data/test/dummy/app/mongoid/unconfirmable_user.rb +44 -0
- data/test/dummy/app/mongoid/unregisterable_user.rb +47 -0
- data/test/dummy/app/mongoid/user.rb +49 -0
- data/test/dummy/app/views/layouts/application.html.erb +14 -0
- data/test/dummy/config.ru +18 -0
- data/test/dummy/config/application.rb +48 -0
- data/test/dummy/config/application.yml.bk +0 -0
- data/test/dummy/config/boot.rb +11 -0
- data/test/dummy/config/environment.rb +7 -0
- data/test/dummy/config/environments/development.rb +46 -0
- data/test/dummy/config/environments/production.rb +84 -0
- data/test/dummy/config/environments/test.rb +50 -0
- data/test/dummy/config/initializers/assets.rb +10 -0
- data/test/dummy/config/initializers/backtrace_silencers.rb +9 -0
- data/test/dummy/config/initializers/cookies_serializer.rb +5 -0
- data/test/dummy/config/initializers/devise.rb +290 -0
- data/test/dummy/config/initializers/devise_token_auth.rb +55 -0
- data/test/dummy/config/initializers/figaro.rb +3 -0
- data/test/dummy/config/initializers/filter_parameter_logging.rb +6 -0
- data/test/dummy/config/initializers/inflections.rb +18 -0
- data/test/dummy/config/initializers/mime_types.rb +6 -0
- data/test/dummy/config/initializers/omniauth.rb +11 -0
- data/test/dummy/config/initializers/session_store.rb +5 -0
- data/test/dummy/config/initializers/wrap_parameters.rb +16 -0
- data/test/dummy/config/routes.rb +57 -0
- data/test/dummy/config/spring.rb +3 -0
- data/test/dummy/db/migrate/20140715061447_devise_token_auth_create_users.rb +58 -0
- data/test/dummy/db/migrate/20140715061805_devise_token_auth_create_mangs.rb +57 -0
- data/test/dummy/db/migrate/20140829044006_add_operating_thetan_to_user.rb +8 -0
- data/test/dummy/db/migrate/20140916224624_add_favorite_color_to_mangs.rb +7 -0
- data/test/dummy/db/migrate/20141222035835_devise_token_auth_create_only_email_users.rb +55 -0
- data/test/dummy/db/migrate/20141222053502_devise_token_auth_create_unregisterable_users.rb +56 -0
- data/test/dummy/db/migrate/20150708104536_devise_token_auth_create_unconfirmable_users.rb +56 -0
- data/test/dummy/db/migrate/20160103235141_devise_token_auth_create_scoped_users.rb +56 -0
- data/test/dummy/db/migrate/20160629184441_devise_token_auth_create_lockable_users.rb +56 -0
- data/test/dummy/db/migrate/20190924101113_devise_token_auth_create_confirmable_users.rb +49 -0
- data/test/dummy/db/schema.rb +198 -0
- data/test/dummy/lib/migration_database_helper.rb +43 -0
- data/test/factories/users.rb +41 -0
- data/test/lib/devise_token_auth/blacklist_test.rb +11 -0
- data/test/lib/devise_token_auth/token_factory_test.rb +191 -0
- data/test/lib/devise_token_auth/url_test.rb +26 -0
- data/test/lib/generators/devise_token_auth/install_generator_test.rb +217 -0
- data/test/lib/generators/devise_token_auth/install_generator_with_namespace_test.rb +222 -0
- data/test/lib/generators/devise_token_auth/install_views_generator_test.rb +25 -0
- data/test/models/concerns/mongoid_support_test.rb +31 -0
- data/test/models/concerns/tokens_serialization_test.rb +70 -0
- data/test/models/confirmable_user_test.rb +35 -0
- data/test/models/only_email_user_test.rb +29 -0
- data/test/models/user_test.rb +108 -0
- data/test/support/controllers/routes.rb +43 -0
- data/test/test_helper.rb +103 -0
- metadata +481 -0
metadata
ADDED
@@ -0,0 +1,481 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: sidecar_token_auth
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Kartikey Tanna
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2020-12-09 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: rails
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 4.2.0
|
20
|
+
- - "<"
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: '6.1'
|
23
|
+
type: :runtime
|
24
|
+
prerelease: false
|
25
|
+
version_requirements: !ruby/object:Gem::Requirement
|
26
|
+
requirements:
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: 4.2.0
|
30
|
+
- - "<"
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '6.1'
|
33
|
+
- !ruby/object:Gem::Dependency
|
34
|
+
name: sprockets
|
35
|
+
requirement: !ruby/object:Gem::Requirement
|
36
|
+
requirements:
|
37
|
+
- - '='
|
38
|
+
- !ruby/object:Gem::Version
|
39
|
+
version: 3.7.2
|
40
|
+
type: :runtime
|
41
|
+
prerelease: false
|
42
|
+
version_requirements: !ruby/object:Gem::Requirement
|
43
|
+
requirements:
|
44
|
+
- - '='
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: 3.7.2
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: devise
|
49
|
+
requirement: !ruby/object:Gem::Requirement
|
50
|
+
requirements:
|
51
|
+
- - ">"
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: 3.5.2
|
54
|
+
- - "<"
|
55
|
+
- !ruby/object:Gem::Version
|
56
|
+
version: '5'
|
57
|
+
type: :runtime
|
58
|
+
prerelease: false
|
59
|
+
version_requirements: !ruby/object:Gem::Requirement
|
60
|
+
requirements:
|
61
|
+
- - ">"
|
62
|
+
- !ruby/object:Gem::Version
|
63
|
+
version: 3.5.2
|
64
|
+
- - "<"
|
65
|
+
- !ruby/object:Gem::Version
|
66
|
+
version: '5'
|
67
|
+
- !ruby/object:Gem::Dependency
|
68
|
+
name: bcrypt
|
69
|
+
requirement: !ruby/object:Gem::Requirement
|
70
|
+
requirements:
|
71
|
+
- - "~>"
|
72
|
+
- !ruby/object:Gem::Version
|
73
|
+
version: '3.0'
|
74
|
+
type: :runtime
|
75
|
+
prerelease: false
|
76
|
+
version_requirements: !ruby/object:Gem::Requirement
|
77
|
+
requirements:
|
78
|
+
- - "~>"
|
79
|
+
- !ruby/object:Gem::Version
|
80
|
+
version: '3.0'
|
81
|
+
- !ruby/object:Gem::Dependency
|
82
|
+
name: appraisal
|
83
|
+
requirement: !ruby/object:Gem::Requirement
|
84
|
+
requirements:
|
85
|
+
- - ">="
|
86
|
+
- !ruby/object:Gem::Version
|
87
|
+
version: '0'
|
88
|
+
type: :development
|
89
|
+
prerelease: false
|
90
|
+
version_requirements: !ruby/object:Gem::Requirement
|
91
|
+
requirements:
|
92
|
+
- - ">="
|
93
|
+
- !ruby/object:Gem::Version
|
94
|
+
version: '0'
|
95
|
+
- !ruby/object:Gem::Dependency
|
96
|
+
name: sqlite3
|
97
|
+
requirement: !ruby/object:Gem::Requirement
|
98
|
+
requirements:
|
99
|
+
- - "~>"
|
100
|
+
- !ruby/object:Gem::Version
|
101
|
+
version: '1.4'
|
102
|
+
type: :development
|
103
|
+
prerelease: false
|
104
|
+
version_requirements: !ruby/object:Gem::Requirement
|
105
|
+
requirements:
|
106
|
+
- - "~>"
|
107
|
+
- !ruby/object:Gem::Version
|
108
|
+
version: '1.4'
|
109
|
+
- !ruby/object:Gem::Dependency
|
110
|
+
name: pg
|
111
|
+
requirement: !ruby/object:Gem::Requirement
|
112
|
+
requirements:
|
113
|
+
- - ">="
|
114
|
+
- !ruby/object:Gem::Version
|
115
|
+
version: '0'
|
116
|
+
type: :development
|
117
|
+
prerelease: false
|
118
|
+
version_requirements: !ruby/object:Gem::Requirement
|
119
|
+
requirements:
|
120
|
+
- - ">="
|
121
|
+
- !ruby/object:Gem::Version
|
122
|
+
version: '0'
|
123
|
+
- !ruby/object:Gem::Dependency
|
124
|
+
name: mysql2
|
125
|
+
requirement: !ruby/object:Gem::Requirement
|
126
|
+
requirements:
|
127
|
+
- - ">="
|
128
|
+
- !ruby/object:Gem::Version
|
129
|
+
version: '0'
|
130
|
+
type: :development
|
131
|
+
prerelease: false
|
132
|
+
version_requirements: !ruby/object:Gem::Requirement
|
133
|
+
requirements:
|
134
|
+
- - ">="
|
135
|
+
- !ruby/object:Gem::Version
|
136
|
+
version: '0'
|
137
|
+
- !ruby/object:Gem::Dependency
|
138
|
+
name: mongoid
|
139
|
+
requirement: !ruby/object:Gem::Requirement
|
140
|
+
requirements:
|
141
|
+
- - ">="
|
142
|
+
- !ruby/object:Gem::Version
|
143
|
+
version: '4'
|
144
|
+
- - "<"
|
145
|
+
- !ruby/object:Gem::Version
|
146
|
+
version: '8'
|
147
|
+
type: :development
|
148
|
+
prerelease: false
|
149
|
+
version_requirements: !ruby/object:Gem::Requirement
|
150
|
+
requirements:
|
151
|
+
- - ">="
|
152
|
+
- !ruby/object:Gem::Version
|
153
|
+
version: '4'
|
154
|
+
- - "<"
|
155
|
+
- !ruby/object:Gem::Version
|
156
|
+
version: '8'
|
157
|
+
- !ruby/object:Gem::Dependency
|
158
|
+
name: mongoid-locker
|
159
|
+
requirement: !ruby/object:Gem::Requirement
|
160
|
+
requirements:
|
161
|
+
- - "~>"
|
162
|
+
- !ruby/object:Gem::Version
|
163
|
+
version: '1.0'
|
164
|
+
type: :development
|
165
|
+
prerelease: false
|
166
|
+
version_requirements: !ruby/object:Gem::Requirement
|
167
|
+
requirements:
|
168
|
+
- - "~>"
|
169
|
+
- !ruby/object:Gem::Version
|
170
|
+
version: '1.0'
|
171
|
+
description: For use with client side single page apps such as the venerable https://github.com/lynndylanhurley/ng-token-auth.
|
172
|
+
email:
|
173
|
+
- tannakartikey@gmail.com
|
174
|
+
executables: []
|
175
|
+
extensions: []
|
176
|
+
extra_rdoc_files: []
|
177
|
+
files:
|
178
|
+
- LICENSE
|
179
|
+
- README.md
|
180
|
+
- Rakefile
|
181
|
+
- app/controllers/devise_token_auth/application_controller.rb
|
182
|
+
- app/controllers/devise_token_auth/concerns/resource_finder.rb
|
183
|
+
- app/controllers/devise_token_auth/concerns/set_user_by_token.rb
|
184
|
+
- app/controllers/devise_token_auth/confirmations_controller.rb
|
185
|
+
- app/controllers/devise_token_auth/omniauth_callbacks_controller.rb
|
186
|
+
- app/controllers/devise_token_auth/passwords_controller.rb
|
187
|
+
- app/controllers/devise_token_auth/registrations_controller.rb
|
188
|
+
- app/controllers/devise_token_auth/sessions_controller.rb
|
189
|
+
- app/controllers/devise_token_auth/token_validations_controller.rb
|
190
|
+
- app/controllers/devise_token_auth/unlocks_controller.rb
|
191
|
+
- app/models/devise_token_auth/concerns/active_record_support.rb
|
192
|
+
- app/models/devise_token_auth/concerns/confirmable_support.rb
|
193
|
+
- app/models/devise_token_auth/concerns/mongoid_support.rb
|
194
|
+
- app/models/devise_token_auth/concerns/tokens_serialization.rb
|
195
|
+
- app/models/devise_token_auth/concerns/user.rb
|
196
|
+
- app/models/devise_token_auth/concerns/user_omniauth_callbacks.rb
|
197
|
+
- app/validators/devise_token_auth_email_validator.rb
|
198
|
+
- app/views/devise/mailer/confirmation_instructions.html.erb
|
199
|
+
- app/views/devise/mailer/reset_password_instructions.html.erb
|
200
|
+
- app/views/devise/mailer/unlock_instructions.html.erb
|
201
|
+
- app/views/devise_token_auth/omniauth_external_window.html.erb
|
202
|
+
- config/locales/da-DK.yml
|
203
|
+
- config/locales/de.yml
|
204
|
+
- config/locales/en.yml
|
205
|
+
- config/locales/es.yml
|
206
|
+
- config/locales/fr.yml
|
207
|
+
- config/locales/he.yml
|
208
|
+
- config/locales/it.yml
|
209
|
+
- config/locales/ja.yml
|
210
|
+
- config/locales/ko.yml
|
211
|
+
- config/locales/nl.yml
|
212
|
+
- config/locales/pl.yml
|
213
|
+
- config/locales/pt-BR.yml
|
214
|
+
- config/locales/pt.yml
|
215
|
+
- config/locales/ro.yml
|
216
|
+
- config/locales/ru.yml
|
217
|
+
- config/locales/sq.yml
|
218
|
+
- config/locales/sv.yml
|
219
|
+
- config/locales/uk.yml
|
220
|
+
- config/locales/vi.yml
|
221
|
+
- config/locales/zh-CN.yml
|
222
|
+
- config/locales/zh-HK.yml
|
223
|
+
- config/locales/zh-TW.yml
|
224
|
+
- lib/devise_token_auth.rb
|
225
|
+
- lib/devise_token_auth/blacklist.rb
|
226
|
+
- lib/devise_token_auth/controllers/helpers.rb
|
227
|
+
- lib/devise_token_auth/controllers/url_helpers.rb
|
228
|
+
- lib/devise_token_auth/engine.rb
|
229
|
+
- lib/devise_token_auth/errors.rb
|
230
|
+
- lib/devise_token_auth/rails/routes.rb
|
231
|
+
- lib/devise_token_auth/token_factory.rb
|
232
|
+
- lib/devise_token_auth/url.rb
|
233
|
+
- lib/devise_token_auth/version.rb
|
234
|
+
- lib/generators/devise_token_auth/USAGE
|
235
|
+
- lib/generators/devise_token_auth/install_generator.rb
|
236
|
+
- lib/generators/devise_token_auth/install_generator_helpers.rb
|
237
|
+
- lib/generators/devise_token_auth/install_mongoid_generator.rb
|
238
|
+
- lib/generators/devise_token_auth/install_views_generator.rb
|
239
|
+
- lib/generators/devise_token_auth/templates/devise_token_auth.rb
|
240
|
+
- lib/generators/devise_token_auth/templates/devise_token_auth_create_users.rb.erb
|
241
|
+
- lib/generators/devise_token_auth/templates/user.rb.erb
|
242
|
+
- lib/generators/devise_token_auth/templates/user_mongoid.rb.erb
|
243
|
+
- lib/tasks/devise_token_auth_tasks.rake
|
244
|
+
- test/controllers/custom/custom_confirmations_controller_test.rb
|
245
|
+
- test/controllers/custom/custom_omniauth_callbacks_controller_test.rb
|
246
|
+
- test/controllers/custom/custom_passwords_controller_test.rb
|
247
|
+
- test/controllers/custom/custom_registrations_controller_test.rb
|
248
|
+
- test/controllers/custom/custom_sessions_controller_test.rb
|
249
|
+
- test/controllers/custom/custom_token_validations_controller_test.rb
|
250
|
+
- test/controllers/demo_group_controller_test.rb
|
251
|
+
- test/controllers/demo_mang_controller_test.rb
|
252
|
+
- test/controllers/demo_user_controller_test.rb
|
253
|
+
- test/controllers/devise_token_auth/confirmations_controller_test.rb
|
254
|
+
- test/controllers/devise_token_auth/omniauth_callbacks_controller_test.rb
|
255
|
+
- test/controllers/devise_token_auth/passwords_controller_test.rb
|
256
|
+
- test/controllers/devise_token_auth/registrations_controller_test.rb
|
257
|
+
- test/controllers/devise_token_auth/sessions_controller_test.rb
|
258
|
+
- test/controllers/devise_token_auth/token_validations_controller_test.rb
|
259
|
+
- test/controllers/devise_token_auth/unlocks_controller_test.rb
|
260
|
+
- test/controllers/overrides/confirmations_controller_test.rb
|
261
|
+
- test/controllers/overrides/omniauth_callbacks_controller_test.rb
|
262
|
+
- test/controllers/overrides/passwords_controller_test.rb
|
263
|
+
- test/controllers/overrides/registrations_controller_test.rb
|
264
|
+
- test/controllers/overrides/sessions_controller_test.rb
|
265
|
+
- test/controllers/overrides/token_validations_controller_test.rb
|
266
|
+
- test/dummy/README.rdoc
|
267
|
+
- test/dummy/app/active_record/confirmable_user.rb
|
268
|
+
- test/dummy/app/active_record/lockable_user.rb
|
269
|
+
- test/dummy/app/active_record/mang.rb
|
270
|
+
- test/dummy/app/active_record/only_email_user.rb
|
271
|
+
- test/dummy/app/active_record/scoped_user.rb
|
272
|
+
- test/dummy/app/active_record/unconfirmable_user.rb
|
273
|
+
- test/dummy/app/active_record/unregisterable_user.rb
|
274
|
+
- test/dummy/app/active_record/user.rb
|
275
|
+
- test/dummy/app/controllers/application_controller.rb
|
276
|
+
- test/dummy/app/controllers/auth_origin_controller.rb
|
277
|
+
- test/dummy/app/controllers/custom/confirmations_controller.rb
|
278
|
+
- test/dummy/app/controllers/custom/omniauth_callbacks_controller.rb
|
279
|
+
- test/dummy/app/controllers/custom/passwords_controller.rb
|
280
|
+
- test/dummy/app/controllers/custom/registrations_controller.rb
|
281
|
+
- test/dummy/app/controllers/custom/sessions_controller.rb
|
282
|
+
- test/dummy/app/controllers/custom/token_validations_controller.rb
|
283
|
+
- test/dummy/app/controllers/demo_group_controller.rb
|
284
|
+
- test/dummy/app/controllers/demo_mang_controller.rb
|
285
|
+
- test/dummy/app/controllers/demo_user_controller.rb
|
286
|
+
- test/dummy/app/controllers/overrides/confirmations_controller.rb
|
287
|
+
- test/dummy/app/controllers/overrides/omniauth_callbacks_controller.rb
|
288
|
+
- test/dummy/app/controllers/overrides/passwords_controller.rb
|
289
|
+
- test/dummy/app/controllers/overrides/registrations_controller.rb
|
290
|
+
- test/dummy/app/controllers/overrides/sessions_controller.rb
|
291
|
+
- test/dummy/app/controllers/overrides/token_validations_controller.rb
|
292
|
+
- test/dummy/app/helpers/application_helper.rb
|
293
|
+
- test/dummy/app/models/concerns/favorite_color.rb
|
294
|
+
- test/dummy/app/mongoid/confirmable_user.rb
|
295
|
+
- test/dummy/app/mongoid/lockable_user.rb
|
296
|
+
- test/dummy/app/mongoid/mang.rb
|
297
|
+
- test/dummy/app/mongoid/only_email_user.rb
|
298
|
+
- test/dummy/app/mongoid/scoped_user.rb
|
299
|
+
- test/dummy/app/mongoid/unconfirmable_user.rb
|
300
|
+
- test/dummy/app/mongoid/unregisterable_user.rb
|
301
|
+
- test/dummy/app/mongoid/user.rb
|
302
|
+
- test/dummy/app/views/layouts/application.html.erb
|
303
|
+
- test/dummy/config.ru
|
304
|
+
- test/dummy/config/application.rb
|
305
|
+
- test/dummy/config/application.yml.bk
|
306
|
+
- test/dummy/config/boot.rb
|
307
|
+
- test/dummy/config/environment.rb
|
308
|
+
- test/dummy/config/environments/development.rb
|
309
|
+
- test/dummy/config/environments/production.rb
|
310
|
+
- test/dummy/config/environments/test.rb
|
311
|
+
- test/dummy/config/initializers/assets.rb
|
312
|
+
- test/dummy/config/initializers/backtrace_silencers.rb
|
313
|
+
- test/dummy/config/initializers/cookies_serializer.rb
|
314
|
+
- test/dummy/config/initializers/devise.rb
|
315
|
+
- test/dummy/config/initializers/devise_token_auth.rb
|
316
|
+
- test/dummy/config/initializers/figaro.rb
|
317
|
+
- test/dummy/config/initializers/filter_parameter_logging.rb
|
318
|
+
- test/dummy/config/initializers/inflections.rb
|
319
|
+
- test/dummy/config/initializers/mime_types.rb
|
320
|
+
- test/dummy/config/initializers/omniauth.rb
|
321
|
+
- test/dummy/config/initializers/session_store.rb
|
322
|
+
- test/dummy/config/initializers/wrap_parameters.rb
|
323
|
+
- test/dummy/config/routes.rb
|
324
|
+
- test/dummy/config/spring.rb
|
325
|
+
- test/dummy/db/migrate/20140715061447_devise_token_auth_create_users.rb
|
326
|
+
- test/dummy/db/migrate/20140715061805_devise_token_auth_create_mangs.rb
|
327
|
+
- test/dummy/db/migrate/20140829044006_add_operating_thetan_to_user.rb
|
328
|
+
- test/dummy/db/migrate/20140916224624_add_favorite_color_to_mangs.rb
|
329
|
+
- test/dummy/db/migrate/20141222035835_devise_token_auth_create_only_email_users.rb
|
330
|
+
- test/dummy/db/migrate/20141222053502_devise_token_auth_create_unregisterable_users.rb
|
331
|
+
- test/dummy/db/migrate/20150708104536_devise_token_auth_create_unconfirmable_users.rb
|
332
|
+
- test/dummy/db/migrate/20160103235141_devise_token_auth_create_scoped_users.rb
|
333
|
+
- test/dummy/db/migrate/20160629184441_devise_token_auth_create_lockable_users.rb
|
334
|
+
- test/dummy/db/migrate/20190924101113_devise_token_auth_create_confirmable_users.rb
|
335
|
+
- test/dummy/db/schema.rb
|
336
|
+
- test/dummy/lib/migration_database_helper.rb
|
337
|
+
- test/factories/users.rb
|
338
|
+
- test/lib/devise_token_auth/blacklist_test.rb
|
339
|
+
- test/lib/devise_token_auth/token_factory_test.rb
|
340
|
+
- test/lib/devise_token_auth/url_test.rb
|
341
|
+
- test/lib/generators/devise_token_auth/install_generator_test.rb
|
342
|
+
- test/lib/generators/devise_token_auth/install_generator_with_namespace_test.rb
|
343
|
+
- test/lib/generators/devise_token_auth/install_views_generator_test.rb
|
344
|
+
- test/models/concerns/mongoid_support_test.rb
|
345
|
+
- test/models/concerns/tokens_serialization_test.rb
|
346
|
+
- test/models/confirmable_user_test.rb
|
347
|
+
- test/models/only_email_user_test.rb
|
348
|
+
- test/models/user_test.rb
|
349
|
+
- test/support/controllers/routes.rb
|
350
|
+
- test/test_helper.rb
|
351
|
+
homepage: https://github.com/SidecarLearning/devise_token_auth
|
352
|
+
licenses:
|
353
|
+
- WTFPL
|
354
|
+
metadata: {}
|
355
|
+
post_install_message:
|
356
|
+
rdoc_options: []
|
357
|
+
require_paths:
|
358
|
+
- lib
|
359
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
360
|
+
requirements:
|
361
|
+
- - ">="
|
362
|
+
- !ruby/object:Gem::Version
|
363
|
+
version: 2.2.0
|
364
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
365
|
+
requirements:
|
366
|
+
- - ">="
|
367
|
+
- !ruby/object:Gem::Version
|
368
|
+
version: '0'
|
369
|
+
requirements: []
|
370
|
+
rubygems_version: 3.1.2
|
371
|
+
signing_key:
|
372
|
+
specification_version: 4
|
373
|
+
summary: Token based authentication for rails. Uses Devise + OmniAuth.
|
374
|
+
test_files:
|
375
|
+
- test/controllers/demo_mang_controller_test.rb
|
376
|
+
- test/controllers/custom/custom_omniauth_callbacks_controller_test.rb
|
377
|
+
- test/controllers/custom/custom_registrations_controller_test.rb
|
378
|
+
- test/controllers/custom/custom_token_validations_controller_test.rb
|
379
|
+
- test/controllers/custom/custom_passwords_controller_test.rb
|
380
|
+
- test/controllers/custom/custom_confirmations_controller_test.rb
|
381
|
+
- test/controllers/custom/custom_sessions_controller_test.rb
|
382
|
+
- test/controllers/devise_token_auth/registrations_controller_test.rb
|
383
|
+
- test/controllers/devise_token_auth/token_validations_controller_test.rb
|
384
|
+
- test/controllers/devise_token_auth/passwords_controller_test.rb
|
385
|
+
- test/controllers/devise_token_auth/omniauth_callbacks_controller_test.rb
|
386
|
+
- test/controllers/devise_token_auth/unlocks_controller_test.rb
|
387
|
+
- test/controllers/devise_token_auth/confirmations_controller_test.rb
|
388
|
+
- test/controllers/devise_token_auth/sessions_controller_test.rb
|
389
|
+
- test/controllers/overrides/registrations_controller_test.rb
|
390
|
+
- test/controllers/overrides/token_validations_controller_test.rb
|
391
|
+
- test/controllers/overrides/passwords_controller_test.rb
|
392
|
+
- test/controllers/overrides/omniauth_callbacks_controller_test.rb
|
393
|
+
- test/controllers/overrides/confirmations_controller_test.rb
|
394
|
+
- test/controllers/overrides/sessions_controller_test.rb
|
395
|
+
- test/controllers/demo_group_controller_test.rb
|
396
|
+
- test/controllers/demo_user_controller_test.rb
|
397
|
+
- test/factories/users.rb
|
398
|
+
- test/dummy/config.ru
|
399
|
+
- test/dummy/app/controllers/demo_user_controller.rb
|
400
|
+
- test/dummy/app/controllers/auth_origin_controller.rb
|
401
|
+
- test/dummy/app/controllers/custom/token_validations_controller.rb
|
402
|
+
- test/dummy/app/controllers/custom/registrations_controller.rb
|
403
|
+
- test/dummy/app/controllers/custom/sessions_controller.rb
|
404
|
+
- test/dummy/app/controllers/custom/confirmations_controller.rb
|
405
|
+
- test/dummy/app/controllers/custom/omniauth_callbacks_controller.rb
|
406
|
+
- test/dummy/app/controllers/custom/passwords_controller.rb
|
407
|
+
- test/dummy/app/controllers/overrides/token_validations_controller.rb
|
408
|
+
- test/dummy/app/controllers/overrides/registrations_controller.rb
|
409
|
+
- test/dummy/app/controllers/overrides/sessions_controller.rb
|
410
|
+
- test/dummy/app/controllers/overrides/confirmations_controller.rb
|
411
|
+
- test/dummy/app/controllers/overrides/omniauth_callbacks_controller.rb
|
412
|
+
- test/dummy/app/controllers/overrides/passwords_controller.rb
|
413
|
+
- test/dummy/app/controllers/demo_mang_controller.rb
|
414
|
+
- test/dummy/app/controllers/application_controller.rb
|
415
|
+
- test/dummy/app/controllers/demo_group_controller.rb
|
416
|
+
- test/dummy/app/helpers/application_helper.rb
|
417
|
+
- test/dummy/app/views/layouts/application.html.erb
|
418
|
+
- test/dummy/app/mongoid/unconfirmable_user.rb
|
419
|
+
- test/dummy/app/mongoid/confirmable_user.rb
|
420
|
+
- test/dummy/app/mongoid/only_email_user.rb
|
421
|
+
- test/dummy/app/mongoid/mang.rb
|
422
|
+
- test/dummy/app/mongoid/scoped_user.rb
|
423
|
+
- test/dummy/app/mongoid/user.rb
|
424
|
+
- test/dummy/app/mongoid/unregisterable_user.rb
|
425
|
+
- test/dummy/app/mongoid/lockable_user.rb
|
426
|
+
- test/dummy/app/models/concerns/favorite_color.rb
|
427
|
+
- test/dummy/app/active_record/unconfirmable_user.rb
|
428
|
+
- test/dummy/app/active_record/confirmable_user.rb
|
429
|
+
- test/dummy/app/active_record/only_email_user.rb
|
430
|
+
- test/dummy/app/active_record/mang.rb
|
431
|
+
- test/dummy/app/active_record/scoped_user.rb
|
432
|
+
- test/dummy/app/active_record/user.rb
|
433
|
+
- test/dummy/app/active_record/unregisterable_user.rb
|
434
|
+
- test/dummy/app/active_record/lockable_user.rb
|
435
|
+
- test/dummy/README.rdoc
|
436
|
+
- test/dummy/lib/migration_database_helper.rb
|
437
|
+
- test/dummy/db/migrate/20140715061805_devise_token_auth_create_mangs.rb
|
438
|
+
- test/dummy/db/migrate/20140715061447_devise_token_auth_create_users.rb
|
439
|
+
- test/dummy/db/migrate/20140916224624_add_favorite_color_to_mangs.rb
|
440
|
+
- test/dummy/db/migrate/20150708104536_devise_token_auth_create_unconfirmable_users.rb
|
441
|
+
- test/dummy/db/migrate/20141222053502_devise_token_auth_create_unregisterable_users.rb
|
442
|
+
- test/dummy/db/migrate/20140829044006_add_operating_thetan_to_user.rb
|
443
|
+
- test/dummy/db/migrate/20190924101113_devise_token_auth_create_confirmable_users.rb
|
444
|
+
- test/dummy/db/migrate/20141222035835_devise_token_auth_create_only_email_users.rb
|
445
|
+
- test/dummy/db/migrate/20160629184441_devise_token_auth_create_lockable_users.rb
|
446
|
+
- test/dummy/db/migrate/20160103235141_devise_token_auth_create_scoped_users.rb
|
447
|
+
- test/dummy/db/schema.rb
|
448
|
+
- test/dummy/config/application.yml.bk
|
449
|
+
- test/dummy/config/environments/test.rb
|
450
|
+
- test/dummy/config/environments/production.rb
|
451
|
+
- test/dummy/config/environments/development.rb
|
452
|
+
- test/dummy/config/boot.rb
|
453
|
+
- test/dummy/config/application.rb
|
454
|
+
- test/dummy/config/routes.rb
|
455
|
+
- test/dummy/config/spring.rb
|
456
|
+
- test/dummy/config/initializers/cookies_serializer.rb
|
457
|
+
- test/dummy/config/initializers/session_store.rb
|
458
|
+
- test/dummy/config/initializers/mime_types.rb
|
459
|
+
- test/dummy/config/initializers/omniauth.rb
|
460
|
+
- test/dummy/config/initializers/figaro.rb
|
461
|
+
- test/dummy/config/initializers/backtrace_silencers.rb
|
462
|
+
- test/dummy/config/initializers/devise_token_auth.rb
|
463
|
+
- test/dummy/config/initializers/wrap_parameters.rb
|
464
|
+
- test/dummy/config/initializers/filter_parameter_logging.rb
|
465
|
+
- test/dummy/config/initializers/inflections.rb
|
466
|
+
- test/dummy/config/initializers/devise.rb
|
467
|
+
- test/dummy/config/initializers/assets.rb
|
468
|
+
- test/dummy/config/environment.rb
|
469
|
+
- test/lib/devise_token_auth/url_test.rb
|
470
|
+
- test/lib/devise_token_auth/token_factory_test.rb
|
471
|
+
- test/lib/devise_token_auth/blacklist_test.rb
|
472
|
+
- test/lib/generators/devise_token_auth/install_generator_test.rb
|
473
|
+
- test/lib/generators/devise_token_auth/install_generator_with_namespace_test.rb
|
474
|
+
- test/lib/generators/devise_token_auth/install_views_generator_test.rb
|
475
|
+
- test/support/controllers/routes.rb
|
476
|
+
- test/models/confirmable_user_test.rb
|
477
|
+
- test/models/user_test.rb
|
478
|
+
- test/models/concerns/tokens_serialization_test.rb
|
479
|
+
- test/models/concerns/mongoid_support_test.rb
|
480
|
+
- test/models/only_email_user_test.rb
|
481
|
+
- test/test_helper.rb
|