@pulumi/auth0 3.9.0-alpha.1733289250 → 3.9.0
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/client.d.ts +18 -0
- package/client.js +2 -0
- package/client.js.map +1 -1
- package/form.d.ts +5 -0
- package/form.js +5 -0
- package/form.js.map +1 -1
- package/getClient.d.ts +4 -0
- package/getClient.js.map +1 -1
- package/getClients.d.ts +115 -0
- package/getClients.js +80 -0
- package/getClients.js.map +1 -0
- package/getSelfServiceProfile.d.ts +12 -0
- package/getSelfServiceProfile.js.map +1 -1
- package/index.d.ts +6 -0
- package/index.js +10 -2
- package/index.js.map +1 -1
- package/organizationClientGrant.d.ts +71 -0
- package/organizationClientGrant.js +71 -0
- package/organizationClientGrant.js.map +1 -1
- package/package.json +2 -2
- package/selfServiceProfile.d.ts +36 -0
- package/selfServiceProfile.js +6 -0
- package/selfServiceProfile.js.map +1 -1
- package/selfServiceProfileCustomText.d.ts +119 -0
- package/selfServiceProfileCustomText.js +102 -0
- package/selfServiceProfileCustomText.js.map +1 -0
- package/types/input.d.ts +20 -0
- package/types/output.d.ts +121 -0
|
@@ -1,6 +1,77 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
3
|
* With this resource, you can manage a client grant associated with an organization.
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as auth0 from "@pulumi/auth0";
|
|
10
|
+
*
|
|
11
|
+
* // Create an Organization
|
|
12
|
+
* const myOrganization = new auth0.Organization("my_organization", {
|
|
13
|
+
* name: "test-org-acceptance-testing",
|
|
14
|
+
* displayName: "Test Org Acceptance Testing",
|
|
15
|
+
* });
|
|
16
|
+
* // Create a Resource Server
|
|
17
|
+
* const newResourceServer = new auth0.ResourceServer("new_resource_server", {
|
|
18
|
+
* name: "Example API",
|
|
19
|
+
* identifier: "https://api.travel00123.com/",
|
|
20
|
+
* });
|
|
21
|
+
* // Create a Client by referencing the newly created organisation or by reference an existing one.
|
|
22
|
+
* const myTestClient = new auth0.Client("my_test_client", {
|
|
23
|
+
* name: "test_client",
|
|
24
|
+
* organizationUsage: "allow",
|
|
25
|
+
* defaultOrganization: {
|
|
26
|
+
* organizationId: myOrganization.id,
|
|
27
|
+
* flows: ["client_credentials"],
|
|
28
|
+
* },
|
|
29
|
+
* }, {
|
|
30
|
+
* dependsOn: [
|
|
31
|
+
* myOrganization,
|
|
32
|
+
* newResourceServer,
|
|
33
|
+
* ],
|
|
34
|
+
* });
|
|
35
|
+
* // Create a client grant which is associated with the client and resource server.
|
|
36
|
+
* const myClientGrant = new auth0.ClientGrant("my_client_grant", {
|
|
37
|
+
* clientId: myTestClient.id,
|
|
38
|
+
* audience: newResourceServer.identifier,
|
|
39
|
+
* scopes: [
|
|
40
|
+
* "create:organization_client_grants",
|
|
41
|
+
* "create:resource",
|
|
42
|
+
* ],
|
|
43
|
+
* allowAnyOrganization: true,
|
|
44
|
+
* organizationUsage: "allow",
|
|
45
|
+
* }, {
|
|
46
|
+
* dependsOn: [
|
|
47
|
+
* newResourceServer,
|
|
48
|
+
* myTestClient,
|
|
49
|
+
* ],
|
|
50
|
+
* });
|
|
51
|
+
* // Create the organization and client grant association
|
|
52
|
+
* const associateOrgClientGrant = new auth0.OrganizationClientGrant("associate_org_client_grant", {
|
|
53
|
+
* organizationId: myOrganization.id,
|
|
54
|
+
* grantId: myClientGrant.id,
|
|
55
|
+
* }, {
|
|
56
|
+
* dependsOn: [myClientGrant],
|
|
57
|
+
* });
|
|
58
|
+
* ```
|
|
59
|
+
*
|
|
60
|
+
* ## Import
|
|
61
|
+
*
|
|
62
|
+
* This resource can be imported by specifying the
|
|
63
|
+
*
|
|
64
|
+
* organization ID and client grant ID separated by "::" (note the double colon)
|
|
65
|
+
*
|
|
66
|
+
* <organizationID>::<clientGrantID>
|
|
67
|
+
*
|
|
68
|
+
* #
|
|
69
|
+
*
|
|
70
|
+
* Example:
|
|
71
|
+
*
|
|
72
|
+
* ```sh
|
|
73
|
+
* $ pulumi import auth0:index/organizationClientGrant:OrganizationClientGrant my_org_client_grant "org_XXXXX::cgr_XXXXX"
|
|
74
|
+
* ```
|
|
4
75
|
*/
|
|
5
76
|
export declare class OrganizationClientGrant extends pulumi.CustomResource {
|
|
6
77
|
/**
|
|
@@ -7,6 +7,77 @@ const pulumi = require("@pulumi/pulumi");
|
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
9
|
* With this resource, you can manage a client grant associated with an organization.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as auth0 from "@pulumi/auth0";
|
|
16
|
+
*
|
|
17
|
+
* // Create an Organization
|
|
18
|
+
* const myOrganization = new auth0.Organization("my_organization", {
|
|
19
|
+
* name: "test-org-acceptance-testing",
|
|
20
|
+
* displayName: "Test Org Acceptance Testing",
|
|
21
|
+
* });
|
|
22
|
+
* // Create a Resource Server
|
|
23
|
+
* const newResourceServer = new auth0.ResourceServer("new_resource_server", {
|
|
24
|
+
* name: "Example API",
|
|
25
|
+
* identifier: "https://api.travel00123.com/",
|
|
26
|
+
* });
|
|
27
|
+
* // Create a Client by referencing the newly created organisation or by reference an existing one.
|
|
28
|
+
* const myTestClient = new auth0.Client("my_test_client", {
|
|
29
|
+
* name: "test_client",
|
|
30
|
+
* organizationUsage: "allow",
|
|
31
|
+
* defaultOrganization: {
|
|
32
|
+
* organizationId: myOrganization.id,
|
|
33
|
+
* flows: ["client_credentials"],
|
|
34
|
+
* },
|
|
35
|
+
* }, {
|
|
36
|
+
* dependsOn: [
|
|
37
|
+
* myOrganization,
|
|
38
|
+
* newResourceServer,
|
|
39
|
+
* ],
|
|
40
|
+
* });
|
|
41
|
+
* // Create a client grant which is associated with the client and resource server.
|
|
42
|
+
* const myClientGrant = new auth0.ClientGrant("my_client_grant", {
|
|
43
|
+
* clientId: myTestClient.id,
|
|
44
|
+
* audience: newResourceServer.identifier,
|
|
45
|
+
* scopes: [
|
|
46
|
+
* "create:organization_client_grants",
|
|
47
|
+
* "create:resource",
|
|
48
|
+
* ],
|
|
49
|
+
* allowAnyOrganization: true,
|
|
50
|
+
* organizationUsage: "allow",
|
|
51
|
+
* }, {
|
|
52
|
+
* dependsOn: [
|
|
53
|
+
* newResourceServer,
|
|
54
|
+
* myTestClient,
|
|
55
|
+
* ],
|
|
56
|
+
* });
|
|
57
|
+
* // Create the organization and client grant association
|
|
58
|
+
* const associateOrgClientGrant = new auth0.OrganizationClientGrant("associate_org_client_grant", {
|
|
59
|
+
* organizationId: myOrganization.id,
|
|
60
|
+
* grantId: myClientGrant.id,
|
|
61
|
+
* }, {
|
|
62
|
+
* dependsOn: [myClientGrant],
|
|
63
|
+
* });
|
|
64
|
+
* ```
|
|
65
|
+
*
|
|
66
|
+
* ## Import
|
|
67
|
+
*
|
|
68
|
+
* This resource can be imported by specifying the
|
|
69
|
+
*
|
|
70
|
+
* organization ID and client grant ID separated by "::" (note the double colon)
|
|
71
|
+
*
|
|
72
|
+
* <organizationID>::<clientGrantID>
|
|
73
|
+
*
|
|
74
|
+
* #
|
|
75
|
+
*
|
|
76
|
+
* Example:
|
|
77
|
+
*
|
|
78
|
+
* ```sh
|
|
79
|
+
* $ pulumi import auth0:index/organizationClientGrant:OrganizationClientGrant my_org_client_grant "org_XXXXX::cgr_XXXXX"
|
|
80
|
+
* ```
|
|
10
81
|
*/
|
|
11
82
|
class OrganizationClientGrant extends pulumi.CustomResource {
|
|
12
83
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"organizationClientGrant.js","sourceRoot":"","sources":["../organizationClientGrant.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACz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AI,IAAI,IAAI,CAAC,OAAO,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACpD,MAAM,IAAI,KAAK,CAAC,qCAAqC,CAAC,CAAC;aAC1D;YACD,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,cAAc,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC3D,MAAM,IAAI,KAAK,CAAC,4CAA4C,CAAC,CAAC;aACjE;YACD,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;SAC7E;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,uBAAuB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5E,CAAC;;AAjEL,0DAkEC;AApDG,gBAAgB;AACO,oCAAY,GAAG,6DAA6D,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/auth0",
|
|
3
|
-
"version": "3.9.0
|
|
3
|
+
"version": "3.9.0",
|
|
4
4
|
"description": "A Pulumi package for creating and managing auth0 cloud resources.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -23,6 +23,6 @@
|
|
|
23
23
|
"pulumi": {
|
|
24
24
|
"resource": true,
|
|
25
25
|
"name": "auth0",
|
|
26
|
-
"version": "3.9.0
|
|
26
|
+
"version": "3.9.0"
|
|
27
27
|
}
|
|
28
28
|
}
|
package/selfServiceProfile.d.ts
CHANGED
|
@@ -51,6 +51,10 @@ export declare class SelfServiceProfile extends pulumi.CustomResource {
|
|
|
51
51
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
52
52
|
*/
|
|
53
53
|
static isInstance(obj: any): obj is SelfServiceProfile;
|
|
54
|
+
/**
|
|
55
|
+
* List of IdP strategies that will be shown to users during the Self-Service SSO flow.
|
|
56
|
+
*/
|
|
57
|
+
readonly allowedStrategies: pulumi.Output<string[] | undefined>;
|
|
54
58
|
/**
|
|
55
59
|
* Field can be used to customize the look and feel of the wizard.
|
|
56
60
|
*/
|
|
@@ -59,6 +63,14 @@ export declare class SelfServiceProfile extends pulumi.CustomResource {
|
|
|
59
63
|
* The ISO 8601 formatted date the profile was created.
|
|
60
64
|
*/
|
|
61
65
|
readonly createdAt: pulumi.Output<string>;
|
|
66
|
+
/**
|
|
67
|
+
* The description of the self-service Profile
|
|
68
|
+
*/
|
|
69
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
70
|
+
/**
|
|
71
|
+
* The name of the self-service Profile
|
|
72
|
+
*/
|
|
73
|
+
readonly name: pulumi.Output<string>;
|
|
62
74
|
/**
|
|
63
75
|
* The ISO 8601 formatted date the profile was updated.
|
|
64
76
|
*/
|
|
@@ -80,6 +92,10 @@ export declare class SelfServiceProfile extends pulumi.CustomResource {
|
|
|
80
92
|
* Input properties used for looking up and filtering SelfServiceProfile resources.
|
|
81
93
|
*/
|
|
82
94
|
export interface SelfServiceProfileState {
|
|
95
|
+
/**
|
|
96
|
+
* List of IdP strategies that will be shown to users during the Self-Service SSO flow.
|
|
97
|
+
*/
|
|
98
|
+
allowedStrategies?: pulumi.Input<pulumi.Input<string>[]>;
|
|
83
99
|
/**
|
|
84
100
|
* Field can be used to customize the look and feel of the wizard.
|
|
85
101
|
*/
|
|
@@ -88,6 +104,14 @@ export interface SelfServiceProfileState {
|
|
|
88
104
|
* The ISO 8601 formatted date the profile was created.
|
|
89
105
|
*/
|
|
90
106
|
createdAt?: pulumi.Input<string>;
|
|
107
|
+
/**
|
|
108
|
+
* The description of the self-service Profile
|
|
109
|
+
*/
|
|
110
|
+
description?: pulumi.Input<string>;
|
|
111
|
+
/**
|
|
112
|
+
* The name of the self-service Profile
|
|
113
|
+
*/
|
|
114
|
+
name?: pulumi.Input<string>;
|
|
91
115
|
/**
|
|
92
116
|
* The ISO 8601 formatted date the profile was updated.
|
|
93
117
|
*/
|
|
@@ -101,10 +125,22 @@ export interface SelfServiceProfileState {
|
|
|
101
125
|
* The set of arguments for constructing a SelfServiceProfile resource.
|
|
102
126
|
*/
|
|
103
127
|
export interface SelfServiceProfileArgs {
|
|
128
|
+
/**
|
|
129
|
+
* List of IdP strategies that will be shown to users during the Self-Service SSO flow.
|
|
130
|
+
*/
|
|
131
|
+
allowedStrategies?: pulumi.Input<pulumi.Input<string>[]>;
|
|
104
132
|
/**
|
|
105
133
|
* Field can be used to customize the look and feel of the wizard.
|
|
106
134
|
*/
|
|
107
135
|
branding?: pulumi.Input<inputs.SelfServiceProfileBranding>;
|
|
136
|
+
/**
|
|
137
|
+
* The description of the self-service Profile
|
|
138
|
+
*/
|
|
139
|
+
description?: pulumi.Input<string>;
|
|
140
|
+
/**
|
|
141
|
+
* The name of the self-service Profile
|
|
142
|
+
*/
|
|
143
|
+
name?: pulumi.Input<string>;
|
|
108
144
|
/**
|
|
109
145
|
* This array stores the mapping information that will be shown to the user during the SS-SSO flow. The user will be prompted to map the attributes on their identity provider to ensure the specified attributes get passed to Auth0.
|
|
110
146
|
*/
|
package/selfServiceProfile.js
CHANGED
|
@@ -67,14 +67,20 @@ class SelfServiceProfile extends pulumi.CustomResource {
|
|
|
67
67
|
opts = opts || {};
|
|
68
68
|
if (opts.id) {
|
|
69
69
|
const state = argsOrState;
|
|
70
|
+
resourceInputs["allowedStrategies"] = state ? state.allowedStrategies : undefined;
|
|
70
71
|
resourceInputs["branding"] = state ? state.branding : undefined;
|
|
71
72
|
resourceInputs["createdAt"] = state ? state.createdAt : undefined;
|
|
73
|
+
resourceInputs["description"] = state ? state.description : undefined;
|
|
74
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
72
75
|
resourceInputs["updatedAt"] = state ? state.updatedAt : undefined;
|
|
73
76
|
resourceInputs["userAttributes"] = state ? state.userAttributes : undefined;
|
|
74
77
|
}
|
|
75
78
|
else {
|
|
76
79
|
const args = argsOrState;
|
|
80
|
+
resourceInputs["allowedStrategies"] = args ? args.allowedStrategies : undefined;
|
|
77
81
|
resourceInputs["branding"] = args ? args.branding : undefined;
|
|
82
|
+
resourceInputs["description"] = args ? args.description : undefined;
|
|
83
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
78
84
|
resourceInputs["userAttributes"] = args ? args.userAttributes : undefined;
|
|
79
85
|
resourceInputs["createdAt"] = undefined /*out*/;
|
|
80
86
|
resourceInputs["updatedAt"] = undefined /*out*/;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"selfServiceProfile.js","sourceRoot":"","sources":["../selfServiceProfile.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,MAAa,kBAAmB,SAAQ,MAAM,CAAC,cAAc;IACzD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA+B,EAAE,IAAmC;QAC7H,OAAO,IAAI,kBAAkB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACzE,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,kBAAkB,CAAC,YAAY,CAAC;IACnE,CAAC;
|
|
1
|
+
{"version":3,"file":"selfServi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Y,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACvE,CAAC;;AAzFL,gDA0FC;AA5EG,gBAAgB;AACO,+BAAY,GAAG,mDAAmD,CAAC"}
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* With this resource, you can set custom text for Self-Service Profile
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as auth0 from "@pulumi/auth0";
|
|
10
|
+
*
|
|
11
|
+
* const ssoCustomText = new auth0.SelfServiceProfileCustomText("sso_custom_text", {
|
|
12
|
+
* ssoId: "some-sso-id",
|
|
13
|
+
* language: "en",
|
|
14
|
+
* page: "get-started",
|
|
15
|
+
* body: JSON.stringify({
|
|
16
|
+
* introduction: "Welcome! With only a few steps you'll be able to setup your new custom text.",
|
|
17
|
+
* }),
|
|
18
|
+
* });
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* ## Import
|
|
22
|
+
*
|
|
23
|
+
* This resource can be imported by specifying the
|
|
24
|
+
*
|
|
25
|
+
* sso-profile-id, language and page separated by "::" (note the double colon)
|
|
26
|
+
*
|
|
27
|
+
* <sso-profile-id>::<language>::<page>
|
|
28
|
+
*
|
|
29
|
+
* #
|
|
30
|
+
*
|
|
31
|
+
* Example
|
|
32
|
+
*
|
|
33
|
+
* ```sh
|
|
34
|
+
* $ pulumi import auth0:index/selfServiceProfileCustomText:SelfServiceProfileCustomText example "some-sso-id::en::get-started"
|
|
35
|
+
* ```
|
|
36
|
+
*/
|
|
37
|
+
export declare class SelfServiceProfileCustomText extends pulumi.CustomResource {
|
|
38
|
+
/**
|
|
39
|
+
* Get an existing SelfServiceProfileCustomText resource's state with the given name, ID, and optional extra
|
|
40
|
+
* properties used to qualify the lookup.
|
|
41
|
+
*
|
|
42
|
+
* @param name The _unique_ name of the resulting resource.
|
|
43
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
44
|
+
* @param state Any extra arguments used during the lookup.
|
|
45
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
46
|
+
*/
|
|
47
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: SelfServiceProfileCustomTextState, opts?: pulumi.CustomResourceOptions): SelfServiceProfileCustomText;
|
|
48
|
+
/**
|
|
49
|
+
* Returns true if the given object is an instance of SelfServiceProfileCustomText. This is designed to work even
|
|
50
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
51
|
+
*/
|
|
52
|
+
static isInstance(obj: any): obj is SelfServiceProfileCustomText;
|
|
53
|
+
/**
|
|
54
|
+
* The list of text keys and values to customize the self-service SSO page. Values can be plain text or rich HTML content limited to basic styling tags and hyperlinks
|
|
55
|
+
*/
|
|
56
|
+
readonly body: pulumi.Output<string>;
|
|
57
|
+
/**
|
|
58
|
+
* The language of the custom text
|
|
59
|
+
*/
|
|
60
|
+
readonly language: pulumi.Output<string>;
|
|
61
|
+
/**
|
|
62
|
+
* The page where the custom text is shown
|
|
63
|
+
*/
|
|
64
|
+
readonly page: pulumi.Output<string>;
|
|
65
|
+
/**
|
|
66
|
+
* The id of the self-service profile
|
|
67
|
+
*/
|
|
68
|
+
readonly ssoId: pulumi.Output<string>;
|
|
69
|
+
/**
|
|
70
|
+
* Create a SelfServiceProfileCustomText resource with the given unique name, arguments, and options.
|
|
71
|
+
*
|
|
72
|
+
* @param name The _unique_ name of the resource.
|
|
73
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
74
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
75
|
+
*/
|
|
76
|
+
constructor(name: string, args: SelfServiceProfileCustomTextArgs, opts?: pulumi.CustomResourceOptions);
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* Input properties used for looking up and filtering SelfServiceProfileCustomText resources.
|
|
80
|
+
*/
|
|
81
|
+
export interface SelfServiceProfileCustomTextState {
|
|
82
|
+
/**
|
|
83
|
+
* The list of text keys and values to customize the self-service SSO page. Values can be plain text or rich HTML content limited to basic styling tags and hyperlinks
|
|
84
|
+
*/
|
|
85
|
+
body?: pulumi.Input<string>;
|
|
86
|
+
/**
|
|
87
|
+
* The language of the custom text
|
|
88
|
+
*/
|
|
89
|
+
language?: pulumi.Input<string>;
|
|
90
|
+
/**
|
|
91
|
+
* The page where the custom text is shown
|
|
92
|
+
*/
|
|
93
|
+
page?: pulumi.Input<string>;
|
|
94
|
+
/**
|
|
95
|
+
* The id of the self-service profile
|
|
96
|
+
*/
|
|
97
|
+
ssoId?: pulumi.Input<string>;
|
|
98
|
+
}
|
|
99
|
+
/**
|
|
100
|
+
* The set of arguments for constructing a SelfServiceProfileCustomText resource.
|
|
101
|
+
*/
|
|
102
|
+
export interface SelfServiceProfileCustomTextArgs {
|
|
103
|
+
/**
|
|
104
|
+
* The list of text keys and values to customize the self-service SSO page. Values can be plain text or rich HTML content limited to basic styling tags and hyperlinks
|
|
105
|
+
*/
|
|
106
|
+
body: pulumi.Input<string>;
|
|
107
|
+
/**
|
|
108
|
+
* The language of the custom text
|
|
109
|
+
*/
|
|
110
|
+
language: pulumi.Input<string>;
|
|
111
|
+
/**
|
|
112
|
+
* The page where the custom text is shown
|
|
113
|
+
*/
|
|
114
|
+
page: pulumi.Input<string>;
|
|
115
|
+
/**
|
|
116
|
+
* The id of the self-service profile
|
|
117
|
+
*/
|
|
118
|
+
ssoId: pulumi.Input<string>;
|
|
119
|
+
}
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.SelfServiceProfileCustomText = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* With this resource, you can set custom text for Self-Service Profile
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as auth0 from "@pulumi/auth0";
|
|
16
|
+
*
|
|
17
|
+
* const ssoCustomText = new auth0.SelfServiceProfileCustomText("sso_custom_text", {
|
|
18
|
+
* ssoId: "some-sso-id",
|
|
19
|
+
* language: "en",
|
|
20
|
+
* page: "get-started",
|
|
21
|
+
* body: JSON.stringify({
|
|
22
|
+
* introduction: "Welcome! With only a few steps you'll be able to setup your new custom text.",
|
|
23
|
+
* }),
|
|
24
|
+
* });
|
|
25
|
+
* ```
|
|
26
|
+
*
|
|
27
|
+
* ## Import
|
|
28
|
+
*
|
|
29
|
+
* This resource can be imported by specifying the
|
|
30
|
+
*
|
|
31
|
+
* sso-profile-id, language and page separated by "::" (note the double colon)
|
|
32
|
+
*
|
|
33
|
+
* <sso-profile-id>::<language>::<page>
|
|
34
|
+
*
|
|
35
|
+
* #
|
|
36
|
+
*
|
|
37
|
+
* Example
|
|
38
|
+
*
|
|
39
|
+
* ```sh
|
|
40
|
+
* $ pulumi import auth0:index/selfServiceProfileCustomText:SelfServiceProfileCustomText example "some-sso-id::en::get-started"
|
|
41
|
+
* ```
|
|
42
|
+
*/
|
|
43
|
+
class SelfServiceProfileCustomText extends pulumi.CustomResource {
|
|
44
|
+
/**
|
|
45
|
+
* Get an existing SelfServiceProfileCustomText resource's state with the given name, ID, and optional extra
|
|
46
|
+
* properties used to qualify the lookup.
|
|
47
|
+
*
|
|
48
|
+
* @param name The _unique_ name of the resulting resource.
|
|
49
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
50
|
+
* @param state Any extra arguments used during the lookup.
|
|
51
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
52
|
+
*/
|
|
53
|
+
static get(name, id, state, opts) {
|
|
54
|
+
return new SelfServiceProfileCustomText(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Returns true if the given object is an instance of SelfServiceProfileCustomText. This is designed to work even
|
|
58
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
59
|
+
*/
|
|
60
|
+
static isInstance(obj) {
|
|
61
|
+
if (obj === undefined || obj === null) {
|
|
62
|
+
return false;
|
|
63
|
+
}
|
|
64
|
+
return obj['__pulumiType'] === SelfServiceProfileCustomText.__pulumiType;
|
|
65
|
+
}
|
|
66
|
+
constructor(name, argsOrState, opts) {
|
|
67
|
+
let resourceInputs = {};
|
|
68
|
+
opts = opts || {};
|
|
69
|
+
if (opts.id) {
|
|
70
|
+
const state = argsOrState;
|
|
71
|
+
resourceInputs["body"] = state ? state.body : undefined;
|
|
72
|
+
resourceInputs["language"] = state ? state.language : undefined;
|
|
73
|
+
resourceInputs["page"] = state ? state.page : undefined;
|
|
74
|
+
resourceInputs["ssoId"] = state ? state.ssoId : undefined;
|
|
75
|
+
}
|
|
76
|
+
else {
|
|
77
|
+
const args = argsOrState;
|
|
78
|
+
if ((!args || args.body === undefined) && !opts.urn) {
|
|
79
|
+
throw new Error("Missing required property 'body'");
|
|
80
|
+
}
|
|
81
|
+
if ((!args || args.language === undefined) && !opts.urn) {
|
|
82
|
+
throw new Error("Missing required property 'language'");
|
|
83
|
+
}
|
|
84
|
+
if ((!args || args.page === undefined) && !opts.urn) {
|
|
85
|
+
throw new Error("Missing required property 'page'");
|
|
86
|
+
}
|
|
87
|
+
if ((!args || args.ssoId === undefined) && !opts.urn) {
|
|
88
|
+
throw new Error("Missing required property 'ssoId'");
|
|
89
|
+
}
|
|
90
|
+
resourceInputs["body"] = args ? args.body : undefined;
|
|
91
|
+
resourceInputs["language"] = args ? args.language : undefined;
|
|
92
|
+
resourceInputs["page"] = args ? args.page : undefined;
|
|
93
|
+
resourceInputs["ssoId"] = args ? args.ssoId : undefined;
|
|
94
|
+
}
|
|
95
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
96
|
+
super(SelfServiceProfileCustomText.__pulumiType, name, resourceInputs, opts);
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
exports.SelfServiceProfileCustomText = SelfServiceProfileCustomText;
|
|
100
|
+
/** @internal */
|
|
101
|
+
SelfServiceProfileCustomText.__pulumiType = 'auth0:index/selfServiceProfileCustomText:SelfServiceProfileCustomText';
|
|
102
|
+
//# sourceMappingURL=selfServiceProfileCustomText.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"selfServiceProfileCustomText.js","sourceRoot":"","sources":["../selfServiceProfileCustomText.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,MAAa,4BAA6B,SAAQ,MAAM,CAAC,cAAc;IACnE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAyC,EAAE,IAAmC;QACvI,OAAO,IAAI,4BAA4B,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACnF,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,4BAA4B,CAAC,YAAY,CAAC;IAC7E,CAAC;IA2BD,YAAY,IAAY,EAAE,WAAkF,EAAE,IAAmC;QAC7I,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,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AAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;SAC3D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,4BAA4B,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACjF,CAAC;;AAnFL,oEAoFC;AAtEG,gBAAgB;AACO,yCAAY,GAAG,uEAAuE,CAAC"}
|
package/types/input.d.ts
CHANGED
|
@@ -1156,6 +1156,26 @@ export interface ClientNativeSocialLoginApple {
|
|
|
1156
1156
|
export interface ClientNativeSocialLoginFacebook {
|
|
1157
1157
|
enabled?: pulumi.Input<boolean>;
|
|
1158
1158
|
}
|
|
1159
|
+
export interface ClientOidcLogout {
|
|
1160
|
+
/**
|
|
1161
|
+
* Configure OIDC logout initiators for the Client
|
|
1162
|
+
*/
|
|
1163
|
+
backchannelLogoutInitiators?: pulumi.Input<inputs.ClientOidcLogoutBackchannelLogoutInitiators>;
|
|
1164
|
+
/**
|
|
1165
|
+
* Set of URLs that are valid to call back from Auth0 for OIDC backchannel logout. Currently only one URL is allowed.
|
|
1166
|
+
*/
|
|
1167
|
+
backchannelLogoutUrls: pulumi.Input<pulumi.Input<string>[]>;
|
|
1168
|
+
}
|
|
1169
|
+
export interface ClientOidcLogoutBackchannelLogoutInitiators {
|
|
1170
|
+
/**
|
|
1171
|
+
* Determines the configuration method for enabling initiators. `custom` enables only the initiators listed in the backchannel*logout*selected_initiators set, `all` enables all current and future initiators.
|
|
1172
|
+
*/
|
|
1173
|
+
mode: pulumi.Input<string>;
|
|
1174
|
+
/**
|
|
1175
|
+
* Contains the list of initiators to be enabled for the given client.
|
|
1176
|
+
*/
|
|
1177
|
+
selectedInitiators?: pulumi.Input<pulumi.Input<string>[]>;
|
|
1178
|
+
}
|
|
1159
1179
|
export interface ClientRefreshToken {
|
|
1160
1180
|
/**
|
|
1161
1181
|
* Options include `expiring`, `non-expiring`. Whether a refresh token will expire based on an absolute lifetime, after which the token can no longer be used. If rotation is `rotating`, this must be set to `expiring`.
|