@pulumi/auth0 3.54.0-alpha.1790140918 → 3.54.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/types/output.d.ts CHANGED
@@ -1210,6 +1210,12 @@ export interface ClientAddonsZoom {
1210
1210
  */
1211
1211
  account?: string;
1212
1212
  }
1213
+ export interface ClientAnonymousSessions {
1214
+ /**
1215
+ * If set to true, this client is allowed to create anonymous sessions. Requires `oidcConformant` to be set to `true`. Set to `false` to disable. (EA only)
1216
+ */
1217
+ active: boolean;
1218
+ }
1213
1219
  export interface ClientB2bIntegrationConfiguration {
1214
1220
  /**
1215
1221
  * The type of integration used to connect to this B2B integration client. One of custom*auth*server, third_party, application
@@ -1677,6 +1683,14 @@ export interface ClientMyOrganizationConfiguration {
1677
1683
  * The ID of the connection profile to use when creating organizations for this client.
1678
1684
  */
1679
1685
  connectionProfileId?: string;
1686
+ /**
1687
+ * When true, limits the permissions that organization admins can assign to members to only those held by the admin themselves. Requires the `myOrgMemberManagementEa` feature flag. Available in Early Access (EA).
1688
+ */
1689
+ enforcePermissionCeiling?: boolean;
1690
+ /**
1691
+ * When true, prevents organization admins from assigning permissions to themselves. Requires the `myOrgMemberManagementEa` feature flag. Available in Early Access (EA).
1692
+ */
1693
+ enforceSelfAssignmentRestriction?: boolean;
1680
1694
  /**
1681
1695
  * The client ID used as the invitation landing page when creating invitations through the My Organization API. Requires the tenant to have member management enabled, and the referenced client must allow organizations.
1682
1696
  */
@@ -4573,6 +4587,12 @@ export interface GetClientAddonZoom {
4573
4587
  */
4574
4588
  account: string;
4575
4589
  }
4590
+ export interface GetClientAnonymousSession {
4591
+ /**
4592
+ * If set to true, this client is allowed to create anonymous sessions. Requires `oidcConformant` to be set to `true`. Set to `false` to disable. (EA only)
4593
+ */
4594
+ active: boolean;
4595
+ }
4576
4596
  export interface GetClientB2bIntegrationConfiguration {
4577
4597
  /**
4578
4598
  * The type of integration used to connect to this B2B integration client. One of custom_auth_server, third_party, application
@@ -4922,6 +4942,14 @@ export interface GetClientMyOrganizationConfiguration {
4922
4942
  * The ID of the connection profile to use when creating organizations for this client.
4923
4943
  */
4924
4944
  connectionProfileId: string;
4945
+ /**
4946
+ * When true, limits the permissions that organization admins can assign to members to only those held by the admin themselves. Requires the `myOrgMemberManagementEa` feature flag. Available in Early Access (EA).
4947
+ */
4948
+ enforcePermissionCeiling: boolean;
4949
+ /**
4950
+ * When true, prevents organization admins from assigning permissions to themselves. Requires the `myOrgMemberManagementEa` feature flag. Available in Early Access (EA).
4951
+ */
4952
+ enforceSelfAssignmentRestriction: boolean;
4925
4953
  /**
4926
4954
  * The client ID used as the invitation landing page when creating invitations through the My Organization API. Requires the tenant to have member management enabled, and the referenced client must allow organizations.
4927
4955
  */
@@ -5153,6 +5181,10 @@ export interface GetClientsClient {
5153
5181
  * URLs that represent valid origins for cross-origin resource sharing. By default, all your callback URLs will be allowed.
5154
5182
  */
5155
5183
  allowedOrigins: string[];
5184
+ /**
5185
+ * Anonymous Sessions settings for the client. Removing this block clears the setting on the API. (EA only)
5186
+ */
5187
+ anonymousSessions: outputs.GetClientsClientAnonymousSession[];
5156
5188
  /**
5157
5189
  * Type of application the client represents. Possible values are: `native`, `spa`, `regularWeb`, `nonInteractive`, `resourceServer`,`ssoIntegration`. Specific SSO integrations types accepted as well are: `rms`, `box`, `cloudbees`, `concur`, `dropbox`, `mscrm`, `echosign`, `egnyte`, `newrelic`, `office365`, `salesforce`, `sentry`, `sharepoint`, `slack`, `springcm`, `zendesk`, `zoom`, `expressConfiguration`
5158
5190
  */
@@ -5273,6 +5305,12 @@ export interface GetClientsClient {
5273
5305
  */
5274
5306
  webOrigins: string[];
5275
5307
  }
5308
+ export interface GetClientsClientAnonymousSession {
5309
+ /**
5310
+ * If set to true, this client is allowed to create anonymous sessions. Requires `oidcConformant` to be set to `true`. Set to `false` to disable. (EA only)
5311
+ */
5312
+ active: boolean;
5313
+ }
5276
5314
  export interface GetClientsClientB2bIntegrationConfiguration {
5277
5315
  /**
5278
5316
  * The type of integration used to connect to this B2B integration client. One of custom_auth_server, third_party, application
@@ -5358,6 +5396,14 @@ export interface GetClientsClientMyOrganizationConfiguration {
5358
5396
  * The ID of the connection profile to use when creating organizations for this client.
5359
5397
  */
5360
5398
  connectionProfileId: string;
5399
+ /**
5400
+ * When true, limits the permissions that organization admins can assign to members to only those held by the admin themselves. Requires the `myOrgMemberManagementEa` feature flag. Available in Early Access (EA).
5401
+ */
5402
+ enforcePermissionCeiling: boolean;
5403
+ /**
5404
+ * When true, prevents organization admins from assigning permissions to themselves. Requires the `myOrgMemberManagementEa` feature flag. Available in Early Access (EA).
5405
+ */
5406
+ enforceSelfAssignmentRestriction: boolean;
5361
5407
  /**
5362
5408
  * The client ID used as the invitation landing page when creating invitations through the My Organization API. Requires the tenant to have member management enabled, and the referenced client must allow organizations.
5363
5409
  */
@@ -7533,6 +7579,28 @@ export interface GetRateLimitPolicyConfiguration {
7533
7579
  */
7534
7580
  redirectUri: string;
7535
7581
  }
7582
+ export interface GetResourceServerAccessToken {
7583
+ /**
7584
+ * Configuration for mapping claims into the access tokens issued for this resource server. (EA only)
7585
+ */
7586
+ claimsMappings: outputs.GetResourceServerAccessTokenClaimsMapping[];
7587
+ }
7588
+ export interface GetResourceServerAccessTokenClaimsMapping {
7589
+ /**
7590
+ * Custom claims to include in the access tokens issued for this resource server. Maximum of 20 claims. Setting an empty list clears the custom claims on the API. (EA only)
7591
+ */
7592
+ customClaims: outputs.GetResourceServerAccessTokenClaimsMappingCustomClaim[];
7593
+ }
7594
+ export interface GetResourceServerAccessTokenClaimsMappingCustomClaim {
7595
+ /**
7596
+ * Expression used to resolve the claim value, given as a dot-path read from the request context (for example `anonymous_session.metadata.country`).
7597
+ */
7598
+ expression: string;
7599
+ /**
7600
+ * Name of the claim to emit in the access token. Reserved OIDC/JWT claim names are not allowed.
7601
+ */
7602
+ name: string;
7603
+ }
7536
7604
  export interface GetResourceServerAuthorizationDetail {
7537
7605
  /**
7538
7606
  * Disable authorization details.
@@ -7578,6 +7646,10 @@ export interface GetResourceServerScope {
7578
7646
  name: string;
7579
7647
  }
7580
7648
  export interface GetResourceServerSubjectTypeAuthorization {
7649
+ /**
7650
+ * Anonymous user authorization policies for the resource server. (EA only)
7651
+ */
7652
+ anonymousUsers: outputs.GetResourceServerSubjectTypeAuthorizationAnonymousUser[];
7581
7653
  /**
7582
7654
  * Client authorization policies for the resource server.
7583
7655
  */
@@ -7587,6 +7659,12 @@ export interface GetResourceServerSubjectTypeAuthorization {
7587
7659
  */
7588
7660
  users: outputs.GetResourceServerSubjectTypeAuthorizationUser[];
7589
7661
  }
7662
+ export interface GetResourceServerSubjectTypeAuthorizationAnonymousUser {
7663
+ /**
7664
+ * Anonymous user flows policy. One of `denyAll`, `requireClientGrant`. Defaults to `denyAll` (EA only)
7665
+ */
7666
+ policy: string;
7667
+ }
7590
7668
  export interface GetResourceServerSubjectTypeAuthorizationClient {
7591
7669
  /**
7592
7670
  * Client flows policy. One of `denyAll`, `requireClientGrant`.
@@ -7910,11 +7988,25 @@ export interface GetTenantOidcLogout {
7910
7988
  rpLogoutEndSessionEndpointDiscovery: boolean;
7911
7989
  }
7912
7990
  export interface GetTenantSession {
7991
+ /**
7992
+ * Anonymous Sessions settings for the tenant. (EA only)
7993
+ */
7994
+ anonymouses: outputs.GetTenantSessionAnonymouse[];
7913
7995
  /**
7914
7996
  * When active, users will be presented with a consent prompt to confirm the logout request if the request is not trustworthy. Turn off the consent prompt to bypass user confirmation.
7915
7997
  */
7916
7998
  oidcLogoutPromptEnabled: boolean;
7917
7999
  }
8000
+ export interface GetTenantSessionAnonymouse {
8001
+ /**
8002
+ * Whether anonymous session requests return the `auth0Anon` cookie. (EA only)
8003
+ */
8004
+ activateCookie: boolean;
8005
+ /**
8006
+ * Number of minutes during which an anonymous session will stay valid. Minimum 1, maximum 525600. (EA only)
8007
+ */
8008
+ lifetimeInMinutes: number;
8009
+ }
7918
8010
  export interface GetTenantSessionCooky {
7919
8011
  /**
7920
8012
  * Behavior of tenant session cookie. Accepts either "persistent" or "non-persistent".
@@ -8175,6 +8267,16 @@ export interface GuardianDuo {
8175
8267
  */
8176
8268
  secretKey?: string;
8177
8269
  }
8270
+ export interface GuardianEmailSettings {
8271
+ /**
8272
+ * The OTP expiration time in seconds. Defaults to `300` (5 minutes).
8273
+ */
8274
+ otpExpirationTime: number;
8275
+ /**
8276
+ * The length of the OTP code. Defaults to `6`.
8277
+ */
8278
+ otpLength: number;
8279
+ }
8178
8280
  export interface GuardianPhone {
8179
8281
  /**
8180
8282
  * Indicates whether Phone MFA is enabled.
@@ -8223,6 +8325,16 @@ export interface GuardianPhoneOptions {
8223
8325
  */
8224
8326
  verificationMessage?: string;
8225
8327
  }
8328
+ export interface GuardianPhoneSettings {
8329
+ /**
8330
+ * The OTP expiration time in seconds. Defaults to `300` (5 minutes).
8331
+ */
8332
+ otpExpirationTime: number;
8333
+ /**
8334
+ * The length of the OTP code. Defaults to `6`.
8335
+ */
8336
+ otpLength: number;
8337
+ }
8226
8338
  export interface GuardianPush {
8227
8339
  /**
8228
8340
  * Configuration for Amazon SNS.
@@ -8309,6 +8421,24 @@ export interface GuardianPushDirectFcm {
8309
8421
  */
8310
8422
  serverKey: string;
8311
8423
  }
8424
+ export interface GuardianSettings {
8425
+ /**
8426
+ * Determines whether to display the "Remember me" checkbox on the MFA prompt in Universal Login. Defaults to `true`.
8427
+ */
8428
+ displayRememberMeCheckbox: boolean;
8429
+ /**
8430
+ * Duration of inactivity (seconds) after which the user will be prompted for MFA. Cannot exceed the overall timeout. Defaults to `604800` (7 days).
8431
+ */
8432
+ mfaSessionInactivityTimeout: number;
8433
+ /**
8434
+ * Maximum duration (seconds) after which the user will be prompted for MFA regardless of activity. Defaults to `2592000` (30 days).
8435
+ */
8436
+ mfaSessionOverallTimeout: number;
8437
+ /**
8438
+ * Determines the default state of the "Remember Me" checkbox on the MFA prompt in Universal Login. Defaults to `false`.
8439
+ */
8440
+ rememberMeDefaultValue: boolean;
8441
+ }
8312
8442
  export interface GuardianWebauthnPlatform {
8313
8443
  /**
8314
8444
  * Indicates whether WebAuthn with FIDO Device Biometrics MFA is enabled.
@@ -8926,6 +9056,28 @@ export interface RateLimitPolicyConfiguration {
8926
9056
  */
8927
9057
  redirectUri?: string;
8928
9058
  }
9059
+ export interface ResourceServerAccessToken {
9060
+ /**
9061
+ * Configuration for mapping claims into the access tokens issued for this resource server. (EA only)
9062
+ */
9063
+ claimsMapping?: outputs.ResourceServerAccessTokenClaimsMapping;
9064
+ }
9065
+ export interface ResourceServerAccessTokenClaimsMapping {
9066
+ /**
9067
+ * Custom claims to include in the access tokens issued for this resource server. Maximum of 20 claims. Setting an empty list clears the custom claims on the API. (EA only)
9068
+ */
9069
+ customClaims?: outputs.ResourceServerAccessTokenClaimsMappingCustomClaim[];
9070
+ }
9071
+ export interface ResourceServerAccessTokenClaimsMappingCustomClaim {
9072
+ /**
9073
+ * Expression used to resolve the claim value, given as a dot-path read from the request context (for example `anonymous_session.metadata.country`).
9074
+ */
9075
+ expression: string;
9076
+ /**
9077
+ * Name of the claim to emit in the access token. Reserved OIDC/JWT claim names are not allowed.
9078
+ */
9079
+ name: string;
9080
+ }
8929
9081
  export interface ResourceServerAuthorizationDetail {
8930
9082
  /**
8931
9083
  * Disable authorization details.
@@ -8971,6 +9123,10 @@ export interface ResourceServerScopesScope {
8971
9123
  name: string;
8972
9124
  }
8973
9125
  export interface ResourceServerSubjectTypeAuthorization {
9126
+ /**
9127
+ * Anonymous user authorization policies for the resource server. (EA only)
9128
+ */
9129
+ anonymousUser: outputs.ResourceServerSubjectTypeAuthorizationAnonymousUser;
8974
9130
  /**
8975
9131
  * Client authorization policies for the resource server.
8976
9132
  */
@@ -8980,6 +9136,12 @@ export interface ResourceServerSubjectTypeAuthorization {
8980
9136
  */
8981
9137
  user: outputs.ResourceServerSubjectTypeAuthorizationUser;
8982
9138
  }
9139
+ export interface ResourceServerSubjectTypeAuthorizationAnonymousUser {
9140
+ /**
9141
+ * Anonymous user flows policy. One of `denyAll`, `requireClientGrant`. Defaults to `denyAll` (EA only)
9142
+ */
9143
+ policy: string;
9144
+ }
8983
9145
  export interface ResourceServerSubjectTypeAuthorizationClient {
8984
9146
  /**
8985
9147
  * Client flows policy. One of `denyAll`, `requireClientGrant`.
@@ -9273,11 +9435,25 @@ export interface TenantSessionCookie {
9273
9435
  mode?: string;
9274
9436
  }
9275
9437
  export interface TenantSessions {
9438
+ /**
9439
+ * Anonymous Sessions settings for the tenant. (EA only)
9440
+ */
9441
+ anonymous?: outputs.TenantSessionsAnonymous;
9276
9442
  /**
9277
9443
  * When active, users will be presented with a consent prompt to confirm the logout request if the request is not trustworthy. Turn off the consent prompt to bypass user confirmation.
9278
9444
  */
9279
9445
  oidcLogoutPromptEnabled: boolean;
9280
9446
  }
9447
+ export interface TenantSessionsAnonymous {
9448
+ /**
9449
+ * Whether anonymous session requests return the `auth0Anon` cookie. (EA only)
9450
+ */
9451
+ activateCookie?: boolean;
9452
+ /**
9453
+ * Number of minutes during which an anonymous session will stay valid. Minimum 1, maximum 525600. (EA only)
9454
+ */
9455
+ lifetimeInMinutes?: number;
9456
+ }
9281
9457
  export interface TriggerActionsAction {
9282
9458
  /**
9283
9459
  * The display name of the action within the flow.