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.
- checksums.yaml +4 -4
- data/.rspec +1 -0
- data/Gemfile.lock +2 -4
- data/auth0.gemspec +0 -1
- data/doc/Auth0.html +3 -3
- data/doc/Auth0/AccessDenied.html +142 -0
- data/doc/Auth0/Api.html +3 -3
- data/doc/Auth0/Api/AuthenticationEndpoints.html +3 -7
- data/doc/Auth0/Api/V1.html +4 -8
- data/doc/Auth0/Api/V1/Clients.html +1 -1
- data/doc/Auth0/Api/V1/Connections.html +1 -1
- data/doc/Auth0/Api/V1/Logs.html +1 -1
- data/doc/Auth0/Api/V1/Rules.html +1 -1
- data/doc/Auth0/Api/V1/Users.html +1 -1
- data/doc/Auth0/Api/V2.html +193 -0
- data/doc/Auth0/Api/V2/Blacklists.html +268 -0
- data/doc/Auth0/Api/V2/Clients.html +477 -0
- data/doc/Auth0/Api/V2/Jobs.html +277 -0
- data/doc/Auth0/Api/V2/Router.html +109 -0
- data/doc/Auth0/Api/V2/Stats.html +268 -0
- data/doc/Auth0/Api/V2/Users.html +652 -0
- data/doc/Auth0/BadRequest.html +1 -1
- data/doc/Auth0/Client.html +1 -73
- data/doc/Auth0/Exception.html +2 -2
- data/doc/Auth0/InvalidParameter.html +142 -0
- data/doc/Auth0/Mixins.html +4 -76
- data/doc/Auth0/Mixins/HTTPartyProxy.html +1 -1
- data/doc/Auth0/Mixins/Initializer.html +20 -14
- data/doc/Auth0/NotFound.html +1 -1
- data/doc/Auth0/ServerError.html +1 -1
- data/doc/Auth0/Unauthorized.html +1 -1
- data/doc/Auth0/Unsupported.html +1 -1
- data/doc/Auth0/UserIdIsBlank.html +1 -1
- data/doc/Auth0Client.html +1 -73
- data/doc/_index.html +59 -3
- data/doc/class_list.html +1 -1
- data/doc/file.README.html +1 -1
- data/doc/index.html +1 -1
- data/doc/method_list.html +132 -30
- data/doc/top-level-namespace.html +1 -1
- data/lib/auth0/api/v2.rb +19 -0
- data/lib/auth0/api/v2/blacklists.rb +22 -0
- data/lib/auth0/api/v2/clients.rb +39 -0
- data/lib/auth0/api/v2/jobs.rb +20 -0
- data/lib/auth0/api/v2/router.rb +28 -0
- data/lib/auth0/api/v2/stats.rb +22 -0
- data/lib/auth0/api/v2/users.rb +64 -0
- data/lib/auth0/exception.rb +5 -1
- data/lib/auth0/mixins.rb +2 -3
- data/lib/auth0/mixins/httparty_proxy.rb +7 -1
- data/lib/auth0/mixins/initializer.rb +13 -8
- data/lib/auth0/version.rb +1 -1
- data/spec/lib/auth0/api/v2/blacklists_spec.rb +25 -0
- data/spec/lib/auth0/api/v2/clients_spec.rb +55 -0
- data/spec/lib/auth0/api/v2/jobs_spec.rb +22 -0
- data/spec/lib/auth0/api/v2/stats_spec.rb +23 -0
- data/spec/lib/auth0/api/v2/users_spec.rb +73 -0
- data/spec/lib/auth0/client_spec.rb +31 -8
- data/spec/lib/auth0/mixins/httparty_proxy_spec.rb +60 -1
- data/spec/lib/auth0_client_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- metadata +25 -37
- data/doc/Auth0/Mixins/JwtOperations.html +0 -202
- data/lib/auth0/mixins/jwt_operations.rb +0 -14
- data/spec/lib/auth0/mixins/jwt_operations_spec.rb +0 -31
- data/spec/support/stub_class_with_client_secret.rb +0 -7
@@ -0,0 +1,277 @@
|
|
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::Jobs
|
8
|
+
|
9
|
+
— 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/Jobs.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 (J)</a> »
|
35
|
+
<span class='title'><span class='object_link'><a href="../../../Auth0.html" title="Auth0 (module)">Auth0</a></span></span> » <span class='title'><span class='object_link'><a href="../../Api.html" title="Auth0::Api (module)">Api</a></span></span> » <span class='title'><span class='object_link'><a href="../V2.html" title="Auth0::Api::V2 (module)">V2</a></span></span>
|
36
|
+
»
|
37
|
+
<span class="title">Jobs</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::Jobs
|
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/jobs.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="#create_job-instance_method" title="#create_job (instance method)">- (Object) <strong>create_job</strong>(users_file, connection_name) </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>HTTParty doesn't support multipart upload, will move this functionality
|
125
|
+
to a separate PR <a
|
126
|
+
href="https://auth0.com/docs/apiv2#!/jobs/post_users_imports">auth0.com/docs/apiv2#!/jobs/post_users_imports</a>.</p>
|
127
|
+
</div></span>
|
128
|
+
|
129
|
+
</li>
|
130
|
+
|
131
|
+
|
132
|
+
<li class="public ">
|
133
|
+
<span class="summary_signature">
|
134
|
+
|
135
|
+
<a href="#get_job-instance_method" title="#get_job (instance method)">- (Object) <strong>get_job</strong>(job_id) </a>
|
136
|
+
|
137
|
+
|
138
|
+
|
139
|
+
</span>
|
140
|
+
|
141
|
+
|
142
|
+
|
143
|
+
|
144
|
+
|
145
|
+
|
146
|
+
|
147
|
+
|
148
|
+
|
149
|
+
<span class="summary_desc"><div class='inline'>
|
150
|
+
<p><a
|
151
|
+
href="https://auth0.com/docs/apiv2#!/jobs/get_jobs_by_job_id">auth0.com/docs/apiv2#!/jobs/get_jobs_by_job_id</a>.</p>
|
152
|
+
</div></span>
|
153
|
+
|
154
|
+
</li>
|
155
|
+
|
156
|
+
|
157
|
+
</ul>
|
158
|
+
|
159
|
+
|
160
|
+
|
161
|
+
|
162
|
+
<div id="instance_method_details" class="method_details_list">
|
163
|
+
<h2>Instance Method Details</h2>
|
164
|
+
|
165
|
+
|
166
|
+
<div class="method_details first">
|
167
|
+
<h3 class="signature first" id="create_job-instance_method">
|
168
|
+
|
169
|
+
- (<tt>Object</tt>) <strong>create_job</strong>(users_file, connection_name)
|
170
|
+
|
171
|
+
|
172
|
+
|
173
|
+
|
174
|
+
|
175
|
+
</h3><div class="docstring">
|
176
|
+
<div class="discussion">
|
177
|
+
|
178
|
+
<p>HTTParty doesn't support multipart upload, will move this functionality
|
179
|
+
to a separate PR <a
|
180
|
+
href="https://auth0.com/docs/apiv2#!/jobs/post_users_imports">auth0.com/docs/apiv2#!/jobs/post_users_imports</a></p>
|
181
|
+
|
182
|
+
|
183
|
+
</div>
|
184
|
+
</div>
|
185
|
+
<div class="tags">
|
186
|
+
|
187
|
+
<p class="tag_title">Raises:</p>
|
188
|
+
<ul class="raise">
|
189
|
+
|
190
|
+
<li>
|
191
|
+
|
192
|
+
|
193
|
+
<span class='type'>(<tt>NotImplementedError</tt>)</span>
|
194
|
+
|
195
|
+
|
196
|
+
|
197
|
+
</li>
|
198
|
+
|
199
|
+
</ul>
|
200
|
+
|
201
|
+
</div><table class="source_code">
|
202
|
+
<tr>
|
203
|
+
<td>
|
204
|
+
<pre class="lines">
|
205
|
+
|
206
|
+
|
207
|
+
13
|
208
|
+
14
|
209
|
+
15</pre>
|
210
|
+
</td>
|
211
|
+
<td>
|
212
|
+
<pre class="code"><span class="info file"># File 'lib/auth0/api/v2/jobs.rb', line 13</span>
|
213
|
+
|
214
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_create_job'>create_job</span><span class='lparen'>(</span><span class='id identifier rubyid_users_file'>users_file</span><span class='comma'>,</span> <span class='id identifier rubyid_connection_name'>connection_name</span><span class='rparen'>)</span>
|
215
|
+
<span class='id identifier rubyid_raise'>raise</span> <span class='const'>NotImplementedError</span>
|
216
|
+
<span class='kw'>end</span></pre>
|
217
|
+
</td>
|
218
|
+
</tr>
|
219
|
+
</table>
|
220
|
+
</div>
|
221
|
+
|
222
|
+
<div class="method_details ">
|
223
|
+
<h3 class="signature " id="get_job-instance_method">
|
224
|
+
|
225
|
+
- (<tt>Object</tt>) <strong>get_job</strong>(job_id)
|
226
|
+
|
227
|
+
|
228
|
+
|
229
|
+
|
230
|
+
|
231
|
+
</h3><div class="docstring">
|
232
|
+
<div class="discussion">
|
233
|
+
|
234
|
+
<p><a
|
235
|
+
href="https://auth0.com/docs/apiv2#!/jobs/get_jobs_by_job_id">auth0.com/docs/apiv2#!/jobs/get_jobs_by_job_id</a></p>
|
236
|
+
|
237
|
+
|
238
|
+
</div>
|
239
|
+
</div>
|
240
|
+
<div class="tags">
|
241
|
+
|
242
|
+
|
243
|
+
</div><table class="source_code">
|
244
|
+
<tr>
|
245
|
+
<td>
|
246
|
+
<pre class="lines">
|
247
|
+
|
248
|
+
|
249
|
+
6
|
250
|
+
7
|
251
|
+
8
|
252
|
+
9</pre>
|
253
|
+
</td>
|
254
|
+
<td>
|
255
|
+
<pre class="code"><span class="info file"># File 'lib/auth0/api/v2/jobs.rb', line 6</span>
|
256
|
+
|
257
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_get_job'>get_job</span><span class='lparen'>(</span><span class='id identifier rubyid_job_id'>job_id</span><span class='rparen'>)</span>
|
258
|
+
<span class='id identifier rubyid_path'>path</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>/api/v2/jobs/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_job_id'>job_id</span><span class='embexpr_end'>}</span><span class='tstring_end'>"</span></span>
|
259
|
+
<span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='id identifier rubyid_path'>path</span><span class='rparen'>)</span>
|
260
|
+
<span class='kw'>end</span></pre>
|
261
|
+
</td>
|
262
|
+
</tr>
|
263
|
+
</table>
|
264
|
+
</div>
|
265
|
+
|
266
|
+
</div>
|
267
|
+
|
268
|
+
</div>
|
269
|
+
|
270
|
+
<div id="footer">
|
271
|
+
Generated on Mon Feb 23 01:12:53 2015 by
|
272
|
+
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
273
|
+
0.8.7.6 (ruby-2.0.0).
|
274
|
+
</div>
|
275
|
+
|
276
|
+
</body>
|
277
|
+
</html>
|
@@ -0,0 +1,109 @@
|
|
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::Router
|
8
|
+
|
9
|
+
— 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/Router.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 (R)</a> »
|
35
|
+
<span class='title'><span class='object_link'><a href="../../../Auth0.html" title="Auth0 (module)">Auth0</a></span></span> » <span class='title'><span class='object_link'><a href="../../Api.html" title="Auth0::Api (module)">Api</a></span></span> » <span class='title'><span class='object_link'><a href="../V2.html" title="Auth0::Api::V2 (module)">V2</a></span></span>
|
36
|
+
»
|
37
|
+
<span class="title">Router</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::Router
|
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/router.rb</dd>
|
87
|
+
|
88
|
+
</dl>
|
89
|
+
<div class="clear"></div>
|
90
|
+
|
91
|
+
|
92
|
+
|
93
|
+
|
94
|
+
|
95
|
+
|
96
|
+
|
97
|
+
|
98
|
+
|
99
|
+
|
100
|
+
</div>
|
101
|
+
|
102
|
+
<div id="footer">
|
103
|
+
Generated on Mon Feb 23 01:12:53 2015 by
|
104
|
+
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
105
|
+
0.8.7.6 (ruby-2.0.0).
|
106
|
+
</div>
|
107
|
+
|
108
|
+
</body>
|
109
|
+
</html>
|
@@ -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::Stats
|
8
|
+
|
9
|
+
— 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/Stats.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 (S)</a> »
|
35
|
+
<span class='title'><span class='object_link'><a href="../../../Auth0.html" title="Auth0 (module)">Auth0</a></span></span> » <span class='title'><span class='object_link'><a href="../../Api.html" title="Auth0::Api (module)">Api</a></span></span> » <span class='title'><span class='object_link'><a href="../V2.html" title="Auth0::Api::V2 (module)">V2</a></span></span>
|
36
|
+
»
|
37
|
+
<span class="title">Stats</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::Stats
|
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/stats.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="#active_users-instance_method" title="#active_users (instance method)">- (Object) <strong>active_users</strong> </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#!/stats/get_active_users">auth0.com/docs/apiv2#!/stats/get_active_users</a>.</p>
|
126
|
+
</div></span>
|
127
|
+
|
128
|
+
</li>
|
129
|
+
|
130
|
+
|
131
|
+
<li class="public ">
|
132
|
+
<span class="summary_signature">
|
133
|
+
|
134
|
+
<a href="#daily_stats-instance_method" title="#daily_stats (instance method)">- (Object) <strong>daily_stats</strong>(from, to) </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#!/stats/get_daily">auth0.com/docs/apiv2#!/stats/get_daily</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="active_users-instance_method">
|
167
|
+
|
168
|
+
- (<tt>Object</tt>) <strong>active_users</strong>
|
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#!/stats/get_active_users">auth0.com/docs/apiv2#!/stats/get_active_users</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
|
+
6
|
193
|
+
7
|
194
|
+
8</pre>
|
195
|
+
</td>
|
196
|
+
<td>
|
197
|
+
<pre class="code"><span class="info file"># File 'lib/auth0/api/v2/stats.rb', line 6</span>
|
198
|
+
|
199
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_active_users'>active_users</span>
|
200
|
+
<span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='id identifier rubyid_path'>path</span><span class='rparen'>)</span>
|
201
|
+
<span class='kw'>end</span></pre>
|
202
|
+
</td>
|
203
|
+
</tr>
|
204
|
+
</table>
|
205
|
+
</div>
|
206
|
+
|
207
|
+
<div class="method_details ">
|
208
|
+
<h3 class="signature " id="daily_stats-instance_method">
|
209
|
+
|
210
|
+
- (<tt>Object</tt>) <strong>daily_stats</strong>(from, to)
|
211
|
+
|
212
|
+
|
213
|
+
|
214
|
+
|
215
|
+
|
216
|
+
</h3><div class="docstring">
|
217
|
+
<div class="discussion">
|
218
|
+
|
219
|
+
<p><a
|
220
|
+
href="https://auth0.com/docs/apiv2#!/stats/get_daily">auth0.com/docs/apiv2#!/stats/get_daily</a></p>
|
221
|
+
|
222
|
+
|
223
|
+
</div>
|
224
|
+
</div>
|
225
|
+
<div class="tags">
|
226
|
+
|
227
|
+
|
228
|
+
</div><table class="source_code">
|
229
|
+
<tr>
|
230
|
+
<td>
|
231
|
+
<pre class="lines">
|
232
|
+
|
233
|
+
|
234
|
+
11
|
235
|
+
12
|
236
|
+
13
|
237
|
+
14
|
238
|
+
15
|
239
|
+
16
|
240
|
+
17</pre>
|
241
|
+
</td>
|
242
|
+
<td>
|
243
|
+
<pre class="code"><span class="info file"># File 'lib/auth0/api/v2/stats.rb', line 11</span>
|
244
|
+
|
245
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_daily_stats'>daily_stats</span><span class='lparen'>(</span><span class='id identifier rubyid_from'>from</span><span class='comma'>,</span> <span class='id identifier rubyid_to'>to</span><span class='rparen'>)</span>
|
246
|
+
<span class='id identifier rubyid_request_params'>request_params</span> <span class='op'>=</span> <span class='lbrace'>{</span>
|
247
|
+
<span class='label'>from:</span> <span class='id identifier rubyid_from'>from</span><span class='comma'>,</span>
|
248
|
+
<span class='label'>to:</span> <span class='id identifier rubyid_to'>to</span>
|
249
|
+
<span class='rbrace'>}</span>
|
250
|
+
<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_request_params'>request_params</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>
|