@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.
- package/action.d.ts +25 -72
- package/action.js +2 -50
- package/action.js.map +1 -1
- package/attackProtection.d.ts +9 -8
- package/attackProtection.js +4 -4
- package/attackProtection.js.map +1 -1
- package/branding.d.ts +31 -30
- package/branding.js +14 -8
- package/branding.js.map +1 -1
- package/brandingTheme.d.ts +156 -0
- package/brandingTheme.js +165 -0
- package/brandingTheme.js.map +1 -0
- package/client.d.ts +145 -126
- package/client.js +26 -22
- package/client.js.map +1 -1
- package/clientGrant.d.ts +12 -13
- package/clientGrant.js +3 -4
- package/clientGrant.js.map +1 -1
- package/config/vars.d.ts +22 -0
- package/config/vars.js +6 -0
- package/config/vars.js.map +1 -1
- package/connection.d.ts +256 -41
- package/connection.js +236 -4
- package/connection.js.map +1 -1
- package/customDomain.d.ts +42 -18
- package/customDomain.js +6 -3
- package/customDomain.js.map +1 -1
- package/customDomainVerification.d.ts +15 -9
- package/customDomainVerification.js +4 -4
- package/customDomainVerification.js.map +1 -1
- package/email.d.ts +37 -18
- package/email.js +23 -5
- package/email.js.map +1 -1
- package/emailTemplate.d.ts +29 -32
- package/emailTemplate.js +2 -5
- package/emailTemplate.js.map +1 -1
- package/getClient.d.ts +111 -6
- package/getClient.js +3 -1
- package/getClient.js.map +1 -1
- package/getGlobalClient.d.ts +98 -31
- package/getGlobalClient.js +3 -11
- package/getGlobalClient.js.map +1 -1
- package/getTenant.d.ts +3 -3
- package/getTenant.js +1 -1
- package/globalClient.d.ts +333 -2
- package/globalClient.js +7 -3
- package/globalClient.js.map +1 -1
- package/guardian.d.ts +32 -56
- package/guardian.js +3 -4
- package/guardian.js.map +1 -1
- package/hook.d.ts +12 -18
- package/hook.js +9 -10
- package/hook.js.map +1 -1
- package/index.d.ts +91 -30
- package/index.js +94 -101
- package/index.js.map +1 -1
- package/logStream.d.ts +34 -18
- package/logStream.js +17 -2
- package/logStream.js.map +1 -1
- package/organization.d.ts +22 -55
- package/organization.js +8 -17
- package/organization.js.map +1 -1
- package/organizationConnection.d.ts +7 -5
- package/organizationConnection.js +7 -5
- package/organizationConnection.js.map +1 -1
- package/organizationMember.d.ts +27 -15
- package/organizationMember.js +18 -6
- package/organizationMember.js.map +1 -1
- package/package.json +2 -2
- package/package.json.dev +2 -2
- package/prompt.d.ts +12 -12
- package/prompt.js +4 -4
- package/promptCustomText.d.ts +8 -9
- package/promptCustomText.js +2 -3
- package/promptCustomText.js.map +1 -1
- package/provider.d.ts +41 -0
- package/provider.js +1 -0
- package/provider.js.map +1 -1
- package/resourceServer.d.ts +47 -46
- package/resourceServer.js +4 -1
- package/resourceServer.js.map +1 -1
- package/role.d.ts +13 -17
- package/role.js +2 -4
- package/role.js.map +1 -1
- package/rule.d.ts +19 -25
- package/rule.js +6 -12
- package/rule.js.map +1 -1
- package/ruleConfig.d.ts +12 -14
- package/ruleConfig.js +9 -9
- package/ruleConfig.js.map +1 -1
- package/tenant.d.ts +91 -80
- package/tenant.js +35 -25
- package/tenant.js.map +1 -1
- package/triggerBinding.d.ts +19 -26
- package/triggerBinding.js +11 -16
- package/triggerBinding.js.map +1 -1
- package/types/index.js.map +1 -1
- package/types/input.d.ts +488 -425
- package/types/output.d.ts +500 -435
- package/user.d.ts +87 -44
- package/user.js +6 -6
- package/user.js.map +1 -1
- package/utilities.js +13 -1
- package/utilities.js.map +1 -1
package/organization.d.ts
CHANGED
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
-
import
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
3
4
|
/**
|
|
4
|
-
* The Organizations feature represents a broad update to the Auth0 platform that
|
|
5
|
-
* allows our business-to-business (B2B) customers to better manage their partners
|
|
6
|
-
* and customers, and to customize the ways that end-users access their
|
|
7
|
-
* applications. Auth0 customers can use Organizations to:
|
|
5
|
+
* The Organizations feature represents a broad update to the Auth0 platform that allows our business-to-business (B2B) customers to better manage their partners and customers, and to customize the ways that end-users access their applications. Auth0 customers can use Organizations to:
|
|
8
6
|
*
|
|
9
7
|
* - Represent their business customers and partners in Auth0 and manage their
|
|
10
8
|
* membership.
|
|
@@ -18,28 +16,24 @@ import { input as inputs, output as outputs } from "./types";
|
|
|
18
16
|
* import * as pulumi from "@pulumi/pulumi";
|
|
19
17
|
* import * as auth0 from "@pulumi/auth0";
|
|
20
18
|
*
|
|
21
|
-
* const
|
|
22
|
-
* displayName: "Acme Inc.",
|
|
19
|
+
* const myOrganization = new auth0.Organization("my_organization", {
|
|
23
20
|
* branding: {
|
|
24
|
-
* logoUrl: "https://acme.com/logo.svg",
|
|
25
21
|
* colors: {
|
|
26
|
-
*
|
|
27
|
-
*
|
|
22
|
+
* page_background: "#e1e1e1",
|
|
23
|
+
* primary: "#f2f2f2",
|
|
28
24
|
* },
|
|
25
|
+
* logoUrl: "https://example.com/assets/icons/icon.png",
|
|
29
26
|
* },
|
|
30
|
-
*
|
|
31
|
-
* connectionId: auth0_connection.acme.id,
|
|
32
|
-
* assignMembershipOnLogin: true,
|
|
33
|
-
* }],
|
|
27
|
+
* displayName: "Auth0 Inc.",
|
|
34
28
|
* });
|
|
35
29
|
* ```
|
|
36
30
|
*
|
|
37
31
|
* ## Import
|
|
38
32
|
*
|
|
39
|
-
* Existing organizations can be imported using organization
|
|
33
|
+
* Existing organizations can be imported using the organization ID. # Example
|
|
40
34
|
*
|
|
41
35
|
* ```sh
|
|
42
|
-
* $ pulumi import auth0:index/organization:Organization
|
|
36
|
+
* $ pulumi import auth0:index/organization:Organization my_organization org_XXXXXXXXXXXXXX
|
|
43
37
|
* ```
|
|
44
38
|
*/
|
|
45
39
|
export declare class Organization extends pulumi.CustomResource {
|
|
@@ -59,30 +53,21 @@ export declare class Organization extends pulumi.CustomResource {
|
|
|
59
53
|
*/
|
|
60
54
|
static isInstance(obj: any): obj is Organization;
|
|
61
55
|
/**
|
|
62
|
-
* Defines how to style the login pages.
|
|
63
|
-
* Branding
|
|
56
|
+
* Defines how to style the login pages.
|
|
64
57
|
*/
|
|
65
58
|
readonly branding: pulumi.Output<outputs.OrganizationBranding>;
|
|
66
59
|
/**
|
|
67
|
-
*
|
|
68
|
-
* details, see Connections
|
|
69
|
-
*
|
|
70
|
-
* @deprecated Management of organizations through this property has been deprecated in favor of the `auth0_organization_connection` resource and will be deleted in future versions. It is advised to migrate all managed organization connections to the new resource type.
|
|
71
|
-
*/
|
|
72
|
-
readonly connections: pulumi.Output<outputs.OrganizationConnection[]>;
|
|
73
|
-
/**
|
|
74
|
-
* Friendly name of this organization
|
|
60
|
+
* Friendly name of this organization.
|
|
75
61
|
*/
|
|
76
62
|
readonly displayName: pulumi.Output<string | undefined>;
|
|
77
63
|
/**
|
|
78
|
-
* Metadata associated with the organization
|
|
79
|
-
* 10 metadata properties allowed
|
|
64
|
+
* Metadata associated with the organization. Maximum of 10 metadata properties allowed.
|
|
80
65
|
*/
|
|
81
66
|
readonly metadata: pulumi.Output<{
|
|
82
67
|
[key: string]: string;
|
|
83
68
|
} | undefined>;
|
|
84
69
|
/**
|
|
85
|
-
* The name of this organization
|
|
70
|
+
* The name of this organization.
|
|
86
71
|
*/
|
|
87
72
|
readonly name: pulumi.Output<string>;
|
|
88
73
|
/**
|
|
@@ -99,30 +84,21 @@ export declare class Organization extends pulumi.CustomResource {
|
|
|
99
84
|
*/
|
|
100
85
|
export interface OrganizationState {
|
|
101
86
|
/**
|
|
102
|
-
* Defines how to style the login pages.
|
|
103
|
-
* Branding
|
|
87
|
+
* Defines how to style the login pages.
|
|
104
88
|
*/
|
|
105
89
|
branding?: pulumi.Input<inputs.OrganizationBranding>;
|
|
106
90
|
/**
|
|
107
|
-
*
|
|
108
|
-
* details, see Connections
|
|
109
|
-
*
|
|
110
|
-
* @deprecated Management of organizations through this property has been deprecated in favor of the `auth0_organization_connection` resource and will be deleted in future versions. It is advised to migrate all managed organization connections to the new resource type.
|
|
111
|
-
*/
|
|
112
|
-
connections?: pulumi.Input<pulumi.Input<inputs.OrganizationConnection>[]>;
|
|
113
|
-
/**
|
|
114
|
-
* Friendly name of this organization
|
|
91
|
+
* Friendly name of this organization.
|
|
115
92
|
*/
|
|
116
93
|
displayName?: pulumi.Input<string>;
|
|
117
94
|
/**
|
|
118
|
-
* Metadata associated with the organization
|
|
119
|
-
* 10 metadata properties allowed
|
|
95
|
+
* Metadata associated with the organization. Maximum of 10 metadata properties allowed.
|
|
120
96
|
*/
|
|
121
97
|
metadata?: pulumi.Input<{
|
|
122
98
|
[key: string]: pulumi.Input<string>;
|
|
123
99
|
}>;
|
|
124
100
|
/**
|
|
125
|
-
* The name of this organization
|
|
101
|
+
* The name of this organization.
|
|
126
102
|
*/
|
|
127
103
|
name?: pulumi.Input<string>;
|
|
128
104
|
}
|
|
@@ -131,30 +107,21 @@ export interface OrganizationState {
|
|
|
131
107
|
*/
|
|
132
108
|
export interface OrganizationArgs {
|
|
133
109
|
/**
|
|
134
|
-
* Defines how to style the login pages.
|
|
135
|
-
* Branding
|
|
110
|
+
* Defines how to style the login pages.
|
|
136
111
|
*/
|
|
137
112
|
branding?: pulumi.Input<inputs.OrganizationBranding>;
|
|
138
113
|
/**
|
|
139
|
-
*
|
|
140
|
-
* details, see Connections
|
|
141
|
-
*
|
|
142
|
-
* @deprecated Management of organizations through this property has been deprecated in favor of the `auth0_organization_connection` resource and will be deleted in future versions. It is advised to migrate all managed organization connections to the new resource type.
|
|
143
|
-
*/
|
|
144
|
-
connections?: pulumi.Input<pulumi.Input<inputs.OrganizationConnection>[]>;
|
|
145
|
-
/**
|
|
146
|
-
* Friendly name of this organization
|
|
114
|
+
* Friendly name of this organization.
|
|
147
115
|
*/
|
|
148
116
|
displayName?: pulumi.Input<string>;
|
|
149
117
|
/**
|
|
150
|
-
* Metadata associated with the organization
|
|
151
|
-
* 10 metadata properties allowed
|
|
118
|
+
* Metadata associated with the organization. Maximum of 10 metadata properties allowed.
|
|
152
119
|
*/
|
|
153
120
|
metadata?: pulumi.Input<{
|
|
154
121
|
[key: string]: pulumi.Input<string>;
|
|
155
122
|
}>;
|
|
156
123
|
/**
|
|
157
|
-
* The name of this organization
|
|
124
|
+
* The name of this organization.
|
|
158
125
|
*/
|
|
159
126
|
name?: pulumi.Input<string>;
|
|
160
127
|
}
|
package/organization.js
CHANGED
|
@@ -6,10 +6,7 @@ exports.Organization = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
* The Organizations feature represents a broad update to the Auth0 platform that
|
|
10
|
-
* allows our business-to-business (B2B) customers to better manage their partners
|
|
11
|
-
* and customers, and to customize the ways that end-users access their
|
|
12
|
-
* applications. Auth0 customers can use Organizations to:
|
|
9
|
+
* The Organizations feature represents a broad update to the Auth0 platform that allows our business-to-business (B2B) customers to better manage their partners and customers, and to customize the ways that end-users access their applications. Auth0 customers can use Organizations to:
|
|
13
10
|
*
|
|
14
11
|
* - Represent their business customers and partners in Auth0 and manage their
|
|
15
12
|
* membership.
|
|
@@ -23,28 +20,24 @@ const utilities = require("./utilities");
|
|
|
23
20
|
* import * as pulumi from "@pulumi/pulumi";
|
|
24
21
|
* import * as auth0 from "@pulumi/auth0";
|
|
25
22
|
*
|
|
26
|
-
* const
|
|
27
|
-
* displayName: "Acme Inc.",
|
|
23
|
+
* const myOrganization = new auth0.Organization("my_organization", {
|
|
28
24
|
* branding: {
|
|
29
|
-
* logoUrl: "https://acme.com/logo.svg",
|
|
30
25
|
* colors: {
|
|
31
|
-
*
|
|
32
|
-
*
|
|
26
|
+
* page_background: "#e1e1e1",
|
|
27
|
+
* primary: "#f2f2f2",
|
|
33
28
|
* },
|
|
29
|
+
* logoUrl: "https://example.com/assets/icons/icon.png",
|
|
34
30
|
* },
|
|
35
|
-
*
|
|
36
|
-
* connectionId: auth0_connection.acme.id,
|
|
37
|
-
* assignMembershipOnLogin: true,
|
|
38
|
-
* }],
|
|
31
|
+
* displayName: "Auth0 Inc.",
|
|
39
32
|
* });
|
|
40
33
|
* ```
|
|
41
34
|
*
|
|
42
35
|
* ## Import
|
|
43
36
|
*
|
|
44
|
-
* Existing organizations can be imported using organization
|
|
37
|
+
* Existing organizations can be imported using the organization ID. # Example
|
|
45
38
|
*
|
|
46
39
|
* ```sh
|
|
47
|
-
* $ pulumi import auth0:index/organization:Organization
|
|
40
|
+
* $ pulumi import auth0:index/organization:Organization my_organization org_XXXXXXXXXXXXXX
|
|
48
41
|
* ```
|
|
49
42
|
*/
|
|
50
43
|
class Organization extends pulumi.CustomResource {
|
|
@@ -54,7 +47,6 @@ class Organization extends pulumi.CustomResource {
|
|
|
54
47
|
if (opts.id) {
|
|
55
48
|
const state = argsOrState;
|
|
56
49
|
resourceInputs["branding"] = state ? state.branding : undefined;
|
|
57
|
-
resourceInputs["connections"] = state ? state.connections : undefined;
|
|
58
50
|
resourceInputs["displayName"] = state ? state.displayName : undefined;
|
|
59
51
|
resourceInputs["metadata"] = state ? state.metadata : undefined;
|
|
60
52
|
resourceInputs["name"] = state ? state.name : undefined;
|
|
@@ -62,7 +54,6 @@ class Organization extends pulumi.CustomResource {
|
|
|
62
54
|
else {
|
|
63
55
|
const args = argsOrState;
|
|
64
56
|
resourceInputs["branding"] = args ? args.branding : undefined;
|
|
65
|
-
resourceInputs["connections"] = args ? args.connections : undefined;
|
|
66
57
|
resourceInputs["displayName"] = args ? args.displayName : undefined;
|
|
67
58
|
resourceInputs["metadata"] = args ? args.metadata : undefined;
|
|
68
59
|
resourceInputs["name"] = args ? args.name : undefined;
|
package/organization.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"organization.js","sourceRoot":"","sources":["../organization.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;
|
|
1
|
+
{"version":3,"file":"organization.js","sourceRoot":"","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GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;SACzD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,YAAY,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACjE,CAAC;IAtED;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAyB,EAAE,IAAmC;QACvH,OAAO,IAAI,YAAY,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACnE,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,YAAY,CAAC,YAAY,CAAC;IAC7D,CAAC;;AA1BL,oCAwEC;AA1DG,gBAAgB;AACO,yBAAY,GAAG,uCAAuC,CAAC"}
|
|
@@ -8,19 +8,21 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
8
8
|
* import * as pulumi from "@pulumi/pulumi";
|
|
9
9
|
* import * as auth0 from "@pulumi/auth0";
|
|
10
10
|
*
|
|
11
|
-
* const
|
|
11
|
+
* const myConnection = new auth0.Connection("myConnection", {strategy: "auth0"});
|
|
12
|
+
* const myOrganization = new auth0.Organization("myOrganization", {displayName: "My Organization"});
|
|
13
|
+
* const myOrgConn = new auth0.OrganizationConnection("myOrgConn", {
|
|
14
|
+
* organizationId: myOrganization.id,
|
|
15
|
+
* connectionId: myConnection.id,
|
|
12
16
|
* assignMembershipOnLogin: true,
|
|
13
|
-
* connectionId: "con_XXXXXXXXXX",
|
|
14
|
-
* organizationId: "org_XXXXXXXXXX",
|
|
15
17
|
* });
|
|
16
18
|
* ```
|
|
17
19
|
*
|
|
18
20
|
* ## Import
|
|
19
21
|
*
|
|
20
|
-
*
|
|
22
|
+
* This resource can be imported by specifying the organization ID and connection ID separated by ":". # Example
|
|
21
23
|
*
|
|
22
24
|
* ```sh
|
|
23
|
-
* $ pulumi import auth0:index/organizationConnection:OrganizationConnection
|
|
25
|
+
* $ pulumi import auth0:index/organizationConnection:OrganizationConnection my_org_conn org_XXXXX:con_XXXXX
|
|
24
26
|
* ```
|
|
25
27
|
*/
|
|
26
28
|
export declare class OrganizationConnection extends pulumi.CustomResource {
|
|
@@ -14,19 +14,21 @@ const utilities = require("./utilities");
|
|
|
14
14
|
* import * as pulumi from "@pulumi/pulumi";
|
|
15
15
|
* import * as auth0 from "@pulumi/auth0";
|
|
16
16
|
*
|
|
17
|
-
* const
|
|
17
|
+
* const myConnection = new auth0.Connection("myConnection", {strategy: "auth0"});
|
|
18
|
+
* const myOrganization = new auth0.Organization("myOrganization", {displayName: "My Organization"});
|
|
19
|
+
* const myOrgConn = new auth0.OrganizationConnection("myOrgConn", {
|
|
20
|
+
* organizationId: myOrganization.id,
|
|
21
|
+
* connectionId: myConnection.id,
|
|
18
22
|
* assignMembershipOnLogin: true,
|
|
19
|
-
* connectionId: "con_XXXXXXXXXX",
|
|
20
|
-
* organizationId: "org_XXXXXXXXXX",
|
|
21
23
|
* });
|
|
22
24
|
* ```
|
|
23
25
|
*
|
|
24
26
|
* ## Import
|
|
25
27
|
*
|
|
26
|
-
*
|
|
28
|
+
* This resource can be imported by specifying the organization ID and connection ID separated by ":". # Example
|
|
27
29
|
*
|
|
28
30
|
* ```sh
|
|
29
|
-
* $ pulumi import auth0:index/organizationConnection:OrganizationConnection
|
|
31
|
+
* $ pulumi import auth0:index/organizationConnection:OrganizationConnection my_org_conn org_XXXXX:con_XXXXX
|
|
30
32
|
* ```
|
|
31
33
|
*/
|
|
32
34
|
class OrganizationConnection extends pulumi.CustomResource {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"organizationConnection.js","sourceRoot":"","sources":["../organizationConnection.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"organizationConnection.js","sourceRoot":"","sources":["../organizationConnection.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,MAAa,sBAAuB,SAAQ,MAAM,CAAC,cAAc;IAyD7D,YAAY,IAAY,EAAE,WAAsE,EAAE,IAAmC;QACjI,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAsD,CAAC;YACrE,cAAc,CAAC,yBAAyB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,uBAAuB,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9F,cAAc,CAAC,cAAc,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACxE,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,gBAAgB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5E,cAAc,CAAC,UAAU,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;SACnE;aAAM;YACH,MAAM,IAAI,GAAG,WAAqD,CAAC;YACnE,IAAI,CAAC,CAAC,IAAI,IAAI,I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,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,sBAAsB,CAAC,YAAY,CAAC;IACvE,CAAC;;AA1BL,wDAoFC;AAtEG,gBAAgB;AACO,mCAAY,GAAG,2DAA2D,CAAC"}
|
package/organizationMember.d.ts
CHANGED
|
@@ -8,19 +8,31 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
8
8
|
* import * as pulumi from "@pulumi/pulumi";
|
|
9
9
|
* import * as auth0 from "@pulumi/auth0";
|
|
10
10
|
*
|
|
11
|
-
* const
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
11
|
+
* const reader = new auth0.Role("reader", {});
|
|
12
|
+
* const admin = new auth0.Role("admin", {});
|
|
13
|
+
* const user = new auth0.User("user", {
|
|
14
|
+
* email: "test-user@auth0.com",
|
|
15
|
+
* connectionName: "Username-Password-Authentication",
|
|
16
|
+
* emailVerified: true,
|
|
17
|
+
* password: `MyPass123$`,
|
|
18
|
+
* });
|
|
19
|
+
* const myOrg = new auth0.Organization("myOrg", {displayName: "Admin"});
|
|
20
|
+
* const myOrgMember = new auth0.OrganizationMember("myOrgMember", {
|
|
21
|
+
* organizationId: myOrg.id,
|
|
22
|
+
* userId: user.id,
|
|
23
|
+
* roles: [
|
|
24
|
+
* reader.id,
|
|
25
|
+
* admin.id,
|
|
26
|
+
* ],
|
|
15
27
|
* });
|
|
16
28
|
* ```
|
|
17
29
|
*
|
|
18
30
|
* ## Import
|
|
19
31
|
*
|
|
20
|
-
*
|
|
32
|
+
* This resource can be imported by specifying the organization ID and user ID separated by ":". # Example
|
|
21
33
|
*
|
|
22
34
|
* ```sh
|
|
23
|
-
* $ pulumi import auth0:index/organizationMember:OrganizationMember
|
|
35
|
+
* $ pulumi import auth0:index/organizationMember:OrganizationMember my_org_member "org_XXXXX:auth0|XXXXX"
|
|
24
36
|
* ```
|
|
25
37
|
*/
|
|
26
38
|
export declare class OrganizationMember extends pulumi.CustomResource {
|
|
@@ -40,15 +52,15 @@ export declare class OrganizationMember extends pulumi.CustomResource {
|
|
|
40
52
|
*/
|
|
41
53
|
static isInstance(obj: any): obj is OrganizationMember;
|
|
42
54
|
/**
|
|
43
|
-
* The ID of the organization
|
|
55
|
+
* The ID of the organization to assign the member to.
|
|
44
56
|
*/
|
|
45
57
|
readonly organizationId: pulumi.Output<string>;
|
|
46
58
|
/**
|
|
47
|
-
*
|
|
59
|
+
* The role ID(s) to assign to the organization member.
|
|
48
60
|
*/
|
|
49
61
|
readonly roles: pulumi.Output<string[] | undefined>;
|
|
50
62
|
/**
|
|
51
|
-
*
|
|
63
|
+
* ID of the user to add as an organization member.
|
|
52
64
|
*/
|
|
53
65
|
readonly userId: pulumi.Output<string>;
|
|
54
66
|
/**
|
|
@@ -65,15 +77,15 @@ export declare class OrganizationMember extends pulumi.CustomResource {
|
|
|
65
77
|
*/
|
|
66
78
|
export interface OrganizationMemberState {
|
|
67
79
|
/**
|
|
68
|
-
* The ID of the organization
|
|
80
|
+
* The ID of the organization to assign the member to.
|
|
69
81
|
*/
|
|
70
82
|
organizationId?: pulumi.Input<string>;
|
|
71
83
|
/**
|
|
72
|
-
*
|
|
84
|
+
* The role ID(s) to assign to the organization member.
|
|
73
85
|
*/
|
|
74
86
|
roles?: pulumi.Input<pulumi.Input<string>[]>;
|
|
75
87
|
/**
|
|
76
|
-
*
|
|
88
|
+
* ID of the user to add as an organization member.
|
|
77
89
|
*/
|
|
78
90
|
userId?: pulumi.Input<string>;
|
|
79
91
|
}
|
|
@@ -82,15 +94,15 @@ export interface OrganizationMemberState {
|
|
|
82
94
|
*/
|
|
83
95
|
export interface OrganizationMemberArgs {
|
|
84
96
|
/**
|
|
85
|
-
* The ID of the organization
|
|
97
|
+
* The ID of the organization to assign the member to.
|
|
86
98
|
*/
|
|
87
99
|
organizationId: pulumi.Input<string>;
|
|
88
100
|
/**
|
|
89
|
-
*
|
|
101
|
+
* The role ID(s) to assign to the organization member.
|
|
90
102
|
*/
|
|
91
103
|
roles?: pulumi.Input<pulumi.Input<string>[]>;
|
|
92
104
|
/**
|
|
93
|
-
*
|
|
105
|
+
* ID of the user to add as an organization member.
|
|
94
106
|
*/
|
|
95
107
|
userId: pulumi.Input<string>;
|
|
96
108
|
}
|
package/organizationMember.js
CHANGED
|
@@ -14,19 +14,31 @@ const utilities = require("./utilities");
|
|
|
14
14
|
* import * as pulumi from "@pulumi/pulumi";
|
|
15
15
|
* import * as auth0 from "@pulumi/auth0";
|
|
16
16
|
*
|
|
17
|
-
* const
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
17
|
+
* const reader = new auth0.Role("reader", {});
|
|
18
|
+
* const admin = new auth0.Role("admin", {});
|
|
19
|
+
* const user = new auth0.User("user", {
|
|
20
|
+
* email: "test-user@auth0.com",
|
|
21
|
+
* connectionName: "Username-Password-Authentication",
|
|
22
|
+
* emailVerified: true,
|
|
23
|
+
* password: `MyPass123$`,
|
|
24
|
+
* });
|
|
25
|
+
* const myOrg = new auth0.Organization("myOrg", {displayName: "Admin"});
|
|
26
|
+
* const myOrgMember = new auth0.OrganizationMember("myOrgMember", {
|
|
27
|
+
* organizationId: myOrg.id,
|
|
28
|
+
* userId: user.id,
|
|
29
|
+
* roles: [
|
|
30
|
+
* reader.id,
|
|
31
|
+
* admin.id,
|
|
32
|
+
* ],
|
|
21
33
|
* });
|
|
22
34
|
* ```
|
|
23
35
|
*
|
|
24
36
|
* ## Import
|
|
25
37
|
*
|
|
26
|
-
*
|
|
38
|
+
* This resource can be imported by specifying the organization ID and user ID separated by ":". # Example
|
|
27
39
|
*
|
|
28
40
|
* ```sh
|
|
29
|
-
* $ pulumi import auth0:index/organizationMember:OrganizationMember
|
|
41
|
+
* $ pulumi import auth0:index/organizationMember:OrganizationMember my_org_member "org_XXXXX:auth0|XXXXX"
|
|
30
42
|
* ```
|
|
31
43
|
*/
|
|
32
44
|
class OrganizationMember extends pulumi.CustomResource {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"organizationMember.js","sourceRoot":"","sources":["../organizationMember.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"organizationMember.js","sourceRoot":"","sources":["../organizationMember.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,MAAa,kBAAmB,SAAQ,MAAM,CAAC,cAAc;IAiDzD,YAAY,IAAY,EAAE,WAA8D,EAAE,IAAmC;QACzH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAkD,CAAC;YACjE,cAAc,CAAC,gBAAgB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5E,cAAc,CAAC,OAAO,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;SAC/D;aAAM;YACH,MAAM,IAAI,GAAG,WAAiD,CAAC;YAC/D,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,cAAc,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC3D,MAAM,IAAI,KAAK,CAAC,4CAA4C,CAAC,CAAC;aACjE;YACD,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,MAAM,KAAK,SAAS,C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alpha.
|
|
3
|
+
"version": "v2.14.0-alpha.1666810964+26d92b9e",
|
|
4
4
|
"description": "A Pulumi package for creating and managing auth0 cloud resources.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"license": "Apache-2.0",
|
|
12
12
|
"scripts": {
|
|
13
13
|
"build": "tsc",
|
|
14
|
-
"install": "node scripts/install-pulumi-plugin.js resource auth0 v2.14.0-alpha.
|
|
14
|
+
"install": "node scripts/install-pulumi-plugin.js resource auth0 v2.14.0-alpha.1666810964+26d92b9e"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@pulumi/pulumi": "^3.0.0"
|
package/package.json.dev
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/auth0",
|
|
3
|
-
"version": "v2.14.0-alpha.
|
|
3
|
+
"version": "v2.14.0-alpha.1666810964+26d92b9e",
|
|
4
4
|
"description": "A Pulumi package for creating and managing auth0 cloud resources.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"license": "Apache-2.0",
|
|
12
12
|
"scripts": {
|
|
13
13
|
"build": "tsc",
|
|
14
|
-
"install": "node scripts/install-pulumi-plugin.js resource auth0 v2.14.0-alpha.
|
|
14
|
+
"install": "node scripts/install-pulumi-plugin.js resource auth0 v2.14.0-alpha.1666810964+26d92b9e"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@pulumi/pulumi": "^3.0.0"
|
package/prompt.d.ts
CHANGED
|
@@ -8,19 +8,19 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
8
8
|
* import * as pulumi from "@pulumi/pulumi";
|
|
9
9
|
* import * as auth0 from "@pulumi/auth0";
|
|
10
10
|
*
|
|
11
|
-
* const
|
|
11
|
+
* const myPrompt = new auth0.Prompt("my_prompt", {
|
|
12
12
|
* identifierFirst: false,
|
|
13
|
-
* universalLoginExperience: "
|
|
13
|
+
* universalLoginExperience: "new",
|
|
14
14
|
* webauthnPlatformFirstFactor: true,
|
|
15
15
|
* });
|
|
16
16
|
* ```
|
|
17
17
|
*
|
|
18
18
|
* ## Import
|
|
19
19
|
*
|
|
20
|
-
* As this is not a resource identifiable by an ID within the Auth0 Management API,
|
|
20
|
+
* As this is not a resource identifiable by an ID within the Auth0 Management API, prompts can be imported using a random string. # We recommend [Version 4 UUID](https://www.uuidgenerator.net/version4) # Example
|
|
21
21
|
*
|
|
22
22
|
* ```sh
|
|
23
|
-
* $ pulumi import auth0:index/prompt:Prompt
|
|
23
|
+
* $ pulumi import auth0:index/prompt:Prompt my_prompt 22f4f21b-017a-319d-92e7-2291c1ca36c4
|
|
24
24
|
* ```
|
|
25
25
|
*/
|
|
26
26
|
export declare class Prompt extends pulumi.CustomResource {
|
|
@@ -40,17 +40,17 @@ export declare class Prompt extends pulumi.CustomResource {
|
|
|
40
40
|
*/
|
|
41
41
|
static isInstance(obj: any): obj is Prompt;
|
|
42
42
|
/**
|
|
43
|
-
*
|
|
43
|
+
* Indicates whether the identifier first is used when using the new Universal Login experience.
|
|
44
44
|
*/
|
|
45
45
|
readonly identifierFirst: pulumi.Output<boolean | undefined>;
|
|
46
46
|
/**
|
|
47
47
|
* Which login experience to use. Options include `classic` and `new`.
|
|
48
48
|
*/
|
|
49
|
-
readonly universalLoginExperience: pulumi.Output<string
|
|
49
|
+
readonly universalLoginExperience: pulumi.Output<string>;
|
|
50
50
|
/**
|
|
51
|
-
*
|
|
51
|
+
* Determines if the login screen uses identifier and biometrics first.
|
|
52
52
|
*/
|
|
53
|
-
readonly webauthnPlatformFirstFactor: pulumi.Output<boolean
|
|
53
|
+
readonly webauthnPlatformFirstFactor: pulumi.Output<boolean>;
|
|
54
54
|
/**
|
|
55
55
|
* Create a Prompt resource with the given unique name, arguments, and options.
|
|
56
56
|
*
|
|
@@ -65,7 +65,7 @@ export declare class Prompt extends pulumi.CustomResource {
|
|
|
65
65
|
*/
|
|
66
66
|
export interface PromptState {
|
|
67
67
|
/**
|
|
68
|
-
*
|
|
68
|
+
* Indicates whether the identifier first is used when using the new Universal Login experience.
|
|
69
69
|
*/
|
|
70
70
|
identifierFirst?: pulumi.Input<boolean>;
|
|
71
71
|
/**
|
|
@@ -73,7 +73,7 @@ export interface PromptState {
|
|
|
73
73
|
*/
|
|
74
74
|
universalLoginExperience?: pulumi.Input<string>;
|
|
75
75
|
/**
|
|
76
|
-
*
|
|
76
|
+
* Determines if the login screen uses identifier and biometrics first.
|
|
77
77
|
*/
|
|
78
78
|
webauthnPlatformFirstFactor?: pulumi.Input<boolean>;
|
|
79
79
|
}
|
|
@@ -82,7 +82,7 @@ export interface PromptState {
|
|
|
82
82
|
*/
|
|
83
83
|
export interface PromptArgs {
|
|
84
84
|
/**
|
|
85
|
-
*
|
|
85
|
+
* Indicates whether the identifier first is used when using the new Universal Login experience.
|
|
86
86
|
*/
|
|
87
87
|
identifierFirst?: pulumi.Input<boolean>;
|
|
88
88
|
/**
|
|
@@ -90,7 +90,7 @@ export interface PromptArgs {
|
|
|
90
90
|
*/
|
|
91
91
|
universalLoginExperience?: pulumi.Input<string>;
|
|
92
92
|
/**
|
|
93
|
-
*
|
|
93
|
+
* Determines if the login screen uses identifier and biometrics first.
|
|
94
94
|
*/
|
|
95
95
|
webauthnPlatformFirstFactor?: pulumi.Input<boolean>;
|
|
96
96
|
}
|
package/prompt.js
CHANGED
|
@@ -14,19 +14,19 @@ const utilities = require("./utilities");
|
|
|
14
14
|
* import * as pulumi from "@pulumi/pulumi";
|
|
15
15
|
* import * as auth0 from "@pulumi/auth0";
|
|
16
16
|
*
|
|
17
|
-
* const
|
|
17
|
+
* const myPrompt = new auth0.Prompt("my_prompt", {
|
|
18
18
|
* identifierFirst: false,
|
|
19
|
-
* universalLoginExperience: "
|
|
19
|
+
* universalLoginExperience: "new",
|
|
20
20
|
* webauthnPlatformFirstFactor: true,
|
|
21
21
|
* });
|
|
22
22
|
* ```
|
|
23
23
|
*
|
|
24
24
|
* ## Import
|
|
25
25
|
*
|
|
26
|
-
* As this is not a resource identifiable by an ID within the Auth0 Management API,
|
|
26
|
+
* As this is not a resource identifiable by an ID within the Auth0 Management API, prompts can be imported using a random string. # We recommend [Version 4 UUID](https://www.uuidgenerator.net/version4) # Example
|
|
27
27
|
*
|
|
28
28
|
* ```sh
|
|
29
|
-
* $ pulumi import auth0:index/prompt:Prompt
|
|
29
|
+
* $ pulumi import auth0:index/prompt:Prompt my_prompt 22f4f21b-017a-319d-92e7-2291c1ca36c4
|
|
30
30
|
* ```
|
|
31
31
|
*/
|
|
32
32
|
class Prompt extends pulumi.CustomResource {
|