diff --git a/CHANGELOG.md b/CHANGELOG.md index be335bb9f..b5074f431 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,15 @@ # Change Log +## [v2.32.0](https://github.com/auth0/node-auth0/tree/v2.32.0) (2021-01-21) + +**Added** + +- Additional options on getByEmail [SDK-2268][\#577](https://github.com/auth0/node-auth0/pull/577) ([davidpatrick](https://github.com/davidpatrick)) +- [SDK-2261] Add forwardFor support to passwordless calls [\#576](https://github.com/auth0/node-auth0/pull/576) ([frederikprijck](https://github.com/frederikprijck)) +- Adding Support for Guardian factor settings endpoints [\#569](https://github.com/auth0/node-auth0/pull/569) ([JayHelton](https://github.com/JayHelton)) + +[Full Changelog](https://github.com/auth0/node-auth0/compare/v2.31.1...v2.32.0) + ## [v2.31.1](https://github.com/auth0/node-auth0/tree/v2.31.1) (2021-01-05) **Fixed** diff --git a/docs/RetryRestClient.js.html b/docs/RetryRestClient.js.html index 0eca15f60..1fd620300 100644 --- a/docs/RetryRestClient.js.html +++ b/docs/RetryRestClient.js.html @@ -24,7 +24,7 @@
@@ -159,7 +159,7 @@

RetryRestClient.js


diff --git a/docs/auth_DatabaseAuthenticator.js.html b/docs/auth_DatabaseAuthenticator.js.html index 1a517a33d..e58ed2c85 100644 --- a/docs/auth_DatabaseAuthenticator.js.html +++ b/docs/auth_DatabaseAuthenticator.js.html @@ -24,7 +24,7 @@
@@ -348,7 +348,7 @@

auth/DatabaseAuthenticator.js


- Generated by JSDoc 3.6.6 on Tue Jan 05 2021 10:39:49 GMT-0800 (Pacific Standard Time) using the Minami theme. + Generated by JSDoc 3.6.6 on Thu Jan 21 2021 12:34:05 GMT-0800 (Pacific Standard Time) using the Minami theme.
diff --git a/docs/auth_OAUthWithIDTokenValidation.js.html b/docs/auth_OAUthWithIDTokenValidation.js.html index 8403edff6..24cb84b61 100644 --- a/docs/auth_OAUthWithIDTokenValidation.js.html +++ b/docs/auth_OAUthWithIDTokenValidation.js.html @@ -24,7 +24,7 @@
@@ -175,7 +175,7 @@

auth/OAUthWithIDTokenValidation.js


- Generated by JSDoc 3.6.6 on Tue Jan 05 2021 10:39:49 GMT-0800 (Pacific Standard Time) using the Minami theme. + Generated by JSDoc 3.6.6 on Thu Jan 21 2021 12:34:05 GMT-0800 (Pacific Standard Time) using the Minami theme.
diff --git a/docs/auth_OAuthAuthenticator.js.html b/docs/auth_OAuthAuthenticator.js.html index fa91f1d85..6d66b459d 100644 --- a/docs/auth_OAuthAuthenticator.js.html +++ b/docs/auth_OAuthAuthenticator.js.html @@ -24,7 +24,7 @@
@@ -461,7 +461,7 @@

auth/OAuthAuthenticator.js


- Generated by JSDoc 3.6.6 on Tue Jan 05 2021 10:39:49 GMT-0800 (Pacific Standard Time) using the Minami theme. + Generated by JSDoc 3.6.6 on Thu Jan 21 2021 12:34:05 GMT-0800 (Pacific Standard Time) using the Minami theme.
diff --git a/docs/auth_PasswordlessAuthenticator.js.html b/docs/auth_PasswordlessAuthenticator.js.html index 771732e2b..8345970eb 100644 --- a/docs/auth_PasswordlessAuthenticator.js.html +++ b/docs/auth_PasswordlessAuthenticator.js.html @@ -24,7 +24,7 @@
@@ -43,6 +43,20 @@

auth/PasswordlessAuthenticator.js

var ArgumentError = require('rest-facade').ArgumentError; var RestClient = require('rest-facade').Client; +var sanitizeArguments = require('../utils').sanitizeArguments; + +function getParamsFromOptions(options) { + const params = {}; + if (!options || typeof options !== 'object') { + return params; + } + if (options.forwardedFor) { + params._requestCustomizer = function(req) { + req.set('auth0-forwarded-for', options.forwardedFor); + }; + } + return params; +} /** * @class @@ -134,11 +148,14 @@

auth/PasswordlessAuthenticator.js

* @param {String} userData.username The user's phone number if realm=sms, or the user's email if realm=email * @param {String} userData.password [DEPRECATED] Password. * @param {String} [userData.connection=sms] [DEPRECATED] Connection string: "sms" or "email". + * @param {Object} [options] Additional options. + * @param {String} [options.forwardedFor] Value to be used for auth0-forwarded-for header * @param {Function} [cb] Method callback. * * @return {Promise|undefined} */ -PasswordlessAuthenticator.prototype.signIn = function(userData, cb) { +PasswordlessAuthenticator.prototype.signIn = function(userData, options, cb) { + var { options, cb } = sanitizeArguments(options, cb); var defaultFields = { client_id: this.clientId, client_secret: this.clientSecret @@ -159,7 +176,7 @@

auth/PasswordlessAuthenticator.js

data.realm = 'sms'; } data.grant_type = 'http://auth0.com/oauth/grant-type/passwordless/otp'; - return this.oauth.signIn(data, { type: 'token' }, cb); + return this.oauth.signIn(data, extend({ type: 'token' }, options), cb); } // Don't let the user override the connection nor the grant type. @@ -175,8 +192,7 @@

auth/PasswordlessAuthenticator.js

console.warn( 'The oauth/ro endpoint has been deprecated. Please use the realm and otp parameters in this function.' ); - - return this.oauth.signIn(data, cb); + return this.oauth.signIn(data, options, cb); }; /** @@ -220,15 +236,19 @@

auth/PasswordlessAuthenticator.js

* @param {Object} userData User account data. * @param {String} userData.email User email address. * @param {String} userData.send The type of email to be sent. + * @param {Object} [options] Additional options. + * @param {String} [options.forwardedFor] Value to be used for auth0-forwarded-for header * @param {Function} [cb] Method callback. * * @return {Promise|undefined} */ -PasswordlessAuthenticator.prototype.sendEmail = function(userData, cb) { +PasswordlessAuthenticator.prototype.sendEmail = function(userData, options, cb) { + var { options, cb } = sanitizeArguments(options, cb); var defaultFields = { client_id: this.clientId, client_secret: this.clientSecret }; + var params = getParamsFromOptions(options); var data = extend(defaultFields, userData); // Don't let the user override the connection nor the grant type. @@ -247,10 +267,10 @@

auth/PasswordlessAuthenticator.js

} if (cb && cb instanceof Function) { - return this.passwordless.create(data, cb); + return this.passwordless.create(params, data, cb); } - return this.passwordless.create(data); + return this.passwordless.create(params, data); }; /** @@ -278,15 +298,19 @@

auth/PasswordlessAuthenticator.js

* * @param {Object} userData User account data. * @param {String} userData.phone_number User phone number. + * @param {Object} [options] Additional options. + * @param {String} [options.forwardedFor] Value to be used for auth0-forwarded-for header * @param {Function} [cb] Method callback. * * @return {Promise|undefined} */ -PasswordlessAuthenticator.prototype.sendSMS = function(userData, cb) { +PasswordlessAuthenticator.prototype.sendSMS = function(userData, options, cb) { + var { options, cb } = sanitizeArguments(options, cb); var defaultFields = { client_id: this.clientId, client_secret: this.clientSecret }; + var params = getParamsFromOptions(options); var data = extend(defaultFields, userData); // Don't let the user override the connection nor the grant type. @@ -301,10 +325,10 @@

auth/PasswordlessAuthenticator.js

} if (cb && cb instanceof Function) { - return this.passwordless.create(data, cb); + return this.passwordless.create(params, data, cb); } - return this.passwordless.create(data); + return this.passwordless.create(params, data); }; module.exports = PasswordlessAuthenticator; @@ -320,7 +344,7 @@

auth/PasswordlessAuthenticator.js


- Generated by JSDoc 3.6.6 on Tue Jan 05 2021 10:39:49 GMT-0800 (Pacific Standard Time) using the Minami theme. + Generated by JSDoc 3.6.6 on Thu Jan 21 2021 12:34:05 GMT-0800 (Pacific Standard Time) using the Minami theme.
diff --git a/docs/auth_TokensManager.js.html b/docs/auth_TokensManager.js.html index c88ff1922..a78ed591d 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.6.6 on Tue Jan 05 2021 10:39:49 GMT-0800 (Pacific Standard Time) using the Minami theme. + Generated by JSDoc 3.6.6 on Thu Jan 21 2021 12:34:05 GMT-0800 (Pacific Standard Time) using the Minami theme.
diff --git a/docs/auth_UsersManager.js.html b/docs/auth_UsersManager.js.html index 3c16961c3..6abc53eac 100644 --- a/docs/auth_UsersManager.js.html +++ b/docs/auth_UsersManager.js.html @@ -24,7 +24,7 @@
@@ -223,7 +223,7 @@

auth/UsersManager.js


- Generated by JSDoc 3.6.6 on Tue Jan 05 2021 10:39:49 GMT-0800 (Pacific Standard Time) using the Minami theme. + Generated by JSDoc 3.6.6 on Thu Jan 21 2021 12:34:05 GMT-0800 (Pacific Standard Time) using the Minami theme.
diff --git a/docs/auth_idToken.js.html b/docs/auth_idToken.js.html index f19b993f7..be7028583 100644 --- a/docs/auth_idToken.js.html +++ b/docs/auth_idToken.js.html @@ -24,7 +24,7 @@
@@ -202,7 +202,7 @@

auth/idToken.js


- Generated by JSDoc 3.6.6 on Tue Jan 05 2021 10:39:49 GMT-0800 (Pacific Standard Time) using the Minami theme. + Generated by JSDoc 3.6.6 on Thu Jan 21 2021 12:34:05 GMT-0800 (Pacific Standard Time) using the Minami theme.
diff --git a/docs/auth_index.js.html b/docs/auth_index.js.html index 9c87db9d6..269ed19d9 100644 --- a/docs/auth_index.js.html +++ b/docs/auth_index.js.html @@ -24,7 +24,7 @@
@@ -615,7 +615,7 @@

auth/index.js


- Generated by JSDoc 3.6.6 on Tue Jan 05 2021 10:39:49 GMT-0800 (Pacific Standard Time) using the Minami theme. + Generated by JSDoc 3.6.6 on Thu Jan 21 2021 12:34:05 GMT-0800 (Pacific Standard Time) using the Minami theme.
diff --git a/docs/errors.js.html b/docs/errors.js.html index 222622d3b..729840725 100644 --- a/docs/errors.js.html +++ b/docs/errors.js.html @@ -24,7 +24,7 @@
@@ -111,7 +111,7 @@

errors.js


- Generated by JSDoc 3.6.6 on Tue Jan 05 2021 10:39:49 GMT-0800 (Pacific Standard Time) using the Minami theme. + Generated by JSDoc 3.6.6 on Thu Jan 21 2021 12:34:05 GMT-0800 (Pacific Standard Time) using the Minami theme.
diff --git a/docs/external-RestClient.html b/docs/external-RestClient.html index 08f4074b0..c05a48ac1 100644 --- a/docs/external-RestClient.html +++ b/docs/external-RestClient.html @@ -24,7 +24,7 @@
@@ -1587,7 +1587,7 @@

Source:
@@ -1639,7 +1639,7 @@


- Generated by JSDoc 3.6.6 on Tue Jan 05 2021 10:39:49 GMT-0800 (Pacific Standard Time) using the Minami theme. + Generated by JSDoc 3.6.6 on Thu Jan 21 2021 12:34:05 GMT-0800 (Pacific Standard Time) using the Minami theme.
diff --git a/docs/global.html b/docs/global.html index 17caad953..c968ba37d 100644 --- a/docs/global.html +++ b/docs/global.html @@ -24,7 +24,7 @@
@@ -423,7 +423,7 @@
Returns:

- Generated by JSDoc 3.6.6 on Tue Jan 05 2021 10:39:49 GMT-0800 (Pacific Standard Time) using the Minami theme. + Generated by JSDoc 3.6.6 on Thu Jan 21 2021 12:34:05 GMT-0800 (Pacific Standard Time) using the Minami theme.
diff --git a/docs/index.html b/docs/index.html index d52401aa5..3e8a57857 100644 --- a/docs/index.html +++ b/docs/index.html @@ -24,7 +24,7 @@
@@ -176,7 +176,7 @@

License


- Generated by JSDoc 3.6.6 on Tue Jan 05 2021 10:39:49 GMT-0800 (Pacific Standard Time) using the Minami theme. + Generated by JSDoc 3.6.6 on Thu Jan 21 2021 12:34:05 GMT-0800 (Pacific Standard Time) using the Minami theme.
diff --git a/docs/index.js.html b/docs/index.js.html index 8cf330b4c..847cde28e 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.6.6 on Tue Jan 05 2021 10:39:49 GMT-0800 (Pacific Standard Time) using the Minami theme. + Generated by JSDoc 3.6.6 on Thu Jan 21 2021 12:34:05 GMT-0800 (Pacific Standard Time) using the Minami theme.
diff --git a/docs/management_BlacklistedTokensManager.js.html b/docs/management_BlacklistedTokensManager.js.html index caf780a35..75d0ddf9a 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.6.6 on Tue Jan 05 2021 10:39:49 GMT-0800 (Pacific Standard Time) using the Minami theme. + Generated by JSDoc 3.6.6 on Thu Jan 21 2021 12:34:05 GMT-0800 (Pacific Standard Time) using the Minami theme.
diff --git a/docs/management_BrandingManager.js.html b/docs/management_BrandingManager.js.html index 3f507d607..2d5af4d8c 100644 --- a/docs/management_BrandingManager.js.html +++ b/docs/management_BrandingManager.js.html @@ -24,7 +24,7 @@
@@ -155,7 +155,7 @@

management/BrandingManager.js


- Generated by JSDoc 3.6.6 on Tue Jan 05 2021 10:39:49 GMT-0800 (Pacific Standard Time) using the Minami theme. + Generated by JSDoc 3.6.6 on Thu Jan 21 2021 12:34:05 GMT-0800 (Pacific Standard Time) using the Minami theme.
diff --git a/docs/management_ClientGrantsManager.js.html b/docs/management_ClientGrantsManager.js.html index 313cb862f..5164a0f47 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.6.6 on Tue Jan 05 2021 10:39:49 GMT-0800 (Pacific Standard Time) using the Minami theme. + Generated by JSDoc 3.6.6 on Thu Jan 21 2021 12:34:05 GMT-0800 (Pacific Standard Time) using the Minami theme.
diff --git a/docs/management_ClientsManager.js.html b/docs/management_ClientsManager.js.html index 3e4d75e7f..937827f39 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.6.6 on Tue Jan 05 2021 10:39:49 GMT-0800 (Pacific Standard Time) using the Minami theme. + Generated by JSDoc 3.6.6 on Thu Jan 21 2021 12:34:05 GMT-0800 (Pacific Standard Time) using the Minami theme.
diff --git a/docs/management_ConnectionsManager.js.html b/docs/management_ConnectionsManager.js.html index c3be84314..0e0775215 100644 --- a/docs/management_ConnectionsManager.js.html +++ b/docs/management_ConnectionsManager.js.html @@ -24,7 +24,7 @@
@@ -284,7 +284,7 @@

management/ConnectionsManager.js


- Generated by JSDoc 3.6.6 on Tue Jan 05 2021 10:39:49 GMT-0800 (Pacific Standard Time) using the Minami theme. + Generated by JSDoc 3.6.6 on Thu Jan 21 2021 12:34:05 GMT-0800 (Pacific Standard Time) using the Minami theme.
diff --git a/docs/management_CustomDomainsManager.js.html b/docs/management_CustomDomainsManager.js.html index 2e4ba4804..ebe0700d3 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.6.6 on Tue Jan 05 2021 10:39:49 GMT-0800 (Pacific Standard Time) using the Minami theme. + Generated by JSDoc 3.6.6 on Thu Jan 21 2021 12:34:05 GMT-0800 (Pacific Standard Time) using the Minami theme.
diff --git a/docs/management_DeviceCredentialsManager.js.html b/docs/management_DeviceCredentialsManager.js.html index c88a16cb6..0c87d4c1a 100644 --- a/docs/management_DeviceCredentialsManager.js.html +++ b/docs/management_DeviceCredentialsManager.js.html @@ -24,7 +24,7 @@
@@ -180,7 +180,7 @@

management/DeviceCredentialsManager.js


- Generated by JSDoc 3.6.6 on Tue Jan 05 2021 10:39:49 GMT-0800 (Pacific Standard Time) using the Minami theme. + Generated by JSDoc 3.6.6 on Thu Jan 21 2021 12:34:05 GMT-0800 (Pacific Standard Time) using the Minami theme.
diff --git a/docs/management_EmailProviderManager.js.html b/docs/management_EmailProviderManager.js.html index b37bd9546..61fc666f7 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.6.6 on Tue Jan 05 2021 10:39:49 GMT-0800 (Pacific Standard Time) using the Minami theme. + Generated by JSDoc 3.6.6 on Thu Jan 21 2021 12:34:05 GMT-0800 (Pacific Standard Time) using the Minami theme.
diff --git a/docs/management_EmailTemplatesManager.js.html b/docs/management_EmailTemplatesManager.js.html index 7fb5964eb..82ad1b6bc 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.6.6 on Tue Jan 05 2021 10:39:49 GMT-0800 (Pacific Standard Time) using the Minami theme. + Generated by JSDoc 3.6.6 on Thu Jan 21 2021 12:34:05 GMT-0800 (Pacific Standard Time) using the Minami theme.
diff --git a/docs/management_GrantsManager.js.html b/docs/management_GrantsManager.js.html index 2e492fab2..468d4eebc 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.6.6 on Tue Jan 05 2021 10:39:49 GMT-0800 (Pacific Standard Time) using the Minami theme. + Generated by JSDoc 3.6.6 on Thu Jan 21 2021 12:34:05 GMT-0800 (Pacific Standard Time) using the Minami theme.
diff --git a/docs/management_GuardianManager.js.html b/docs/management_GuardianManager.js.html index 308ddb778..d23eeb8ae 100644 --- a/docs/management_GuardianManager.js.html +++ b/docs/management_GuardianManager.js.html @@ -24,7 +24,7 @@
@@ -116,6 +116,18 @@

management/GuardianManager.js

); this.factors = new RetryRestClient(guardianFactorsAuth0RestClient, options.retry); + /** + * Provides an abstraction layer for configuring Factor settings + * + * @type {external:RestClient} + */ + var guardianFactorSettingsAuth0RestClient = new Auth0RestClient( + options.baseUrl + '/guardian/factors/:name/settings', + clientOptions, + options.tokenProvider + ); + this.factorSettings = new RetryRestClient(guardianFactorSettingsAuth0RestClient, options.retry); + /** * Provides an abstraction layer for retrieving Guardian factor templates. * @@ -261,6 +273,45 @@

management/GuardianManager.js

*/ utils.wrapPropertyMethod(GuardianManager, 'getFactors', 'factors.getAll'); +/** + * Get Guardian factor configuration + * + * @method getFactorSettings + * @memberOf module:management.GuardianManager.prototype + * + * @example + * management.guardian.getFactorSettings({ name: 'webauthn-roaming' }, function (err, settings) { + * console.log(settings); + * }); + * + * @param {Object} params Factor parameters. + * @param {Function} [cb] Callback function. + * + * @return {Promise|undefined} + */ +utils.wrapPropertyMethod(GuardianManager, 'getFactorSettings', 'factorSettings.get'); + +/** + * Update Guardian factor configuration + * + * @method updateFactorSettings + * @memberOf module:management.GuardianManager.prototype + * + * @example + * management.guardian.updateFactorSettings( + * { name: 'webauthn-roaming' }, + * { userVerification: 'discouraged', overrideRelyingParty: false }, + * function (err, settings) { + * console.log(settings); + * }); + * + * @param {Object} params Factor parameters. + * @param {Function} [cb] Callback function. + * + * @return {Promise|undefined} + */ +utils.wrapPropertyMethod(GuardianManager, 'updateFactorSettings', 'factorSettings.update'); + /** * Get Guardian factor provider configuration * @@ -508,7 +559,7 @@

management/GuardianManager.js


- Generated by JSDoc 3.6.6 on Tue Jan 05 2021 10:39:49 GMT-0800 (Pacific Standard Time) using the Minami theme. + Generated by JSDoc 3.6.6 on Thu Jan 21 2021 12:34:05 GMT-0800 (Pacific Standard Time) using the Minami theme.
diff --git a/docs/management_HooksManager.js.html b/docs/management_HooksManager.js.html index 5e29bb560..33b9a8a63 100644 --- a/docs/management_HooksManager.js.html +++ b/docs/management_HooksManager.js.html @@ -24,7 +24,7 @@
@@ -419,7 +419,7 @@

management/HooksManager.js


- Generated by JSDoc 3.6.6 on Tue Jan 05 2021 10:39:49 GMT-0800 (Pacific Standard Time) using the Minami theme. + Generated by JSDoc 3.6.6 on Thu Jan 21 2021 12:34:05 GMT-0800 (Pacific Standard Time) using the Minami theme.
diff --git a/docs/management_JobsManager.js.html b/docs/management_JobsManager.js.html index f9aa922fb..3909c2f90 100644 --- a/docs/management_JobsManager.js.html +++ b/docs/management_JobsManager.js.html @@ -24,7 +24,7 @@
@@ -439,7 +439,7 @@

management/JobsManager.js


- Generated by JSDoc 3.6.6 on Tue Jan 05 2021 10:39:49 GMT-0800 (Pacific Standard Time) using the Minami theme. + Generated by JSDoc 3.6.6 on Thu Jan 21 2021 12:34:05 GMT-0800 (Pacific Standard Time) using the Minami theme.
diff --git a/docs/management_LogStreamsManager.js.html b/docs/management_LogStreamsManager.js.html index 764a1cb01..5d6889ca5 100644 --- a/docs/management_LogStreamsManager.js.html +++ b/docs/management_LogStreamsManager.js.html @@ -24,7 +24,7 @@
@@ -230,7 +230,7 @@

management/LogStreamsManager.js


- Generated by JSDoc 3.6.6 on Tue Jan 05 2021 10:39:49 GMT-0800 (Pacific Standard Time) using the Minami theme. + Generated by JSDoc 3.6.6 on Thu Jan 21 2021 12:34:05 GMT-0800 (Pacific Standard Time) using the Minami theme.
diff --git a/docs/management_LogsManager.js.html b/docs/management_LogsManager.js.html index 9e379af1b..047297000 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.6.6 on Tue Jan 05 2021 10:39:49 GMT-0800 (Pacific Standard Time) using the Minami theme. + Generated by JSDoc 3.6.6 on Thu Jan 21 2021 12:34:05 GMT-0800 (Pacific Standard Time) using the Minami theme.
diff --git a/docs/management_ManagementTokenProvider.js.html b/docs/management_ManagementTokenProvider.js.html index fe2f9b3d6..76493f948 100644 --- a/docs/management_ManagementTokenProvider.js.html +++ b/docs/management_ManagementTokenProvider.js.html @@ -24,7 +24,7 @@
@@ -194,7 +194,7 @@

management/ManagementTokenProvider.js


- Generated by JSDoc 3.6.6 on Tue Jan 05 2021 10:39:49 GMT-0800 (Pacific Standard Time) using the Minami theme. + Generated by JSDoc 3.6.6 on Thu Jan 21 2021 12:34:05 GMT-0800 (Pacific Standard Time) using the Minami theme.
diff --git a/docs/management_MigrationsManager.js.html b/docs/management_MigrationsManager.js.html index 2b794048d..f54356b8e 100644 --- a/docs/management_MigrationsManager.js.html +++ b/docs/management_MigrationsManager.js.html @@ -24,7 +24,7 @@
@@ -159,7 +159,7 @@

management/MigrationsManager.js


- Generated by JSDoc 3.6.6 on Tue Jan 05 2021 10:39:49 GMT-0800 (Pacific Standard Time) using the Minami theme. + Generated by JSDoc 3.6.6 on Thu Jan 21 2021 12:34:05 GMT-0800 (Pacific Standard Time) using the Minami theme.
diff --git a/docs/management_PromptsManager.js.html b/docs/management_PromptsManager.js.html index 71ef1eb82..9b7c12a3e 100644 --- a/docs/management_PromptsManager.js.html +++ b/docs/management_PromptsManager.js.html @@ -24,7 +24,7 @@
@@ -261,7 +261,7 @@

management/PromptsManager.js


- Generated by JSDoc 3.6.6 on Tue Jan 05 2021 10:39:49 GMT-0800 (Pacific Standard Time) using the Minami theme. + Generated by JSDoc 3.6.6 on Thu Jan 21 2021 12:34:05 GMT-0800 (Pacific Standard Time) using the Minami theme.
diff --git a/docs/management_ResourceServersManager.js.html b/docs/management_ResourceServersManager.js.html index 863d2bf15..24c182400 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.6.6 on Tue Jan 05 2021 10:39:49 GMT-0800 (Pacific Standard Time) using the Minami theme. + Generated by JSDoc 3.6.6 on Thu Jan 21 2021 12:34:05 GMT-0800 (Pacific Standard Time) using the Minami theme.
diff --git a/docs/management_RolesManager.js.html b/docs/management_RolesManager.js.html index 3e9912553..93997d82f 100644 --- a/docs/management_RolesManager.js.html +++ b/docs/management_RolesManager.js.html @@ -24,7 +24,7 @@
@@ -460,7 +460,7 @@

management/RolesManager.js


- Generated by JSDoc 3.6.6 on Tue Jan 05 2021 10:39:49 GMT-0800 (Pacific Standard Time) using the Minami theme. + Generated by JSDoc 3.6.6 on Thu Jan 21 2021 12:34:05 GMT-0800 (Pacific Standard Time) using the Minami theme.
diff --git a/docs/management_RulesConfigsManager.js.html b/docs/management_RulesConfigsManager.js.html index c2fc05926..83dad4887 100644 --- a/docs/management_RulesConfigsManager.js.html +++ b/docs/management_RulesConfigsManager.js.html @@ -24,7 +24,7 @@
@@ -180,7 +180,7 @@

management/RulesConfigsManager.js


- Generated by JSDoc 3.6.6 on Tue Jan 05 2021 10:39:49 GMT-0800 (Pacific Standard Time) using the Minami theme. + Generated by JSDoc 3.6.6 on Thu Jan 21 2021 12:34:05 GMT-0800 (Pacific Standard Time) using the Minami theme.
diff --git a/docs/management_RulesManager.js.html b/docs/management_RulesManager.js.html index adf9ff60d..633925ceb 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.6.6 on Tue Jan 05 2021 10:39:49 GMT-0800 (Pacific Standard Time) using the Minami theme. + Generated by JSDoc 3.6.6 on Thu Jan 21 2021 12:34:05 GMT-0800 (Pacific Standard Time) using the Minami theme.
diff --git a/docs/management_StatsManager.js.html b/docs/management_StatsManager.js.html index a9c5970f8..0d1649234 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.6.6 on Tue Jan 05 2021 10:39:49 GMT-0800 (Pacific Standard Time) using the Minami theme. + Generated by JSDoc 3.6.6 on Thu Jan 21 2021 12:34:05 GMT-0800 (Pacific Standard Time) using the Minami theme.
diff --git a/docs/management_TenantManager.js.html b/docs/management_TenantManager.js.html index 3ff81bc64..25f38364d 100644 --- a/docs/management_TenantManager.js.html +++ b/docs/management_TenantManager.js.html @@ -24,7 +24,7 @@
@@ -166,7 +166,7 @@

management/TenantManager.js


- Generated by JSDoc 3.6.6 on Tue Jan 05 2021 10:39:49 GMT-0800 (Pacific Standard Time) using the Minami theme. + Generated by JSDoc 3.6.6 on Thu Jan 21 2021 12:34:05 GMT-0800 (Pacific Standard Time) using the Minami theme.
diff --git a/docs/management_TicketsManager.js.html b/docs/management_TicketsManager.js.html index 18c4d7637..aab52fba0 100644 --- a/docs/management_TicketsManager.js.html +++ b/docs/management_TicketsManager.js.html @@ -24,7 +24,7 @@
@@ -174,7 +174,7 @@

management/TicketsManager.js


- Generated by JSDoc 3.6.6 on Tue Jan 05 2021 10:39:49 GMT-0800 (Pacific Standard Time) using the Minami theme. + Generated by JSDoc 3.6.6 on Thu Jan 21 2021 12:34:05 GMT-0800 (Pacific Standard Time) using the Minami theme.
diff --git a/docs/management_UserBlocksManager.js.html b/docs/management_UserBlocksManager.js.html index 8492126dd..64ef3b4ba 100644 --- a/docs/management_UserBlocksManager.js.html +++ b/docs/management_UserBlocksManager.js.html @@ -24,7 +24,7 @@
@@ -229,7 +229,7 @@

management/UserBlocksManager.js


- Generated by JSDoc 3.6.6 on Tue Jan 05 2021 10:39:49 GMT-0800 (Pacific Standard Time) using the Minami theme. + Generated by JSDoc 3.6.6 on Thu Jan 21 2021 12:34:05 GMT-0800 (Pacific Standard Time) using the Minami theme.
diff --git a/docs/management_UsersManager.js.html b/docs/management_UsersManager.js.html index 96d584a20..f6d5ad7a7 100644 --- a/docs/management_UsersManager.js.html +++ b/docs/management_UsersManager.js.html @@ -24,7 +24,7 @@
@@ -42,6 +42,7 @@

management/UsersManager.js

var ArgumentError = require('rest-facade').ArgumentError;
 var Auth0RestClient = require('../Auth0RestClient');
 var RetryRestClient = require('../RetryRestClient');
+var sanitizeArguments = require('../utils').sanitizeArguments;
 
 /**
  * Simple facade for consuming a REST API endpoint.
@@ -279,13 +280,18 @@ 

management/UsersManager.js

* console.log(users); * }); * - * @param {String} [email] Email address of user(s) to find - * @param {Function} [cb] Callback function. + * @param {String} [email] Email address of user(s) to find + * @param {Object} [options] Additional options to pass to the endpoint + * @param {String} [options.fields] Comma-separated list of fields to include or exclude in the result + * @param {Boolean} [options.include_fields] Whether specified fields are to be included (true) or excluded (false). Defaults to true. + * @param {Function} [cb] Callback function. * * @return {Promise|undefined} */ -UsersManager.prototype.getByEmail = function(email, callback) { - return this.usersByEmail.getAll({ email }, callback); +UsersManager.prototype.getByEmail = function(email, options, cb) { + var { options, cb } = sanitizeArguments(options, cb); + + return this.usersByEmail.getAll({ email, ...options }, cb); }; /** @@ -977,7 +983,7 @@

management/UsersManager.js


- Generated by JSDoc 3.6.6 on Tue Jan 05 2021 10:39:49 GMT-0800 (Pacific Standard Time) using the Minami theme. + Generated by JSDoc 3.6.6 on Thu Jan 21 2021 12:34:05 GMT-0800 (Pacific Standard Time) using the Minami theme.
diff --git a/docs/management_index.js.html b/docs/management_index.js.html index 7a61a765f..f2e393233 100644 --- a/docs/management_index.js.html +++ b/docs/management_index.js.html @@ -24,7 +24,7 @@
@@ -1060,8 +1060,11 @@

management/index.js

* console.log(users); * }); * - * @param {String} [email] Email Address of users to locate - * @param {Function} [cb] Callback function. + * @param {String} [email] Email address of user(s) to find + * @param {Object} [options] Additional options to pass to the endpoint + * @param {String} [options.fields] Comma-separated list of fields to include or exclude in the result + * @param {Boolean} [options.include_fields] Whether specified fields are to be included (true) or excluded (false). Defaults to true. + * @param {Function} [cb] Callback function. * * @return {Promise|undefined} */ @@ -2875,6 +2878,28 @@

management/index.js

*/ utils.wrapPropertyMethod(ManagementClient, 'getGuardianFactors', 'guardian.getFactors'); +/** + * Get the settings of a Guardian factor. + * + * @method getGuardianFactorSettings + * @memberOf module:management.ManagementClient.prototype + * + * @example + * management.getGuardianFactorSettings({ name: 'duo' }, function (err, settings) { + * console.log(settings); + * }); + * + * @param {Object} params Factor parameters. + * @param {Function} [cb] Callback function. + * + * @return {Promise|undefined} + */ +utils.wrapPropertyMethod( + ManagementClient, + 'getGuardianFactorSettings', + 'guardian.getFactorSettings' +); + /** * Get Guardian factor provider configuration * @@ -2924,6 +2949,32 @@

management/index.js

'guardian.updateFactorProvider' ); +/** + * Update a Guardian's factor settings + * + * @method updateGuardianFactorSettings + * @memberOf module:management.ManagementClient.prototype + * + * @example + * management.updateGuardianFactorSettings( + * { name: 'webauthn-roaming' }, + * { userVerification: 'discouraged', overrideRelyingParty: false }, + * function (err, settings) { + * console.log(settings); + * }) + * + * @param {Object} params Factor parameters. + * @param {Object} data Updated Factor settings data. + * @param {Function} [cb] Callback function. + * + * @return {Promise|undefined} + */ +utils.wrapPropertyMethod( + ManagementClient, + 'updateGuardianFactorSettings', + 'guardian.updateFactorSettings' +); + /** * Get Guardian enrollment and verification factor templates * @@ -3806,7 +3857,7 @@

management/index.js


- Generated by JSDoc 3.6.6 on Tue Jan 05 2021 10:39:49 GMT-0800 (Pacific Standard Time) using the Minami theme. + Generated by JSDoc 3.6.6 on Thu Jan 21 2021 12:34:05 GMT-0800 (Pacific Standard Time) using the Minami theme.
diff --git a/docs/module-auth.AuthenticationClient.html b/docs/module-auth.AuthenticationClient.html index e8b5d111d..03fa83391 100644 --- a/docs/module-auth.AuthenticationClient.html +++ b/docs/module-auth.AuthenticationClient.html @@ -24,7 +24,7 @@
@@ -4207,7 +4207,7 @@
Examples

- Generated by JSDoc 3.6.6 on Tue Jan 05 2021 10:39:49 GMT-0800 (Pacific Standard Time) using the Minami theme. + Generated by JSDoc 3.6.6 on Thu Jan 21 2021 12:34:05 GMT-0800 (Pacific Standard Time) using the Minami theme.
diff --git a/docs/module-auth.DatabaseAuthenticator.html b/docs/module-auth.DatabaseAuthenticator.html index 99ffb9568..af91ea7a2 100644 --- a/docs/module-auth.DatabaseAuthenticator.html +++ b/docs/module-auth.DatabaseAuthenticator.html @@ -24,7 +24,7 @@
@@ -1765,7 +1765,7 @@
Example

- Generated by JSDoc 3.6.6 on Tue Jan 05 2021 10:39:49 GMT-0800 (Pacific Standard Time) using the Minami theme. + Generated by JSDoc 3.6.6 on Thu Jan 21 2021 12:34:05 GMT-0800 (Pacific Standard Time) using the Minami theme.
diff --git a/docs/module-auth.OAUthWithIDTokenValidation.html b/docs/module-auth.OAUthWithIDTokenValidation.html index 6d53d0cb6..ac77381b5 100644 --- a/docs/module-auth.OAUthWithIDTokenValidation.html +++ b/docs/module-auth.OAUthWithIDTokenValidation.html @@ -24,7 +24,7 @@
@@ -450,7 +450,7 @@
Parameters:

- Generated by JSDoc 3.6.6 on Tue Jan 05 2021 10:39:49 GMT-0800 (Pacific Standard Time) using the Minami theme. + Generated by JSDoc 3.6.6 on Thu Jan 21 2021 12:34:05 GMT-0800 (Pacific Standard Time) using the Minami theme.
diff --git a/docs/module-auth.OAuthAuthenticator.html b/docs/module-auth.OAuthAuthenticator.html index 59dd5da51..843904425 100644 --- a/docs/module-auth.OAuthAuthenticator.html +++ b/docs/module-auth.OAuthAuthenticator.html @@ -24,7 +24,7 @@
@@ -2050,7 +2050,7 @@
Returns:

- Generated by JSDoc 3.6.6 on Tue Jan 05 2021 10:39:49 GMT-0800 (Pacific Standard Time) using the Minami theme. + Generated by JSDoc 3.6.6 on Thu Jan 21 2021 12:34:05 GMT-0800 (Pacific Standard Time) using the Minami theme.
diff --git a/docs/module-auth.PasswordlessAuthenticator.html b/docs/module-auth.PasswordlessAuthenticator.html index 4dfd5cd83..475d29bdb 100644 --- a/docs/module-auth.PasswordlessAuthenticator.html +++ b/docs/module-auth.PasswordlessAuthenticator.html @@ -24,7 +24,7 @@
@@ -101,7 +101,7 @@

Source:
@@ -407,7 +407,7 @@

(inner) Source:
@@ -448,7 +448,7 @@

Methods

-

sendEmail(userData, cbopt) → {Promise|undefined}

+

sendEmail(userData, optionsopt, cbopt) → {Promise|undefined}

@@ -491,7 +491,7 @@

sendEmailSource:
@@ -646,6 +646,105 @@
Parameters:
+ + + options + + + + + +Object + + + + + + + + + <optional>
+ + + + + + + + + + + +

Additional options.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
forwardedFor + + +String + + + + + + <optional>
+ + + + + +
+

Value to be used for auth0-forwarded-for header

+ +
+ + + + + + + cb @@ -768,7 +867,7 @@
Example
-

sendSMS(userData, cbopt) → {Promise|undefined}

+

sendSMS(userData, optionsopt, cbopt) → {Promise|undefined}

@@ -811,7 +910,7 @@

sendSMSSource:
@@ -940,6 +1039,105 @@
Parameters:
+ + + options + + + + + +Object + + + + + + + + + <optional>
+ + + + + + + + + + + +

Additional options.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
forwardedFor + + +String + + + + + + <optional>
+ + + + + +
+

Value to be used for auth0-forwarded-for header

+ +
+ + + + + + + cb @@ -1046,7 +1244,7 @@
Example
-

signIn(userData, cbopt) → {Promise|undefined}

+

signIn(userData, optionsopt, cbopt) → {Promise|undefined}

@@ -1089,7 +1287,7 @@

signInSource:
@@ -1394,6 +1592,105 @@
Parameters:
+ + + options + + + + + +Object + + + + + + + + + <optional>
+ + + + + + + + + + + +

Additional options.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
forwardedFor + + +String + + + + + + <optional>
+ + + + + +
+

Value to be used for auth0-forwarded-for header

+ +
+ + + + + + + cb @@ -1537,7 +1834,7 @@
Examples

- Generated by JSDoc 3.6.6 on Tue Jan 05 2021 10:39:49 GMT-0800 (Pacific Standard Time) using the Minami theme. + Generated by JSDoc 3.6.6 on Thu Jan 21 2021 12:34:05 GMT-0800 (Pacific Standard Time) using the Minami theme.
diff --git a/docs/module-auth.TokensManager.html b/docs/module-auth.TokensManager.html index 8812d86f9..41fb67c4f 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.6.6 on Tue Jan 05 2021 10:39:49 GMT-0800 (Pacific Standard Time) using the Minami theme. + Generated by JSDoc 3.6.6 on Thu Jan 21 2021 12:34:05 GMT-0800 (Pacific Standard Time) using the Minami theme.
diff --git a/docs/module-auth.UsersManager.html b/docs/module-auth.UsersManager.html index b53c258fe..388e4f3af 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.6.6 on Tue Jan 05 2021 10:39:49 GMT-0800 (Pacific Standard Time) using the Minami theme. + Generated by JSDoc 3.6.6 on Thu Jan 21 2021 12:34:05 GMT-0800 (Pacific Standard Time) using the Minami theme.
diff --git a/docs/module-auth.html b/docs/module-auth.html index bad738bd4..d956457b4 100644 --- a/docs/module-auth.html +++ b/docs/module-auth.html @@ -24,7 +24,7 @@
@@ -108,7 +108,7 @@

Classes


- Generated by JSDoc 3.6.6 on Tue Jan 05 2021 10:39:49 GMT-0800 (Pacific Standard Time) using the Minami theme. + Generated by JSDoc 3.6.6 on Thu Jan 21 2021 12:34:05 GMT-0800 (Pacific Standard Time) using the Minami theme.
diff --git a/docs/module-errors.html b/docs/module-errors.html index dab1ef5b5..727f1203c 100644 --- a/docs/module-errors.html +++ b/docs/module-errors.html @@ -24,7 +24,7 @@
@@ -254,7 +254,7 @@

(st
- Generated by JSDoc 3.6.6 on Tue Jan 05 2021 10:39:49 GMT-0800 (Pacific Standard Time) using the Minami theme. + Generated by JSDoc 3.6.6 on Thu Jan 21 2021 12:34:05 GMT-0800 (Pacific Standard Time) using the Minami theme.
diff --git a/docs/module-management.BlacklistedTokensManager.html b/docs/module-management.BlacklistedTokensManager.html index 0cf706701..68361d7a8 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.6.6 on Tue Jan 05 2021 10:39:49 GMT-0800 (Pacific Standard Time) using the Minami theme. + Generated by JSDoc 3.6.6 on Thu Jan 21 2021 12:34:05 GMT-0800 (Pacific Standard Time) using the Minami theme.
diff --git a/docs/module-management.BrandingManager.html b/docs/module-management.BrandingManager.html index 700c1597d..0c111be04 100644 --- a/docs/module-management.BrandingManager.html +++ b/docs/module-management.BrandingManager.html @@ -24,7 +24,7 @@
@@ -942,7 +942,7 @@
Example

- Generated by JSDoc 3.6.6 on Tue Jan 05 2021 10:39:49 GMT-0800 (Pacific Standard Time) using the Minami theme. + Generated by JSDoc 3.6.6 on Thu Jan 21 2021 12:34:05 GMT-0800 (Pacific Standard Time) using the Minami theme.
diff --git a/docs/module-management.ClientGrantsManager.html b/docs/module-management.ClientGrantsManager.html index 55282ae96..43b6235a6 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.6.6 on Tue Jan 05 2021 10:39:49 GMT-0800 (Pacific Standard Time) using the Minami theme. + Generated by JSDoc 3.6.6 on Thu Jan 21 2021 12:34:05 GMT-0800 (Pacific Standard Time) using the Minami theme.
diff --git a/docs/module-management.ClientsManager.html b/docs/module-management.ClientsManager.html index 2917e5aaa..53004a8a2 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.6.6 on Tue Jan 05 2021 10:39:49 GMT-0800 (Pacific Standard Time) using the Minami theme. + Generated by JSDoc 3.6.6 on Thu Jan 21 2021 12:34:05 GMT-0800 (Pacific Standard Time) using the Minami theme.
diff --git a/docs/module-management.ConnectionsManager.html b/docs/module-management.ConnectionsManager.html index 8085a325d..e86bf8710 100644 --- a/docs/module-management.ConnectionsManager.html +++ b/docs/module-management.ConnectionsManager.html @@ -24,7 +24,7 @@
@@ -2269,7 +2269,7 @@
Example

- Generated by JSDoc 3.6.6 on Tue Jan 05 2021 10:39:49 GMT-0800 (Pacific Standard Time) using the Minami theme. + Generated by JSDoc 3.6.6 on Thu Jan 21 2021 12:34:05 GMT-0800 (Pacific Standard Time) using the Minami theme.
diff --git a/docs/module-management.CustomDomainsManager.html b/docs/module-management.CustomDomainsManager.html index 0f052956b..7e2713c00 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.6.6 on Tue Jan 05 2021 10:39:49 GMT-0800 (Pacific Standard Time) using the Minami theme. + Generated by JSDoc 3.6.6 on Thu Jan 21 2021 12:34:05 GMT-0800 (Pacific Standard Time) using the Minami theme.
diff --git a/docs/module-management.DeviceCredentialsManager.html b/docs/module-management.DeviceCredentialsManager.html index 6ba5d9fb7..56b5fcbae 100644 --- a/docs/module-management.DeviceCredentialsManager.html +++ b/docs/module-management.DeviceCredentialsManager.html @@ -24,7 +24,7 @@
@@ -1215,7 +1215,7 @@
Example

- Generated by JSDoc 3.6.6 on Tue Jan 05 2021 10:39:49 GMT-0800 (Pacific Standard Time) using the Minami theme. + Generated by JSDoc 3.6.6 on Thu Jan 21 2021 12:34:05 GMT-0800 (Pacific Standard Time) using the Minami theme.
diff --git a/docs/module-management.EmailProviderManager.html b/docs/module-management.EmailProviderManager.html index b34aca674..efbd2c9c9 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.6.6 on Tue Jan 05 2021 10:39:49 GMT-0800 (Pacific Standard Time) using the Minami theme. + Generated by JSDoc 3.6.6 on Thu Jan 21 2021 12:34:05 GMT-0800 (Pacific Standard Time) using the Minami theme.
diff --git a/docs/module-management.EmailTemplatesManager.html b/docs/module-management.EmailTemplatesManager.html index 4fbe4db35..71b3cc382 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.6.6 on Tue Jan 05 2021 10:39:49 GMT-0800 (Pacific Standard Time) using the Minami theme. + Generated by JSDoc 3.6.6 on Thu Jan 21 2021 12:34:05 GMT-0800 (Pacific Standard Time) using the Minami theme.
diff --git a/docs/module-management.GrantsManager.html b/docs/module-management.GrantsManager.html index af6e04e36..11018a156 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.6.6 on Tue Jan 05 2021 10:39:49 GMT-0800 (Pacific Standard Time) using the Minami theme. + Generated by JSDoc 3.6.6 on Thu Jan 21 2021 12:34:05 GMT-0800 (Pacific Standard Time) using the Minami theme.
diff --git a/docs/module-management.GuardianManager.html b/docs/module-management.GuardianManager.html index 56707c497..40074a738 100644 --- a/docs/module-management.GuardianManager.html +++ b/docs/module-management.GuardianManager.html @@ -24,7 +24,7 @@
@@ -464,6 +464,80 @@

external:RestClient + + + + + + + + + +

+ + + +
+

(inner) guardianFactorSettingsAuth0RestClient :external:RestClient

+ + + + +
+

Provides an abstraction layer for configuring Factor settings

+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + +
@@ -529,7 +603,7 @@

Source:
@@ -603,7 +677,7 @@

Source:
@@ -677,7 +751,7 @@

Source:
@@ -751,7 +825,7 @@

Source:
@@ -825,7 +899,7 @@

Source:
@@ -983,7 +1057,7 @@

Source:
@@ -1163,7 +1237,7 @@

Source:
@@ -1428,7 +1502,7 @@

getF
Source:
@@ -1642,7 +1716,7 @@

getFactors<
Source:
@@ -1775,6 +1849,220 @@

Example

+
+ + + +

getFactorSettings(params, cbopt) → {Promise|undefined}

+ + + + + +
+

Get Guardian factor configuration

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

Factor parameters.

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

Callback function.

+ +
+ + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +Promise +| + +undefined + + +
+
+ + + +
+ + + +
+
Example
+ +
management.guardian.getFactorSettings({ name: 'webauthn-roaming' }, function (err, settings) {
+  console.log(settings);
+});
+ +
+ +
+ + +
+ + + +

updateFactorSettings(params, cbopt) → {Promise|undefined}

+ + + + + +
+

Update Guardian factor configuration

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

Factor parameters.

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

Callback function.

+ +
+ + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +Promise +| + +undefined + + +
+
+ + + +
+ + + +
+
Example
+ +
management.guardian.updateFactorSettings(
+ { name: 'webauthn-roaming' },
+ { userVerification: 'discouraged', overrideRelyingParty: false },
+ function (err, settings) {
+  console.log(settings);
+});
+ +
+ +
+ +
@@ -3343,7 +3848,7 @@

Source:
@@ -3594,7 +4099,7 @@

Source:
@@ -3895,7 +4400,7 @@

Source:
@@ -4196,7 +4701,7 @@

updateP
Source:
@@ -4415,7 +4920,7 @@

Example

- Generated by JSDoc 3.6.6 on Tue Jan 05 2021 10:39:49 GMT-0800 (Pacific Standard Time) using the Minami theme. + Generated by JSDoc 3.6.6 on Thu Jan 21 2021 12:34:05 GMT-0800 (Pacific Standard Time) using the Minami theme.
diff --git a/docs/module-management.HooksManager.html b/docs/module-management.HooksManager.html index 6b2aa9c75..bad90e732 100644 --- a/docs/module-management.HooksManager.html +++ b/docs/module-management.HooksManager.html @@ -24,7 +24,7 @@
@@ -3099,7 +3099,7 @@
Example

- Generated by JSDoc 3.6.6 on Tue Jan 05 2021 10:39:49 GMT-0800 (Pacific Standard Time) using the Minami theme. + Generated by JSDoc 3.6.6 on Thu Jan 21 2021 12:34:05 GMT-0800 (Pacific Standard Time) using the Minami theme.
diff --git a/docs/module-management.JobsManager.html b/docs/module-management.JobsManager.html index 2178b4a73..100dc7816 100644 --- a/docs/module-management.JobsManager.html +++ b/docs/module-management.JobsManager.html @@ -24,7 +24,7 @@
@@ -890,7 +890,7 @@

errorsSource:
@@ -3109,7 +3109,7 @@
Example

- Generated by JSDoc 3.6.6 on Tue Jan 05 2021 10:39:49 GMT-0800 (Pacific Standard Time) using the Minami theme. + Generated by JSDoc 3.6.6 on Thu Jan 21 2021 12:34:05 GMT-0800 (Pacific Standard Time) using the Minami theme.
diff --git a/docs/module-management.LogStreamsManager.html b/docs/module-management.LogStreamsManager.html index 9c98bbb38..d07a6fefa 100644 --- a/docs/module-management.LogStreamsManager.html +++ b/docs/module-management.LogStreamsManager.html @@ -24,7 +24,7 @@
@@ -1763,7 +1763,7 @@
Example

- Generated by JSDoc 3.6.6 on Tue Jan 05 2021 10:39:49 GMT-0800 (Pacific Standard Time) using the Minami theme. + Generated by JSDoc 3.6.6 on Thu Jan 21 2021 12:34:05 GMT-0800 (Pacific Standard Time) using the Minami theme.
diff --git a/docs/module-management.LogsManager.html b/docs/module-management.LogsManager.html index c6f6704db..d59f3ef23 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.6.6 on Tue Jan 05 2021 10:39:49 GMT-0800 (Pacific Standard Time) using the Minami theme. + Generated by JSDoc 3.6.6 on Thu Jan 21 2021 12:34:05 GMT-0800 (Pacific Standard Time) using the Minami theme.
diff --git a/docs/module-management.ManagementClient.html b/docs/module-management.ManagementClient.html index b479a6092..35b1f52cd 100644 --- a/docs/module-management.ManagementClient.html +++ b/docs/module-management.ManagementClient.html @@ -24,7 +24,7 @@
@@ -2713,7 +2713,7 @@

addHookS
Source:
@@ -3018,7 +3018,7 @@

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

Source:
@@ -3754,7 +3754,7 @@

assi
Source:
@@ -4111,7 +4111,7 @@

assi
Source:
@@ -4494,7 +4494,7 @@

blackli
Source:
@@ -4794,7 +4794,7 @@

Source:
@@ -5666,7 +5666,7 @@

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

cr
Source:
@@ -6318,7 +6318,7 @@

Source:
@@ -6502,7 +6502,7 @@

Source:
@@ -6682,7 +6682,7 @@

createHook<
Source:
@@ -6900,7 +6900,7 @@

create
Source:
@@ -7118,7 +7118,7 @@

Source:
@@ -7310,7 +7310,7 @@

c
Source:
@@ -7528,7 +7528,7 @@

createRole<
Source:
@@ -7965,7 +7965,7 @@

createUser<
Source:
@@ -8185,7 +8185,7 @@

deleteA
Source:
@@ -9176,7 +9176,7 @@

del
Source:
@@ -9716,7 +9716,7 @@

de
Source:
@@ -9900,7 +9900,7 @@

Source:
@@ -10169,7 +10169,7 @@

deleteHook<
Source:
@@ -10438,7 +10438,7 @@

delete
Source:
@@ -10707,7 +10707,7 @@

d
Source:
@@ -10976,7 +10976,7 @@

deleteRole<
Source:
@@ -11514,7 +11514,7 @@

dele
Source:
@@ -11783,7 +11783,7 @@

deleteUser<
Source:
@@ -12052,7 +12052,7 @@

Source:
@@ -12353,7 +12353,7 @@

Source:
@@ -12650,7 +12650,7 @@

exportUser
Source:
@@ -13064,7 +13064,7 @@

getAcce
Source:
@@ -13172,7 +13172,7 @@

ge
Source:
@@ -13356,7 +13356,7 @@

g
Source:
@@ -13536,7 +13536,7 @@

ge
Source:
@@ -15308,7 +15308,7 @@

getCus
Source:
@@ -15577,7 +15577,7 @@

getCu
Source:
@@ -15693,7 +15693,7 @@

getDaily
Source:
@@ -16209,7 +16209,7 @@

getEm
Source:
@@ -16524,7 +16524,7 @@

getEm
Source:
@@ -17197,7 +17197,7 @@

Source:
@@ -17462,7 +17462,7 @@

Source:
@@ -17727,7 +17727,7 @@

Source:
@@ -17941,7 +17941,7 @@

get
Source:
@@ -18078,14 +18078,14 @@

Example
-

getGuardianFactorTemplates(params, cbopt) → {Promise|undefined}

+

getGuardianFactorSettings(params, cbopt) → {Promise|undefined}

-

Get Guardian enrollment and verification factor templates

+

Get the settings of a Guardian factor.

@@ -18121,7 +18121,7 @@

Source:
@@ -18279,8 +18279,8 @@
Returns:
Example
-
management.getGuardianFactorTemplates({ name: 'sms' }, function (err, templates) {
-  console.log(templates);
+    
management.getGuardianFactorSettings({ name: 'duo' }, function (err, settings) {
+  console.log(settings);
 });
@@ -18292,14 +18292,14 @@
Example
-

getGuardianPhoneFactorMessageTypes(cbopt) → {Promise|undefined}

+

getGuardianFactorTemplates(params, cbopt) → {Promise|undefined}

-

Get the Guardian phone factor's message types

+

Get Guardian enrollment and verification factor templates

@@ -18335,7 +18335,7 @@

Source:
@@ -18381,13 +18381,13 @@
Parameters:
- cb + params -function +Object @@ -18396,8 +18396,6 @@
Parameters:
- <optional>
- @@ -18408,156 +18406,12 @@
Parameters:
-

Callback function.

+

Factor parameters.

- - - - - - - - - - - - - - - - -
-
Returns:
- - - -
-
- Type: -
-
- -Promise -| - -undefined - - -
-
- - - -
- - - -
-
Example
- -
management.getGuardianPhoneFactorMessageTypes(function (err, messageTypes) {
-  console.log(messageTypes);
-});
- -
- -

- - -
- - - -

getGuardianPhoneFactorSelectedProvider(cbopt) → {Promise|undefined}

- - - - - -
-

Get the Guardian phone factor's selected provider

-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - @@ -18639,8 +18493,8 @@
Returns:
Example
-
management.getGuardianPhoneFactorSelectedProvider(function (err, selectedProvider) {
-  console.log(selectedProvider);
+    
management.getGuardianFactorTemplates({ name: 'sms' }, function (err, templates) {
+  console.log(templates);
 });
@@ -18652,14 +18506,14 @@
Example
-

getGuardianPolicies(cbopt) → {Promise|undefined}

+

getGuardianPhoneFactorMessageTypes(cbopt) → {Promise|undefined}

-

Get enabled Guardian policies

+

Get the Guardian phone factor's message types

@@ -18695,7 +18549,7 @@

ge
Source:
@@ -18819,8 +18673,8 @@

Returns:
Example
-
management.getGuardianPolicies(function (err, policies) {
-  console.log(policies);
+    
management.getGuardianPhoneFactorMessageTypes(function (err, messageTypes) {
+  console.log(messageTypes);
 });
@@ -18832,14 +18686,14 @@
Example
-

getHook(params, cbopt) → {Promise|undefined}

+

getGuardianPhoneFactorSelectedProvider(cbopt) → {Promise|undefined}

-

Get an Auth0 hook.

+

Get the Guardian phone factor's selected provider

@@ -18875,7 +18729,7 @@

getHookSource:
@@ -18919,91 +18773,6 @@
Parameters:

- - - - - - - - - - - - - - - - - - @@ -19084,12 +18853,8 @@
Returns:
Example
-
management.getHook({ id: HOOK_ID }, function (err, hook) {
-  if (err) {
-    // Handle error.
-  }
-
-  console.log(hook);
+    
management.getGuardianPhoneFactorSelectedProvider(function (err, selectedProvider) {
+  console.log(selectedProvider);
 });
@@ -19101,14 +18866,14 @@
Example
-

getHooks(paramsopt, cbopt) → {Promise|undefined}

+

getGuardianPolicies(cbopt) → {Promise|undefined}

-

Get all hooks.

+

Get enabled Guardian policies

@@ -19144,7 +18909,7 @@

getHooksSource:
@@ -19188,141 +18953,6 @@
Parameters:

- - - - - - - - - - - - - - - - - - @@ -19403,20 +19033,8 @@
Returns:
Example
-

- 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. -

- -
// Pagination settings.
-var params = {
-  per_page: 10,
-  page: 0
-};
-
-management.getHooks(params, function (err, hooks) {
-  console.log(hooks.length);
+    
management.getGuardianPolicies(function (err, policies) {
+  console.log(policies);
 });
@@ -19428,14 +19046,14 @@
Example
-

getHookSecrets(params, cbopt) → {Promise|undefined}

+

getHook(params, cbopt) → {Promise|undefined}

-

Get an Auth0 hook's secrets.

+

Get an Auth0 hook.

@@ -19471,7 +19089,7 @@

getHook
Source:
@@ -19680,13 +19298,12 @@

Returns:
Example
-
var params = { id: HOOK_ID }
-management.getHookSecrets(params, function (err, secrets) {
+    
management.getHook({ id: HOOK_ID }, function (err, hook) {
   if (err) {
     // Handle error.
   }
 
-  console.log(secrets);
+  console.log(hook);
 });
@@ -19698,14 +19315,14 @@
Example
-

getJob(params, cbopt) → {Promise|undefined}

+

getHooks(paramsopt, cbopt) → {Promise|undefined}

-

Get a job by its ID.

+

Get all hooks.

@@ -19741,7 +19358,7 @@

getJobSource:
@@ -19802,6 +19419,8 @@
Parameters:

+ + @@ -19838,24 +19459,70 @@
Parameters:
- + + + + + + + + + + + + + + + + + + + + + @@ -19950,17 +19617,20 @@
Returns:
Example
-
var params = {
-  id: '{JOB_ID}'
+        

+ 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. +

+ +
// Pagination settings.
+var params = {
+  per_page: 10,
+  page: 0
 };
 
-management.getJob(params, function (err, job) {
-  if (err) {
-    // Handle error.
-  }
-
-  // Retrieved job.
-  console.log(job);
+management.getHooks(params, function (err, hooks) {
+  console.log(hooks.length);
 });
@@ -19972,14 +19642,14 @@
Example
-

getLog(params, cbopt) → {Promise|undefined}

+

getHookSecrets(params, cbopt) → {Promise|undefined}

-

Get an Auth0 log.

+

Get an Auth0 hook's secrets.

@@ -20015,7 +19685,7 @@

getLogSource:
@@ -20086,7 +19756,7 @@
Parameters:

@@ -20224,12 +19894,13 @@
Returns:
Example
-
management.getLog({ id: EVENT_ID }, function (err, log) {
+    
var params = { id: HOOK_ID }
+management.getHookSecrets(params, function (err, secrets) {
   if (err) {
     // Handle error.
   }
 
-  console.log(log);
+  console.log(secrets);
 });
@@ -20241,14 +19912,14 @@
Example
-

getLogs(paramsopt, cbopt) → {Promise|undefined}

+

getJob(params, cbopt) → {Promise|undefined}

-

Get all logs.

+

Get a job by its ID.

@@ -20284,7 +19955,7 @@

getLogsSource:
@@ -20345,8 +20016,6 @@
Parameters:

- - @@ -20385,151 +20052,7 @@
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -20723,20 +20164,17 @@
Returns:
Example
-

- This method takes an optional object as first argument that may be used to - 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. -

- -
// Pagination settings.
-var params = {
-  per_page: 10,
-  page: 2
+    
var params = {
+  id: '{JOB_ID}'
 };
 
-management.getLogs(params, function (err, logs) {
-  console.log(logs.length);
+management.getJob(params, function (err, job) {
+  if (err) {
+    // Handle error.
+  }
+
+  // Retrieved job.
+  console.log(job);
 });
@@ -20748,14 +20186,14 @@
Example
-

getLogStream(params, cbopt) → {Promise|undefined}

+

getLog(params, cbopt) → {Promise|undefined}

-

Get an Auth0 Log Stream.

+

Get an Auth0 log.

@@ -20791,7 +20229,7 @@

getLogStr
Source:
@@ -20862,7 +20300,7 @@

Parameters:
@@ -21000,12 +20438,12 @@
Returns:
Example
-
management.getLogStream({ id: LOG_STREAM_ID }, function (err, logStream) {
+    
management.getLog({ id: EVENT_ID }, function (err, log) {
   if (err) {
     // Handle error.
   }
 
-  console.log(logStream);
+  console.log(log);
 });
@@ -21017,14 +20455,14 @@
Example
-

getMigrations(cbopt) → {Promise|undefined}

+

getLogs(paramsopt, cbopt) → {Promise|undefined}

-

Get migrations flags

+

Get all logs.

@@ -21060,7 +20498,7 @@

getMigra
Source:
@@ -21106,13 +20544,13 @@

Parameters:
- + - - - - -
NameTypeAttributesDescription
params - - -Object - - - - - - - - - - -

Hook parameters.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
id - - -String - - - - -

Hook ID.

- -
- - -
cb
params - - -Object - - - - - - <optional>
- - - - - -
-

Hooks parameters.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
per_page - - -Number - - - - - - <optional>
- - - - - -
-

Number of results per page.

- -
page - - -Number - - - - - - <optional>
- - - - - -
-

Page number, zero indexed.

- -
- - -
cb + <optional>
+ @@ -19812,7 +19431,7 @@
Parameters:
-

Job parameters.

+

Hooks parameters.

@@ -19826,6 +19445,8 @@
Parameters:
TypeAttributes
idper_page -String +Number + + <optional>
+ + + + + +
-

Job ID.

+

Number of results per page.

+ +
page + + +Number + + + + + + <optional>
+ + + + + +
+

Page number, zero indexed.

-

Log parameters.

+

Hook parameters.

@@ -20129,7 +19799,7 @@
Parameters:
-

Event ID.

+

Hook ID.

- <optional>
- @@ -20357,7 +20026,7 @@
Parameters:
-

Logs params.

+

Job parameters.

@@ -20371,8 +20040,6 @@
Parameters:
TypeAttributes
q - - -String - - - - - - <optional>
- - - - - -
-

Search Criteria using Query String Syntax

- -
page - - -Number - - - - - - <optional>
- - - - - -
-

Page number. Zero based

- -
per_page - - -Number - - - - - - <optional>
- - - - - -
-

The amount of entries per page

- -
sort - - -String - - - - - - <optional>
- - - - - -
-

The field to use for sorting.

- -
fieldsid @@ -20542,93 +20065,11 @@
Parameters:
- - <optional>
- - - - - -
-

A comma separated list of fields to include or exclude

- -
include_fields - - -Boolean - - - - - - <optional>
- - - - - -
-

true if the fields specified are to be included in the result, false otherwise.

- -
include_totals - - -Boolean - - - - - - <optional>
- - - - - -
-

true if a query summary must be included in the result, false otherwise. Default false

+

Job ID.

-

Log Stream parameters.

+

Log parameters.

@@ -20905,7 +20343,7 @@
Parameters:
-

Log Stream ID.

+

Event ID.

cbparams -function +Object @@ -21133,171 +20571,257 @@
Parameters:
-

Callback function.

+

Logs params.

-
- - - - - + + + + + + + + + + + + + + + + + + + + + + -
-
- Type: -
-
- -Promise -| + +
+ - - + + + - + + + + + -// Migration flags - console.log(migrations.flags); -}); + + -
- + -

getPermissionsInRole(roleIdopt, cbopt) → {Promise|undefined}

+
+ + + + + + + + + -
+ - +
+ - + + + + - + - + + + - + - + + - -
Source:
-
- + + + + - + + + + + + + + + + + + + @@ -21403,18 +20935,22 @@
Returns:
-
Examples
- -
var params =  { id :'ROLE_ID'};
+
Example

- This method takes a roleId and - returns all permissions within that role - + This method takes an optional object as first argument that may be used to + 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.

-
management.getPermissionsInRole(params, function (err, permissions) {
-  console.log(permissions);
+    
// Pagination settings.
+var params = {
+  per_page: 10,
+  page: 2
+};
+
+management.getLogs(params, function (err, logs) {
+  console.log(logs.length);
 });
@@ -21426,14 +20962,14 @@
Examples
-

getPromptsSettings(cbopt) → {Promise|undefined}

+

getLogStream(params, cbopt) → {Promise|undefined}

-

Get prompts settings..

+

Get an Auth0 Log Stream.

@@ -21469,7 +21005,7 @@

get
Source:
@@ -21513,6 +21049,91 @@

Parameters:
+ + + + + + + + + + + + + + + + + + @@ -21593,12 +21214,12 @@
Returns:
Example
-
management.getPromptsSettings(function (err, settings) {
+    
management.getLogStream({ id: LOG_STREAM_ID }, function (err, logStream) {
   if (err) {
     // Handle error.
   }
 
-  console.log(settings);
+  console.log(logStream);
 });
@@ -21610,14 +21231,14 @@
Example
-

getResourceServer(params, cbopt) → {Promise|undefined}

+

getMigrations(cbopt) → {Promise|undefined}

-

Get a Resource Server.

+

Get migrations flags

@@ -21653,7 +21274,7 @@

getR
Source:
@@ -21697,91 +21318,6 @@

Parameters:
- - - - - - - - - - - - - - - - - - @@ -21862,12 +21398,13 @@
Returns:
Example
-
management.getResourceServer({ id: RESOURCE_SERVER_ID }, function (err, resourceServer) {
+    
management.getMigrations(function (err, migrations) {
   if (err) {
     // Handle error.
   }
 
-  console.log(resourceServer);
+// Migration flags
+   console.log(migrations.flags);
 });
@@ -21879,14 +21416,14 @@
Example
-

getResourceServers(paramsopt, cbopt) → {Promise|undefined}

+

getPermissionsInRole(roleIdopt, cbopt) → {Promise|undefined}

-

Get all resource servers.

+

Get permissions for a given role

@@ -21922,7 +21459,7 @@

get
Source:
@@ -21968,104 +21505,13 @@

Parameters:
- - - - - - - - - - - - @@ -22179,22 +21617,18 @@
Returns:
-
Example
+
Examples
+ +
var params =  { id :'ROLE_ID'};

- 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. + This method takes a roleId and + returns all permissions within that role +

-
// Pagination settings.
-var params = {
-  per_page: 10,
-  page: 0
-};
-
-management.getResourceServers(params, function (err, resourceServers) {
-  console.log(resourceServers.length);
+    
management.getPermissionsInRole(params, function (err, permissions) {
+  console.log(permissions);
 });
@@ -22206,14 +21640,14 @@
Example
-

getRole(params, cbopt) → {Promise|undefined}

+

getPromptsSettings(cbopt) → {Promise|undefined}

-

Get an Auth0 role.

+

Get prompts settings..

@@ -22249,7 +21683,7 @@

getRoleSource:
@@ -22293,91 +21727,6 @@
Parameters:

- - - - - - - - - - - - - - - - - - @@ -22458,12 +21807,12 @@
Returns:
Example
-
management.getRole({ id: ROLE_ID }, function (err, role) {
+    
management.getPromptsSettings(function (err, settings) {
   if (err) {
     // Handle error.
   }
 
-  console.log(role);
+  console.log(settings);
 });
@@ -22475,14 +21824,14 @@
Example
-

getRoles(paramsopt, cbopt) → {Promise|undefined}

+

getResourceServer(params, cbopt) → {Promise|undefined}

-

Get all roles.

+

Get a Resource Server.

@@ -22518,7 +21867,7 @@

getRolesSource:
@@ -22579,8 +21928,6 @@
Parameters:

- - @@ -22619,70 +21964,24 @@
Parameters:
- - - - - - - - - - - - - - - - - - - + - - @@ -22777,20 +22076,12 @@
Returns:
Example
-

- 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. -

- -
// Pagination settings.
-var params = {
-  per_page: 10,
-  page: 0
-};
+    
management.getResourceServer({ id: RESOURCE_SERVER_ID }, function (err, resourceServer) {
+  if (err) {
+    // Handle error.
+  }
 
-management.getRoles(params, function (err, roles) {
-  console.log(roles.length);
+  console.log(resourceServer);
 });
@@ -22802,14 +22093,14 @@
Example
-

getRule(params, cbopt) → {Promise|undefined}

+

getResourceServers(paramsopt, cbopt) → {Promise|undefined}

-

Get an Auth0 rule.

+

Get all resource servers.

@@ -22845,7 +22136,7 @@

getRuleSource:
@@ -22906,6 +22197,8 @@
Parameters:

+ + @@ -22942,24 +22237,70 @@
Parameters:
- + + + + + + + + + + + + + + + + + + + + + @@ -23054,12 +22395,20 @@
Returns:
Example
-
management.getRule({ id: RULE_ID }, function (err, rule) {
-  if (err) {
-    // Handle error.
-  }
+        

+ 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. +

+ +
// Pagination settings.
+var params = {
+  per_page: 10,
+  page: 0
+};
 
-  console.log(rule);
+management.getResourceServers(params, function (err, resourceServers) {
+  console.log(resourceServers.length);
 });
@@ -23071,14 +22420,14 @@
Example
-

getRules(paramsopt, cbopt) → {Promise|undefined}

+

getRole(params, cbopt) → {Promise|undefined}

-

Get all rules.

+

Get an Auth0 role.

@@ -23114,7 +22463,7 @@

getRulesSource:
@@ -23175,8 +22524,6 @@
Parameters:

- - @@ -23215,70 +22560,24 @@
Parameters:
- - - - - - - - - - - - - - - - - - - + - - @@ -23373,20 +22672,12 @@
Returns:
Example
-

- 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. -

- -
// Pagination settings.
-var params = {
-  per_page: 10,
-  page: 0
-};
+    
management.getRole({ id: ROLE_ID }, function (err, role) {
+  if (err) {
+    // Handle error.
+  }
 
-management.getRules(params, function (err, rules) {
-  console.log(rules.length);
+  console.log(role);
 });
@@ -23398,14 +22689,14 @@
Example
-

getRulesConfigs(cbopt) → {Promise|undefined}

+

getRoles(paramsopt, cbopt) → {Promise|undefined}

-

Get rules config.

+

Get all roles.

@@ -23441,7 +22732,7 @@

getRul
Source:
@@ -23487,13 +22778,13 @@

Parameters:
- + - - - - -
NameTypeAttributesDescription
q + + +String -
-
Returns:
- + +
+ + <optional>
+ -undefined + + +
+

Search Criteria using Query String Syntax

+ +
page + + +Number -
-
Example
-
management.getMigrations(function (err, migrations) {
-  if (err) {
-    // Handle error.
-  }
+            
+            
+ + <optional>
+ - + - - + +
+

Page number. Zero based

+ +
per_page + + +Number -
-

Get permissions for a given role

-
+ +
+ + <optional>
+ + + +
+

The amount of entries per page

+ +
sort + + +String - - + + + + <optional>
+ - + - + +
+

The field to use for sorting.

+ +
fields + + +String - - - + + + + <optional>
+ + + +
+

A comma separated list of fields to include or exclude

+ +
include_fields + + +Boolean -
Parameters:
- - - - - - - + + - + + - + - + + + - - - + + + + - - + + + + + +
NameType + + <optional>
+ - -
AttributesDescription
+

true if the fields specified are to be included in the result, false otherwise.

+ +
roleIdinclude_totals -String +Boolean @@ -21318,7 +20842,15 @@
Parameters:
-

Id of the role

+

true if a query summary must be included in the result, false otherwise. Default false

+ +
+
params + + +Object + + + + + + + + + + +

Log Stream parameters.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
id + + +String + + + + +

Log Stream ID.

+ +
+ + +
cb
params - - -Object - - - - - - - - - - -

Resource Server parameters.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
id - - -String - - - - -

Resource Server ID.

- -
- - -
cb
params - - -Object - - - - - - <optional>
- - - - - -
-

Resource Servers parameters.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - - - -
NameTypeAttributesDescription
per_page - - -Number - - - - - - <optional>
- - - - - -
-

Number of results per page.

- -
pageroleId -Number +String @@ -22086,15 +21532,7 @@
Parameters:
-

Page number, zero indexed.

- -
- +

Id of the role

params - - -Object - - - - - - - - - - -

Role parameters.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
id - - -String - - - - -

Role ID.

- -
- - -
cb - <optional>
- @@ -22591,7 +21938,7 @@
Parameters:
-

Roles parameters.

+

Resource Server parameters.

@@ -22605,8 +21952,6 @@
Parameters:
TypeAttributes
per_page - - -Number - - - - - - <optional>
- - - - - -
-

Number of results per page.

- -
pageid -Number +String - - <optional>
- - - - - -
-

Page number, zero indexed.

+

Resource Server ID.

+ <optional>
+ @@ -22916,7 +22209,7 @@
Parameters:
-

Rule parameters.

+

Resource Servers parameters.

@@ -22930,6 +22223,8 @@
Parameters:
TypeAttributes
idper_page -String +Number + + <optional>
+ + + + + +
-

Rule ID.

+

Number of results per page.

+ +
page + + +Number + + + + + + <optional>
+ + + + + +
+

Page number, zero indexed.

- <optional>
- @@ -23187,7 +22534,7 @@
Parameters:
-

Rules parameters.

+

Role parameters.

@@ -23201,8 +22548,6 @@
Parameters:
TypeAttributes
per_page - - -Number - - - - - - <optional>
- - - - - -
-

Number of results per page.

- -
pageid -Number +String - - <optional>
- - - - - -
-

Page number, zero indexed.

+

Role ID.

cbparams -function +Object @@ -23514,159 +22805,110 @@
Parameters:
-

Callback function.

+

Roles parameters.

-
- - - - - - - - - - - - - - -
-
Returns:
+ + + + - -
-
- Type: -
-
+
-Promise -| - -undefined - - - - - - - - - - - -
-
Example
-
management.getRulesConfigs(function (err, rulesConfigs) {
-  if (err) {
-    // Handle error.
-  }
-
-  // Get Rules Configs.
-});
- -
+ - - -
- - - -

getTenantSettings(cbopt) → {Promise|undefined}

- - - - - -
-

Get the tenant settings..

-
- - - - - -
- - - - +
+ - + - + + + + - + + + + - + - + + + - -
Source:
-
- + - + + - - + + + + + + + + + + + -
Parameters:
+ +
NameTypeAttributesDescription
per_page + + +Number - - + + + + <optional>
+ - + - + +
+

Number of results per page.

+ +
page + + +Number + + + + <optional>
+ + + +
+

Page number, zero indexed.

+ +
- - - - - - - - - - - - - - - - - - + + + - @@ -23749,12 +22991,20 @@
Returns:
Example
-
management.getSettings(function (err, settings) {
-  if (err) {
-    // Handle error.
-  }
+        

+ 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. +

+ +
// Pagination settings.
+var params = {
+  per_page: 10,
+  page: 0
+};
 
-  console.log(settings);
+management.getRoles(params, function (err, roles) {
+  console.log(roles.length);
 });
@@ -23766,14 +23016,14 @@
Example
-

getUser(data, cbopt) → {Promise|undefined}

+

getRule(params, cbopt) → {Promise|undefined}

-

Get a user by its id.

+

Get an Auth0 rule.

@@ -23809,7 +23059,7 @@

getUserSource:
@@ -23855,7 +23105,7 @@
Parameters:

- + @@ -24018,8 +23268,12 @@
Returns:
Example
-
management.getUser({ id: USER_ID }, function (err, user) {
-  console.log(user);
+    
management.getRule({ id: RULE_ID }, function (err, rule) {
+  if (err) {
+    // Handle error.
+  }
+
+  console.log(rule);
 });
@@ -24031,14 +23285,14 @@
Example
-

getUserBlocks(params, cbopt) → {Promise|undefined}

+

getRules(paramsopt, cbopt) → {Promise|undefined}

-

Get user blocks by its id.

+

Get all rules.

@@ -24074,7 +23328,7 @@

getUserB
Source:
@@ -24135,6 +23389,8 @@

Parameters:
+ + @@ -24171,24 +23429,70 @@
Parameters:
- + + + + + + + + + + + + + + + + + + + @@ -24232,7 +23536,7 @@
Parameters:
@@ -24283,12 +23587,20 @@
Returns:
Example
-
management.getUserBlocks({ id: USER_ID }, function (err, blocks) {
-  if (err) {
-    // Handle error.
-  }
+        

+ 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. +

+ +
// Pagination settings.
+var params = {
+  per_page: 10,
+  page: 0
+};
 
-  console.log(blocks);
+management.getRules(params, function (err, rules) {
+  console.log(rules.length);
 });
@@ -24300,14 +23612,14 @@
Example
-

getUserBlocksByIdentifier(params, cbopt) → {Promise|undefined}

+

getRulesConfigs(cbopt) → {Promise|undefined}

-

Get user blocks by its identifier.

+

Get rules config.

@@ -24343,7 +23655,7 @@

Source:
@@ -24389,13 +23701,13 @@
Parameters:

- + + -
NameTypeAttributesDescription
dataparams @@ -23880,7 +23130,7 @@
Parameters:
-

The user data object.

+

Rule parameters.

@@ -23923,7 +23173,7 @@
Parameters:
-

The user id.

+

Rule ID.

+ <optional>
+ @@ -24145,7 +23401,7 @@
Parameters:
-

The user data object..

+

Rules parameters.

@@ -24159,6 +23415,8 @@
Parameters:
TypeAttributes
idper_page -String +Number + + + + + + <optional>
+ + + + +
+

Number of results per page.

+
page + + +Number + + + + + + <optional>
+ + + + + +
-

The user id.

+

Page number, zero indexed.

-

Callback function

+

Callback function.

paramscb -Object +function @@ -24404,6 +23716,8 @@
Parameters:
+ <optional>
+ @@ -24414,62 +23728,159 @@
Parameters:
-

The user data object..

+

Callback function.

- +
- - - - - + + +
Name
- Type + + + + + + + + + + + + + +
+
Returns:
+
+
+ Type: +
+
+Promise +| + +undefined + + +
+
- Description - - - +
- - - identifier - - - - -String +
+
Example
- - +
management.getRulesConfigs(function (err, rulesConfigs) {
+  if (err) {
+    // Handle error.
+  }
 
-            
+  // Get Rules Configs.
+});
+ +
+
+ +
- -

The user identifier, any of: username, phone_number, email.

- - - + + +

getTenantSettings(cbopt) → {Promise|undefined}

- - - - - + +
+

Get the tenant settings..

+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + @@ -24501,7 +23912,7 @@
Parameters:
@@ -24552,12 +23963,12 @@
Returns:
Example
-
management.getUserBlocksByIdentifier({ identifier: USER_ID }, function (err, blocks) {
+    
management.getSettings(function (err, settings) {
   if (err) {
     // Handle error.
   }
 
-  console.log(blocks);
+  console.log(settings);
 });
@@ -24569,14 +23980,14 @@
Example
-

getUserLogs(params, cbopt) → {Promise|undefined}

+

getUser(data, cbopt) → {Promise|undefined}

-

Get user's log events.

+

Get a user by its id.

@@ -24612,7 +24023,7 @@

getUserLog
Source:
@@ -24658,7 +24069,7 @@

Parameters:
- + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -24925,14 +24232,8 @@
Returns:
Example
-
var params = { id: USER_ID, page: 0, per_page: 50, sort: 'date:-1', include_totals: true };
-
-management.getUserLogs(params, function (err, logs) {
-  if (err) {
-    // Handle error.
-  }
-
-  console.log(logs);
+    
management.getUser({ id: USER_ID }, function (err, user) {
+  console.log(user);
 });
@@ -24944,14 +24245,14 @@
Example
-

getUserPermissions(params, cbopt) → {Promise|undefined}

+

getUserBlocks(params, cbopt) → {Promise|undefined}

-

Get user's permissions

+

Get user blocks by its id.

@@ -24987,7 +24288,7 @@

get
Source:
@@ -25058,7 +24359,7 @@

Parameters:
+ + + + +
NameTypeAttributesDescription
-

Callback function

+

Callback function.

paramsdata @@ -24683,7 +24094,7 @@
Parameters:
-

Get logs data.

+

The user data object.

@@ -24726,111 +24137,7 @@
Parameters:
-

User id.

- -
per_page - - -Number - - - - -

Number of results per page.

- -
page - - -Number - - - - -

Page number, zero indexed.

- -
sort - - -String - - - - -

The field to use for sorting. Use field:order where order is 1 for ascending and -1 for descending. For example date:-1.

- -
include_totals - - -Boolean - - - - -

true if a query summary must be included in the result, false otherwise. Default false;

+

The user id.

-

Get permissions data.

+

The user data object..

@@ -25101,7 +24402,15 @@
Parameters:
-

User id.

+

The user id.

+ +
+ @@ -25110,91 +24419,248 @@
Parameters:
- per_page + cb -Number +function + + + <optional>
+ + + + + + + -

Number of results per page.

+

Callback function

+ + + + - - - page - - - - -Number - - - + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +Promise +| + +undefined + + +
+
+ + + +
+ + + +
+
Example
+ +
management.getUserBlocks({ id: USER_ID }, function (err, blocks) {
+  if (err) {
+    // Handle error.
+  }
+
+  console.log(blocks);
+});
+ +
+ +
+ +
- -

Page number, zero indexed.

- - - + + +

getUserBlocksByIdentifier(params, cbopt) → {Promise|undefined}

+ + + + + +
+

Get user blocks by its identifier.

+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + - + + + - + + +
NameTypeAttributesDescription
sortparams -String +Object + + + + + + -

The field to use for sorting. Use field:order where order is 1 for ascending and -1 for descending. For example date:-1.

+

The user data object..

-
+ + + + + + + + + + + + + + + + - + @@ -25249,7 +24715,7 @@
Parameters:
@@ -25300,14 +24766,12 @@
Returns:
Example
-
var params = { id: USER_ID, page: 0, per_page: 50, sort: 'date:-1', include_totals: true };
-
-management.getUserPermissions(params, function (err, logs) {
+    
management.getUserBlocksByIdentifier({ identifier: USER_ID }, function (err, blocks) {
   if (err) {
     // Handle error.
   }
 
-  console.log(logs);
+  console.log(blocks);
 });
@@ -25319,14 +24783,14 @@
Example
-

getUserRoles(params, cbopt) → {Promise|undefined}

+

getUserLogs(params, cbopt) → {Promise|undefined}

-

Get user's roles

+

Get user's log events.

@@ -25362,7 +24826,7 @@

getUserRo
Source:
@@ -25433,7 +24897,7 @@

Parameters:
+ + + + + + + + + + + + + + + + + + @@ -26359,7 +26708,7 @@

getUser
Source:
@@ -26659,7 +27008,7 @@

importUser
Source:
@@ -27087,7 +27436,7 @@

importU
Source:
@@ -27513,7 +27862,7 @@

Source:
@@ -27782,7 +28131,7 @@

linkUsersSource:
@@ -28169,7 +28518,7 @@

Source:
@@ -28434,7 +28783,7 @@

remo
Source:
@@ -28739,7 +29088,7 @@

Source:
@@ -29118,7 +29467,7 @@

Source:
@@ -29475,7 +29824,7 @@

re
Source:
@@ -29832,7 +30181,7 @@

Source:
@@ -30103,7 +30452,7 @@

setRule
Source:
@@ -30460,7 +30809,7 @@

unblockUse
Source:
@@ -30729,7 +31078,7 @@

unblockUse
Source:
@@ -30826,7 +31175,276 @@

Parameters:

- + + + + + + + + + + + + + + +
NameTypeDescription
include_totalsidentifier -Boolean +String @@ -25205,7 +24671,7 @@
Parameters:
-

true if a query summary must be included in the result, false otherwise. Default false;

+

The user identifier, any of: username, phone_number, email.

-

Callback function.

+

Callback function

-

Get roles data.

+

Get logs data.

@@ -25677,7 +25141,7 @@
Example
var params = { id: USER_ID, page: 0, per_page: 50, sort: 'date:-1', include_totals: true };
 
-management.getUserRoles(params, function (err, logs) {
+management.getUserLogs(params, function (err, logs) {
   if (err) {
     // Handle error.
   }
@@ -25694,14 +25158,14 @@ 
Example
-

getUsers(paramsopt, cbopt) → {Promise|undefined}

+

getUserPermissions(params, cbopt) → {Promise|undefined}

-

Get all users.

+

Get user's permissions

@@ -25737,7 +25201,757 @@

getUsersSource:
+ + + + + + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
params + + +Object + + + + + + + + + + +

Get permissions data.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
id + + +String + + + + +

User id.

+ +
per_page + + +Number + + + + +

Number of results per page.

+ +
page + + +Number + + + + +

Page number, zero indexed.

+ +
sort + + +String + + + + +

The field to use for sorting. Use field:order where order is 1 for ascending and -1 for descending. For example date:-1.

+ +
include_totals + + +Boolean + + + + +

true if a query summary must be included in the result, false otherwise. Default false;

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

Callback function.

+ +
+ + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +Promise +| + +undefined + + +
+
+ + + +
+ + + +
+
Example
+ +
var params = { id: USER_ID, page: 0, per_page: 50, sort: 'date:-1', include_totals: true };
+
+management.getUserPermissions(params, function (err, logs) {
+  if (err) {
+    // Handle error.
+  }
+
+  console.log(logs);
+});
+ +
+ + + + +
+ + + +

getUserRoles(params, cbopt) → {Promise|undefined}

+ + + + + +
+

Get user's roles

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

Get roles data.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
id + + +String + + + + +

User id.

+ +
per_page + + +Number + + + + +

Number of results per page.

+ +
page + + +Number + + + + +

Page number, zero indexed.

+ +
sort + + +String + + + + +

The field to use for sorting. Use field:order where order is 1 for ascending and -1 for descending. For example date:-1.

+ +
include_totals + + +Boolean + + + + +

true if a query summary must be included in the result, false otherwise. Default false;

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

Callback function.

+ +
+ + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +Promise +| + +undefined + + +
+
+ + + +
+ + + +
+
Example
+ +
var params = { id: USER_ID, page: 0, per_page: 50, sort: 'date:-1', include_totals: true };
+
+management.getUserRoles(params, function (err, logs) {
+  if (err) {
+    // Handle error.
+  }
+
+  console.log(logs);
+});
+ +
+ +
+ + +
+ + + +

getUsers(paramsopt, cbopt) → {Promise|undefined}

+ + + + + +
+

Get all users.

+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
@@ -26095,7 +26309,7 @@
Example
-

getUsersByEmail(emailopt, cbopt) → {Promise|undefined}

+

getUsersByEmail(emailopt, optionsopt, cbopt) → {Promise|undefined}

@@ -26211,7 +26425,142 @@
Parameters:

-

Email Address of users to locate

+

Email address of user(s) to find

+ +
options + + +Object + + + + + + <optional>
+ + + + + +
+

Additional options to pass to the endpoint

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
fields + + +String + + + + + + <optional>
+ + + + + +
+

Comma-separated list of fields to include or exclude in the result

+ +
include_fields + + +Boolean + + + + + + <optional>
+ + + + + +
+

Whether specified fields are to be included (true) or excluded (false). Defaults to true.

+ +
+
identifieridentifier + + +String + + + + +

The user identifier, any of: username, phone_number, email.

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

Callback function

+ + + + + + + + + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +Promise +| + +undefined + + +
+
+ + + +
+ + + +
+
Example
+ +
management.unblockUserByIdentifier({ identifier: USER_ID }, function (err) {
+  if (err) {
+    // Handle error.
+  }
+
+  // User unblocked.
+});
+ +
+ +
+ + +
+ + + +

unlinkUsers(params, cbopt) → {Promise|undefined}

+ + + + + +
+

Unlink the given accounts.

+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - @@ -31147,32 +31801,32 @@
Parameters:
- + + - + + - - -
NameTypeAttributesDescription
params + + +Object + + + + + + + + + + +

Linked users data.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -30887,7 +31557,7 @@
Parameters:
@@ -30938,12 +31608,14 @@
Returns:
Example
-
management.unblockUserByIdentifier({ identifier: USER_ID }, function (err) {
+    
var params = { id: USER_ID, provider: 'auht0', user_id: OTHER_USER_ID };
+
+management.unlinkUsers(params, function (err, user) {
   if (err) {
     // Handle error.
   }
 
-  // User unblocked.
+  // Users accounts unlinked.
 });
@@ -30955,14 +31627,14 @@
Example
-

unlinkUsers(params, cbopt) → {Promise|undefined}

+

updateAppMetadata(params, metadata, cbopt) → {Promise|undefined}

-

Unlink the given accounts.

+

Update the app metadata for a user.

@@ -30998,7 +31670,7 @@

unlinkUser
Source:
@@ -31069,7 +31741,7 @@

Parameters:
+ +
NameTypeDescription
id @@ -30843,7 +31461,59 @@
Parameters:
-

The user identifier, any of: username, phone_number, email.

+

Primary user ID.

+ +
provider + + +String + + + + +

Identity provider in use.

+ +
user_id + + +String + + + + +

Secondary user ID.

-

Callback function

+

Callback function.

-

Linked users data.

+

The user data object..

@@ -31112,33 +31784,15 @@
Parameters:
-

Primary user ID.

+

The user id.

-
provider - - -String - - - - -

Identity provider in use.

user_idmetadata -String +Object + - + - -

Secondary user ID.

-
+ + +

New app metadata.

@@ -31208,7 +31862,7 @@
Parameters:
-

Callback function.

+

Callback function

@@ -31259,14 +31913,18 @@
Returns:
Example
-
var params = { id: USER_ID, provider: 'auht0', user_id: OTHER_USER_ID };
+    
var params = { id: USER_ID };
+var metadata = {
+  foo: 'bar'
+};
 
-management.unlinkUsers(params, function (err, user) {
+management.updateAppMetadata(params, metadata, function (err, user) {
   if (err) {
     // Handle error.
   }
 
-  // Users accounts unlinked.
+  // Updated user.
+  console.log(user);
 });
@@ -31278,14 +31936,14 @@
Example
-

updateAppMetadata(params, metadata, cbopt) → {Promise|undefined}

+

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

-

Update the app metadata for a user.

+

Update the branding settings.

@@ -31321,7 +31979,7 @@

upda
Source:
@@ -31392,58 +32050,7 @@

Parameters:
-

The user data object..

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
id - - -String - - - - -

The user id.

- -
- +

Branding parameters.

@@ -31452,7 +32059,7 @@
Parameters:
- metadata + data @@ -31477,7 +32084,7 @@
Parameters:
-

New app metadata.

+

Updated branding data.

@@ -31513,7 +32120,7 @@
Parameters:
-

Callback function

+

Callback function.

@@ -31564,18 +32171,13 @@
Returns:
Example
-
var params = { id: USER_ID };
-var metadata = {
-  foo: 'bar'
-};
-
-management.updateAppMetadata(params, metadata, function (err, user) {
+    
management.updateBrandingSettings(data, function (err, branding) {
   if (err) {
     // Handle error.
   }
 
-  // Updated user.
-  console.log(user);
+// Updated branding
+   console.log(branding);
 });
@@ -31587,14 +32189,14 @@
Example
-

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

+

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

-

Update the branding settings.

+

Update an Auth0 client.

@@ -31630,7 +32232,7 @@

Source:
@@ -31701,7 +32303,58 @@

Parameters:
-

Branding parameters.

+

Client parameters.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
client_id + + +String + + + + +

Application client ID.

+ +
+ @@ -31735,7 +32388,7 @@
Parameters:
-

Updated branding data.

+

Updated client data.

@@ -31822,13 +32475,15 @@
Returns:
Example
-
management.updateBrandingSettings(data, function (err, branding) {
+    
var data = { name: 'newClientName' };
+var params = { client_id: CLIENT_ID };
+
+management.updateClient(params, data, function (err, client) {
   if (err) {
     // Handle error.
   }
 
-// Updated branding
-   console.log(branding);
+  console.log(client.name);  // 'newClientName'
 });
@@ -31840,14 +32495,14 @@
Example
-

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

+

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

-

Update an Auth0 client.

+

Update an Auth0 client grant.

@@ -31883,7 +32538,7 @@

updateCli
Source:
@@ -31980,7 +32635,7 @@

Parameters:
- client_id + id @@ -31997,7 +32652,7 @@
Parameters:
-

Application client ID.

+

Client grant ID.

@@ -32126,15 +32781,19 @@
Returns:
Example
-
var data = { name: 'newClientName' };
-var params = { client_id: CLIENT_ID };
+    
var data = {
+  client_id: CLIENT_ID,
+  audience: AUDIENCE,
+  scope: []
+};
+var params = { id: CLIENT_GRANT_ID };
 
-management.updateClient(params, data, function (err, client) {
+management.clientGrants.update(params, data, function (err, grant) {
   if (err) {
     // Handle error.
   }
 
-  console.log(client.name);  // 'newClientName'
+  console.log(grant.id);
 });
@@ -32146,14 +32805,14 @@
Example
-

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

+

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

-

Update an Auth0 client grant.

+

Update an existing connection.

@@ -32189,7 +32848,7 @@

upda
Source:
@@ -32260,7 +32919,7 @@

Parameters:
-

Client parameters.

+

Connection parameters.

@@ -32303,7 +32962,7 @@
Parameters:
-

Client grant ID.

+

Connection ID.

@@ -32345,7 +33004,7 @@
Parameters:
-

Updated client data.

+

Updated connection data.

@@ -32432,19 +33091,15 @@
Returns:
Example
-
var data = {
-  client_id: CLIENT_ID,
-  audience: AUDIENCE,
-  scope: []
-};
-var params = { id: CLIENT_GRANT_ID };
+    
var data = { name: 'newConnectionName' };
+var params = { id: CONNECTION_ID };
 
-management.clientGrants.update(params, data, function (err, grant) {
+management.updateConnection(params, data, function (err, connection) {
   if (err) {
     // Handle error.
   }
 
-  console.log(grant.id);
+  console.log(connection.name);  // 'newConnectionName'
 });
@@ -32456,14 +33111,14 @@
Example
-

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

+

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

-

Update an existing connection.

+

Update the email provider.

@@ -32499,7 +33154,7 @@

updat
Source:
@@ -32570,58 +33225,7 @@

Parameters:
-

Connection parameters.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
id - - -String - - - - -

Connection ID.

- -
- +

Email provider parameters.

@@ -32655,7 +33259,7 @@
Parameters:
-

Updated connection data.

+

Updated email provider data.

@@ -32742,15 +33346,13 @@
Returns:
Example
-
var data = { name: 'newConnectionName' };
-var params = { id: CONNECTION_ID };
-
-management.updateConnection(params, data, function (err, connection) {
+    
management.updateEmailProvider(params, data, function (err, provider) {
   if (err) {
     // Handle error.
   }
 
-  console.log(connection.name);  // 'newConnectionName'
+  // Updated email provider.
+  console.log(provider);
 });
@@ -32762,14 +33364,14 @@
Example
-

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

+

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

-

Update the email provider.

+

Update an existing Email Template.

@@ -32805,7 +33407,7 @@

up
Source:
@@ -32876,7 +33478,58 @@

Parameters:
-

Email provider parameters.

+

Email Template parameters.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
name + + +String + + + + +

Template Name

+ +
+ @@ -32910,7 +33563,7 @@
Parameters:
-

Updated email provider data.

+

Updated Email Template data.

@@ -32997,13 +33650,15 @@
Returns:
Example
-
management.updateEmailProvider(params, data, function (err, provider) {
+    
var data = { from: 'new@email.com' };
+var params = { name: EMAIL_TEMPLATE_NAME };
+
+management.updateEmailTemplates(params, data, function (err, emailTemplate) {
   if (err) {
     // Handle error.
   }
 
-  // Updated email provider.
-  console.log(provider);
+  console.log(emailTemplate.from);  // 'new@email.com'
 });
@@ -33015,14 +33670,14 @@
Example
-

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

+

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

-

Update an existing Email Template.

+

Update Guardian's factor provider

@@ -33058,7 +33713,7 @@

u
Source:
@@ -33129,58 +33784,7 @@

Parameters:
-

Email Template parameters.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -String - - - - -

Template Name

- -
- +

Factor provider parameters.

@@ -33214,7 +33818,7 @@
Parameters:
-

Updated Email Template data.

+

Updated Factor provider data.

@@ -33301,15 +33905,12 @@
Returns:
Example
-
var data = { from: 'new@email.com' };
-var params = { name: EMAIL_TEMPLATE_NAME };
-
-management.updateEmailTemplates(params, data, function (err, emailTemplate) {
-  if (err) {
-    // Handle error.
-  }
-
-  console.log(emailTemplate.from);  // 'new@email.com'
+    
management.updateGuardianFactorProvider({ name: 'sms', provider: 'twilio' }, {
+  messaging_service_sid: 'XXXXXXXXXXXXXX',
+  auth_token: 'XXXXXXXXXXXXXX',
+  sid: 'XXXXXXXXXXXXXX'
+}, function (err, provider) {
+  console.log(provider);
 });
@@ -33321,14 +33922,14 @@
Example
-

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

+

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

-

Update Guardian's factor provider

+

Update Guardian Factor

@@ -33364,7 +33965,7 @@

u
Source:
@@ -33435,7 +34036,7 @@

Parameters:
-

Factor provider parameters.

+

Factor parameters.

@@ -33469,7 +34070,7 @@
Parameters:
-

Updated Factor provider data.

+

Updated factor data.

@@ -33556,12 +34157,10 @@
Returns:
Example
-
management.updateGuardianFactorProvider({ name: 'sms', provider: 'twilio' }, {
-  messaging_service_sid: 'XXXXXXXXXXXXXX',
-  auth_token: 'XXXXXXXXXXXXXX',
-  sid: 'XXXXXXXXXXXXXX'
-}, function (err, provider) {
-  console.log(provider);
+    
management.updateGuardianFactor({ name: 'sms' }, {
+  enabled: true
+}, function (err, factor) {
+  console.log(factor);
 });
@@ -33573,14 +34172,14 @@
Example
-

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

+

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

-

Update Guardian Factor

+

Update a Guardian's factor settings

@@ -33616,7 +34215,7 @@

u
Source:
@@ -33721,7 +34320,7 @@

Parameters:
-

Updated factor data.

+

Updated Factor settings data.

@@ -33808,11 +34407,12 @@
Returns:
Example
-
management.updateGuardianFactor({ name: 'sms' }, {
-  enabled: true
-}, function (err, factor) {
-  console.log(factor);
-});
+
management.updateGuardianFactorSettings(
+ { name: 'webauthn-roaming' },
+ { userVerification: 'discouraged', overrideRelyingParty: false },
+ function (err, settings) {
+  console.log(settings);
+})
@@ -33866,7 +34466,7 @@

Source:
@@ -34117,7 +34717,7 @@

Source:
@@ -34418,7 +35018,7 @@

Source:
@@ -34719,7 +35319,7 @@

Source:
@@ -34969,7 +35569,7 @@

updateHook<
Source:
@@ -35274,7 +35874,7 @@

upda
Source:
@@ -35579,7 +36179,7 @@

update
Source:
@@ -35884,7 +36484,7 @@

updat
Source:
@@ -36104,7 +36704,7 @@

Source:
@@ -36320,7 +36920,7 @@

u
Source:
@@ -36626,7 +37226,7 @@

updateRole<
Source:
@@ -37236,7 +37836,7 @@

u
Source:
@@ -37452,7 +38052,7 @@

updateUser<
Source:
@@ -37758,7 +38358,7 @@

upd
Source:
@@ -38067,7 +38667,7 @@

ver
Source:
@@ -38305,7 +38905,7 @@

Example

- Generated by JSDoc 3.6.6 on Tue Jan 05 2021 10:39:49 GMT-0800 (Pacific Standard Time) using the Minami theme. + Generated by JSDoc 3.6.6 on Thu Jan 21 2021 12:34:05 GMT-0800 (Pacific Standard Time) using the Minami theme.
diff --git a/docs/module-management.ManagementTokenProvider.html b/docs/module-management.ManagementTokenProvider.html index b621b25e3..4919f9306 100644 --- a/docs/module-management.ManagementTokenProvider.html +++ b/docs/module-management.ManagementTokenProvider.html @@ -24,7 +24,7 @@
@@ -673,7 +673,7 @@
Returns:

- Generated by JSDoc 3.6.6 on Tue Jan 05 2021 10:39:49 GMT-0800 (Pacific Standard Time) using the Minami theme. + Generated by JSDoc 3.6.6 on Thu Jan 21 2021 12:34:05 GMT-0800 (Pacific Standard Time) using the Minami theme.
diff --git a/docs/module-management.MigrationsManager.html b/docs/module-management.MigrationsManager.html index 38b1f4a2a..900408b09 100644 --- a/docs/module-management.MigrationsManager.html +++ b/docs/module-management.MigrationsManager.html @@ -24,7 +24,7 @@
@@ -885,7 +885,7 @@
Example

- Generated by JSDoc 3.6.6 on Tue Jan 05 2021 10:39:49 GMT-0800 (Pacific Standard Time) using the Minami theme. + Generated by JSDoc 3.6.6 on Thu Jan 21 2021 12:34:05 GMT-0800 (Pacific Standard Time) using the Minami theme.
diff --git a/docs/module-management.PromptsManager.html b/docs/module-management.PromptsManager.html index d4fbcdb43..ab697a17e 100644 --- a/docs/module-management.PromptsManager.html +++ b/docs/module-management.PromptsManager.html @@ -24,7 +24,7 @@
@@ -839,7 +839,7 @@

Source:
@@ -1712,7 +1712,7 @@

Source:
@@ -2257,7 +2257,7 @@
Example

- Generated by JSDoc 3.6.6 on Tue Jan 05 2021 10:39:49 GMT-0800 (Pacific Standard Time) using the Minami theme. + Generated by JSDoc 3.6.6 on Thu Jan 21 2021 12:34:05 GMT-0800 (Pacific Standard Time) using the Minami theme.
diff --git a/docs/module-management.ResourceServersManager.html b/docs/module-management.ResourceServersManager.html index 28b71a9cc..4ad894547 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.6.6 on Tue Jan 05 2021 10:39:49 GMT-0800 (Pacific Standard Time) using the Minami theme. + Generated by JSDoc 3.6.6 on Thu Jan 21 2021 12:34:05 GMT-0800 (Pacific Standard Time) using the Minami theme.
diff --git a/docs/module-management.RetryRestClient.html b/docs/module-management.RetryRestClient.html index 823c01c7a..aea29a357 100644 --- a/docs/module-management.RetryRestClient.html +++ b/docs/module-management.RetryRestClient.html @@ -24,7 +24,7 @@
@@ -417,7 +417,7 @@
Parameters:

- Generated by JSDoc 3.6.6 on Tue Jan 05 2021 10:39:49 GMT-0800 (Pacific Standard Time) using the Minami theme. + Generated by JSDoc 3.6.6 on Thu Jan 21 2021 12:34:05 GMT-0800 (Pacific Standard Time) using the Minami theme.
diff --git a/docs/module-management.RolesManager.html b/docs/module-management.RolesManager.html index b9ad9ff84..3f16d41df 100644 --- a/docs/module-management.RolesManager.html +++ b/docs/module-management.RolesManager.html @@ -24,7 +24,7 @@
@@ -925,7 +925,7 @@

assignRole
Source:
@@ -3651,7 +3651,7 @@

removeRole
Source:
@@ -4293,7 +4293,7 @@

Example

- Generated by JSDoc 3.6.6 on Tue Jan 05 2021 10:39:49 GMT-0800 (Pacific Standard Time) using the Minami theme. + Generated by JSDoc 3.6.6 on Thu Jan 21 2021 12:34:05 GMT-0800 (Pacific Standard Time) using the Minami theme.
diff --git a/docs/module-management.RulesConfigsManager.html b/docs/module-management.RulesConfigsManager.html index cab403ecf..18a1e2279 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.6.6 on Tue Jan 05 2021 10:39:49 GMT-0800 (Pacific Standard Time) using the Minami theme. + Generated by JSDoc 3.6.6 on Thu Jan 21 2021 12:34:05 GMT-0800 (Pacific Standard Time) using the Minami theme.
diff --git a/docs/module-management.RulesManager.html b/docs/module-management.RulesManager.html index 4ffc27c2c..2cecbae76 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.6.6 on Tue Jan 05 2021 10:39:49 GMT-0800 (Pacific Standard Time) using the Minami theme. + Generated by JSDoc 3.6.6 on Thu Jan 21 2021 12:34:05 GMT-0800 (Pacific Standard Time) using the Minami theme.
diff --git a/docs/module-management.StatsManager.html b/docs/module-management.StatsManager.html index 131f017f9..3c0ff047c 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.6.6 on Tue Jan 05 2021 10:39:49 GMT-0800 (Pacific Standard Time) using the Minami theme. + Generated by JSDoc 3.6.6 on Thu Jan 21 2021 12:34:05 GMT-0800 (Pacific Standard Time) using the Minami theme.
diff --git a/docs/module-management.TenantManager.html b/docs/module-management.TenantManager.html index d34535860..605faa889 100644 --- a/docs/module-management.TenantManager.html +++ b/docs/module-management.TenantManager.html @@ -24,7 +24,7 @@
@@ -871,7 +871,7 @@
Example

- Generated by JSDoc 3.6.6 on Tue Jan 05 2021 10:39:49 GMT-0800 (Pacific Standard Time) using the Minami theme. + Generated by JSDoc 3.6.6 on Thu Jan 21 2021 12:34:05 GMT-0800 (Pacific Standard Time) using the Minami theme.
diff --git a/docs/module-management.TicketsManager.html b/docs/module-management.TicketsManager.html index 48cd03071..4c5ef7eec 100644 --- a/docs/module-management.TicketsManager.html +++ b/docs/module-management.TicketsManager.html @@ -24,7 +24,7 @@
@@ -1121,7 +1121,7 @@
Example

- Generated by JSDoc 3.6.6 on Tue Jan 05 2021 10:39:49 GMT-0800 (Pacific Standard Time) using the Minami theme. + Generated by JSDoc 3.6.6 on Thu Jan 21 2021 12:34:05 GMT-0800 (Pacific Standard Time) using the Minami theme.
diff --git a/docs/module-management.UserBlocksManager.html b/docs/module-management.UserBlocksManager.html index 052151bb2..1fa15aa21 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.6.6 on Tue Jan 05 2021 10:39:49 GMT-0800 (Pacific Standard Time) using the Minami theme. + Generated by JSDoc 3.6.6 on Thu Jan 21 2021 12:34:05 GMT-0800 (Pacific Standard Time) using the Minami theme.
diff --git a/docs/module-management.UsersManager.html b/docs/module-management.UsersManager.html index 88cca3bac..3de798f41 100644 --- a/docs/module-management.UsersManager.html +++ b/docs/module-management.UsersManager.html @@ -24,7 +24,7 @@
@@ -101,7 +101,7 @@

new Users
Source:
@@ -381,7 +381,7 @@

(
Source:
@@ -455,7 +455,7 @@

(i
Source:
@@ -529,7 +529,7 @@

Source:
@@ -604,7 +604,7 @@

(
Source:
@@ -678,7 +678,7 @@

Source:
@@ -752,7 +752,7 @@

(inn
Source:
@@ -826,7 +826,7 @@

(inner
Source:
@@ -900,7 +900,7 @@

(inner) Source:
@@ -974,7 +974,7 @@

(inner) <
Source:
@@ -1058,7 +1058,7 @@

createSource:
@@ -1276,7 +1276,7 @@

deleteSource:
@@ -1547,7 +1547,7 @@

deleteAllSource:
@@ -1731,7 +1731,7 @@

Source:
@@ -2028,7 +2028,7 @@

getSource:
@@ -2293,7 +2293,7 @@

getAllSource:
@@ -2577,7 +2577,7 @@
Example
-

getByEmail(emailopt, cbopt) → {Promise|undefined}

+

getByEmail(emailopt, optionsopt, cbopt) → {Promise|undefined}

@@ -2620,7 +2620,7 @@

getByEmail<
Source:
@@ -2700,6 +2700,141 @@

Parameters:
+ + + options + + + + + +Object + + + + + + + + + <optional>
+ + + + + + + + + + + +

Additional options to pass to the endpoint

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
fields + + +String + + + + + + <optional>
+ + + + + +
+

Comma-separated list of fields to include or exclude in the result

+ +
include_fields + + +Boolean + + + + + + <optional>
+ + + + + +
+

Whether specified fields are to be included (true) or excluded (false). Defaults to true.

+ +
+ + + + + + + cb @@ -2841,7 +2976,7 @@

Source:
@@ -3106,7 +3241,7 @@

getPerm
Source:
@@ -3371,7 +3506,7 @@

getUserRo
Source:
@@ -3636,7 +3771,7 @@

Source:
@@ -3905,7 +4040,7 @@