auth0-ruby 0.9.1 → 0.10

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 (66) hide show
  1. checksums.yaml +4 -4
  2. data/.rspec +1 -0
  3. data/Gemfile.lock +2 -4
  4. data/auth0.gemspec +0 -1
  5. data/doc/Auth0.html +3 -3
  6. data/doc/Auth0/AccessDenied.html +142 -0
  7. data/doc/Auth0/Api.html +3 -3
  8. data/doc/Auth0/Api/AuthenticationEndpoints.html +3 -7
  9. data/doc/Auth0/Api/V1.html +4 -8
  10. data/doc/Auth0/Api/V1/Clients.html +1 -1
  11. data/doc/Auth0/Api/V1/Connections.html +1 -1
  12. data/doc/Auth0/Api/V1/Logs.html +1 -1
  13. data/doc/Auth0/Api/V1/Rules.html +1 -1
  14. data/doc/Auth0/Api/V1/Users.html +1 -1
  15. data/doc/Auth0/Api/V2.html +193 -0
  16. data/doc/Auth0/Api/V2/Blacklists.html +268 -0
  17. data/doc/Auth0/Api/V2/Clients.html +477 -0
  18. data/doc/Auth0/Api/V2/Jobs.html +277 -0
  19. data/doc/Auth0/Api/V2/Router.html +109 -0
  20. data/doc/Auth0/Api/V2/Stats.html +268 -0
  21. data/doc/Auth0/Api/V2/Users.html +652 -0
  22. data/doc/Auth0/BadRequest.html +1 -1
  23. data/doc/Auth0/Client.html +1 -73
  24. data/doc/Auth0/Exception.html +2 -2
  25. data/doc/Auth0/InvalidParameter.html +142 -0
  26. data/doc/Auth0/Mixins.html +4 -76
  27. data/doc/Auth0/Mixins/HTTPartyProxy.html +1 -1
  28. data/doc/Auth0/Mixins/Initializer.html +20 -14
  29. data/doc/Auth0/NotFound.html +1 -1
  30. data/doc/Auth0/ServerError.html +1 -1
  31. data/doc/Auth0/Unauthorized.html +1 -1
  32. data/doc/Auth0/Unsupported.html +1 -1
  33. data/doc/Auth0/UserIdIsBlank.html +1 -1
  34. data/doc/Auth0Client.html +1 -73
  35. data/doc/_index.html +59 -3
  36. data/doc/class_list.html +1 -1
  37. data/doc/file.README.html +1 -1
  38. data/doc/index.html +1 -1
  39. data/doc/method_list.html +132 -30
  40. data/doc/top-level-namespace.html +1 -1
  41. data/lib/auth0/api/v2.rb +19 -0
  42. data/lib/auth0/api/v2/blacklists.rb +22 -0
  43. data/lib/auth0/api/v2/clients.rb +39 -0
  44. data/lib/auth0/api/v2/jobs.rb +20 -0
  45. data/lib/auth0/api/v2/router.rb +28 -0
  46. data/lib/auth0/api/v2/stats.rb +22 -0
  47. data/lib/auth0/api/v2/users.rb +64 -0
  48. data/lib/auth0/exception.rb +5 -1
  49. data/lib/auth0/mixins.rb +2 -3
  50. data/lib/auth0/mixins/httparty_proxy.rb +7 -1
  51. data/lib/auth0/mixins/initializer.rb +13 -8
  52. data/lib/auth0/version.rb +1 -1
  53. data/spec/lib/auth0/api/v2/blacklists_spec.rb +25 -0
  54. data/spec/lib/auth0/api/v2/clients_spec.rb +55 -0
  55. data/spec/lib/auth0/api/v2/jobs_spec.rb +22 -0
  56. data/spec/lib/auth0/api/v2/stats_spec.rb +23 -0
  57. data/spec/lib/auth0/api/v2/users_spec.rb +73 -0
  58. data/spec/lib/auth0/client_spec.rb +31 -8
  59. data/spec/lib/auth0/mixins/httparty_proxy_spec.rb +60 -1
  60. data/spec/lib/auth0_client_spec.rb +1 -1
  61. data/spec/spec_helper.rb +1 -1
  62. metadata +25 -37
  63. data/doc/Auth0/Mixins/JwtOperations.html +0 -202
  64. data/lib/auth0/mixins/jwt_operations.rb +0 -14
  65. data/spec/lib/auth0/mixins/jwt_operations_spec.rb +0 -31
  66. data/spec/support/stub_class_with_client_secret.rb +0 -7
@@ -0,0 +1,268 @@
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>
@@ -0,0 +1,477 @@
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::Clients
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/Clients.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="../V2.html" title="Auth0::Api::V2 (module)">V2</a></span></span>
36
+ &raquo;
37
+ <span class="title">Clients</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::Clients
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/clients.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="#client-instance_method" title="#client (instance method)">- (Object) <strong>client</strong>(client_id, options = {}) </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#!/clients/get_clients_by_id">auth0.com/docs/apiv2#!/clients/get_clients_by_id</a>.</p>
126
+ </div></span>
127
+
128
+ </li>
129
+
130
+
131
+ <li class="public ">
132
+ <span class="summary_signature">
133
+
134
+ <a href="#clients-instance_method" title="#clients (instance method)">- (Object) <strong>clients</strong>(options = {}) </a>
135
+
136
+
137
+
138
+ (also: #get_clients)
139
+
140
+ </span>
141
+
142
+
143
+
144
+
145
+
146
+
147
+
148
+
149
+
150
+ <span class="summary_desc"><div class='inline'>
151
+ <p><a
152
+ href="https://auth0.com/docs/apiv2#!/clients/get_clients">auth0.com/docs/apiv2#!/clients/get_clients</a>.</p>
153
+ </div></span>
154
+
155
+ </li>
156
+
157
+
158
+ <li class="public ">
159
+ <span class="summary_signature">
160
+
161
+ <a href="#create_client-instance_method" title="#create_client (instance method)">- (Object) <strong>create_client</strong>(name, options = {}) </a>
162
+
163
+
164
+
165
+ </span>
166
+
167
+
168
+
169
+
170
+
171
+
172
+
173
+
174
+
175
+ <span class="summary_desc"><div class='inline'>
176
+ <p><a
177
+ href="https://auth0.com/docs/apiv2#!/clients/post_clients">auth0.com/docs/apiv2#!/clients/post_clients</a>.</p>
178
+ </div></span>
179
+
180
+ </li>
181
+
182
+
183
+ <li class="public ">
184
+ <span class="summary_signature">
185
+
186
+ <a href="#delete_client-instance_method" title="#delete_client (instance method)">- (Object) <strong>delete_client</strong>(client_id) </a>
187
+
188
+
189
+
190
+ </span>
191
+
192
+
193
+
194
+
195
+
196
+
197
+
198
+
199
+
200
+ <span class="summary_desc"><div class='inline'>
201
+ <p><a
202
+ href="https://auth0.com/docs/apiv2#!/clients/delete_clients_by_id">auth0.com/docs/apiv2#!/clients/delete_clients_by_id</a>.</p>
203
+ </div></span>
204
+
205
+ </li>
206
+
207
+
208
+ <li class="public ">
209
+ <span class="summary_signature">
210
+
211
+ <a href="#patch_client-instance_method" title="#patch_client (instance method)">- (Object) <strong>patch_client</strong>(client_id, options) </a>
212
+
213
+
214
+
215
+ </span>
216
+
217
+
218
+
219
+
220
+
221
+
222
+
223
+
224
+
225
+ <span class="summary_desc"><div class='inline'>
226
+ <p><a
227
+ href="https://auth0.com/docs/apiv2#!/clients/patch_clients_by_id">auth0.com/docs/apiv2#!/clients/patch_clients_by_id</a>.</p>
228
+ </div></span>
229
+
230
+ </li>
231
+
232
+
233
+ </ul>
234
+
235
+
236
+
237
+
238
+ <div id="instance_method_details" class="method_details_list">
239
+ <h2>Instance Method Details</h2>
240
+
241
+
242
+ <div class="method_details first">
243
+ <h3 class="signature first" id="client-instance_method">
244
+
245
+ - (<tt>Object</tt>) <strong>client</strong>(client_id, options = {})
246
+
247
+
248
+
249
+
250
+
251
+ </h3><div class="docstring">
252
+ <div class="discussion">
253
+
254
+ <p><a
255
+ href="https://auth0.com/docs/apiv2#!/clients/get_clients_by_id">auth0.com/docs/apiv2#!/clients/get_clients_by_id</a></p>
256
+
257
+
258
+ </div>
259
+ </div>
260
+ <div class="tags">
261
+
262
+
263
+ </div><table class="source_code">
264
+ <tr>
265
+ <td>
266
+ <pre class="lines">
267
+
268
+
269
+ 19
270
+ 20
271
+ 21
272
+ 22</pre>
273
+ </td>
274
+ <td>
275
+ <pre class="code"><span class="info file"># File 'lib/auth0/api/v2/clients.rb', line 19</span>
276
+
277
+ <span class='kw'>def</span> <span class='id identifier rubyid_client'>client</span><span class='lparen'>(</span><span class='id identifier rubyid_client_id'>client_id</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span><span class='op'>=</span><span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
278
+ <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/v2/clients/</span><span class='tstring_end'>&quot;</span></span> <span class='op'>+</span> <span class='id identifier rubyid_client_id'>client_id</span><span class='period'>.</span><span class='id identifier rubyid_to_s'>to_s</span>
279
+ <span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='id identifier rubyid_path'>path</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
280
+ <span class='kw'>end</span></pre>
281
+ </td>
282
+ </tr>
283
+ </table>
284
+ </div>
285
+
286
+ <div class="method_details ">
287
+ <h3 class="signature " id="clients-instance_method">
288
+
289
+ - (<tt>Object</tt>) <strong>clients</strong>(options = {})
290
+
291
+
292
+
293
+ <span class="aliases">Also known as:
294
+ <span class="names"><span id='get_clients-instance_method'>get_clients</span></span>
295
+ </span>
296
+
297
+
298
+
299
+ </h3><div class="docstring">
300
+ <div class="discussion">
301
+
302
+ <p><a
303
+ href="https://auth0.com/docs/apiv2#!/clients/get_clients">auth0.com/docs/apiv2#!/clients/get_clients</a></p>
304
+
305
+
306
+ </div>
307
+ </div>
308
+ <div class="tags">
309
+
310
+
311
+ </div><table class="source_code">
312
+ <tr>
313
+ <td>
314
+ <pre class="lines">
315
+
316
+
317
+ 6
318
+ 7
319
+ 8</pre>
320
+ </td>
321
+ <td>
322
+ <pre class="code"><span class="info file"># File 'lib/auth0/api/v2/clients.rb', line 6</span>
323
+
324
+ <span class='kw'>def</span> <span class='id identifier rubyid_clients'>clients</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span><span class='op'>=</span><span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
325
+ <span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='id identifier rubyid_path'>path</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
326
+ <span class='kw'>end</span></pre>
327
+ </td>
328
+ </tr>
329
+ </table>
330
+ </div>
331
+
332
+ <div class="method_details ">
333
+ <h3 class="signature " id="create_client-instance_method">
334
+
335
+ - (<tt>Object</tt>) <strong>create_client</strong>(name, options = {})
336
+
337
+
338
+
339
+
340
+
341
+ </h3><div class="docstring">
342
+ <div class="discussion">
343
+
344
+ <p><a
345
+ href="https://auth0.com/docs/apiv2#!/clients/post_clients">auth0.com/docs/apiv2#!/clients/post_clients</a></p>
346
+
347
+
348
+ </div>
349
+ </div>
350
+ <div class="tags">
351
+
352
+
353
+ </div><table class="source_code">
354
+ <tr>
355
+ <td>
356
+ <pre class="lines">
357
+
358
+
359
+ 12
360
+ 13
361
+ 14
362
+ 15
363
+ 16</pre>
364
+ </td>
365
+ <td>
366
+ <pre class="code"><span class="info file"># File 'lib/auth0/api/v2/clients.rb', line 12</span>
367
+
368
+ <span class='kw'>def</span> <span class='id identifier rubyid_create_client'>create_client</span><span class='lparen'>(</span><span class='id identifier rubyid_name'>name</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span><span class='op'>=</span><span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
369
+ <span class='id identifier rubyid_request_params'>request_params</span> <span class='op'>=</span> <span class='const'>Hash</span><span class='lbracket'>[</span><span class='id identifier rubyid_options'>options</span><span class='period'>.</span><span class='id identifier rubyid_map'>map</span><span class='lbrace'>{</span><span class='op'>|</span><span class='lparen'>(</span><span class='id identifier rubyid_k'>k</span><span class='comma'>,</span><span class='id identifier rubyid_v'>v</span><span class='rparen'>)</span><span class='op'>|</span> <span class='lbracket'>[</span><span class='id identifier rubyid_k'>k</span><span class='period'>.</span><span class='id identifier rubyid_to_sym'>to_sym</span><span class='comma'>,</span><span class='id identifier rubyid_v'>v</span><span class='rbracket'>]</span><span class='rbrace'>}</span><span class='rbracket'>]</span>
370
+ <span class='id identifier rubyid_request_params'>request_params</span><span class='lbracket'>[</span><span class='symbol'>:name</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_name'>name</span>
371
+ <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>
372
+ <span class='kw'>end</span></pre>
373
+ </td>
374
+ </tr>
375
+ </table>
376
+ </div>
377
+
378
+ <div class="method_details ">
379
+ <h3 class="signature " id="delete_client-instance_method">
380
+
381
+ - (<tt>Object</tt>) <strong>delete_client</strong>(client_id)
382
+
383
+
384
+
385
+
386
+
387
+ </h3><div class="docstring">
388
+ <div class="discussion">
389
+
390
+ <p><a
391
+ href="https://auth0.com/docs/apiv2#!/clients/delete_clients_by_id">auth0.com/docs/apiv2#!/clients/delete_clients_by_id</a></p>
392
+
393
+
394
+ </div>
395
+ </div>
396
+ <div class="tags">
397
+
398
+
399
+ </div><table class="source_code">
400
+ <tr>
401
+ <td>
402
+ <pre class="lines">
403
+
404
+
405
+ 25
406
+ 26
407
+ 27
408
+ 28</pre>
409
+ </td>
410
+ <td>
411
+ <pre class="code"><span class="info file"># File 'lib/auth0/api/v2/clients.rb', line 25</span>
412
+
413
+ <span class='kw'>def</span> <span class='id identifier rubyid_delete_client'>delete_client</span><span class='lparen'>(</span><span class='id identifier rubyid_client_id'>client_id</span><span class='rparen'>)</span>
414
+ <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/v2/clients/</span><span class='tstring_end'>&quot;</span></span> <span class='op'>+</span> <span class='id identifier rubyid_client_id'>client_id</span><span class='period'>.</span><span class='id identifier rubyid_to_s'>to_s</span>
415
+ <span class='id identifier rubyid_delete'>delete</span><span class='lparen'>(</span><span class='id identifier rubyid_path'>path</span><span class='rparen'>)</span>
416
+ <span class='kw'>end</span></pre>
417
+ </td>
418
+ </tr>
419
+ </table>
420
+ </div>
421
+
422
+ <div class="method_details ">
423
+ <h3 class="signature " id="patch_client-instance_method">
424
+
425
+ - (<tt>Object</tt>) <strong>patch_client</strong>(client_id, options)
426
+
427
+
428
+
429
+
430
+
431
+ </h3><div class="docstring">
432
+ <div class="discussion">
433
+
434
+ <p><a
435
+ href="https://auth0.com/docs/apiv2#!/clients/patch_clients_by_id">auth0.com/docs/apiv2#!/clients/patch_clients_by_id</a></p>
436
+
437
+
438
+ </div>
439
+ </div>
440
+ <div class="tags">
441
+
442
+
443
+ </div><table class="source_code">
444
+ <tr>
445
+ <td>
446
+ <pre class="lines">
447
+
448
+
449
+ 31
450
+ 32
451
+ 33
452
+ 34</pre>
453
+ </td>
454
+ <td>
455
+ <pre class="code"><span class="info file"># File 'lib/auth0/api/v2/clients.rb', line 31</span>
456
+
457
+ <span class='kw'>def</span> <span class='id identifier rubyid_patch_client'>patch_client</span><span class='lparen'>(</span><span class='id identifier rubyid_client_id'>client_id</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
458
+ <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/v2/clients/</span><span class='tstring_end'>&quot;</span></span> <span class='op'>+</span> <span class='id identifier rubyid_client_id'>client_id</span><span class='period'>.</span><span class='id identifier rubyid_to_s'>to_s</span>
459
+ <span class='id identifier rubyid_patch'>patch</span><span class='lparen'>(</span><span class='id identifier rubyid_path'>path</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
460
+ <span class='kw'>end</span></pre>
461
+ </td>
462
+ </tr>
463
+ </table>
464
+ </div>
465
+
466
+ </div>
467
+
468
+ </div>
469
+
470
+ <div id="footer">
471
+ Generated on Mon Feb 23 01:12:53 2015 by
472
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
473
+ 0.8.7.6 (ruby-2.0.0).
474
+ </div>
475
+
476
+ </body>
477
+ </html>