@pulumi/auth0 3.3.0 → 3.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/action.d.ts +6 -6
- package/action.js +3 -3
- package/attackProtection.d.ts +20 -20
- package/attackProtection.js +20 -20
- package/branding.d.ts +3 -22
- package/branding.js +3 -22
- package/branding.js.map +1 -1
- package/brandingTheme.d.ts +1 -82
- package/brandingTheme.js +1 -82
- package/brandingTheme.js.map +1 -1
- package/client.d.ts +48 -48
- package/client.js +43 -43
- package/clientCredentials.d.ts +3 -73
- package/clientCredentials.js +3 -55
- package/clientCredentials.js.map +1 -1
- package/clientGrant.d.ts +2 -2
- package/clientGrant.js +2 -2
- package/connection.d.ts +467 -91
- package/connection.js +464 -88
- package/connection.js.map +1 -1
- package/connectionClient.d.ts +9 -6
- package/connectionClient.js +9 -6
- package/connectionClient.js.map +1 -1
- package/connectionClients.d.ts +8 -5
- package/connectionClients.js +8 -5
- package/connectionClients.js.map +1 -1
- package/customDomain.d.ts +4 -4
- package/customDomain.js +4 -4
- package/customDomainVerification.d.ts +1 -9
- package/customDomainVerification.js +1 -1
- package/customDomainVerification.js.map +1 -1
- package/emailProvider.d.ts +3 -39
- package/emailProvider.js +3 -39
- package/emailProvider.js.map +1 -1
- package/emailTemplate.d.ts +9 -8
- package/emailTemplate.js +9 -8
- package/emailTemplate.js.map +1 -1
- package/getClient.d.ts +16 -0
- package/getClient.js +4 -0
- package/getClient.js.map +1 -1
- package/getConnection.d.ts +10 -0
- package/getConnection.js +4 -0
- package/getConnection.js.map +1 -1
- package/getOrganization.d.ts +4 -0
- package/getOrganization.js +4 -0
- package/getOrganization.js.map +1 -1
- package/getResourceServer.d.ts +4 -0
- package/getResourceServer.js +4 -0
- package/getResourceServer.js.map +1 -1
- package/getRole.d.ts +10 -0
- package/getRole.js +4 -0
- package/getRole.js.map +1 -1
- package/getUser.d.ts +2 -0
- package/getUser.js +2 -0
- package/getUser.js.map +1 -1
- package/guardian.d.ts +20 -20
- package/guardian.js +20 -20
- package/hook.d.ts +8 -8
- package/hook.js +8 -8
- package/logStream.d.ts +13 -11
- package/logStream.js +13 -11
- package/logStream.js.map +1 -1
- package/organization.d.ts +6 -5
- package/organization.js +6 -5
- package/organization.js.map +1 -1
- package/organizationConnection.d.ts +12 -6
- package/organizationConnection.js +12 -6
- package/organizationConnection.js.map +1 -1
- package/organizationConnections.d.ts +13 -4
- package/organizationConnections.js +13 -4
- package/organizationConnections.js.map +1 -1
- package/organizationMember.d.ts +8 -5
- package/organizationMember.js +8 -5
- package/organizationMember.js.map +1 -1
- package/organizationMemberRole.d.ts +10 -7
- package/organizationMemberRole.js +10 -7
- package/organizationMemberRole.js.map +1 -1
- package/organizationMemberRoles.d.ts +11 -8
- package/organizationMemberRoles.js +11 -8
- package/organizationMemberRoles.js.map +1 -1
- package/organizationMembers.d.ts +8 -5
- package/organizationMembers.js +8 -5
- package/organizationMembers.js.map +1 -1
- package/package.json +1 -1
- package/pages.d.ts +12 -12
- package/pages.js +12 -12
- package/prompt.d.ts +5 -5
- package/prompt.js +5 -5
- package/promptCustomText.d.ts +3 -3
- package/promptCustomText.js +3 -3
- package/promptPartials.d.ts +6 -6
- package/promptPartials.js +6 -6
- package/provider.d.ts +4 -4
- package/resourceServer.d.ts +5 -4
- package/resourceServer.js +5 -4
- package/resourceServer.js.map +1 -1
- package/resourceServerScope.d.ts +9 -6
- package/resourceServerScope.js +9 -6
- package/resourceServerScope.js.map +1 -1
- package/resourceServerScopes.d.ts +6 -3
- package/resourceServerScopes.js +6 -3
- package/resourceServerScopes.js.map +1 -1
- package/role.d.ts +5 -2
- package/role.js +5 -2
- package/role.js.map +1 -1
- package/rule.d.ts +4 -4
- package/rule.js +4 -4
- package/ruleConfig.d.ts +5 -5
- package/ruleConfig.js +5 -5
- package/tenant.d.ts +14 -14
- package/tenant.js +14 -14
- package/triggerAction.d.ts +6 -5
- package/triggerAction.js +6 -5
- package/triggerAction.js.map +1 -1
- package/triggerActions.d.ts +6 -4
- package/triggerActions.js +6 -4
- package/triggerActions.js.map +1 -1
- package/types/input.d.ts +30 -39
- package/types/output.d.ts +30 -39
- package/user.d.ts +5 -4
- package/user.js +5 -4
- package/user.js.map +1 -1
- package/userPermission.d.ts +3 -3
- package/userPermission.js +3 -3
- package/userPermissions.d.ts +1 -1
- package/userPermissions.js +1 -1
- package/userRole.d.ts +9 -5
- package/userRole.js +9 -5
- package/userRole.js.map +1 -1
- package/userRoles.d.ts +7 -3
- package/userRoles.js +7 -3
- package/userRoles.js.map +1 -1
package/ruleConfig.js
CHANGED
|
@@ -14,15 +14,15 @@ const utilities = require("./utilities");
|
|
|
14
14
|
* import * as pulumi from "@pulumi/pulumi";
|
|
15
15
|
* import * as auth0 from "@pulumi/auth0";
|
|
16
16
|
*
|
|
17
|
-
* const myRule = new auth0.Rule("
|
|
18
|
-
*
|
|
17
|
+
* const myRule = new auth0.Rule("my_rule", {
|
|
18
|
+
* name: "empty-rule",
|
|
19
19
|
* script: ` function (user, context, callback) {
|
|
20
20
|
* callback(null, user, context);
|
|
21
21
|
* }
|
|
22
|
-
*
|
|
23
22
|
* `,
|
|
23
|
+
* enabled: true,
|
|
24
24
|
* });
|
|
25
|
-
* const myRuleConfig = new auth0.RuleConfig("
|
|
25
|
+
* const myRuleConfig = new auth0.RuleConfig("my_rule_config", {
|
|
26
26
|
* key: "foo",
|
|
27
27
|
* value: "bar",
|
|
28
28
|
* });
|
|
@@ -34,7 +34,7 @@ const utilities = require("./utilities");
|
|
|
34
34
|
*
|
|
35
35
|
* #
|
|
36
36
|
*
|
|
37
|
-
*
|
|
37
|
+
* Example:
|
|
38
38
|
*
|
|
39
39
|
* ```sh
|
|
40
40
|
* $ pulumi import auth0:index/ruleConfig:RuleConfig my_rule_config "foo"
|
package/tenant.d.ts
CHANGED
|
@@ -13,30 +13,30 @@ import * as outputs from "./types/output";
|
|
|
13
13
|
* import * as pulumi from "@pulumi/pulumi";
|
|
14
14
|
* import * as auth0 from "@pulumi/auth0";
|
|
15
15
|
*
|
|
16
|
-
* const myTenant = new auth0.Tenant("
|
|
16
|
+
* const myTenant = new auth0.Tenant("my_tenant", {
|
|
17
|
+
* friendlyName: "Tenant Name",
|
|
18
|
+
* pictureUrl: "http://example.com/logo.png",
|
|
19
|
+
* supportEmail: "support@example.com",
|
|
20
|
+
* supportUrl: "http://example.com/support",
|
|
17
21
|
* allowedLogoutUrls: ["http://example.com/logout"],
|
|
18
|
-
*
|
|
22
|
+
* sessionLifetime: 8760,
|
|
23
|
+
* sandboxVersion: "12",
|
|
19
24
|
* enabledLocales: ["en"],
|
|
25
|
+
* defaultRedirectionUri: "https://example.com/login",
|
|
20
26
|
* flags: {
|
|
21
27
|
* disableClickjackProtectionHeaders: true,
|
|
22
|
-
* disableFieldsMapFix: false,
|
|
23
|
-
* disableManagementApiSmsObfuscation: false,
|
|
24
28
|
* enablePublicSignupUserExistsError: true,
|
|
25
|
-
* noDiscloseEnterpriseConnections: false,
|
|
26
29
|
* useScopeDescriptionsForConsent: true,
|
|
30
|
+
* noDiscloseEnterpriseConnections: false,
|
|
31
|
+
* disableManagementApiSmsObfuscation: false,
|
|
32
|
+
* disableFieldsMapFix: false,
|
|
27
33
|
* },
|
|
28
|
-
* friendlyName: "Tenant Name",
|
|
29
|
-
* pictureUrl: "http://example.com/logo.png",
|
|
30
|
-
* sandboxVersion: "12",
|
|
31
34
|
* sessionCookie: {
|
|
32
35
|
* mode: "non-persistent",
|
|
33
36
|
* },
|
|
34
|
-
* sessionLifetime: 8760,
|
|
35
37
|
* sessions: {
|
|
36
38
|
* oidcLogoutPromptEnabled: false,
|
|
37
39
|
* },
|
|
38
|
-
* supportEmail: "support@example.com",
|
|
39
|
-
* supportUrl: "http://example.com/support",
|
|
40
40
|
* });
|
|
41
41
|
* ```
|
|
42
42
|
*
|
|
@@ -44,15 +44,15 @@ import * as outputs from "./types/output";
|
|
|
44
44
|
*
|
|
45
45
|
* As this is not a resource identifiable by an ID within the Auth0 Management API,
|
|
46
46
|
*
|
|
47
|
-
*
|
|
47
|
+
* tenant can be imported using a random string.
|
|
48
48
|
*
|
|
49
49
|
* #
|
|
50
50
|
*
|
|
51
|
-
*
|
|
51
|
+
* We recommend [Version 4 UUID](https://www.uuidgenerator.net/version4)
|
|
52
52
|
*
|
|
53
53
|
* #
|
|
54
54
|
*
|
|
55
|
-
*
|
|
55
|
+
* Example:
|
|
56
56
|
*
|
|
57
57
|
* ```sh
|
|
58
58
|
* $ pulumi import auth0:index/tenant:Tenant my_tenant "82f4f21b-017a-319d-92e7-2291c1ca36c4"
|
package/tenant.js
CHANGED
|
@@ -17,30 +17,30 @@ const utilities = require("./utilities");
|
|
|
17
17
|
* import * as pulumi from "@pulumi/pulumi";
|
|
18
18
|
* import * as auth0 from "@pulumi/auth0";
|
|
19
19
|
*
|
|
20
|
-
* const myTenant = new auth0.Tenant("
|
|
20
|
+
* const myTenant = new auth0.Tenant("my_tenant", {
|
|
21
|
+
* friendlyName: "Tenant Name",
|
|
22
|
+
* pictureUrl: "http://example.com/logo.png",
|
|
23
|
+
* supportEmail: "support@example.com",
|
|
24
|
+
* supportUrl: "http://example.com/support",
|
|
21
25
|
* allowedLogoutUrls: ["http://example.com/logout"],
|
|
22
|
-
*
|
|
26
|
+
* sessionLifetime: 8760,
|
|
27
|
+
* sandboxVersion: "12",
|
|
23
28
|
* enabledLocales: ["en"],
|
|
29
|
+
* defaultRedirectionUri: "https://example.com/login",
|
|
24
30
|
* flags: {
|
|
25
31
|
* disableClickjackProtectionHeaders: true,
|
|
26
|
-
* disableFieldsMapFix: false,
|
|
27
|
-
* disableManagementApiSmsObfuscation: false,
|
|
28
32
|
* enablePublicSignupUserExistsError: true,
|
|
29
|
-
* noDiscloseEnterpriseConnections: false,
|
|
30
33
|
* useScopeDescriptionsForConsent: true,
|
|
34
|
+
* noDiscloseEnterpriseConnections: false,
|
|
35
|
+
* disableManagementApiSmsObfuscation: false,
|
|
36
|
+
* disableFieldsMapFix: false,
|
|
31
37
|
* },
|
|
32
|
-
* friendlyName: "Tenant Name",
|
|
33
|
-
* pictureUrl: "http://example.com/logo.png",
|
|
34
|
-
* sandboxVersion: "12",
|
|
35
38
|
* sessionCookie: {
|
|
36
39
|
* mode: "non-persistent",
|
|
37
40
|
* },
|
|
38
|
-
* sessionLifetime: 8760,
|
|
39
41
|
* sessions: {
|
|
40
42
|
* oidcLogoutPromptEnabled: false,
|
|
41
43
|
* },
|
|
42
|
-
* supportEmail: "support@example.com",
|
|
43
|
-
* supportUrl: "http://example.com/support",
|
|
44
44
|
* });
|
|
45
45
|
* ```
|
|
46
46
|
*
|
|
@@ -48,15 +48,15 @@ const utilities = require("./utilities");
|
|
|
48
48
|
*
|
|
49
49
|
* As this is not a resource identifiable by an ID within the Auth0 Management API,
|
|
50
50
|
*
|
|
51
|
-
*
|
|
51
|
+
* tenant can be imported using a random string.
|
|
52
52
|
*
|
|
53
53
|
* #
|
|
54
54
|
*
|
|
55
|
-
*
|
|
55
|
+
* We recommend [Version 4 UUID](https://www.uuidgenerator.net/version4)
|
|
56
56
|
*
|
|
57
57
|
* #
|
|
58
58
|
*
|
|
59
|
-
*
|
|
59
|
+
* Example:
|
|
60
60
|
*
|
|
61
61
|
* ```sh
|
|
62
62
|
* $ pulumi import auth0:index/tenant:Tenant my_tenant "82f4f21b-017a-319d-92e7-2291c1ca36c4"
|
package/triggerAction.d.ts
CHANGED
|
@@ -14,7 +14,8 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
14
14
|
* import * as pulumi from "@pulumi/pulumi";
|
|
15
15
|
* import * as auth0 from "@pulumi/auth0";
|
|
16
16
|
*
|
|
17
|
-
* const loginAlert = new auth0.Action("
|
|
17
|
+
* const loginAlert = new auth0.Action("login_alert", {
|
|
18
|
+
* name: "Alert after login",
|
|
18
19
|
* code: `exports.onContinuePostLogin = async (event, api) => {
|
|
19
20
|
* console.log("foo");
|
|
20
21
|
* };"
|
|
@@ -25,7 +26,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
25
26
|
* version: "v3",
|
|
26
27
|
* },
|
|
27
28
|
* });
|
|
28
|
-
* const postLoginAlertAction = new auth0.TriggerAction("
|
|
29
|
+
* const postLoginAlertAction = new auth0.TriggerAction("post_login_alert_action", {
|
|
29
30
|
* trigger: "post-login",
|
|
30
31
|
* actionId: loginAlert.id,
|
|
31
32
|
* });
|
|
@@ -35,13 +36,13 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
35
36
|
*
|
|
36
37
|
* This resource can be imported by specifying the
|
|
37
38
|
*
|
|
38
|
-
*
|
|
39
|
+
* trigger and action ID separated by "::" (note the double colon)
|
|
39
40
|
*
|
|
40
|
-
*
|
|
41
|
+
* <trigger>::<actionID>
|
|
41
42
|
*
|
|
42
43
|
* #
|
|
43
44
|
*
|
|
44
|
-
*
|
|
45
|
+
* Example:
|
|
45
46
|
*
|
|
46
47
|
* ```sh
|
|
47
48
|
* $ pulumi import auth0:index/triggerAction:TriggerAction post_login_action "post-login::28b5c8fa-d371-5734-acf6-d0cf80ead918"
|
package/triggerAction.js
CHANGED
|
@@ -20,7 +20,8 @@ const utilities = require("./utilities");
|
|
|
20
20
|
* import * as pulumi from "@pulumi/pulumi";
|
|
21
21
|
* import * as auth0 from "@pulumi/auth0";
|
|
22
22
|
*
|
|
23
|
-
* const loginAlert = new auth0.Action("
|
|
23
|
+
* const loginAlert = new auth0.Action("login_alert", {
|
|
24
|
+
* name: "Alert after login",
|
|
24
25
|
* code: `exports.onContinuePostLogin = async (event, api) => {
|
|
25
26
|
* console.log("foo");
|
|
26
27
|
* };"
|
|
@@ -31,7 +32,7 @@ const utilities = require("./utilities");
|
|
|
31
32
|
* version: "v3",
|
|
32
33
|
* },
|
|
33
34
|
* });
|
|
34
|
-
* const postLoginAlertAction = new auth0.TriggerAction("
|
|
35
|
+
* const postLoginAlertAction = new auth0.TriggerAction("post_login_alert_action", {
|
|
35
36
|
* trigger: "post-login",
|
|
36
37
|
* actionId: loginAlert.id,
|
|
37
38
|
* });
|
|
@@ -41,13 +42,13 @@ const utilities = require("./utilities");
|
|
|
41
42
|
*
|
|
42
43
|
* This resource can be imported by specifying the
|
|
43
44
|
*
|
|
44
|
-
*
|
|
45
|
+
* trigger and action ID separated by "::" (note the double colon)
|
|
45
46
|
*
|
|
46
|
-
*
|
|
47
|
+
* <trigger>::<actionID>
|
|
47
48
|
*
|
|
48
49
|
* #
|
|
49
50
|
*
|
|
50
|
-
*
|
|
51
|
+
* Example:
|
|
51
52
|
*
|
|
52
53
|
* ```sh
|
|
53
54
|
* $ pulumi import auth0:index/triggerAction:TriggerAction post_login_action "post-login::28b5c8fa-d371-5734-acf6-d0cf80ead918"
|
package/triggerAction.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"triggerAction.js","sourceRoot":"","sources":["../triggerAction.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"triggerAction.js","sourceRoot":"","sources":["../triggerAction.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgDG;AACH,MAAa,aAAc,SAAQ,MAAM,CAAC,cAAc;IACpD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA0B,EAAE,IAAmC;QACxH,OAAO,IAAI,aAAa,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACpE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,aAAa,CAAC,YAAY,CAAC;IAC9D,CAAC;IAuBD,YAAY,IAAY,EAAE,WAAoD,EAAE,IAAmC;QAC/G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA6C,CAAC;YAC5D,cAAc,CAAC,UAAU,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;SACjE;aAAM;YACH,MAAM,IAAI,GAAG,WAA4C,CAAC;YAC1D,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,QAAQ,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACrD,MAAM,IAAI,KAAK,CAAC,sCAAsC,CAAC,CAAC;aAC3D;YACD,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,OAAO,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACpD,MAAM,IAAI,KAAK,CAAC,qCAAqC,CAAC,CAAC;aAC1D;YACD,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;SAC/D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,aAAa,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAClE,CAAC;;AAvEL,sCAwEC;AA1DG,gBAAgB;AACO,0BAAY,GAAG,yCAAyC,CAAC"}
|
package/triggerActions.d.ts
CHANGED
|
@@ -14,7 +14,8 @@ import * as outputs from "./types/output";
|
|
|
14
14
|
* import * as pulumi from "@pulumi/pulumi";
|
|
15
15
|
* import * as auth0 from "@pulumi/auth0";
|
|
16
16
|
*
|
|
17
|
-
* const actionFoo = new auth0.Action("
|
|
17
|
+
* const actionFoo = new auth0.Action("action_foo", {
|
|
18
|
+
* name: "Test Trigger Binding Foo",
|
|
18
19
|
* code: `exports.onContinuePostLogin = async (event, api) => {
|
|
19
20
|
* console.log("foo");
|
|
20
21
|
* };"
|
|
@@ -25,7 +26,8 @@ import * as outputs from "./types/output";
|
|
|
25
26
|
* version: "v3",
|
|
26
27
|
* },
|
|
27
28
|
* });
|
|
28
|
-
* const actionBar = new auth0.Action("
|
|
29
|
+
* const actionBar = new auth0.Action("action_bar", {
|
|
30
|
+
* name: "Test Trigger Binding Bar",
|
|
29
31
|
* code: `exports.onContinuePostLogin = async (event, api) => {
|
|
30
32
|
* console.log("bar");
|
|
31
33
|
* };"
|
|
@@ -36,7 +38,7 @@ import * as outputs from "./types/output";
|
|
|
36
38
|
* version: "v3",
|
|
37
39
|
* },
|
|
38
40
|
* });
|
|
39
|
-
* const loginFlow = new auth0.TriggerActions("
|
|
41
|
+
* const loginFlow = new auth0.TriggerActions("login_flow", {
|
|
40
42
|
* trigger: "post-login",
|
|
41
43
|
* actions: [
|
|
42
44
|
* {
|
|
@@ -57,7 +59,7 @@ import * as outputs from "./types/output";
|
|
|
57
59
|
*
|
|
58
60
|
* #
|
|
59
61
|
*
|
|
60
|
-
*
|
|
62
|
+
* Example:
|
|
61
63
|
*
|
|
62
64
|
* ```sh
|
|
63
65
|
* $ pulumi import auth0:index/triggerActions:TriggerActions example "post-login"
|
package/triggerActions.js
CHANGED
|
@@ -18,7 +18,8 @@ const utilities = require("./utilities");
|
|
|
18
18
|
* import * as pulumi from "@pulumi/pulumi";
|
|
19
19
|
* import * as auth0 from "@pulumi/auth0";
|
|
20
20
|
*
|
|
21
|
-
* const actionFoo = new auth0.Action("
|
|
21
|
+
* const actionFoo = new auth0.Action("action_foo", {
|
|
22
|
+
* name: "Test Trigger Binding Foo",
|
|
22
23
|
* code: `exports.onContinuePostLogin = async (event, api) => {
|
|
23
24
|
* console.log("foo");
|
|
24
25
|
* };"
|
|
@@ -29,7 +30,8 @@ const utilities = require("./utilities");
|
|
|
29
30
|
* version: "v3",
|
|
30
31
|
* },
|
|
31
32
|
* });
|
|
32
|
-
* const actionBar = new auth0.Action("
|
|
33
|
+
* const actionBar = new auth0.Action("action_bar", {
|
|
34
|
+
* name: "Test Trigger Binding Bar",
|
|
33
35
|
* code: `exports.onContinuePostLogin = async (event, api) => {
|
|
34
36
|
* console.log("bar");
|
|
35
37
|
* };"
|
|
@@ -40,7 +42,7 @@ const utilities = require("./utilities");
|
|
|
40
42
|
* version: "v3",
|
|
41
43
|
* },
|
|
42
44
|
* });
|
|
43
|
-
* const loginFlow = new auth0.TriggerActions("
|
|
45
|
+
* const loginFlow = new auth0.TriggerActions("login_flow", {
|
|
44
46
|
* trigger: "post-login",
|
|
45
47
|
* actions: [
|
|
46
48
|
* {
|
|
@@ -61,7 +63,7 @@ const utilities = require("./utilities");
|
|
|
61
63
|
*
|
|
62
64
|
* #
|
|
63
65
|
*
|
|
64
|
-
*
|
|
66
|
+
* Example:
|
|
65
67
|
*
|
|
66
68
|
* ```sh
|
|
67
69
|
* $ pulumi import auth0:index/triggerActions:TriggerActions example "post-login"
|
package/triggerActions.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"triggerActions.js","sourceRoot":"","sources":["../triggerActions.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"triggerActions.js","sourceRoot":"","sources":["../triggerActions.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+DG;AACH,MAAa,cAAe,SAAQ,MAAM,CAAC,cAAc;IACrD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA2B,EAAE,IAAmC;QACzH,OAAO,IAAI,cAAc,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACrE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,cAAc,CAAC,YAAY,CAAC;IAC/D,CAAC;IAmBD,YAAY,IAAY,EAAE,WAAsD,EAAE,IAAmC;QACjH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA8C,CAAC;YAC7D,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;SACjE;aAAM;YACH,MAAM,IAAI,GAAG,WAA6C,CAAC;YAC3D,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,OAAO,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACpD,MAAM,IAAI,KAAK,CAAC,qCAAqC,CAAC,CAAC;aAC1D;YACD,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,OAAO,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACpD,MAAM,IAAI,KAAK,CAAC,qCAAqC,CAAC,CAAC;aAC1D;YACD,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;SAC/D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,cAAc,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACnE,CAAC;;AAjEL,wCAkEC;AApDG,gBAAgB;AACO,2BAAY,GAAG,2CAA2C,CAAC"}
|
package/types/input.d.ts
CHANGED
|
@@ -104,7 +104,7 @@ export interface AttackProtectionSuspiciousIpThrottling {
|
|
|
104
104
|
}
|
|
105
105
|
export interface AttackProtectionSuspiciousIpThrottlingPreLogin {
|
|
106
106
|
/**
|
|
107
|
-
*
|
|
107
|
+
* The maximum number of failed login attempts allowed from a single IP address.
|
|
108
108
|
*/
|
|
109
109
|
maxAttempts?: pulumi.Input<number>;
|
|
110
110
|
/**
|
|
@@ -114,11 +114,11 @@ export interface AttackProtectionSuspiciousIpThrottlingPreLogin {
|
|
|
114
114
|
}
|
|
115
115
|
export interface AttackProtectionSuspiciousIpThrottlingPreUserRegistration {
|
|
116
116
|
/**
|
|
117
|
-
*
|
|
117
|
+
* The maximum number of sign up attempts allowed from a single IP address.
|
|
118
118
|
*/
|
|
119
119
|
maxAttempts?: pulumi.Input<number>;
|
|
120
120
|
/**
|
|
121
|
-
* Interval of time, given in milliseconds at which new
|
|
121
|
+
* Interval of time, given in milliseconds at which new sign up tokens will become available after they have been used by an IP address. Each sign up attempt will be added on the defined throttling rate.
|
|
122
122
|
*/
|
|
123
123
|
rate?: pulumi.Input<number>;
|
|
124
124
|
}
|
|
@@ -300,51 +300,51 @@ export interface BrandingThemeFontsBodyText {
|
|
|
300
300
|
}
|
|
301
301
|
export interface BrandingThemeFontsButtonsText {
|
|
302
302
|
/**
|
|
303
|
-
*
|
|
303
|
+
* Buttons text bold. Defaults to `false`.
|
|
304
304
|
*/
|
|
305
305
|
bold?: pulumi.Input<boolean>;
|
|
306
306
|
/**
|
|
307
|
-
*
|
|
307
|
+
* Buttons text size. Value needs to be between `0` and `150`. Defaults to `100.0`.
|
|
308
308
|
*/
|
|
309
309
|
size?: pulumi.Input<number>;
|
|
310
310
|
}
|
|
311
311
|
export interface BrandingThemeFontsInputLabels {
|
|
312
312
|
/**
|
|
313
|
-
*
|
|
313
|
+
* Input labels bold. Defaults to `false`.
|
|
314
314
|
*/
|
|
315
315
|
bold?: pulumi.Input<boolean>;
|
|
316
316
|
/**
|
|
317
|
-
*
|
|
317
|
+
* Input labels size. Value needs to be between `0` and `150`. Defaults to `100.0`.
|
|
318
318
|
*/
|
|
319
319
|
size?: pulumi.Input<number>;
|
|
320
320
|
}
|
|
321
321
|
export interface BrandingThemeFontsLinks {
|
|
322
322
|
/**
|
|
323
|
-
*
|
|
323
|
+
* Links bold. Defaults to `true`.
|
|
324
324
|
*/
|
|
325
325
|
bold?: pulumi.Input<boolean>;
|
|
326
326
|
/**
|
|
327
|
-
*
|
|
327
|
+
* Links size. Value needs to be between `0` and `150`. Defaults to `87.5`.
|
|
328
328
|
*/
|
|
329
329
|
size?: pulumi.Input<number>;
|
|
330
330
|
}
|
|
331
331
|
export interface BrandingThemeFontsSubtitle {
|
|
332
332
|
/**
|
|
333
|
-
*
|
|
333
|
+
* Subtitle bold. Defaults to `false`.
|
|
334
334
|
*/
|
|
335
335
|
bold?: pulumi.Input<boolean>;
|
|
336
336
|
/**
|
|
337
|
-
*
|
|
337
|
+
* Subtitle size. Value needs to be between `0` and `150`. Defaults to `87.5`.
|
|
338
338
|
*/
|
|
339
339
|
size?: pulumi.Input<number>;
|
|
340
340
|
}
|
|
341
341
|
export interface BrandingThemeFontsTitle {
|
|
342
342
|
/**
|
|
343
|
-
*
|
|
343
|
+
* Title bold. Defaults to `false`.
|
|
344
344
|
*/
|
|
345
345
|
bold?: pulumi.Input<boolean>;
|
|
346
346
|
/**
|
|
347
|
-
*
|
|
347
|
+
* Title size. Value needs to be between `75` and `150`. Defaults to `150.0`.
|
|
348
348
|
*/
|
|
349
349
|
size?: pulumi.Input<number>;
|
|
350
350
|
}
|
|
@@ -582,7 +582,7 @@ export interface ClientAddonsAzureSb {
|
|
|
582
582
|
*/
|
|
583
583
|
entityPath?: pulumi.Input<string>;
|
|
584
584
|
/**
|
|
585
|
-
*
|
|
585
|
+
* Optional expiration in minutes for the generated token. Defaults to 5 minutes.
|
|
586
586
|
*/
|
|
587
587
|
expiration?: pulumi.Input<number>;
|
|
588
588
|
/**
|
|
@@ -614,7 +614,7 @@ export interface ClientAddonsEchosign {
|
|
|
614
614
|
}
|
|
615
615
|
export interface ClientAddonsEgnyte {
|
|
616
616
|
/**
|
|
617
|
-
* Your custom domain found in your
|
|
617
|
+
* Your custom domain found in your Egnyte URL, for example `https://acme-org.echosign.com` would be `acme-org`.
|
|
618
618
|
*/
|
|
619
619
|
domain?: pulumi.Input<string>;
|
|
620
620
|
}
|
|
@@ -624,7 +624,7 @@ export interface ClientAddonsFirebase {
|
|
|
624
624
|
*/
|
|
625
625
|
clientEmail?: pulumi.Input<string>;
|
|
626
626
|
/**
|
|
627
|
-
*
|
|
627
|
+
* Optional expiration in seconds for the generated token. Defaults to 3600 seconds (SDK v3+ tokens only).
|
|
628
628
|
*/
|
|
629
629
|
lifetimeInSeconds?: pulumi.Input<number>;
|
|
630
630
|
/**
|
|
@@ -642,7 +642,7 @@ export interface ClientAddonsFirebase {
|
|
|
642
642
|
}
|
|
643
643
|
export interface ClientAddonsLayer {
|
|
644
644
|
/**
|
|
645
|
-
*
|
|
645
|
+
* Optional expiration in minutes for the generated token. Defaults to 5 minutes.
|
|
646
646
|
*/
|
|
647
647
|
expiration?: pulumi.Input<number>;
|
|
648
648
|
/**
|
|
@@ -650,11 +650,11 @@ export interface ClientAddonsLayer {
|
|
|
650
650
|
*/
|
|
651
651
|
keyId: pulumi.Input<string>;
|
|
652
652
|
/**
|
|
653
|
-
*
|
|
653
|
+
* Name of the property used as the unique user ID in Layer. If not specified `userId` is used.
|
|
654
654
|
*/
|
|
655
655
|
principal?: pulumi.Input<string>;
|
|
656
656
|
/**
|
|
657
|
-
* Private
|
|
657
|
+
* Private key for signing the Layer token.
|
|
658
658
|
*/
|
|
659
659
|
privateKey: pulumi.Input<string>;
|
|
660
660
|
/**
|
|
@@ -680,13 +680,13 @@ export interface ClientAddonsOffice365 {
|
|
|
680
680
|
*/
|
|
681
681
|
connection?: pulumi.Input<string>;
|
|
682
682
|
/**
|
|
683
|
-
* Your
|
|
683
|
+
* Your Office 365 domain name, for example `acme-org.com`.
|
|
684
684
|
*/
|
|
685
685
|
domain?: pulumi.Input<string>;
|
|
686
686
|
}
|
|
687
687
|
export interface ClientAddonsRms {
|
|
688
688
|
/**
|
|
689
|
-
*
|
|
689
|
+
* URL of your Rights Management Server. It can be internal or external, but users will have to be able to reach it.
|
|
690
690
|
*/
|
|
691
691
|
url?: pulumi.Input<string>;
|
|
692
692
|
}
|
|
@@ -710,7 +710,7 @@ export interface ClientAddonsSalesforceApi {
|
|
|
710
710
|
*/
|
|
711
711
|
communityUrlSection?: pulumi.Input<string>;
|
|
712
712
|
/**
|
|
713
|
-
*
|
|
713
|
+
* Name of the property in the user object that maps to a Salesforce username, for example `email`.
|
|
714
714
|
*/
|
|
715
715
|
principal?: pulumi.Input<string>;
|
|
716
716
|
}
|
|
@@ -728,7 +728,7 @@ export interface ClientAddonsSalesforceSandboxApi {
|
|
|
728
728
|
*/
|
|
729
729
|
communityUrlSection?: pulumi.Input<string>;
|
|
730
730
|
/**
|
|
731
|
-
*
|
|
731
|
+
* Name of the property in the user object that maps to a Salesforce username, for example `email`.
|
|
732
732
|
*/
|
|
733
733
|
principal?: pulumi.Input<string>;
|
|
734
734
|
}
|
|
@@ -766,7 +766,7 @@ export interface ClientAddonsSamlp {
|
|
|
766
766
|
*/
|
|
767
767
|
issuer?: pulumi.Input<string>;
|
|
768
768
|
/**
|
|
769
|
-
*
|
|
769
|
+
* Number of seconds during which the token is valid. Defaults to `3600` seconds.
|
|
770
770
|
*/
|
|
771
771
|
lifetimeInSeconds?: pulumi.Input<number>;
|
|
772
772
|
/**
|
|
@@ -832,11 +832,11 @@ export interface ClientAddonsSamlpLogout {
|
|
|
832
832
|
}
|
|
833
833
|
export interface ClientAddonsSapApi {
|
|
834
834
|
/**
|
|
835
|
-
*
|
|
835
|
+
* If activated in the OAuth 2.0 client configuration (transaction `SOAUTH2) the SAML attribute`client*id`must be set and equal the`client*id` form parameter of the access token request.
|
|
836
836
|
*/
|
|
837
837
|
clientId?: pulumi.Input<string>;
|
|
838
838
|
/**
|
|
839
|
-
*
|
|
839
|
+
* NameID element of the Subject which can be used to express the user's identity. Defaults to `urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified`.
|
|
840
840
|
*/
|
|
841
841
|
nameIdentifierFormat?: pulumi.Input<string>;
|
|
842
842
|
/**
|
|
@@ -872,7 +872,7 @@ export interface ClientAddonsSharepoint {
|
|
|
872
872
|
*/
|
|
873
873
|
externalUrls?: pulumi.Input<pulumi.Input<string>[]>;
|
|
874
874
|
/**
|
|
875
|
-
*
|
|
875
|
+
* Internal SharePoint application URL.
|
|
876
876
|
*/
|
|
877
877
|
url?: pulumi.Input<string>;
|
|
878
878
|
}
|
|
@@ -908,13 +908,13 @@ export interface ClientAddonsWsfed {
|
|
|
908
908
|
}
|
|
909
909
|
export interface ClientAddonsZendesk {
|
|
910
910
|
/**
|
|
911
|
-
*
|
|
911
|
+
* Zendesk account name. Usually the first segment in your Zendesk URL, for example `https://acme-org.zendesk.com` would be `acme-org`.
|
|
912
912
|
*/
|
|
913
913
|
accountName?: pulumi.Input<string>;
|
|
914
914
|
}
|
|
915
915
|
export interface ClientAddonsZoom {
|
|
916
916
|
/**
|
|
917
|
-
*
|
|
917
|
+
* Zoom account name. Usually the first segment of your Zoom URL, for example `https://acme-org.zoom.us` would be `acme-org`.
|
|
918
918
|
*/
|
|
919
919
|
account?: pulumi.Input<string>;
|
|
920
920
|
}
|
|
@@ -1462,9 +1462,6 @@ export interface ConnectionOptionsGatewayAuthentication {
|
|
|
1462
1462
|
}
|
|
1463
1463
|
export interface ConnectionOptionsIdpInitiated {
|
|
1464
1464
|
clientAuthorizeQuery?: pulumi.Input<string>;
|
|
1465
|
-
/**
|
|
1466
|
-
* The strategy's client ID.
|
|
1467
|
-
*/
|
|
1468
1465
|
clientId?: pulumi.Input<string>;
|
|
1469
1466
|
clientProtocol?: pulumi.Input<string>;
|
|
1470
1467
|
}
|
|
@@ -1495,16 +1492,10 @@ export interface ConnectionOptionsPasswordDictionary {
|
|
|
1495
1492
|
enable?: pulumi.Input<boolean>;
|
|
1496
1493
|
}
|
|
1497
1494
|
export interface ConnectionOptionsPasswordHistory {
|
|
1498
|
-
/**
|
|
1499
|
-
* Indicates whether the password dictionary check is enabled for this connection.
|
|
1500
|
-
*/
|
|
1501
1495
|
enable?: pulumi.Input<boolean>;
|
|
1502
1496
|
size?: pulumi.Input<number>;
|
|
1503
1497
|
}
|
|
1504
1498
|
export interface ConnectionOptionsPasswordNoPersonalInfo {
|
|
1505
|
-
/**
|
|
1506
|
-
* Indicates whether the password dictionary check is enabled for this connection.
|
|
1507
|
-
*/
|
|
1508
1499
|
enable?: pulumi.Input<boolean>;
|
|
1509
1500
|
}
|
|
1510
1501
|
export interface ConnectionOptionsSigningKey {
|
|
@@ -1751,7 +1742,7 @@ export interface GuardianPushDirectApns {
|
|
|
1751
1742
|
*/
|
|
1752
1743
|
bundleId: pulumi.Input<string>;
|
|
1753
1744
|
/**
|
|
1754
|
-
* Indicates whether
|
|
1745
|
+
* Indicates whether the Apple Push Notification service is enabled.
|
|
1755
1746
|
*/
|
|
1756
1747
|
enabled?: pulumi.Input<boolean>;
|
|
1757
1748
|
/**
|