@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
@@ -1,8 +1,6 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  /**
3
- * With Auth0, you can have standard welcome, password reset, and account verification email-based workflows built right
4
- * into Auth0. This resource allows you to configure email templates to customize the look, feel, and sender identities of
5
- * emails sent by Auth0. Used in conjunction with configured email providers.
3
+ * With Auth0, you can have standard welcome, password reset, and account verification email-based workflows built right into Auth0. This resource allows you to configure email templates to customize the look, feel, and sender identities of emails sent by Auth0. Used in conjunction with configured email providers.
6
4
  *
7
5
  * ## Example Usage
8
6
  *
@@ -28,7 +26,6 @@ import * as pulumi from "@pulumi/pulumi";
28
26
  * syntax: "liquid",
29
27
  * urlLifetimeInSeconds: 3600,
30
28
  * enabled: true,
31
- * includeEmailInRedirect: true,
32
29
  * }, {
33
30
  * dependsOn: [myEmailProvider],
34
31
  * });
@@ -36,7 +33,7 @@ import * as pulumi from "@pulumi/pulumi";
36
33
  *
37
34
  * ## Import
38
35
  *
39
- * This resource can be imported using the template name, e.g.
36
+ * This resource can be imported using the pre-defined template name. # These names are `verify_email`, `verify_email_by_code`, `reset_email`, `welcome_email`, `blocked_account`, `stolen_credentials`, `enrollment_email`, `mfa_oob_code`, and `user_invitation`. # The names `change_password`, and `password_reset` are also supported for legacy scenarios. # Example
40
37
  *
41
38
  * ```sh
42
39
  * $ pulumi import auth0:index/emailTemplate:EmailTemplate my_email_template welcome_email
@@ -59,39 +56,39 @@ export declare class EmailTemplate extends pulumi.CustomResource {
59
56
  */
60
57
  static isInstance(obj: any): obj is EmailTemplate;
61
58
  /**
62
- * String. Body of the email template. You can include [common variables](https://auth0.com/docs/email/templates#common-variables).
59
+ * Body of the email template. You can include [common variables](https://auth0.com/docs/customize/email/email-templates#common-variables).
63
60
  */
64
61
  readonly body: pulumi.Output<string>;
65
62
  /**
66
- * Boolean. Indicates whether the template is enabled.
63
+ * Indicates whether the template is enabled.
67
64
  */
68
65
  readonly enabled: pulumi.Output<boolean>;
69
66
  /**
70
- * String. Email address to use as the sender. You can include [common variables](https://auth0.com/docs/email/templates#common-variables).
67
+ * Email address to use as the sender. You can include [common variables](https://auth0.com/docs/customize/email/email-templates#common-variables).
71
68
  */
72
69
  readonly from: pulumi.Output<string>;
73
70
  /**
74
- * Boolean. Whether the `resetEmail` and `verifyEmail` templates should include the user's email address as the email parameter in the `returnUrl` (true) or whether no email address should be included in the redirect (false). Defaults to true.
71
+ * Whether the `resetEmail` and `verifyEmail` templates should include the user's email address as the email parameter in the `returnUrl` (true) or whether no email address should be included in the redirect (false). Defaults to `true`.
75
72
  */
76
73
  readonly includeEmailInRedirect: pulumi.Output<boolean>;
77
74
  /**
78
- * String. URL to redirect the user to after a successful action. [Learn more](https://auth0.com/docs/email/templates#configuring-the-redirect-to-url).
75
+ * URL to redirect the user to after a successful action. [Learn more](https://auth0.com/docs/customize/email/email-templates#configure-template-fields).
79
76
  */
80
77
  readonly resultUrl: pulumi.Output<string | undefined>;
81
78
  /**
82
- * String. Subject line of the email. You can include [common variables](https://auth0.com/docs/email/templates#common-variables).
79
+ * Subject line of the email. You can include [common variables](https://auth0.com/docs/customize/email/email-templates#common-variables).
83
80
  */
84
81
  readonly subject: pulumi.Output<string>;
85
82
  /**
86
- * String. Syntax of the template body. You can use either text or HTML + Liquid syntax.
83
+ * Syntax of the template body. You can use either text or HTML with Liquid syntax.
87
84
  */
88
85
  readonly syntax: pulumi.Output<string>;
89
86
  /**
90
- * String. Template name. Options include `verifyEmail`, `verifyEmailByCode`, `resetEmail`, `welcomeEmail`, `blockedAccount`, `stolenCredentials`, `enrollmentEmail`, `mfaOobCode`, `userInvitation`, `changePassword` (legacy), or `passwordReset` (legacy).
87
+ * Template name. Options include `verifyEmail`, `verifyEmailByCode`, `resetEmail`, `welcomeEmail`, `blockedAccount`, `stolenCredentials`, `enrollmentEmail`, `mfaOobCode`, `userInvitation`, `changePassword` (legacy), or `passwordReset` (legacy).
91
88
  */
92
89
  readonly template: pulumi.Output<string>;
93
90
  /**
94
- * Integer. Number of seconds during which the link within the email will be valid.
91
+ * Number of seconds during which the link within the email will be valid.
95
92
  */
96
93
  readonly urlLifetimeInSeconds: pulumi.Output<number | undefined>;
97
94
  /**
@@ -108,39 +105,39 @@ export declare class EmailTemplate extends pulumi.CustomResource {
108
105
  */
109
106
  export interface EmailTemplateState {
110
107
  /**
111
- * String. Body of the email template. You can include [common variables](https://auth0.com/docs/email/templates#common-variables).
108
+ * Body of the email template. You can include [common variables](https://auth0.com/docs/customize/email/email-templates#common-variables).
112
109
  */
113
110
  body?: pulumi.Input<string>;
114
111
  /**
115
- * Boolean. Indicates whether the template is enabled.
112
+ * Indicates whether the template is enabled.
116
113
  */
117
114
  enabled?: pulumi.Input<boolean>;
118
115
  /**
119
- * String. Email address to use as the sender. You can include [common variables](https://auth0.com/docs/email/templates#common-variables).
116
+ * Email address to use as the sender. You can include [common variables](https://auth0.com/docs/customize/email/email-templates#common-variables).
120
117
  */
121
118
  from?: pulumi.Input<string>;
122
119
  /**
123
- * Boolean. Whether the `resetEmail` and `verifyEmail` templates should include the user's email address as the email parameter in the `returnUrl` (true) or whether no email address should be included in the redirect (false). Defaults to true.
120
+ * Whether the `resetEmail` and `verifyEmail` templates should include the user's email address as the email parameter in the `returnUrl` (true) or whether no email address should be included in the redirect (false). Defaults to `true`.
124
121
  */
125
122
  includeEmailInRedirect?: pulumi.Input<boolean>;
126
123
  /**
127
- * String. URL to redirect the user to after a successful action. [Learn more](https://auth0.com/docs/email/templates#configuring-the-redirect-to-url).
124
+ * URL to redirect the user to after a successful action. [Learn more](https://auth0.com/docs/customize/email/email-templates#configure-template-fields).
128
125
  */
129
126
  resultUrl?: pulumi.Input<string>;
130
127
  /**
131
- * String. Subject line of the email. You can include [common variables](https://auth0.com/docs/email/templates#common-variables).
128
+ * Subject line of the email. You can include [common variables](https://auth0.com/docs/customize/email/email-templates#common-variables).
132
129
  */
133
130
  subject?: pulumi.Input<string>;
134
131
  /**
135
- * String. Syntax of the template body. You can use either text or HTML + Liquid syntax.
132
+ * Syntax of the template body. You can use either text or HTML with Liquid syntax.
136
133
  */
137
134
  syntax?: pulumi.Input<string>;
138
135
  /**
139
- * String. Template name. Options include `verifyEmail`, `verifyEmailByCode`, `resetEmail`, `welcomeEmail`, `blockedAccount`, `stolenCredentials`, `enrollmentEmail`, `mfaOobCode`, `userInvitation`, `changePassword` (legacy), or `passwordReset` (legacy).
136
+ * Template name. Options include `verifyEmail`, `verifyEmailByCode`, `resetEmail`, `welcomeEmail`, `blockedAccount`, `stolenCredentials`, `enrollmentEmail`, `mfaOobCode`, `userInvitation`, `changePassword` (legacy), or `passwordReset` (legacy).
140
137
  */
141
138
  template?: pulumi.Input<string>;
142
139
  /**
143
- * Integer. Number of seconds during which the link within the email will be valid.
140
+ * Number of seconds during which the link within the email will be valid.
144
141
  */
145
142
  urlLifetimeInSeconds?: pulumi.Input<number>;
146
143
  }
@@ -149,39 +146,39 @@ export interface EmailTemplateState {
149
146
  */
150
147
  export interface EmailTemplateArgs {
151
148
  /**
152
- * String. Body of the email template. You can include [common variables](https://auth0.com/docs/email/templates#common-variables).
149
+ * Body of the email template. You can include [common variables](https://auth0.com/docs/customize/email/email-templates#common-variables).
153
150
  */
154
151
  body: pulumi.Input<string>;
155
152
  /**
156
- * Boolean. Indicates whether the template is enabled.
153
+ * Indicates whether the template is enabled.
157
154
  */
158
155
  enabled: pulumi.Input<boolean>;
159
156
  /**
160
- * String. Email address to use as the sender. You can include [common variables](https://auth0.com/docs/email/templates#common-variables).
157
+ * Email address to use as the sender. You can include [common variables](https://auth0.com/docs/customize/email/email-templates#common-variables).
161
158
  */
162
159
  from: pulumi.Input<string>;
163
160
  /**
164
- * Boolean. Whether the `resetEmail` and `verifyEmail` templates should include the user's email address as the email parameter in the `returnUrl` (true) or whether no email address should be included in the redirect (false). Defaults to true.
161
+ * Whether the `resetEmail` and `verifyEmail` templates should include the user's email address as the email parameter in the `returnUrl` (true) or whether no email address should be included in the redirect (false). Defaults to `true`.
165
162
  */
166
163
  includeEmailInRedirect?: pulumi.Input<boolean>;
167
164
  /**
168
- * String. URL to redirect the user to after a successful action. [Learn more](https://auth0.com/docs/email/templates#configuring-the-redirect-to-url).
165
+ * URL to redirect the user to after a successful action. [Learn more](https://auth0.com/docs/customize/email/email-templates#configure-template-fields).
169
166
  */
170
167
  resultUrl?: pulumi.Input<string>;
171
168
  /**
172
- * String. Subject line of the email. You can include [common variables](https://auth0.com/docs/email/templates#common-variables).
169
+ * Subject line of the email. You can include [common variables](https://auth0.com/docs/customize/email/email-templates#common-variables).
173
170
  */
174
171
  subject: pulumi.Input<string>;
175
172
  /**
176
- * String. Syntax of the template body. You can use either text or HTML + Liquid syntax.
173
+ * Syntax of the template body. You can use either text or HTML with Liquid syntax.
177
174
  */
178
175
  syntax: pulumi.Input<string>;
179
176
  /**
180
- * String. Template name. Options include `verifyEmail`, `verifyEmailByCode`, `resetEmail`, `welcomeEmail`, `blockedAccount`, `stolenCredentials`, `enrollmentEmail`, `mfaOobCode`, `userInvitation`, `changePassword` (legacy), or `passwordReset` (legacy).
177
+ * Template name. Options include `verifyEmail`, `verifyEmailByCode`, `resetEmail`, `welcomeEmail`, `blockedAccount`, `stolenCredentials`, `enrollmentEmail`, `mfaOobCode`, `userInvitation`, `changePassword` (legacy), or `passwordReset` (legacy).
181
178
  */
182
179
  template: pulumi.Input<string>;
183
180
  /**
184
- * Integer. Number of seconds during which the link within the email will be valid.
181
+ * Number of seconds during which the link within the email will be valid.
185
182
  */
186
183
  urlLifetimeInSeconds?: pulumi.Input<number>;
187
184
  }
package/emailTemplate.js CHANGED
@@ -6,9 +6,7 @@ exports.EmailTemplate = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
- * With Auth0, you can have standard welcome, password reset, and account verification email-based workflows built right
10
- * into Auth0. This resource allows you to configure email templates to customize the look, feel, and sender identities of
11
- * emails sent by Auth0. Used in conjunction with configured email providers.
9
+ * With Auth0, you can have standard welcome, password reset, and account verification email-based workflows built right into Auth0. This resource allows you to configure email templates to customize the look, feel, and sender identities of emails sent by Auth0. Used in conjunction with configured email providers.
12
10
  *
13
11
  * ## Example Usage
14
12
  *
@@ -34,7 +32,6 @@ const utilities = require("./utilities");
34
32
  * syntax: "liquid",
35
33
  * urlLifetimeInSeconds: 3600,
36
34
  * enabled: true,
37
- * includeEmailInRedirect: true,
38
35
  * }, {
39
36
  * dependsOn: [myEmailProvider],
40
37
  * });
@@ -42,7 +39,7 @@ const utilities = require("./utilities");
42
39
  *
43
40
  * ## Import
44
41
  *
45
- * This resource can be imported using the template name, e.g.
42
+ * This resource can be imported using the pre-defined template name. # These names are `verify_email`, `verify_email_by_code`, `reset_email`, `welcome_email`, `blocked_account`, `stolen_credentials`, `enrollment_email`, `mfa_oob_code`, and `user_invitation`. # The names `change_password`, and `password_reset` are also supported for legacy scenarios. # Example
46
43
  *
47
44
  * ```sh
48
45
  * $ pulumi import auth0:index/emailTemplate:EmailTemplate my_email_template welcome_email
@@ -1 +1 @@
1
- {"version":3,"file":"emailTemplate.js","sourceRoot":"","sources":["../emailTemplate.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0CG;AACH,MAAa,aAAc,SAAQ,MAAM,CAAC,cAAc;IAyEpD,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,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,c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AAC,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;;AA1BL,sCAwHC;AA1GG,gBAAgB;AACO,0BAAY,GAAG,yCAAyC,CAAC"}
package/getClient.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
- import { output as outputs } from "./types";
2
+ import * as outputs from "./types/output";
3
3
  /**
4
- * Data source to retrieve a specific Auth0 Application client by 'client_id' or 'name'
4
+ * Data source to retrieve a specific Auth0 Application client by 'client_id' or 'name'.
5
5
  *
6
6
  * ## Example Usage
7
7
  *
@@ -9,9 +9,11 @@ import { output as outputs } from "./types";
9
9
  * import * as pulumi from "@pulumi/pulumi";
10
10
  * import * as auth0 from "@pulumi/auth0";
11
11
  *
12
+ * // An Auth0 Client loaded using its name.
12
13
  * const some_client_by_name = pulumi.output(auth0.getClient({
13
14
  * name: "Name of my Application",
14
15
  * }));
16
+ * // An Auth0 Client loaded using its ID.
15
17
  * const some_client_by_id = pulumi.output(auth0.getClient({
16
18
  * clientId: "abcdefghkijklmnopqrstuvwxyz0123456789",
17
19
  * }));
@@ -23,11 +25,11 @@ export declare function getClient(args?: GetClientArgs, opts?: pulumi.InvokeOpti
23
25
  */
24
26
  export interface GetClientArgs {
25
27
  /**
26
- * String. clientId of the application.
28
+ * The ID of the client. If not provided, `name` must be set.
27
29
  */
28
30
  clientId?: string;
29
31
  /**
30
- * String. Name of the application. Ignored if `clientId` is also specified.
32
+ * The name of the client. If not provided, `clientId` must be set.
31
33
  */
32
34
  name?: string;
33
35
  }
@@ -35,49 +37,152 @@ export interface GetClientArgs {
35
37
  * A collection of values returned by getClient.
36
38
  */
37
39
  export interface GetClientResult {
40
+ /**
41
+ * Addons enabled for this client and their associated configurations.
42
+ */
38
43
  readonly addons: outputs.GetClientAddon[];
44
+ /**
45
+ * List of applications ID's that will be allowed to make delegation request. By default, all applications will be allowed.
46
+ */
39
47
  readonly allowedClients: string[];
48
+ /**
49
+ * URLs that Auth0 may redirect to after logout.
50
+ */
40
51
  readonly allowedLogoutUrls: string[];
52
+ /**
53
+ * URLs that represent valid origins for cross-origin resource sharing. By default, all your callback URLs will be allowed.
54
+ */
41
55
  readonly allowedOrigins: string[];
56
+ /**
57
+ * Type of application the client represents. Possible values are: `native`, `spa`, `regularWeb`, `nonInteractive`, `ssoIntegration`. Specific SSO integrations types accepted as well are: `rms`, `box`, `cloudbees`, `concur`, `dropbox`, `mscrm`, `echosign`, `egnyte`, `newrelic`, `office365`, `salesforce`, `sentry`, `sharepoint`, `slack`, `springcm`, `zendesk`, `zoom`.
58
+ */
42
59
  readonly appType: string;
60
+ /**
61
+ * URLs that Auth0 may call back to after a user authenticates for the client. Make sure to specify the protocol (https://) otherwise the callback may fail in some cases. With the exception of custom URI schemes for native clients, all callbacks should use protocol https://.
62
+ */
43
63
  readonly callbacks: string[];
64
+ /**
65
+ * List of audiences/realms for SAML protocol. Used by the wsfed addon.
66
+ */
67
+ readonly clientAliases: string[];
68
+ /**
69
+ * The ID of the client. If not provided, `name` must be set.
70
+ */
44
71
  readonly clientId?: string;
72
+ /**
73
+ * Metadata associated with the client, in the form of an object with string values (max 255 chars). Maximum of 10 metadata properties allowed. Field names (max 255 chars) are alphanumeric and may only include the following special characters: `:,-+=_*?"/\()<>@ [Tab] [Space]`.
74
+ */
45
75
  readonly clientMetadata: {
46
76
  [key: string]: any;
47
77
  };
48
78
  readonly clientSecret: string;
79
+ /**
80
+ * Whether this client can be used to make cross-origin authentication requests (true) or it is not allowed to make such requests (false).
81
+ */
49
82
  readonly crossOriginAuth: boolean;
83
+ /**
84
+ * URL of the location in your site where the cross-origin verification takes place for the cross-origin auth flow when performing authentication in your own domain instead of Auth0 Universal Login page.
85
+ */
50
86
  readonly crossOriginLoc: string;
87
+ /**
88
+ * The content (HTML, CSS, JS) of the custom login page.
89
+ */
51
90
  readonly customLoginPage: string;
91
+ /**
92
+ * Indicates whether a custom login page is to be used.
93
+ */
52
94
  readonly customLoginPageOn: boolean;
95
+ /**
96
+ * Description of the purpose of the client.
97
+ */
53
98
  readonly description: string;
99
+ /**
100
+ * Encryption used for WS-Fed responses with this client.
101
+ */
54
102
  readonly encryptionKey: {
55
103
  [key: string]: string;
56
104
  };
105
+ /**
106
+ * HTML form template to be used for WS-Federation.
107
+ */
57
108
  readonly formTemplate: string;
109
+ /**
110
+ * Types of grants that this client is authorized to use.
111
+ */
58
112
  readonly grantTypes: string[];
59
113
  /**
60
114
  * The provider-assigned unique ID for this managed resource.
61
115
  */
62
116
  readonly id: string;
117
+ /**
118
+ * Initiate login URI, must be HTTPS.
119
+ */
63
120
  readonly initiateLoginUri: string;
121
+ /**
122
+ * Indicates whether this client is a first-party client.
123
+ */
64
124
  readonly isFirstParty: boolean;
125
+ /**
126
+ * Indicates whether the token endpoint IP header is trusted.
127
+ */
65
128
  readonly isTokenEndpointIpHeaderTrusted: boolean;
129
+ /**
130
+ * Configuration settings for the JWTs issued for this client.
131
+ */
66
132
  readonly jwtConfigurations: outputs.GetClientJwtConfiguration[];
133
+ /**
134
+ * URL of the logo for the client. Recommended size is 150px x 150px. If none is set, the default badge for the application type will be shown.
135
+ */
67
136
  readonly logoUri: string;
137
+ /**
138
+ * Additional configuration for native mobile apps.
139
+ */
68
140
  readonly mobiles: outputs.GetClientMobile[];
141
+ /**
142
+ * The name of the client. If not provided, `clientId` must be set.
143
+ */
69
144
  readonly name?: string;
145
+ /**
146
+ * Configuration settings to toggle native social login for mobile native applications. Once this is set it must stay set, with both resources set to `false` in order to change the `appType`.
147
+ */
70
148
  readonly nativeSocialLogins: outputs.GetClientNativeSocialLogin[];
149
+ /**
150
+ * Indicates whether this client will conform to strict OIDC specifications.
151
+ */
71
152
  readonly oidcConformant: boolean;
153
+ /**
154
+ * Defines how to proceed during an authentication transaction when `organizationUsage = "require"`. Can be `noPrompt` (default) or `preLoginPrompt`.
155
+ */
72
156
  readonly organizationRequireBehavior: string;
157
+ /**
158
+ * Defines how to proceed during an authentication transaction with regards to an organization. Can be `deny` (default), `allow` or `require`.
159
+ */
73
160
  readonly organizationUsage: string;
161
+ /**
162
+ * Configuration settings for the refresh tokens issued for this client.
163
+ */
74
164
  readonly refreshTokens: outputs.GetClientRefreshToken[];
165
+ /**
166
+ * List containing a map of the public cert of the signing key and the public cert of the signing key in PKCS7.
167
+ */
75
168
  readonly signingKeys: {
76
169
  [key: string]: any;
77
170
  }[];
171
+ /**
172
+ * Applies only to SSO clients and determines whether Auth0 will handle Single Sign-On (true) or whether the identity provider will (false).
173
+ */
78
174
  readonly sso: boolean;
175
+ /**
176
+ * Indicates whether or not SSO is disabled.
177
+ */
79
178
  readonly ssoDisabled: boolean;
179
+ /**
180
+ * Defines the requested authentication method for the token endpoint. Options include `none` (public client without a client secret), `clientSecretPost` (client uses HTTP POST parameters), `clientSecretBasic` (client uses HTTP Basic).
181
+ */
80
182
  readonly tokenEndpointAuthMethod: string;
183
+ /**
184
+ * URLs that represent valid web origins for use with web message response mode.
185
+ */
81
186
  readonly webOrigins: string[];
82
187
  }
83
188
  export declare function getClientOutput(args?: GetClientOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetClientResult>;
@@ -86,11 +191,11 @@ export declare function getClientOutput(args?: GetClientOutputArgs, opts?: pulum
86
191
  */
87
192
  export interface GetClientOutputArgs {
88
193
  /**
89
- * String. clientId of the application.
194
+ * The ID of the client. If not provided, `name` must be set.
90
195
  */
91
196
  clientId?: pulumi.Input<string>;
92
197
  /**
93
- * String. Name of the application. Ignored if `clientId` is also specified.
198
+ * The name of the client. If not provided, `clientId` must be set.
94
199
  */
95
200
  name?: pulumi.Input<string>;
96
201
  }
package/getClient.js CHANGED
@@ -6,7 +6,7 @@ exports.getClientOutput = exports.getClient = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
- * Data source to retrieve a specific Auth0 Application client by 'client_id' or 'name'
9
+ * Data source to retrieve a specific Auth0 Application client by 'client_id' or 'name'.
10
10
  *
11
11
  * ## Example Usage
12
12
  *
@@ -14,9 +14,11 @@ const utilities = require("./utilities");
14
14
  * import * as pulumi from "@pulumi/pulumi";
15
15
  * import * as auth0 from "@pulumi/auth0";
16
16
  *
17
+ * // An Auth0 Client loaded using its name.
17
18
  * const some_client_by_name = pulumi.output(auth0.getClient({
18
19
  * name: "Name of my Application",
19
20
  * }));
21
+ * // An Auth0 Client loaded using its ID.
20
22
  * const some_client_by_id = pulumi.output(auth0.getClient({
21
23
  * clientId: "abcdefghkijklmnopqrstuvwxyz0123456789",
22
24
  * }));
package/getClient.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"getClient.js","sourceRoot":"","sources":["../getClient.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;GAgBG;AACH,SAAgB,SAAS,CAAC,IAAoB,EAAE,IAA2B;IACvE,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,iCAAiC,EAAE;QAC5D,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,8BAWC;AA4DD,SAAgB,eAAe,CAAC,IAA0B,EAAE,IAA2B;IACnF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,SAAS,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC7D,CAAC;AAFD,0CAEC"}
1
+ {"version":3,"file":"getClient.js","sourceRoot":"","sources":["../getClient.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;GAkBG;AACH,SAAgB,SAAS,CAAC,IAAoB,EAAE,IAA2B;IACvE,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,iCAAiC,EAAE;QAC5D,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,8BAWC;AAmKD,SAAgB,eAAe,CAAC,IAA0B,EAAE,IAA2B;IACnF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,SAAS,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC7D,CAAC;AAFD,0CAEC"}
@@ -1,5 +1,5 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
- import { output as outputs } from "./types";
2
+ import * as outputs from "./types/output";
3
3
  /**
4
4
  * Retrieves a tenant's global Auth0 Application client.
5
5
  *
@@ -12,89 +12,156 @@ import { output as outputs } from "./types";
12
12
  * const global = pulumi.output(auth0.getGlobalClient());
13
13
  * ```
14
14
  */
15
- export declare function getGlobalClient(args?: GetGlobalClientArgs, opts?: pulumi.InvokeOptions): Promise<GetGlobalClientResult>;
16
- /**
17
- * A collection of arguments for invoking getGlobalClient.
18
- */
19
- export interface GetGlobalClientArgs {
20
- /**
21
- * String. ID of the client.
22
- * * `clientSecret`<sup>1</sup> - String. Secret for the client; keep this private.
23
- */
24
- clientId?: string;
25
- name?: string;
26
- }
15
+ export declare function getGlobalClient(opts?: pulumi.InvokeOptions): Promise<GetGlobalClientResult>;
27
16
  /**
28
17
  * A collection of values returned by getGlobalClient.
29
18
  */
30
19
  export interface GetGlobalClientResult {
20
+ /**
21
+ * Addons enabled for this client and their associated configurations.
22
+ */
31
23
  readonly addons: outputs.GetGlobalClientAddon[];
24
+ /**
25
+ * List of applications ID's that will be allowed to make delegation request. By default, all applications will be allowed.
26
+ */
32
27
  readonly allowedClients: string[];
28
+ /**
29
+ * URLs that Auth0 may redirect to after logout.
30
+ */
33
31
  readonly allowedLogoutUrls: string[];
32
+ /**
33
+ * URLs that represent valid origins for cross-origin resource sharing. By default, all your callback URLs will be allowed.
34
+ */
34
35
  readonly allowedOrigins: string[];
36
+ /**
37
+ * Type of application the client represents. Possible values are: `native`, `spa`, `regularWeb`, `nonInteractive`, `ssoIntegration`. Specific SSO integrations types accepted as well are: `rms`, `box`, `cloudbees`, `concur`, `dropbox`, `mscrm`, `echosign`, `egnyte`, `newrelic`, `office365`, `salesforce`, `sentry`, `sharepoint`, `slack`, `springcm`, `zendesk`, `zoom`.
38
+ */
35
39
  readonly appType: string;
40
+ /**
41
+ * URLs that Auth0 may call back to after a user authenticates for the client. Make sure to specify the protocol (https://) otherwise the callback may fail in some cases. With the exception of custom URI schemes for native clients, all callbacks should use protocol https://.
42
+ */
36
43
  readonly callbacks: string[];
37
44
  /**
38
- * String. ID of the client.
39
- * * `clientSecret`<sup>1</sup> - String. Secret for the client; keep this private.
45
+ * List of audiences/realms for SAML protocol. Used by the wsfed addon.
40
46
  */
41
- readonly clientId?: string;
47
+ readonly clientAliases: string[];
42
48
  /**
43
- * (Optional) Map(String)
49
+ * The ID of the client.
50
+ */
51
+ readonly clientId: string;
52
+ /**
53
+ * Metadata associated with the client, in the form of an object with string values (max 255 chars). Maximum of 10 metadata properties allowed. Field names (max 255 chars) are alphanumeric and may only include the following special characters: `:,-+=_*?"/\()<>@ [Tab] [Space]`.
44
54
  */
45
55
  readonly clientMetadata: {
46
56
  [key: string]: any;
47
57
  };
48
58
  readonly clientSecret: string;
59
+ /**
60
+ * Whether this client can be used to make cross-origin authentication requests (true) or it is not allowed to make such requests (false).
61
+ */
49
62
  readonly crossOriginAuth: boolean;
63
+ /**
64
+ * URL of the location in your site where the cross-origin verification takes place for the cross-origin auth flow when performing authentication in your own domain instead of Auth0 Universal Login page.
65
+ */
50
66
  readonly crossOriginLoc: string;
51
67
  /**
52
- * String. Content of the custom login page.
68
+ * The content (HTML, CSS, JS) of the custom login page.
53
69
  */
54
70
  readonly customLoginPage: string;
55
71
  /**
56
- * Boolean. Indicates whether a custom login page is to be used.
72
+ * Indicates whether a custom login page is to be used.
57
73
  */
58
74
  readonly customLoginPageOn: boolean;
75
+ /**
76
+ * Description of the purpose of the client.
77
+ */
59
78
  readonly description: string;
79
+ /**
80
+ * Encryption used for WS-Fed responses with this client.
81
+ */
60
82
  readonly encryptionKey: {
61
83
  [key: string]: string;
62
84
  };
85
+ /**
86
+ * HTML form template to be used for WS-Federation.
87
+ */
63
88
  readonly formTemplate: string;
89
+ /**
90
+ * Types of grants that this client is authorized to use.
91
+ */
64
92
  readonly grantTypes: string[];
65
93
  /**
66
94
  * The provider-assigned unique ID for this managed resource.
67
95
  */
68
96
  readonly id: string;
97
+ /**
98
+ * Initiate login URI, must be HTTPS.
99
+ */
69
100
  readonly initiateLoginUri: string;
101
+ /**
102
+ * Indicates whether this client is a first-party client.
103
+ */
70
104
  readonly isFirstParty: boolean;
105
+ /**
106
+ * Indicates whether the token endpoint IP header is trusted.
107
+ */
71
108
  readonly isTokenEndpointIpHeaderTrusted: boolean;
109
+ /**
110
+ * Configuration settings for the JWTs issued for this client.
111
+ */
72
112
  readonly jwtConfigurations: outputs.GetGlobalClientJwtConfiguration[];
113
+ /**
114
+ * URL of the logo for the client. Recommended size is 150px x 150px. If none is set, the default badge for the application type will be shown.
115
+ */
73
116
  readonly logoUri: string;
117
+ /**
118
+ * Additional configuration for native mobile apps.
119
+ */
74
120
  readonly mobiles: outputs.GetGlobalClientMobile[];
75
- readonly name?: string;
121
+ /**
122
+ * Name of the client.
123
+ */
124
+ readonly name: string;
125
+ /**
126
+ * Configuration settings to toggle native social login for mobile native applications. Once this is set it must stay set, with both resources set to `false` in order to change the `appType`.
127
+ */
76
128
  readonly nativeSocialLogins: outputs.GetGlobalClientNativeSocialLogin[];
129
+ /**
130
+ * Indicates whether this client will conform to strict OIDC specifications.
131
+ */
77
132
  readonly oidcConformant: boolean;
133
+ /**
134
+ * Defines how to proceed during an authentication transaction when `organizationUsage = "require"`. Can be `noPrompt` (default) or `preLoginPrompt`.
135
+ */
78
136
  readonly organizationRequireBehavior: string;
137
+ /**
138
+ * Defines how to proceed during an authentication transaction with regards to an organization. Can be `deny` (default), `allow` or `require`.
139
+ */
79
140
  readonly organizationUsage: string;
141
+ /**
142
+ * Configuration settings for the refresh tokens issued for this client.
143
+ */
80
144
  readonly refreshTokens: outputs.GetGlobalClientRefreshToken[];
145
+ /**
146
+ * List containing a map of the public cert of the signing key and the public cert of the signing key in PKCS7.
147
+ */
81
148
  readonly signingKeys: {
82
149
  [key: string]: any;
83
150
  }[];
151
+ /**
152
+ * Applies only to SSO clients and determines whether Auth0 will handle Single Sign-On (true) or whether the identity provider will (false).
153
+ */
84
154
  readonly sso: boolean;
155
+ /**
156
+ * Indicates whether or not SSO is disabled.
157
+ */
85
158
  readonly ssoDisabled: boolean;
159
+ /**
160
+ * Defines the requested authentication method for the token endpoint. Options include `none` (public client without a client secret), `clientSecretPost` (client uses HTTP POST parameters), `clientSecretBasic` (client uses HTTP Basic).
161
+ */
86
162
  readonly tokenEndpointAuthMethod: string;
87
- readonly webOrigins: string[];
88
- }
89
- export declare function getGlobalClientOutput(args?: GetGlobalClientOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetGlobalClientResult>;
90
- /**
91
- * A collection of arguments for invoking getGlobalClient.
92
- */
93
- export interface GetGlobalClientOutputArgs {
94
163
  /**
95
- * String. ID of the client.
96
- * * `clientSecret`<sup>1</sup> - String. Secret for the client; keep this private.
164
+ * URLs that represent valid web origins for use with web message response mode.
97
165
  */
98
- clientId?: pulumi.Input<string>;
99
- name?: pulumi.Input<string>;
166
+ readonly webOrigins: string[];
100
167
  }