@pulumi/auth0 2.14.0-alpha.1663280530 → 2.14.0-alpha.1666810964

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.
Files changed (104) hide show
  1. package/action.d.ts +25 -72
  2. package/action.js +2 -50
  3. package/action.js.map +1 -1
  4. package/attackProtection.d.ts +9 -8
  5. package/attackProtection.js +4 -4
  6. package/attackProtection.js.map +1 -1
  7. package/branding.d.ts +31 -30
  8. package/branding.js +14 -8
  9. package/branding.js.map +1 -1
  10. package/brandingTheme.d.ts +156 -0
  11. package/brandingTheme.js +165 -0
  12. package/brandingTheme.js.map +1 -0
  13. package/client.d.ts +145 -126
  14. package/client.js +26 -22
  15. package/client.js.map +1 -1
  16. package/clientGrant.d.ts +12 -13
  17. package/clientGrant.js +3 -4
  18. package/clientGrant.js.map +1 -1
  19. package/config/vars.d.ts +22 -0
  20. package/config/vars.js +6 -0
  21. package/config/vars.js.map +1 -1
  22. package/connection.d.ts +256 -41
  23. package/connection.js +236 -4
  24. package/connection.js.map +1 -1
  25. package/customDomain.d.ts +42 -18
  26. package/customDomain.js +6 -3
  27. package/customDomain.js.map +1 -1
  28. package/customDomainVerification.d.ts +15 -9
  29. package/customDomainVerification.js +4 -4
  30. package/customDomainVerification.js.map +1 -1
  31. package/email.d.ts +37 -18
  32. package/email.js +23 -5
  33. package/email.js.map +1 -1
  34. package/emailTemplate.d.ts +29 -32
  35. package/emailTemplate.js +2 -5
  36. package/emailTemplate.js.map +1 -1
  37. package/getClient.d.ts +111 -6
  38. package/getClient.js +3 -1
  39. package/getClient.js.map +1 -1
  40. package/getGlobalClient.d.ts +98 -31
  41. package/getGlobalClient.js +3 -11
  42. package/getGlobalClient.js.map +1 -1
  43. package/getTenant.d.ts +3 -3
  44. package/getTenant.js +1 -1
  45. package/globalClient.d.ts +333 -2
  46. package/globalClient.js +7 -3
  47. package/globalClient.js.map +1 -1
  48. package/guardian.d.ts +32 -56
  49. package/guardian.js +3 -4
  50. package/guardian.js.map +1 -1
  51. package/hook.d.ts +12 -18
  52. package/hook.js +9 -10
  53. package/hook.js.map +1 -1
  54. package/index.d.ts +91 -30
  55. package/index.js +94 -101
  56. package/index.js.map +1 -1
  57. package/logStream.d.ts +34 -18
  58. package/logStream.js +17 -2
  59. package/logStream.js.map +1 -1
  60. package/organization.d.ts +22 -55
  61. package/organization.js +8 -17
  62. package/organization.js.map +1 -1
  63. package/organizationConnection.d.ts +7 -5
  64. package/organizationConnection.js +7 -5
  65. package/organizationConnection.js.map +1 -1
  66. package/organizationMember.d.ts +27 -15
  67. package/organizationMember.js +18 -6
  68. package/organizationMember.js.map +1 -1
  69. package/package.json +2 -2
  70. package/package.json.dev +2 -2
  71. package/prompt.d.ts +12 -12
  72. package/prompt.js +4 -4
  73. package/promptCustomText.d.ts +8 -9
  74. package/promptCustomText.js +2 -3
  75. package/promptCustomText.js.map +1 -1
  76. package/provider.d.ts +41 -0
  77. package/provider.js +1 -0
  78. package/provider.js.map +1 -1
  79. package/resourceServer.d.ts +47 -46
  80. package/resourceServer.js +4 -1
  81. package/resourceServer.js.map +1 -1
  82. package/role.d.ts +13 -17
  83. package/role.js +2 -4
  84. package/role.js.map +1 -1
  85. package/rule.d.ts +19 -25
  86. package/rule.js +6 -12
  87. package/rule.js.map +1 -1
  88. package/ruleConfig.d.ts +12 -14
  89. package/ruleConfig.js +9 -9
  90. package/ruleConfig.js.map +1 -1
  91. package/tenant.d.ts +91 -80
  92. package/tenant.js +35 -25
  93. package/tenant.js.map +1 -1
  94. package/triggerBinding.d.ts +19 -26
  95. package/triggerBinding.js +11 -16
  96. package/triggerBinding.js.map +1 -1
  97. package/types/index.js.map +1 -1
  98. package/types/input.d.ts +488 -425
  99. package/types/output.d.ts +500 -435
  100. package/user.d.ts +87 -44
  101. package/user.js +6 -6
  102. package/user.js.map +1 -1
  103. package/utilities.js +13 -1
  104. package/utilities.js.map +1 -1
package/guardian.d.ts CHANGED
@@ -1,8 +1,8 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
- import { input as inputs, output as outputs } from "./types";
2
+ import * as inputs from "./types/input";
3
+ import * as outputs from "./types/output";
3
4
  /**
4
- * Multi-Factor Authentication works by requiring additional factors during the login process to prevent unauthorized
5
- * access. With this resource you can configure some options available for MFA.
5
+ * Multi-Factor Authentication works by requiring additional factors during the login process to prevent unauthorized access. With this resource you can configure some options available for MFA.
6
6
  *
7
7
  * ## Example Usage
8
8
  *
@@ -54,10 +54,10 @@ import { input as inputs, output as outputs } from "./types";
54
54
  *
55
55
  * ## Import
56
56
  *
57
- * As this is not a resource identifiable by an ID within the Auth0 Management API, guardian can be imported using a random string. We recommend [Version 4 UUID](https://www.uuidgenerator.net/version4) e.g.
57
+ * As this is not a resource identifiable by an ID within the Auth0 Management API, guardian can be imported using a random string. # We recommend [Version 4 UUID](https://www.uuidgenerator.net/version4) # Example
58
58
  *
59
59
  * ```sh
60
- * $ pulumi import auth0:index/guardian:Guardian default 24940d4b-4bd4-44e7-894e-f92e4de36a40
60
+ * $ pulumi import auth0:index/guardian:Guardian my_guardian 24940d4b-4bd4-44e7-894e-f92e4de36a40
61
61
  * ```
62
62
  */
63
63
  export declare class Guardian extends pulumi.CustomResource {
@@ -77,47 +77,39 @@ export declare class Guardian extends pulumi.CustomResource {
77
77
  */
78
78
  static isInstance(obj: any): obj is Guardian;
79
79
  /**
80
- * List(Resource). Configuration settings for the Duo MFA.
81
- * If this block is present, Duo MFA will be enabled, and disabled otherwise. For details, see Duo.
80
+ * Configuration settings for the Duo MFA. If this block is present, Duo MFA will be enabled, and disabled otherwise.
82
81
  */
83
82
  readonly duo: pulumi.Output<outputs.GuardianDuo | undefined>;
84
83
  /**
85
- * Boolean. Indicates whether email MFA is enabled.
84
+ * Indicates whether email MFA is enabled.
86
85
  */
87
86
  readonly email: pulumi.Output<boolean | undefined>;
88
87
  /**
89
- * Boolean. Indicates whether one time password MFA is enabled.
88
+ * Indicates whether one time password MFA is enabled.
90
89
  */
91
90
  readonly otp: pulumi.Output<boolean | undefined>;
92
91
  /**
93
- * List(Resource). Configuration settings for the phone MFA.
94
- * If this block is present, Phone MFA will be enabled, and disabled otherwise. For details, see Phone.
92
+ * Configuration settings for the phone MFA. If this block is present, Phone MFA will be enabled, and disabled otherwise.
95
93
  */
96
94
  readonly phone: pulumi.Output<outputs.GuardianPhone | undefined>;
97
95
  /**
98
- * String. Policy to use. Available options are `never`, `all-applications` and `confidence-score`.
99
- * The option `confidence-score` means the trigger of MFA will be adaptive. See [Auth0 docs](https://auth0.com/docs/mfa/adaptive-mfa).
96
+ * Policy to use. Available options are `never`, `all-applications` and `confidence-score`.
100
97
  */
101
98
  readonly policy: pulumi.Output<string>;
102
99
  /**
103
- * List(Resource). Configuration settings for the Push MFA.
104
- * If this block is present, Push MFA will be enabled, and disabled otherwise. For details, see Push.
100
+ * Configuration settings for the Push MFA. If this block is present, Push MFA will be enabled, and disabled otherwise.
105
101
  */
106
102
  readonly push: pulumi.Output<outputs.GuardianPush | undefined>;
107
103
  /**
108
- * Boolean. Indicates whether recovery code MFA is enabled.
104
+ * Indicates whether recovery code MFA is enabled.
109
105
  */
110
106
  readonly recoveryCode: pulumi.Output<boolean | undefined>;
111
107
  /**
112
- * List(Resource). Configuration settings for the WebAuthn with FIDO Device Biometrics MFA.
113
- * If this block is present, WebAuthn with FIDO Device Biometrics MFA will be enabled, and disabled otherwise.
114
- * For details, see WebAuthn Platform.
108
+ * Configuration settings for the WebAuthn with FIDO Device Biometrics MFA. If this block is present, WebAuthn with FIDO Device Biometrics MFA will be enabled, and disabled otherwise.
115
109
  */
116
110
  readonly webauthnPlatform: pulumi.Output<outputs.GuardianWebauthnPlatform | undefined>;
117
111
  /**
118
- * List(Resource). Configuration settings for the WebAuthn with FIDO Security Keys MFA.
119
- * If this block is present, WebAuthn with FIDO Security Keys MFA will be enabled, and disabled otherwise.
120
- * For details, see WebAuthn Roaming.
112
+ * Configuration settings for the WebAuthn with FIDO Security Keys MFA. If this block is present, WebAuthn with FIDO Security Keys MFA will be enabled, and disabled otherwise.
121
113
  */
122
114
  readonly webauthnRoaming: pulumi.Output<outputs.GuardianWebauthnRoaming | undefined>;
123
115
  /**
@@ -134,47 +126,39 @@ export declare class Guardian extends pulumi.CustomResource {
134
126
  */
135
127
  export interface GuardianState {
136
128
  /**
137
- * List(Resource). Configuration settings for the Duo MFA.
138
- * If this block is present, Duo MFA will be enabled, and disabled otherwise. For details, see Duo.
129
+ * Configuration settings for the Duo MFA. If this block is present, Duo MFA will be enabled, and disabled otherwise.
139
130
  */
140
131
  duo?: pulumi.Input<inputs.GuardianDuo>;
141
132
  /**
142
- * Boolean. Indicates whether email MFA is enabled.
133
+ * Indicates whether email MFA is enabled.
143
134
  */
144
135
  email?: pulumi.Input<boolean>;
145
136
  /**
146
- * Boolean. Indicates whether one time password MFA is enabled.
137
+ * Indicates whether one time password MFA is enabled.
147
138
  */
148
139
  otp?: pulumi.Input<boolean>;
149
140
  /**
150
- * List(Resource). Configuration settings for the phone MFA.
151
- * If this block is present, Phone MFA will be enabled, and disabled otherwise. For details, see Phone.
141
+ * Configuration settings for the phone MFA. If this block is present, Phone MFA will be enabled, and disabled otherwise.
152
142
  */
153
143
  phone?: pulumi.Input<inputs.GuardianPhone>;
154
144
  /**
155
- * String. Policy to use. Available options are `never`, `all-applications` and `confidence-score`.
156
- * The option `confidence-score` means the trigger of MFA will be adaptive. See [Auth0 docs](https://auth0.com/docs/mfa/adaptive-mfa).
145
+ * Policy to use. Available options are `never`, `all-applications` and `confidence-score`.
157
146
  */
158
147
  policy?: pulumi.Input<string>;
159
148
  /**
160
- * List(Resource). Configuration settings for the Push MFA.
161
- * If this block is present, Push MFA will be enabled, and disabled otherwise. For details, see Push.
149
+ * Configuration settings for the Push MFA. If this block is present, Push MFA will be enabled, and disabled otherwise.
162
150
  */
163
151
  push?: pulumi.Input<inputs.GuardianPush>;
164
152
  /**
165
- * Boolean. Indicates whether recovery code MFA is enabled.
153
+ * Indicates whether recovery code MFA is enabled.
166
154
  */
167
155
  recoveryCode?: pulumi.Input<boolean>;
168
156
  /**
169
- * List(Resource). Configuration settings for the WebAuthn with FIDO Device Biometrics MFA.
170
- * If this block is present, WebAuthn with FIDO Device Biometrics MFA will be enabled, and disabled otherwise.
171
- * For details, see WebAuthn Platform.
157
+ * Configuration settings for the WebAuthn with FIDO Device Biometrics MFA. If this block is present, WebAuthn with FIDO Device Biometrics MFA will be enabled, and disabled otherwise.
172
158
  */
173
159
  webauthnPlatform?: pulumi.Input<inputs.GuardianWebauthnPlatform>;
174
160
  /**
175
- * List(Resource). Configuration settings for the WebAuthn with FIDO Security Keys MFA.
176
- * If this block is present, WebAuthn with FIDO Security Keys MFA will be enabled, and disabled otherwise.
177
- * For details, see WebAuthn Roaming.
161
+ * Configuration settings for the WebAuthn with FIDO Security Keys MFA. If this block is present, WebAuthn with FIDO Security Keys MFA will be enabled, and disabled otherwise.
178
162
  */
179
163
  webauthnRoaming?: pulumi.Input<inputs.GuardianWebauthnRoaming>;
180
164
  }
@@ -183,47 +167,39 @@ export interface GuardianState {
183
167
  */
184
168
  export interface GuardianArgs {
185
169
  /**
186
- * List(Resource). Configuration settings for the Duo MFA.
187
- * If this block is present, Duo MFA will be enabled, and disabled otherwise. For details, see Duo.
170
+ * Configuration settings for the Duo MFA. If this block is present, Duo MFA will be enabled, and disabled otherwise.
188
171
  */
189
172
  duo?: pulumi.Input<inputs.GuardianDuo>;
190
173
  /**
191
- * Boolean. Indicates whether email MFA is enabled.
174
+ * Indicates whether email MFA is enabled.
192
175
  */
193
176
  email?: pulumi.Input<boolean>;
194
177
  /**
195
- * Boolean. Indicates whether one time password MFA is enabled.
178
+ * Indicates whether one time password MFA is enabled.
196
179
  */
197
180
  otp?: pulumi.Input<boolean>;
198
181
  /**
199
- * List(Resource). Configuration settings for the phone MFA.
200
- * If this block is present, Phone MFA will be enabled, and disabled otherwise. For details, see Phone.
182
+ * Configuration settings for the phone MFA. If this block is present, Phone MFA will be enabled, and disabled otherwise.
201
183
  */
202
184
  phone?: pulumi.Input<inputs.GuardianPhone>;
203
185
  /**
204
- * String. Policy to use. Available options are `never`, `all-applications` and `confidence-score`.
205
- * The option `confidence-score` means the trigger of MFA will be adaptive. See [Auth0 docs](https://auth0.com/docs/mfa/adaptive-mfa).
186
+ * Policy to use. Available options are `never`, `all-applications` and `confidence-score`.
206
187
  */
207
188
  policy: pulumi.Input<string>;
208
189
  /**
209
- * List(Resource). Configuration settings for the Push MFA.
210
- * If this block is present, Push MFA will be enabled, and disabled otherwise. For details, see Push.
190
+ * Configuration settings for the Push MFA. If this block is present, Push MFA will be enabled, and disabled otherwise.
211
191
  */
212
192
  push?: pulumi.Input<inputs.GuardianPush>;
213
193
  /**
214
- * Boolean. Indicates whether recovery code MFA is enabled.
194
+ * Indicates whether recovery code MFA is enabled.
215
195
  */
216
196
  recoveryCode?: pulumi.Input<boolean>;
217
197
  /**
218
- * List(Resource). Configuration settings for the WebAuthn with FIDO Device Biometrics MFA.
219
- * If this block is present, WebAuthn with FIDO Device Biometrics MFA will be enabled, and disabled otherwise.
220
- * For details, see WebAuthn Platform.
198
+ * Configuration settings for the WebAuthn with FIDO Device Biometrics MFA. If this block is present, WebAuthn with FIDO Device Biometrics MFA will be enabled, and disabled otherwise.
221
199
  */
222
200
  webauthnPlatform?: pulumi.Input<inputs.GuardianWebauthnPlatform>;
223
201
  /**
224
- * List(Resource). Configuration settings for the WebAuthn with FIDO Security Keys MFA.
225
- * If this block is present, WebAuthn with FIDO Security Keys MFA will be enabled, and disabled otherwise.
226
- * For details, see WebAuthn Roaming.
202
+ * Configuration settings for the WebAuthn with FIDO Security Keys MFA. If this block is present, WebAuthn with FIDO Security Keys MFA will be enabled, and disabled otherwise.
227
203
  */
228
204
  webauthnRoaming?: pulumi.Input<inputs.GuardianWebauthnRoaming>;
229
205
  }
package/guardian.js CHANGED
@@ -6,8 +6,7 @@ exports.Guardian = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
- * Multi-Factor Authentication works by requiring additional factors during the login process to prevent unauthorized
10
- * access. With this resource you can configure some options available for MFA.
9
+ * Multi-Factor Authentication works by requiring additional factors during the login process to prevent unauthorized access. With this resource you can configure some options available for MFA.
11
10
  *
12
11
  * ## Example Usage
13
12
  *
@@ -59,10 +58,10 @@ const utilities = require("./utilities");
59
58
  *
60
59
  * ## Import
61
60
  *
62
- * As this is not a resource identifiable by an ID within the Auth0 Management API, guardian can be imported using a random string. We recommend [Version 4 UUID](https://www.uuidgenerator.net/version4) e.g.
61
+ * As this is not a resource identifiable by an ID within the Auth0 Management API, guardian can be imported using a random string. # We recommend [Version 4 UUID](https://www.uuidgenerator.net/version4) # Example
63
62
  *
64
63
  * ```sh
65
- * $ pulumi import auth0:index/guardian:Guardian default 24940d4b-4bd4-44e7-894e-f92e4de36a40
64
+ * $ pulumi import auth0:index/guardian:Guardian my_guardian 24940d4b-4bd4-44e7-894e-f92e4de36a40
66
65
  * ```
67
66
  */
68
67
  class Guardian extends pulumi.CustomResource {
package/guardian.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"guardian.js","sourceRoot":"","sources":["../guardian.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2DG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,cAAc;IAiF/C,YAAY,IAAY,EAAE,WAA0C,EAAE,IAAmC;QACrG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAwC,CAAC;YACvD,cAAc,CAAC,KAAK,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,SAA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@pulumi/pulumi";
2
2
  /**
3
- * Hooks are secure, self-contained functions that allow you to customize the behavior of Auth0 when executed for selected
4
- * extensibility points of the Auth0 platform. Auth0 invokes Hooks during runtime to execute your custom Node.js code.
5
- *
6
- * Depending on the extensibility point, you can use Hooks with Database Connections and/or Passwordless Connections.
3
+ * Hooks are secure, self-contained functions that allow you to customize the behavior of Auth0 when executed for selected extensibility points of the Auth0 platform. Auth0 invokes Hooks during runtime to execute your custom Node.js code. Depending on the extensibility point, you can use Hooks with Database Connections and/or Passwordless Connections.
7
4
  *
8
5
  * ## Example Usage
9
6
  *
@@ -16,10 +13,10 @@ import * as pulumi from "@pulumi/pulumi";
16
13
  * auth0: "2.30.0",
17
14
  * },
18
15
  * enabled: true,
19
- * script: `function (user, context, callback) {
20
- * callback(null, { user });
21
- * }
22
- * `,
16
+ * script: ` function (user, context, callback) {
17
+ * callback(null, { user });
18
+ * }
19
+ * `,
23
20
  * secrets: {
24
21
  * foo: "bar",
25
22
  * },
@@ -29,7 +26,7 @@ import * as pulumi from "@pulumi/pulumi";
29
26
  *
30
27
  * ## Import
31
28
  *
32
- * A hook can be imported using the hook's ID, e.g.
29
+ * A hook can be imported using the hook's ID. # Example
33
30
  *
34
31
  * ```sh
35
32
  * $ pulumi import auth0:index/hook:Hook my_hook 00001
@@ -70,14 +67,13 @@ export declare class Hook extends pulumi.CustomResource {
70
67
  */
71
68
  readonly script: pulumi.Output<string>;
72
69
  /**
73
- * Map(String), sets the hook secrets associated with this hook.
74
- * If specified, any secrets not listed here will be removed from the hook.
70
+ * The secrets associated with the hook.
75
71
  */
76
72
  readonly secrets: pulumi.Output<{
77
73
  [key: string]: any;
78
74
  } | undefined>;
79
75
  /**
80
- * Execution stage of this rule. Can be `credentials-exchange`, `pre-user-registration`, `post-user-registration`, `post-change-password`, or `send-phone-message`.
76
+ * Execution stage of this rule. Can be credentials-exchange, pre-user-registration, post-user-registration, post-change-password, or send-phone-message.
81
77
  */
82
78
  readonly triggerId: pulumi.Output<string>;
83
79
  /**
@@ -112,14 +108,13 @@ export interface HookState {
112
108
  */
113
109
  script?: pulumi.Input<string>;
114
110
  /**
115
- * Map(String), sets the hook secrets associated with this hook.
116
- * If specified, any secrets not listed here will be removed from the hook.
111
+ * The secrets associated with the hook.
117
112
  */
118
113
  secrets?: pulumi.Input<{
119
114
  [key: string]: any;
120
115
  }>;
121
116
  /**
122
- * Execution stage of this rule. Can be `credentials-exchange`, `pre-user-registration`, `post-user-registration`, `post-change-password`, or `send-phone-message`.
117
+ * Execution stage of this rule. Can be credentials-exchange, pre-user-registration, post-user-registration, post-change-password, or send-phone-message.
123
118
  */
124
119
  triggerId?: pulumi.Input<string>;
125
120
  }
@@ -146,14 +141,13 @@ export interface HookArgs {
146
141
  */
147
142
  script: pulumi.Input<string>;
148
143
  /**
149
- * Map(String), sets the hook secrets associated with this hook.
150
- * If specified, any secrets not listed here will be removed from the hook.
144
+ * The secrets associated with the hook.
151
145
  */
152
146
  secrets?: pulumi.Input<{
153
147
  [key: string]: any;
154
148
  }>;
155
149
  /**
156
- * Execution stage of this rule. Can be `credentials-exchange`, `pre-user-registration`, `post-user-registration`, `post-change-password`, or `send-phone-message`.
150
+ * Execution stage of this rule. Can be credentials-exchange, pre-user-registration, post-user-registration, post-change-password, or send-phone-message.
157
151
  */
158
152
  triggerId: pulumi.Input<string>;
159
153
  }
package/hook.js CHANGED
@@ -6,10 +6,7 @@ exports.Hook = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
- * Hooks are secure, self-contained functions that allow you to customize the behavior of Auth0 when executed for selected
10
- * extensibility points of the Auth0 platform. Auth0 invokes Hooks during runtime to execute your custom Node.js code.
11
- *
12
- * Depending on the extensibility point, you can use Hooks with Database Connections and/or Passwordless Connections.
9
+ * Hooks are secure, self-contained functions that allow you to customize the behavior of Auth0 when executed for selected extensibility points of the Auth0 platform. Auth0 invokes Hooks during runtime to execute your custom Node.js code. Depending on the extensibility point, you can use Hooks with Database Connections and/or Passwordless Connections.
13
10
  *
14
11
  * ## Example Usage
15
12
  *
@@ -22,10 +19,10 @@ const utilities = require("./utilities");
22
19
  * auth0: "2.30.0",
23
20
  * },
24
21
  * enabled: true,
25
- * script: `function (user, context, callback) {
26
- * callback(null, { user });
27
- * }
28
- * `,
22
+ * script: ` function (user, context, callback) {
23
+ * callback(null, { user });
24
+ * }
25
+ * `,
29
26
  * secrets: {
30
27
  * foo: "bar",
31
28
  * },
@@ -35,7 +32,7 @@ const utilities = require("./utilities");
35
32
  *
36
33
  * ## Import
37
34
  *
38
- * A hook can be imported using the hook's ID, e.g.
35
+ * A hook can be imported using the hook's ID. # Example
39
36
  *
40
37
  * ```sh
41
38
  * $ pulumi import auth0:index/hook:Hook my_hook 00001
@@ -66,10 +63,12 @@ class Hook extends pulumi.CustomResource {
66
63
  resourceInputs["enabled"] = args ? args.enabled : undefined;
67
64
  resourceInputs["name"] = args ? args.name : undefined;
68
65
  resourceInputs["script"] = args ? args.script : undefined;
69
- resourceInputs["secrets"] = args ? args.secrets : undefined;
66
+ resourceInputs["secrets"] = (args === null || args === void 0 ? void 0 : args.secrets) ? pulumi.secret(args.secrets) : undefined;
70
67
  resourceInputs["triggerId"] = args ? args.triggerId : undefined;
71
68
  }
72
69
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
70
+ const secretOpts = { additionalSecretOutputs: ["secrets"] };
71
+ opts = pulumi.mergeOptions(opts, secretOpts);
73
72
  super(Hook.__pulumiType, name, resourceInputs, opts);
74
73
  }
75
74
  /**
package/hook.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"hook.js","sourceRoot":"","sources":["../hook.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,MAAa,IAAK,SAAQ,MAAM,CAAC,cAAc;IA8D3C,YAAY,I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G,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,IAAI,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACzD,CAAC;IA1FD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAiB,EAAE,IAAmC;QAC/G,OAAO,IAAI,IAAI,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC3D,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,IAAI,CAAC,YAAY,CAAC;IACrD,CAAC;;AA1BL,oBA4FC;AA9EG,gBAAgB;AACO,iBAAY,GAAG,uBAAuB,CAAC"}
package/index.d.ts CHANGED
@@ -1,33 +1,94 @@
1
- export * from "./action";
2
- export * from "./attackProtection";
3
- export * from "./branding";
4
- export * from "./client";
5
- export * from "./clientGrant";
6
- export * from "./connection";
7
- export * from "./customDomain";
8
- export * from "./customDomainVerification";
9
- export * from "./email";
10
- export * from "./emailTemplate";
11
- export * from "./getClient";
12
- export * from "./getGlobalClient";
13
- export * from "./getTenant";
14
- export * from "./globalClient";
15
- export * from "./guardian";
16
- export * from "./hook";
17
- export * from "./logStream";
18
- export * from "./organization";
19
- export * from "./organizationConnection";
20
- export * from "./organizationMember";
21
- export * from "./prompt";
22
- export * from "./promptCustomText";
23
- export * from "./provider";
24
- export * from "./resourceServer";
25
- export * from "./role";
26
- export * from "./rule";
27
- export * from "./ruleConfig";
28
- export * from "./tenant";
29
- export * from "./triggerBinding";
30
- export * from "./user";
1
+ export { ActionArgs, ActionState } from "./action";
2
+ export declare type Action = import("./action").Action;
3
+ export declare const Action: typeof import("./action").Action;
4
+ export { AttackProtectionArgs, AttackProtectionState } from "./attackProtection";
5
+ export declare type AttackProtection = import("./attackProtection").AttackProtection;
6
+ export declare const AttackProtection: typeof import("./attackProtection").AttackProtection;
7
+ export { BrandingArgs, BrandingState } from "./branding";
8
+ export declare type Branding = import("./branding").Branding;
9
+ export declare const Branding: typeof import("./branding").Branding;
10
+ export { BrandingThemeArgs, BrandingThemeState } from "./brandingTheme";
11
+ export declare type BrandingTheme = import("./brandingTheme").BrandingTheme;
12
+ export declare const BrandingTheme: typeof import("./brandingTheme").BrandingTheme;
13
+ export { ClientArgs, ClientState } from "./client";
14
+ export declare type Client = import("./client").Client;
15
+ export declare const Client: typeof import("./client").Client;
16
+ export { ClientGrantArgs, ClientGrantState } from "./clientGrant";
17
+ export declare type ClientGrant = import("./clientGrant").ClientGrant;
18
+ export declare const ClientGrant: typeof import("./clientGrant").ClientGrant;
19
+ export { ConnectionArgs, ConnectionState } from "./connection";
20
+ export declare type Connection = import("./connection").Connection;
21
+ export declare const Connection: typeof import("./connection").Connection;
22
+ export { CustomDomainArgs, CustomDomainState } from "./customDomain";
23
+ export declare type CustomDomain = import("./customDomain").CustomDomain;
24
+ export declare const CustomDomain: typeof import("./customDomain").CustomDomain;
25
+ export { CustomDomainVerificationArgs, CustomDomainVerificationState } from "./customDomainVerification";
26
+ export declare type CustomDomainVerification = import("./customDomainVerification").CustomDomainVerification;
27
+ export declare const CustomDomainVerification: typeof import("./customDomainVerification").CustomDomainVerification;
28
+ export { EmailArgs, EmailState } from "./email";
29
+ export declare type Email = import("./email").Email;
30
+ export declare const Email: typeof import("./email").Email;
31
+ export { EmailTemplateArgs, EmailTemplateState } from "./emailTemplate";
32
+ export declare type EmailTemplate = import("./emailTemplate").EmailTemplate;
33
+ export declare const EmailTemplate: typeof import("./emailTemplate").EmailTemplate;
34
+ export { GetClientArgs, GetClientResult, GetClientOutputArgs } from "./getClient";
35
+ export declare const getClient: typeof import("./getClient").getClient;
36
+ export declare const getClientOutput: typeof import("./getClient").getClientOutput;
37
+ export { GetGlobalClientResult } from "./getGlobalClient";
38
+ export declare const getGlobalClient: typeof import("./getGlobalClient").getGlobalClient;
39
+ export { GetTenantResult } from "./getTenant";
40
+ export declare const getTenant: typeof import("./getTenant").getTenant;
41
+ export { GlobalClientArgs, GlobalClientState } from "./globalClient";
42
+ export declare type GlobalClient = import("./globalClient").GlobalClient;
43
+ export declare const GlobalClient: typeof import("./globalClient").GlobalClient;
44
+ export { GuardianArgs, GuardianState } from "./guardian";
45
+ export declare type Guardian = import("./guardian").Guardian;
46
+ export declare const Guardian: typeof import("./guardian").Guardian;
47
+ export { HookArgs, HookState } from "./hook";
48
+ export declare type Hook = import("./hook").Hook;
49
+ export declare const Hook: typeof import("./hook").Hook;
50
+ export { LogStreamArgs, LogStreamState } from "./logStream";
51
+ export declare type LogStream = import("./logStream").LogStream;
52
+ export declare const LogStream: typeof import("./logStream").LogStream;
53
+ export { OrganizationArgs, OrganizationState } from "./organization";
54
+ export declare type Organization = import("./organization").Organization;
55
+ export declare const Organization: typeof import("./organization").Organization;
56
+ export { OrganizationConnectionArgs, OrganizationConnectionState } from "./organizationConnection";
57
+ export declare type OrganizationConnection = import("./organizationConnection").OrganizationConnection;
58
+ export declare const OrganizationConnection: typeof import("./organizationConnection").OrganizationConnection;
59
+ export { OrganizationMemberArgs, OrganizationMemberState } from "./organizationMember";
60
+ export declare type OrganizationMember = import("./organizationMember").OrganizationMember;
61
+ export declare const OrganizationMember: typeof import("./organizationMember").OrganizationMember;
62
+ export { PromptArgs, PromptState } from "./prompt";
63
+ export declare type Prompt = import("./prompt").Prompt;
64
+ export declare const Prompt: typeof import("./prompt").Prompt;
65
+ export { PromptCustomTextArgs, PromptCustomTextState } from "./promptCustomText";
66
+ export declare type PromptCustomText = import("./promptCustomText").PromptCustomText;
67
+ export declare const PromptCustomText: typeof import("./promptCustomText").PromptCustomText;
68
+ export { ProviderArgs } from "./provider";
69
+ export declare type Provider = import("./provider").Provider;
70
+ export declare const Provider: typeof import("./provider").Provider;
71
+ export { ResourceServerArgs, ResourceServerState } from "./resourceServer";
72
+ export declare type ResourceServer = import("./resourceServer").ResourceServer;
73
+ export declare const ResourceServer: typeof import("./resourceServer").ResourceServer;
74
+ export { RoleArgs, RoleState } from "./role";
75
+ export declare type Role = import("./role").Role;
76
+ export declare const Role: typeof import("./role").Role;
77
+ export { RuleArgs, RuleState } from "./rule";
78
+ export declare type Rule = import("./rule").Rule;
79
+ export declare const Rule: typeof import("./rule").Rule;
80
+ export { RuleConfigArgs, RuleConfigState } from "./ruleConfig";
81
+ export declare type RuleConfig = import("./ruleConfig").RuleConfig;
82
+ export declare const RuleConfig: typeof import("./ruleConfig").RuleConfig;
83
+ export { TenantArgs, TenantState } from "./tenant";
84
+ export declare type Tenant = import("./tenant").Tenant;
85
+ export declare const Tenant: typeof import("./tenant").Tenant;
86
+ export { TriggerBindingArgs, TriggerBindingState } from "./triggerBinding";
87
+ export declare type TriggerBinding = import("./triggerBinding").TriggerBinding;
88
+ export declare const TriggerBinding: typeof import("./triggerBinding").TriggerBinding;
89
+ export { UserArgs, UserState } from "./user";
90
+ export declare type User = import("./user").User;
91
+ export declare const User: typeof import("./user").User;
31
92
  import * as config from "./config";
32
93
  import * as types from "./types";
33
94
  export { config, types, };