@pulumi/auth0 2.16.0 → 2.17.0-alpha.1677662776

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 (48) hide show
  1. package/connection.d.ts +8 -12
  2. package/connection.js +2 -4
  3. package/connection.js.map +1 -1
  4. package/getAttackProtection.d.ts +36 -0
  5. package/getAttackProtection.js +25 -0
  6. package/getAttackProtection.js.map +1 -0
  7. package/getBranding.d.ts +44 -0
  8. package/getBranding.js +25 -0
  9. package/getBranding.js.map +1 -0
  10. package/getBrandingTheme.d.ts +33 -0
  11. package/getBrandingTheme.js +25 -0
  12. package/getBrandingTheme.js.map +1 -0
  13. package/getClient.d.ts +2 -2
  14. package/getClient.js +2 -2
  15. package/getConnection.d.ts +115 -0
  16. package/getConnection.js +55 -0
  17. package/getConnection.js.map +1 -0
  18. package/getGlobalClient.d.ts +1 -1
  19. package/getGlobalClient.js +1 -1
  20. package/getOrganization.d.ts +96 -0
  21. package/getOrganization.js +55 -0
  22. package/getOrganization.js.map +1 -0
  23. package/getResourceServer.d.ts +131 -0
  24. package/getResourceServer.js +55 -0
  25. package/getResourceServer.js.map +1 -0
  26. package/getRole.d.ts +89 -0
  27. package/getRole.js +55 -0
  28. package/getRole.js.map +1 -0
  29. package/getTenant.d.ts +73 -0
  30. package/getTenant.js.map +1 -1
  31. package/getUser.d.ts +130 -0
  32. package/getUser.js +47 -0
  33. package/getUser.js.map +1 -0
  34. package/index.d.ts +21 -0
  35. package/index.js +22 -1
  36. package/index.js.map +1 -1
  37. package/organizationMember.d.ts +1 -1
  38. package/organizationMember.js +1 -1
  39. package/package.json +2 -2
  40. package/package.json.dev +2 -2
  41. package/promptCustomText.d.ts +12 -12
  42. package/promptCustomText.js +6 -6
  43. package/role.d.ts +1 -1
  44. package/role.js +1 -1
  45. package/types/input.d.ts +3 -1
  46. package/types/output.d.ts +336 -1
  47. package/user.d.ts +1 -1
  48. package/user.js +1 -1
package/types/output.d.ts CHANGED
@@ -989,6 +989,126 @@ export interface EmailSettingsMessage {
989
989
  configurationSetName?: string;
990
990
  viewContentLink?: boolean;
991
991
  }
992
+ export interface GetAttackProtectionBreachedPasswordDetection {
993
+ adminNotificationFrequencies: string[];
994
+ enabled: boolean;
995
+ method: string;
996
+ preUserRegistrations: outputs.GetAttackProtectionBreachedPasswordDetectionPreUserRegistration[];
997
+ shields: string[];
998
+ }
999
+ export interface GetAttackProtectionBreachedPasswordDetectionPreUserRegistration {
1000
+ shields: string[];
1001
+ }
1002
+ export interface GetAttackProtectionBruteForceProtection {
1003
+ allowlists: string[];
1004
+ enabled: boolean;
1005
+ maxAttempts: number;
1006
+ mode: string;
1007
+ shields: string[];
1008
+ }
1009
+ export interface GetAttackProtectionSuspiciousIpThrottling {
1010
+ allowlists: string[];
1011
+ enabled: boolean;
1012
+ preLogins: outputs.GetAttackProtectionSuspiciousIpThrottlingPreLogin[];
1013
+ preUserRegistrations: outputs.GetAttackProtectionSuspiciousIpThrottlingPreUserRegistration[];
1014
+ shields: string[];
1015
+ }
1016
+ export interface GetAttackProtectionSuspiciousIpThrottlingPreLogin {
1017
+ maxAttempts: number;
1018
+ rate: number;
1019
+ }
1020
+ export interface GetAttackProtectionSuspiciousIpThrottlingPreUserRegistration {
1021
+ maxAttempts: number;
1022
+ rate: number;
1023
+ }
1024
+ export interface GetBrandingColor {
1025
+ pageBackground: string;
1026
+ primary: string;
1027
+ }
1028
+ export interface GetBrandingFont {
1029
+ url: string;
1030
+ }
1031
+ export interface GetBrandingThemeBorder {
1032
+ buttonBorderRadius: number;
1033
+ buttonBorderWeight: number;
1034
+ buttonsStyle: string;
1035
+ inputBorderRadius: number;
1036
+ inputBorderWeight: number;
1037
+ inputsStyle: string;
1038
+ showWidgetShadow: boolean;
1039
+ widgetBorderWeight: number;
1040
+ widgetCornerRadius: number;
1041
+ }
1042
+ export interface GetBrandingThemeColor {
1043
+ baseFocusColor: string;
1044
+ baseHoverColor: string;
1045
+ bodyText: string;
1046
+ error: string;
1047
+ header: string;
1048
+ icons: string;
1049
+ inputBackground: string;
1050
+ inputBorder: string;
1051
+ inputFilledText: string;
1052
+ inputLabelsPlaceholders: string;
1053
+ linksFocusedComponents: string;
1054
+ primaryButton: string;
1055
+ primaryButtonLabel: string;
1056
+ secondaryButtonBorder: string;
1057
+ secondaryButtonLabel: string;
1058
+ success: string;
1059
+ widgetBackground: string;
1060
+ widgetBorder: string;
1061
+ }
1062
+ export interface GetBrandingThemeFont {
1063
+ bodyTexts: outputs.GetBrandingThemeFontBodyText[];
1064
+ buttonsTexts: outputs.GetBrandingThemeFontButtonsText[];
1065
+ fontUrl: string;
1066
+ inputLabels: outputs.GetBrandingThemeFontInputLabel[];
1067
+ links: outputs.GetBrandingThemeFontLink[];
1068
+ linksStyle: string;
1069
+ referenceTextSize: number;
1070
+ subtitles: outputs.GetBrandingThemeFontSubtitle[];
1071
+ titles: outputs.GetBrandingThemeFontTitle[];
1072
+ }
1073
+ export interface GetBrandingThemeFontBodyText {
1074
+ bold: boolean;
1075
+ size: number;
1076
+ }
1077
+ export interface GetBrandingThemeFontButtonsText {
1078
+ bold: boolean;
1079
+ size: number;
1080
+ }
1081
+ export interface GetBrandingThemeFontInputLabel {
1082
+ bold: boolean;
1083
+ size: number;
1084
+ }
1085
+ export interface GetBrandingThemeFontLink {
1086
+ bold: boolean;
1087
+ size: number;
1088
+ }
1089
+ export interface GetBrandingThemeFontSubtitle {
1090
+ bold: boolean;
1091
+ size: number;
1092
+ }
1093
+ export interface GetBrandingThemeFontTitle {
1094
+ bold: boolean;
1095
+ size: number;
1096
+ }
1097
+ export interface GetBrandingThemePageBackground {
1098
+ backgroundColor: string;
1099
+ backgroundImageUrl: string;
1100
+ pageLayout: string;
1101
+ }
1102
+ export interface GetBrandingThemeWidget {
1103
+ headerTextAlignment: string;
1104
+ logoHeight: number;
1105
+ logoPosition: string;
1106
+ logoUrl: string;
1107
+ socialButtonsLayout: string;
1108
+ }
1109
+ export interface GetBrandingUniversalLogin {
1110
+ body: string;
1111
+ }
992
1112
  export interface GetClientAddon {
993
1113
  aws: {
994
1114
  [key: string]: any;
@@ -1139,6 +1259,148 @@ export interface GetClientRefreshToken {
1139
1259
  rotationType: string;
1140
1260
  tokenLifetime: number;
1141
1261
  }
1262
+ export interface GetConnectionOption {
1263
+ adfsServer: string;
1264
+ allowedAudiences: string[];
1265
+ apiEnableUsers: boolean;
1266
+ appId: string;
1267
+ authParams: {
1268
+ [key: string]: string;
1269
+ };
1270
+ authorizationEndpoint: string;
1271
+ bruteForceProtection: boolean;
1272
+ clientId: string;
1273
+ clientSecret: string;
1274
+ communityBaseUrl: string;
1275
+ configuration: {
1276
+ [key: string]: any;
1277
+ };
1278
+ customScripts: {
1279
+ [key: string]: string;
1280
+ };
1281
+ debug: boolean;
1282
+ digestAlgorithm: string;
1283
+ disableCache: boolean;
1284
+ disableSignOut: boolean;
1285
+ disableSignup: boolean;
1286
+ discoveryUrl: string;
1287
+ domain: string;
1288
+ domainAliases: string[];
1289
+ enableScriptContext: boolean;
1290
+ enabledDatabaseCustomization: boolean;
1291
+ entityId: string;
1292
+ fedMetadataXml: string;
1293
+ fieldsMap: string;
1294
+ forwardRequestInfo: boolean;
1295
+ from: string;
1296
+ gatewayAuthentications: outputs.GetConnectionOptionGatewayAuthentication[];
1297
+ gatewayUrl: string;
1298
+ iconUrl: string;
1299
+ identityApi: string;
1300
+ idpInitiateds: outputs.GetConnectionOptionIdpInitiated[];
1301
+ importMode: boolean;
1302
+ ips: string[];
1303
+ issuer: string;
1304
+ jwksUri: string;
1305
+ keyId: string;
1306
+ maxGroupsToRetrieve: string;
1307
+ messagingServiceSid: string;
1308
+ metadataUrl: string;
1309
+ metadataXml: string;
1310
+ mfas: outputs.GetConnectionOptionMfa[];
1311
+ /**
1312
+ * The name of the connection. If not provided, `connectionId` must be set.
1313
+ */
1314
+ name: string;
1315
+ nonPersistentAttrs: string[];
1316
+ passwordComplexityOptions: outputs.GetConnectionOptionPasswordComplexityOption[];
1317
+ passwordDictionaries: outputs.GetConnectionOptionPasswordDictionary[];
1318
+ passwordHistories: outputs.GetConnectionOptionPasswordHistory[];
1319
+ passwordNoPersonalInfos: outputs.GetConnectionOptionPasswordNoPersonalInfo[];
1320
+ passwordPolicy: string;
1321
+ pkceEnabled: boolean;
1322
+ protocolBinding: string;
1323
+ provider: string;
1324
+ requestTemplate: string;
1325
+ requiresUsername: boolean;
1326
+ scopes: string[];
1327
+ scripts: {
1328
+ [key: string]: string;
1329
+ };
1330
+ setUserRootAttributes: string;
1331
+ shouldTrustEmailVerifiedConnection: string;
1332
+ signInEndpoint: string;
1333
+ signOutEndpoint: string;
1334
+ signSamlRequest: boolean;
1335
+ signatureAlgorithm: string;
1336
+ signingCert: string;
1337
+ signingKeys: outputs.GetConnectionOptionSigningKey[];
1338
+ strategyVersion: number;
1339
+ subject: string;
1340
+ syntax: string;
1341
+ teamId: string;
1342
+ template: string;
1343
+ tenantDomain: string;
1344
+ tokenEndpoint: string;
1345
+ totps: outputs.GetConnectionOptionTotp[];
1346
+ twilioSid: string;
1347
+ twilioToken: string;
1348
+ type: string;
1349
+ upstreamParams: string;
1350
+ useCertAuth: boolean;
1351
+ useKerberos: boolean;
1352
+ useWsfed: boolean;
1353
+ userIdAttribute: string;
1354
+ userinfoEndpoint: string;
1355
+ validations: outputs.GetConnectionOptionValidation[];
1356
+ waadCommonEndpoint: boolean;
1357
+ waadProtocol: string;
1358
+ }
1359
+ export interface GetConnectionOptionGatewayAuthentication {
1360
+ audience: string;
1361
+ method: string;
1362
+ secret: string;
1363
+ secretBase64Encoded: boolean;
1364
+ subject: string;
1365
+ }
1366
+ export interface GetConnectionOptionIdpInitiated {
1367
+ clientAuthorizeQuery: string;
1368
+ clientId: string;
1369
+ clientProtocol: string;
1370
+ }
1371
+ export interface GetConnectionOptionMfa {
1372
+ active: boolean;
1373
+ returnEnrollSettings: boolean;
1374
+ }
1375
+ export interface GetConnectionOptionPasswordComplexityOption {
1376
+ minLength: number;
1377
+ }
1378
+ export interface GetConnectionOptionPasswordDictionary {
1379
+ dictionaries: string[];
1380
+ enable: boolean;
1381
+ }
1382
+ export interface GetConnectionOptionPasswordHistory {
1383
+ enable: boolean;
1384
+ size: number;
1385
+ }
1386
+ export interface GetConnectionOptionPasswordNoPersonalInfo {
1387
+ enable: boolean;
1388
+ }
1389
+ export interface GetConnectionOptionSigningKey {
1390
+ cert: string;
1391
+ key: string;
1392
+ }
1393
+ export interface GetConnectionOptionTotp {
1394
+ length: number;
1395
+ timeStep: number;
1396
+ }
1397
+ export interface GetConnectionOptionValidation {
1398
+ usernames: outputs.GetConnectionOptionValidationUsername[];
1399
+ }
1400
+ export interface GetConnectionOptionValidationUsername {
1401
+ max: number;
1402
+ min: number;
1403
+ }
1142
1404
  export interface GetGlobalClientAddon {
1143
1405
  aws: {
1144
1406
  [key: string]: any;
@@ -1289,6 +1551,77 @@ export interface GetGlobalClientRefreshToken {
1289
1551
  rotationType: string;
1290
1552
  tokenLifetime: number;
1291
1553
  }
1554
+ export interface GetOrganizationBranding {
1555
+ colors: {
1556
+ [key: string]: string;
1557
+ };
1558
+ logoUrl: string;
1559
+ }
1560
+ export interface GetOrganizationConnection {
1561
+ assignMembershipOnLogin: boolean;
1562
+ connectionId: string;
1563
+ }
1564
+ export interface GetResourceServerScope {
1565
+ description: string;
1566
+ value: string;
1567
+ }
1568
+ export interface GetRolePermission {
1569
+ /**
1570
+ * The name of the role. If not provided, `roleId` must be set.
1571
+ */
1572
+ name: string;
1573
+ resourceServerIdentifier: string;
1574
+ }
1575
+ export interface GetTenantChangePassword {
1576
+ enabled: boolean;
1577
+ html: string;
1578
+ }
1579
+ export interface GetTenantErrorPage {
1580
+ html: string;
1581
+ showLogLink: boolean;
1582
+ url: string;
1583
+ }
1584
+ export interface GetTenantFlag {
1585
+ allowLegacyDelegationGrantTypes: boolean;
1586
+ allowLegacyRoGrantTypes: boolean;
1587
+ allowLegacyTokeninfoEndpoint: boolean;
1588
+ dashboardInsightsView: boolean;
1589
+ dashboardLogStreamsNext: boolean;
1590
+ disableClickjackProtectionHeaders: boolean;
1591
+ disableFieldsMapFix: boolean;
1592
+ disableManagementApiSmsObfuscation: boolean;
1593
+ enableAdfsWaadEmailVerification: boolean;
1594
+ enableApisSection: boolean;
1595
+ enableClientConnections: boolean;
1596
+ enableCustomDomainInEmails: boolean;
1597
+ enableDynamicClientRegistration: boolean;
1598
+ enableIdtokenApi2: boolean;
1599
+ enableLegacyLogsSearchV2: boolean;
1600
+ enableLegacyProfile: boolean;
1601
+ enablePipeline2: boolean;
1602
+ enablePublicSignupUserExistsError: boolean;
1603
+ noDiscloseEnterpriseConnections: boolean;
1604
+ revokeRefreshTokenGrant: boolean;
1605
+ /**
1606
+ * Configuration settings for Universal Login.
1607
+ */
1608
+ universalLogin: boolean;
1609
+ useScopeDescriptionsForConsent: boolean;
1610
+ }
1611
+ export interface GetTenantGuardianMfaPage {
1612
+ enabled: boolean;
1613
+ html: string;
1614
+ }
1615
+ export interface GetTenantSessionCooky {
1616
+ mode: string;
1617
+ }
1618
+ export interface GetTenantUniversalLogin {
1619
+ colors: outputs.GetTenantUniversalLoginColor[];
1620
+ }
1621
+ export interface GetTenantUniversalLoginColor {
1622
+ pageBackground: string;
1623
+ primary: string;
1624
+ }
1292
1625
  export interface GlobalClientAddons {
1293
1626
  aws?: {
1294
1627
  [key: string]: any;
@@ -1828,7 +2161,9 @@ export interface TenantFlags {
1828
2161
  */
1829
2162
  revokeRefreshTokenGrant: boolean;
1830
2163
  /**
1831
- * Indicates whether the tenant uses Universal Login.
2164
+ * Indicates whether the New Universal Login Experience is enabled.
2165
+ *
2166
+ * @deprecated This attribute is deprecated. Use the `universal_login_experience` attribute on the `auth0_prompt` resource to toggle the new or classic experience instead.
1832
2167
  */
1833
2168
  universalLogin: boolean;
1834
2169
  /**
package/user.d.ts CHANGED
@@ -16,7 +16,7 @@ import * as pulumi from "@pulumi/pulumi";
16
16
  * nickname: "some.nickname",
17
17
  * email: "test@test.com",
18
18
  * emailVerified: true,
19
- * password: `passpass$12$12`,
19
+ * password: "passpass$12$12",
20
20
  * picture: "https://www.example.com/a-valid-picture-url.jpg",
21
21
  * roles: [admin.id],
22
22
  * });
package/user.js CHANGED
@@ -22,7 +22,7 @@ const utilities = require("./utilities");
22
22
  * nickname: "some.nickname",
23
23
  * email: "test@test.com",
24
24
  * emailVerified: true,
25
- * password: `passpass$12$12`,
25
+ * password: "passpass$12$12",
26
26
  * picture: "https://www.example.com/a-valid-picture-url.jpg",
27
27
  * roles: [admin.id],
28
28
  * });