diff --git a/CHANGELOG.md b/CHANGELOG.md index 4f036f0c4..13ea7da1e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Change Log +## [v2.18.0](https://github.com/auth0/node-auth0/tree/v2.18.0) (2019-06-26) +[Full Changelog](https://github.com/auth0/node-auth0/compare/v2.17.1...v2.18.0) + +**Added** +- Add Management API support for Branding and Prompts endpoints. [\#370](https://github.com/auth0/node-auth0/pull/370) ([chrisscott](https://github.com/chrisscott)) + ## [v2.17.1](https://github.com/auth0/node-auth0/tree/v2.17.1) (2019-05-22) [Full Changelog](https://github.com/auth0/node-auth0/compare/v2.17.0...v2.17.1) diff --git a/docs/RetryRestClient.js.html b/docs/RetryRestClient.js.html index 761edfdb9..c43d6fb9a 100644 --- a/docs/RetryRestClient.js.html +++ b/docs/RetryRestClient.js.html @@ -24,7 +24,7 @@
@@ -207,7 +207,7 @@

RetryRestClient.js


diff --git a/docs/auth_DatabaseAuthenticator.js.html b/docs/auth_DatabaseAuthenticator.js.html index 5ff356ec4..22a2acf2c 100644 --- a/docs/auth_DatabaseAuthenticator.js.html +++ b/docs/auth_DatabaseAuthenticator.js.html @@ -24,7 +24,7 @@
@@ -346,7 +346,7 @@

auth/DatabaseAuthenticator.js


- Generated by JSDoc 3.5.5 on Wed May 22 2019 17:25:15 GMT-0300 (-03) using the Minami theme. + Generated by JSDoc 3.5.5 on Wed Jun 26 2019 11:41:16 GMT-0300 (Brasilia Standard Time) using the Minami theme.
diff --git a/docs/auth_OAUthWithIDTokenValidation.js.html b/docs/auth_OAUthWithIDTokenValidation.js.html index e4de2afa0..6d77aca07 100644 --- a/docs/auth_OAUthWithIDTokenValidation.js.html +++ b/docs/auth_OAUthWithIDTokenValidation.js.html @@ -24,7 +24,7 @@
@@ -158,7 +158,7 @@

auth/OAUthWithIDTokenValidation.js


- Generated by JSDoc 3.5.5 on Wed May 22 2019 17:25:15 GMT-0300 (-03) using the Minami theme. + Generated by JSDoc 3.5.5 on Wed Jun 26 2019 11:41:16 GMT-0300 (Brasilia Standard Time) using the Minami theme.
diff --git a/docs/auth_OAuthAuthenticator.js.html b/docs/auth_OAuthAuthenticator.js.html index 295488a5d..9abb044eb 100644 --- a/docs/auth_OAuthAuthenticator.js.html +++ b/docs/auth_OAuthAuthenticator.js.html @@ -24,7 +24,7 @@
@@ -425,7 +425,7 @@

auth/OAuthAuthenticator.js


- Generated by JSDoc 3.5.5 on Wed May 22 2019 17:25:15 GMT-0300 (-03) using the Minami theme. + Generated by JSDoc 3.5.5 on Wed Jun 26 2019 11:41:16 GMT-0300 (Brasilia Standard Time) using the Minami theme.
diff --git a/docs/auth_PasswordlessAuthenticator.js.html b/docs/auth_PasswordlessAuthenticator.js.html index 1b85d90cc..c778da948 100644 --- a/docs/auth_PasswordlessAuthenticator.js.html +++ b/docs/auth_PasswordlessAuthenticator.js.html @@ -24,7 +24,7 @@
@@ -287,7 +287,7 @@

auth/PasswordlessAuthenticator.js


- Generated by JSDoc 3.5.5 on Wed May 22 2019 17:25:15 GMT-0300 (-03) using the Minami theme. + Generated by JSDoc 3.5.5 on Wed Jun 26 2019 11:41:16 GMT-0300 (Brasilia Standard Time) using the Minami theme.
diff --git a/docs/auth_TokensManager.js.html b/docs/auth_TokensManager.js.html index a725270ea..4e047cb47 100644 --- a/docs/auth_TokensManager.js.html +++ b/docs/auth_TokensManager.js.html @@ -24,7 +24,7 @@
@@ -226,7 +226,7 @@

auth/TokensManager.js


- Generated by JSDoc 3.5.5 on Wed May 22 2019 17:25:15 GMT-0300 (-03) using the Minami theme. + Generated by JSDoc 3.5.5 on Wed Jun 26 2019 11:41:16 GMT-0300 (Brasilia Standard Time) using the Minami theme.
diff --git a/docs/auth_UsersManager.js.html b/docs/auth_UsersManager.js.html index d0ada53c9..734fce040 100644 --- a/docs/auth_UsersManager.js.html +++ b/docs/auth_UsersManager.js.html @@ -24,7 +24,7 @@
@@ -224,7 +224,7 @@

auth/UsersManager.js


- Generated by JSDoc 3.5.5 on Wed May 22 2019 17:25:15 GMT-0300 (-03) using the Minami theme. + Generated by JSDoc 3.5.5 on Wed Jun 26 2019 11:41:16 GMT-0300 (Brasilia Standard Time) using the Minami theme.
diff --git a/docs/auth_index.js.html b/docs/auth_index.js.html index c8b250c74..b15bc3fa3 100644 --- a/docs/auth_index.js.html +++ b/docs/auth_index.js.html @@ -24,7 +24,7 @@
@@ -601,7 +601,7 @@

auth/index.js


- Generated by JSDoc 3.5.5 on Wed May 22 2019 17:25:15 GMT-0300 (-03) using the Minami theme. + Generated by JSDoc 3.5.5 on Wed Jun 26 2019 11:41:16 GMT-0300 (Brasilia Standard Time) using the Minami theme.
diff --git a/docs/external-RestClient.html b/docs/external-RestClient.html index 3f7ca4df8..39e3595d4 100644 --- a/docs/external-RestClient.html +++ b/docs/external-RestClient.html @@ -24,7 +24,7 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +

+ RestClient +

+ + +
+ + + +
+ + + + + + + +
+ +
+ +

+ RestClient +

+ + +
+ +
@@ -1339,7 +1539,7 @@


- Generated by JSDoc 3.5.5 on Wed May 22 2019 17:25:15 GMT-0300 (-03) using the Minami theme. + Generated by JSDoc 3.5.5 on Wed Jun 26 2019 11:41:16 GMT-0300 (Brasilia Standard Time) using the Minami theme.
diff --git a/docs/index.html b/docs/index.html index 15cb84272..16805a181 100644 --- a/docs/index.html +++ b/docs/index.html @@ -24,7 +24,7 @@
@@ -151,7 +151,7 @@

License

This project is licensed under the MIT license. See the

- Generated by JSDoc 3.5.5 on Wed May 22 2019 17:25:15 GMT-0300 (-03) using the Minami theme. + Generated by JSDoc 3.5.5 on Wed Jun 26 2019 11:41:16 GMT-0300 (Brasilia Standard Time) using the Minami theme.
diff --git a/docs/index.js.html b/docs/index.js.html index 685b70954..4c2b75404 100644 --- a/docs/index.js.html +++ b/docs/index.js.html @@ -24,7 +24,7 @@
@@ -61,7 +61,7 @@

index.js


- Generated by JSDoc 3.5.5 on Wed May 22 2019 17:25:15 GMT-0300 (-03) using the Minami theme. + Generated by JSDoc 3.5.5 on Wed Jun 26 2019 11:41:16 GMT-0300 (Brasilia Standard Time) using the Minami theme.
diff --git a/docs/management_BlacklistedTokensManager.js.html b/docs/management_BlacklistedTokensManager.js.html index 57789b280..8fd791b78 100644 --- a/docs/management_BlacklistedTokensManager.js.html +++ b/docs/management_BlacklistedTokensManager.js.html @@ -24,7 +24,7 @@
@@ -153,7 +153,7 @@

management/BlacklistedTokensManager.js


- Generated by JSDoc 3.5.5 on Wed May 22 2019 17:25:15 GMT-0300 (-03) using the Minami theme. + Generated by JSDoc 3.5.5 on Wed Jun 26 2019 11:41:16 GMT-0300 (Brasilia Standard Time) using the Minami theme.
diff --git a/docs/management_BrandingManager.js.html b/docs/management_BrandingManager.js.html new file mode 100644 index 000000000..a4c3c8b29 --- /dev/null +++ b/docs/management_BrandingManager.js.html @@ -0,0 +1,164 @@ + + + + + + management/BrandingManager.js - Documentation + + + + + + + + + + + + + + + + + +
+ +

management/BrandingManager.js

+ + + + + + + +
+
+
var ArgumentError = require('rest-facade').ArgumentError;
+var utils = require('../utils');
+var Auth0RestClient = require('../Auth0RestClient');
+var RetryRestClient = require('../RetryRestClient');
+
+/**
+ * Simple facade for consuming a REST API endpoint.
+ * @external RestClient
+ * @see https://github.com/ngonzalvez/rest-facade
+ */
+
+/**
+ * @class BrandingManager
+ * Manages settings related to branding.
+ * @constructor
+ * @memberOf module:management
+ *
+ * @param {Object} options            The client options.
+ * @param {String} options.baseUrl    The URL of the API.
+ * @param {Object} [options.headers]  Headers to be included in all requests.
+ * @param {Object} [options.retry]    Retry Policy Config
+ */
+var BrandingManager = function(options) {
+    if (options === null || typeof options !== 'object') {
+        throw new ArgumentError('Must provide manager options');
+    }
+
+    if (options.baseUrl === null || options.baseUrl === undefined) {
+        throw new ArgumentError('Must provide a base URL for the API');
+    }
+
+    if ('string' !== typeof options.baseUrl || options.baseUrl.length === 0) {
+        throw new ArgumentError('The provided base URL is invalid');
+    }
+
+    var clientOptions = {
+        errorFormatter: { message: 'message', name: 'error' },
+        headers: options.headers,
+        query: { repeatParams: false }
+    };
+
+    /**
+     * Provides an abstraction layer for consuming the
+     * {@link https://auth0.com/docs/api/management/v2#!/Branding Branding endpoint}.
+     *
+     * @type {external:RestClient}
+     */
+    var auth0RestClient = new Auth0RestClient(
+        options.baseUrl + '/branding',
+        clientOptions,
+        options.tokenProvider
+    );
+    this.resource = new RetryRestClient(auth0RestClient, options.retry);
+};
+
+/**
+ * Update the branding settings.
+ *
+ * @method    updateSettings
+ * @memberOf  module:management.BrandingManager.prototype
+ *
+ * @example
+ * management.branding.updateSettings(data, function (err, branding) {
+ *   if (err) {
+ *     // Handle error.
+ *   }
+ *
+ * // Updated branding
+ *    console.log(branding);
+ * });
+ *
+ * @param   {Object}    params            Branding parameters.
+ * @param   {Object}    data              Updated branding data.
+ * @param   {Function}  [cb]              Callback function.
+ *
+ * @return    {Promise|undefined}
+ */
+utils.wrapPropertyMethod(BrandingManager, 'updateSettings', 'resource.patch');
+
+/**
+ * Get the branding settings..
+ *
+ * @method    getSettings
+ * @memberOf  module:management.BrandingManager.prototype
+ *
+ * @example
+ * management.branding.getSettings(data, function (err, branding) {
+ *   if (err) {
+ *     // Handle error.
+ *   }
+ *
+ * // Branding
+ *    console.log(branding);
+ * });
+ *
+ * @param   {Object}    params            Branding parameters.
+ * @param   {Object}    data              Branding data.
+ * @param   {Function}  [cb]              Callback function.
+ *
+ * @return    {Promise|undefined}
+ */
+utils.wrapPropertyMethod(BrandingManager, 'getSettings', 'resource.get');
+
+module.exports = BrandingManager;
+
+
+
+ + + + +
+ +
+ +
+ Generated by JSDoc 3.5.5 on Wed Jun 26 2019 11:41:16 GMT-0300 (Brasilia Standard Time) using the Minami theme. +
+ + + + + diff --git a/docs/management_ClientGrantsManager.js.html b/docs/management_ClientGrantsManager.js.html index 047a4b671..4e4b78a7e 100644 --- a/docs/management_ClientGrantsManager.js.html +++ b/docs/management_ClientGrantsManager.js.html @@ -24,7 +24,7 @@
@@ -216,7 +216,7 @@

management/ClientGrantsManager.js


- Generated by JSDoc 3.5.5 on Wed May 22 2019 17:25:15 GMT-0300 (-03) using the Minami theme. + Generated by JSDoc 3.5.5 on Wed Jun 26 2019 11:41:16 GMT-0300 (Brasilia Standard Time) using the Minami theme.
diff --git a/docs/management_ClientsManager.js.html b/docs/management_ClientsManager.js.html index fa51ba415..a19a1de60 100644 --- a/docs/management_ClientsManager.js.html +++ b/docs/management_ClientsManager.js.html @@ -24,7 +24,7 @@
@@ -238,7 +238,7 @@

management/ClientsManager.js


- Generated by JSDoc 3.5.5 on Wed May 22 2019 17:25:15 GMT-0300 (-03) using the Minami theme. + Generated by JSDoc 3.5.5 on Wed Jun 26 2019 11:41:16 GMT-0300 (Brasilia Standard Time) using the Minami theme.
diff --git a/docs/management_ConnectionsManager.js.html b/docs/management_ConnectionsManager.js.html index 03aa47fa2..dc4469281 100644 --- a/docs/management_ConnectionsManager.js.html +++ b/docs/management_ConnectionsManager.js.html @@ -24,7 +24,7 @@
@@ -232,7 +232,7 @@

management/ConnectionsManager.js


- Generated by JSDoc 3.5.5 on Wed May 22 2019 17:25:15 GMT-0300 (-03) using the Minami theme. + Generated by JSDoc 3.5.5 on Wed Jun 26 2019 11:41:16 GMT-0300 (Brasilia Standard Time) using the Minami theme.
diff --git a/docs/management_CustomDomainsManager.js.html b/docs/management_CustomDomainsManager.js.html index 37a44518e..fb6b5219a 100644 --- a/docs/management_CustomDomainsManager.js.html +++ b/docs/management_CustomDomainsManager.js.html @@ -24,7 +24,7 @@
@@ -241,7 +241,7 @@

management/CustomDomainsManager.js


- Generated by JSDoc 3.5.5 on Wed May 22 2019 17:25:15 GMT-0300 (-03) using the Minami theme. + Generated by JSDoc 3.5.5 on Wed Jun 26 2019 11:41:16 GMT-0300 (Brasilia Standard Time) using the Minami theme.
diff --git a/docs/management_DeviceCredentialsManager.js.html b/docs/management_DeviceCredentialsManager.js.html index 8efae0c68..e51fe5878 100644 --- a/docs/management_DeviceCredentialsManager.js.html +++ b/docs/management_DeviceCredentialsManager.js.html @@ -24,7 +24,7 @@
@@ -177,7 +177,7 @@

management/DeviceCredentialsManager.js


- Generated by JSDoc 3.5.5 on Wed May 22 2019 17:25:15 GMT-0300 (-03) using the Minami theme. + Generated by JSDoc 3.5.5 on Wed Jun 26 2019 11:41:16 GMT-0300 (Brasilia Standard Time) using the Minami theme.
diff --git a/docs/management_EmailProviderManager.js.html b/docs/management_EmailProviderManager.js.html index 3b75e5dd2..1857b9913 100644 --- a/docs/management_EmailProviderManager.js.html +++ b/docs/management_EmailProviderManager.js.html @@ -24,7 +24,7 @@
@@ -198,7 +198,7 @@

management/EmailProviderManager.js


- Generated by JSDoc 3.5.5 on Wed May 22 2019 17:25:15 GMT-0300 (-03) using the Minami theme. + Generated by JSDoc 3.5.5 on Wed Jun 26 2019 11:41:16 GMT-0300 (Brasilia Standard Time) using the Minami theme.
diff --git a/docs/management_EmailTemplatesManager.js.html b/docs/management_EmailTemplatesManager.js.html index 428a57e77..0f465dc42 100644 --- a/docs/management_EmailTemplatesManager.js.html +++ b/docs/management_EmailTemplatesManager.js.html @@ -24,7 +24,7 @@
@@ -180,7 +180,7 @@

management/EmailTemplatesManager.js


- Generated by JSDoc 3.5.5 on Wed May 22 2019 17:25:15 GMT-0300 (-03) using the Minami theme. + Generated by JSDoc 3.5.5 on Wed Jun 26 2019 11:41:16 GMT-0300 (Brasilia Standard Time) using the Minami theme.
diff --git a/docs/management_GrantsManager.js.html b/docs/management_GrantsManager.js.html index b434190dd..13f5408b0 100644 --- a/docs/management_GrantsManager.js.html +++ b/docs/management_GrantsManager.js.html @@ -24,7 +24,7 @@
@@ -170,7 +170,7 @@

management/GrantsManager.js


- Generated by JSDoc 3.5.5 on Wed May 22 2019 17:25:15 GMT-0300 (-03) using the Minami theme. + Generated by JSDoc 3.5.5 on Wed Jun 26 2019 11:41:16 GMT-0300 (Brasilia Standard Time) using the Minami theme.
diff --git a/docs/management_GuardianManager.js.html b/docs/management_GuardianManager.js.html index 1296db43f..bae91ee6c 100644 --- a/docs/management_GuardianManager.js.html +++ b/docs/management_GuardianManager.js.html @@ -24,7 +24,7 @@
@@ -328,7 +328,7 @@

management/GuardianManager.js


- Generated by JSDoc 3.5.5 on Wed May 22 2019 17:25:15 GMT-0300 (-03) using the Minami theme. + Generated by JSDoc 3.5.5 on Wed Jun 26 2019 11:41:16 GMT-0300 (Brasilia Standard Time) using the Minami theme.
diff --git a/docs/management_JobsManager.js.html b/docs/management_JobsManager.js.html index 78f3bc81d..427b20b8b 100644 --- a/docs/management_JobsManager.js.html +++ b/docs/management_JobsManager.js.html @@ -24,7 +24,7 @@
@@ -354,7 +354,7 @@

management/JobsManager.js


- Generated by JSDoc 3.5.5 on Wed May 22 2019 17:25:15 GMT-0300 (-03) using the Minami theme. + Generated by JSDoc 3.5.5 on Wed Jun 26 2019 11:41:16 GMT-0300 (Brasilia Standard Time) using the Minami theme.
diff --git a/docs/management_LogsManager.js.html b/docs/management_LogsManager.js.html index 13159d3fd..24984c402 100644 --- a/docs/management_LogsManager.js.html +++ b/docs/management_LogsManager.js.html @@ -24,7 +24,7 @@
@@ -165,7 +165,7 @@

management/LogsManager.js


- Generated by JSDoc 3.5.5 on Wed May 22 2019 17:25:15 GMT-0300 (-03) using the Minami theme. + Generated by JSDoc 3.5.5 on Wed Jun 26 2019 11:41:16 GMT-0300 (Brasilia Standard Time) using the Minami theme.
diff --git a/docs/management_ManagementTokenProvider.js.html b/docs/management_ManagementTokenProvider.js.html index c4b5e2e84..102700c26 100644 --- a/docs/management_ManagementTokenProvider.js.html +++ b/docs/management_ManagementTokenProvider.js.html @@ -24,7 +24,7 @@
@@ -190,7 +190,7 @@

management/ManagementTokenProvider.js


- Generated by JSDoc 3.5.5 on Wed May 22 2019 17:25:15 GMT-0300 (-03) using the Minami theme. + Generated by JSDoc 3.5.5 on Wed Jun 26 2019 11:41:16 GMT-0300 (Brasilia Standard Time) using the Minami theme.
diff --git a/docs/management_PromptsManager.js.html b/docs/management_PromptsManager.js.html new file mode 100644 index 000000000..5f6609fa9 --- /dev/null +++ b/docs/management_PromptsManager.js.html @@ -0,0 +1,164 @@ + + + + + + management/PromptsManager.js - Documentation + + + + + + + + + + + + + + + + + +
+ +

management/PromptsManager.js

+ + + + + + + +
+
+
var ArgumentError = require('rest-facade').ArgumentError;
+var utils = require('../utils');
+var Auth0RestClient = require('../Auth0RestClient');
+var RetryRestClient = require('../RetryRestClient');
+
+/**
+ * Simple facade for consuming a REST API endpoint.
+ * @external RestClient
+ * @see https://github.com/ngonzalvez/rest-facade
+ */
+
+/**
+ * @class PromptsManager
+ * Manages settings related to prompts.
+ * @constructor
+ * @memberOf module:management
+ *
+ * @param {Object} options            The client options.
+ * @param {String} options.baseUrl    The URL of the API.
+ * @param {Object} [options.headers]  Headers to be included in all requests.
+ * @param {Object} [options.retry]    Retry Policy Config
+ */
+var PromptsManager = function(options) {
+    if (options === null || typeof options !== 'object') {
+        throw new ArgumentError('Must provide manager options');
+    }
+
+    if (options.baseUrl === null || options.baseUrl === undefined) {
+        throw new ArgumentError('Must provide a base URL for the API');
+    }
+
+    if ('string' !== typeof options.baseUrl || options.baseUrl.length === 0) {
+        throw new ArgumentError('The provided base URL is invalid');
+    }
+
+    var clientOptions = {
+        errorFormatter: { message: 'message', name: 'error' },
+        headers: options.headers,
+        query: { repeatParams: false }
+    };
+
+    /**
+     * Provides an abstraction layer for consuming the
+     * {@link https://auth0.com/docs/api/management/v2#!/Prompts Prompts endpoint}.
+     *
+     * @type {external:RestClient}
+     */
+    var auth0RestClient = new Auth0RestClient(
+        options.baseUrl + '/prompts',
+        clientOptions,
+        options.tokenProvider
+    );
+    this.resource = new RetryRestClient(auth0RestClient, options.retry);
+};
+
+/**
+ * Update the prompts settings.
+ *
+ * @method    updateSettings
+ * @memberOf  module:management.PromptsManager.prototype
+ *
+ * @example
+ * management.prompts.updateSettings(data, function (err, prompts) {
+ *   if (err) {
+ *     // Handle error.
+ *   }
+ *
+ * // Updated prompts
+ *    console.log(prompts);
+ * });
+ *
+ * @param   {Object}    params            Prompts parameters.
+ * @param   {Object}    data              Updated prompts data.
+ * @param   {Function}  [cb]              Callback function.
+ *
+ * @return    {Promise|undefined}
+ */
+utils.wrapPropertyMethod(PromptsManager, 'updateSettings', 'resource.patch');
+
+/**
+ * Get the prompts settings..
+ *
+ * @method    getSettings
+ * @memberOf  module:management.PromptsManager.prototype
+ *
+ * @example
+ * management.prompts.getSettings(data, function (err, prompts) {
+ *   if (err) {
+ *     // Handle error.
+ *   }
+ *
+ * // Prompts
+ *    console.log(prompts);
+ * });
+ *
+ * @param   {Object}    params            Prompts parameters.
+ * @param   {Object}    data              Prompts data.
+ * @param   {Function}  [cb]              Callback function.
+ *
+ * @return    {Promise|undefined}
+ */
+utils.wrapPropertyMethod(PromptsManager, 'getSettings', 'resource.get');
+
+module.exports = PromptsManager;
+
+
+
+ + + + +
+ +
+ +
+ Generated by JSDoc 3.5.5 on Wed Jun 26 2019 11:41:16 GMT-0300 (Brasilia Standard Time) using the Minami theme. +
+ + + + + diff --git a/docs/management_ResourceServersManager.js.html b/docs/management_ResourceServersManager.js.html index 00def9033..049ca68c2 100644 --- a/docs/management_ResourceServersManager.js.html +++ b/docs/management_ResourceServersManager.js.html @@ -24,7 +24,7 @@
@@ -238,7 +238,7 @@

management/ResourceServersManager.js


- Generated by JSDoc 3.5.5 on Wed May 22 2019 17:25:15 GMT-0300 (-03) using the Minami theme. + Generated by JSDoc 3.5.5 on Wed Jun 26 2019 11:41:16 GMT-0300 (Brasilia Standard Time) using the Minami theme.
diff --git a/docs/management_RolesManager.js.html b/docs/management_RolesManager.js.html index 47ab35ff9..52e3c2833 100644 --- a/docs/management_RolesManager.js.html +++ b/docs/management_RolesManager.js.html @@ -24,7 +24,7 @@
@@ -453,7 +453,7 @@

management/RolesManager.js


- Generated by JSDoc 3.5.5 on Wed May 22 2019 17:25:15 GMT-0300 (-03) using the Minami theme. + Generated by JSDoc 3.5.5 on Wed Jun 26 2019 11:41:16 GMT-0300 (Brasilia Standard Time) using the Minami theme.
diff --git a/docs/management_RulesConfigsManager.js.html b/docs/management_RulesConfigsManager.js.html index 28ceed46c..ce194615a 100644 --- a/docs/management_RulesConfigsManager.js.html +++ b/docs/management_RulesConfigsManager.js.html @@ -24,7 +24,7 @@
@@ -179,7 +179,7 @@

management/RulesConfigsManager.js


- Generated by JSDoc 3.5.5 on Wed May 22 2019 17:25:15 GMT-0300 (-03) using the Minami theme. + Generated by JSDoc 3.5.5 on Wed Jun 26 2019 11:41:16 GMT-0300 (Brasilia Standard Time) using the Minami theme.
diff --git a/docs/management_RulesManager.js.html b/docs/management_RulesManager.js.html index f7ba7415b..773d7fcbf 100644 --- a/docs/management_RulesManager.js.html +++ b/docs/management_RulesManager.js.html @@ -24,7 +24,7 @@
@@ -248,7 +248,7 @@

management/RulesManager.js


- Generated by JSDoc 3.5.5 on Wed May 22 2019 17:25:15 GMT-0300 (-03) using the Minami theme. + Generated by JSDoc 3.5.5 on Wed Jun 26 2019 11:41:16 GMT-0300 (Brasilia Standard Time) using the Minami theme.
diff --git a/docs/management_StatsManager.js.html b/docs/management_StatsManager.js.html index 4f40e59ab..c10229311 100644 --- a/docs/management_StatsManager.js.html +++ b/docs/management_StatsManager.js.html @@ -24,7 +24,7 @@
@@ -174,7 +174,7 @@

management/StatsManager.js


- Generated by JSDoc 3.5.5 on Wed May 22 2019 17:25:15 GMT-0300 (-03) using the Minami theme. + Generated by JSDoc 3.5.5 on Wed Jun 26 2019 11:41:16 GMT-0300 (Brasilia Standard Time) using the Minami theme.
diff --git a/docs/management_TenantManager.js.html b/docs/management_TenantManager.js.html index f2d412579..4f8d47a59 100644 --- a/docs/management_TenantManager.js.html +++ b/docs/management_TenantManager.js.html @@ -24,7 +24,7 @@
@@ -161,7 +161,7 @@

management/TenantManager.js


- Generated by JSDoc 3.5.5 on Wed May 22 2019 17:25:15 GMT-0300 (-03) using the Minami theme. + Generated by JSDoc 3.5.5 on Wed Jun 26 2019 11:41:16 GMT-0300 (Brasilia Standard Time) using the Minami theme.
diff --git a/docs/management_TicketsManager.js.html b/docs/management_TicketsManager.js.html index 5a61cf0ea..cdfe52b16 100644 --- a/docs/management_TicketsManager.js.html +++ b/docs/management_TicketsManager.js.html @@ -24,7 +24,7 @@
@@ -166,7 +166,7 @@

management/TicketsManager.js


- Generated by JSDoc 3.5.5 on Wed May 22 2019 17:25:15 GMT-0300 (-03) using the Minami theme. + Generated by JSDoc 3.5.5 on Wed Jun 26 2019 11:41:16 GMT-0300 (Brasilia Standard Time) using the Minami theme.
diff --git a/docs/management_UserBlocksManager.js.html b/docs/management_UserBlocksManager.js.html index 2e639e3d7..74682277f 100644 --- a/docs/management_UserBlocksManager.js.html +++ b/docs/management_UserBlocksManager.js.html @@ -24,7 +24,7 @@
@@ -227,7 +227,7 @@

management/UserBlocksManager.js


- Generated by JSDoc 3.5.5 on Wed May 22 2019 17:25:15 GMT-0300 (-03) using the Minami theme. + Generated by JSDoc 3.5.5 on Wed Jun 26 2019 11:41:16 GMT-0300 (Brasilia Standard Time) using the Minami theme.
diff --git a/docs/management_UsersManager.js.html b/docs/management_UsersManager.js.html index 4cca607bf..f25c384af 100644 --- a/docs/management_UsersManager.js.html +++ b/docs/management_UsersManager.js.html @@ -24,7 +24,7 @@
@@ -927,7 +927,7 @@

management/UsersManager.js


- Generated by JSDoc 3.5.5 on Wed May 22 2019 17:25:15 GMT-0300 (-03) using the Minami theme. + Generated by JSDoc 3.5.5 on Wed Jun 26 2019 11:41:16 GMT-0300 (Brasilia Standard Time) using the Minami theme.
diff --git a/docs/management_index.js.html b/docs/management_index.js.html index d6009ca1a..ce1ecd9dd 100644 --- a/docs/management_index.js.html +++ b/docs/management_index.js.html @@ -24,7 +24,7 @@
@@ -2057,11 +2057,18 @@

management/index.js

* @memberOf module:management.ManagementClient.prototype * * @example + * + * var params = { + * result_url: '{REDIRECT_URL}', // Redirect after using the ticket. + * user_id: '{USER_ID}' + * }; + * + * // or + * * var params = { * result_url: '{REDIRECT_URL}', // Redirect after using the ticket. - * user_id: '{USER_ID}', // Optional. - * email: '{USER_EMAIL}', // Optional. - * new_password: '{PASSWORD}' + * email: '{USER_EMAIL}', + * connection_id: '{CONNECTION}' // eg. con_00000000001 * }; * * auth0.createPasswordChangeTicket(params, function (err) { @@ -2850,7 +2857,7 @@

management/index.js


- Generated by JSDoc 3.5.5 on Wed May 22 2019 17:25:15 GMT-0300 (-03) using the Minami theme. + Generated by JSDoc 3.5.5 on Wed Jun 26 2019 11:41:16 GMT-0300 (Brasilia Standard Time) using the Minami theme.
diff --git a/docs/module-auth.AuthenticationClient.html b/docs/module-auth.AuthenticationClient.html index faff593e3..e21aba0fd 100644 --- a/docs/module-auth.AuthenticationClient.html +++ b/docs/module-auth.AuthenticationClient.html @@ -24,7 +24,7 @@
@@ -3786,7 +3786,7 @@
Examples

- Generated by JSDoc 3.5.5 on Wed May 22 2019 17:25:15 GMT-0300 (-03) using the Minami theme. + Generated by JSDoc 3.5.5 on Wed Jun 26 2019 11:41:16 GMT-0300 (Brasilia Standard Time) using the Minami theme.
diff --git a/docs/module-auth.DatabaseAuthenticator.html b/docs/module-auth.DatabaseAuthenticator.html index 223037466..f2ef70257 100644 --- a/docs/module-auth.DatabaseAuthenticator.html +++ b/docs/module-auth.DatabaseAuthenticator.html @@ -24,7 +24,7 @@
@@ -1738,7 +1738,7 @@
Example

- Generated by JSDoc 3.5.5 on Wed May 22 2019 17:25:15 GMT-0300 (-03) using the Minami theme. + Generated by JSDoc 3.5.5 on Wed Jun 26 2019 11:41:16 GMT-0300 (Brasilia Standard Time) using the Minami theme.
diff --git a/docs/module-auth.OAUthWithIDTokenValidation.html b/docs/module-auth.OAUthWithIDTokenValidation.html index a573702b6..63a40eb65 100644 --- a/docs/module-auth.OAUthWithIDTokenValidation.html +++ b/docs/module-auth.OAUthWithIDTokenValidation.html @@ -24,7 +24,7 @@
@@ -414,7 +414,7 @@
Parameters:

- Generated by JSDoc 3.5.5 on Wed May 22 2019 17:25:15 GMT-0300 (-03) using the Minami theme. + Generated by JSDoc 3.5.5 on Wed Jun 26 2019 11:41:16 GMT-0300 (Brasilia Standard Time) using the Minami theme.
diff --git a/docs/module-auth.OAuthAuthenticator.html b/docs/module-auth.OAuthAuthenticator.html index 75f97d9cf..fc014af15 100644 --- a/docs/module-auth.OAuthAuthenticator.html +++ b/docs/module-auth.OAuthAuthenticator.html @@ -24,7 +24,7 @@
@@ -1796,7 +1796,7 @@
Returns:

- Generated by JSDoc 3.5.5 on Wed May 22 2019 17:25:15 GMT-0300 (-03) using the Minami theme. + Generated by JSDoc 3.5.5 on Wed Jun 26 2019 11:41:16 GMT-0300 (Brasilia Standard Time) using the Minami theme.
diff --git a/docs/module-auth.PasswordlessAuthenticator.html b/docs/module-auth.PasswordlessAuthenticator.html index 4faf4561f..03ccd7936 100644 --- a/docs/module-auth.PasswordlessAuthenticator.html +++ b/docs/module-auth.PasswordlessAuthenticator.html @@ -24,7 +24,7 @@
@@ -1492,7 +1492,7 @@
Examples

- Generated by JSDoc 3.5.5 on Wed May 22 2019 17:25:15 GMT-0300 (-03) using the Minami theme. + Generated by JSDoc 3.5.5 on Wed Jun 26 2019 11:41:16 GMT-0300 (Brasilia Standard Time) using the Minami theme.
diff --git a/docs/module-auth.TokensManager.html b/docs/module-auth.TokensManager.html index 05b659b5c..9ba0d243a 100644 --- a/docs/module-auth.TokensManager.html +++ b/docs/module-auth.TokensManager.html @@ -24,7 +24,7 @@
@@ -352,7 +352,7 @@
Parameters:

- Generated by JSDoc 3.5.5 on Wed May 22 2019 17:25:15 GMT-0300 (-03) using the Minami theme. + Generated by JSDoc 3.5.5 on Wed Jun 26 2019 11:41:16 GMT-0300 (Brasilia Standard Time) using the Minami theme.
diff --git a/docs/module-auth.UsersManager.html b/docs/module-auth.UsersManager.html index 75e286761..a18b6c999 100644 --- a/docs/module-auth.UsersManager.html +++ b/docs/module-auth.UsersManager.html @@ -24,7 +24,7 @@
@@ -1009,7 +1009,7 @@
Example

- Generated by JSDoc 3.5.5 on Wed May 22 2019 17:25:15 GMT-0300 (-03) using the Minami theme. + Generated by JSDoc 3.5.5 on Wed Jun 26 2019 11:41:16 GMT-0300 (Brasilia Standard Time) using the Minami theme.
diff --git a/docs/module-auth.html b/docs/module-auth.html index 8d1b56062..1bff27e32 100644 --- a/docs/module-auth.html +++ b/docs/module-auth.html @@ -24,7 +24,7 @@
@@ -108,7 +108,7 @@

Classes


- Generated by JSDoc 3.5.5 on Wed May 22 2019 17:25:15 GMT-0300 (-03) using the Minami theme. + Generated by JSDoc 3.5.5 on Wed Jun 26 2019 11:41:16 GMT-0300 (Brasilia Standard Time) using the Minami theme.
diff --git a/docs/module-management.BlacklistedTokensManager.html b/docs/module-management.BlacklistedTokensManager.html index 238929693..5ee572e86 100644 --- a/docs/module-management.BlacklistedTokensManager.html +++ b/docs/module-management.BlacklistedTokensManager.html @@ -24,7 +24,7 @@
@@ -991,7 +991,7 @@
Example

- Generated by JSDoc 3.5.5 on Wed May 22 2019 17:25:15 GMT-0300 (-03) using the Minami theme. + Generated by JSDoc 3.5.5 on Wed Jun 26 2019 11:41:16 GMT-0300 (Brasilia Standard Time) using the Minami theme.
diff --git a/docs/module-management.BrandingManager.html b/docs/module-management.BrandingManager.html new file mode 100644 index 000000000..25b590cc9 --- /dev/null +++ b/docs/module-management.BrandingManager.html @@ -0,0 +1,951 @@ + + + + + + BrandingManager - Documentation + + + + + + + + + + + + + + + + + +
+ +

BrandingManager

+ + + + + + + +
+ +
+ +

+ management. + + BrandingManager +

+ +

BrandingManager +Manages settings related to branding.

+ + +
+ +
+
+ + +
+ + +

Constructor

+ + +

new BrandingManager(options)

+ + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
options + + +Object + + + + +

The client options.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
baseUrl + + +String + + + + + + + + + + +

The URL of the API.

+ +
headers + + +Object + + + + + + <optional>
+ + + + + +
+

Headers to be included in all requests.

+ +
retry + + +Object + + + + + + <optional>
+ + + + + +
+

Retry Policy Config

+ +
+ + +
+ + + + + + + + + + + + + + + + +
+ +
+ + + + + + + + + + + + +

Members

+ + + +
+

(inner) auth0RestClient :external:RestClient

+ + + + +
+

Provides an abstraction layer for consuming the +Branding endpoint.

+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + +
Type:
+ + + + + + +
+ + + + + +

Methods

+ + + +
+ + + +

getSettings(params, data, cbopt) → {Promise|undefined}

+ + + + + +
+

Get the branding settings..

+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
params + + +Object + + + + + + + + + + +

Branding parameters.

+ +
data + + +Object + + + + + + + + + + +

Branding data.

+ +
cb + + +function + + + + + + <optional>
+ + + + + +
+

Callback function.

+ +
+ + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +Promise +| + +undefined + + +
+
+ + + +
+ + + +
+
Example
+ +
management.branding.getSettings(data, function (err, branding) {
+  if (err) {
+    // Handle error.
+  }
+
+// Branding
+   console.log(branding);
+});
+ +
+ +
+ + +
+ + + +

updateSettings(params, data, cbopt) → {Promise|undefined}

+ + + + + +
+

Update the branding settings.

+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
params + + +Object + + + + + + + + + + +

Branding parameters.

+ +
data + + +Object + + + + + + + + + + +

Updated branding data.

+ +
cb + + +function + + + + + + <optional>
+ + + + + +
+

Callback function.

+ +
+ + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +Promise +| + +undefined + + +
+
+ + + +
+ + + +
+
Example
+ +
management.branding.updateSettings(data, function (err, branding) {
+  if (err) {
+    // Handle error.
+  }
+
+// Updated branding
+   console.log(branding);
+});
+ +
+ +
+ + + + + + +
+ +
+ + + + +
+ +
+ +
+ Generated by JSDoc 3.5.5 on Wed Jun 26 2019 11:41:16 GMT-0300 (Brasilia Standard Time) using the Minami theme. +
+ + + + + \ No newline at end of file diff --git a/docs/module-management.ClientGrantsManager.html b/docs/module-management.ClientGrantsManager.html index 04ee24d7f..6d0cf8c46 100644 --- a/docs/module-management.ClientGrantsManager.html +++ b/docs/module-management.ClientGrantsManager.html @@ -24,7 +24,7 @@
@@ -1636,7 +1636,7 @@
Example

- Generated by JSDoc 3.5.5 on Wed May 22 2019 17:25:15 GMT-0300 (-03) using the Minami theme. + Generated by JSDoc 3.5.5 on Wed Jun 26 2019 11:41:16 GMT-0300 (Brasilia Standard Time) using the Minami theme.
diff --git a/docs/module-management.ClientsManager.html b/docs/module-management.ClientsManager.html index ff7d57a16..e95b18527 100644 --- a/docs/module-management.ClientsManager.html +++ b/docs/module-management.ClientsManager.html @@ -24,7 +24,7 @@
@@ -1904,7 +1904,7 @@
Example

- Generated by JSDoc 3.5.5 on Wed May 22 2019 17:25:15 GMT-0300 (-03) using the Minami theme. + Generated by JSDoc 3.5.5 on Wed Jun 26 2019 11:41:16 GMT-0300 (Brasilia Standard Time) using the Minami theme.
diff --git a/docs/module-management.ConnectionsManager.html b/docs/module-management.ConnectionsManager.html index 4c2f59ce1..fafa8c2ed 100644 --- a/docs/module-management.ConnectionsManager.html +++ b/docs/module-management.ConnectionsManager.html @@ -24,7 +24,7 @@
@@ -1899,7 +1899,7 @@
Example

- Generated by JSDoc 3.5.5 on Wed May 22 2019 17:25:15 GMT-0300 (-03) using the Minami theme. + Generated by JSDoc 3.5.5 on Wed Jun 26 2019 11:41:16 GMT-0300 (Brasilia Standard Time) using the Minami theme.
diff --git a/docs/module-management.CustomDomainsManager.html b/docs/module-management.CustomDomainsManager.html index 7b94c72fa..331259335 100644 --- a/docs/module-management.CustomDomainsManager.html +++ b/docs/module-management.CustomDomainsManager.html @@ -24,7 +24,7 @@
@@ -1731,7 +1731,7 @@
Example

- Generated by JSDoc 3.5.5 on Wed May 22 2019 17:25:15 GMT-0300 (-03) using the Minami theme. + Generated by JSDoc 3.5.5 on Wed Jun 26 2019 11:41:16 GMT-0300 (Brasilia Standard Time) using the Minami theme.
diff --git a/docs/module-management.DeviceCredentialsManager.html b/docs/module-management.DeviceCredentialsManager.html index 5eb06126b..8f72be7a3 100644 --- a/docs/module-management.DeviceCredentialsManager.html +++ b/docs/module-management.DeviceCredentialsManager.html @@ -24,7 +24,7 @@
@@ -1179,7 +1179,7 @@
Example

- Generated by JSDoc 3.5.5 on Wed May 22 2019 17:25:15 GMT-0300 (-03) using the Minami theme. + Generated by JSDoc 3.5.5 on Wed Jun 26 2019 11:41:16 GMT-0300 (Brasilia Standard Time) using the Minami theme.
diff --git a/docs/module-management.EmailProviderManager.html b/docs/module-management.EmailProviderManager.html index fc7fbf0bc..4016d15bc 100644 --- a/docs/module-management.EmailProviderManager.html +++ b/docs/module-management.EmailProviderManager.html @@ -24,7 +24,7 @@
@@ -1480,7 +1480,7 @@
Example

- Generated by JSDoc 3.5.5 on Wed May 22 2019 17:25:15 GMT-0300 (-03) using the Minami theme. + Generated by JSDoc 3.5.5 on Wed Jun 26 2019 11:41:16 GMT-0300 (Brasilia Standard Time) using the Minami theme.
diff --git a/docs/module-management.EmailTemplatesManager.html b/docs/module-management.EmailTemplatesManager.html index fdfb922d2..7c2cb4cfe 100644 --- a/docs/module-management.EmailTemplatesManager.html +++ b/docs/module-management.EmailTemplatesManager.html @@ -24,7 +24,7 @@
@@ -1304,7 +1304,7 @@
Example

- Generated by JSDoc 3.5.5 on Wed May 22 2019 17:25:15 GMT-0300 (-03) using the Minami theme. + Generated by JSDoc 3.5.5 on Wed Jun 26 2019 11:41:16 GMT-0300 (Brasilia Standard Time) using the Minami theme.
diff --git a/docs/module-management.GrantsManager.html b/docs/module-management.GrantsManager.html index b57cf61b0..b0dd30aa6 100644 --- a/docs/module-management.GrantsManager.html +++ b/docs/module-management.GrantsManager.html @@ -24,7 +24,7 @@
@@ -1515,7 +1515,7 @@
Example

- Generated by JSDoc 3.5.5 on Wed May 22 2019 17:25:15 GMT-0300 (-03) using the Minami theme. + Generated by JSDoc 3.5.5 on Wed Jun 26 2019 11:41:16 GMT-0300 (Brasilia Standard Time) using the Minami theme.
diff --git a/docs/module-management.GuardianManager.html b/docs/module-management.GuardianManager.html index c72346609..a11d64658 100644 --- a/docs/module-management.GuardianManager.html +++ b/docs/module-management.GuardianManager.html @@ -24,7 +24,7 @@
@@ -1440,7 +1440,7 @@
Example

- Generated by JSDoc 3.5.5 on Wed May 22 2019 17:25:15 GMT-0300 (-03) using the Minami theme. + Generated by JSDoc 3.5.5 on Wed Jun 26 2019 11:41:16 GMT-0300 (Brasilia Standard Time) using the Minami theme.
diff --git a/docs/module-management.JobsManager.html b/docs/module-management.JobsManager.html index b8b9ab2c7..c121884ec 100644 --- a/docs/module-management.JobsManager.html +++ b/docs/module-management.JobsManager.html @@ -24,7 +24,7 @@
@@ -1849,7 +1849,7 @@
Example

- Generated by JSDoc 3.5.5 on Wed May 22 2019 17:25:15 GMT-0300 (-03) using the Minami theme. + Generated by JSDoc 3.5.5 on Wed Jun 26 2019 11:41:16 GMT-0300 (Brasilia Standard Time) using the Minami theme.
diff --git a/docs/module-management.LogsManager.html b/docs/module-management.LogsManager.html index 03cf7f9e3..99603a30d 100644 --- a/docs/module-management.LogsManager.html +++ b/docs/module-management.LogsManager.html @@ -24,7 +24,7 @@
@@ -1286,7 +1286,7 @@
Example

- Generated by JSDoc 3.5.5 on Wed May 22 2019 17:25:15 GMT-0300 (-03) using the Minami theme. + Generated by JSDoc 3.5.5 on Wed Jun 26 2019 11:41:16 GMT-0300 (Brasilia Standard Time) using the Minami theme.
diff --git a/docs/module-management.ManagementClient.html b/docs/module-management.ManagementClient.html index 5631eda4e..cb7798b07 100644 --- a/docs/module-management.ManagementClient.html +++ b/docs/module-management.ManagementClient.html @@ -24,7 +24,7 @@
@@ -2301,7 +2301,7 @@

a
Source:
@@ -4566,7 +4566,7 @@

cre
Source:
@@ -5002,7 +5002,7 @@

Source:
@@ -5186,7 +5186,7 @@

Source:
@@ -5489,9 +5489,15 @@
Example
var params = {
   result_url: '{REDIRECT_URL}',  // Redirect after using the ticket.
-  user_id: '{USER_ID}',  // Optional.
-  email: '{USER_EMAIL}',  // Optional.
-  new_password: '{PASSWORD}'
+  user_id: '{USER_ID}'
+};
+
+// or
+
+var params = {
+  result_url: '{REDIRECT_URL}',  // Redirect after using the ticket.
+  email: '{USER_EMAIL}',
+  connection_id: '{CONNECTION}' // eg. con_00000000001
 };
 
 auth0.createPasswordChangeTicket(params, function (err) {
@@ -5552,7 +5558,7 @@ 

c
Source:
@@ -5770,7 +5776,7 @@

createRole<
Source:
@@ -7418,7 +7424,7 @@

del
Source:
@@ -8411,7 +8417,7 @@

d
Source:
@@ -8680,7 +8686,7 @@

deleteRole<
Source:
@@ -9218,7 +9224,7 @@

dele
Source:
@@ -12651,7 +12657,7 @@

getCus
Source:
@@ -12920,7 +12926,7 @@

getCu
Source:
@@ -15039,7 +15045,7 @@

getLogSource:
@@ -15308,7 +15314,7 @@

getLogsSource:
@@ -15815,7 +15821,7 @@

g
Source:
@@ -16039,7 +16045,7 @@

getR
Source:
@@ -16308,7 +16314,7 @@

get
Source:
@@ -16635,7 +16641,7 @@

getRoleSource:
@@ -16904,7 +16910,7 @@

getRolesSource:
@@ -17827,7 +17833,7 @@

getRul
Source:
@@ -20644,7 +20650,7 @@

getUser
Source:
@@ -21767,7 +21773,7 @@

Source:
@@ -23131,7 +23137,7 @@

setRule
Source:
@@ -25833,7 +25839,7 @@

u
Source:
@@ -26139,7 +26145,7 @@

updateRole<
Source:
@@ -27580,7 +27586,7 @@

ver
Source:
@@ -27818,7 +27824,7 @@

Example

- Generated by JSDoc 3.5.5 on Wed May 22 2019 17:25:15 GMT-0300 (-03) using the Minami theme. + Generated by JSDoc 3.5.5 on Wed Jun 26 2019 11:41:16 GMT-0300 (Brasilia Standard Time) using the Minami theme.
diff --git a/docs/module-management.ManagementTokenProvider.html b/docs/module-management.ManagementTokenProvider.html index 2a4383477..efb5c4e12 100644 --- a/docs/module-management.ManagementTokenProvider.html +++ b/docs/module-management.ManagementTokenProvider.html @@ -24,7 +24,7 @@
@@ -633,7 +633,7 @@
Returns:

- Generated by JSDoc 3.5.5 on Wed May 22 2019 17:25:15 GMT-0300 (-03) using the Minami theme. + Generated by JSDoc 3.5.5 on Wed Jun 26 2019 11:41:16 GMT-0300 (Brasilia Standard Time) using the Minami theme.
diff --git a/docs/module-management.PromptsManager.html b/docs/module-management.PromptsManager.html new file mode 100644 index 000000000..b3283afe1 --- /dev/null +++ b/docs/module-management.PromptsManager.html @@ -0,0 +1,951 @@ + + + + + + PromptsManager - Documentation + + + + + + + + + + + + + + + + + +
+ +

PromptsManager

+ + + + + + + +
+ +
+ +

+ management. + + PromptsManager +

+ +

PromptsManager +Manages settings related to prompts.

+ + +
+ +
+
+ + +
+ + +

Constructor

+ + +

new PromptsManager(options)

+ + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
options + + +Object + + + + +

The client options.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
baseUrl + + +String + + + + + + + + + + +

The URL of the API.

+ +
headers + + +Object + + + + + + <optional>
+ + + + + +
+

Headers to be included in all requests.

+ +
retry + + +Object + + + + + + <optional>
+ + + + + +
+

Retry Policy Config

+ +
+ + +
+ + + + + + + + + + + + + + + + +
+ +
+ + + + + + + + + + + + +

Members

+ + + +
+

(inner) auth0RestClient :external:RestClient

+ + + + +
+

Provides an abstraction layer for consuming the +Prompts endpoint.

+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + +
Type:
+ + + + + + +
+ + + + + +

Methods

+ + + +
+ + + +

getSettings(params, data, cbopt) → {Promise|undefined}

+ + + + + +
+

Get the prompts settings..

+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
params + + +Object + + + + + + + + + + +

Prompts parameters.

+ +
data + + +Object + + + + + + + + + + +

Prompts data.

+ +
cb + + +function + + + + + + <optional>
+ + + + + +
+

Callback function.

+ +
+ + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +Promise +| + +undefined + + +
+
+ + + +
+ + + +
+
Example
+ +
management.prompts.getSettings(data, function (err, prompts) {
+  if (err) {
+    // Handle error.
+  }
+
+// Prompts
+   console.log(prompts);
+});
+ +
+ +
+ + +
+ + + +

updateSettings(params, data, cbopt) → {Promise|undefined}

+ + + + + +
+

Update the prompts settings.

+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
params + + +Object + + + + + + + + + + +

Prompts parameters.

+ +
data + + +Object + + + + + + + + + + +

Updated prompts data.

+ +
cb + + +function + + + + + + <optional>
+ + + + + +
+

Callback function.

+ +
+ + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +Promise +| + +undefined + + +
+
+ + + +
+ + + +
+
Example
+ +
management.prompts.updateSettings(data, function (err, prompts) {
+  if (err) {
+    // Handle error.
+  }
+
+// Updated prompts
+   console.log(prompts);
+});
+ +
+ +
+ + + + + + +
+ +
+ + + + +
+ +
+ +
+ Generated by JSDoc 3.5.5 on Wed Jun 26 2019 11:41:16 GMT-0300 (Brasilia Standard Time) using the Minami theme. +
+ + + + + \ No newline at end of file diff --git a/docs/module-management.ResourceServersManager.html b/docs/module-management.ResourceServersManager.html index 46b96c0b0..2b3d62933 100644 --- a/docs/module-management.ResourceServersManager.html +++ b/docs/module-management.ResourceServersManager.html @@ -24,7 +24,7 @@
@@ -1904,7 +1904,7 @@
Example

- Generated by JSDoc 3.5.5 on Wed May 22 2019 17:25:15 GMT-0300 (-03) using the Minami theme. + Generated by JSDoc 3.5.5 on Wed Jun 26 2019 11:41:16 GMT-0300 (Brasilia Standard Time) using the Minami theme.
diff --git a/docs/module-management.RetryRestClient.html b/docs/module-management.RetryRestClient.html index e4f774f8b..f938d5202 100644 --- a/docs/module-management.RetryRestClient.html +++ b/docs/module-management.RetryRestClient.html @@ -24,7 +24,7 @@
@@ -377,7 +377,7 @@
Parameters:

- Generated by JSDoc 3.5.5 on Wed May 22 2019 17:25:15 GMT-0300 (-03) using the Minami theme. + Generated by JSDoc 3.5.5 on Wed Jun 26 2019 11:41:16 GMT-0300 (Brasilia Standard Time) using the Minami theme.
diff --git a/docs/module-management.RolesManager.html b/docs/module-management.RolesManager.html index c90f9dbf7..5520a2e29 100644 --- a/docs/module-management.RolesManager.html +++ b/docs/module-management.RolesManager.html @@ -24,7 +24,7 @@
@@ -4217,7 +4217,7 @@
Example

- Generated by JSDoc 3.5.5 on Wed May 22 2019 17:25:15 GMT-0300 (-03) using the Minami theme. + Generated by JSDoc 3.5.5 on Wed Jun 26 2019 11:41:16 GMT-0300 (Brasilia Standard Time) using the Minami theme.
diff --git a/docs/module-management.RulesConfigsManager.html b/docs/module-management.RulesConfigsManager.html index f75318df5..9df6eca76 100644 --- a/docs/module-management.RulesConfigsManager.html +++ b/docs/module-management.RulesConfigsManager.html @@ -24,7 +24,7 @@
@@ -1317,7 +1317,7 @@
Example

- Generated by JSDoc 3.5.5 on Wed May 22 2019 17:25:15 GMT-0300 (-03) using the Minami theme. + Generated by JSDoc 3.5.5 on Wed Jun 26 2019 11:41:16 GMT-0300 (Brasilia Standard Time) using the Minami theme.
diff --git a/docs/module-management.RulesManager.html b/docs/module-management.RulesManager.html index 2d4f771db..6dbc46292 100644 --- a/docs/module-management.RulesManager.html +++ b/docs/module-management.RulesManager.html @@ -24,7 +24,7 @@
@@ -1910,7 +1910,7 @@
Example

- Generated by JSDoc 3.5.5 on Wed May 22 2019 17:25:15 GMT-0300 (-03) using the Minami theme. + Generated by JSDoc 3.5.5 on Wed Jun 26 2019 11:41:16 GMT-0300 (Brasilia Standard Time) using the Minami theme.
diff --git a/docs/module-management.StatsManager.html b/docs/module-management.StatsManager.html index 1e1a843ec..9387b509d 100644 --- a/docs/module-management.StatsManager.html +++ b/docs/module-management.StatsManager.html @@ -24,7 +24,7 @@
@@ -919,7 +919,7 @@
Example

- Generated by JSDoc 3.5.5 on Wed May 22 2019 17:25:15 GMT-0300 (-03) using the Minami theme. + Generated by JSDoc 3.5.5 on Wed Jun 26 2019 11:41:16 GMT-0300 (Brasilia Standard Time) using the Minami theme.
diff --git a/docs/module-management.TenantManager.html b/docs/module-management.TenantManager.html index 94e05610a..fc90e2189 100644 --- a/docs/module-management.TenantManager.html +++ b/docs/module-management.TenantManager.html @@ -24,7 +24,7 @@
@@ -835,7 +835,7 @@
Example

- Generated by JSDoc 3.5.5 on Wed May 22 2019 17:25:15 GMT-0300 (-03) using the Minami theme. + Generated by JSDoc 3.5.5 on Wed Jun 26 2019 11:41:16 GMT-0300 (Brasilia Standard Time) using the Minami theme.
diff --git a/docs/module-management.TicketsManager.html b/docs/module-management.TicketsManager.html index 2da480bb0..a0bc4bc87 100644 --- a/docs/module-management.TicketsManager.html +++ b/docs/module-management.TicketsManager.html @@ -24,7 +24,7 @@
@@ -805,7 +805,7 @@
Example

- Generated by JSDoc 3.5.5 on Wed May 22 2019 17:25:15 GMT-0300 (-03) using the Minami theme. + Generated by JSDoc 3.5.5 on Wed Jun 26 2019 11:41:16 GMT-0300 (Brasilia Standard Time) using the Minami theme.
diff --git a/docs/module-management.UserBlocksManager.html b/docs/module-management.UserBlocksManager.html index d0e9eb359..0d9cc4488 100644 --- a/docs/module-management.UserBlocksManager.html +++ b/docs/module-management.UserBlocksManager.html @@ -24,7 +24,7 @@
@@ -1432,7 +1432,7 @@
Example

- Generated by JSDoc 3.5.5 on Wed May 22 2019 17:25:15 GMT-0300 (-03) using the Minami theme. + Generated by JSDoc 3.5.5 on Wed Jun 26 2019 11:41:16 GMT-0300 (Brasilia Standard Time) using the Minami theme.
diff --git a/docs/module-management.UsersManager.html b/docs/module-management.UsersManager.html index dbf1ccc33..76c82b39e 100644 --- a/docs/module-management.UsersManager.html +++ b/docs/module-management.UsersManager.html @@ -24,7 +24,7 @@
@@ -5753,7 +5753,7 @@
Example

- Generated by JSDoc 3.5.5 on Wed May 22 2019 17:25:15 GMT-0300 (-03) using the Minami theme. + Generated by JSDoc 3.5.5 on Wed Jun 26 2019 11:41:16 GMT-0300 (Brasilia Standard Time) using the Minami theme.
diff --git a/docs/module-management.html b/docs/module-management.html index 669d7e280..be4771851 100644 --- a/docs/module-management.html +++ b/docs/module-management.html @@ -24,7 +24,7 @@
@@ -65,6 +65,9 @@

Classes

BlacklistedTokensManager
+
BrandingManager
+
+
ClientGrantsManager
@@ -104,6 +107,9 @@

Classes

ManagementTokenProvider
+
PromptsManager
+
+
ResourceServersManager
@@ -159,7 +165,7 @@

Classes


- Generated by JSDoc 3.5.5 on Wed May 22 2019 17:25:15 GMT-0300 (-03) using the Minami theme. + Generated by JSDoc 3.5.5 on Wed Jun 26 2019 11:41:16 GMT-0300 (Brasilia Standard Time) using the Minami theme.
diff --git a/docs/module-utils.html b/docs/module-utils.html index f8c6f999d..c3a9fec75 100644 --- a/docs/module-utils.html +++ b/docs/module-utils.html @@ -24,7 +24,7 @@
@@ -447,7 +447,7 @@

(static)
- Generated by JSDoc 3.5.5 on Wed May 22 2019 17:25:15 GMT-0300 (-03) using the Minami theme. + Generated by JSDoc 3.5.5 on Wed Jun 26 2019 11:41:16 GMT-0300 (Brasilia Standard Time) using the Minami theme.
diff --git a/docs/utils.js.html b/docs/utils.js.html index c87d4e5f7..829a459f6 100644 --- a/docs/utils.js.html +++ b/docs/utils.js.html @@ -24,7 +24,7 @@
@@ -143,7 +143,7 @@

utils.js


- Generated by JSDoc 3.5.5 on Wed May 22 2019 17:25:15 GMT-0300 (-03) using the Minami theme. + Generated by JSDoc 3.5.5 on Wed Jun 26 2019 11:41:16 GMT-0300 (Brasilia Standard Time) using the Minami theme.
diff --git a/package.json b/package.json index aa642e9f6..deb80fc3f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "auth0", - "version": "2.17.1", + "version": "2.18.0", "description": "SDK for Auth0 API v2", "main": "src/index.js", "files": [