@pulumi/auth0 3.1.0-alpha.1698198595 → 3.1.0-alpha.1698210872
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/attackProtection.d.ts +48 -0
- package/attackProtection.js +48 -0
- package/attackProtection.js.map +1 -1
- package/branding.d.ts +19 -0
- package/branding.js +19 -0
- package/branding.js.map +1 -1
- package/brandingTheme.d.ts +81 -0
- package/brandingTheme.js +81 -0
- package/brandingTheme.js.map +1 -1
- package/client.d.ts +72 -0
- package/client.js +72 -0
- package/client.js.map +1 -1
- package/clientCredentials.d.ts +52 -0
- package/clientCredentials.js +52 -0
- package/clientCredentials.js.map +1 -1
- package/connection.d.ts +285 -0
- package/connection.js +285 -0
- package/connection.js.map +1 -1
- package/connectionClient.d.ts +16 -0
- package/connectionClient.js +16 -0
- package/connectionClient.js.map +1 -1
- package/connectionClients.d.ts +20 -0
- package/connectionClients.js +20 -0
- package/connectionClients.js.map +1 -1
- package/customDomain.d.ts +12 -0
- package/customDomain.js +12 -0
- package/customDomain.js.map +1 -1
- package/emailProvider.d.ts +36 -0
- package/emailProvider.js +36 -0
- package/emailProvider.js.map +1 -1
- package/getAttackProtection.d.ts +18 -0
- package/getAttackProtection.js +18 -0
- package/getAttackProtection.js.map +1 -1
- package/getBranding.d.ts +18 -0
- package/getBranding.js +18 -0
- package/getBranding.js.map +1 -1
- package/getBrandingTheme.d.ts +18 -0
- package/getBrandingTheme.js +18 -0
- package/getBrandingTheme.js.map +1 -1
- package/getClient.d.ts +28 -0
- package/getClient.js +28 -0
- package/getClient.js.map +1 -1
- package/getConnection.d.ts +28 -0
- package/getConnection.js +28 -0
- package/getConnection.js.map +1 -1
- package/getOrganization.d.ts +28 -0
- package/getOrganization.js +28 -0
- package/getOrganization.js.map +1 -1
- package/getPages.d.ts +18 -0
- package/getPages.js +18 -0
- package/getPages.js.map +1 -1
- package/getResourceServer.d.ts +28 -0
- package/getResourceServer.js +28 -0
- package/getResourceServer.js.map +1 -1
- package/getRole.d.ts +28 -0
- package/getRole.js +28 -0
- package/getRole.js.map +1 -1
- package/getTenant.d.ts +18 -0
- package/getTenant.js +18 -0
- package/getTenant.js.map +1 -1
- package/getUser.d.ts +22 -0
- package/getUser.js +22 -0
- package/getUser.js.map +1 -1
- package/guardian.d.ts +55 -0
- package/guardian.js +55 -0
- package/guardian.js.map +1 -1
- package/hook.d.ts +23 -0
- package/hook.js +23 -0
- package/hook.js.map +1 -1
- package/logStream.d.ts +41 -0
- package/logStream.js +41 -0
- package/logStream.js.map +1 -1
- package/organization.d.ts +18 -0
- package/organization.js +18 -0
- package/organization.js.map +1 -1
- package/organizationConnection.d.ts +15 -0
- package/organizationConnection.js +15 -0
- package/organizationConnection.js.map +1 -1
- package/organizationConnections.d.ts +24 -0
- package/organizationConnections.js +24 -0
- package/organizationConnections.js.map +1 -1
- package/organizationMember.d.ts +19 -0
- package/organizationMember.js +19 -0
- package/organizationMember.js.map +1 -1
- package/organizationMemberRole.d.ts +30 -0
- package/organizationMemberRole.js +30 -0
- package/organizationMemberRole.js.map +1 -1
- package/organizationMemberRoles.d.ts +28 -0
- package/organizationMemberRoles.js +28 -0
- package/organizationMemberRoles.js.map +1 -1
- package/organizationMembers.d.ts +26 -0
- package/organizationMembers.js +26 -0
- package/organizationMembers.js.map +1 -1
- package/package.json +1 -1
- package/pages.d.ts +27 -0
- package/pages.js +27 -0
- package/pages.js.map +1 -1
- package/prompt.d.ts +13 -0
- package/prompt.js +13 -0
- package/prompt.js.map +1 -1
- package/promptCustomText.d.ts +35 -0
- package/promptCustomText.js +35 -0
- package/promptCustomText.js.map +1 -1
- package/resourceServer.d.ts +15 -0
- package/resourceServer.js +15 -0
- package/resourceServer.js.map +1 -1
- package/resourceServerScope.d.ts +17 -0
- package/resourceServerScope.js +17 -0
- package/resourceServerScope.js.map +1 -1
- package/resourceServerScopes.d.ts +22 -0
- package/resourceServerScopes.js +22 -0
- package/resourceServerScopes.js.map +1 -1
- package/role.d.ts +9 -0
- package/role.js +9 -0
- package/role.js.map +1 -1
- package/rule.d.ts +16 -0
- package/rule.js +16 -0
- package/rule.js.map +1 -1
- package/ruleConfig.d.ts +20 -0
- package/ruleConfig.js +20 -0
- package/ruleConfig.js.map +1 -1
- package/tenant.d.ts +33 -0
- package/tenant.js +33 -0
- package/tenant.js.map +1 -1
- package/triggerAction.d.ts +23 -0
- package/triggerAction.js +23 -0
- package/triggerAction.js.map +1 -1
- package/triggerActions.d.ts +43 -0
- package/triggerActions.js +43 -0
- package/triggerActions.js.map +1 -1
- package/user.d.ts +18 -0
- package/user.js +18 -0
- package/user.js.map +1 -1
- package/userRole.d.ts +20 -0
- package/userRole.js +20 -0
- package/userRole.js.map +1 -1
- package/userRoles.d.ts +20 -0
- package/userRoles.js +20 -0
- package/userRoles.js.map +1 -1
package/attackProtection.d.ts
CHANGED
|
@@ -4,6 +4,54 @@ import * as outputs from "./types/output";
|
|
|
4
4
|
/**
|
|
5
5
|
* Auth0 can detect attacks and stop malicious attempts to access your application such as blocking traffic from certain IPs and displaying CAPTCHAs.
|
|
6
6
|
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as auth0 from "@pulumi/auth0";
|
|
12
|
+
*
|
|
13
|
+
* const myProtection = new auth0.AttackProtection("myProtection", {
|
|
14
|
+
* breachedPasswordDetection: {
|
|
15
|
+
* adminNotificationFrequencies: ["daily"],
|
|
16
|
+
* enabled: true,
|
|
17
|
+
* method: "standard",
|
|
18
|
+
* preUserRegistration: {
|
|
19
|
+
* shields: ["block"],
|
|
20
|
+
* },
|
|
21
|
+
* shields: [
|
|
22
|
+
* "admin_notification",
|
|
23
|
+
* "block",
|
|
24
|
+
* ],
|
|
25
|
+
* },
|
|
26
|
+
* bruteForceProtection: {
|
|
27
|
+
* allowlists: ["127.0.0.1"],
|
|
28
|
+
* enabled: true,
|
|
29
|
+
* maxAttempts: 5,
|
|
30
|
+
* mode: "count_per_identifier_and_ip",
|
|
31
|
+
* shields: [
|
|
32
|
+
* "block",
|
|
33
|
+
* "user_notification",
|
|
34
|
+
* ],
|
|
35
|
+
* },
|
|
36
|
+
* suspiciousIpThrottling: {
|
|
37
|
+
* allowlists: ["192.168.1.1"],
|
|
38
|
+
* enabled: true,
|
|
39
|
+
* preLogin: {
|
|
40
|
+
* maxAttempts: 100,
|
|
41
|
+
* rate: 864000,
|
|
42
|
+
* },
|
|
43
|
+
* preUserRegistration: {
|
|
44
|
+
* maxAttempts: 50,
|
|
45
|
+
* rate: 1200,
|
|
46
|
+
* },
|
|
47
|
+
* shields: [
|
|
48
|
+
* "admin_notification",
|
|
49
|
+
* "block",
|
|
50
|
+
* ],
|
|
51
|
+
* },
|
|
52
|
+
* });
|
|
53
|
+
* ```
|
|
54
|
+
*
|
|
7
55
|
* ## Import
|
|
8
56
|
*
|
|
9
57
|
* As this is not a resource identifiable by an ID within the Auth0 Management API, attack_protection can be imported using a random string. # We recommend [Version 4 UUID](https://www.uuidgenerator.net/version4) # Example
|
package/attackProtection.js
CHANGED
|
@@ -8,6 +8,54 @@ const utilities = require("./utilities");
|
|
|
8
8
|
/**
|
|
9
9
|
* Auth0 can detect attacks and stop malicious attempts to access your application such as blocking traffic from certain IPs and displaying CAPTCHAs.
|
|
10
10
|
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as auth0 from "@pulumi/auth0";
|
|
16
|
+
*
|
|
17
|
+
* const myProtection = new auth0.AttackProtection("myProtection", {
|
|
18
|
+
* breachedPasswordDetection: {
|
|
19
|
+
* adminNotificationFrequencies: ["daily"],
|
|
20
|
+
* enabled: true,
|
|
21
|
+
* method: "standard",
|
|
22
|
+
* preUserRegistration: {
|
|
23
|
+
* shields: ["block"],
|
|
24
|
+
* },
|
|
25
|
+
* shields: [
|
|
26
|
+
* "admin_notification",
|
|
27
|
+
* "block",
|
|
28
|
+
* ],
|
|
29
|
+
* },
|
|
30
|
+
* bruteForceProtection: {
|
|
31
|
+
* allowlists: ["127.0.0.1"],
|
|
32
|
+
* enabled: true,
|
|
33
|
+
* maxAttempts: 5,
|
|
34
|
+
* mode: "count_per_identifier_and_ip",
|
|
35
|
+
* shields: [
|
|
36
|
+
* "block",
|
|
37
|
+
* "user_notification",
|
|
38
|
+
* ],
|
|
39
|
+
* },
|
|
40
|
+
* suspiciousIpThrottling: {
|
|
41
|
+
* allowlists: ["192.168.1.1"],
|
|
42
|
+
* enabled: true,
|
|
43
|
+
* preLogin: {
|
|
44
|
+
* maxAttempts: 100,
|
|
45
|
+
* rate: 864000,
|
|
46
|
+
* },
|
|
47
|
+
* preUserRegistration: {
|
|
48
|
+
* maxAttempts: 50,
|
|
49
|
+
* rate: 1200,
|
|
50
|
+
* },
|
|
51
|
+
* shields: [
|
|
52
|
+
* "admin_notification",
|
|
53
|
+
* "block",
|
|
54
|
+
* ],
|
|
55
|
+
* },
|
|
56
|
+
* });
|
|
57
|
+
* ```
|
|
58
|
+
*
|
|
11
59
|
* ## Import
|
|
12
60
|
*
|
|
13
61
|
* As this is not a resource identifiable by an ID within the Auth0 Management API, attack_protection can be imported using a random string. # We recommend [Version 4 UUID](https://www.uuidgenerator.net/version4) # Example
|
package/attackProtection.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"attackProtection.js","sourceRoot":"","sources":["../attackProtection.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"attackProtection.js","sourceRoot":"","sources":["../attackProtection.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,oBAAoB,CAAC,CAAC,CAAC,SAAS,CAAC;YACtF,cAAc,CAAC,wBAAwB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,sBAAsB,CAAC,CAAC,CAAC,SAAS,CAAC;SAC7F;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,gBAAgB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACrE,CAAC;;AAjEL,4CAkEC;AApDG,gBAAgB;AACO,6BAAY,GAAG,+CAA+C,CAAC"}
|
package/branding.d.ts
CHANGED
|
@@ -4,6 +4,25 @@ import * as outputs from "./types/output";
|
|
|
4
4
|
/**
|
|
5
5
|
* This resource allows you to manage branding within your Auth0 tenant. Auth0 can be customized with a look and feel that aligns with your organization's brand requirements and user expectations.
|
|
6
6
|
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as auth0 from "@pulumi/auth0";
|
|
12
|
+
* import * as fs from "fs";
|
|
13
|
+
*
|
|
14
|
+
* const myBrand = new auth0.Branding("myBrand", {
|
|
15
|
+
* logoUrl: "https://mycompany.org/logo.png",
|
|
16
|
+
* colors: {
|
|
17
|
+
* primary: "#0059d6",
|
|
18
|
+
* pageBackground: "#000000",
|
|
19
|
+
* },
|
|
20
|
+
* universalLogin: {
|
|
21
|
+
* body: fs.readFileSync("universal_login_body.html"),
|
|
22
|
+
* },
|
|
23
|
+
* });
|
|
24
|
+
* ```
|
|
25
|
+
*
|
|
7
26
|
* ## Import
|
|
8
27
|
*
|
|
9
28
|
* As this is not a resource identifiable by an ID within the Auth0 Management API, branding can be imported using a random string. # We recommend [Version 4 UUID](https://www.uuidgenerator.net/version4) # Example
|
package/branding.js
CHANGED
|
@@ -8,6 +8,25 @@ const utilities = require("./utilities");
|
|
|
8
8
|
/**
|
|
9
9
|
* This resource allows you to manage branding within your Auth0 tenant. Auth0 can be customized with a look and feel that aligns with your organization's brand requirements and user expectations.
|
|
10
10
|
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as auth0 from "@pulumi/auth0";
|
|
16
|
+
* import * as fs from "fs";
|
|
17
|
+
*
|
|
18
|
+
* const myBrand = new auth0.Branding("myBrand", {
|
|
19
|
+
* logoUrl: "https://mycompany.org/logo.png",
|
|
20
|
+
* colors: {
|
|
21
|
+
* primary: "#0059d6",
|
|
22
|
+
* pageBackground: "#000000",
|
|
23
|
+
* },
|
|
24
|
+
* universalLogin: {
|
|
25
|
+
* body: fs.readFileSync("universal_login_body.html"),
|
|
26
|
+
* },
|
|
27
|
+
* });
|
|
28
|
+
* ```
|
|
29
|
+
*
|
|
11
30
|
* ## Import
|
|
12
31
|
*
|
|
13
32
|
* As this is not a resource identifiable by an ID within the Auth0 Management API, branding can be imported using a random string. # We recommend [Version 4 UUID](https://www.uuidgenerator.net/version4) # Example
|
package/branding.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"branding.js","sourceRoot":"","sources":["../branding.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"branding.js","sourceRoot":"","sources":["../branding.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,cAAc;IAC/C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAA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AC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,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,QAAQ,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC7D,CAAC;;AA7EL,4BA8EC;AAhEG,gBAAgB;AACO,qBAAY,GAAG,+BAA+B,CAAC"}
|
package/brandingTheme.d.ts
CHANGED
|
@@ -4,6 +4,87 @@ import * as outputs from "./types/output";
|
|
|
4
4
|
/**
|
|
5
5
|
* This resource allows you to manage branding themes for your Universal Login page within your Auth0 tenant.
|
|
6
6
|
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as auth0 from "@pulumi/auth0";
|
|
12
|
+
*
|
|
13
|
+
* // An example of a fully configured auth0_branding_theme.
|
|
14
|
+
* const myTheme = new auth0.BrandingTheme("myTheme", {
|
|
15
|
+
* borders: {
|
|
16
|
+
* buttonBorderRadius: 1,
|
|
17
|
+
* buttonBorderWeight: 1,
|
|
18
|
+
* buttonsStyle: "pill",
|
|
19
|
+
* inputBorderRadius: 3,
|
|
20
|
+
* inputBorderWeight: 1,
|
|
21
|
+
* inputsStyle: "pill",
|
|
22
|
+
* showWidgetShadow: false,
|
|
23
|
+
* widgetBorderWeight: 1,
|
|
24
|
+
* widgetCornerRadius: 3,
|
|
25
|
+
* },
|
|
26
|
+
* colors: {
|
|
27
|
+
* bodyText: "#FF00CC",
|
|
28
|
+
* error: "#FF00CC",
|
|
29
|
+
* header: "#FF00CC",
|
|
30
|
+
* icons: "#FF00CC",
|
|
31
|
+
* inputBackground: "#FF00CC",
|
|
32
|
+
* inputBorder: "#FF00CC",
|
|
33
|
+
* inputFilledText: "#FF00CC",
|
|
34
|
+
* inputLabelsPlaceholders: "#FF00CC",
|
|
35
|
+
* linksFocusedComponents: "#FF00CC",
|
|
36
|
+
* primaryButton: "#FF00CC",
|
|
37
|
+
* primaryButtonLabel: "#FF00CC",
|
|
38
|
+
* secondaryButtonBorder: "#FF00CC",
|
|
39
|
+
* secondaryButtonLabel: "#FF00CC",
|
|
40
|
+
* success: "#FF00CC",
|
|
41
|
+
* widgetBackground: "#FF00CC",
|
|
42
|
+
* widgetBorder: "#FF00CC",
|
|
43
|
+
* },
|
|
44
|
+
* fonts: {
|
|
45
|
+
* bodyText: {
|
|
46
|
+
* bold: false,
|
|
47
|
+
* size: 100,
|
|
48
|
+
* },
|
|
49
|
+
* buttonsText: {
|
|
50
|
+
* bold: false,
|
|
51
|
+
* size: 100,
|
|
52
|
+
* },
|
|
53
|
+
* fontUrl: "https://google.com/font.woff",
|
|
54
|
+
* inputLabels: {
|
|
55
|
+
* bold: false,
|
|
56
|
+
* size: 100,
|
|
57
|
+
* },
|
|
58
|
+
* links: {
|
|
59
|
+
* bold: false,
|
|
60
|
+
* size: 100,
|
|
61
|
+
* },
|
|
62
|
+
* linksStyle: "normal",
|
|
63
|
+
* referenceTextSize: 12,
|
|
64
|
+
* subtitle: {
|
|
65
|
+
* bold: false,
|
|
66
|
+
* size: 100,
|
|
67
|
+
* },
|
|
68
|
+
* title: {
|
|
69
|
+
* bold: false,
|
|
70
|
+
* size: 100,
|
|
71
|
+
* },
|
|
72
|
+
* },
|
|
73
|
+
* pageBackground: {
|
|
74
|
+
* backgroundColor: "#000000",
|
|
75
|
+
* backgroundImageUrl: "https://google.com/background.png",
|
|
76
|
+
* pageLayout: "center",
|
|
77
|
+
* },
|
|
78
|
+
* widget: {
|
|
79
|
+
* headerTextAlignment: "center",
|
|
80
|
+
* logoHeight: 55,
|
|
81
|
+
* logoPosition: "center",
|
|
82
|
+
* logoUrl: "https://google.com/logo.png",
|
|
83
|
+
* socialButtonsLayout: "top",
|
|
84
|
+
* },
|
|
85
|
+
* });
|
|
86
|
+
* ```
|
|
87
|
+
*
|
|
7
88
|
* ## Import
|
|
8
89
|
*
|
|
9
90
|
* This resource can be imported by specifying the Branding Theme ID. # Example
|
package/brandingTheme.js
CHANGED
|
@@ -8,6 +8,87 @@ const utilities = require("./utilities");
|
|
|
8
8
|
/**
|
|
9
9
|
* This resource allows you to manage branding themes for your Universal Login page within your Auth0 tenant.
|
|
10
10
|
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as auth0 from "@pulumi/auth0";
|
|
16
|
+
*
|
|
17
|
+
* // An example of a fully configured auth0_branding_theme.
|
|
18
|
+
* const myTheme = new auth0.BrandingTheme("myTheme", {
|
|
19
|
+
* borders: {
|
|
20
|
+
* buttonBorderRadius: 1,
|
|
21
|
+
* buttonBorderWeight: 1,
|
|
22
|
+
* buttonsStyle: "pill",
|
|
23
|
+
* inputBorderRadius: 3,
|
|
24
|
+
* inputBorderWeight: 1,
|
|
25
|
+
* inputsStyle: "pill",
|
|
26
|
+
* showWidgetShadow: false,
|
|
27
|
+
* widgetBorderWeight: 1,
|
|
28
|
+
* widgetCornerRadius: 3,
|
|
29
|
+
* },
|
|
30
|
+
* colors: {
|
|
31
|
+
* bodyText: "#FF00CC",
|
|
32
|
+
* error: "#FF00CC",
|
|
33
|
+
* header: "#FF00CC",
|
|
34
|
+
* icons: "#FF00CC",
|
|
35
|
+
* inputBackground: "#FF00CC",
|
|
36
|
+
* inputBorder: "#FF00CC",
|
|
37
|
+
* inputFilledText: "#FF00CC",
|
|
38
|
+
* inputLabelsPlaceholders: "#FF00CC",
|
|
39
|
+
* linksFocusedComponents: "#FF00CC",
|
|
40
|
+
* primaryButton: "#FF00CC",
|
|
41
|
+
* primaryButtonLabel: "#FF00CC",
|
|
42
|
+
* secondaryButtonBorder: "#FF00CC",
|
|
43
|
+
* secondaryButtonLabel: "#FF00CC",
|
|
44
|
+
* success: "#FF00CC",
|
|
45
|
+
* widgetBackground: "#FF00CC",
|
|
46
|
+
* widgetBorder: "#FF00CC",
|
|
47
|
+
* },
|
|
48
|
+
* fonts: {
|
|
49
|
+
* bodyText: {
|
|
50
|
+
* bold: false,
|
|
51
|
+
* size: 100,
|
|
52
|
+
* },
|
|
53
|
+
* buttonsText: {
|
|
54
|
+
* bold: false,
|
|
55
|
+
* size: 100,
|
|
56
|
+
* },
|
|
57
|
+
* fontUrl: "https://google.com/font.woff",
|
|
58
|
+
* inputLabels: {
|
|
59
|
+
* bold: false,
|
|
60
|
+
* size: 100,
|
|
61
|
+
* },
|
|
62
|
+
* links: {
|
|
63
|
+
* bold: false,
|
|
64
|
+
* size: 100,
|
|
65
|
+
* },
|
|
66
|
+
* linksStyle: "normal",
|
|
67
|
+
* referenceTextSize: 12,
|
|
68
|
+
* subtitle: {
|
|
69
|
+
* bold: false,
|
|
70
|
+
* size: 100,
|
|
71
|
+
* },
|
|
72
|
+
* title: {
|
|
73
|
+
* bold: false,
|
|
74
|
+
* size: 100,
|
|
75
|
+
* },
|
|
76
|
+
* },
|
|
77
|
+
* pageBackground: {
|
|
78
|
+
* backgroundColor: "#000000",
|
|
79
|
+
* backgroundImageUrl: "https://google.com/background.png",
|
|
80
|
+
* pageLayout: "center",
|
|
81
|
+
* },
|
|
82
|
+
* widget: {
|
|
83
|
+
* headerTextAlignment: "center",
|
|
84
|
+
* logoHeight: 55,
|
|
85
|
+
* logoPosition: "center",
|
|
86
|
+
* logoUrl: "https://google.com/logo.png",
|
|
87
|
+
* socialButtonsLayout: "top",
|
|
88
|
+
* },
|
|
89
|
+
* });
|
|
90
|
+
* ```
|
|
91
|
+
*
|
|
11
92
|
* ## Import
|
|
12
93
|
*
|
|
13
94
|
* This resource can be imported by specifying the Branding Theme ID. # Example
|
package/brandingTheme.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"brandingTheme.js","sourceRoot":"","sources":["../brandingTheme.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"brandingTheme.js","sourceRoot":"","sources":["../brandingTheme.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2FG;AACH,MAAa,aAAc,SAAQ,MAAM,CAAC,cAAc;IACpD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA0B,EAAE,IAAmC;QACxH,OAAO,IAAI,aAAa,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACpE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,aAAa,CAAC,YAA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SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,aAAa,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAClE,CAAC;;AAnFL,sCAoFC;AAtEG,gBAAgB;AACO,0BAAY,GAAG,yCAAyC,CAAC"}
|
package/client.d.ts
CHANGED
|
@@ -4,6 +4,78 @@ import * as outputs from "./types/output";
|
|
|
4
4
|
/**
|
|
5
5
|
* With this resource, you can set up applications that use Auth0 for authentication and configure allowed callback URLs and secrets for these applications.
|
|
6
6
|
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as auth0 from "@pulumi/auth0";
|
|
12
|
+
*
|
|
13
|
+
* const myClient = new auth0.Client("myClient", {
|
|
14
|
+
* addons: {
|
|
15
|
+
* samlp: {
|
|
16
|
+
* audience: "https://example.com/saml",
|
|
17
|
+
* createUpnClaim: false,
|
|
18
|
+
* issuer: "https://example.com",
|
|
19
|
+
* mapIdentities: false,
|
|
20
|
+
* mapUnknownClaimsAsIs: false,
|
|
21
|
+
* mappings: {
|
|
22
|
+
* email: "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress",
|
|
23
|
+
* name: "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name",
|
|
24
|
+
* },
|
|
25
|
+
* nameIdentifierFormat: "urn:oasis:names:tc:SAML:2.0:nameid-format:persistent",
|
|
26
|
+
* nameIdentifierProbes: ["http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress"],
|
|
27
|
+
* passthroughClaimsWithNoMapping: false,
|
|
28
|
+
* signingCert: `-----BEGIN PUBLIC KEY-----
|
|
29
|
+
* MIGf...bpP/t3
|
|
30
|
+
* +JGNGIRMj1hF1rnb6QIDAQAB
|
|
31
|
+
* -----END PUBLIC KEY-----
|
|
32
|
+
*
|
|
33
|
+
* `,
|
|
34
|
+
* },
|
|
35
|
+
* },
|
|
36
|
+
* allowedLogoutUrls: ["https://example.com"],
|
|
37
|
+
* allowedOrigins: ["https://example.com"],
|
|
38
|
+
* appType: "non_interactive",
|
|
39
|
+
* callbacks: ["https://example.com/callback"],
|
|
40
|
+
* clientMetadata: {
|
|
41
|
+
* foo: "zoo",
|
|
42
|
+
* },
|
|
43
|
+
* customLoginPageOn: true,
|
|
44
|
+
* description: "Test Applications Long Description",
|
|
45
|
+
* grantTypes: [
|
|
46
|
+
* "authorization_code",
|
|
47
|
+
* "http://auth0.com/oauth/grant-type/password-realm",
|
|
48
|
+
* "implicit",
|
|
49
|
+
* "password",
|
|
50
|
+
* "refresh_token",
|
|
51
|
+
* ],
|
|
52
|
+
* isFirstParty: true,
|
|
53
|
+
* isTokenEndpointIpHeaderTrusted: true,
|
|
54
|
+
* jwtConfiguration: {
|
|
55
|
+
* alg: "RS256",
|
|
56
|
+
* lifetimeInSeconds: 300,
|
|
57
|
+
* scopes: {
|
|
58
|
+
* foo: "bar",
|
|
59
|
+
* },
|
|
60
|
+
* secretEncoded: true,
|
|
61
|
+
* },
|
|
62
|
+
* mobile: {
|
|
63
|
+
* ios: {
|
|
64
|
+
* appBundleIdentifier: "com.my.bundle.id",
|
|
65
|
+
* teamId: "9JA89QQLNQ",
|
|
66
|
+
* },
|
|
67
|
+
* },
|
|
68
|
+
* oidcConformant: false,
|
|
69
|
+
* refreshToken: {
|
|
70
|
+
* expirationType: "expiring",
|
|
71
|
+
* leeway: 0,
|
|
72
|
+
* rotationType: "rotating",
|
|
73
|
+
* tokenLifetime: 2592000,
|
|
74
|
+
* },
|
|
75
|
+
* webOrigins: ["https://example.com"],
|
|
76
|
+
* });
|
|
77
|
+
* ```
|
|
78
|
+
*
|
|
7
79
|
* ## Import
|
|
8
80
|
*
|
|
9
81
|
* This resource can be imported by specifying the client ID. # Example
|
package/client.js
CHANGED
|
@@ -8,6 +8,78 @@ const utilities = require("./utilities");
|
|
|
8
8
|
/**
|
|
9
9
|
* With this resource, you can set up applications that use Auth0 for authentication and configure allowed callback URLs and secrets for these applications.
|
|
10
10
|
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as auth0 from "@pulumi/auth0";
|
|
16
|
+
*
|
|
17
|
+
* const myClient = new auth0.Client("myClient", {
|
|
18
|
+
* addons: {
|
|
19
|
+
* samlp: {
|
|
20
|
+
* audience: "https://example.com/saml",
|
|
21
|
+
* createUpnClaim: false,
|
|
22
|
+
* issuer: "https://example.com",
|
|
23
|
+
* mapIdentities: false,
|
|
24
|
+
* mapUnknownClaimsAsIs: false,
|
|
25
|
+
* mappings: {
|
|
26
|
+
* email: "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress",
|
|
27
|
+
* name: "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name",
|
|
28
|
+
* },
|
|
29
|
+
* nameIdentifierFormat: "urn:oasis:names:tc:SAML:2.0:nameid-format:persistent",
|
|
30
|
+
* nameIdentifierProbes: ["http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress"],
|
|
31
|
+
* passthroughClaimsWithNoMapping: false,
|
|
32
|
+
* signingCert: `-----BEGIN PUBLIC KEY-----
|
|
33
|
+
* MIGf...bpP/t3
|
|
34
|
+
* +JGNGIRMj1hF1rnb6QIDAQAB
|
|
35
|
+
* -----END PUBLIC KEY-----
|
|
36
|
+
*
|
|
37
|
+
* `,
|
|
38
|
+
* },
|
|
39
|
+
* },
|
|
40
|
+
* allowedLogoutUrls: ["https://example.com"],
|
|
41
|
+
* allowedOrigins: ["https://example.com"],
|
|
42
|
+
* appType: "non_interactive",
|
|
43
|
+
* callbacks: ["https://example.com/callback"],
|
|
44
|
+
* clientMetadata: {
|
|
45
|
+
* foo: "zoo",
|
|
46
|
+
* },
|
|
47
|
+
* customLoginPageOn: true,
|
|
48
|
+
* description: "Test Applications Long Description",
|
|
49
|
+
* grantTypes: [
|
|
50
|
+
* "authorization_code",
|
|
51
|
+
* "http://auth0.com/oauth/grant-type/password-realm",
|
|
52
|
+
* "implicit",
|
|
53
|
+
* "password",
|
|
54
|
+
* "refresh_token",
|
|
55
|
+
* ],
|
|
56
|
+
* isFirstParty: true,
|
|
57
|
+
* isTokenEndpointIpHeaderTrusted: true,
|
|
58
|
+
* jwtConfiguration: {
|
|
59
|
+
* alg: "RS256",
|
|
60
|
+
* lifetimeInSeconds: 300,
|
|
61
|
+
* scopes: {
|
|
62
|
+
* foo: "bar",
|
|
63
|
+
* },
|
|
64
|
+
* secretEncoded: true,
|
|
65
|
+
* },
|
|
66
|
+
* mobile: {
|
|
67
|
+
* ios: {
|
|
68
|
+
* appBundleIdentifier: "com.my.bundle.id",
|
|
69
|
+
* teamId: "9JA89QQLNQ",
|
|
70
|
+
* },
|
|
71
|
+
* },
|
|
72
|
+
* oidcConformant: false,
|
|
73
|
+
* refreshToken: {
|
|
74
|
+
* expirationType: "expiring",
|
|
75
|
+
* leeway: 0,
|
|
76
|
+
* rotationType: "rotating",
|
|
77
|
+
* tokenLifetime: 2592000,
|
|
78
|
+
* },
|
|
79
|
+
* webOrigins: ["https://example.com"],
|
|
80
|
+
* });
|
|
81
|
+
* ```
|
|
82
|
+
*
|
|
11
83
|
* ## Import
|
|
12
84
|
*
|
|
13
85
|
* This resource can be imported by specifying the client ID. # Example
|
package/client.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.js","sourceRoot":"","sources":["../client.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"client.js","sourceRoot":"","sources":["../client.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;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E,CAAC,aAAa,CAAC,EAAE,CAAC;QAChE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,MAAM,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC3D,CAAC;;AAnQL,wBAoQC;AAtPG,gBAAgB;AACO,mBAAY,GAAG,2BAA2B,CAAC"}
|
package/clientCredentials.d.ts
CHANGED
|
@@ -7,6 +7,58 @@ import * as outputs from "./types/output";
|
|
|
7
7
|
* > Refer to the client secret rotation guide
|
|
8
8
|
* for instructions on how to rotate client secrets with zero downtime.
|
|
9
9
|
*
|
|
10
|
+
* ## Example Usage
|
|
11
|
+
*
|
|
12
|
+
* ```typescript
|
|
13
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
14
|
+
* import * as auth0 from "@pulumi/auth0";
|
|
15
|
+
*
|
|
16
|
+
* const myClient = new auth0.Client("myClient", {
|
|
17
|
+
* appType: "non_interactive",
|
|
18
|
+
* jwtConfiguration: {
|
|
19
|
+
* alg: "RS256",
|
|
20
|
+
* },
|
|
21
|
+
* });
|
|
22
|
+
* // Configuring client_secret_post as an authentication method.
|
|
23
|
+
* const testClientCredentials = new auth0.ClientCredentials("testClientCredentials", {
|
|
24
|
+
* clientId: myClient.id,
|
|
25
|
+
* authenticationMethod: "client_secret_post",
|
|
26
|
+
* });
|
|
27
|
+
* // Configuring client_secret_basic as an authentication method.
|
|
28
|
+
* const testIndex_clientCredentialsClientCredentials = new auth0.ClientCredentials("testIndex/clientCredentialsClientCredentials", {
|
|
29
|
+
* clientId: myClient.id,
|
|
30
|
+
* authenticationMethod: "client_secret_basic",
|
|
31
|
+
* });
|
|
32
|
+
* // Configuring none as an authentication method.
|
|
33
|
+
* const testAuth0Index_clientCredentialsClientCredentials = new auth0.ClientCredentials("testAuth0Index/clientCredentialsClientCredentials", {
|
|
34
|
+
* clientId: myClient.id,
|
|
35
|
+
* authenticationMethod: "none",
|
|
36
|
+
* });
|
|
37
|
+
* // Configuring private_key_jwt as an authentication method.
|
|
38
|
+
* const testAuth0Index_clientCredentialsClientCredentials1 = new auth0.ClientCredentials("testAuth0Index/clientCredentialsClientCredentials1", {
|
|
39
|
+
* clientId: myClient.id,
|
|
40
|
+
* authenticationMethod: "private_key_jwt",
|
|
41
|
+
* privateKeyJwt: {
|
|
42
|
+
* credentials: [{
|
|
43
|
+
* name: "Testing Credentials 1",
|
|
44
|
+
* credentialType: "public_key",
|
|
45
|
+
* algorithm: "RS256",
|
|
46
|
+
* parseExpiryFromCert: true,
|
|
47
|
+
* pem: `-----BEGIN CERTIFICATE-----
|
|
48
|
+
* MIIFWDCCA0ACCQDXqpBo3R...G9w0BAQsFADBuMQswCQYDVQQGEwJl
|
|
49
|
+
* -----END CERTIFICATE-----
|
|
50
|
+
* `,
|
|
51
|
+
* }],
|
|
52
|
+
* },
|
|
53
|
+
* });
|
|
54
|
+
* // Configuring the client_secret.
|
|
55
|
+
* const testAuth0Index_clientCredentialsClientCredentials2 = new auth0.ClientCredentials("testAuth0Index/clientCredentialsClientCredentials2", {
|
|
56
|
+
* clientId: myClient.id,
|
|
57
|
+
* authenticationMethod: "client_secret_basic",
|
|
58
|
+
* clientSecret: "LUFqPx+sRLjbL7peYRPFmFu-bbvE7u7og4YUNe_C345=683341",
|
|
59
|
+
* });
|
|
60
|
+
* ```
|
|
61
|
+
*
|
|
10
62
|
* ## Import
|
|
11
63
|
*
|
|
12
64
|
* This resource can be imported by specifying the client ID. # Example
|