diff --git a/CHANGELOG.md b/CHANGELOG.md index e11f0b6ea..94b064a0a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,14 @@ # Change Log +## [v3.3.0](https://github.com/auth0/node-auth0/tree/v3.3.0) (2023-03-14) + +[Full Changelog](https://github.com/auth0/node-auth0/compare/v3.2.0...v3.3.0) + +**Added** + +- [SDK-4013] Add API2 Factor Management Endpoints [\#791](https://github.com/auth0/node-auth0/pull/791) ([adamjmcgrath](https://github.com/adamjmcgrath)) +- ESM support [\#784](https://github.com/auth0/node-auth0/pull/784) ([btakita](https://github.com/btakita)) + ## [v3.2.0](https://github.com/auth0/node-auth0/tree/v3.2.0) (2023-02-09) [Full Changelog](https://github.com/auth0/node-auth0/compare/v3.1.2...v3.2.0) diff --git a/docs/ActionsManager.html b/docs/ActionsManager.html index bb32b82ba..8d622be12 100644 --- a/docs/ActionsManager.html +++ b/docs/ActionsManager.html @@ -24,7 +24,7 @@ @@ -4937,7 +4937,7 @@
Example

diff --git a/docs/AttackProtectionManager.html b/docs/AttackProtectionManager.html index 760a6726a..36b4a36d5 100644 --- a/docs/AttackProtectionManager.html +++ b/docs/AttackProtectionManager.html @@ -24,7 +24,7 @@ @@ -1807,7 +1807,7 @@
Example

diff --git a/docs/AuthenticationClient.html b/docs/AuthenticationClient.html index 495d671d0..b0a52af79 100644 --- a/docs/AuthenticationClient.html +++ b/docs/AuthenticationClient.html @@ -24,7 +24,7 @@ @@ -4730,7 +4730,7 @@
Examples

diff --git a/docs/BlacklistedTokensManager.html b/docs/BlacklistedTokensManager.html index 78651f329..0bc784df4 100644 --- a/docs/BlacklistedTokensManager.html +++ b/docs/BlacklistedTokensManager.html @@ -24,7 +24,7 @@ @@ -915,7 +915,7 @@
Example

diff --git a/docs/BrandingManager.html b/docs/BrandingManager.html index 8d03dee66..2a83156e9 100644 --- a/docs/BrandingManager.html +++ b/docs/BrandingManager.html @@ -24,7 +24,7 @@ @@ -3097,7 +3097,7 @@
Example

diff --git a/docs/ClientCredentialsManager.html b/docs/ClientCredentialsManager.html index 5a2a310c9..1bc3c46dc 100644 --- a/docs/ClientCredentialsManager.html +++ b/docs/ClientCredentialsManager.html @@ -24,7 +24,7 @@ @@ -1413,7 +1413,7 @@
Example

diff --git a/docs/ClientGrantsManager.html b/docs/ClientGrantsManager.html index 73ef41f19..a3245cf6f 100644 --- a/docs/ClientGrantsManager.html +++ b/docs/ClientGrantsManager.html @@ -24,7 +24,7 @@ @@ -1560,7 +1560,7 @@
Example

diff --git a/docs/ClientsManager.html b/docs/ClientsManager.html index dd5d270dd..8bfb6eb01 100644 --- a/docs/ClientsManager.html +++ b/docs/ClientsManager.html @@ -24,7 +24,7 @@ @@ -2178,7 +2178,7 @@
Example

diff --git a/docs/ConnectionsManager.html b/docs/ConnectionsManager.html index 4d72a1a34..a8f4a8afd 100644 --- a/docs/ConnectionsManager.html +++ b/docs/ConnectionsManager.html @@ -24,7 +24,7 @@ @@ -540,7 +540,7 @@

checkStatu
Source:
@@ -1033,7 +1033,7 @@

deleteSource:
@@ -1302,7 +1302,7 @@

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

getSource:
@@ -1866,7 +1866,7 @@

getAllSource:
@@ -2036,6 +2036,186 @@
Parameters:
+ + + + fields + + + + + +Array.<string> + + + + + + + + + <optional>
+ + + + + + + + + + + +

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

+ + + + + + + + + include_totals + + + + + +boolean + + + + + + + + + <optional>
+ + + + + + + + + + + +

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

+ + + + + + + + + strategy + + + + + +string + + + + + + + + + <optional>
+ + + + + + + + + + + +

Provide strategies to only retrieve connections with such strategies

+ + + + + + + + + name + + + + + +string + + + + + + + + + <optional>
+ + + + + + + + + + + +

Provide the name of the connection to retrieve

+ + + + + @@ -2193,7 +2373,7 @@

updateSource:
@@ -2468,7 +2648,7 @@
Example

- Generated by JSDoc 3.6.11 on Thu Feb 09 2023 07:23:37 GMT-0400 (Atlantic Standard Time) using the Minami theme. + Generated by JSDoc 3.6.11 on Tue Mar 14 2023 14:29:57 GMT+0000 (Greenwich Mean Time) using the Minami theme.
diff --git a/docs/CustomDomainsManager.html b/docs/CustomDomainsManager.html index 044445aaf..4e8ae66a0 100644 --- a/docs/CustomDomainsManager.html +++ b/docs/CustomDomainsManager.html @@ -24,7 +24,7 @@ @@ -1655,7 +1655,7 @@
Example

- Generated by JSDoc 3.6.11 on Thu Feb 09 2023 07:23:37 GMT-0400 (Atlantic Standard Time) using the Minami theme. + Generated by JSDoc 3.6.11 on Tue Mar 14 2023 14:29:57 GMT+0000 (Greenwich Mean Time) using the Minami theme.
diff --git a/docs/DatabaseAuthenticator.html b/docs/DatabaseAuthenticator.html index 1b625692b..9d3a771ef 100644 --- a/docs/DatabaseAuthenticator.html +++ b/docs/DatabaseAuthenticator.html @@ -24,7 +24,7 @@ @@ -1722,7 +1722,7 @@
Example

- Generated by JSDoc 3.6.11 on Thu Feb 09 2023 07:23:37 GMT-0400 (Atlantic Standard Time) using the Minami theme. + Generated by JSDoc 3.6.11 on Tue Mar 14 2023 14:29:57 GMT+0000 (Greenwich Mean Time) using the Minami theme.
diff --git a/docs/DeviceCredentialsManager.html b/docs/DeviceCredentialsManager.html index 490ca293d..77e1e9eff 100644 --- a/docs/DeviceCredentialsManager.html +++ b/docs/DeviceCredentialsManager.html @@ -24,7 +24,7 @@ @@ -1139,7 +1139,7 @@
Example

- Generated by JSDoc 3.6.11 on Thu Feb 09 2023 07:23:37 GMT-0400 (Atlantic Standard Time) using the Minami theme. + Generated by JSDoc 3.6.11 on Tue Mar 14 2023 14:29:57 GMT+0000 (Greenwich Mean Time) using the Minami theme.
diff --git a/docs/EmailProviderManager.html b/docs/EmailProviderManager.html index e225aaa5b..4f846d697 100644 --- a/docs/EmailProviderManager.html +++ b/docs/EmailProviderManager.html @@ -24,7 +24,7 @@ @@ -1404,7 +1404,7 @@
Example

- Generated by JSDoc 3.6.11 on Thu Feb 09 2023 07:23:37 GMT-0400 (Atlantic Standard Time) using the Minami theme. + Generated by JSDoc 3.6.11 on Tue Mar 14 2023 14:29:57 GMT+0000 (Greenwich Mean Time) using the Minami theme.
diff --git a/docs/EmailTemplatesManager.html b/docs/EmailTemplatesManager.html index b0272c356..d4302a9ea 100644 --- a/docs/EmailTemplatesManager.html +++ b/docs/EmailTemplatesManager.html @@ -24,7 +24,7 @@ @@ -1228,7 +1228,7 @@
Example

- Generated by JSDoc 3.6.11 on Thu Feb 09 2023 07:23:37 GMT-0400 (Atlantic Standard Time) using the Minami theme. + Generated by JSDoc 3.6.11 on Tue Mar 14 2023 14:29:57 GMT+0000 (Greenwich Mean Time) using the Minami theme.
diff --git a/docs/GrantsManager.html b/docs/GrantsManager.html index 8ea4b1dd8..119b9d550 100644 --- a/docs/GrantsManager.html +++ b/docs/GrantsManager.html @@ -24,7 +24,7 @@ @@ -1139,7 +1139,7 @@
Example

- Generated by JSDoc 3.6.11 on Thu Feb 09 2023 07:23:37 GMT-0400 (Atlantic Standard Time) using the Minami theme. + Generated by JSDoc 3.6.11 on Tue Mar 14 2023 14:29:57 GMT+0000 (Greenwich Mean Time) using the Minami theme.
diff --git a/docs/GuardianManager.html b/docs/GuardianManager.html index 8e80ef645..638ed15c6 100644 --- a/docs/GuardianManager.html +++ b/docs/GuardianManager.html @@ -24,7 +24,7 @@ @@ -4919,7 +4919,7 @@
Example

- Generated by JSDoc 3.6.11 on Thu Feb 09 2023 07:23:37 GMT-0400 (Atlantic Standard Time) using the Minami theme. + Generated by JSDoc 3.6.11 on Tue Mar 14 2023 14:29:57 GMT+0000 (Greenwich Mean Time) using the Minami theme.
diff --git a/docs/HooksManager.html b/docs/HooksManager.html index 2094ac36e..ed2e591be 100644 --- a/docs/HooksManager.html +++ b/docs/HooksManager.html @@ -24,7 +24,7 @@ @@ -3023,7 +3023,7 @@
Example

- Generated by JSDoc 3.6.11 on Thu Feb 09 2023 07:23:37 GMT-0400 (Atlantic Standard Time) using the Minami theme. + Generated by JSDoc 3.6.11 on Tue Mar 14 2023 14:29:57 GMT+0000 (Greenwich Mean Time) using the Minami theme.
diff --git a/docs/JobsManager.html b/docs/JobsManager.html index 201fd147f..8f1a20da8 100644 --- a/docs/JobsManager.html +++ b/docs/JobsManager.html @@ -24,7 +24,7 @@ @@ -2870,7 +2870,7 @@
Example

- Generated by JSDoc 3.6.11 on Thu Feb 09 2023 07:23:37 GMT-0400 (Atlantic Standard Time) using the Minami theme. + Generated by JSDoc 3.6.11 on Tue Mar 14 2023 14:29:57 GMT+0000 (Greenwich Mean Time) using the Minami theme.
diff --git a/docs/LogStreamsManager.html b/docs/LogStreamsManager.html index 4b5e261b1..99e546ca6 100644 --- a/docs/LogStreamsManager.html +++ b/docs/LogStreamsManager.html @@ -24,7 +24,7 @@ @@ -1687,7 +1687,7 @@
Example

- Generated by JSDoc 3.6.11 on Thu Feb 09 2023 07:23:37 GMT-0400 (Atlantic Standard Time) using the Minami theme. + Generated by JSDoc 3.6.11 on Tue Mar 14 2023 14:29:57 GMT+0000 (Greenwich Mean Time) using the Minami theme.
diff --git a/docs/LogsManager.html b/docs/LogsManager.html index a96ad80a2..3e12a382b 100644 --- a/docs/LogsManager.html +++ b/docs/LogsManager.html @@ -24,7 +24,7 @@ @@ -1282,7 +1282,7 @@
Example

- Generated by JSDoc 3.6.11 on Thu Feb 09 2023 07:23:37 GMT-0400 (Atlantic Standard Time) using the Minami theme. + Generated by JSDoc 3.6.11 on Tue Mar 14 2023 14:29:57 GMT+0000 (Greenwich Mean Time) using the Minami theme.
diff --git a/docs/ManagementClient.html b/docs/ManagementClient.html index 71e65ee71..3687a8bb8 100644 --- a/docs/ManagementClient.html +++ b/docs/ManagementClient.html @@ -24,7 +24,7 @@ @@ -167,8 +167,8 @@
Parameters:

Options for the ManagementClient SDK. If a token is provided only the domain is required, other parameters are ignored. -If no token is provided domain, clientId, clientSecret (or clientAssertionSigningKey) -and scopes are required

+If no token is provided domain, clientId and clientSecret (or clientAssertionSigningKey) +are required.

@@ -41804,7 +41804,7 @@
Example

- Generated by JSDoc 3.6.11 on Thu Feb 09 2023 07:23:37 GMT-0400 (Atlantic Standard Time) using the Minami theme. + Generated by JSDoc 3.6.11 on Tue Mar 14 2023 14:29:57 GMT+0000 (Greenwich Mean Time) using the Minami theme.
diff --git a/docs/ManagementTokenProvider.html b/docs/ManagementTokenProvider.html index 94d0ebae2..d089d9f4a 100644 --- a/docs/ManagementTokenProvider.html +++ b/docs/ManagementTokenProvider.html @@ -24,7 +24,7 @@ @@ -787,7 +787,7 @@
Returns:

- Generated by JSDoc 3.6.11 on Thu Feb 09 2023 07:23:37 GMT-0400 (Atlantic Standard Time) using the Minami theme. + Generated by JSDoc 3.6.11 on Tue Mar 14 2023 14:29:57 GMT+0000 (Greenwich Mean Time) using the Minami theme.
diff --git a/docs/MigrationsManager.html b/docs/MigrationsManager.html index 20b0842c2..3eb134dfa 100644 --- a/docs/MigrationsManager.html +++ b/docs/MigrationsManager.html @@ -24,7 +24,7 @@ @@ -913,7 +913,7 @@
Example

- Generated by JSDoc 3.6.11 on Thu Feb 09 2023 07:23:37 GMT-0400 (Atlantic Standard Time) using the Minami theme. + Generated by JSDoc 3.6.11 on Tue Mar 14 2023 14:29:57 GMT+0000 (Greenwich Mean Time) using the Minami theme.
diff --git a/docs/OAUthWithIDTokenValidation.html b/docs/OAUthWithIDTokenValidation.html index 5effa83c3..422360eaf 100644 --- a/docs/OAUthWithIDTokenValidation.html +++ b/docs/OAUthWithIDTokenValidation.html @@ -24,7 +24,7 @@ @@ -692,7 +692,7 @@
Returns:

- Generated by JSDoc 3.6.11 on Thu Feb 09 2023 07:23:37 GMT-0400 (Atlantic Standard Time) using the Minami theme. + Generated by JSDoc 3.6.11 on Tue Mar 14 2023 14:29:57 GMT+0000 (Greenwich Mean Time) using the Minami theme.
diff --git a/docs/OAuthAuthenticator.html b/docs/OAuthAuthenticator.html index 72c18e73a..d2b8809e7 100644 --- a/docs/OAuthAuthenticator.html +++ b/docs/OAuthAuthenticator.html @@ -24,7 +24,7 @@ @@ -2277,7 +2277,7 @@
Returns:

- Generated by JSDoc 3.6.11 on Thu Feb 09 2023 07:23:37 GMT-0400 (Atlantic Standard Time) using the Minami theme. + Generated by JSDoc 3.6.11 on Tue Mar 14 2023 14:29:57 GMT+0000 (Greenwich Mean Time) using the Minami theme.
diff --git a/docs/OrganizationsManager.html b/docs/OrganizationsManager.html index e83ad3ec1..3e1296cbb 100644 --- a/docs/OrganizationsManager.html +++ b/docs/OrganizationsManager.html @@ -24,7 +24,7 @@ @@ -7826,7 +7826,7 @@
Example

- Generated by JSDoc 3.6.11 on Thu Feb 09 2023 07:23:37 GMT-0400 (Atlantic Standard Time) using the Minami theme. + Generated by JSDoc 3.6.11 on Tue Mar 14 2023 14:29:57 GMT+0000 (Greenwich Mean Time) using the Minami theme.
diff --git a/docs/PasswordlessAuthenticator.html b/docs/PasswordlessAuthenticator.html index 239412d80..51d41e282 100644 --- a/docs/PasswordlessAuthenticator.html +++ b/docs/PasswordlessAuthenticator.html @@ -24,7 +24,7 @@ @@ -1948,7 +1948,7 @@
Examples

- Generated by JSDoc 3.6.11 on Thu Feb 09 2023 07:23:37 GMT-0400 (Atlantic Standard Time) using the Minami theme. + Generated by JSDoc 3.6.11 on Tue Mar 14 2023 14:29:57 GMT+0000 (Greenwich Mean Time) using the Minami theme.
diff --git a/docs/PromptsManager.html b/docs/PromptsManager.html index 19ae03d02..1375d2539 100644 --- a/docs/PromptsManager.html +++ b/docs/PromptsManager.html @@ -24,7 +24,7 @@ @@ -1635,7 +1635,7 @@
Example

- Generated by JSDoc 3.6.11 on Thu Feb 09 2023 07:23:37 GMT-0400 (Atlantic Standard Time) using the Minami theme. + Generated by JSDoc 3.6.11 on Tue Mar 14 2023 14:29:57 GMT+0000 (Greenwich Mean Time) using the Minami theme.
diff --git a/docs/ResourceServersManager.html b/docs/ResourceServersManager.html index ed5bd84aa..4f08ae421 100644 --- a/docs/ResourceServersManager.html +++ b/docs/ResourceServersManager.html @@ -24,7 +24,7 @@ @@ -1828,7 +1828,7 @@
Example

- Generated by JSDoc 3.6.11 on Thu Feb 09 2023 07:23:37 GMT-0400 (Atlantic Standard Time) using the Minami theme. + Generated by JSDoc 3.6.11 on Tue Mar 14 2023 14:29:57 GMT+0000 (Greenwich Mean Time) using the Minami theme.
diff --git a/docs/RestClient%0A%7B@link%20https___github.com_ngonzalvez_rest-facade%7Dexternal_.html b/docs/RestClient%250A%257B@link%2520https___github.com_ngonzalvez_rest-facade%257Dexternal_.html similarity index 92% rename from docs/RestClient%0A%7B@link%20https___github.com_ngonzalvez_rest-facade%7Dexternal_.html rename to docs/RestClient%250A%257B@link%2520https___github.com_ngonzalvez_rest-facade%257Dexternal_.html index acfc43242..84dfeb3de 100644 --- a/docs/RestClient%0A%7B@link%20https___github.com_ngonzalvez_rest-facade%7Dexternal_.html +++ b/docs/RestClient%250A%257B@link%2520https___github.com_ngonzalvez_rest-facade%257Dexternal_.html @@ -25,7 +25,7 @@ @@ -124,6 +124,100 @@

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

+ RestClient +https://github.com/ngonzalvez/rest-facade +

+ + +
+ +
+
+ + +

Simple facade for consuming a REST API endpoint.

+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + +
+ + + + + + + + + + + + + + + + + +
@@ -136,7 +230,7 @@


- Generated by JSDoc 3.6.11 on Thu Feb 09 2023 07:23:37 GMT-0400 (Atlantic Standard Time) using the Minami theme. + Generated by JSDoc 3.6.11 on Tue Mar 14 2023 14:29:57 GMT+0000 (Greenwich Mean Time) using the Minami theme.
diff --git a/docs/RetryRestClient.html b/docs/RetryRestClient.html index cf939ccae..008826d00 100644 --- a/docs/RetryRestClient.html +++ b/docs/RetryRestClient.html @@ -24,7 +24,7 @@ @@ -377,7 +377,7 @@

Parameters:

- Generated by JSDoc 3.6.11 on Thu Feb 09 2023 07:23:37 GMT-0400 (Atlantic Standard Time) using the Minami theme. + Generated by JSDoc 3.6.11 on Tue Mar 14 2023 14:29:57 GMT+0000 (Greenwich Mean Time) using the Minami theme.
diff --git a/docs/RetryRestClient.js.html b/docs/RetryRestClient.js.html index 959a06e70..31aa20506 100644 --- a/docs/RetryRestClient.js.html +++ b/docs/RetryRestClient.js.html @@ -24,7 +24,7 @@ @@ -157,7 +157,7 @@

RetryRestClient.js


- Generated by JSDoc 3.6.11 on Thu Feb 09 2023 07:23:37 GMT-0400 (Atlantic Standard Time) using the Minami theme. + Generated by JSDoc 3.6.11 on Tue Mar 14 2023 14:29:57 GMT+0000 (Greenwich Mean Time) using the Minami theme.
diff --git a/docs/RolesManager.html b/docs/RolesManager.html index c0c07aca4..af0eee8be 100644 --- a/docs/RolesManager.html +++ b/docs/RolesManager.html @@ -24,7 +24,7 @@ @@ -3633,7 +3633,7 @@
Example

- Generated by JSDoc 3.6.11 on Thu Feb 09 2023 07:23:37 GMT-0400 (Atlantic Standard Time) using the Minami theme. + Generated by JSDoc 3.6.11 on Tue Mar 14 2023 14:29:57 GMT+0000 (Greenwich Mean Time) using the Minami theme.
diff --git a/docs/RulesConfigsManager.html b/docs/RulesConfigsManager.html index fd81730d1..d0e166a13 100644 --- a/docs/RulesConfigsManager.html +++ b/docs/RulesConfigsManager.html @@ -24,7 +24,7 @@ @@ -1241,7 +1241,7 @@
Example

- Generated by JSDoc 3.6.11 on Thu Feb 09 2023 07:23:37 GMT-0400 (Atlantic Standard Time) using the Minami theme. + Generated by JSDoc 3.6.11 on Tue Mar 14 2023 14:29:57 GMT+0000 (Greenwich Mean Time) using the Minami theme.
diff --git a/docs/RulesManager.html b/docs/RulesManager.html index 4258deef3..e0555ea33 100644 --- a/docs/RulesManager.html +++ b/docs/RulesManager.html @@ -24,7 +24,7 @@ @@ -1834,7 +1834,7 @@
Example

- Generated by JSDoc 3.6.11 on Thu Feb 09 2023 07:23:37 GMT-0400 (Atlantic Standard Time) using the Minami theme. + Generated by JSDoc 3.6.11 on Tue Mar 14 2023 14:29:57 GMT+0000 (Greenwich Mean Time) using the Minami theme.
diff --git a/docs/StatsManager.html b/docs/StatsManager.html index 842303777..015feb436 100644 --- a/docs/StatsManager.html +++ b/docs/StatsManager.html @@ -24,7 +24,7 @@ @@ -918,7 +918,7 @@
Example

- Generated by JSDoc 3.6.11 on Thu Feb 09 2023 07:23:37 GMT-0400 (Atlantic Standard Time) using the Minami theme. + Generated by JSDoc 3.6.11 on Tue Mar 14 2023 14:29:57 GMT+0000 (Greenwich Mean Time) using the Minami theme.
diff --git a/docs/TenantManager.html b/docs/TenantManager.html index d5300678b..70f46ff3c 100644 --- a/docs/TenantManager.html +++ b/docs/TenantManager.html @@ -24,7 +24,7 @@ @@ -870,7 +870,7 @@
Example

- Generated by JSDoc 3.6.11 on Thu Feb 09 2023 07:23:37 GMT-0400 (Atlantic Standard Time) using the Minami theme. + Generated by JSDoc 3.6.11 on Tue Mar 14 2023 14:29:57 GMT+0000 (Greenwich Mean Time) using the Minami theme.
diff --git a/docs/TicketsManager.html b/docs/TicketsManager.html index ffbf34434..cdd9c6ae8 100644 --- a/docs/TicketsManager.html +++ b/docs/TicketsManager.html @@ -24,7 +24,7 @@ @@ -1577,7 +1577,7 @@
Example

- Generated by JSDoc 3.6.11 on Thu Feb 09 2023 07:23:37 GMT-0400 (Atlantic Standard Time) using the Minami theme. + Generated by JSDoc 3.6.11 on Tue Mar 14 2023 14:29:57 GMT+0000 (Greenwich Mean Time) using the Minami theme.
diff --git a/docs/TokensManager.html b/docs/TokensManager.html index 9f200b33d..b7075d40b 100644 --- a/docs/TokensManager.html +++ b/docs/TokensManager.html @@ -24,7 +24,7 @@ @@ -1474,7 +1474,7 @@
Example

- Generated by JSDoc 3.6.11 on Thu Feb 09 2023 07:23:37 GMT-0400 (Atlantic Standard Time) using the Minami theme. + Generated by JSDoc 3.6.11 on Tue Mar 14 2023 14:29:57 GMT+0000 (Greenwich Mean Time) using the Minami theme.
diff --git a/docs/UserBlocksManager.html b/docs/UserBlocksManager.html index aa79fd85c..bc99d159b 100644 --- a/docs/UserBlocksManager.html +++ b/docs/UserBlocksManager.html @@ -24,7 +24,7 @@ @@ -1431,7 +1431,7 @@
Example

- Generated by JSDoc 3.6.11 on Thu Feb 09 2023 07:23:37 GMT-0400 (Atlantic Standard Time) using the Minami theme. + Generated by JSDoc 3.6.11 on Tue Mar 14 2023 14:29:57 GMT+0000 (Greenwich Mean Time) using the Minami theme.
diff --git a/docs/UsersManager.html b/docs/UsersManager.html index 550f4afa3..07960d55b 100644 --- a/docs/UsersManager.html +++ b/docs/UsersManager.html @@ -24,7 +24,7 @@ @@ -1131,7 +1131,7 @@

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

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

createSource:
@@ -2020,14 +2020,14 @@
Example
-

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

+

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

-

Delete a user by its id.

+

Creates an authentication method for a given user.

@@ -2063,7 +2063,7 @@

deleteSource:
@@ -2134,7 +2134,7 @@
Parameters:
-

The user data object..

+

The user data object.

@@ -2194,13 +2194,13 @@
Parameters:
- cb + data -function +object @@ -2209,8 +2209,6 @@
Parameters:
- <optional>
- @@ -2221,162 +2219,12 @@
Parameters:
-

Callback function

+

Authentication method data.

- - - - - - - - - - - - - - - - -
-
Returns:
- - - -
-
- Type: -
-
- -Promise -| - -undefined - - -
-
- - - -
- - - -
-
Example
- -
management.users.delete({ id: USER_ID }, function (err) {
-  if (err) {
-    // Handle error.
-  }
-
-  // User deleted.
-});
- -
- - - - -
- - - -

deleteAll(cbopt) → {Promise|undefined}

- - - - - -
-

Delete all users.

-
- - - - - -
- - - - - - - - - - - - - - - - -
Deprecated:
  • This method will be removed in the next major release.
- - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - @@ -2407,7 +2255,7 @@
Parameters:
@@ -2455,19 +2303,6 @@
Returns:
-
-
Example
- -
management.users.deleteAll(function (err) {
-  if (err) {
-    // Handle error.
-  }
-
-  // Users deleted
-});
- -
- @@ -2475,14 +2310,14 @@
Example
-

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

+

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

-

Delete a multifactor provider.

+

Delete a user by its id.

@@ -2518,7 +2353,7 @@

Source:
@@ -2589,7 +2424,7 @@
Parameters:

- - - - - - - - - - - - - - - -
NameTypeAttributesDescription
-

Callback function

+

Callback function.

-

Data object.

+

The user data object..

@@ -2638,32 +2473,6 @@
Parameters:
provider - - -string - - - - -

Multifactor provider.

- -
@@ -2753,14 +2562,12 @@
Returns:
Example
-
var params = { id: USER_ID, provider: MULTIFACTOR_PROVIDER };
-
-management.users.deleteMultifactorProvider(params, function (err, user) {
+    
management.users.delete({ id: USER_ID }, function (err) {
   if (err) {
     // Handle error.
   }
 
-  // Users accounts unlinked.
+  // User deleted.
 });
@@ -2772,14 +2579,14 @@
Example
-

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

+

deleteAll(cbopt) → {Promise|undefined}

-

Get a user by its id.

+

Delete all users.

@@ -2803,6 +2610,8 @@

getDeprecated:
  • This method will be removed in the next major release.
+ @@ -2815,7 +2624,7 @@

getSource:
@@ -2861,13 +2670,13 @@
Parameters:
- data + cb -object +function @@ -2876,6 +2685,8 @@
Parameters:
+ <optional>
+ @@ -2886,101 +2697,14 @@
Parameters:
-

The user data object.

+

Callback function

- + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
id - - -string - - - - -

The user id.

- -
- - - - - - - - - - cb - - - - - -function - - - - - - - - - <optional>
- - - - - - - - - - - -

Callback function.

- - - - - - - + + + @@ -3024,8 +2748,12 @@
Returns:
Example
-
management.users.get({ id: USER_ID }, function (err, user) {
-  console.log(user);
+    
management.users.deleteAll(function (err) {
+  if (err) {
+    // Handle error.
+  }
+
+  // Users deleted
 });
@@ -3037,14 +2765,14 @@
Example
-

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

+

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

-

Get all users.

+

Deletes an authentication method by ID.

@@ -3080,7 +2808,7 @@

getAllSource:
@@ -3141,8 +2869,6 @@
Parameters:
- <optional>
- @@ -3153,7 +2879,7 @@
Parameters:
-

Users params.

+

The user data object.

@@ -3167,8 +2893,6 @@
Parameters:
Type - Attributes - @@ -3181,34 +2905,58 @@
Parameters:
- per_page + id -number +string - - - <optional>
- + + + +

The user id.

+ + + + + + + + authentication_method_id + + + - +string + + + + + -

Number of results per page.

+

The authentication method id.

+ + + + + + + + @@ -3217,13 +2965,13 @@
Parameters:
- page + data -number +object @@ -3232,8 +2980,6 @@
Parameters:
- <optional>
- @@ -3244,15 +2990,7 @@
Parameters:
-

Page number, zero indexed.

- - - - - - - - +

Updated authentication method data.

@@ -3336,27 +3074,6 @@
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: 0
-};
-
-management.users.getAll(params, function (err, users) {
-  console.log(users.length);
-});
- -
-

@@ -3364,14 +3081,14 @@
Example
-

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

+

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

-

Get Users by an Email Address

+

Deletes all authentication methods for the given user.

@@ -3407,7 +3124,7 @@

getByEmail<
Source:
@@ -3453,43 +3170,7 @@

Parameters:
- email - - - - - -string - - - - - - - - - <optional>
- - - - - - - - - - - -

Email address of user(s) to find

- - - - - - - - - options + params @@ -3504,8 +3185,6 @@
Parameters:
- <optional>
- @@ -3516,7 +3195,7 @@
Parameters:
-

Additional options to pass to the endpoint

+

The user data object.

@@ -3530,8 +3209,6 @@
Parameters:
Type - Attributes - @@ -3544,7 +3221,7 @@
Parameters:
- fields + id @@ -3557,57 +3234,11 @@
Parameters:
- - - <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.

+

The user id.

@@ -3699,20 +3330,6 @@
Returns:
-
-
Example
- -

- This method takes a first argument as the Email address to look for - users, and uses the /users-by-email API, not the search API -

- -
management.users.getByEmail('email@address', function (err, users) {
-  console.log(users);
-});
- -
- @@ -3720,14 +3337,14 @@
Example
-

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

+

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

-

Get a list of Guardian enrollments.

+

Delete a multifactor provider.

@@ -3763,7 +3380,7 @@

Source:
@@ -3809,7 +3426,7 @@

Parameters:
- data + params @@ -3834,7 +3451,7 @@
Parameters:
-

The user data object.

+

Data object.

@@ -3883,6 +3500,32 @@
Parameters:
+ + + + provider + + + + + +string + + + + + + + + + + +

Multifactor provider.

+ + + + + @@ -3921,7 +3564,7 @@
Parameters:
-

Callback function.

+

Callback function

@@ -3972,8 +3615,14 @@
Returns:
Example
-
management.users.getGuardianEnrollments({ id: USER_ID }, function (err, enrollments) {
-  console.log(enrollments);
+    
var params = { id: USER_ID, provider: MULTIFACTOR_PROVIDER };
+
+management.users.deleteMultifactorProvider(params, function (err, user) {
+  if (err) {
+    // Handle error.
+  }
+
+  // Users accounts unlinked.
 });
@@ -3985,14 +3634,14 @@
Example
-

getInfo(accessToken, cbopt) → {Promise|undefined}

+

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

-

Given an access token get the user profile linked to it.

+

Get a user by its id.

@@ -4028,7 +3677,7 @@

getInfoSource:
@@ -4074,13 +3723,13 @@
Parameters:
- accessToken + data -string +object @@ -4099,7 +3748,58 @@
Parameters:
-

User access token.

+

The user data object.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
id + + +string + + + + +

The user id.

+ +
+ @@ -4186,18 +3886,8 @@
Returns:
Example
-

- Get the user information based on the Auth0 access token (obtained during - login). Find more information in the - API Docs. -

- -
auth0.users.getInfo(accessToken, function (err, userInfo) {
-  if (err) {
-    // Handle error.
-  }
-
-  console.log(userInfo);
+    
management.users.get({ id: USER_ID }, function (err, user) {
+  console.log(user);
 });
@@ -4209,14 +3899,14 @@
Example
-

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

+

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

-

Get a list of permissions for a user.

+

Get all users.

@@ -4252,7 +3942,7 @@

getPerm
Source:
@@ -4298,7 +3988,7 @@

Parameters:
- data + params @@ -4313,6 +4003,8 @@
Parameters:
+ <optional>
+ @@ -4323,7 +4015,7 @@
Parameters:
-

The user data object.

+

Users params.

@@ -4337,6 +4029,8 @@
Parameters:
Type + Attributes + @@ -4349,24 +4043,70 @@
Parameters:
- id + per_page -string +number + + + <optional>
+ + + + + + + -

The user id.

+

Number of results per page.

+ + + + + + + + + page + + + + + +number + + + + + + + + + <optional>
+ + + + + + + + + + + +

Page number, zero indexed.

@@ -4461,8 +4201,20 @@
Returns:
Example
-
management.users.getPermissions({ id: USER_ID }, function (err, permissions) {
-  console.log(permissions);
+        

+ 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: 0
+};
+
+management.users.getAll(params, function (err, users) {
+  console.log(users.length);
 });
@@ -4474,14 +4226,14 @@
Example
-

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

+

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

-

Get a list of roles for a user.

+

Gets an authentication method by ID.

@@ -4517,7 +4269,7 @@

getRolesSource:
@@ -4563,7 +4315,7 @@
Parameters:
- data + params @@ -4637,6 +4389,32 @@
Parameters:
+ + + + authentication_method_id + + + + + +string + + + + + + + + + + +

The authentication method id.

+ + + + + @@ -4723,15 +4501,6 @@
Returns:
-
-
Example
- -
management.users.getRoles({ id: USER_ID }, function (err, roles) {
-  console.log(roles);
-});
- -
- @@ -4739,14 +4508,14 @@
Example
-

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

+

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

-

Get a list of organizations for a user.

+

Gets a list of authentication methods.

@@ -4782,7 +4551,7 @@

g
Source:
@@ -4828,7 +4597,7 @@

Parameters:
- data + params @@ -4988,15 +4757,6 @@
Returns:
-
-
Example
- -
management.users.getUserOrganizations({ id: USER_ID }, function (err, orgs) {
-  console.log(orgs);
-});
- -
- @@ -5004,14 +4764,14 @@
Example
-

impersonate(userId, settings, cbopt) → {Promise|undefined}

+

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

-

Impersonate the user with the given user ID.

+

Get Users by an Email Address

@@ -5047,7 +4807,7 @@

impersonat
Source:
@@ -5093,7 +4853,7 @@

Parameters:
- userId + email @@ -5108,6 +4868,8 @@
Parameters:
+ <optional>
+ @@ -5118,7 +4880,7 @@
Parameters:
-

User ID token.

+

Email address of user(s) to find

@@ -5127,7 +4889,7 @@
Parameters:
- settings + options @@ -5142,6 +4904,8 @@
Parameters:
+ <optional>
+ @@ -5152,7 +4916,7 @@
Parameters:
-

Impersonation settings.

+

Additional options to pass to the endpoint

@@ -5180,41 +4944,7 @@
Parameters:
- impersonator_id - - - - - -string - - - - - - - - - - - - - - - - - - -

Impersonator user ID.

- - - - - - - - - protocol + fields @@ -5229,39 +4959,7 @@
Parameters:
- - - - - - - - - - -

The authentication protocol.

- - - - - - - - - token - - - - - -string - - - - - - - + <optional>
@@ -5273,7 +4971,7 @@
Parameters:
-

API v1 token obtained for impersonation

+

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

@@ -5282,13 +4980,13 @@
Parameters:
- clientId + include_fields -string +boolean @@ -5309,7 +5007,7 @@
Parameters:
-

Client id used for impersonation. Uses the one supplied in the constructor by default.

+

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

@@ -5405,23 +5103,12 @@
Returns:
Example

- Gets a link that can be used once to log in as a specific user. Useful for - troubleshooting. Find more information in the - [API Docs](https://auth0.com/docs/auth-api#!#post--users--user_id--impersonate). + This method takes a first argument as the Email address to look for + users, and uses the /users-by-email API, not the search API

-
var settings = {
-  impersonator_id: '{IMPERSONATOR_ID}',
-  protocol: 'oauth2',
-  additionalParameters: {}  // Optional additional params.
-};
-
-auth0.users.impersonate(userId, settings, function (err, link) {
-  if (err) {
-    // Handle error.
-  }
-
-  console.log(link);
+    
management.users.getByEmail('email@address', function (err, users) {
+  console.log(users);
 });
@@ -5433,14 +5120,14 @@
Example
-

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

+

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

-

Invalidate all remembered browsers for MFA.

+

Get a list of Guardian enrollments.

@@ -5476,7 +5163,7 @@

Source:
@@ -5522,7 +5209,7 @@
Parameters:
- params + data @@ -5685,12 +5372,8 @@
Returns:
Example
-
management.users.invalidateRememberBrowser({ id: USER_ID }, function (err, result) {
-  if (err) {
-    // Handle error.
-  }
-
-  // Invalidated all remembered browsers.
+    
management.users.getGuardianEnrollments({ id: USER_ID }, function (err, enrollments) {
+  console.log(enrollments);
 });
@@ -5702,14 +5385,14 @@
Example
- +

getInfo(accessToken, cbopt) → {Promise|undefined}

-

Link the user with another account.

+

Given an access token get the user profile linked to it.

@@ -5745,7 +5428,7 @@