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
@@ -133,7 +133,7 @@
133
133
  </div>
134
134
 
135
135
  <div id="footer">
136
- Generated on Wed Feb 4 17:42:51 2015 by
136
+ Generated on Mon Feb 23 01:12:53 2015 by
137
137
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
138
138
  0.8.7.6 (ruby-2.0.0).
139
139
  </div>
@@ -133,12 +133,6 @@ return strings.</p>
133
133
 
134
134
 
135
135
 
136
-
137
-
138
-
139
-
140
-
141
-
142
136
 
143
137
 
144
138
 
@@ -148,72 +142,6 @@ return strings.</p>
148
142
 
149
143
  <h2>Method Summary</h2>
150
144
 
151
- <h3 class="inherited">Methods included from <span class='object_link'><a href="Api/V1/Logs.html" title="Auth0::Api::V1::Logs (module)">Api::V1::Logs</a></span></h3>
152
- <p class="inherited"><span class='object_link'><a href="Api/V1/Logs.html#log-instance_method" title="Auth0::Api::V1::Logs#log (method)">#log</a></span>, <span class='object_link'><a href="Api/V1/Logs.html#logs-instance_method" title="Auth0::Api::V1::Logs#logs (method)">#logs</a></span>, <span class='object_link'><a href="Api/V1/Logs.html#user_logs-instance_method" title="Auth0::Api::V1::Logs#user_logs (method)">#user_logs</a></span></p>
153
-
154
-
155
-
156
-
157
-
158
-
159
-
160
-
161
-
162
- <h3 class="inherited">Methods included from <span class='object_link'><a href="Api/V1/Rules.html" title="Auth0::Api::V1::Rules (module)">Api::V1::Rules</a></span></h3>
163
- <p class="inherited"><span class='object_link'><a href="Api/V1/Rules.html#create_rule-instance_method" title="Auth0::Api::V1::Rules#create_rule (method)">#create_rule</a></span>, <span class='object_link'><a href="Api/V1/Rules.html#delete_rule-instance_method" title="Auth0::Api::V1::Rules#delete_rule (method)">#delete_rule</a></span>, <span class='object_link'><a href="Api/V1/Rules.html#rules-instance_method" title="Auth0::Api::V1::Rules#rules (method)">#rules</a></span>, <span class='object_link'><a href="Api/V1/Rules.html#update_rule-instance_method" title="Auth0::Api::V1::Rules#update_rule (method)">#update_rule</a></span></p>
164
-
165
-
166
-
167
-
168
-
169
-
170
-
171
-
172
-
173
- <h3 class="inherited">Methods included from <span class='object_link'><a href="Api/V1/Clients.html" title="Auth0::Api::V1::Clients (module)">Api::V1::Clients</a></span></h3>
174
- <p class="inherited"><span class='object_link'><a href="Api/V1/Clients.html#clients-instance_method" title="Auth0::Api::V1::Clients#clients (method)">#clients</a></span>, <span class='object_link'><a href="Api/V1/Clients.html#create_client-instance_method" title="Auth0::Api::V1::Clients#create_client (method)">#create_client</a></span>, <span class='object_link'><a href="Api/V1/Clients.html#patch_client-instance_method" title="Auth0::Api::V1::Clients#patch_client (method)">#patch_client</a></span>, <span class='object_link'><a href="Api/V1/Clients.html#update_client-instance_method" title="Auth0::Api::V1::Clients#update_client (method)">#update_client</a></span></p>
175
-
176
-
177
-
178
-
179
-
180
-
181
-
182
-
183
-
184
- <h3 class="inherited">Methods included from <span class='object_link'><a href="Api/V1/Connections.html" title="Auth0::Api::V1::Connections (module)">Api::V1::Connections</a></span></h3>
185
- <p class="inherited"><span class='object_link'><a href="Api/V1/Connections.html#connection-instance_method" title="Auth0::Api::V1::Connections#connection (method)">#connection</a></span>, <span class='object_link'><a href="Api/V1/Connections.html#connections-instance_method" title="Auth0::Api::V1::Connections#connections (method)">#connections</a></span>, <span class='object_link'><a href="Api/V1/Connections.html#create_connection-instance_method" title="Auth0::Api::V1::Connections#create_connection (method)">#create_connection</a></span>, <span class='object_link'><a href="Api/V1/Connections.html#delete_connection-instance_method" title="Auth0::Api::V1::Connections#delete_connection (method)">#delete_connection</a></span>, <span class='object_link'><a href="Api/V1/Connections.html#update_connection-instance_method" title="Auth0::Api::V1::Connections#update_connection (method)">#update_connection</a></span></p>
186
-
187
-
188
-
189
-
190
-
191
-
192
-
193
-
194
-
195
- <h3 class="inherited">Methods included from <span class='object_link'><a href="Api/V1/Users.html" title="Auth0::Api::V1::Users (module)">Api::V1::Users</a></span></h3>
196
- <p class="inherited"><span class='object_link'><a href="Api/V1/Users.html#change_password_ticket-instance_method" title="Auth0::Api::V1::Users#change_password_ticket (method)">#change_password_ticket</a></span>, <span class='object_link'><a href="Api/V1/Users.html#client_users-instance_method" title="Auth0::Api::V1::Users#client_users (method)">#client_users</a></span>, <span class='object_link'><a href="Api/V1/Users.html#connection_users-instance_method" title="Auth0::Api::V1::Users#connection_users (method)">#connection_users</a></span>, <span class='object_link'><a href="Api/V1/Users.html#create_public_key-instance_method" title="Auth0::Api::V1::Users#create_public_key (method)">#create_public_key</a></span>, <span class='object_link'><a href="Api/V1/Users.html#create_user-instance_method" title="Auth0::Api::V1::Users#create_user (method)">#create_user</a></span>, <span class='object_link'><a href="Api/V1/Users.html#delete_user-instance_method" title="Auth0::Api::V1::Users#delete_user (method)">#delete_user</a></span>, <span class='object_link'><a href="Api/V1/Users.html#delete_users-instance_method" title="Auth0::Api::V1::Users#delete_users (method)">#delete_users</a></span>, <span class='object_link'><a href="Api/V1/Users.html#enterpriseconnections_users-instance_method" title="Auth0::Api::V1::Users#enterpriseconnections_users (method)">#enterpriseconnections_users</a></span>, <span class='object_link'><a href="Api/V1/Users.html#patch_user_metadata-instance_method" title="Auth0::Api::V1::Users#patch_user_metadata (method)">#patch_user_metadata</a></span>, <span class='object_link'><a href="Api/V1/Users.html#revoke_user_device_public_key-instance_method" title="Auth0::Api::V1::Users#revoke_user_device_public_key (method)">#revoke_user_device_public_key</a></span>, <span class='object_link'><a href="Api/V1/Users.html#revoke_user_refresh_token-instance_method" title="Auth0::Api::V1::Users#revoke_user_refresh_token (method)">#revoke_user_refresh_token</a></span>, <span class='object_link'><a href="Api/V1/Users.html#send_verification_email-instance_method" title="Auth0::Api::V1::Users#send_verification_email (method)">#send_verification_email</a></span>, <span class='object_link'><a href="Api/V1/Users.html#socialconnections_users-instance_method" title="Auth0::Api::V1::Users#socialconnections_users (method)">#socialconnections_users</a></span>, <span class='object_link'><a href="Api/V1/Users.html#update_user_email-instance_method" title="Auth0::Api::V1::Users#update_user_email (method)">#update_user_email</a></span>, <span class='object_link'><a href="Api/V1/Users.html#update_user_metadata-instance_method" title="Auth0::Api::V1::Users#update_user_metadata (method)">#update_user_metadata</a></span>, <span class='object_link'><a href="Api/V1/Users.html#update_user_password-instance_method" title="Auth0::Api::V1::Users#update_user_password (method)">#update_user_password</a></span>, <span class='object_link'><a href="Api/V1/Users.html#update_user_password_using_email-instance_method" title="Auth0::Api::V1::Users#update_user_password_using_email (method)">#update_user_password_using_email</a></span>, <span class='object_link'><a href="Api/V1/Users.html#user-instance_method" title="Auth0::Api::V1::Users#user (method)">#user</a></span>, <span class='object_link'><a href="Api/V1/Users.html#user_devices-instance_method" title="Auth0::Api::V1::Users#user_devices (method)">#user_devices</a></span>, <span class='object_link'><a href="Api/V1/Users.html#users-instance_method" title="Auth0::Api::V1::Users#users (method)">#users</a></span>, <span class='object_link'><a href="Api/V1/Users.html#verification_ticket-instance_method" title="Auth0::Api::V1::Users#verification_ticket (method)">#verification_ticket</a></span></p>
197
-
198
-
199
-
200
-
201
-
202
-
203
-
204
-
205
-
206
- <h3 class="inherited">Methods included from <span class='object_link'><a href="Api/AuthenticationEndpoints.html" title="Auth0::Api::AuthenticationEndpoints (module)">Api::AuthenticationEndpoints</a></span></h3>
207
- <p class="inherited"><span class='object_link'><a href="Api/AuthenticationEndpoints.html#change_password-instance_method" title="Auth0::Api::AuthenticationEndpoints#change_password (method)">#change_password</a></span>, <span class='object_link'><a href="Api/AuthenticationEndpoints.html#delegation-instance_method" title="Auth0::Api::AuthenticationEndpoints#delegation (method)">#delegation</a></span>, <span class='object_link'><a href="Api/AuthenticationEndpoints.html#login-instance_method" title="Auth0::Api::AuthenticationEndpoints#login (method)">#login</a></span>, <span class='object_link'><a href="Api/AuthenticationEndpoints.html#obtain_access_token-instance_method" title="Auth0::Api::AuthenticationEndpoints#obtain_access_token (method)">#obtain_access_token</a></span>, <span class='object_link'><a href="Api/AuthenticationEndpoints.html#signup-instance_method" title="Auth0::Api::AuthenticationEndpoints#signup (method)">#signup</a></span>, <span class='object_link'><a href="Api/AuthenticationEndpoints.html#token_info-instance_method" title="Auth0::Api::AuthenticationEndpoints#token_info (method)">#token_info</a></span></p>
208
-
209
-
210
-
211
-
212
-
213
-
214
-
215
-
216
-
217
145
  <h3 class="inherited">Methods included from <span class='object_link'><a href="Mixins/Initializer.html" title="Auth0::Mixins::Initializer (module)">Mixins::Initializer</a></span></h3>
218
146
  <p class="inherited"><span class='object_link'><a href="Mixins/Initializer.html#included-class_method" title="Auth0::Mixins::Initializer.included (method)">included</a></span>, <span class='object_link'><a href="Mixins/Initializer.html#initialize-instance_method" title="Auth0::Mixins::Initializer#initialize (method)">#initialize</a></span></p>
219
147
 
@@ -227,7 +155,7 @@ return strings.</p>
227
155
  </div>
228
156
 
229
157
  <div id="footer">
230
- Generated on Wed Feb 4 17:42:51 2015 by
158
+ Generated on Mon Feb 23 01:12:53 2015 by
231
159
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
232
160
  0.8.7.6 (ruby-2.0.0).
233
161
  </div>
@@ -116,7 +116,7 @@ included</p>
116
116
 
117
117
  </div><div id="subclasses">
118
118
  <h2>Direct Known Subclasses</h2>
119
- <p class="children"><span class='object_link'><a href="BadRequest.html" title="Auth0::BadRequest (class)">BadRequest</a></span>, <span class='object_link'><a href="NotFound.html" title="Auth0::NotFound (class)">NotFound</a></span>, <span class='object_link'><a href="ServerError.html" title="Auth0::ServerError (class)">ServerError</a></span>, <span class='object_link'><a href="Unauthorized.html" title="Auth0::Unauthorized (class)">Unauthorized</a></span>, <span class='object_link'><a href="Unsupported.html" title="Auth0::Unsupported (class)">Unsupported</a></span>, <span class='object_link'><a href="UserIdIsBlank.html" title="Auth0::UserIdIsBlank (class)">UserIdIsBlank</a></span></p>
119
+ <p class="children"><span class='object_link'><a href="AccessDenied.html" title="Auth0::AccessDenied (class)">AccessDenied</a></span>, <span class='object_link'><a href="BadRequest.html" title="Auth0::BadRequest (class)">BadRequest</a></span>, <span class='object_link'><a href="InvalidParameter.html" title="Auth0::InvalidParameter (class)">InvalidParameter</a></span>, <span class='object_link'><a href="NotFound.html" title="Auth0::NotFound (class)">NotFound</a></span>, <span class='object_link'><a href="ServerError.html" title="Auth0::ServerError (class)">ServerError</a></span>, <span class='object_link'><a href="Unauthorized.html" title="Auth0::Unauthorized (class)">Unauthorized</a></span>, <span class='object_link'><a href="Unsupported.html" title="Auth0::Unsupported (class)">Unsupported</a></span>, <span class='object_link'><a href="UserIdIsBlank.html" title="Auth0::UserIdIsBlank (class)">UserIdIsBlank</a></span></p>
120
120
  </div>
121
121
 
122
122
 
@@ -131,7 +131,7 @@ included</p>
131
131
  </div>
132
132
 
133
133
  <div id="footer">
134
- Generated on Wed Feb 4 17:42:51 2015 by
134
+ Generated on Mon Feb 23 01:12:53 2015 by
135
135
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
136
136
  0.8.7.6 (ruby-2.0.0).
137
137
  </div>
@@ -0,0 +1,142 @@
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
+ Exception: Auth0::InvalidParameter
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/InvalidParameter.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 (I)</a> &raquo;
35
+ <span class='title'><span class='object_link'><a href="../Auth0.html" title="Auth0 (module)">Auth0</a></span></span>
36
+ &raquo;
37
+ <span class="title">InvalidParameter</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>Exception: Auth0::InvalidParameter
67
+
68
+
69
+
70
+ </h1>
71
+
72
+ <dl class="box">
73
+
74
+ <dt class="r1">Inherits:</dt>
75
+ <dd class="r1">
76
+ <span class="inheritName"><span class='object_link'><a href="Exception.html" title="Auth0::Exception (class)">Exception</a></span></span>
77
+
78
+ <ul class="fullTree">
79
+ <li>Object</li>
80
+
81
+ <li class="next">StandardError</li>
82
+
83
+ <li class="next"><span class='object_link'><a href="Exception.html" title="Auth0::Exception (class)">Exception</a></span></li>
84
+
85
+ <li class="next">Auth0::InvalidParameter</li>
86
+
87
+ </ul>
88
+ <a href="#" class="inheritanceTree">show all</a>
89
+
90
+ </dd>
91
+
92
+
93
+
94
+
95
+
96
+
97
+
98
+
99
+
100
+ <dt class="r2 last">Defined in:</dt>
101
+ <dd class="r2 last">lib/auth0/exception.rb</dd>
102
+
103
+ </dl>
104
+ <div class="clear"></div>
105
+
106
+ <h2>Overview</h2><div class="docstring">
107
+ <div class="discussion">
108
+
109
+ <p>Invalid parameter passed, e.g. empty where ID is required</p>
110
+
111
+
112
+ </div>
113
+ </div>
114
+ <div class="tags">
115
+
116
+
117
+ </div>
118
+
119
+
120
+
121
+
122
+
123
+
124
+
125
+
126
+
127
+
128
+
129
+
130
+
131
+
132
+
133
+ </div>
134
+
135
+ <div id="footer">
136
+ Generated on Mon Feb 23 01:12:53 2015 by
137
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
138
+ 0.8.7.6 (ruby-2.0.0).
139
+ </div>
140
+
141
+ </body>
142
+ </html>
@@ -76,7 +76,7 @@
76
76
 
77
77
 
78
78
  <dt class="r1">Includes:</dt>
79
- <dd class="r1"><span class='object_link'><a href="Api/AuthenticationEndpoints.html" title="Auth0::Api::AuthenticationEndpoints (module)">Api::AuthenticationEndpoints</a></span>, <span class='object_link'><a href="Api/V1.html" title="Auth0::Api::V1 (module)">Api::V1</a></span>, <span class='object_link'><a href="Mixins/HTTPartyProxy.html" title="Auth0::Mixins::HTTPartyProxy (module)">HTTPartyProxy</a></span>, <span class='object_link'><a href="Mixins/Initializer.html" title="Auth0::Mixins::Initializer (module)">Initializer</a></span></dd>
79
+ <dd class="r1"><span class='object_link'><a href="Mixins/HTTPartyProxy.html" title="Auth0::Mixins::HTTPartyProxy (module)">HTTPartyProxy</a></span>, <span class='object_link'><a href="Mixins/Initializer.html" title="Auth0::Mixins::Initializer (module)">Initializer</a></span></dd>
80
80
 
81
81
 
82
82
 
@@ -88,7 +88,7 @@
88
88
 
89
89
  <dt class="r1 last">Defined in:</dt>
90
90
  <dd class="r1 last">lib/auth0/mixins.rb<span class="defines">,<br />
91
- lib/auth0/mixins/initializer.rb,<br /> lib/auth0/mixins/httparty_proxy.rb,<br /> lib/auth0/mixins/jwt_operations.rb</span>
91
+ lib/auth0/mixins/initializer.rb,<br /> lib/auth0/mixins/httparty_proxy.rb</span>
92
92
  </dd>
93
93
 
94
94
  </dl>
@@ -109,7 +109,7 @@
109
109
  <p class="children">
110
110
 
111
111
 
112
- <strong class="modules">Modules:</strong> <span class='object_link'><a href="Mixins/HTTPartyProxy.html" title="Auth0::Mixins::HTTPartyProxy (module)">HTTPartyProxy</a></span>, <span class='object_link'><a href="Mixins/Initializer.html" title="Auth0::Mixins::Initializer (module)">Initializer</a></span>, <span class='object_link'><a href="Mixins/JwtOperations.html" title="Auth0::Mixins::JwtOperations (module)">JwtOperations</a></span>
112
+ <strong class="modules">Modules:</strong> <span class='object_link'><a href="Mixins/HTTPartyProxy.html" title="Auth0::Mixins::HTTPartyProxy (module)">HTTPartyProxy</a></span>, <span class='object_link'><a href="Mixins/Initializer.html" title="Auth0::Mixins::Initializer (module)">Initializer</a></span>
113
113
 
114
114
 
115
115
 
@@ -129,80 +129,8 @@
129
129
 
130
130
 
131
131
 
132
-
133
-
134
-
135
-
136
-
137
-
138
132
  <h2>Method Summary</h2>
139
133
 
140
- <h3 class="inherited">Methods included from <span class='object_link'><a href="Api/V1/Logs.html" title="Auth0::Api::V1::Logs (module)">Api::V1::Logs</a></span></h3>
141
- <p class="inherited"><span class='object_link'><a href="Api/V1/Logs.html#log-instance_method" title="Auth0::Api::V1::Logs#log (method)">#log</a></span>, <span class='object_link'><a href="Api/V1/Logs.html#logs-instance_method" title="Auth0::Api::V1::Logs#logs (method)">#logs</a></span>, <span class='object_link'><a href="Api/V1/Logs.html#user_logs-instance_method" title="Auth0::Api::V1::Logs#user_logs (method)">#user_logs</a></span></p>
142
-
143
-
144
-
145
-
146
-
147
-
148
-
149
-
150
-
151
- <h3 class="inherited">Methods included from <span class='object_link'><a href="Api/V1/Rules.html" title="Auth0::Api::V1::Rules (module)">Api::V1::Rules</a></span></h3>
152
- <p class="inherited"><span class='object_link'><a href="Api/V1/Rules.html#create_rule-instance_method" title="Auth0::Api::V1::Rules#create_rule (method)">#create_rule</a></span>, <span class='object_link'><a href="Api/V1/Rules.html#delete_rule-instance_method" title="Auth0::Api::V1::Rules#delete_rule (method)">#delete_rule</a></span>, <span class='object_link'><a href="Api/V1/Rules.html#rules-instance_method" title="Auth0::Api::V1::Rules#rules (method)">#rules</a></span>, <span class='object_link'><a href="Api/V1/Rules.html#update_rule-instance_method" title="Auth0::Api::V1::Rules#update_rule (method)">#update_rule</a></span></p>
153
-
154
-
155
-
156
-
157
-
158
-
159
-
160
-
161
-
162
- <h3 class="inherited">Methods included from <span class='object_link'><a href="Api/V1/Clients.html" title="Auth0::Api::V1::Clients (module)">Api::V1::Clients</a></span></h3>
163
- <p class="inherited"><span class='object_link'><a href="Api/V1/Clients.html#clients-instance_method" title="Auth0::Api::V1::Clients#clients (method)">#clients</a></span>, <span class='object_link'><a href="Api/V1/Clients.html#create_client-instance_method" title="Auth0::Api::V1::Clients#create_client (method)">#create_client</a></span>, <span class='object_link'><a href="Api/V1/Clients.html#patch_client-instance_method" title="Auth0::Api::V1::Clients#patch_client (method)">#patch_client</a></span>, <span class='object_link'><a href="Api/V1/Clients.html#update_client-instance_method" title="Auth0::Api::V1::Clients#update_client (method)">#update_client</a></span></p>
164
-
165
-
166
-
167
-
168
-
169
-
170
-
171
-
172
-
173
- <h3 class="inherited">Methods included from <span class='object_link'><a href="Api/V1/Connections.html" title="Auth0::Api::V1::Connections (module)">Api::V1::Connections</a></span></h3>
174
- <p class="inherited"><span class='object_link'><a href="Api/V1/Connections.html#connection-instance_method" title="Auth0::Api::V1::Connections#connection (method)">#connection</a></span>, <span class='object_link'><a href="Api/V1/Connections.html#connections-instance_method" title="Auth0::Api::V1::Connections#connections (method)">#connections</a></span>, <span class='object_link'><a href="Api/V1/Connections.html#create_connection-instance_method" title="Auth0::Api::V1::Connections#create_connection (method)">#create_connection</a></span>, <span class='object_link'><a href="Api/V1/Connections.html#delete_connection-instance_method" title="Auth0::Api::V1::Connections#delete_connection (method)">#delete_connection</a></span>, <span class='object_link'><a href="Api/V1/Connections.html#update_connection-instance_method" title="Auth0::Api::V1::Connections#update_connection (method)">#update_connection</a></span></p>
175
-
176
-
177
-
178
-
179
-
180
-
181
-
182
-
183
-
184
- <h3 class="inherited">Methods included from <span class='object_link'><a href="Api/V1/Users.html" title="Auth0::Api::V1::Users (module)">Api::V1::Users</a></span></h3>
185
- <p class="inherited"><span class='object_link'><a href="Api/V1/Users.html#change_password_ticket-instance_method" title="Auth0::Api::V1::Users#change_password_ticket (method)">#change_password_ticket</a></span>, <span class='object_link'><a href="Api/V1/Users.html#client_users-instance_method" title="Auth0::Api::V1::Users#client_users (method)">#client_users</a></span>, <span class='object_link'><a href="Api/V1/Users.html#connection_users-instance_method" title="Auth0::Api::V1::Users#connection_users (method)">#connection_users</a></span>, <span class='object_link'><a href="Api/V1/Users.html#create_public_key-instance_method" title="Auth0::Api::V1::Users#create_public_key (method)">#create_public_key</a></span>, <span class='object_link'><a href="Api/V1/Users.html#create_user-instance_method" title="Auth0::Api::V1::Users#create_user (method)">#create_user</a></span>, <span class='object_link'><a href="Api/V1/Users.html#delete_user-instance_method" title="Auth0::Api::V1::Users#delete_user (method)">#delete_user</a></span>, <span class='object_link'><a href="Api/V1/Users.html#delete_users-instance_method" title="Auth0::Api::V1::Users#delete_users (method)">#delete_users</a></span>, <span class='object_link'><a href="Api/V1/Users.html#enterpriseconnections_users-instance_method" title="Auth0::Api::V1::Users#enterpriseconnections_users (method)">#enterpriseconnections_users</a></span>, <span class='object_link'><a href="Api/V1/Users.html#patch_user_metadata-instance_method" title="Auth0::Api::V1::Users#patch_user_metadata (method)">#patch_user_metadata</a></span>, <span class='object_link'><a href="Api/V1/Users.html#revoke_user_device_public_key-instance_method" title="Auth0::Api::V1::Users#revoke_user_device_public_key (method)">#revoke_user_device_public_key</a></span>, <span class='object_link'><a href="Api/V1/Users.html#revoke_user_refresh_token-instance_method" title="Auth0::Api::V1::Users#revoke_user_refresh_token (method)">#revoke_user_refresh_token</a></span>, <span class='object_link'><a href="Api/V1/Users.html#send_verification_email-instance_method" title="Auth0::Api::V1::Users#send_verification_email (method)">#send_verification_email</a></span>, <span class='object_link'><a href="Api/V1/Users.html#socialconnections_users-instance_method" title="Auth0::Api::V1::Users#socialconnections_users (method)">#socialconnections_users</a></span>, <span class='object_link'><a href="Api/V1/Users.html#update_user_email-instance_method" title="Auth0::Api::V1::Users#update_user_email (method)">#update_user_email</a></span>, <span class='object_link'><a href="Api/V1/Users.html#update_user_metadata-instance_method" title="Auth0::Api::V1::Users#update_user_metadata (method)">#update_user_metadata</a></span>, <span class='object_link'><a href="Api/V1/Users.html#update_user_password-instance_method" title="Auth0::Api::V1::Users#update_user_password (method)">#update_user_password</a></span>, <span class='object_link'><a href="Api/V1/Users.html#update_user_password_using_email-instance_method" title="Auth0::Api::V1::Users#update_user_password_using_email (method)">#update_user_password_using_email</a></span>, <span class='object_link'><a href="Api/V1/Users.html#user-instance_method" title="Auth0::Api::V1::Users#user (method)">#user</a></span>, <span class='object_link'><a href="Api/V1/Users.html#user_devices-instance_method" title="Auth0::Api::V1::Users#user_devices (method)">#user_devices</a></span>, <span class='object_link'><a href="Api/V1/Users.html#users-instance_method" title="Auth0::Api::V1::Users#users (method)">#users</a></span>, <span class='object_link'><a href="Api/V1/Users.html#verification_ticket-instance_method" title="Auth0::Api::V1::Users#verification_ticket (method)">#verification_ticket</a></span></p>
186
-
187
-
188
-
189
-
190
-
191
-
192
-
193
-
194
-
195
- <h3 class="inherited">Methods included from <span class='object_link'><a href="Api/AuthenticationEndpoints.html" title="Auth0::Api::AuthenticationEndpoints (module)">Api::AuthenticationEndpoints</a></span></h3>
196
- <p class="inherited"><span class='object_link'><a href="Api/AuthenticationEndpoints.html#change_password-instance_method" title="Auth0::Api::AuthenticationEndpoints#change_password (method)">#change_password</a></span>, <span class='object_link'><a href="Api/AuthenticationEndpoints.html#delegation-instance_method" title="Auth0::Api::AuthenticationEndpoints#delegation (method)">#delegation</a></span>, <span class='object_link'><a href="Api/AuthenticationEndpoints.html#login-instance_method" title="Auth0::Api::AuthenticationEndpoints#login (method)">#login</a></span>, <span class='object_link'><a href="Api/AuthenticationEndpoints.html#obtain_access_token-instance_method" title="Auth0::Api::AuthenticationEndpoints#obtain_access_token (method)">#obtain_access_token</a></span>, <span class='object_link'><a href="Api/AuthenticationEndpoints.html#signup-instance_method" title="Auth0::Api::AuthenticationEndpoints#signup (method)">#signup</a></span>, <span class='object_link'><a href="Api/AuthenticationEndpoints.html#token_info-instance_method" title="Auth0::Api::AuthenticationEndpoints#token_info (method)">#token_info</a></span></p>
197
-
198
-
199
-
200
-
201
-
202
-
203
-
204
-
205
-
206
134
  <h3 class="inherited">Methods included from <span class='object_link'><a href="Mixins/Initializer.html" title="Auth0::Mixins::Initializer (module)">Initializer</a></span></h3>
207
135
  <p class="inherited"><span class='object_link'><a href="Mixins/Initializer.html#included-class_method" title="Auth0::Mixins::Initializer.included (method)">included</a></span>, <span class='object_link'><a href="Mixins/Initializer.html#initialize-instance_method" title="Auth0::Mixins::Initializer#initialize (method)">#initialize</a></span></p>
208
136
 
@@ -216,7 +144,7 @@
216
144
  </div>
217
145
 
218
146
  <div id="footer">
219
- Generated on Wed Feb 4 17:42:51 2015 by
147
+ Generated on Mon Feb 23 01:12:53 2015 by
220
148
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
221
149
  0.8.7.6 (ruby-2.0.0).
222
150
  </div>
@@ -112,7 +112,7 @@ gem for now, if you want to feel free to use your own http client</p>
112
112
  </div>
113
113
 
114
114
  <div id="footer">
115
- Generated on Wed Feb 4 17:42:51 2015 by
115
+ Generated on Mon Feb 23 01:12:53 2015 by
116
116
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
117
117
  0.8.7.6 (ruby-2.0.0).
118
118
  </div>
@@ -208,12 +208,12 @@ href="https://auth0.com/docs/auth-api">auth0.com/docs/auth-api</a>.</p>
208
208
  <pre class="lines">
209
209
 
210
210
 
211
- 23
212
- 24
213
- 25</pre>
211
+ 26
212
+ 27
213
+ 28</pre>
214
214
  </td>
215
215
  <td>
216
- <pre class="code"><span class="info file"># File 'lib/auth0/mixins/initializer.rb', line 23</span>
216
+ <pre class="code"><span class="info file"># File 'lib/auth0/mixins/initializer.rb', line 26</span>
217
217
 
218
218
  <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_included'>included</span><span class='lparen'>(</span><span class='id identifier rubyid_klass'>klass</span><span class='rparen'>)</span>
219
219
  <span class='id identifier rubyid_klass'>klass</span><span class='period'>.</span><span class='id identifier rubyid_send'>send</span> <span class='symbol'>:prepend</span><span class='comma'>,</span> <span class='const'>Initializer</span>
@@ -269,23 +269,29 @@ href="https://auth0.com/docs/auth-api">auth0.com/docs/auth-api</a></p>
269
269
  17
270
270
  18
271
271
  19
272
- 20</pre>
272
+ 20
273
+ 21
274
+ 22
275
+ 23</pre>
273
276
  </td>
274
277
  <td>
275
278
  <pre class="code"><span class="info file"># File 'lib/auth0/mixins/initializer.rb', line 8</span>
276
279
 
277
280
  <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_config'>config</span><span class='rparen'>)</span>
278
281
  <span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='const'>Hash</span><span class='lbracket'>[</span><span class='id identifier rubyid_config'>config</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>
279
- <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_class'>class</span><span class='period'>.</span><span class='id identifier rubyid_base_uri'>base_uri</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>https://</span><span class='tstring_end'>&quot;</span></span><span class='op'>+</span><span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:namespace</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_to_s'>to_s</span>
282
+ <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_class'>class</span><span class='period'>.</span><span class='id identifier rubyid_base_uri'>base_uri</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>https://</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:namespace</span><span class='rbracket'>]</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span>
280
283
  <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_class'>class</span><span class='period'>.</span><span class='id identifier rubyid_headers'>headers</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Content-Type</span><span class='tstring_end'>&quot;</span></span> <span class='op'>=&gt;</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>application/json</span><span class='tstring_end'>&#39;</span></span>
281
- <span class='ivar'>@client_id</span> <span class='op'>=</span> <span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:client_id</span><span class='rbracket'>]</span>
282
- <span class='ivar'>@client_secret</span> <span class='op'>=</span> <span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:client_secret</span><span class='rbracket'>]</span>
283
- <span class='ivar'>@token</span> <span class='op'>=</span> <span class='id identifier rubyid_obtain_access_token'>obtain_access_token</span>
284
- <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_class'>class</span><span class='period'>.</span><span class='id identifier rubyid_headers'>headers</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Authorization</span><span class='tstring_end'>&quot;</span></span> <span class='op'>=&gt;</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Bearer </span><span class='embexpr_beg'>#{</span><span class='ivar'>@token</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span>
285
- <span class='kw'>if</span> <span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:jwt</span><span class='rbracket'>]</span>
286
- <span class='id identifier rubyid_require'>require</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>auth0/mixins/jwt_operations</span><span class='tstring_end'>&#39;</span></span>
287
- <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_class'>class</span><span class='period'>.</span><span class='id identifier rubyid_send'>send</span><span class='lparen'>(</span><span class='symbol'>:include</span><span class='comma'>,</span> <span class='const'>Auth0</span><span class='op'>::</span><span class='const'>Mixins</span><span class='op'>::</span><span class='const'>JwtOperations</span><span class='rparen'>)</span>
284
+ <span class='kw'>if</span> <span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:protocols</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_to_s'>to_s</span><span class='period'>.</span><span class='id identifier rubyid_include?'>include?</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>v2</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
285
+ <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_extend'>extend</span> <span class='const'>Auth0</span><span class='op'>::</span><span class='const'>Api</span><span class='op'>::</span><span class='const'>V2</span>
286
+ <span class='ivar'>@token</span> <span class='op'>=</span> <span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:access_token</span><span class='rbracket'>]</span>
287
+ <span class='kw'>else</span>
288
+ <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_extend'>extend</span> <span class='const'>Auth0</span><span class='op'>::</span><span class='const'>Api</span><span class='op'>::</span><span class='const'>V1</span>
289
+ <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_extend'>extend</span> <span class='const'>Auth0</span><span class='op'>::</span><span class='const'>Api</span><span class='op'>::</span><span class='const'>AuthenticationEndpoints</span>
290
+ <span class='ivar'>@client_id</span> <span class='op'>=</span> <span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:client_id</span><span class='rbracket'>]</span>
291
+ <span class='ivar'>@client_secret</span> <span class='op'>=</span> <span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:client_secret</span><span class='rbracket'>]</span>
292
+ <span class='ivar'>@token</span> <span class='op'>=</span> <span class='id identifier rubyid_obtain_access_token'>obtain_access_token</span>
288
293
  <span class='kw'>end</span>
294
+ <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_class'>class</span><span class='period'>.</span><span class='id identifier rubyid_headers'>headers</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Authorization</span><span class='tstring_end'>&quot;</span></span> <span class='op'>=&gt;</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Bearer </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:access_token</span><span class='rbracket'>]</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span>
289
295
  <span class='kw'>end</span></pre>
290
296
  </td>
291
297
  </tr>
@@ -297,7 +303,7 @@ href="https://auth0.com/docs/auth-api">auth0.com/docs/auth-api</a></p>
297
303
  </div>
298
304
 
299
305
  <div id="footer">
300
- Generated on Wed Feb 4 17:42:51 2015 by
306
+ Generated on Mon Feb 23 01:12:53 2015 by
301
307
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
302
308
  0.8.7.6 (ruby-2.0.0).
303
309
  </div>