auth0 3.1.2 → 3.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (54) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -1
  3. data/auth0.gemspec +6 -5
  4. data/lib/auth0/api/authentication_endpoints.rb +19 -2
  5. data/lib/auth0/mixins/initializer.rb +3 -3
  6. data/lib/auth0/version.rb +1 -1
  7. data/spec/lib/auth0/api/authentication_endpoints_spec.rb +20 -2
  8. data/spec/lib/auth0/client_spec.rb +1 -1
  9. data/spec/lib/auth0/mixins/initializer_spec.rb +28 -0
  10. metadata +44 -72
  11. data/doc/Auth0.html +0 -153
  12. data/doc/Auth0/AccessDenied.html +0 -142
  13. data/doc/Auth0/Api.html +0 -128
  14. data/doc/Auth0/Api/AuthenticationEndpoints.html +0 -592
  15. data/doc/Auth0/Api/V1.html +0 -188
  16. data/doc/Auth0/Api/V1/Clients.html +0 -440
  17. data/doc/Auth0/Api/V1/Connections.html +0 -506
  18. data/doc/Auth0/Api/V1/Logs.html +0 -366
  19. data/doc/Auth0/Api/V1/Rules.html +0 -439
  20. data/doc/Auth0/Api/V1/Users.html +0 -1617
  21. data/doc/Auth0/Api/V2.html +0 -193
  22. data/doc/Auth0/Api/V2/Blacklists.html +0 -268
  23. data/doc/Auth0/Api/V2/Clients.html +0 -477
  24. data/doc/Auth0/Api/V2/Jobs.html +0 -277
  25. data/doc/Auth0/Api/V2/Router.html +0 -109
  26. data/doc/Auth0/Api/V2/Stats.html +0 -268
  27. data/doc/Auth0/Api/V2/Users.html +0 -652
  28. data/doc/Auth0/BadRequest.html +0 -142
  29. data/doc/Auth0/Client.html +0 -164
  30. data/doc/Auth0/Exception.html +0 -140
  31. data/doc/Auth0/InvalidParameter.html +0 -142
  32. data/doc/Auth0/Mixins.html +0 -153
  33. data/doc/Auth0/Mixins/HTTPartyProxy.html +0 -121
  34. data/doc/Auth0/Mixins/Initializer.html +0 -312
  35. data/doc/Auth0/NotFound.html +0 -143
  36. data/doc/Auth0/ServerError.html +0 -142
  37. data/doc/Auth0/Unauthorized.html +0 -143
  38. data/doc/Auth0/Unsupported.html +0 -142
  39. data/doc/Auth0/UserIdIsBlank.html +0 -143
  40. data/doc/Auth0Client.html +0 -163
  41. data/doc/_index.html +0 -418
  42. data/doc/class_list.html +0 -58
  43. data/doc/css/common.css +0 -1
  44. data/doc/css/full_list.css +0 -57
  45. data/doc/css/style.css +0 -339
  46. data/doc/file.README.html +0 -103
  47. data/doc/file_list.html +0 -60
  48. data/doc/frames.html +0 -26
  49. data/doc/index.html +0 -103
  50. data/doc/js/app.js +0 -219
  51. data/doc/js/full_list.js +0 -181
  52. data/doc/js/jquery.js +0 -4
  53. data/doc/method_list.html +0 -435
  54. data/doc/top-level-namespace.html +0 -114
@@ -1,193 +0,0 @@
1
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
- <head>
5
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6
- <title>
7
- Module: Auth0::Api::V2
8
-
9
- &mdash; Documentation by YARD 0.8.7.6
10
-
11
- </title>
12
-
13
- <link rel="stylesheet" href="../../css/style.css" type="text/css" charset="utf-8" />
14
-
15
- <link rel="stylesheet" href="../../css/common.css" type="text/css" charset="utf-8" />
16
-
17
- <script type="text/javascript" charset="utf-8">
18
- hasFrames = window.top.frames.main ? true : false;
19
- relpath = '../../';
20
- framesUrl = "../../frames.html#!Auth0/Api/V2.html";
21
- </script>
22
-
23
-
24
- <script type="text/javascript" charset="utf-8" src="../../js/jquery.js"></script>
25
-
26
- <script type="text/javascript" charset="utf-8" src="../../js/app.js"></script>
27
-
28
-
29
- </head>
30
- <body>
31
- <div id="header">
32
- <div id="menu">
33
-
34
- <a href="../../_index.html">Index (V)</a> &raquo;
35
- <span class='title'><span class='object_link'><a href="../../Auth0.html" title="Auth0 (module)">Auth0</a></span></span> &raquo; <span class='title'><span class='object_link'><a href="../Api.html" title="Auth0::Api (module)">Api</a></span></span>
36
- &raquo;
37
- <span class="title">V2</span>
38
-
39
-
40
- <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
41
- </div>
42
-
43
- <div id="search">
44
-
45
- <a class="full_list_link" id="class_list_link"
46
- href="../../class_list.html">
47
- Class List
48
- </a>
49
-
50
- <a class="full_list_link" id="method_list_link"
51
- href="../../method_list.html">
52
- Method List
53
- </a>
54
-
55
- <a class="full_list_link" id="file_list_link"
56
- href="../../file_list.html">
57
- File List
58
- </a>
59
-
60
- </div>
61
- <div class="clear"></div>
62
- </div>
63
-
64
- <iframe id="search_frame"></iframe>
65
-
66
- <div id="content"><h1>Module: Auth0::Api::V2
67
-
68
-
69
-
70
- </h1>
71
-
72
- <dl class="box">
73
-
74
-
75
-
76
-
77
-
78
- <dt class="r1">Includes:</dt>
79
- <dd class="r1"><span class='object_link'><a href="V2/Blacklists.html" title="Auth0::Api::V2::Blacklists (module)">Blacklists</a></span>, <span class='object_link'><a href="V2/Clients.html" title="Auth0::Api::V2::Clients (module)">Clients</a></span>, <span class='object_link'><a href="V2/Jobs.html" title="Auth0::Api::V2::Jobs (module)">Jobs</a></span>, <span class='object_link'><a href="V2/Router.html" title="Auth0::Api::V2::Router (module)">Router</a></span>, <span class='object_link'><a href="V2/Stats.html" title="Auth0::Api::V2::Stats (module)">Stats</a></span>, <span class='object_link'><a href="V2/Users.html" title="Auth0::Api::V2::Users (module)">Users</a></span></dd>
80
-
81
-
82
-
83
-
84
-
85
- <dt class="r2 last">Defined in:</dt>
86
- <dd class="r2 last">lib/auth0/api/v2.rb<span class="defines">,<br />
87
- lib/auth0/api/v2/jobs.rb,<br /> lib/auth0/api/v2/stats.rb,<br /> lib/auth0/api/v2/users.rb,<br /> lib/auth0/api/v2/router.rb,<br /> lib/auth0/api/v2/clients.rb,<br /> lib/auth0/api/v2/blacklists.rb</span>
88
- </dd>
89
-
90
- </dl>
91
- <div class="clear"></div>
92
-
93
- <h2>Overview</h2><div class="docstring">
94
- <div class="discussion">
95
-
96
- <p><a href="https://auth0.com/docs/apiv2">auth0.com/docs/apiv2</a></p>
97
-
98
-
99
- </div>
100
- </div>
101
- <div class="tags">
102
-
103
-
104
- </div><h2>Defined Under Namespace</h2>
105
- <p class="children">
106
-
107
-
108
- <strong class="modules">Modules:</strong> <span class='object_link'><a href="V2/Blacklists.html" title="Auth0::Api::V2::Blacklists (module)">Blacklists</a></span>, <span class='object_link'><a href="V2/Clients.html" title="Auth0::Api::V2::Clients (module)">Clients</a></span>, <span class='object_link'><a href="V2/Jobs.html" title="Auth0::Api::V2::Jobs (module)">Jobs</a></span>, <span class='object_link'><a href="V2/Router.html" title="Auth0::Api::V2::Router (module)">Router</a></span>, <span class='object_link'><a href="V2/Stats.html" title="Auth0::Api::V2::Stats (module)">Stats</a></span>, <span class='object_link'><a href="V2/Users.html" title="Auth0::Api::V2::Users (module)">Users</a></span>
109
-
110
-
111
-
112
-
113
- </p>
114
-
115
-
116
-
117
-
118
-
119
-
120
-
121
-
122
-
123
-
124
-
125
-
126
-
127
-
128
- <h2>Method Summary</h2>
129
-
130
- <h3 class="inherited">Methods included from <span class='object_link'><a href="V2/Stats.html" title="Auth0::Api::V2::Stats (module)">Stats</a></span></h3>
131
- <p class="inherited"><span class='object_link'><a href="V2/Stats.html#active_users-instance_method" title="Auth0::Api::V2::Stats#active_users (method)">#active_users</a></span>, <span class='object_link'><a href="V2/Stats.html#daily_stats-instance_method" title="Auth0::Api::V2::Stats#daily_stats (method)">#daily_stats</a></span></p>
132
-
133
-
134
-
135
-
136
-
137
-
138
-
139
-
140
-
141
- <h3 class="inherited">Methods included from <span class='object_link'><a href="V2/Jobs.html" title="Auth0::Api::V2::Jobs (module)">Jobs</a></span></h3>
142
- <p class="inherited"><span class='object_link'><a href="V2/Jobs.html#create_job-instance_method" title="Auth0::Api::V2::Jobs#create_job (method)">#create_job</a></span>, <span class='object_link'><a href="V2/Jobs.html#get_job-instance_method" title="Auth0::Api::V2::Jobs#get_job (method)">#get_job</a></span></p>
143
-
144
-
145
-
146
-
147
-
148
-
149
-
150
-
151
-
152
- <h3 class="inherited">Methods included from <span class='object_link'><a href="V2/Blacklists.html" title="Auth0::Api::V2::Blacklists (module)">Blacklists</a></span></h3>
153
- <p class="inherited"><span class='object_link'><a href="V2/Blacklists.html#add_token_to_blacklist-instance_method" title="Auth0::Api::V2::Blacklists#add_token_to_blacklist (method)">#add_token_to_blacklist</a></span>, <span class='object_link'><a href="V2/Blacklists.html#blacklisted_tokens-instance_method" title="Auth0::Api::V2::Blacklists#blacklisted_tokens (method)">#blacklisted_tokens</a></span></p>
154
-
155
-
156
-
157
-
158
-
159
-
160
-
161
-
162
-
163
- <h3 class="inherited">Methods included from <span class='object_link'><a href="V2/Users.html" title="Auth0::Api::V2::Users (module)">Users</a></span></h3>
164
- <p class="inherited"><span class='object_link'><a href="V2/Users.html#create_user-instance_method" title="Auth0::Api::V2::Users#create_user (method)">#create_user</a></span>, <span class='object_link'><a href="V2/Users.html#delete_user-instance_method" title="Auth0::Api::V2::Users#delete_user (method)">#delete_user</a></span>, <span class='object_link'><a href="V2/Users.html#delete_user_provider-instance_method" title="Auth0::Api::V2::Users#delete_user_provider (method)">#delete_user_provider</a></span>, <span class='object_link'><a href="V2/Users.html#delete_users-instance_method" title="Auth0::Api::V2::Users#delete_users (method)">#delete_users</a></span>, <span class='object_link'><a href="V2/Users.html#patch_user-instance_method" title="Auth0::Api::V2::Users#patch_user (method)">#patch_user</a></span>, <span class='object_link'><a href="V2/Users.html#user-instance_method" title="Auth0::Api::V2::Users#user (method)">#user</a></span>, <span class='object_link'><a href="V2/Users.html#users-instance_method" title="Auth0::Api::V2::Users#users (method)">#users</a></span></p>
165
-
166
-
167
-
168
-
169
-
170
-
171
-
172
-
173
-
174
- <h3 class="inherited">Methods included from <span class='object_link'><a href="V2/Clients.html" title="Auth0::Api::V2::Clients (module)">Clients</a></span></h3>
175
- <p class="inherited"><span class='object_link'><a href="V2/Clients.html#client-instance_method" title="Auth0::Api::V2::Clients#client (method)">#client</a></span>, <span class='object_link'><a href="V2/Clients.html#clients-instance_method" title="Auth0::Api::V2::Clients#clients (method)">#clients</a></span>, <span class='object_link'><a href="V2/Clients.html#create_client-instance_method" title="Auth0::Api::V2::Clients#create_client (method)">#create_client</a></span>, <span class='object_link'><a href="V2/Clients.html#delete_client-instance_method" title="Auth0::Api::V2::Clients#delete_client (method)">#delete_client</a></span>, <span class='object_link'><a href="V2/Clients.html#patch_client-instance_method" title="Auth0::Api::V2::Clients#patch_client (method)">#patch_client</a></span></p>
176
-
177
-
178
-
179
-
180
-
181
-
182
-
183
-
184
- </div>
185
-
186
- <div id="footer">
187
- Generated on Mon Feb 23 01:12:53 2015 by
188
- <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
189
- 0.8.7.6 (ruby-2.0.0).
190
- </div>
191
-
192
- </body>
193
- </html>
@@ -1,268 +0,0 @@
1
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
- <head>
5
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6
- <title>
7
- Module: Auth0::Api::V2::Blacklists
8
-
9
- &mdash; Documentation by YARD 0.8.7.6
10
-
11
- </title>
12
-
13
- <link rel="stylesheet" href="../../../css/style.css" type="text/css" charset="utf-8" />
14
-
15
- <link rel="stylesheet" href="../../../css/common.css" type="text/css" charset="utf-8" />
16
-
17
- <script type="text/javascript" charset="utf-8">
18
- hasFrames = window.top.frames.main ? true : false;
19
- relpath = '../../../';
20
- framesUrl = "../../../frames.html#!Auth0/Api/V2/Blacklists.html";
21
- </script>
22
-
23
-
24
- <script type="text/javascript" charset="utf-8" src="../../../js/jquery.js"></script>
25
-
26
- <script type="text/javascript" charset="utf-8" src="../../../js/app.js"></script>
27
-
28
-
29
- </head>
30
- <body>
31
- <div id="header">
32
- <div id="menu">
33
-
34
- <a href="../../../_index.html">Index (B)</a> &raquo;
35
- <span class='title'><span class='object_link'><a href="../../../Auth0.html" title="Auth0 (module)">Auth0</a></span></span> &raquo; <span class='title'><span class='object_link'><a href="../../Api.html" title="Auth0::Api (module)">Api</a></span></span> &raquo; <span class='title'><span class='object_link'><a href="../V2.html" title="Auth0::Api::V2 (module)">V2</a></span></span>
36
- &raquo;
37
- <span class="title">Blacklists</span>
38
-
39
-
40
- <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
41
- </div>
42
-
43
- <div id="search">
44
-
45
- <a class="full_list_link" id="class_list_link"
46
- href="../../../class_list.html">
47
- Class List
48
- </a>
49
-
50
- <a class="full_list_link" id="method_list_link"
51
- href="../../../method_list.html">
52
- Method List
53
- </a>
54
-
55
- <a class="full_list_link" id="file_list_link"
56
- href="../../../file_list.html">
57
- File List
58
- </a>
59
-
60
- </div>
61
- <div class="clear"></div>
62
- </div>
63
-
64
- <iframe id="search_frame"></iframe>
65
-
66
- <div id="content"><h1>Module: Auth0::Api::V2::Blacklists
67
-
68
-
69
-
70
- </h1>
71
-
72
- <dl class="box">
73
-
74
-
75
-
76
-
77
-
78
-
79
-
80
- <dt class="r1">Included in:</dt>
81
- <dd class="r1"><span class='object_link'><a href="../V2.html" title="Auth0::Api::V2 (module)">Auth0::Api::V2</a></span></dd>
82
-
83
-
84
-
85
- <dt class="r2 last">Defined in:</dt>
86
- <dd class="r2 last">lib/auth0/api/v2/blacklists.rb</dd>
87
-
88
- </dl>
89
- <div class="clear"></div>
90
-
91
-
92
-
93
-
94
-
95
-
96
-
97
-
98
-
99
- <h2>
100
- Instance Method Summary
101
- <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
102
- </h2>
103
-
104
- <ul class="summary">
105
-
106
- <li class="public ">
107
- <span class="summary_signature">
108
-
109
- <a href="#add_token_to_blacklist-instance_method" title="#add_token_to_blacklist (instance method)">- (Object) <strong>add_token_to_blacklist</strong>(jti, aud = nil) </a>
110
-
111
-
112
-
113
- </span>
114
-
115
-
116
-
117
-
118
-
119
-
120
-
121
-
122
-
123
- <span class="summary_desc"><div class='inline'>
124
- <p><a
125
- href="https://auth0.com/docs/apiv2#!/blacklists/post_tokens">auth0.com/docs/apiv2#!/blacklists/post_tokens</a>.</p>
126
- </div></span>
127
-
128
- </li>
129
-
130
-
131
- <li class="public ">
132
- <span class="summary_signature">
133
-
134
- <a href="#blacklisted_tokens-instance_method" title="#blacklisted_tokens (instance method)">- (Object) <strong>blacklisted_tokens</strong> </a>
135
-
136
-
137
-
138
- </span>
139
-
140
-
141
-
142
-
143
-
144
-
145
-
146
-
147
-
148
- <span class="summary_desc"><div class='inline'>
149
- <p><a
150
- href="https://auth0.com/docs/apiv2#!/blacklists/get_tokens">auth0.com/docs/apiv2#!/blacklists/get_tokens</a>.</p>
151
- </div></span>
152
-
153
- </li>
154
-
155
-
156
- </ul>
157
-
158
-
159
-
160
-
161
- <div id="instance_method_details" class="method_details_list">
162
- <h2>Instance Method Details</h2>
163
-
164
-
165
- <div class="method_details first">
166
- <h3 class="signature first" id="add_token_to_blacklist-instance_method">
167
-
168
- - (<tt>Object</tt>) <strong>add_token_to_blacklist</strong>(jti, aud = nil)
169
-
170
-
171
-
172
-
173
-
174
- </h3><div class="docstring">
175
- <div class="discussion">
176
-
177
- <p><a
178
- href="https://auth0.com/docs/apiv2#!/blacklists/post_tokens">auth0.com/docs/apiv2#!/blacklists/post_tokens</a></p>
179
-
180
-
181
- </div>
182
- </div>
183
- <div class="tags">
184
-
185
-
186
- </div><table class="source_code">
187
- <tr>
188
- <td>
189
- <pre class="lines">
190
-
191
-
192
- 11
193
- 12
194
- 13
195
- 14
196
- 15
197
- 16
198
- 17</pre>
199
- </td>
200
- <td>
201
- <pre class="code"><span class="info file"># File 'lib/auth0/api/v2/blacklists.rb', line 11</span>
202
-
203
- <span class='kw'>def</span> <span class='id identifier rubyid_add_token_to_blacklist'>add_token_to_blacklist</span><span class='lparen'>(</span><span class='id identifier rubyid_jti'>jti</span><span class='comma'>,</span> <span class='id identifier rubyid_aud'>aud</span><span class='op'>=</span><span class='kw'>nil</span><span class='rparen'>)</span>
204
- <span class='id identifier rubyid_request_params'>request_params</span> <span class='op'>=</span> <span class='lbrace'>{</span>
205
- <span class='label'>jti:</span> <span class='id identifier rubyid_jti'>jti</span><span class='comma'>,</span>
206
- <span class='label'>aud:</span> <span class='id identifier rubyid_aud'>aud</span>
207
- <span class='rbrace'>}</span>
208
- <span class='id identifier rubyid_post'>post</span><span class='lparen'>(</span><span class='id identifier rubyid_path'>path</span><span class='comma'>,</span> <span class='id identifier rubyid_request_params'>request_params</span><span class='rparen'>)</span>
209
- <span class='kw'>end</span></pre>
210
- </td>
211
- </tr>
212
- </table>
213
- </div>
214
-
215
- <div class="method_details ">
216
- <h3 class="signature " id="blacklisted_tokens-instance_method">
217
-
218
- - (<tt>Object</tt>) <strong>blacklisted_tokens</strong>
219
-
220
-
221
-
222
-
223
-
224
- </h3><div class="docstring">
225
- <div class="discussion">
226
-
227
- <p><a
228
- href="https://auth0.com/docs/apiv2#!/blacklists/get_tokens">auth0.com/docs/apiv2#!/blacklists/get_tokens</a></p>
229
-
230
-
231
- </div>
232
- </div>
233
- <div class="tags">
234
-
235
-
236
- </div><table class="source_code">
237
- <tr>
238
- <td>
239
- <pre class="lines">
240
-
241
-
242
- 6
243
- 7
244
- 8</pre>
245
- </td>
246
- <td>
247
- <pre class="code"><span class="info file"># File 'lib/auth0/api/v2/blacklists.rb', line 6</span>
248
-
249
- <span class='kw'>def</span> <span class='id identifier rubyid_blacklisted_tokens'>blacklisted_tokens</span>
250
- <span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='id identifier rubyid_path'>path</span><span class='rparen'>)</span>
251
- <span class='kw'>end</span></pre>
252
- </td>
253
- </tr>
254
- </table>
255
- </div>
256
-
257
- </div>
258
-
259
- </div>
260
-
261
- <div id="footer">
262
- Generated on Mon Feb 23 01:12:53 2015 by
263
- <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
264
- 0.8.7.6 (ruby-2.0.0).
265
- </div>
266
-
267
- </body>
268
- </html>