auth0 3.1.2 → 3.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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,506 +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::V1::Connections
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/V1/Connections.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 (C)</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="../V1.html" title="Auth0::Api::V1 (module)">V1</a></span></span>
36
- &raquo;
37
- <span class="title">Connections</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::V1::Connections
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="../V1.html" title="Auth0::Api::V1 (module)">Auth0::Api::V1</a></span></dd>
82
-
83
-
84
-
85
- <dt class="r2 last">Defined in:</dt>
86
- <dd class="r2 last">lib/auth0/api/v1/connections.rb</dd>
87
-
88
- </dl>
89
- <div class="clear"></div>
90
-
91
- <h2>Overview</h2><div class="docstring">
92
- <div class="discussion">
93
-
94
- <p><a href="https://auth0.com/docs/api#connections" target="_parent" title="https://auth0.com/docs/api#connections">https://auth0.com/docs/api#connections</a></p>
95
-
96
-
97
- </div>
98
- </div>
99
- <div class="tags">
100
-
101
-
102
- </div>
103
-
104
-
105
-
106
-
107
-
108
-
109
-
110
- <h2>
111
- Instance Method Summary
112
- <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
113
- </h2>
114
-
115
- <ul class="summary">
116
-
117
- <li class="public ">
118
- <span class="summary_signature">
119
-
120
- <a href="#connection-instance_method" title="#connection (instance method)">- (Object) <strong>connection</strong>(connection_name) </a>
121
-
122
-
123
-
124
- (also: #get_connection)
125
-
126
- </span>
127
-
128
-
129
-
130
-
131
-
132
-
133
-
134
-
135
-
136
- <span class="summary_desc"><div class='inline'>
137
- <p><a href="https://auth0.com/docs/api#!#get–api-connections–connection-name-" target="_parent" title="https://auth0.com/docs/api#!#get–api-connections–connection-name-">https://auth0.com/docs/api#!#get–api-connections–connection-name-</a>.</p>
138
- </div></span>
139
-
140
- </li>
141
-
142
-
143
- <li class="public ">
144
- <span class="summary_signature">
145
-
146
- <a href="#connections-instance_method" title="#connections (instance method)">- (Object) <strong>connections</strong> </a>
147
-
148
-
149
-
150
- (also: #get_connections)
151
-
152
- </span>
153
-
154
-
155
-
156
-
157
-
158
-
159
-
160
-
161
-
162
- <span class="summary_desc"><div class='inline'>
163
- <p><a href="https://auth0.com/docs/api#!#get–api-connections" target="_parent" title="https://auth0.com/docs/api#!#get–api-connections">https://auth0.com/docs/api#!#get–api-connections</a>.</p>
164
- </div></span>
165
-
166
- </li>
167
-
168
-
169
- <li class="public ">
170
- <span class="summary_signature">
171
-
172
- <a href="#create_connection-instance_method" title="#create_connection (instance method)">- (Object) <strong>create_connection</strong>(connection_name, strategy, tenant_domain, domain_aliases = nil) </a>
173
-
174
-
175
-
176
- </span>
177
-
178
-
179
-
180
-
181
-
182
-
183
-
184
-
185
-
186
- <span class="summary_desc"><div class='inline'>
187
- <p><a href="https://auth0.com/docs/api#!#post–api-connections" target="_parent" title="https://auth0.com/docs/api#!#post–api-connections">https://auth0.com/docs/api#!#post–api-connections</a>.</p>
188
- </div></span>
189
-
190
- </li>
191
-
192
-
193
- <li class="public ">
194
- <span class="summary_signature">
195
-
196
- <a href="#delete_connection-instance_method" title="#delete_connection (instance method)">- (Object) <strong>delete_connection</strong>(connection_name) </a>
197
-
198
-
199
-
200
- </span>
201
-
202
-
203
-
204
-
205
-
206
-
207
-
208
-
209
-
210
- <span class="summary_desc"><div class='inline'>
211
- <p><a href="https://auth0.com/docs/api#!#delete–api-connections–connection-name-" target="_parent" title="https://auth0.com/docs/api#!#delete–api-connections–connection-name-">https://auth0.com/docs/api#!#delete–api-connections–connection-name-</a>.</p>
212
- </div></span>
213
-
214
- </li>
215
-
216
-
217
- <li class="public ">
218
- <span class="summary_signature">
219
-
220
- <a href="#update_connection-instance_method" title="#update_connection (instance method)">- (Object) <strong>update_connection</strong>(connection_name, tenant_domain, status = true) </a>
221
-
222
-
223
-
224
- </span>
225
-
226
-
227
-
228
-
229
-
230
-
231
-
232
-
233
-
234
- <span class="summary_desc"><div class='inline'>
235
- <p><a href="https://auth0.com/docs/api#!#put–api-connections–connection-name-" target="_parent" title="https://auth0.com/docs/api#!#put–api-connections–connection-name-">https://auth0.com/docs/api#!#put–api-connections–connection-name-</a>.</p>
236
- </div></span>
237
-
238
- </li>
239
-
240
-
241
- </ul>
242
-
243
-
244
-
245
-
246
- <div id="instance_method_details" class="method_details_list">
247
- <h2>Instance Method Details</h2>
248
-
249
-
250
- <div class="method_details first">
251
- <h3 class="signature first" id="connection-instance_method">
252
-
253
- - (<tt>Object</tt>) <strong>connection</strong>(connection_name)
254
-
255
-
256
-
257
- <span class="aliases">Also known as:
258
- <span class="names"><span id='get_connection-instance_method'>get_connection</span></span>
259
- </span>
260
-
261
-
262
-
263
- </h3><div class="docstring">
264
- <div class="discussion">
265
-
266
- <p><a href="https://auth0.com/docs/api#!#get–api-connections–connection-name-" target="_parent" title="https://auth0.com/docs/api#!#get–api-connections–connection-name-">https://auth0.com/docs/api#!#get–api-connections–connection-name-</a></p>
267
-
268
-
269
- </div>
270
- </div>
271
- <div class="tags">
272
-
273
-
274
- </div><table class="source_code">
275
- <tr>
276
- <td>
277
- <pre class="lines">
278
-
279
-
280
- 13
281
- 14
282
- 15
283
- 16</pre>
284
- </td>
285
- <td>
286
- <pre class="code"><span class="info file"># File 'lib/auth0/api/v1/connections.rb', line 13</span>
287
-
288
- <span class='kw'>def</span> <span class='id identifier rubyid_connection'>connection</span><span class='lparen'>(</span><span class='id identifier rubyid_connection_name'>connection_name</span><span class='rparen'>)</span>
289
- <span class='id identifier rubyid_path'>path</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/api/connections/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_connection_name'>connection_name</span><span class='period'>.</span><span class='id identifier rubyid_to_s'>to_s</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span>
290
- <span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='id identifier rubyid_path'>path</span><span class='rparen'>)</span>
291
- <span class='kw'>end</span></pre>
292
- </td>
293
- </tr>
294
- </table>
295
- </div>
296
-
297
- <div class="method_details ">
298
- <h3 class="signature " id="connections-instance_method">
299
-
300
- - (<tt>Object</tt>) <strong>connections</strong>
301
-
302
-
303
-
304
- <span class="aliases">Also known as:
305
- <span class="names"><span id='get_connections-instance_method'>get_connections</span></span>
306
- </span>
307
-
308
-
309
-
310
- </h3><div class="docstring">
311
- <div class="discussion">
312
-
313
- <p><a href="https://auth0.com/docs/api#!#get–api-connections" target="_parent" title="https://auth0.com/docs/api#!#get–api-connections">https://auth0.com/docs/api#!#get–api-connections</a></p>
314
-
315
-
316
- </div>
317
- </div>
318
- <div class="tags">
319
-
320
-
321
- </div><table class="source_code">
322
- <tr>
323
- <td>
324
- <pre class="lines">
325
-
326
-
327
- 7
328
- 8
329
- 9</pre>
330
- </td>
331
- <td>
332
- <pre class="code"><span class="info file"># File 'lib/auth0/api/v1/connections.rb', line 7</span>
333
-
334
- <span class='kw'>def</span> <span class='id identifier rubyid_connections'>connections</span>
335
- <span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/api/connections</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
336
- <span class='kw'>end</span></pre>
337
- </td>
338
- </tr>
339
- </table>
340
- </div>
341
-
342
- <div class="method_details ">
343
- <h3 class="signature " id="create_connection-instance_method">
344
-
345
- - (<tt>Object</tt>) <strong>create_connection</strong>(connection_name, strategy, tenant_domain, domain_aliases = nil)
346
-
347
-
348
-
349
-
350
-
351
- </h3><div class="docstring">
352
- <div class="discussion">
353
-
354
- <p><a href="https://auth0.com/docs/api#!#post–api-connections" target="_parent" title="https://auth0.com/docs/api#!#post–api-connections">https://auth0.com/docs/api#!#post–api-connections</a></p>
355
-
356
-
357
- </div>
358
- </div>
359
- <div class="tags">
360
-
361
-
362
- </div><table class="source_code">
363
- <tr>
364
- <td>
365
- <pre class="lines">
366
-
367
-
368
- 26
369
- 27
370
- 28
371
- 29
372
- 30
373
- 31
374
- 32
375
- 33
376
- 34
377
- 35
378
- 36</pre>
379
- </td>
380
- <td>
381
- <pre class="code"><span class="info file"># File 'lib/auth0/api/v1/connections.rb', line 26</span>
382
-
383
- <span class='kw'>def</span> <span class='id identifier rubyid_create_connection'>create_connection</span><span class='lparen'>(</span><span class='id identifier rubyid_connection_name'>connection_name</span><span class='comma'>,</span> <span class='id identifier rubyid_strategy'>strategy</span><span class='comma'>,</span> <span class='id identifier rubyid_tenant_domain'>tenant_domain</span><span class='comma'>,</span> <span class='id identifier rubyid_domain_aliases'>domain_aliases</span><span class='op'>=</span><span class='kw'>nil</span><span class='rparen'>)</span>
384
- <span class='id identifier rubyid_path'>path</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/api/connections</span><span class='tstring_end'>&quot;</span></span>
385
- <span class='id identifier rubyid_request_params'>request_params</span> <span class='op'>=</span> <span class='lbrace'>{</span> <span class='label'>name:</span> <span class='id identifier rubyid_connection_name'>connection_name</span><span class='comma'>,</span>
386
- <span class='label'>strategy:</span> <span class='id identifier rubyid_strategy'>strategy</span><span class='comma'>,</span>
387
- <span class='label'>options:</span> <span class='lbrace'>{</span>
388
- <span class='label'>tenant_domain:</span> <span class='id identifier rubyid_tenant_domain'>tenant_domain</span><span class='comma'>,</span>
389
- <span class='label'>domain_aliases:</span> <span class='id identifier rubyid_domain_aliases'>domain_aliases</span>
390
- <span class='rbrace'>}</span>
391
- <span class='rbrace'>}</span>
392
- <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>
393
- <span class='kw'>end</span></pre>
394
- </td>
395
- </tr>
396
- </table>
397
- </div>
398
-
399
- <div class="method_details ">
400
- <h3 class="signature " id="delete_connection-instance_method">
401
-
402
- - (<tt>Object</tt>) <strong>delete_connection</strong>(connection_name)
403
-
404
-
405
-
406
-
407
-
408
- </h3><div class="docstring">
409
- <div class="discussion">
410
-
411
- <p><a href="https://auth0.com/docs/api#!#delete–api-connections–connection-name-" target="_parent" title="https://auth0.com/docs/api#!#delete–api-connections–connection-name-">https://auth0.com/docs/api#!#delete–api-connections–connection-name-</a></p>
412
-
413
-
414
- </div>
415
- </div>
416
- <div class="tags">
417
-
418
-
419
- </div><table class="source_code">
420
- <tr>
421
- <td>
422
- <pre class="lines">
423
-
424
-
425
- 20
426
- 21
427
- 22
428
- 23</pre>
429
- </td>
430
- <td>
431
- <pre class="code"><span class="info file"># File 'lib/auth0/api/v1/connections.rb', line 20</span>
432
-
433
- <span class='kw'>def</span> <span class='id identifier rubyid_delete_connection'>delete_connection</span><span class='lparen'>(</span><span class='id identifier rubyid_connection_name'>connection_name</span><span class='rparen'>)</span>
434
- <span class='id identifier rubyid_path'>path</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/api/connections/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_connection_name'>connection_name</span><span class='period'>.</span><span class='id identifier rubyid_to_s'>to_s</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span>
435
- <span class='id identifier rubyid_delete'>delete</span><span class='lparen'>(</span><span class='id identifier rubyid_path'>path</span><span class='rparen'>)</span>
436
- <span class='kw'>end</span></pre>
437
- </td>
438
- </tr>
439
- </table>
440
- </div>
441
-
442
- <div class="method_details ">
443
- <h3 class="signature " id="update_connection-instance_method">
444
-
445
- - (<tt>Object</tt>) <strong>update_connection</strong>(connection_name, tenant_domain, status = true)
446
-
447
-
448
-
449
-
450
-
451
- </h3><div class="docstring">
452
- <div class="discussion">
453
-
454
- <p><a href="https://auth0.com/docs/api#!#put–api-connections–connection-name-" target="_parent" title="https://auth0.com/docs/api#!#put–api-connections–connection-name-">https://auth0.com/docs/api#!#put–api-connections–connection-name-</a></p>
455
-
456
-
457
- </div>
458
- </div>
459
- <div class="tags">
460
-
461
-
462
- </div><table class="source_code">
463
- <tr>
464
- <td>
465
- <pre class="lines">
466
-
467
-
468
- 39
469
- 40
470
- 41
471
- 42
472
- 43
473
- 44
474
- 45
475
- 46
476
- 47</pre>
477
- </td>
478
- <td>
479
- <pre class="code"><span class="info file"># File 'lib/auth0/api/v1/connections.rb', line 39</span>
480
-
481
- <span class='kw'>def</span> <span class='id identifier rubyid_update_connection'>update_connection</span><span class='lparen'>(</span><span class='id identifier rubyid_connection_name'>connection_name</span><span class='comma'>,</span> <span class='id identifier rubyid_tenant_domain'>tenant_domain</span><span class='comma'>,</span> <span class='id identifier rubyid_status'>status</span><span class='op'>=</span><span class='kw'>true</span><span class='rparen'>)</span>
482
- <span class='id identifier rubyid_path'>path</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/api/connections/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_connection_name'>connection_name</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span>
483
- <span class='id identifier rubyid_request_params'>request_params</span> <span class='op'>=</span> <span class='lbrace'>{</span> <span class='label'>status:</span> <span class='id identifier rubyid_status'>status</span><span class='comma'>,</span>
484
- <span class='label'>options:</span> <span class='lbrace'>{</span>
485
- <span class='label'>tenant_domain:</span> <span class='id identifier rubyid_tenant_domain'>tenant_domain</span>
486
- <span class='rbrace'>}</span>
487
- <span class='rbrace'>}</span>
488
- <span class='id identifier rubyid_put'>put</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>
489
- <span class='kw'>end</span></pre>
490
- </td>
491
- </tr>
492
- </table>
493
- </div>
494
-
495
- </div>
496
-
497
- </div>
498
-
499
- <div id="footer">
500
- Generated on Mon Feb 23 01:12:53 2015 by
501
- <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
502
- 0.8.7.6 (ruby-2.0.0).
503
- </div>
504
-
505
- </body>
506
- </html>