Skip to content

Commit

Permalink
Merge branch 'master' into auth-before-import
Browse files Browse the repository at this point in the history
  • Loading branch information
luisrudge authored May 30, 2018
2 parents 44e2a3b + 6f2f597 commit af160e2
Show file tree
Hide file tree
Showing 60 changed files with 3,215 additions and 872 deletions.
60 changes: 44 additions & 16 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,62 +1,90 @@
# Change Log

## [v2.10.0](https://github.com/auth0/node-auth0/tree/v2.10.0) (2018-05-29)

[Full Changelog](https://github.com/auth0/node-auth0/compare/v2.9.3...v2.10.0)

**Added**

* Adding pagination docs for clients/connections [\#268](https://github.com/auth0/node-auth0/pull/268) ([luisrudge](https://github.com/luisrudge))

**Fixed**

* Fix deleteUserMultifactor naming [\#259](https://github.com/auth0/node-auth0/pull/259) ([luisrudge](https://github.com/luisrudge))

## [v2.9.3](https://github.com/auth0/node-auth0/tree/v2.9.3) (2018-03-01)

[Full Changelog](https://github.com/auth0/node-auth0/compare/v2.9.2...v2.9.3)

**Fixed**
- Add client secret to passwordGrant [\#217](https://github.com/auth0/node-auth0/pull/217) ([luisrudge](https://github.com/luisrudge))

* Add client secret to passwordGrant [\#217](https://github.com/auth0/node-auth0/pull/217) ([luisrudge](https://github.com/luisrudge))

## [v2.9.2](https://github.com/auth0/node-auth0/tree/v2.9.2) (2018-01-16)

[Full Changelog](https://github.com/auth0/node-auth0/compare/v2.9.1...v2.9.2)

**Security**
- Update rest facade [\#232](https://github.com/auth0/node-auth0/pull/232) ([luisrudge](https://github.com/luisrudge))

* Update rest facade [\#232](https://github.com/auth0/node-auth0/pull/232) ([luisrudge](https://github.com/luisrudge))

## [v2.9.1](https://github.com/auth0/node-auth0/tree/v2.9.1) (2017-12-08)

[Full Changelog](https://github.com/auth0/node-auth0/compare/v2.9.0...v2.9.1)

**Fixed**
- fixed missing data object error [\#224](https://github.com/auth0/node-auth0/pull/224) ([dctoon](https://github.com/dctoon))

* fixed missing data object error [\#224](https://github.com/auth0/node-auth0/pull/224) ([dctoon](https://github.com/dctoon))

## [v2.9.0](https://github.com/auth0/node-auth0/tree/v2.9.0) (2017-12-07)

[Full Changelog](https://github.com/auth0/node-auth0/compare/v2.8.0...v2.9.0)

**Added**
- Added support for /users-by-email method. [\#218](https://github.com/auth0/node-auth0/pull/218) ([kopertop](https://github.com/kopertop))
- Add retry functionality for management api requests [\#215](https://github.com/auth0/node-auth0/pull/215) ([dctoon](https://github.com/dctoon))

* Added support for /users-by-email method. [\#218](https://github.com/auth0/node-auth0/pull/218) ([kopertop](https://github.com/kopertop))
* Add retry functionality for management api requests [\#215](https://github.com/auth0/node-auth0/pull/215) ([dctoon](https://github.com/dctoon))

## [v2.8.0](https://github.com/auth0/node-auth0/tree/v2.8.0) (2017-09-30)

[Full Changelog](https://github.com/auth0/node-auth0/compare/v2.7.1...v2.8.0)

**Added**
- Added tokenProvider functionality [\#196](https://github.com/auth0/node-auth0/pull/196) ([dctoon](https://github.com/dctoon))

* Added tokenProvider functionality [\#196](https://github.com/auth0/node-auth0/pull/196) ([dctoon](https://github.com/dctoon))

**Fixed**
- Fix wrapPropertyMethod mistake for updateClientGrant [\#202](https://github.com/auth0/node-auth0/pull/202) ([danedmunds](https://github.com/danedmunds))

* Fix wrapPropertyMethod mistake for updateClientGrant [\#202](https://github.com/auth0/node-auth0/pull/202) ([danedmunds](https://github.com/danedmunds))

## [v2.7.1](https://github.com/auth0/node-auth0/tree/v2.7.1) (2017-09-30)

[Full Changelog](https://github.com/auth0/node-auth0/compare/v2.7.0...v2.7.1)

**Fixed**
- Fix auth/users.getInfo to return JSON (fixes #158) [\#192](https://github.com/auth0/node-auth0/pull/192) ([pilwon](https://github.com/pilwon))

* Fix auth/users.getInfo to return JSON (fixes #158) [\#192](https://github.com/auth0/node-auth0/pull/192) ([pilwon](https://github.com/pilwon))

**Security**
- Update request to address ReDoS vulnerability [\#206](https://github.com/auth0/node-auth0/pull/206) ([dancrumb](https://github.com/dancrumb))

* Update request to address ReDoS vulnerability [\#206](https://github.com/auth0/node-auth0/pull/206) ([dancrumb](https://github.com/dancrumb))

## [v2.7.0](https://github.com/auth0/node-auth0/tree/v2.7.0) (2017-06-28)

[Full Changelog](https://github.com/auth0/node-auth0/compare/v2.6.0...v2.7.0)

**Added**
- Add password grant method [\#189](https://github.com/auth0/node-auth0/pull/189) ([hzalaz](https://github.com/hzalaz))
- Retrieve a user's Guardian enrollments [\#181](https://github.com/auth0/node-auth0/pull/181) ([joshuaali](https://github.com/joshuaali))
- Add get user logs [\#176](https://github.com/auth0/node-auth0/pull/176) ([amiram](https://github.com/amiram))

* Add password grant method [\#189](https://github.com/auth0/node-auth0/pull/189) ([hzalaz](https://github.com/hzalaz))
* Retrieve a user's Guardian enrollments [\#181](https://github.com/auth0/node-auth0/pull/181) ([joshuaali](https://github.com/joshuaali))
* Add get user logs [\#176](https://github.com/auth0/node-auth0/pull/176) ([amiram](https://github.com/amiram))

**Changed**
- Update packages and utilize error classes from rest-facade correctly (Fixes #154) [\#183](https://github.com/auth0/node-auth0/pull/183) ([charsleysa](https://github.com/charsleysa))

* Update packages and utilize error classes from rest-facade correctly (Fixes #154) [\#183](https://github.com/auth0/node-auth0/pull/183) ([charsleysa](https://github.com/charsleysa))

**Fixed**
- Fix impersonation to send AT in the params. [\#190](https://github.com/auth0/node-auth0/pull/190) ([hzalaz](https://github.com/hzalaz))
- Fixed minor typo in DatabaseAuthenticator module [\#184](https://github.com/auth0/node-auth0/pull/184) ([scostello-paanalytics](https://github.com/scostello-paanalytics))
- fix: avoid possible prototype override protection bypass [\#170](https://github.com/auth0/node-auth0/pull/170) ([AlmaasAre](https://github.com/AlmaasAre))

* Fix impersonation to send AT in the params. [\#190](https://github.com/auth0/node-auth0/pull/190) ([hzalaz](https://github.com/hzalaz))
* Fixed minor typo in DatabaseAuthenticator module [\#184](https://github.com/auth0/node-auth0/pull/184) ([scostello-paanalytics](https://github.com/scostello-paanalytics))
* fix: avoid possible prototype override protection bypass [\#170](https://github.com/auth0/node-auth0/pull/170) ([AlmaasAre](https://github.com/AlmaasAre))
116 changes: 56 additions & 60 deletions docs/RetryRestClient.js.html

Large diffs are not rendered by default.

50 changes: 17 additions & 33 deletions docs/auth_DatabaseAuthenticator.js.html

Large diffs are not rendered by default.

42 changes: 16 additions & 26 deletions docs/auth_OAuthAuthenticator.js.html

Large diffs are not rendered by default.

36 changes: 14 additions & 22 deletions docs/auth_PasswordlessAuthenticator.js.html

Large diffs are not rendered by default.

40 changes: 14 additions & 26 deletions docs/auth_TokensManager.js.html

Large diffs are not rendered by default.

36 changes: 14 additions & 22 deletions docs/auth_UsersManager.js.html

Large diffs are not rendered by default.

66 changes: 29 additions & 37 deletions docs/auth_index.js.html

Large diffs are not rendered by default.

114 changes: 107 additions & 7 deletions docs/external-RestClient.html

Large diffs are not rendered by default.

39 changes: 21 additions & 18 deletions docs/index.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/index.js.html

Large diffs are not rendered by default.

15 changes: 8 additions & 7 deletions docs/management_BlacklistedTokensManager.js.html

Large diffs are not rendered by default.

17 changes: 8 additions & 9 deletions docs/management_ClientGrantsManager.js.html

Large diffs are not rendered by default.

36 changes: 24 additions & 12 deletions docs/management_ClientsManager.js.html

Large diffs are not rendered by default.

36 changes: 24 additions & 12 deletions docs/management_ConnectionsManager.js.html

Large diffs are not rendered by default.

17 changes: 8 additions & 9 deletions docs/management_DeviceCredentialsManager.js.html

Large diffs are not rendered by default.

18 changes: 8 additions & 10 deletions docs/management_EmailProviderManager.js.html

Large diffs are not rendered by default.

189 changes: 189 additions & 0 deletions docs/management_EmailTemplatesManager.js.html

Large diffs are not rendered by default.

100 changes: 50 additions & 50 deletions docs/management_JobsManager.js.html

Large diffs are not rendered by default.

13 changes: 8 additions & 5 deletions docs/management_LogsManager.js.html

Large diffs are not rendered by default.

56 changes: 29 additions & 27 deletions docs/management_ManagementTokenProvider.js.html

Large diffs are not rendered by default.

16 changes: 10 additions & 6 deletions docs/management_ResourceServersManager.js.html

Large diffs are not rendered by default.

19 changes: 8 additions & 11 deletions docs/management_RulesManager.js.html

Large diffs are not rendered by default.

20 changes: 10 additions & 10 deletions docs/management_StatsManager.js.html

Large diffs are not rendered by default.

18 changes: 10 additions & 8 deletions docs/management_TenantManager.js.html

Large diffs are not rendered by default.

22 changes: 11 additions & 11 deletions docs/management_TicketsManager.js.html

Large diffs are not rendered by default.

102 changes: 59 additions & 43 deletions docs/management_UsersManager.js.html

Large diffs are not rendered by default.

165 changes: 84 additions & 81 deletions docs/management_index.js.html

Large diffs are not rendered by default.

40 changes: 20 additions & 20 deletions docs/module-auth.AuthenticationClient.html

Large diffs are not rendered by default.

16 changes: 8 additions & 8 deletions docs/module-auth.DatabaseAuthenticator.html

Large diffs are not rendered by default.

16 changes: 8 additions & 8 deletions docs/module-auth.OAuthAuthenticator.html

Large diffs are not rendered by default.

14 changes: 7 additions & 7 deletions docs/module-auth.PasswordlessAuthenticator.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/module-auth.TokensManager.html

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions docs/module-auth.UsersManager.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/module-auth.html

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions docs/module-management.BlacklistedTokensManager.html

Large diffs are not rendered by default.

20 changes: 10 additions & 10 deletions docs/module-management.ClientGrantsManager.html

Large diffs are not rendered by default.

165 changes: 156 additions & 9 deletions docs/module-management.ClientsManager.html

Large diffs are not rendered by default.

165 changes: 156 additions & 9 deletions docs/module-management.ConnectionsManager.html

Large diffs are not rendered by default.

14 changes: 7 additions & 7 deletions docs/module-management.DeviceCredentialsManager.html

Large diffs are not rendered by default.

16 changes: 8 additions & 8 deletions docs/module-management.EmailProviderManager.html

Large diffs are not rendered by default.

1,313 changes: 1,313 additions & 0 deletions docs/module-management.EmailTemplatesManager.html

Large diffs are not rendered by default.

43 changes: 35 additions & 8 deletions docs/module-management.JobsManager.html

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions docs/module-management.LogsManager.html

Large diffs are not rendered by default.

526 changes: 451 additions & 75 deletions docs/module-management.ManagementClient.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/module-management.ManagementTokenProvider.html

Large diffs are not rendered by default.

14 changes: 7 additions & 7 deletions docs/module-management.ResourceServersManager.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/module-management.RetryRestClient.html

Large diffs are not rendered by default.

18 changes: 9 additions & 9 deletions docs/module-management.RulesManager.html

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions docs/module-management.StatsManager.html

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions docs/module-management.TenantManager.html

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions docs/module-management.TicketsManager.html

Large diffs are not rendered by default.

57 changes: 29 additions & 28 deletions docs/module-management.UsersManager.html

Large diffs are not rendered by default.

7 changes: 5 additions & 2 deletions docs/module-management.html

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions docs/module-utils.html

Large diffs are not rendered by default.

52 changes: 25 additions & 27 deletions docs/utils.js.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "auth0",
"version": "2.9.3",
"version": "2.10.0",
"description": "SDK for Auth0 API v2",
"main": "src/index.js",
"scripts": {
Expand Down
18 changes: 16 additions & 2 deletions src/management/ClientsManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,12 +86,26 @@ utils.wrapPropertyMethod(ClientsManager, 'create', 'resource.create');
* @method getAll
* @memberOf module:management.ClientsManager.prototype
*
* @example
* @example <caption>
* This method takes an optional object as first argument that may be used to
* specify pagination settings. If pagination options are not present,
* the first page of a limited number of results will be returned.
* </caption>
*
* // Pagination settings.
* var params = {
* per_page: 10,
* page: 2
* };
*
* management.clients.getAll(function (err, clients) {
* console.log(clients.length);
* });
*
* @param {Function} [cb] Callback function.
* @param {Object} [params] Clients params.
* @param {Number} [params.per_page] Number of clients per page.
* @param {Number} [params.page] Page number.
* @param {Function} [cb] Callback function.
*
* @return {Promise|undefined}
*/
Expand Down
18 changes: 16 additions & 2 deletions src/management/ConnectionsManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,12 +80,26 @@ utils.wrapPropertyMethod(ConnectionsManager, 'create', 'resource.create');
* @method getAll
* @memberOf module:management.ConnectionsManager.prototype
*
* @example
* @example <caption>
* This method takes an optional object as first argument that may be used to
* specify pagination settings. If pagination options are not present,
* the first page of a limited number of results will be returned.
* </caption>
*
* // Pagination settings.
* var params = {
* per_page: 10,
* page: 2
* };
*
* management.connections.getAll(function (err, connections) {
* console.log(connections.length);
* });
*
* @param {Function} [cb] Callback function.
* @param {Object} [params] Connections params.
* @param {Number} [params.per_page] Number of connections per page.
* @param {Number} [params.page] Page number.
* @param {Function} [cb] Callback function.
*
* @return {Promise|undefined}
*/
Expand Down
3 changes: 2 additions & 1 deletion src/management/UsersManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,8 @@ UsersManager.prototype.create = function(data, cb) {
*
* @example <caption>
* This method takes an optional object as first argument that may be used to
* specify pagination settings and the search query.
* specify pagination settings and the search query. If pagination options are
* not present, the first page of a limited number of results will be returned.
* </caption>
*
* // Pagination settings.
Expand Down

0 comments on commit af160e2

Please sign in to comment.