From 883fca34d5e9d09ffc3e27e22cc0754296f78a65 Mon Sep 17 00:00:00 2001
From: tanya732
Date: Wed, 10 Jun 2026 16:20:10 +0530
Subject: [PATCH 1/3] feat: Add tenant security headers (CSP/XSS) and update
Branding/PhoneTemplate models
---
.github/workflows/build-and-test.yml | 2 +-
reference.md | 223 ++++++-----
.../auth0/client/mgmt/AsyncClientsClient.java | 24 +-
.../client/mgmt/AsyncRawClientsClient.java | 24 +-
.../AsyncRawConnectionProfilesClient.java | 5 +
.../mgmt/AsyncRawCustomDomainsClient.java | 5 +
.../mgmt/AsyncRawRefreshTokensClient.java | 8 +-
.../AsyncRawTokenExchangeProfilesClient.java | 5 +
.../client/mgmt/AsyncRefreshTokensClient.java | 8 +-
.../com/auth0/client/mgmt/ClientsClient.java | 24 +-
.../auth0/client/mgmt/RawClientsClient.java | 24 +-
.../mgmt/RawConnectionProfilesClient.java | 3 +
.../client/mgmt/RawCustomDomainsClient.java | 3 +
.../client/mgmt/RawRefreshTokensClient.java | 8 +-
.../mgmt/RawTokenExchangeProfilesClient.java | 3 +
.../client/mgmt/RefreshTokensClient.java | 8 +-
.../AsyncRawOrganizationsClient.java | 6 +
.../clientgrants/RawOrganizationsClient.java | 4 +
.../mgmt/connections/AsyncRawUsersClient.java | 6 +
.../mgmt/connections/RawUsersClient.java | 4 +
.../mgmt/emails/AsyncProviderClient.java | 374 ++++++++----------
.../mgmt/emails/AsyncRawProviderClient.java | 374 ++++++++----------
.../client/mgmt/emails/ProviderClient.java | 374 ++++++++----------
.../client/mgmt/emails/RawProviderClient.java | 374 ++++++++----------
.../mgmt/groups/AsyncRawMembersClient.java | 6 +
.../mgmt/groups/AsyncRawRolesClient.java | 10 +
.../client/mgmt/groups/RawMembersClient.java | 4 +
.../client/mgmt/groups/RawRolesClient.java | 6 +
.../organizations/AsyncRawGroupsClient.java | 6 +
.../mgmt/organizations/RawGroupsClient.java | 4 +
.../groups/AsyncRawRolesClient.java | 16 +
.../organizations/groups/RawRolesClient.java | 10 +
.../members/AsyncRawEffectiveRolesClient.java | 6 +
.../members/RawEffectiveRolesClient.java | 4 +
.../sources/AsyncRawGroupsClient.java | 6 +
.../sources/RawGroupsClient.java | 4 +
.../mgmt/roles/AsyncRawGroupsClient.java | 10 +
.../client/mgmt/roles/RawGroupsClient.java | 6 +
.../UpdateTenantSettingsRequestContent.java | 219 ++++++++++
.../client/mgmt/types/AculContextEnum.java | 10 +
.../mgmt/types/BrandingIdentifiers.java | 161 --------
.../mgmt/types/BrandingPhoneDisplay.java | 130 ------
.../types/BrandingPhoneFormattingEnum.java | 86 ----
.../mgmt/types/BrandingPhoneMaskingEnum.java | 96 -----
...lientMyOrganizationPatchConfiguration.java | 49 ++-
...ClientMyOrganizationPostConfiguration.java | 49 ++-
...ntMyOrganizationResponseConfiguration.java | 49 ++-
.../types/ConnectionOptionsCommonOidc.java | 33 ++
.../mgmt/types/ConnectionOptionsOidc.java | 33 ++
.../mgmt/types/ConnectionOptionsOkta.java | 33 ++
.../types/ConnectionPropertiesOptions.java | 30 +-
.../types/ContentSecurityPolicyConfig.java | 197 +++++++++
.../CreatePhoneTemplateResponseContent.java | 46 ++-
.../com/auth0/client/mgmt/types/CspFlag.java | 84 ++++
.../auth0/client/mgmt/types/CspPolicy.java | 213 ++++++++++
...ginDisplayEnum.java => CspPolicyMode.java} | 39 +-
.../client/mgmt/types/CspPolicyReporting.java | 140 +++++++
.../auth0/client/mgmt/types/CspReportTo.java | 166 ++++++++
.../mgmt/types/CspReportToEndpoint.java | 111 ++++++
.../types/CspReportingInfrastructure.java | 163 ++++++++
.../types/GetBrandingResponseContent.java | 28 +-
.../GetPhoneTemplateResponseContent.java | 46 ++-
.../GetTenantSettingsResponseContent.java | 90 +++++
.../types/IConnectionOptionsCommonOidc.java | 2 +
...licyConfigurationRequestContentAction.java | 8 +-
...tPolicyConfigurationRequestContentOne.java | 8 +-
.../client/mgmt/types/PhoneTemplate.java | 46 ++-
.../mgmt/types/PromptGroupNameEnum.java | 10 +
.../RateLimitPolicyConfigurationAction.java | 8 +-
.../RateLimitPolicyConfigurationOne.java | 8 +-
.../ResetPhoneTemplateResponseContent.java | 46 ++-
.../RevokeRefreshTokensRequestContent.java | 4 +-
.../mgmt/types/ScreenGroupNameEnum.java | 10 +
...TenantSettingsNullableSecurityHeaders.java | 197 +++++++++
.../mgmt/types/UpdateBrandingIdentifiers.java | 194 ---------
.../types/UpdateBrandingPhoneDisplay.java | 143 -------
.../UpdateBrandingPhoneFormattingEnum.java | 86 ----
.../types/UpdateBrandingPhoneMaskingEnum.java | 97 -----
.../types/UpdateBrandingRequestContent.java | 59 +--
.../types/UpdateBrandingResponseContent.java | 29 +-
.../mgmt/types/UpdateConnectionOptions.java | 30 +-
.../UpdatePhoneTemplateResponseContent.java | 46 ++-
.../UpdateTenantSettingsResponseContent.java | 90 +++++
.../mgmt/types/XssProtectionConfig.java | 165 ++++++++
...isplayEnum.java => XssProtectionMode.java} | 37 +-
.../users/AsyncRawEffectiveRolesClient.java | 6 +
.../mgmt/users/AsyncRawGroupsClient.java | 6 +
.../mgmt/users/RawEffectiveRolesClient.java | 4 +
.../client/mgmt/users/RawGroupsClient.java | 4 +
.../sources/AsyncRawGroupsClient.java | 6 +
.../sources/RawGroupsClient.java | 4 +
.../auth0/client/mgmt/BrandingWireTest.java | 20 +-
.../ClientsWireTest_testCreate_response.json | 3 +-
.../ClientsWireTest_testGet_response.json | 3 +-
...ntsWireTest_testRotateSecret_response.json | 3 +-
.../ClientsWireTest_testUpdate_response.json | 3 +-
...antsSettingsWireTest_testGet_response.json | 14 +
...sSettingsWireTest_testUpdate_response.json | 14 +
98 files changed, 3354 insertions(+), 2351 deletions(-)
delete mode 100644 src/main/java/com/auth0/client/mgmt/types/BrandingIdentifiers.java
delete mode 100644 src/main/java/com/auth0/client/mgmt/types/BrandingPhoneDisplay.java
delete mode 100644 src/main/java/com/auth0/client/mgmt/types/BrandingPhoneFormattingEnum.java
delete mode 100644 src/main/java/com/auth0/client/mgmt/types/BrandingPhoneMaskingEnum.java
create mode 100644 src/main/java/com/auth0/client/mgmt/types/ContentSecurityPolicyConfig.java
create mode 100644 src/main/java/com/auth0/client/mgmt/types/CspFlag.java
create mode 100644 src/main/java/com/auth0/client/mgmt/types/CspPolicy.java
rename src/main/java/com/auth0/client/mgmt/types/{BrandingLoginDisplayEnum.java => CspPolicyMode.java} (53%)
create mode 100644 src/main/java/com/auth0/client/mgmt/types/CspPolicyReporting.java
create mode 100644 src/main/java/com/auth0/client/mgmt/types/CspReportTo.java
create mode 100644 src/main/java/com/auth0/client/mgmt/types/CspReportToEndpoint.java
create mode 100644 src/main/java/com/auth0/client/mgmt/types/CspReportingInfrastructure.java
create mode 100644 src/main/java/com/auth0/client/mgmt/types/TenantSettingsNullableSecurityHeaders.java
delete mode 100644 src/main/java/com/auth0/client/mgmt/types/UpdateBrandingIdentifiers.java
delete mode 100644 src/main/java/com/auth0/client/mgmt/types/UpdateBrandingPhoneDisplay.java
delete mode 100644 src/main/java/com/auth0/client/mgmt/types/UpdateBrandingPhoneFormattingEnum.java
delete mode 100644 src/main/java/com/auth0/client/mgmt/types/UpdateBrandingPhoneMaskingEnum.java
create mode 100644 src/main/java/com/auth0/client/mgmt/types/XssProtectionConfig.java
rename src/main/java/com/auth0/client/mgmt/types/{UpdateBrandingLoginDisplayEnum.java => XssProtectionMode.java} (51%)
diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml
index 64a991b0..be4abe4c 100644
--- a/.github/workflows/build-and-test.yml
+++ b/.github/workflows/build-and-test.yml
@@ -22,7 +22,7 @@ jobs:
- name: Test and Assemble with Gradle
run: ./gradlew assemble check --continue --console=plain
- - uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7.0.0
+ - uses: codecov/codecov-action@e79a6962e0d4c0c17b229090214935d2e33f8354 # v6.0.1
with:
flags: unittests
- uses: actions/upload-artifact@v7
diff --git a/reference.md b/reference.md
index c30035a4..ee872ab1 100644
--- a/reference.md
+++ b/reference.md
@@ -714,14 +714,6 @@ client.branding().update(
-
-**identifiers:** `Optional`
-
-
-
-
-
--
-
**font:** `Optional`
@@ -1956,16 +1948,14 @@ client.clients().previewCimdMetadata(
Idempotent registration for Client ID Metadata Document (CIMD) clients.
Uses external_client_id as the unique identifier for upsert operations.
-Create: Returns 201 when a new client is created (requires create:clients scope).
-Update: Returns 200 when an existing client is updated (requires update:clients scope).
+**Create:** Returns 201 when a new client is created (requires `create:clients` scope).
+**Update:** Returns 200 when an existing client is updated (requires `update:clients` scope).
This endpoint automatically:
-
- - Fetches and validates the metadata document
- - Maps CIMD fields to Auth0 client configuration
- - Creates/rotates credentials from the JWKS
- - Enforces CIMD security policies (HTTPS-only, no shared secrets)
-
+- Fetches and validates the metadata document
+- Maps CIMD fields to Auth0 client configuration
+- Creates/rotates credentials from the JWKS
+- Enforces CIMD security policies (HTTPS-only, no shared secrets)
@@ -9793,7 +9783,7 @@ client.refreshTokens().list(
-
-Revoke refresh tokens in bulk by ID list, user, user+client, or client.
+Revoke refresh tokens in bulk by ID list, user, user+client, or user+client+audience.
@@ -9843,7 +9833,7 @@ client.refreshTokens().revoke(
-
-**clientId:** `Optional` — Revoke all refresh tokens for this client.
+**clientId:** `Optional` — Revoke refresh tokens for this client. Must be paired with `user_id`; optionally narrowed further with `audience`.
@@ -17428,7 +17418,7 @@ client.branding().themes().update(
-
-Retrieve a list of phone providers details set for a Tenant. A list of fields to include or exclude may also be specified.
+Retrieve a list of [phone providers](https://auth0.com/docs/customize/phone-messages/configure-phone-messaging-providers) details set for a Tenant. A list of fields to include or exclude may also be specified.
@@ -17489,8 +17479,8 @@ client.branding().phone().providers().list(
-
-Create a phone provider.
-The
credentials object requires different properties depending on the phone provider (which is specified using the name property).
+Create a [phone provider](https://auth0.com/docs/customize/phone-messages/configure-phone-messaging-providers).
+The `credentials` object requires different properties depending on the phone provider (which is specified using the `name` property).
@@ -17581,7 +17571,7 @@ client.branding().phone().providers().create(
-
-Retrieve phone provider details. A list of fields to include or exclude may also be specified.
+Retrieve [phone provider](https://auth0.com/docs/customize/phone-messages/configure-phone-messaging-providers) details. A list of fields to include or exclude may also be specified.
@@ -17689,8 +17679,8 @@ client.branding().phone().providers().delete("id");
-
-Update a phone provider.
-The
credentials object requires different properties depending on the phone provider (which is specified using the name property).
+Update a [phone provider](https://auth0.com/docs/customize/phone-messages/configure-phone-messaging-providers).
+The `credentials` object requires different properties depending on the phone provider (which is specified using the `name` property).
@@ -20379,7 +20369,7 @@ client.connections().scimConfiguration().tokens().delete("id", "tokenId");
-
-Retrieve details of the email provider configuration in your tenant. A list of fields to include or exclude may also be specified.
+Retrieve details of the [email provider configuration](https://auth0.com/docs/customize/email/smtp-email-providers) in your tenant. A list of fields to include or exclude may also be specified.
@@ -20451,48 +20441,31 @@ client.emails().provider().get(
-
-Create an email provider. The
credentials object
-requires different properties depending on the email provider (which is specified using the name property):
-
- mandrill requires api_key
- sendgrid requires api_key
- -
-
sparkpost requires api_key. Optionally, set region to eu to use
- the SparkPost service hosted in Western Europe; set to null to use the SparkPost service hosted in
- North America. eu or null are the only valid values for region.
-
- -
-
mailgun requires api_key and domain. Optionally, set region to
- eu to use the Mailgun service hosted in Europe; set to null otherwise. eu or
- null are the only valid values for region.
-
- ses requires accessKeyId, secretAccessKey, and region
- -
-
smtp requires smtp_host, smtp_port, smtp_user, and
- smtp_pass
-
-
-Depending on the type of provider it is possible to specify settings object with different configuration
+Create an [email provider](https://auth0.com/docs/email/providers). The `credentials` object
+requires different properties depending on the email provider (which is specified using the `name` property):
+
+- `mandrill` requires `api_key`
+- `sendgrid` requires `api_key`
+- `sparkpost` requires `api_key`. Optionally, set `region` to `eu` to use
+ the SparkPost service hosted in Western Europe; set to `null` to use the SparkPost service hosted in
+ North America. `eu` or `null` are the only valid values for `region`.
+- `mailgun` requires `api_key` and `domain`. Optionally, set `region` to
+ `eu` to use the Mailgun service hosted in Europe; set to `null` otherwise. `eu` or
+ `null` are the only valid values for `region`.
+- `ses` requires `accessKeyId`, `secretAccessKey`, and `region`
+- `smtp` requires `smtp_host`, `smtp_port`, `smtp_user`, and
+ `smtp_pass`
+
+Depending on the type of provider it is possible to specify `settings` object with different configuration
options, which will be used when sending an email:
-
- -
-
smtp provider, settings may contain headers object.
-
- -
- When using AWS SES SMTP host, you may provide a name of configuration set in
-
X-SES-Configuration-Set header. Value must be a string.
-
- -
- When using Sparkpost host, you may provide value for
-
X-MSYS_API header. Value must be an object.
-
-
-
- -
- for
ses provider, settings may contain message object, where you can provide
- a name of configuration set in configuration_set_name property. Value must be a string.
-
-
+
+- `smtp` provider, `settings` may contain `headers` object.
+ - When using AWS SES SMTP host, you may provide a name of configuration set in
+ `X-SES-Configuration-Set` header. Value must be a string.
+ - When using Sparkpost host, you may provide value for
+ `X-MSYS_API` header. Value must be an object.
+- For `ses` provider, `settings` may contain `message` object, where you can provide
+ a name of configuration set in `configuration_set_name` property. Value must be a string.
@@ -20630,46 +20603,32 @@ client.emails().provider().delete();
-
-Update an email provider. The
credentials object
-requires different properties depending on the email provider (which is specified using the name property):
-
- mandrill requires api_key
- sendgrid requires api_key
- -
-
sparkpost requires api_key. Optionally, set region to eu to use
- the SparkPost service hosted in Western Europe; set to null to use the SparkPost service hosted in
- North America. eu or null are the only valid values for region.
-
- -
-
mailgun requires api_key and domain. Optionally, set region to
- eu to use the Mailgun service hosted in Europe; set to null otherwise. eu or
- null are the only valid values for region.
-
- ses requires accessKeyId, secretAccessKey, and region
- -
-
smtp requires smtp_host, smtp_port, smtp_user, and
- smtp_pass
-
-
-Depending on the type of provider it is possible to specify settings object with different configuration
+Update an [email provider](https://auth0.com/docs/email/providers). The `credentials` object
+requires different properties depending on the email provider (which is specified using the `name` property):
+
+- `mandrill` requires `api_key`
+- `sendgrid` requires `api_key`
+- `sparkpost` requires `api_key`. Optionally, set `region` to `eu` to use
+ the SparkPost service hosted in Western Europe; set to `null` to use the SparkPost service hosted in
+ North America. `eu` or `null` are the only valid values for `region`.
+- `mailgun` requires `api_key` and `domain`. Optionally, set `region` to
+ `eu` to use the Mailgun service hosted in Europe; set to `null` otherwise. `eu` or
+ `null` are the only valid values for `region`.
+- `ses` requires `accessKeyId`, `secretAccessKey`, and `region`
+- `smtp` requires `smtp_host`, `smtp_port`, `smtp_user`, and
+ `smtp_pass`
+
+Depending on the type of provider it is possible to specify `settings` object with different configuration
options, which will be used when sending an email:
-
- -
-
smtp provider, settings may contain headers object.
-
- -
- When using AWS SES SMTP host, you may provide a name of configuration set in
-
X-SES-Configuration-Set header. Value must be a string.
-
- -
- When using Sparkpost host, you may provide value for
-
X-MSYS_API header. Value must be an object.
-
-
- for ses provider, settings may contain message object, where you can provide
- a name of configuration set in configuration_set_name property. Value must be a string.
-
-
+
+- `smtp` provider, `settings` may contain `headers` object.
+ - When using AWS SES SMTP host, you may provide a name of configuration set in
+ `X-SES-Configuration-Set` header. Value must be a string.
+ - When using Sparkpost host, you may provide value for
+ `X-MSYS_API` header. Value must be an object.
+
+ For `ses` provider, `settings` may contain `message` object, where you can provide
+ a name of configuration set in `configuration_set_name` property. Value must be a string.
@@ -21600,7 +21559,7 @@ client.groups().members().get(
-
-Lists the roles assigned to a group.
+Lists the [roles](https://auth0.com/docs/manage-users/access-control/rbac) assigned to a group.
@@ -21681,7 +21640,7 @@ client.groups().roles().list(
-
-Assign one or more roles to a specified group.
+Assign one or more [roles](https://auth0.com/docs/manage-users/access-control/rbac) to a specified group.
@@ -21751,7 +21710,7 @@ client.groups().roles().create(
-
-Unassign one or more roles from a specified group.
+Unassign one or more [roles](https://auth0.com/docs/manage-users/access-control/rbac) from a specified group.
@@ -30104,6 +30063,14 @@ client.tenants().settings().update(
-
+**sessionLifetimeInMinutes:** `Optional` — Number of minutes a session will stay valid. Cannot be specified together with `session_lifetime`.
+
+
+
+
+
+-
+
**idleSessionLifetime:** `Optional` — Number of hours for which a session can be inactive before the user must log in again.
@@ -30112,6 +30079,14 @@ client.tenants().settings().update(
-
+**idleSessionLifetimeInMinutes:** `Optional` — Number of minutes a session can be inactive before the user must log in again. Cannot be specified together with `idle_session_lifetime`.
+
+
+
+
+
+-
+
**ephemeralSessionLifetime:** `Optional` — Number of hours an ephemeral (non-persistent) session will stay valid.
@@ -30128,6 +30103,22 @@ client.tenants().settings().update(
-
+**ephemeralSessionLifetimeInMinutes:** `Optional` — Number of minutes an ephemeral (non-persistent) session will stay valid. Cannot be specified together with `ephemeral_session_lifetime`.
+
+
+
+
+
+-
+
+**idleEphemeralSessionLifetimeInMinutes:** `Optional` — Number of minutes an ephemeral (non-persistent) session can be inactive before the user must log in again. Cannot be specified together with `idle_ephemeral_session_lifetime`.
+
+
+
+
+
+-
+
**sandboxVersion:** `Optional` — Selected sandbox version for the extensibility environment
@@ -30160,6 +30151,14 @@ client.tenants().settings().update(
-
+**securityHeaders:** `Optional`
+
+
+
+
+
+-
+
**sessionCookie:** `Optional`
@@ -30276,6 +30275,14 @@ See https://auth0.com/docs/secure/security-guidance/measures-against-app-imperso
-
+**includeSessionMetadataInTenantLogs:** `Optional` — Whether session metadata is included in specific tenant logs (slo, oidc_backchannel_logout_failed, oidc_backchannel_logout_succeeded).
+
+
+
+
+
+-
+
**dynamicClientRegistrationSecurityMode:** `Optional`
diff --git a/src/main/java/com/auth0/client/mgmt/AsyncClientsClient.java b/src/main/java/com/auth0/client/mgmt/AsyncClientsClient.java
index b8c8ddae..2a927520 100644
--- a/src/main/java/com/auth0/client/mgmt/AsyncClientsClient.java
+++ b/src/main/java/com/auth0/client/mgmt/AsyncClientsClient.java
@@ -244,12 +244,12 @@ public CompletableFuture previewCimdMetadata
* Create: Returns 201 when a new client is created (requires create:clients scope).
* Update: Returns 200 when an existing client is updated (requires update:clients scope).
* This endpoint automatically:
- *
- * - Fetches and validates the metadata document
- * - Maps CIMD fields to Auth0 client configuration
- * - Creates/rotates credentials from the JWKS
- * - Enforces CIMD security policies (HTTPS-only, no shared secrets)
- *
+ *
+ * - Fetches and validates the metadata document
+ * - Maps CIMD fields to Auth0 client configuration
+ * - Creates/rotates credentials from the JWKS
+ * - Enforces CIMD security policies (HTTPS-only, no shared secrets)
+ *
*/
public CompletableFuture registerCimdClient(
RegisterCimdClientRequestContent request) {
@@ -262,12 +262,12 @@ public CompletableFuture registerCimdClient(
* Create: Returns 201 when a new client is created (requires create:clients scope).
* Update: Returns 200 when an existing client is updated (requires update:clients scope).
* This endpoint automatically:
- *
- * - Fetches and validates the metadata document
- * - Maps CIMD fields to Auth0 client configuration
- * - Creates/rotates credentials from the JWKS
- * - Enforces CIMD security policies (HTTPS-only, no shared secrets)
- *
+ *
+ * - Fetches and validates the metadata document
+ * - Maps CIMD fields to Auth0 client configuration
+ * - Creates/rotates credentials from the JWKS
+ * - Enforces CIMD security policies (HTTPS-only, no shared secrets)
+ *
*/
public CompletableFuture registerCimdClient(
RegisterCimdClientRequestContent request, RequestOptions requestOptions) {
diff --git a/src/main/java/com/auth0/client/mgmt/AsyncRawClientsClient.java b/src/main/java/com/auth0/client/mgmt/AsyncRawClientsClient.java
index 2fa9d889..9f004ef4 100644
--- a/src/main/java/com/auth0/client/mgmt/AsyncRawClientsClient.java
+++ b/src/main/java/com/auth0/client/mgmt/AsyncRawClientsClient.java
@@ -545,12 +545,12 @@ public void onFailure(@NotNull Call call, @NotNull IOException e) {
* Create: Returns 201 when a new client is created (requires create:clients scope).
* Update: Returns 200 when an existing client is updated (requires update:clients scope).
* This endpoint automatically:
- *
- * - Fetches and validates the metadata document
- * - Maps CIMD fields to Auth0 client configuration
- * - Creates/rotates credentials from the JWKS
- * - Enforces CIMD security policies (HTTPS-only, no shared secrets)
- *
+ *
+ * - Fetches and validates the metadata document
+ * - Maps CIMD fields to Auth0 client configuration
+ * - Creates/rotates credentials from the JWKS
+ * - Enforces CIMD security policies (HTTPS-only, no shared secrets)
+ *
*/
public CompletableFuture> registerCimdClient(
RegisterCimdClientRequestContent request) {
@@ -563,12 +563,12 @@ public CompletableFutureCreate: Returns 201 when a new client is created (requires create:clients scope).
* Update: Returns 200 when an existing client is updated (requires update:clients scope).
* This endpoint automatically:
- *
- * - Fetches and validates the metadata document
- * - Maps CIMD fields to Auth0 client configuration
- * - Creates/rotates credentials from the JWKS
- * - Enforces CIMD security policies (HTTPS-only, no shared secrets)
- *
+ *
+ * - Fetches and validates the metadata document
+ * - Maps CIMD fields to Auth0 client configuration
+ * - Creates/rotates credentials from the JWKS
+ * - Enforces CIMD security policies (HTTPS-only, no shared secrets)
+ *
*/
public CompletableFuture> registerCimdClient(
RegisterCimdClientRequestContent request, RequestOptions requestOptions) {
diff --git a/src/main/java/com/auth0/client/mgmt/AsyncRawConnectionProfilesClient.java b/src/main/java/com/auth0/client/mgmt/AsyncRawConnectionProfilesClient.java
index ffab1d5a..3d29af88 100644
--- a/src/main/java/com/auth0/client/mgmt/AsyncRawConnectionProfilesClient.java
+++ b/src/main/java/com/auth0/client/mgmt/AsyncRawConnectionProfilesClient.java
@@ -704,6 +704,11 @@ public void onResponse(@NotNull Call call, @NotNull Response response) throws IO
ObjectMappers.JSON_MAPPER.readValue(responseBodyString, Object.class),
response));
return;
+ case 404:
+ future.completeExceptionally(new NotFoundError(
+ ObjectMappers.JSON_MAPPER.readValue(responseBodyString, Object.class),
+ response));
+ return;
case 429:
future.completeExceptionally(new TooManyRequestsError(
ObjectMappers.JSON_MAPPER.readValue(responseBodyString, Object.class),
diff --git a/src/main/java/com/auth0/client/mgmt/AsyncRawCustomDomainsClient.java b/src/main/java/com/auth0/client/mgmt/AsyncRawCustomDomainsClient.java
index 640a4e39..66cbdf8f 100644
--- a/src/main/java/com/auth0/client/mgmt/AsyncRawCustomDomainsClient.java
+++ b/src/main/java/com/auth0/client/mgmt/AsyncRawCustomDomainsClient.java
@@ -603,6 +603,11 @@ public void onResponse(@NotNull Call call, @NotNull Response response) throws IO
ObjectMappers.JSON_MAPPER.readValue(responseBodyString, Object.class),
response));
return;
+ case 409:
+ future.completeExceptionally(new ConflictError(
+ ObjectMappers.JSON_MAPPER.readValue(responseBodyString, Object.class),
+ response));
+ return;
case 429:
future.completeExceptionally(new TooManyRequestsError(
ObjectMappers.JSON_MAPPER.readValue(responseBodyString, Object.class),
diff --git a/src/main/java/com/auth0/client/mgmt/AsyncRawRefreshTokensClient.java b/src/main/java/com/auth0/client/mgmt/AsyncRawRefreshTokensClient.java
index db491529..c2cef620 100644
--- a/src/main/java/com/auth0/client/mgmt/AsyncRawRefreshTokensClient.java
+++ b/src/main/java/com/auth0/client/mgmt/AsyncRawRefreshTokensClient.java
@@ -178,28 +178,28 @@ public void onFailure(@NotNull Call call, @NotNull IOException e) {
}
/**
- * Revoke refresh tokens in bulk by ID list, user, user+client, or client.
+ * Revoke refresh tokens in bulk by ID list, user, user+client, or user+client+audience.
*/
public CompletableFuture> revoke() {
return revoke(RevokeRefreshTokensRequestContent.builder().build());
}
/**
- * Revoke refresh tokens in bulk by ID list, user, user+client, or client.
+ * Revoke refresh tokens in bulk by ID list, user, user+client, or user+client+audience.
*/
public CompletableFuture> revoke(RequestOptions requestOptions) {
return revoke(RevokeRefreshTokensRequestContent.builder().build(), requestOptions);
}
/**
- * Revoke refresh tokens in bulk by ID list, user, user+client, or client.
+ * Revoke refresh tokens in bulk by ID list, user, user+client, or user+client+audience.
*/
public CompletableFuture> revoke(RevokeRefreshTokensRequestContent request) {
return revoke(request, null);
}
/**
- * Revoke refresh tokens in bulk by ID list, user, user+client, or client.
+ * Revoke refresh tokens in bulk by ID list, user, user+client, or user+client+audience.
*/
public CompletableFuture> revoke(
RevokeRefreshTokensRequestContent request, RequestOptions requestOptions) {
diff --git a/src/main/java/com/auth0/client/mgmt/AsyncRawTokenExchangeProfilesClient.java b/src/main/java/com/auth0/client/mgmt/AsyncRawTokenExchangeProfilesClient.java
index 93d2424d..dadc0c7d 100644
--- a/src/main/java/com/auth0/client/mgmt/AsyncRawTokenExchangeProfilesClient.java
+++ b/src/main/java/com/auth0/client/mgmt/AsyncRawTokenExchangeProfilesClient.java
@@ -572,6 +572,11 @@ public void onResponse(@NotNull Call call, @NotNull Response response) throws IO
ObjectMappers.JSON_MAPPER.readValue(responseBodyString, Object.class),
response));
return;
+ case 409:
+ future.completeExceptionally(new ConflictError(
+ ObjectMappers.JSON_MAPPER.readValue(responseBodyString, Object.class),
+ response));
+ return;
case 429:
future.completeExceptionally(new TooManyRequestsError(
ObjectMappers.JSON_MAPPER.readValue(responseBodyString, Object.class),
diff --git a/src/main/java/com/auth0/client/mgmt/AsyncRefreshTokensClient.java b/src/main/java/com/auth0/client/mgmt/AsyncRefreshTokensClient.java
index 85d9082d..df7d6daf 100644
--- a/src/main/java/com/auth0/client/mgmt/AsyncRefreshTokensClient.java
+++ b/src/main/java/com/auth0/client/mgmt/AsyncRefreshTokensClient.java
@@ -48,28 +48,28 @@ public CompletableFuture> list(
}
/**
- * Revoke refresh tokens in bulk by ID list, user, user+client, or client.
+ * Revoke refresh tokens in bulk by ID list, user, user+client, or user+client+audience.
*/
public CompletableFuture revoke() {
return this.rawClient.revoke().thenApply(response -> response.body());
}
/**
- * Revoke refresh tokens in bulk by ID list, user, user+client, or client.
+ * Revoke refresh tokens in bulk by ID list, user, user+client, or user+client+audience.
*/
public CompletableFuture revoke(RequestOptions requestOptions) {
return this.rawClient.revoke(requestOptions).thenApply(response -> response.body());
}
/**
- * Revoke refresh tokens in bulk by ID list, user, user+client, or client.
+ * Revoke refresh tokens in bulk by ID list, user, user+client, or user+client+audience.
*/
public CompletableFuture revoke(RevokeRefreshTokensRequestContent request) {
return this.rawClient.revoke(request).thenApply(response -> response.body());
}
/**
- * Revoke refresh tokens in bulk by ID list, user, user+client, or client.
+ * Revoke refresh tokens in bulk by ID list, user, user+client, or user+client+audience.
*/
public CompletableFuture revoke(RevokeRefreshTokensRequestContent request, RequestOptions requestOptions) {
return this.rawClient.revoke(request, requestOptions).thenApply(response -> response.body());
diff --git a/src/main/java/com/auth0/client/mgmt/ClientsClient.java b/src/main/java/com/auth0/client/mgmt/ClientsClient.java
index ece651a6..2e5dc681 100644
--- a/src/main/java/com/auth0/client/mgmt/ClientsClient.java
+++ b/src/main/java/com/auth0/client/mgmt/ClientsClient.java
@@ -240,12 +240,12 @@ public PreviewCimdMetadataResponseContent previewCimdMetadata(
* Create: Returns 201 when a new client is created (requires create:clients scope).
* Update: Returns 200 when an existing client is updated (requires update:clients scope).
* This endpoint automatically:
- *
- * - Fetches and validates the metadata document
- * - Maps CIMD fields to Auth0 client configuration
- * - Creates/rotates credentials from the JWKS
- * - Enforces CIMD security policies (HTTPS-only, no shared secrets)
- *
+ *
+ * - Fetches and validates the metadata document
+ * - Maps CIMD fields to Auth0 client configuration
+ * - Creates/rotates credentials from the JWKS
+ * - Enforces CIMD security policies (HTTPS-only, no shared secrets)
+ *
*/
public RegisterCimdClientResponseContent registerCimdClient(RegisterCimdClientRequestContent request) {
return this.rawClient.registerCimdClient(request).body();
@@ -257,12 +257,12 @@ public RegisterCimdClientResponseContent registerCimdClient(RegisterCimdClientRe
* Create: Returns 201 when a new client is created (requires create:clients scope).
* Update: Returns 200 when an existing client is updated (requires update:clients scope).
* This endpoint automatically:
- *
- * - Fetches and validates the metadata document
- * - Maps CIMD fields to Auth0 client configuration
- * - Creates/rotates credentials from the JWKS
- * - Enforces CIMD security policies (HTTPS-only, no shared secrets)
- *
+ *
+ * - Fetches and validates the metadata document
+ * - Maps CIMD fields to Auth0 client configuration
+ * - Creates/rotates credentials from the JWKS
+ * - Enforces CIMD security policies (HTTPS-only, no shared secrets)
+ *
*/
public RegisterCimdClientResponseContent registerCimdClient(
RegisterCimdClientRequestContent request, RequestOptions requestOptions) {
diff --git a/src/main/java/com/auth0/client/mgmt/RawClientsClient.java b/src/main/java/com/auth0/client/mgmt/RawClientsClient.java
index 4d765088..454a7ee6 100644
--- a/src/main/java/com/auth0/client/mgmt/RawClientsClient.java
+++ b/src/main/java/com/auth0/client/mgmt/RawClientsClient.java
@@ -461,12 +461,12 @@ public ManagementApiHttpResponse previewCimd
* Create: Returns 201 when a new client is created (requires create:clients scope).
* Update: Returns 200 when an existing client is updated (requires update:clients scope).
* This endpoint automatically:
- *
- * - Fetches and validates the metadata document
- * - Maps CIMD fields to Auth0 client configuration
- * - Creates/rotates credentials from the JWKS
- * - Enforces CIMD security policies (HTTPS-only, no shared secrets)
- *
+ *
+ * - Fetches and validates the metadata document
+ * - Maps CIMD fields to Auth0 client configuration
+ * - Creates/rotates credentials from the JWKS
+ * - Enforces CIMD security policies (HTTPS-only, no shared secrets)
+ *
*/
public ManagementApiHttpResponse registerCimdClient(
RegisterCimdClientRequestContent request) {
@@ -479,12 +479,12 @@ public ManagementApiHttpResponse registerCimd
* Create: Returns 201 when a new client is created (requires create:clients scope).
* Update: Returns 200 when an existing client is updated (requires update:clients scope).
* This endpoint automatically:
- *
- * - Fetches and validates the metadata document
- * - Maps CIMD fields to Auth0 client configuration
- * - Creates/rotates credentials from the JWKS
- * - Enforces CIMD security policies (HTTPS-only, no shared secrets)
- *
+ *
+ * - Fetches and validates the metadata document
+ * - Maps CIMD fields to Auth0 client configuration
+ * - Creates/rotates credentials from the JWKS
+ * - Enforces CIMD security policies (HTTPS-only, no shared secrets)
+ *
*/
public ManagementApiHttpResponse registerCimdClient(
RegisterCimdClientRequestContent request, RequestOptions requestOptions) {
diff --git a/src/main/java/com/auth0/client/mgmt/RawConnectionProfilesClient.java b/src/main/java/com/auth0/client/mgmt/RawConnectionProfilesClient.java
index 4f3b2e2e..ccc09694 100644
--- a/src/main/java/com/auth0/client/mgmt/RawConnectionProfilesClient.java
+++ b/src/main/java/com/auth0/client/mgmt/RawConnectionProfilesClient.java
@@ -549,6 +549,9 @@ public ManagementApiHttpResponse update(
case 403:
throw new ForbiddenError(
ObjectMappers.JSON_MAPPER.readValue(responseBodyString, Object.class), response);
+ case 404:
+ throw new NotFoundError(
+ ObjectMappers.JSON_MAPPER.readValue(responseBodyString, Object.class), response);
case 429:
throw new TooManyRequestsError(
ObjectMappers.JSON_MAPPER.readValue(responseBodyString, Object.class), response);
diff --git a/src/main/java/com/auth0/client/mgmt/RawCustomDomainsClient.java b/src/main/java/com/auth0/client/mgmt/RawCustomDomainsClient.java
index ba73c878..d2da627b 100644
--- a/src/main/java/com/auth0/client/mgmt/RawCustomDomainsClient.java
+++ b/src/main/java/com/auth0/client/mgmt/RawCustomDomainsClient.java
@@ -480,6 +480,9 @@ public ManagementApiHttpResponse delete(String id, RequestOptions requestO
case 403:
throw new ForbiddenError(
ObjectMappers.JSON_MAPPER.readValue(responseBodyString, Object.class), response);
+ case 409:
+ throw new ConflictError(
+ ObjectMappers.JSON_MAPPER.readValue(responseBodyString, Object.class), response);
case 429:
throw new TooManyRequestsError(
ObjectMappers.JSON_MAPPER.readValue(responseBodyString, Object.class), response);
diff --git a/src/main/java/com/auth0/client/mgmt/RawRefreshTokensClient.java b/src/main/java/com/auth0/client/mgmt/RawRefreshTokensClient.java
index 69028237..d0ce8164 100644
--- a/src/main/java/com/auth0/client/mgmt/RawRefreshTokensClient.java
+++ b/src/main/java/com/auth0/client/mgmt/RawRefreshTokensClient.java
@@ -143,28 +143,28 @@ public ManagementApiHttpResponse
}
/**
- * Revoke refresh tokens in bulk by ID list, user, user+client, or client.
+ * Revoke refresh tokens in bulk by ID list, user, user+client, or user+client+audience.
*/
public ManagementApiHttpResponse revoke() {
return revoke(RevokeRefreshTokensRequestContent.builder().build());
}
/**
- * Revoke refresh tokens in bulk by ID list, user, user+client, or client.
+ * Revoke refresh tokens in bulk by ID list, user, user+client, or user+client+audience.
*/
public ManagementApiHttpResponse revoke(RequestOptions requestOptions) {
return revoke(RevokeRefreshTokensRequestContent.builder().build(), requestOptions);
}
/**
- * Revoke refresh tokens in bulk by ID list, user, user+client, or client.
+ * Revoke refresh tokens in bulk by ID list, user, user+client, or user+client+audience.
*/
public ManagementApiHttpResponse revoke(RevokeRefreshTokensRequestContent request) {
return revoke(request, null);
}
/**
- * Revoke refresh tokens in bulk by ID list, user, user+client, or client.
+ * Revoke refresh tokens in bulk by ID list, user, user+client, or user+client+audience.
*/
public ManagementApiHttpResponse revoke(
RevokeRefreshTokensRequestContent request, RequestOptions requestOptions) {
diff --git a/src/main/java/com/auth0/client/mgmt/RawTokenExchangeProfilesClient.java b/src/main/java/com/auth0/client/mgmt/RawTokenExchangeProfilesClient.java
index cd19cde3..d3cbd646 100644
--- a/src/main/java/com/auth0/client/mgmt/RawTokenExchangeProfilesClient.java
+++ b/src/main/java/com/auth0/client/mgmt/RawTokenExchangeProfilesClient.java
@@ -458,6 +458,9 @@ public ManagementApiHttpResponse update(
case 404:
throw new NotFoundError(
ObjectMappers.JSON_MAPPER.readValue(responseBodyString, Object.class), response);
+ case 409:
+ throw new ConflictError(
+ ObjectMappers.JSON_MAPPER.readValue(responseBodyString, Object.class), response);
case 429:
throw new TooManyRequestsError(
ObjectMappers.JSON_MAPPER.readValue(responseBodyString, Object.class), response);
diff --git a/src/main/java/com/auth0/client/mgmt/RefreshTokensClient.java b/src/main/java/com/auth0/client/mgmt/RefreshTokensClient.java
index 933703f0..702dbd0f 100644
--- a/src/main/java/com/auth0/client/mgmt/RefreshTokensClient.java
+++ b/src/main/java/com/auth0/client/mgmt/RefreshTokensClient.java
@@ -46,28 +46,28 @@ public SyncPagingIterable list(
}
/**
- * Revoke refresh tokens in bulk by ID list, user, user+client, or client.
+ * Revoke refresh tokens in bulk by ID list, user, user+client, or user+client+audience.
*/
public void revoke() {
this.rawClient.revoke().body();
}
/**
- * Revoke refresh tokens in bulk by ID list, user, user+client, or client.
+ * Revoke refresh tokens in bulk by ID list, user, user+client, or user+client+audience.
*/
public void revoke(RequestOptions requestOptions) {
this.rawClient.revoke(requestOptions).body();
}
/**
- * Revoke refresh tokens in bulk by ID list, user, user+client, or client.
+ * Revoke refresh tokens in bulk by ID list, user, user+client, or user+client+audience.
*/
public void revoke(RevokeRefreshTokensRequestContent request) {
this.rawClient.revoke(request).body();
}
/**
- * Revoke refresh tokens in bulk by ID list, user, user+client, or client.
+ * Revoke refresh tokens in bulk by ID list, user, user+client, or user+client+audience.
*/
public void revoke(RevokeRefreshTokensRequestContent request, RequestOptions requestOptions) {
this.rawClient.revoke(request, requestOptions).body();
diff --git a/src/main/java/com/auth0/client/mgmt/clientgrants/AsyncRawOrganizationsClient.java b/src/main/java/com/auth0/client/mgmt/clientgrants/AsyncRawOrganizationsClient.java
index 2e1d44c6..7e3cc9b3 100644
--- a/src/main/java/com/auth0/client/mgmt/clientgrants/AsyncRawOrganizationsClient.java
+++ b/src/main/java/com/auth0/client/mgmt/clientgrants/AsyncRawOrganizationsClient.java
@@ -14,6 +14,7 @@
import com.auth0.client.mgmt.core.SyncPagingIterable;
import com.auth0.client.mgmt.errors.BadRequestError;
import com.auth0.client.mgmt.errors.ForbiddenError;
+import com.auth0.client.mgmt.errors.NotFoundError;
import com.auth0.client.mgmt.errors.TooManyRequestsError;
import com.auth0.client.mgmt.errors.UnauthorizedError;
import com.auth0.client.mgmt.types.ListClientGrantOrganizationsPaginatedResponseContent;
@@ -133,6 +134,11 @@ public void onResponse(@NotNull Call call, @NotNull Response response) throws IO
ObjectMappers.JSON_MAPPER.readValue(responseBodyString, Object.class),
response));
return;
+ case 404:
+ future.completeExceptionally(new NotFoundError(
+ ObjectMappers.JSON_MAPPER.readValue(responseBodyString, Object.class),
+ response));
+ return;
case 429:
future.completeExceptionally(new TooManyRequestsError(
ObjectMappers.JSON_MAPPER.readValue(responseBodyString, Object.class),
diff --git a/src/main/java/com/auth0/client/mgmt/clientgrants/RawOrganizationsClient.java b/src/main/java/com/auth0/client/mgmt/clientgrants/RawOrganizationsClient.java
index 1647c113..c7a26bd4 100644
--- a/src/main/java/com/auth0/client/mgmt/clientgrants/RawOrganizationsClient.java
+++ b/src/main/java/com/auth0/client/mgmt/clientgrants/RawOrganizationsClient.java
@@ -14,6 +14,7 @@
import com.auth0.client.mgmt.core.SyncPagingIterable;
import com.auth0.client.mgmt.errors.BadRequestError;
import com.auth0.client.mgmt.errors.ForbiddenError;
+import com.auth0.client.mgmt.errors.NotFoundError;
import com.auth0.client.mgmt.errors.TooManyRequestsError;
import com.auth0.client.mgmt.errors.UnauthorizedError;
import com.auth0.client.mgmt.types.ListClientGrantOrganizationsPaginatedResponseContent;
@@ -109,6 +110,9 @@ public ManagementApiHttpResponse> list(
case 403:
throw new ForbiddenError(
ObjectMappers.JSON_MAPPER.readValue(responseBodyString, Object.class), response);
+ case 404:
+ throw new NotFoundError(
+ ObjectMappers.JSON_MAPPER.readValue(responseBodyString, Object.class), response);
case 429:
throw new TooManyRequestsError(
ObjectMappers.JSON_MAPPER.readValue(responseBodyString, Object.class), response);
diff --git a/src/main/java/com/auth0/client/mgmt/connections/AsyncRawUsersClient.java b/src/main/java/com/auth0/client/mgmt/connections/AsyncRawUsersClient.java
index df5b672a..3e6a44b9 100644
--- a/src/main/java/com/auth0/client/mgmt/connections/AsyncRawUsersClient.java
+++ b/src/main/java/com/auth0/client/mgmt/connections/AsyncRawUsersClient.java
@@ -13,6 +13,7 @@
import com.auth0.client.mgmt.core.RequestOptions;
import com.auth0.client.mgmt.errors.BadRequestError;
import com.auth0.client.mgmt.errors.ForbiddenError;
+import com.auth0.client.mgmt.errors.NotFoundError;
import com.auth0.client.mgmt.errors.TooManyRequestsError;
import com.auth0.client.mgmt.errors.UnauthorizedError;
import com.fasterxml.jackson.core.JsonProcessingException;
@@ -96,6 +97,11 @@ public void onResponse(@NotNull Call call, @NotNull Response response) throws IO
ObjectMappers.JSON_MAPPER.readValue(responseBodyString, Object.class),
response));
return;
+ case 404:
+ future.completeExceptionally(new NotFoundError(
+ ObjectMappers.JSON_MAPPER.readValue(responseBodyString, Object.class),
+ response));
+ return;
case 429:
future.completeExceptionally(new TooManyRequestsError(
ObjectMappers.JSON_MAPPER.readValue(responseBodyString, Object.class),
diff --git a/src/main/java/com/auth0/client/mgmt/connections/RawUsersClient.java b/src/main/java/com/auth0/client/mgmt/connections/RawUsersClient.java
index 18419dfb..6fb20a74 100644
--- a/src/main/java/com/auth0/client/mgmt/connections/RawUsersClient.java
+++ b/src/main/java/com/auth0/client/mgmt/connections/RawUsersClient.java
@@ -13,6 +13,7 @@
import com.auth0.client.mgmt.core.RequestOptions;
import com.auth0.client.mgmt.errors.BadRequestError;
import com.auth0.client.mgmt.errors.ForbiddenError;
+import com.auth0.client.mgmt.errors.NotFoundError;
import com.auth0.client.mgmt.errors.TooManyRequestsError;
import com.auth0.client.mgmt.errors.UnauthorizedError;
import com.fasterxml.jackson.core.JsonProcessingException;
@@ -82,6 +83,9 @@ public ManagementApiHttpResponse deleteByEmail(
case 403:
throw new ForbiddenError(
ObjectMappers.JSON_MAPPER.readValue(responseBodyString, Object.class), response);
+ case 404:
+ throw new NotFoundError(
+ ObjectMappers.JSON_MAPPER.readValue(responseBodyString, Object.class), response);
case 429:
throw new TooManyRequestsError(
ObjectMappers.JSON_MAPPER.readValue(responseBodyString, Object.class), response);
diff --git a/src/main/java/com/auth0/client/mgmt/emails/AsyncProviderClient.java b/src/main/java/com/auth0/client/mgmt/emails/AsyncProviderClient.java
index e4efcf3d..495bccf8 100644
--- a/src/main/java/com/auth0/client/mgmt/emails/AsyncProviderClient.java
+++ b/src/main/java/com/auth0/client/mgmt/emails/AsyncProviderClient.java
@@ -62,46 +62,33 @@ public CompletableFuture get(
/**
* Create an email provider. The credentials object
* requires different properties depending on the email provider (which is specified using the name property):
- *
- * mandrill requires api_key
- * sendgrid requires api_key
- * -
- *
sparkpost requires api_key. Optionally, set region to eu to use
- * the SparkPost service hosted in Western Europe; set to null to use the SparkPost service hosted in
- * North America. eu or null are the only valid values for region.
- *
- * -
- *
mailgun requires api_key and domain. Optionally, set region to
- * eu to use the Mailgun service hosted in Europe; set to null otherwise. eu or
- * null are the only valid values for region.
- *
- * ses requires accessKeyId, secretAccessKey, and region
- * -
- *
smtp requires smtp_host, smtp_port, smtp_user, and
- * smtp_pass
- *
+ *
+ * mandrill requires api_key
+ * sendgrid requires api_key
+ * sparkpost requires api_key. Optionally, set region to eu to use
+ * the SparkPost service hosted in Western Europe; set to null to use the SparkPost service hosted in
+ * North America. eu or null are the only valid values for region.
+ * mailgun requires api_key and domain. Optionally, set region to
+ * eu to use the Mailgun service hosted in Europe; set to null otherwise. eu or
+ * null are the only valid values for region.
+ * ses requires accessKeyId, secretAccessKey, and region
+ * smtp requires smtp_host, smtp_port, smtp_user, and
+ * smtp_pass
*
- * Depending on the type of provider it is possible to specify settings object with different configuration
- * options, which will be used when sending an email:
+ * Depending on the type of provider it is possible to specify settings object with different configuration
+ * options, which will be used when sending an email:
+ *
+ * smtp provider, settings may contain headers object.
*
- * -
- *
smtp provider, settings may contain headers object.
- *
- * -
- * When using AWS SES SMTP host, you may provide a name of configuration set in
- *
X-SES-Configuration-Set header. Value must be a string.
- *
- * -
- * When using Sparkpost host, you may provide value for
- *
X-MSYS_API header. Value must be an object.
- *
- *
- *
- * -
- * for
ses provider, settings may contain message object, where you can provide
- * a name of configuration set in configuration_set_name property. Value must be a string.
- *
- *
+ * - When using AWS SES SMTP host, you may provide a name of configuration set in
+ *
X-SES-Configuration-Set header. Value must be a string.
+ * - When using Sparkpost host, you may provide value for
+ *
X-MSYS_API header. Value must be an object.
+ *
+ *
+ * - For
ses provider, settings may contain message object, where you can provide
+ * a name of configuration set in configuration_set_name property. Value must be a string.
+ *
*/
public CompletableFuture create(CreateEmailProviderRequestContent request) {
return this.rawClient.create(request).thenApply(response -> response.body());
@@ -110,46 +97,33 @@ public CompletableFuture create(CreateEmailP
/**
* Create an email provider. The credentials object
* requires different properties depending on the email provider (which is specified using the name property):
- *
- * mandrill requires api_key
- * sendgrid requires api_key
- * -
- *
sparkpost requires api_key. Optionally, set region to eu to use
- * the SparkPost service hosted in Western Europe; set to null to use the SparkPost service hosted in
- * North America. eu or null are the only valid values for region.
- *
- * -
- *
mailgun requires api_key and domain. Optionally, set region to
- * eu to use the Mailgun service hosted in Europe; set to null otherwise. eu or
- * null are the only valid values for region.
- *
- * ses requires accessKeyId, secretAccessKey, and region
- * -
- *
smtp requires smtp_host, smtp_port, smtp_user, and
- * smtp_pass
- *
+ *
+ * mandrill requires api_key
+ * sendgrid requires api_key
+ * sparkpost requires api_key. Optionally, set region to eu to use
+ * the SparkPost service hosted in Western Europe; set to null to use the SparkPost service hosted in
+ * North America. eu or null are the only valid values for region.
+ * mailgun requires api_key and domain. Optionally, set region to
+ * eu to use the Mailgun service hosted in Europe; set to null otherwise. eu or
+ * null are the only valid values for region.
+ * ses requires accessKeyId, secretAccessKey, and region
+ * smtp requires smtp_host, smtp_port, smtp_user, and
+ * smtp_pass
*
- * Depending on the type of provider it is possible to specify settings object with different configuration
- * options, which will be used when sending an email:
+ * Depending on the type of provider it is possible to specify settings object with different configuration
+ * options, which will be used when sending an email:
+ *
+ * smtp provider, settings may contain headers object.
*
- * -
- *
smtp provider, settings may contain headers object.
- *
- * -
- * When using AWS SES SMTP host, you may provide a name of configuration set in
- *
X-SES-Configuration-Set header. Value must be a string.
- *
- * -
- * When using Sparkpost host, you may provide value for
- *
X-MSYS_API header. Value must be an object.
- *
- *
- *
- * -
- * for
ses provider, settings may contain message object, where you can provide
- * a name of configuration set in configuration_set_name property. Value must be a string.
- *
- *
+ * - When using AWS SES SMTP host, you may provide a name of configuration set in
+ *
X-SES-Configuration-Set header. Value must be a string.
+ * - When using Sparkpost host, you may provide value for
+ *
X-MSYS_API header. Value must be an object.
+ *
+ *
+ * - For
ses provider, settings may contain message object, where you can provide
+ * a name of configuration set in configuration_set_name property. Value must be a string.
+ *
*/
public CompletableFuture create(
CreateEmailProviderRequestContent request, RequestOptions requestOptions) {
@@ -173,44 +147,34 @@ public CompletableFuture delete(RequestOptions requestOptions) {
/**
* Update an email provider. The credentials object
* requires different properties depending on the email provider (which is specified using the name property):
- *
- * mandrill requires api_key
- * sendgrid requires api_key
- * -
- *
sparkpost requires api_key. Optionally, set region to eu to use
- * the SparkPost service hosted in Western Europe; set to null to use the SparkPost service hosted in
- * North America. eu or null are the only valid values for region.
- *
- * -
- *
mailgun requires api_key and domain. Optionally, set region to
- * eu to use the Mailgun service hosted in Europe; set to null otherwise. eu or
- * null are the only valid values for region.
- *
- * ses requires accessKeyId, secretAccessKey, and region
- * -
- *
smtp requires smtp_host, smtp_port, smtp_user, and
- * smtp_pass
- *
+ *
+ * mandrill requires api_key
+ * sendgrid requires api_key
+ * sparkpost requires api_key. Optionally, set region to eu to use
+ * the SparkPost service hosted in Western Europe; set to null to use the SparkPost service hosted in
+ * North America. eu or null are the only valid values for region.
+ * mailgun requires api_key and domain. Optionally, set region to
+ * eu to use the Mailgun service hosted in Europe; set to null otherwise. eu or
+ * null are the only valid values for region.
+ * ses requires accessKeyId, secretAccessKey, and region
+ * smtp requires smtp_host, smtp_port, smtp_user, and
+ * smtp_pass
*
- * Depending on the type of provider it is possible to specify settings object with different configuration
- * options, which will be used when sending an email:
+ * Depending on the type of provider it is possible to specify settings object with different configuration
+ * options, which will be used when sending an email:
*
- * -
- *
smtp provider, settings may contain headers object.
- *
- * -
- * When using AWS SES SMTP host, you may provide a name of configuration set in
- *
X-SES-Configuration-Set header. Value must be a string.
- *
- * -
- * When using Sparkpost host, you may provide value for
- *
X-MSYS_API header. Value must be an object.
- *
- *
- * for ses provider, settings may contain message object, where you can provide
- * a name of configuration set in configuration_set_name property. Value must be a string.
- *
- *
+ * -
+ *
smtp provider, settings may contain headers object.
+ *
+ * - When using AWS SES SMTP host, you may provide a name of configuration set in
+ *
X-SES-Configuration-Set header. Value must be a string.
+ * - When using Sparkpost host, you may provide value for
+ *
X-MSYS_API header. Value must be an object.
+ *
+ * For ses provider, settings may contain message object, where you can provide
+ * a name of configuration set in configuration_set_name property. Value must be a string.
+ *
+ *
*/
public CompletableFuture update() {
return this.rawClient.update().thenApply(response -> response.body());
@@ -219,44 +183,34 @@ public CompletableFuture update() {
/**
* Update an email provider. The credentials object
* requires different properties depending on the email provider (which is specified using the name property):
- *
- * mandrill requires api_key
- * sendgrid requires api_key
- * -
- *
sparkpost requires api_key. Optionally, set region to eu to use
- * the SparkPost service hosted in Western Europe; set to null to use the SparkPost service hosted in
- * North America. eu or null are the only valid values for region.
- *
- * -
- *
mailgun requires api_key and domain. Optionally, set region to
- * eu to use the Mailgun service hosted in Europe; set to null otherwise. eu or
- * null are the only valid values for region.
- *
- * ses requires accessKeyId, secretAccessKey, and region
- * -
- *
smtp requires smtp_host, smtp_port, smtp_user, and
- * smtp_pass
- *
+ *
+ * mandrill requires api_key
+ * sendgrid requires api_key
+ * sparkpost requires api_key. Optionally, set region to eu to use
+ * the SparkPost service hosted in Western Europe; set to null to use the SparkPost service hosted in
+ * North America. eu or null are the only valid values for region.
+ * mailgun requires api_key and domain. Optionally, set region to
+ * eu to use the Mailgun service hosted in Europe; set to null otherwise. eu or
+ * null are the only valid values for region.
+ * ses requires accessKeyId, secretAccessKey, and region
+ * smtp requires smtp_host, smtp_port, smtp_user, and
+ * smtp_pass
*
- * Depending on the type of provider it is possible to specify settings object with different configuration
- * options, which will be used when sending an email:
+ * Depending on the type of provider it is possible to specify settings object with different configuration
+ * options, which will be used when sending an email:
+ *
+ * For ses provider, settings may contain message object, where you can provide
+ * a name of configuration set in configuration_set_name property. Value must be a string.
+ *
+ *
*/
public CompletableFuture update(RequestOptions requestOptions) {
return this.rawClient.update(requestOptions).thenApply(response -> response.body());
@@ -265,44 +219,34 @@ public CompletableFuture update(RequestOptio
/**
* Update an email provider. The credentials object
* requires different properties depending on the email provider (which is specified using the name property):
- *
- * mandrill requires api_key
- * sendgrid requires api_key
- * -
- *
sparkpost requires api_key. Optionally, set region to eu to use
- * the SparkPost service hosted in Western Europe; set to null to use the SparkPost service hosted in
- * North America. eu or null are the only valid values for region.
- *
- * -
- *
mailgun requires api_key and domain. Optionally, set region to
- * eu to use the Mailgun service hosted in Europe; set to null otherwise. eu or
- * null are the only valid values for region.
- *
- * ses requires accessKeyId, secretAccessKey, and region
- * -
- *
smtp requires smtp_host, smtp_port, smtp_user, and
- * smtp_pass
- *
+ *
+ * mandrill requires api_key
+ * sendgrid requires api_key
+ * sparkpost requires api_key. Optionally, set region to eu to use
+ * the SparkPost service hosted in Western Europe; set to null to use the SparkPost service hosted in
+ * North America. eu or null are the only valid values for region.
+ * mailgun requires api_key and domain. Optionally, set region to
+ * eu to use the Mailgun service hosted in Europe; set to null otherwise. eu or
+ * null are the only valid values for region.
+ * ses requires accessKeyId, secretAccessKey, and region
+ * smtp requires smtp_host, smtp_port, smtp_user, and
+ * smtp_pass
*
- * Depending on the type of provider it is possible to specify settings object with different configuration
- * options, which will be used when sending an email:
+ * Depending on the type of provider it is possible to specify settings object with different configuration
+ * options, which will be used when sending an email:
+ *
+ * For ses provider, settings may contain message object, where you can provide
+ * a name of configuration set in configuration_set_name property. Value must be a string.
+ *
+ *
*/
public CompletableFuture update(UpdateEmailProviderRequestContent request) {
return this.rawClient.update(request).thenApply(response -> response.body());
@@ -311,44 +255,34 @@ public CompletableFuture update(UpdateEmailP
/**
* Update an email provider. The credentials object
* requires different properties depending on the email provider (which is specified using the name property):
- *
- * mandrill requires api_key
- * sendgrid requires api_key
- * -
- *
sparkpost requires api_key. Optionally, set region to eu to use
- * the SparkPost service hosted in Western Europe; set to null to use the SparkPost service hosted in
- * North America. eu or null are the only valid values for region.
- *
- * -
- *
mailgun requires api_key and domain. Optionally, set region to
- * eu to use the Mailgun service hosted in Europe; set to null otherwise. eu or
- * null are the only valid values for region.
- *
- * ses requires accessKeyId, secretAccessKey, and region
- * -
- *
smtp requires smtp_host, smtp_port, smtp_user, and
- * smtp_pass
- *
+ *
+ * mandrill requires api_key
+ * sendgrid requires api_key
+ * sparkpost requires api_key. Optionally, set region to eu to use
+ * the SparkPost service hosted in Western Europe; set to null to use the SparkPost service hosted in
+ * North America. eu or null are the only valid values for region.
+ * mailgun requires api_key and domain. Optionally, set region to
+ * eu to use the Mailgun service hosted in Europe; set to null otherwise. eu or
+ * null are the only valid values for region.
+ * ses requires accessKeyId, secretAccessKey, and region
+ * smtp requires smtp_host, smtp_port, smtp_user, and
+ * smtp_pass
*
- * Depending on the type of provider it is possible to specify settings object with different configuration
- * options, which will be used when sending an email:
+ * Depending on the type of provider it is possible to specify settings object with different configuration
+ * options, which will be used when sending an email:
*
- * -
- *
smtp provider, settings may contain headers object.
- *
- * -
- * When using AWS SES SMTP host, you may provide a name of configuration set in
- *
X-SES-Configuration-Set header. Value must be a string.
- *
- * -
- * When using Sparkpost host, you may provide value for
- *
X-MSYS_API header. Value must be an object.
- *
- *
- * for ses provider, settings may contain message object, where you can provide
- * a name of configuration set in configuration_set_name property. Value must be a string.
- *
- *
+ * -
+ *
smtp provider, settings may contain headers object.
+ *
+ * - When using AWS SES SMTP host, you may provide a name of configuration set in
+ *
X-SES-Configuration-Set header. Value must be a string.
+ * - When using Sparkpost host, you may provide value for
+ *
X-MSYS_API header. Value must be an object.
+ *
+ * For ses provider, settings may contain message object, where you can provide
+ * a name of configuration set in configuration_set_name property. Value must be a string.
+ *
+ *
*/
public CompletableFuture update(
UpdateEmailProviderRequestContent request, RequestOptions requestOptions) {
diff --git a/src/main/java/com/auth0/client/mgmt/emails/AsyncRawProviderClient.java b/src/main/java/com/auth0/client/mgmt/emails/AsyncRawProviderClient.java
index b75b2cea..88c650c8 100644
--- a/src/main/java/com/auth0/client/mgmt/emails/AsyncRawProviderClient.java
+++ b/src/main/java/com/auth0/client/mgmt/emails/AsyncRawProviderClient.java
@@ -163,46 +163,33 @@ public void onFailure(@NotNull Call call, @NotNull IOException e) {
/**
* Create an email provider. The credentials object
* requires different properties depending on the email provider (which is specified using the name property):
- *
- * mandrill requires api_key
- * sendgrid requires api_key
- * -
- *
sparkpost requires api_key. Optionally, set region to eu to use
- * the SparkPost service hosted in Western Europe; set to null to use the SparkPost service hosted in
- * North America. eu or null are the only valid values for region.
- *
- * -
- *
mailgun requires api_key and domain. Optionally, set region to
- * eu to use the Mailgun service hosted in Europe; set to null otherwise. eu or
- * null are the only valid values for region.
- *
- * ses requires accessKeyId, secretAccessKey, and region
- * -
- *
smtp requires smtp_host, smtp_port, smtp_user, and
- * smtp_pass
- *
+ *
+ * mandrill requires api_key
+ * sendgrid requires api_key
+ * sparkpost requires api_key. Optionally, set region to eu to use
+ * the SparkPost service hosted in Western Europe; set to null to use the SparkPost service hosted in
+ * North America. eu or null are the only valid values for region.
+ * mailgun requires api_key and domain. Optionally, set region to
+ * eu to use the Mailgun service hosted in Europe; set to null otherwise. eu or
+ * null are the only valid values for region.
+ * ses requires accessKeyId, secretAccessKey, and region
+ * smtp requires smtp_host, smtp_port, smtp_user, and
+ * smtp_pass
*
- * Depending on the type of provider it is possible to specify settings object with different configuration
- * options, which will be used when sending an email:
+ * Depending on the type of provider it is possible to specify settings object with different configuration
+ * options, which will be used when sending an email:
+ *
+ * smtp provider, settings may contain headers object.
*
- * -
- *
smtp provider, settings may contain headers object.
- *
- * -
- * When using AWS SES SMTP host, you may provide a name of configuration set in
- *
X-SES-Configuration-Set header. Value must be a string.
- *
- * -
- * When using Sparkpost host, you may provide value for
- *
X-MSYS_API header. Value must be an object.
- *
- *
- *
- * -
- * for
ses provider, settings may contain message object, where you can provide
- * a name of configuration set in configuration_set_name property. Value must be a string.
- *
- *
+ * - When using AWS SES SMTP host, you may provide a name of configuration set in
+ *
X-SES-Configuration-Set header. Value must be a string.
+ * - When using Sparkpost host, you may provide value for
+ *
X-MSYS_API header. Value must be an object.
+ *
+ *
+ * - For
ses provider, settings may contain message object, where you can provide
+ * a name of configuration set in configuration_set_name property. Value must be a string.
+ *
*/
public CompletableFuture> create(
CreateEmailProviderRequestContent request) {
@@ -212,46 +199,33 @@ public CompletableFutureemail provider. The credentials object
* requires different properties depending on the email provider (which is specified using the name property):
- *
- * mandrill requires api_key
- * sendgrid requires api_key
- * -
- *
sparkpost requires api_key. Optionally, set region to eu to use
- * the SparkPost service hosted in Western Europe; set to null to use the SparkPost service hosted in
- * North America. eu or null are the only valid values for region.
- *
- * -
- *
mailgun requires api_key and domain. Optionally, set region to
- * eu to use the Mailgun service hosted in Europe; set to null otherwise. eu or
- * null are the only valid values for region.
- *
- * ses requires accessKeyId, secretAccessKey, and region
- * -
- *
smtp requires smtp_host, smtp_port, smtp_user, and
- * smtp_pass
- *
+ *
+ * mandrill requires api_key
+ * sendgrid requires api_key
+ * sparkpost requires api_key. Optionally, set region to eu to use
+ * the SparkPost service hosted in Western Europe; set to null to use the SparkPost service hosted in
+ * North America. eu or null are the only valid values for region.
+ * mailgun requires api_key and domain. Optionally, set region to
+ * eu to use the Mailgun service hosted in Europe; set to null otherwise. eu or
+ * null are the only valid values for region.
+ * ses requires accessKeyId, secretAccessKey, and region
+ * smtp requires smtp_host, smtp_port, smtp_user, and
+ * smtp_pass
*
- * Depending on the type of provider it is possible to specify settings object with different configuration
- * options, which will be used when sending an email:
+ * Depending on the type of provider it is possible to specify settings object with different configuration
+ * options, which will be used when sending an email:
+ *
+ * smtp provider, settings may contain headers object.
*
- * -
- *
smtp provider, settings may contain headers object.
- *
- * -
- * When using AWS SES SMTP host, you may provide a name of configuration set in
- *
X-SES-Configuration-Set header. Value must be a string.
- *
- * -
- * When using Sparkpost host, you may provide value for
- *
X-MSYS_API header. Value must be an object.
- *
- *
- *
- * -
- * for
ses provider, settings may contain message object, where you can provide
- * a name of configuration set in configuration_set_name property. Value must be a string.
- *
- *
+ * - When using AWS SES SMTP host, you may provide a name of configuration set in
+ *
X-SES-Configuration-Set header. Value must be a string.
+ * - When using Sparkpost host, you may provide value for
+ *
X-MSYS_API header. Value must be an object.
+ *
+ *
+ * - For
ses provider, settings may contain message object, where you can provide
+ * a name of configuration set in configuration_set_name property. Value must be a string.
+ *
*/
public CompletableFuture> create(
CreateEmailProviderRequestContent request, RequestOptions requestOptions) {
@@ -433,44 +407,34 @@ public void onFailure(@NotNull Call call, @NotNull IOException e) {
/**
* Update an email provider. The credentials object
* requires different properties depending on the email provider (which is specified using the name property):
- *
- * mandrill requires api_key
- * sendgrid requires api_key
- * -
- *
sparkpost requires api_key. Optionally, set region to eu to use
- * the SparkPost service hosted in Western Europe; set to null to use the SparkPost service hosted in
- * North America. eu or null are the only valid values for region.
- *
- * -
- *
mailgun requires api_key and domain. Optionally, set region to
- * eu to use the Mailgun service hosted in Europe; set to null otherwise. eu or
- * null are the only valid values for region.
- *
- * ses requires accessKeyId, secretAccessKey, and region
- * -
- *
smtp requires smtp_host, smtp_port, smtp_user, and
- * smtp_pass
- *
+ *
+ * mandrill requires api_key
+ * sendgrid requires api_key
+ * sparkpost requires api_key. Optionally, set region to eu to use
+ * the SparkPost service hosted in Western Europe; set to null to use the SparkPost service hosted in
+ * North America. eu or null are the only valid values for region.
+ * mailgun requires api_key and domain. Optionally, set region to
+ * eu to use the Mailgun service hosted in Europe; set to null otherwise. eu or
+ * null are the only valid values for region.
+ * ses requires accessKeyId, secretAccessKey, and region
+ * smtp requires smtp_host, smtp_port, smtp_user, and
+ * smtp_pass
*
- * Depending on the type of provider it is possible to specify settings object with different configuration
- * options, which will be used when sending an email:
+ * Depending on the type of provider it is possible to specify settings object with different configuration
+ * options, which will be used when sending an email:
*
- * -
- *
smtp provider, settings may contain headers object.
- *
- * -
- * When using AWS SES SMTP host, you may provide a name of configuration set in
- *
X-SES-Configuration-Set header. Value must be a string.
- *
- * -
- * When using Sparkpost host, you may provide value for
- *
X-MSYS_API header. Value must be an object.
- *
- *
- * for ses provider, settings may contain message object, where you can provide
- * a name of configuration set in configuration_set_name property. Value must be a string.
- *
- *
+ * -
+ *
smtp provider, settings may contain headers object.
+ *
+ * - When using AWS SES SMTP host, you may provide a name of configuration set in
+ *
X-SES-Configuration-Set header. Value must be a string.
+ * - When using Sparkpost host, you may provide value for
+ *
X-MSYS_API header. Value must be an object.
+ *
+ * For ses provider, settings may contain message object, where you can provide
+ * a name of configuration set in configuration_set_name property. Value must be a string.
+ *
+ *
*/
public CompletableFuture> update() {
return update(UpdateEmailProviderRequestContent.builder().build());
@@ -479,44 +443,34 @@ public CompletableFutureemail provider. The credentials object
* requires different properties depending on the email provider (which is specified using the name property):
- *
- * mandrill requires api_key
- * sendgrid requires api_key
- * -
- *
sparkpost requires api_key. Optionally, set region to eu to use
- * the SparkPost service hosted in Western Europe; set to null to use the SparkPost service hosted in
- * North America. eu or null are the only valid values for region.
- *
- * -
- *
mailgun requires api_key and domain. Optionally, set region to
- * eu to use the Mailgun service hosted in Europe; set to null otherwise. eu or
- * null are the only valid values for region.
- *
- * ses requires accessKeyId, secretAccessKey, and region
- * -
- *
smtp requires smtp_host, smtp_port, smtp_user, and
- * smtp_pass
- *
+ *
+ * mandrill requires api_key
+ * sendgrid requires api_key
+ * sparkpost requires api_key. Optionally, set region to eu to use
+ * the SparkPost service hosted in Western Europe; set to null to use the SparkPost service hosted in
+ * North America. eu or null are the only valid values for region.
+ * mailgun requires api_key and domain. Optionally, set region to
+ * eu to use the Mailgun service hosted in Europe; set to null otherwise. eu or
+ * null are the only valid values for region.
+ * ses requires accessKeyId, secretAccessKey, and region
+ * smtp requires smtp_host, smtp_port, smtp_user, and
+ * smtp_pass
*
- * Depending on the type of provider it is possible to specify settings object with different configuration
- * options, which will be used when sending an email:
+ * Depending on the type of provider it is possible to specify settings object with different configuration
+ * options, which will be used when sending an email:
+ *
+ * For ses provider, settings may contain message object, where you can provide
+ * a name of configuration set in configuration_set_name property. Value must be a string.
+ *
+ *
*/
public CompletableFuture> update(
RequestOptions requestOptions) {
@@ -526,44 +480,34 @@ public CompletableFutureemail provider. The credentials object
* requires different properties depending on the email provider (which is specified using the name property):
- *
- * mandrill requires api_key
- * sendgrid requires api_key
- * -
- *
sparkpost requires api_key. Optionally, set region to eu to use
- * the SparkPost service hosted in Western Europe; set to null to use the SparkPost service hosted in
- * North America. eu or null are the only valid values for region.
- *
- * -
- *
mailgun requires api_key and domain. Optionally, set region to
- * eu to use the Mailgun service hosted in Europe; set to null otherwise. eu or
- * null are the only valid values for region.
- *
- * ses requires accessKeyId, secretAccessKey, and region
- * -
- *
smtp requires smtp_host, smtp_port, smtp_user, and
- * smtp_pass
- *
+ *
+ * mandrill requires api_key
+ * sendgrid requires api_key
+ * sparkpost requires api_key. Optionally, set region to eu to use
+ * the SparkPost service hosted in Western Europe; set to null to use the SparkPost service hosted in
+ * North America. eu or null are the only valid values for region.
+ * mailgun requires api_key and domain. Optionally, set region to
+ * eu to use the Mailgun service hosted in Europe; set to null otherwise. eu or
+ * null are the only valid values for region.
+ * ses requires accessKeyId, secretAccessKey, and region
+ * smtp requires smtp_host, smtp_port, smtp_user, and
+ * smtp_pass
*
- * Depending on the type of provider it is possible to specify settings object with different configuration
- * options, which will be used when sending an email:
+ * Depending on the type of provider it is possible to specify settings object with different configuration
+ * options, which will be used when sending an email:
+ *
+ * For ses provider, settings may contain message object, where you can provide
+ * a name of configuration set in configuration_set_name property. Value must be a string.
+ *
+ *
*/
public CompletableFuture> update(
UpdateEmailProviderRequestContent request) {
@@ -573,44 +517,34 @@ public CompletableFutureemail provider. The credentials object
* requires different properties depending on the email provider (which is specified using the name property):
- *
- * mandrill requires api_key
- * sendgrid requires api_key
- * -
- *
sparkpost requires api_key. Optionally, set region to eu to use
- * the SparkPost service hosted in Western Europe; set to null to use the SparkPost service hosted in
- * North America. eu or null are the only valid values for region.
- *
- * -
- *
mailgun requires api_key and domain. Optionally, set region to
- * eu to use the Mailgun service hosted in Europe; set to null otherwise. eu or
- * null are the only valid values for region.
- *
- * ses requires accessKeyId, secretAccessKey, and region
- * -
- *
smtp requires smtp_host, smtp_port, smtp_user, and
- * smtp_pass
- *
+ *
+ * mandrill requires api_key
+ * sendgrid requires api_key
+ * sparkpost requires api_key. Optionally, set region to eu to use
+ * the SparkPost service hosted in Western Europe; set to null to use the SparkPost service hosted in
+ * North America. eu or null are the only valid values for region.
+ * mailgun requires api_key and domain. Optionally, set region to
+ * eu to use the Mailgun service hosted in Europe; set to null otherwise. eu or
+ * null are the only valid values for region.
+ * ses requires accessKeyId, secretAccessKey, and region
+ * smtp requires smtp_host, smtp_port, smtp_user, and
+ * smtp_pass
*
- * Depending on the type of provider it is possible to specify settings object with different configuration
- * options, which will be used when sending an email:
+ * Depending on the type of provider it is possible to specify settings object with different configuration
+ * options, which will be used when sending an email:
*
- * -
- *
smtp provider, settings may contain headers object.
- *
- * -
- * When using AWS SES SMTP host, you may provide a name of configuration set in
- *
X-SES-Configuration-Set header. Value must be a string.
- *
- * -
- * When using Sparkpost host, you may provide value for
- *
X-MSYS_API header. Value must be an object.
- *
- *
- * for ses provider, settings may contain message object, where you can provide
- * a name of configuration set in configuration_set_name property. Value must be a string.
- *
- *
+ * -
+ *
smtp provider, settings may contain headers object.
+ *
+ * - When using AWS SES SMTP host, you may provide a name of configuration set in
+ *
X-SES-Configuration-Set header. Value must be a string.
+ * - When using Sparkpost host, you may provide value for
+ *
X-MSYS_API header. Value must be an object.
+ *
+ * For ses provider, settings may contain message object, where you can provide
+ * a name of configuration set in configuration_set_name property. Value must be a string.
+ *
+ *
*/
public CompletableFuture> update(
UpdateEmailProviderRequestContent request, RequestOptions requestOptions) {
diff --git a/src/main/java/com/auth0/client/mgmt/emails/ProviderClient.java b/src/main/java/com/auth0/client/mgmt/emails/ProviderClient.java
index af043a4e..4b1a5b43 100644
--- a/src/main/java/com/auth0/client/mgmt/emails/ProviderClient.java
+++ b/src/main/java/com/auth0/client/mgmt/emails/ProviderClient.java
@@ -61,46 +61,33 @@ public GetEmailProviderResponseContent get(
/**
* Create an email provider. The credentials object
* requires different properties depending on the email provider (which is specified using the name property):
- *
- * mandrill requires api_key
- * sendgrid requires api_key
- * -
- *
sparkpost requires api_key. Optionally, set region to eu to use
- * the SparkPost service hosted in Western Europe; set to null to use the SparkPost service hosted in
- * North America. eu or null are the only valid values for region.
- *
- * -
- *
mailgun requires api_key and domain. Optionally, set region to
- * eu to use the Mailgun service hosted in Europe; set to null otherwise. eu or
- * null are the only valid values for region.
- *
- * ses requires accessKeyId, secretAccessKey, and region
- * -
- *
smtp requires smtp_host, smtp_port, smtp_user, and
- * smtp_pass
- *
+ *
+ * mandrill requires api_key
+ * sendgrid requires api_key
+ * sparkpost requires api_key. Optionally, set region to eu to use
+ * the SparkPost service hosted in Western Europe; set to null to use the SparkPost service hosted in
+ * North America. eu or null are the only valid values for region.
+ * mailgun requires api_key and domain. Optionally, set region to
+ * eu to use the Mailgun service hosted in Europe; set to null otherwise. eu or
+ * null are the only valid values for region.
+ * ses requires accessKeyId, secretAccessKey, and region
+ * smtp requires smtp_host, smtp_port, smtp_user, and
+ * smtp_pass
*
- * Depending on the type of provider it is possible to specify settings object with different configuration
- * options, which will be used when sending an email:
+ * Depending on the type of provider it is possible to specify settings object with different configuration
+ * options, which will be used when sending an email:
+ *
+ * smtp provider, settings may contain headers object.
*
- * -
- *
smtp provider, settings may contain headers object.
- *
- * -
- * When using AWS SES SMTP host, you may provide a name of configuration set in
- *
X-SES-Configuration-Set header. Value must be a string.
- *
- * -
- * When using Sparkpost host, you may provide value for
- *
X-MSYS_API header. Value must be an object.
- *
- *
- *
- * -
- * for
ses provider, settings may contain message object, where you can provide
- * a name of configuration set in configuration_set_name property. Value must be a string.
- *
- *
+ * - When using AWS SES SMTP host, you may provide a name of configuration set in
+ *
X-SES-Configuration-Set header. Value must be a string.
+ * - When using Sparkpost host, you may provide value for
+ *
X-MSYS_API header. Value must be an object.
+ *
+ *
+ * - For
ses provider, settings may contain message object, where you can provide
+ * a name of configuration set in configuration_set_name property. Value must be a string.
+ *
*/
public CreateEmailProviderResponseContent create(CreateEmailProviderRequestContent request) {
return this.rawClient.create(request).body();
@@ -109,46 +96,33 @@ public CreateEmailProviderResponseContent create(CreateEmailProviderRequestConte
/**
* Create an email provider. The credentials object
* requires different properties depending on the email provider (which is specified using the name property):
- *
- * mandrill requires api_key
- * sendgrid requires api_key
- * -
- *
sparkpost requires api_key. Optionally, set region to eu to use
- * the SparkPost service hosted in Western Europe; set to null to use the SparkPost service hosted in
- * North America. eu or null are the only valid values for region.
- *
- * -
- *
mailgun requires api_key and domain. Optionally, set region to
- * eu to use the Mailgun service hosted in Europe; set to null otherwise. eu or
- * null are the only valid values for region.
- *
- * ses requires accessKeyId, secretAccessKey, and region
- * -
- *
smtp requires smtp_host, smtp_port, smtp_user, and
- * smtp_pass
- *
+ *
+ * mandrill requires api_key
+ * sendgrid requires api_key
+ * sparkpost requires api_key. Optionally, set region to eu to use
+ * the SparkPost service hosted in Western Europe; set to null to use the SparkPost service hosted in
+ * North America. eu or null are the only valid values for region.
+ * mailgun requires api_key and domain. Optionally, set region to
+ * eu to use the Mailgun service hosted in Europe; set to null otherwise. eu or
+ * null are the only valid values for region.
+ * ses requires accessKeyId, secretAccessKey, and region
+ * smtp requires smtp_host, smtp_port, smtp_user, and
+ * smtp_pass
*
- * Depending on the type of provider it is possible to specify settings object with different configuration
- * options, which will be used when sending an email:
+ * Depending on the type of provider it is possible to specify settings object with different configuration
+ * options, which will be used when sending an email:
+ *
+ * smtp provider, settings may contain headers object.
*
- * -
- *
smtp provider, settings may contain headers object.
- *
- * -
- * When using AWS SES SMTP host, you may provide a name of configuration set in
- *
X-SES-Configuration-Set header. Value must be a string.
- *
- * -
- * When using Sparkpost host, you may provide value for
- *
X-MSYS_API header. Value must be an object.
- *
- *
- *
- * -
- * for
ses provider, settings may contain message object, where you can provide
- * a name of configuration set in configuration_set_name property. Value must be a string.
- *
- *
+ * - When using AWS SES SMTP host, you may provide a name of configuration set in
+ *
X-SES-Configuration-Set header. Value must be a string.
+ * - When using Sparkpost host, you may provide value for
+ *
X-MSYS_API header. Value must be an object.
+ *
+ *
+ * - For
ses provider, settings may contain message object, where you can provide
+ * a name of configuration set in configuration_set_name property. Value must be a string.
+ *
*/
public CreateEmailProviderResponseContent create(
CreateEmailProviderRequestContent request, RequestOptions requestOptions) {
@@ -172,44 +146,34 @@ public void delete(RequestOptions requestOptions) {
/**
* Update an email provider. The credentials object
* requires different properties depending on the email provider (which is specified using the name property):
- *
- * mandrill requires api_key
- * sendgrid requires api_key
- * -
- *
sparkpost requires api_key. Optionally, set region to eu to use
- * the SparkPost service hosted in Western Europe; set to null to use the SparkPost service hosted in
- * North America. eu or null are the only valid values for region.
- *
- * -
- *
mailgun requires api_key and domain. Optionally, set region to
- * eu to use the Mailgun service hosted in Europe; set to null otherwise. eu or
- * null are the only valid values for region.
- *
- * ses requires accessKeyId, secretAccessKey, and region
- * -
- *
smtp requires smtp_host, smtp_port, smtp_user, and
- * smtp_pass
- *
+ *
+ * mandrill requires api_key
+ * sendgrid requires api_key
+ * sparkpost requires api_key. Optionally, set region to eu to use
+ * the SparkPost service hosted in Western Europe; set to null to use the SparkPost service hosted in
+ * North America. eu or null are the only valid values for region.
+ * mailgun requires api_key and domain. Optionally, set region to
+ * eu to use the Mailgun service hosted in Europe; set to null otherwise. eu or
+ * null are the only valid values for region.
+ * ses requires accessKeyId, secretAccessKey, and region
+ * smtp requires smtp_host, smtp_port, smtp_user, and
+ * smtp_pass
*
- * Depending on the type of provider it is possible to specify settings object with different configuration
- * options, which will be used when sending an email:
+ * Depending on the type of provider it is possible to specify settings object with different configuration
+ * options, which will be used when sending an email:
*
- * -
- *
smtp provider, settings may contain headers object.
- *
- * -
- * When using AWS SES SMTP host, you may provide a name of configuration set in
- *
X-SES-Configuration-Set header. Value must be a string.
- *
- * -
- * When using Sparkpost host, you may provide value for
- *
X-MSYS_API header. Value must be an object.
- *
- *
- * for ses provider, settings may contain message object, where you can provide
- * a name of configuration set in configuration_set_name property. Value must be a string.
- *
- *
+ * -
+ *
smtp provider, settings may contain headers object.
+ *
+ * - When using AWS SES SMTP host, you may provide a name of configuration set in
+ *
X-SES-Configuration-Set header. Value must be a string.
+ * - When using Sparkpost host, you may provide value for
+ *
X-MSYS_API header. Value must be an object.
+ *
+ * For ses provider, settings may contain message object, where you can provide
+ * a name of configuration set in configuration_set_name property. Value must be a string.
+ *
+ *
*/
public UpdateEmailProviderResponseContent update() {
return this.rawClient.update().body();
@@ -218,44 +182,34 @@ public UpdateEmailProviderResponseContent update() {
/**
* Update an email provider. The credentials object
* requires different properties depending on the email provider (which is specified using the name property):
- *
- * mandrill requires api_key
- * sendgrid requires api_key
- * -
- *
sparkpost requires api_key. Optionally, set region to eu to use
- * the SparkPost service hosted in Western Europe; set to null to use the SparkPost service hosted in
- * North America. eu or null are the only valid values for region.
- *
- * -
- *
mailgun requires api_key and domain. Optionally, set region to
- * eu to use the Mailgun service hosted in Europe; set to null otherwise. eu or
- * null are the only valid values for region.
- *
- * ses requires accessKeyId, secretAccessKey, and region
- * -
- *
smtp requires smtp_host, smtp_port, smtp_user, and
- * smtp_pass
- *
+ *
+ * mandrill requires api_key
+ * sendgrid requires api_key
+ * sparkpost requires api_key. Optionally, set region to eu to use
+ * the SparkPost service hosted in Western Europe; set to null to use the SparkPost service hosted in
+ * North America. eu or null are the only valid values for region.
+ * mailgun requires api_key and domain. Optionally, set region to
+ * eu to use the Mailgun service hosted in Europe; set to null otherwise. eu or
+ * null are the only valid values for region.
+ * ses requires accessKeyId, secretAccessKey, and region
+ * smtp requires smtp_host, smtp_port, smtp_user, and
+ * smtp_pass
*
- * Depending on the type of provider it is possible to specify settings object with different configuration
- * options, which will be used when sending an email:
+ * Depending on the type of provider it is possible to specify settings object with different configuration
+ * options, which will be used when sending an email:
+ *
+ * For ses provider, settings may contain message object, where you can provide
+ * a name of configuration set in configuration_set_name property. Value must be a string.
+ *
+ *
*/
public UpdateEmailProviderResponseContent update(RequestOptions requestOptions) {
return this.rawClient.update(requestOptions).body();
@@ -264,44 +218,34 @@ public UpdateEmailProviderResponseContent update(RequestOptions requestOptions)
/**
* Update an email provider. The credentials object
* requires different properties depending on the email provider (which is specified using the name property):
- *
- * mandrill requires api_key
- * sendgrid requires api_key
- * -
- *
sparkpost requires api_key. Optionally, set region to eu to use
- * the SparkPost service hosted in Western Europe; set to null to use the SparkPost service hosted in
- * North America. eu or null are the only valid values for region.
- *
- * -
- *
mailgun requires api_key and domain. Optionally, set region to
- * eu to use the Mailgun service hosted in Europe; set to null otherwise. eu or
- * null are the only valid values for region.
- *
- * ses requires accessKeyId, secretAccessKey, and region
- * -
- *
smtp requires smtp_host, smtp_port, smtp_user, and
- * smtp_pass
- *
+ *
+ * mandrill requires api_key
+ * sendgrid requires api_key
+ * sparkpost requires api_key. Optionally, set region to eu to use
+ * the SparkPost service hosted in Western Europe; set to null to use the SparkPost service hosted in
+ * North America. eu or null are the only valid values for region.
+ * mailgun requires api_key and domain. Optionally, set region to
+ * eu to use the Mailgun service hosted in Europe; set to null otherwise. eu or
+ * null are the only valid values for region.
+ * ses requires accessKeyId, secretAccessKey, and region
+ * smtp requires smtp_host, smtp_port, smtp_user, and
+ * smtp_pass
*
- * Depending on the type of provider it is possible to specify settings object with different configuration
- * options, which will be used when sending an email:
+ * Depending on the type of provider it is possible to specify settings object with different configuration
+ * options, which will be used when sending an email:
+ *
+ * For ses provider, settings may contain message object, where you can provide
+ * a name of configuration set in configuration_set_name property. Value must be a string.
+ *
+ *
*/
public UpdateEmailProviderResponseContent update(UpdateEmailProviderRequestContent request) {
return this.rawClient.update(request).body();
@@ -310,44 +254,34 @@ public UpdateEmailProviderResponseContent update(UpdateEmailProviderRequestConte
/**
* Update an email provider. The credentials object
* requires different properties depending on the email provider (which is specified using the name property):
- *
- * mandrill requires api_key
- * sendgrid requires api_key
- * -
- *
sparkpost requires api_key. Optionally, set region to eu to use
- * the SparkPost service hosted in Western Europe; set to null to use the SparkPost service hosted in
- * North America. eu or null are the only valid values for region.
- *
- * -
- *
mailgun requires api_key and domain. Optionally, set region to
- * eu to use the Mailgun service hosted in Europe; set to null otherwise. eu or
- * null are the only valid values for region.
- *
- * ses requires accessKeyId, secretAccessKey, and region
- * -
- *
smtp requires smtp_host, smtp_port, smtp_user, and
- * smtp_pass
- *
+ *
+ * mandrill requires api_key
+ * sendgrid requires api_key
+ * sparkpost requires api_key. Optionally, set region to eu to use
+ * the SparkPost service hosted in Western Europe; set to null to use the SparkPost service hosted in
+ * North America. eu or null are the only valid values for region.
+ * mailgun requires api_key and domain. Optionally, set region to
+ * eu to use the Mailgun service hosted in Europe; set to null otherwise. eu or
+ * null are the only valid values for region.
+ * ses requires accessKeyId, secretAccessKey, and region
+ * smtp requires smtp_host, smtp_port, smtp_user, and
+ * smtp_pass
*
- * Depending on the type of provider it is possible to specify settings object with different configuration
- * options, which will be used when sending an email:
+ * Depending on the type of provider it is possible to specify settings object with different configuration
+ * options, which will be used when sending an email:
*
- * -
- *
smtp provider, settings may contain headers object.
- *
- * -
- * When using AWS SES SMTP host, you may provide a name of configuration set in
- *
X-SES-Configuration-Set header. Value must be a string.
- *
- * -
- * When using Sparkpost host, you may provide value for
- *
X-MSYS_API header. Value must be an object.
- *
- *
- * for ses provider, settings may contain message object, where you can provide
- * a name of configuration set in configuration_set_name property. Value must be a string.
- *
- *
+ * -
+ *
smtp provider, settings may contain headers object.
+ *
+ * - When using AWS SES SMTP host, you may provide a name of configuration set in
+ *
X-SES-Configuration-Set header. Value must be a string.
+ * - When using Sparkpost host, you may provide value for
+ *
X-MSYS_API header. Value must be an object.
+ *
+ * For ses provider, settings may contain message object, where you can provide
+ * a name of configuration set in configuration_set_name property. Value must be a string.
+ *
+ *
*/
public UpdateEmailProviderResponseContent update(
UpdateEmailProviderRequestContent request, RequestOptions requestOptions) {
diff --git a/src/main/java/com/auth0/client/mgmt/emails/RawProviderClient.java b/src/main/java/com/auth0/client/mgmt/emails/RawProviderClient.java
index c6154244..bc05ce56 100644
--- a/src/main/java/com/auth0/client/mgmt/emails/RawProviderClient.java
+++ b/src/main/java/com/auth0/client/mgmt/emails/RawProviderClient.java
@@ -132,46 +132,33 @@ public ManagementApiHttpResponse get(
/**
* Create an email provider. The credentials object
* requires different properties depending on the email provider (which is specified using the name property):
- *
- * mandrill requires api_key
- * sendgrid requires api_key
- * -
- *
sparkpost requires api_key. Optionally, set region to eu to use
- * the SparkPost service hosted in Western Europe; set to null to use the SparkPost service hosted in
- * North America. eu or null are the only valid values for region.
- *
- * -
- *
mailgun requires api_key and domain. Optionally, set region to
- * eu to use the Mailgun service hosted in Europe; set to null otherwise. eu or
- * null are the only valid values for region.
- *
- * ses requires accessKeyId, secretAccessKey, and region
- * -
- *
smtp requires smtp_host, smtp_port, smtp_user, and
- * smtp_pass
- *
+ *
+ * mandrill requires api_key
+ * sendgrid requires api_key
+ * sparkpost requires api_key. Optionally, set region to eu to use
+ * the SparkPost service hosted in Western Europe; set to null to use the SparkPost service hosted in
+ * North America. eu or null are the only valid values for region.
+ * mailgun requires api_key and domain. Optionally, set region to
+ * eu to use the Mailgun service hosted in Europe; set to null otherwise. eu or
+ * null are the only valid values for region.
+ * ses requires accessKeyId, secretAccessKey, and region
+ * smtp requires smtp_host, smtp_port, smtp_user, and
+ * smtp_pass
*
- * Depending on the type of provider it is possible to specify settings object with different configuration
- * options, which will be used when sending an email:
+ * Depending on the type of provider it is possible to specify settings object with different configuration
+ * options, which will be used when sending an email:
+ *
+ * smtp provider, settings may contain headers object.
*
- * -
- *
smtp provider, settings may contain headers object.
- *
- * -
- * When using AWS SES SMTP host, you may provide a name of configuration set in
- *
X-SES-Configuration-Set header. Value must be a string.
- *
- * -
- * When using Sparkpost host, you may provide value for
- *
X-MSYS_API header. Value must be an object.
- *
- *
- *
- * -
- * for
ses provider, settings may contain message object, where you can provide
- * a name of configuration set in configuration_set_name property. Value must be a string.
- *
- *
+ * - When using AWS SES SMTP host, you may provide a name of configuration set in
+ *
X-SES-Configuration-Set header. Value must be a string.
+ * - When using Sparkpost host, you may provide value for
+ *
X-MSYS_API header. Value must be an object.
+ *
+ *
+ * - For
ses provider, settings may contain message object, where you can provide
+ * a name of configuration set in configuration_set_name property. Value must be a string.
+ *
*/
public ManagementApiHttpResponse create(
CreateEmailProviderRequestContent request) {
@@ -181,46 +168,33 @@ public ManagementApiHttpResponse create(
/**
* Create an email provider. The credentials object
* requires different properties depending on the email provider (which is specified using the name property):
- *
- * mandrill requires api_key
- * sendgrid requires api_key
- * -
- *
sparkpost requires api_key. Optionally, set region to eu to use
- * the SparkPost service hosted in Western Europe; set to null to use the SparkPost service hosted in
- * North America. eu or null are the only valid values for region.
- *
- * -
- *
mailgun requires api_key and domain. Optionally, set region to
- * eu to use the Mailgun service hosted in Europe; set to null otherwise. eu or
- * null are the only valid values for region.
- *
- * ses requires accessKeyId, secretAccessKey, and region
- * -
- *
smtp requires smtp_host, smtp_port, smtp_user, and
- * smtp_pass
- *
+ *
+ * mandrill requires api_key
+ * sendgrid requires api_key
+ * sparkpost requires api_key. Optionally, set region to eu to use
+ * the SparkPost service hosted in Western Europe; set to null to use the SparkPost service hosted in
+ * North America. eu or null are the only valid values for region.
+ * mailgun requires api_key and domain. Optionally, set region to
+ * eu to use the Mailgun service hosted in Europe; set to null otherwise. eu or
+ * null are the only valid values for region.
+ * ses requires accessKeyId, secretAccessKey, and region
+ * smtp requires smtp_host, smtp_port, smtp_user, and
+ * smtp_pass
*
- * Depending on the type of provider it is possible to specify settings object with different configuration
- * options, which will be used when sending an email:
+ * Depending on the type of provider it is possible to specify settings object with different configuration
+ * options, which will be used when sending an email:
+ *
+ * smtp provider, settings may contain headers object.
*
- * -
- *
smtp provider, settings may contain headers object.
- *
- * -
- * When using AWS SES SMTP host, you may provide a name of configuration set in
- *
X-SES-Configuration-Set header. Value must be a string.
- *
- * -
- * When using Sparkpost host, you may provide value for
- *
X-MSYS_API header. Value must be an object.
- *
- *
- *
- * -
- * for
ses provider, settings may contain message object, where you can provide
- * a name of configuration set in configuration_set_name property. Value must be a string.
- *
- *
+ * - When using AWS SES SMTP host, you may provide a name of configuration set in
+ *
X-SES-Configuration-Set header. Value must be a string.
+ * - When using Sparkpost host, you may provide value for
+ *
X-MSYS_API header. Value must be an object.
+ *
+ *
+ * - For
ses provider, settings may contain message object, where you can provide
+ * a name of configuration set in configuration_set_name property. Value must be a string.
+ *
*/
public ManagementApiHttpResponse create(
CreateEmailProviderRequestContent request, RequestOptions requestOptions) {
@@ -355,44 +329,34 @@ public ManagementApiHttpResponse delete(RequestOptions requestOptions) {
/**
* Update an email provider. The credentials object
* requires different properties depending on the email provider (which is specified using the name property):
- *
- * mandrill requires api_key
- * sendgrid requires api_key
- * -
- *
sparkpost requires api_key. Optionally, set region to eu to use
- * the SparkPost service hosted in Western Europe; set to null to use the SparkPost service hosted in
- * North America. eu or null are the only valid values for region.
- *
- * -
- *
mailgun requires api_key and domain. Optionally, set region to
- * eu to use the Mailgun service hosted in Europe; set to null otherwise. eu or
- * null are the only valid values for region.
- *
- * ses requires accessKeyId, secretAccessKey, and region
- * -
- *
smtp requires smtp_host, smtp_port, smtp_user, and
- * smtp_pass
- *
+ *
+ * mandrill requires api_key
+ * sendgrid requires api_key
+ * sparkpost requires api_key. Optionally, set region to eu to use
+ * the SparkPost service hosted in Western Europe; set to null to use the SparkPost service hosted in
+ * North America. eu or null are the only valid values for region.
+ * mailgun requires api_key and domain. Optionally, set region to
+ * eu to use the Mailgun service hosted in Europe; set to null otherwise. eu or
+ * null are the only valid values for region.
+ * ses requires accessKeyId, secretAccessKey, and region
+ * smtp requires smtp_host, smtp_port, smtp_user, and
+ * smtp_pass
*
- * Depending on the type of provider it is possible to specify settings object with different configuration
- * options, which will be used when sending an email:
+ * Depending on the type of provider it is possible to specify settings object with different configuration
+ * options, which will be used when sending an email:
*
- * -
- *
smtp provider, settings may contain headers object.
- *
- * -
- * When using AWS SES SMTP host, you may provide a name of configuration set in
- *
X-SES-Configuration-Set header. Value must be a string.
- *
- * -
- * When using Sparkpost host, you may provide value for
- *
X-MSYS_API header. Value must be an object.
- *
- *
- * for ses provider, settings may contain message object, where you can provide
- * a name of configuration set in configuration_set_name property. Value must be a string.
- *
- *
+ * -
+ *
smtp provider, settings may contain headers object.
+ *
+ * - When using AWS SES SMTP host, you may provide a name of configuration set in
+ *
X-SES-Configuration-Set header. Value must be a string.
+ * - When using Sparkpost host, you may provide value for
+ *
X-MSYS_API header. Value must be an object.
+ *
+ * For ses provider, settings may contain message object, where you can provide
+ * a name of configuration set in configuration_set_name property. Value must be a string.
+ *
+ *
*/
public ManagementApiHttpResponse update() {
return update(UpdateEmailProviderRequestContent.builder().build());
@@ -401,44 +365,34 @@ public ManagementApiHttpResponse update() {
/**
* Update an email provider. The credentials object
* requires different properties depending on the email provider (which is specified using the name property):
- *
- * mandrill requires api_key
- * sendgrid requires api_key
- * -
- *
sparkpost requires api_key. Optionally, set region to eu to use
- * the SparkPost service hosted in Western Europe; set to null to use the SparkPost service hosted in
- * North America. eu or null are the only valid values for region.
- *
- * -
- *
mailgun requires api_key and domain. Optionally, set region to
- * eu to use the Mailgun service hosted in Europe; set to null otherwise. eu or
- * null are the only valid values for region.
- *
- * ses requires accessKeyId, secretAccessKey, and region
- * -
- *
smtp requires smtp_host, smtp_port, smtp_user, and
- * smtp_pass
- *
+ *
+ * mandrill requires api_key
+ * sendgrid requires api_key
+ * sparkpost requires api_key. Optionally, set region to eu to use
+ * the SparkPost service hosted in Western Europe; set to null to use the SparkPost service hosted in
+ * North America. eu or null are the only valid values for region.
+ * mailgun requires api_key and domain. Optionally, set region to
+ * eu to use the Mailgun service hosted in Europe; set to null otherwise. eu or
+ * null are the only valid values for region.
+ * ses requires accessKeyId, secretAccessKey, and region
+ * smtp requires smtp_host, smtp_port, smtp_user, and
+ * smtp_pass
*
- * Depending on the type of provider it is possible to specify settings object with different configuration
- * options, which will be used when sending an email:
+ * Depending on the type of provider it is possible to specify settings object with different configuration
+ * options, which will be used when sending an email:
+ *
+ * For ses provider, settings may contain message object, where you can provide
+ * a name of configuration set in configuration_set_name property. Value must be a string.
+ *
+ *
*/
public ManagementApiHttpResponse update(RequestOptions requestOptions) {
return update(UpdateEmailProviderRequestContent.builder().build(), requestOptions);
@@ -447,44 +401,34 @@ public ManagementApiHttpResponse update(Requ
/**
* Update an email provider. The credentials object
* requires different properties depending on the email provider (which is specified using the name property):
- *
- * mandrill requires api_key
- * sendgrid requires api_key
- * -
- *
sparkpost requires api_key. Optionally, set region to eu to use
- * the SparkPost service hosted in Western Europe; set to null to use the SparkPost service hosted in
- * North America. eu or null are the only valid values for region.
- *
- * -
- *
mailgun requires api_key and domain. Optionally, set region to
- * eu to use the Mailgun service hosted in Europe; set to null otherwise. eu or
- * null are the only valid values for region.
- *
- * ses requires accessKeyId, secretAccessKey, and region
- * -
- *
smtp requires smtp_host, smtp_port, smtp_user, and
- * smtp_pass
- *
+ *
+ * mandrill requires api_key
+ * sendgrid requires api_key
+ * sparkpost requires api_key. Optionally, set region to eu to use
+ * the SparkPost service hosted in Western Europe; set to null to use the SparkPost service hosted in
+ * North America. eu or null are the only valid values for region.
+ * mailgun requires api_key and domain. Optionally, set region to
+ * eu to use the Mailgun service hosted in Europe; set to null otherwise. eu or
+ * null are the only valid values for region.
+ * ses requires accessKeyId, secretAccessKey, and region
+ * smtp requires smtp_host, smtp_port, smtp_user, and
+ * smtp_pass
*
- * Depending on the type of provider it is possible to specify settings object with different configuration
- * options, which will be used when sending an email:
+ * Depending on the type of provider it is possible to specify settings object with different configuration
+ * options, which will be used when sending an email:
+ *
+ * For ses provider, settings may contain message object, where you can provide
+ * a name of configuration set in configuration_set_name property. Value must be a string.
+ *
+ *
*/
public ManagementApiHttpResponse update(
UpdateEmailProviderRequestContent request) {
@@ -494,44 +438,34 @@ public ManagementApiHttpResponse update(
/**
* Update an email provider. The credentials object
* requires different properties depending on the email provider (which is specified using the name property):
- *
- * mandrill requires api_key
- * sendgrid requires api_key
- * -
- *
sparkpost requires api_key. Optionally, set region to eu to use
- * the SparkPost service hosted in Western Europe; set to null to use the SparkPost service hosted in
- * North America. eu or null are the only valid values for region.
- *
- * -
- *
mailgun requires api_key and domain. Optionally, set region to
- * eu to use the Mailgun service hosted in Europe; set to null otherwise. eu or
- * null are the only valid values for region.
- *
- * ses requires accessKeyId, secretAccessKey, and region
- * -
- *
smtp requires smtp_host, smtp_port, smtp_user, and
- * smtp_pass
- *
+ *
+ * mandrill requires api_key
+ * sendgrid requires api_key
+ * sparkpost requires api_key. Optionally, set region to eu to use
+ * the SparkPost service hosted in Western Europe; set to null to use the SparkPost service hosted in
+ * North America. eu or null are the only valid values for region.
+ * mailgun requires api_key and domain. Optionally, set region to
+ * eu to use the Mailgun service hosted in Europe; set to null otherwise. eu or
+ * null are the only valid values for region.
+ * ses requires accessKeyId, secretAccessKey, and region
+ * smtp requires smtp_host, smtp_port, smtp_user, and
+ * smtp_pass
*
- * Depending on the type of provider it is possible to specify settings object with different configuration
- * options, which will be used when sending an email:
+ * Depending on the type of provider it is possible to specify settings object with different configuration
+ * options, which will be used when sending an email:
*
- * -
- *
smtp provider, settings may contain headers object.
- *
- * -
- * When using AWS SES SMTP host, you may provide a name of configuration set in
- *
X-SES-Configuration-Set header. Value must be a string.
- *
- * -
- * When using Sparkpost host, you may provide value for
- *
X-MSYS_API header. Value must be an object.
- *
- *
- * for ses provider, settings may contain message object, where you can provide
- * a name of configuration set in configuration_set_name property. Value must be a string.
- *
- *
+ * -
+ *
smtp provider, settings may contain headers object.
+ *
+ * - When using AWS SES SMTP host, you may provide a name of configuration set in
+ *
X-SES-Configuration-Set header. Value must be a string.
+ * - When using Sparkpost host, you may provide value for
+ *
X-MSYS_API header. Value must be an object.
+ *
+ * For ses provider, settings may contain message object, where you can provide
+ * a name of configuration set in configuration_set_name property. Value must be a string.
+ *
+ *
*/
public ManagementApiHttpResponse update(
UpdateEmailProviderRequestContent request, RequestOptions requestOptions) {
diff --git a/src/main/java/com/auth0/client/mgmt/groups/AsyncRawMembersClient.java b/src/main/java/com/auth0/client/mgmt/groups/AsyncRawMembersClient.java
index 240ab8f9..7d30c814 100644
--- a/src/main/java/com/auth0/client/mgmt/groups/AsyncRawMembersClient.java
+++ b/src/main/java/com/auth0/client/mgmt/groups/AsyncRawMembersClient.java
@@ -13,6 +13,7 @@
import com.auth0.client.mgmt.core.SyncPagingIterable;
import com.auth0.client.mgmt.errors.BadRequestError;
import com.auth0.client.mgmt.errors.ForbiddenError;
+import com.auth0.client.mgmt.errors.NotFoundError;
import com.auth0.client.mgmt.errors.TooManyRequestsError;
import com.auth0.client.mgmt.errors.UnauthorizedError;
import com.auth0.client.mgmt.groups.types.GetGroupMembersRequestParameters;
@@ -149,6 +150,11 @@ public void onResponse(@NotNull Call call, @NotNull Response response) throws IO
ObjectMappers.JSON_MAPPER.readValue(responseBodyString, Object.class),
response));
return;
+ case 404:
+ future.completeExceptionally(new NotFoundError(
+ ObjectMappers.JSON_MAPPER.readValue(responseBodyString, Object.class),
+ response));
+ return;
case 429:
future.completeExceptionally(new TooManyRequestsError(
ObjectMappers.JSON_MAPPER.readValue(responseBodyString, Object.class),
diff --git a/src/main/java/com/auth0/client/mgmt/groups/AsyncRawRolesClient.java b/src/main/java/com/auth0/client/mgmt/groups/AsyncRawRolesClient.java
index 419e2e32..b5abe311 100644
--- a/src/main/java/com/auth0/client/mgmt/groups/AsyncRawRolesClient.java
+++ b/src/main/java/com/auth0/client/mgmt/groups/AsyncRawRolesClient.java
@@ -144,6 +144,11 @@ public void onResponse(@NotNull Call call, @NotNull Response response) throws IO
ObjectMappers.JSON_MAPPER.readValue(responseBodyString, Object.class),
response));
return;
+ case 404:
+ future.completeExceptionally(new NotFoundError(
+ ObjectMappers.JSON_MAPPER.readValue(responseBodyString, Object.class),
+ response));
+ return;
case 429:
future.completeExceptionally(new TooManyRequestsError(
ObjectMappers.JSON_MAPPER.readValue(responseBodyString, Object.class),
@@ -337,6 +342,11 @@ public void onResponse(@NotNull Call call, @NotNull Response response) throws IO
ObjectMappers.JSON_MAPPER.readValue(responseBodyString, Object.class),
response));
return;
+ case 404:
+ future.completeExceptionally(new NotFoundError(
+ ObjectMappers.JSON_MAPPER.readValue(responseBodyString, Object.class),
+ response));
+ return;
case 429:
future.completeExceptionally(new TooManyRequestsError(
ObjectMappers.JSON_MAPPER.readValue(responseBodyString, Object.class),
diff --git a/src/main/java/com/auth0/client/mgmt/groups/RawMembersClient.java b/src/main/java/com/auth0/client/mgmt/groups/RawMembersClient.java
index 5c39425f..1473c454 100644
--- a/src/main/java/com/auth0/client/mgmt/groups/RawMembersClient.java
+++ b/src/main/java/com/auth0/client/mgmt/groups/RawMembersClient.java
@@ -13,6 +13,7 @@
import com.auth0.client.mgmt.core.SyncPagingIterable;
import com.auth0.client.mgmt.errors.BadRequestError;
import com.auth0.client.mgmt.errors.ForbiddenError;
+import com.auth0.client.mgmt.errors.NotFoundError;
import com.auth0.client.mgmt.errors.TooManyRequestsError;
import com.auth0.client.mgmt.errors.UnauthorizedError;
import com.auth0.client.mgmt.groups.types.GetGroupMembersRequestParameters;
@@ -126,6 +127,9 @@ public ManagementApiHttpResponse> get(
case 403:
throw new ForbiddenError(
ObjectMappers.JSON_MAPPER.readValue(responseBodyString, Object.class), response);
+ case 404:
+ throw new NotFoundError(
+ ObjectMappers.JSON_MAPPER.readValue(responseBodyString, Object.class), response);
case 429:
throw new TooManyRequestsError(
ObjectMappers.JSON_MAPPER.readValue(responseBodyString, Object.class), response);
diff --git a/src/main/java/com/auth0/client/mgmt/groups/RawRolesClient.java b/src/main/java/com/auth0/client/mgmt/groups/RawRolesClient.java
index 382e968a..23185711 100644
--- a/src/main/java/com/auth0/client/mgmt/groups/RawRolesClient.java
+++ b/src/main/java/com/auth0/client/mgmt/groups/RawRolesClient.java
@@ -122,6 +122,9 @@ public ManagementApiHttpResponse> list(
case 403:
throw new ForbiddenError(
ObjectMappers.JSON_MAPPER.readValue(responseBodyString, Object.class), response);
+ case 404:
+ throw new NotFoundError(
+ ObjectMappers.JSON_MAPPER.readValue(responseBodyString, Object.class), response);
case 429:
throw new TooManyRequestsError(
ObjectMappers.JSON_MAPPER.readValue(responseBodyString, Object.class), response);
@@ -269,6 +272,9 @@ public ManagementApiHttpResponse delete(
case 403:
throw new ForbiddenError(
ObjectMappers.JSON_MAPPER.readValue(responseBodyString, Object.class), response);
+ case 404:
+ throw new NotFoundError(
+ ObjectMappers.JSON_MAPPER.readValue(responseBodyString, Object.class), response);
case 429:
throw new TooManyRequestsError(
ObjectMappers.JSON_MAPPER.readValue(responseBodyString, Object.class), response);
diff --git a/src/main/java/com/auth0/client/mgmt/organizations/AsyncRawGroupsClient.java b/src/main/java/com/auth0/client/mgmt/organizations/AsyncRawGroupsClient.java
index 0f0b31a1..cd13af1d 100644
--- a/src/main/java/com/auth0/client/mgmt/organizations/AsyncRawGroupsClient.java
+++ b/src/main/java/com/auth0/client/mgmt/organizations/AsyncRawGroupsClient.java
@@ -13,6 +13,7 @@
import com.auth0.client.mgmt.core.SyncPagingIterable;
import com.auth0.client.mgmt.errors.BadRequestError;
import com.auth0.client.mgmt.errors.ForbiddenError;
+import com.auth0.client.mgmt.errors.NotFoundError;
import com.auth0.client.mgmt.errors.TooManyRequestsError;
import com.auth0.client.mgmt.errors.UnauthorizedError;
import com.auth0.client.mgmt.organizations.types.ListOrganizationGroupsRequestParameters;
@@ -145,6 +146,11 @@ public void onResponse(@NotNull Call call, @NotNull Response response) throws IO
ObjectMappers.JSON_MAPPER.readValue(responseBodyString, Object.class),
response));
return;
+ case 404:
+ future.completeExceptionally(new NotFoundError(
+ ObjectMappers.JSON_MAPPER.readValue(responseBodyString, Object.class),
+ response));
+ return;
case 429:
future.completeExceptionally(new TooManyRequestsError(
ObjectMappers.JSON_MAPPER.readValue(responseBodyString, Object.class),
diff --git a/src/main/java/com/auth0/client/mgmt/organizations/RawGroupsClient.java b/src/main/java/com/auth0/client/mgmt/organizations/RawGroupsClient.java
index bf7f8f11..c53b5247 100644
--- a/src/main/java/com/auth0/client/mgmt/organizations/RawGroupsClient.java
+++ b/src/main/java/com/auth0/client/mgmt/organizations/RawGroupsClient.java
@@ -13,6 +13,7 @@
import com.auth0.client.mgmt.core.SyncPagingIterable;
import com.auth0.client.mgmt.errors.BadRequestError;
import com.auth0.client.mgmt.errors.ForbiddenError;
+import com.auth0.client.mgmt.errors.NotFoundError;
import com.auth0.client.mgmt.errors.TooManyRequestsError;
import com.auth0.client.mgmt.errors.UnauthorizedError;
import com.auth0.client.mgmt.organizations.types.ListOrganizationGroupsRequestParameters;
@@ -123,6 +124,9 @@ public ManagementApiHttpResponse> list(
case 403:
throw new ForbiddenError(
ObjectMappers.JSON_MAPPER.readValue(responseBodyString, Object.class), response);
+ case 404:
+ throw new NotFoundError(
+ ObjectMappers.JSON_MAPPER.readValue(responseBodyString, Object.class), response);
case 429:
throw new TooManyRequestsError(
ObjectMappers.JSON_MAPPER.readValue(responseBodyString, Object.class), response);
diff --git a/src/main/java/com/auth0/client/mgmt/organizations/groups/AsyncRawRolesClient.java b/src/main/java/com/auth0/client/mgmt/organizations/groups/AsyncRawRolesClient.java
index b201190d..d701c6cb 100644
--- a/src/main/java/com/auth0/client/mgmt/organizations/groups/AsyncRawRolesClient.java
+++ b/src/main/java/com/auth0/client/mgmt/organizations/groups/AsyncRawRolesClient.java
@@ -15,6 +15,7 @@
import com.auth0.client.mgmt.errors.BadRequestError;
import com.auth0.client.mgmt.errors.ConflictError;
import com.auth0.client.mgmt.errors.ForbiddenError;
+import com.auth0.client.mgmt.errors.NotFoundError;
import com.auth0.client.mgmt.errors.TooManyRequestsError;
import com.auth0.client.mgmt.errors.UnauthorizedError;
import com.auth0.client.mgmt.organizations.groups.types.CreateOrganizationGroupRolesRequestContent;
@@ -158,6 +159,11 @@ public void onResponse(@NotNull Call call, @NotNull Response response) throws IO
ObjectMappers.JSON_MAPPER.readValue(responseBodyString, Object.class),
response));
return;
+ case 404:
+ future.completeExceptionally(new NotFoundError(
+ ObjectMappers.JSON_MAPPER.readValue(responseBodyString, Object.class),
+ response));
+ return;
case 429:
future.completeExceptionally(new TooManyRequestsError(
ObjectMappers.JSON_MAPPER.readValue(responseBodyString, Object.class),
@@ -257,6 +263,11 @@ public void onResponse(@NotNull Call call, @NotNull Response response) throws IO
ObjectMappers.JSON_MAPPER.readValue(responseBodyString, Object.class),
response));
return;
+ case 404:
+ future.completeExceptionally(new NotFoundError(
+ ObjectMappers.JSON_MAPPER.readValue(responseBodyString, Object.class),
+ response));
+ return;
case 409:
future.completeExceptionally(new ConflictError(
ObjectMappers.JSON_MAPPER.readValue(responseBodyString, Object.class),
@@ -361,6 +372,11 @@ public void onResponse(@NotNull Call call, @NotNull Response response) throws IO
ObjectMappers.JSON_MAPPER.readValue(responseBodyString, Object.class),
response));
return;
+ case 404:
+ future.completeExceptionally(new NotFoundError(
+ ObjectMappers.JSON_MAPPER.readValue(responseBodyString, Object.class),
+ response));
+ return;
case 429:
future.completeExceptionally(new TooManyRequestsError(
ObjectMappers.JSON_MAPPER.readValue(responseBodyString, Object.class),
diff --git a/src/main/java/com/auth0/client/mgmt/organizations/groups/RawRolesClient.java b/src/main/java/com/auth0/client/mgmt/organizations/groups/RawRolesClient.java
index ab505e4c..88e90d2d 100644
--- a/src/main/java/com/auth0/client/mgmt/organizations/groups/RawRolesClient.java
+++ b/src/main/java/com/auth0/client/mgmt/organizations/groups/RawRolesClient.java
@@ -15,6 +15,7 @@
import com.auth0.client.mgmt.errors.BadRequestError;
import com.auth0.client.mgmt.errors.ConflictError;
import com.auth0.client.mgmt.errors.ForbiddenError;
+import com.auth0.client.mgmt.errors.NotFoundError;
import com.auth0.client.mgmt.errors.TooManyRequestsError;
import com.auth0.client.mgmt.errors.UnauthorizedError;
import com.auth0.client.mgmt.organizations.groups.types.CreateOrganizationGroupRolesRequestContent;
@@ -136,6 +137,9 @@ public ManagementApiHttpResponse> list(
case 403:
throw new ForbiddenError(
ObjectMappers.JSON_MAPPER.readValue(responseBodyString, Object.class), response);
+ case 404:
+ throw new NotFoundError(
+ ObjectMappers.JSON_MAPPER.readValue(responseBodyString, Object.class), response);
case 429:
throw new TooManyRequestsError(
ObjectMappers.JSON_MAPPER.readValue(responseBodyString, Object.class), response);
@@ -214,6 +218,9 @@ public ManagementApiHttpResponse create(
case 403:
throw new ForbiddenError(
ObjectMappers.JSON_MAPPER.readValue(responseBodyString, Object.class), response);
+ case 404:
+ throw new NotFoundError(
+ ObjectMappers.JSON_MAPPER.readValue(responseBodyString, Object.class), response);
case 409:
throw new ConflictError(
ObjectMappers.JSON_MAPPER.readValue(responseBodyString, Object.class), response);
@@ -295,6 +302,9 @@ public ManagementApiHttpResponse delete(
case 403:
throw new ForbiddenError(
ObjectMappers.JSON_MAPPER.readValue(responseBodyString, Object.class), response);
+ case 404:
+ throw new NotFoundError(
+ ObjectMappers.JSON_MAPPER.readValue(responseBodyString, Object.class), response);
case 429:
throw new TooManyRequestsError(
ObjectMappers.JSON_MAPPER.readValue(responseBodyString, Object.class), response);
diff --git a/src/main/java/com/auth0/client/mgmt/organizations/members/AsyncRawEffectiveRolesClient.java b/src/main/java/com/auth0/client/mgmt/organizations/members/AsyncRawEffectiveRolesClient.java
index 2dc7f34a..d6be7c8b 100644
--- a/src/main/java/com/auth0/client/mgmt/organizations/members/AsyncRawEffectiveRolesClient.java
+++ b/src/main/java/com/auth0/client/mgmt/organizations/members/AsyncRawEffectiveRolesClient.java
@@ -13,6 +13,7 @@
import com.auth0.client.mgmt.core.SyncPagingIterable;
import com.auth0.client.mgmt.errors.BadRequestError;
import com.auth0.client.mgmt.errors.ForbiddenError;
+import com.auth0.client.mgmt.errors.NotFoundError;
import com.auth0.client.mgmt.errors.TooManyRequestsError;
import com.auth0.client.mgmt.errors.UnauthorizedError;
import com.auth0.client.mgmt.organizations.members.types.ListOrganizationMemberEffectiveRolesRequestParameters;
@@ -156,6 +157,11 @@ public void onResponse(@NotNull Call call, @NotNull Response response) throws IO
ObjectMappers.JSON_MAPPER.readValue(responseBodyString, Object.class),
response));
return;
+ case 404:
+ future.completeExceptionally(new NotFoundError(
+ ObjectMappers.JSON_MAPPER.readValue(responseBodyString, Object.class),
+ response));
+ return;
case 429:
future.completeExceptionally(new TooManyRequestsError(
ObjectMappers.JSON_MAPPER.readValue(responseBodyString, Object.class),
diff --git a/src/main/java/com/auth0/client/mgmt/organizations/members/RawEffectiveRolesClient.java b/src/main/java/com/auth0/client/mgmt/organizations/members/RawEffectiveRolesClient.java
index c945e60f..c76b1fe9 100644
--- a/src/main/java/com/auth0/client/mgmt/organizations/members/RawEffectiveRolesClient.java
+++ b/src/main/java/com/auth0/client/mgmt/organizations/members/RawEffectiveRolesClient.java
@@ -13,6 +13,7 @@
import com.auth0.client.mgmt.core.SyncPagingIterable;
import com.auth0.client.mgmt.errors.BadRequestError;
import com.auth0.client.mgmt.errors.ForbiddenError;
+import com.auth0.client.mgmt.errors.NotFoundError;
import com.auth0.client.mgmt.errors.TooManyRequestsError;
import com.auth0.client.mgmt.errors.UnauthorizedError;
import com.auth0.client.mgmt.organizations.members.types.ListOrganizationMemberEffectiveRolesRequestParameters;
@@ -134,6 +135,9 @@ public ManagementApiHttpResponse> list(
case 403:
throw new ForbiddenError(
ObjectMappers.JSON_MAPPER.readValue(responseBodyString, Object.class), response);
+ case 404:
+ throw new NotFoundError(
+ ObjectMappers.JSON_MAPPER.readValue(responseBodyString, Object.class), response);
case 429:
throw new TooManyRequestsError(
ObjectMappers.JSON_MAPPER.readValue(responseBodyString, Object.class), response);
diff --git a/src/main/java/com/auth0/client/mgmt/roles/AsyncRawGroupsClient.java b/src/main/java/com/auth0/client/mgmt/roles/AsyncRawGroupsClient.java
index 3ccfd1fb..e7fc85e1 100644
--- a/src/main/java/com/auth0/client/mgmt/roles/AsyncRawGroupsClient.java
+++ b/src/main/java/com/auth0/client/mgmt/roles/AsyncRawGroupsClient.java
@@ -144,6 +144,11 @@ public void onResponse(@NotNull Call call, @NotNull Response response) throws IO
ObjectMappers.JSON_MAPPER.readValue(responseBodyString, Object.class),
response));
return;
+ case 404:
+ future.completeExceptionally(new NotFoundError(
+ ObjectMappers.JSON_MAPPER.readValue(responseBodyString, Object.class),
+ response));
+ return;
case 429:
future.completeExceptionally(new TooManyRequestsError(
ObjectMappers.JSON_MAPPER.readValue(responseBodyString, Object.class),
@@ -337,6 +342,11 @@ public void onResponse(@NotNull Call call, @NotNull Response response) throws IO
ObjectMappers.JSON_MAPPER.readValue(responseBodyString, Object.class),
response));
return;
+ case 404:
+ future.completeExceptionally(new NotFoundError(
+ ObjectMappers.JSON_MAPPER.readValue(responseBodyString, Object.class),
+ response));
+ return;
case 429:
future.completeExceptionally(new TooManyRequestsError(
ObjectMappers.JSON_MAPPER.readValue(responseBodyString, Object.class),
diff --git a/src/main/java/com/auth0/client/mgmt/roles/RawGroupsClient.java b/src/main/java/com/auth0/client/mgmt/roles/RawGroupsClient.java
index 0cd74dd9..970d20bc 100644
--- a/src/main/java/com/auth0/client/mgmt/roles/RawGroupsClient.java
+++ b/src/main/java/com/auth0/client/mgmt/roles/RawGroupsClient.java
@@ -121,6 +121,9 @@ public ManagementApiHttpResponse> get(
case 403:
throw new ForbiddenError(
ObjectMappers.JSON_MAPPER.readValue(responseBodyString, Object.class), response);
+ case 404:
+ throw new NotFoundError(
+ ObjectMappers.JSON_MAPPER.readValue(responseBodyString, Object.class), response);
case 429:
throw new TooManyRequestsError(
ObjectMappers.JSON_MAPPER.readValue(responseBodyString, Object.class), response);
@@ -268,6 +271,9 @@ public ManagementApiHttpResponse delete(
case 403:
throw new ForbiddenError(
ObjectMappers.JSON_MAPPER.readValue(responseBodyString, Object.class), response);
+ case 404:
+ throw new NotFoundError(
+ ObjectMappers.JSON_MAPPER.readValue(responseBodyString, Object.class), response);
case 429:
throw new TooManyRequestsError(
ObjectMappers.JSON_MAPPER.readValue(responseBodyString, Object.class), response);
diff --git a/src/main/java/com/auth0/client/mgmt/tenants/types/UpdateTenantSettingsRequestContent.java b/src/main/java/com/auth0/client/mgmt/tenants/types/UpdateTenantSettingsRequestContent.java
index 012e5c72..c6c926a6 100644
--- a/src/main/java/com/auth0/client/mgmt/tenants/types/UpdateTenantSettingsRequestContent.java
+++ b/src/main/java/com/auth0/client/mgmt/tenants/types/UpdateTenantSettingsRequestContent.java
@@ -16,6 +16,7 @@
import com.auth0.client.mgmt.types.TenantSettingsFlags;
import com.auth0.client.mgmt.types.TenantSettingsGuardianPage;
import com.auth0.client.mgmt.types.TenantSettingsMtls;
+import com.auth0.client.mgmt.types.TenantSettingsNullableSecurityHeaders;
import com.auth0.client.mgmt.types.TenantSettingsPasswordPage;
import com.auth0.client.mgmt.types.TenantSettingsResourceParameterProfile;
import com.auth0.client.mgmt.types.TenantSettingsSessions;
@@ -66,12 +67,20 @@ public final class UpdateTenantSettingsRequestContent {
private final Optional sessionLifetime;
+ private final Optional sessionLifetimeInMinutes;
+
private final Optional idleSessionLifetime;
+ private final Optional idleSessionLifetimeInMinutes;
+
private final Optional ephemeralSessionLifetime;
private final Optional idleEphemeralSessionLifetime;
+ private final Optional ephemeralSessionLifetimeInMinutes;
+
+ private final Optional idleEphemeralSessionLifetimeInMinutes;
+
private final Optional sandboxVersion;
private final Optional legacySandboxVersion;
@@ -80,6 +89,8 @@ public final class UpdateTenantSettingsRequestContent {
private final Optional> enabledLocales;
+ private final OptionalNullable securityHeaders;
+
private final OptionalNullable sessionCookie;
private final OptionalNullable sessions;
@@ -108,6 +119,8 @@ public final class UpdateTenantSettingsRequestContent {
private final Optional phoneConsolidatedExperience;
+ private final Optional includeSessionMetadataInTenantLogs;
+
private final Optional dynamicClientRegistrationSecurityMode;
private final OptionalNullable countryCodes;
@@ -129,13 +142,18 @@ private UpdateTenantSettingsRequestContent(
Optional supportUrl,
Optional> allowedLogoutUrls,
Optional sessionLifetime,
+ Optional sessionLifetimeInMinutes,
Optional idleSessionLifetime,
+ Optional idleSessionLifetimeInMinutes,
Optional ephemeralSessionLifetime,
Optional idleEphemeralSessionLifetime,
+ Optional ephemeralSessionLifetimeInMinutes,
+ Optional idleEphemeralSessionLifetimeInMinutes,
Optional sandboxVersion,
Optional legacySandboxVersion,
Optional defaultRedirectionUri,
Optional> enabledLocales,
+ OptionalNullable securityHeaders,
OptionalNullable sessionCookie,
OptionalNullable sessions,
Optional oidcLogout,
@@ -150,6 +168,7 @@ private UpdateTenantSettingsRequestContent(
Optional clientIdMetadataDocumentSupported,
Optional enableAiGuide,
Optional phoneConsolidatedExperience,
+ Optional includeSessionMetadataInTenantLogs,
Optional dynamicClientRegistrationSecurityMode,
OptionalNullable countryCodes,
Map additionalProperties) {
@@ -167,13 +186,18 @@ private UpdateTenantSettingsRequestContent(
this.supportUrl = supportUrl;
this.allowedLogoutUrls = allowedLogoutUrls;
this.sessionLifetime = sessionLifetime;
+ this.sessionLifetimeInMinutes = sessionLifetimeInMinutes;
this.idleSessionLifetime = idleSessionLifetime;
+ this.idleSessionLifetimeInMinutes = idleSessionLifetimeInMinutes;
this.ephemeralSessionLifetime = ephemeralSessionLifetime;
this.idleEphemeralSessionLifetime = idleEphemeralSessionLifetime;
+ this.ephemeralSessionLifetimeInMinutes = ephemeralSessionLifetimeInMinutes;
+ this.idleEphemeralSessionLifetimeInMinutes = idleEphemeralSessionLifetimeInMinutes;
this.sandboxVersion = sandboxVersion;
this.legacySandboxVersion = legacySandboxVersion;
this.defaultRedirectionUri = defaultRedirectionUri;
this.enabledLocales = enabledLocales;
+ this.securityHeaders = securityHeaders;
this.sessionCookie = sessionCookie;
this.sessions = sessions;
this.oidcLogout = oidcLogout;
@@ -188,6 +212,7 @@ private UpdateTenantSettingsRequestContent(
this.clientIdMetadataDocumentSupported = clientIdMetadataDocumentSupported;
this.enableAiGuide = enableAiGuide;
this.phoneConsolidatedExperience = phoneConsolidatedExperience;
+ this.includeSessionMetadataInTenantLogs = includeSessionMetadataInTenantLogs;
this.dynamicClientRegistrationSecurityMode = dynamicClientRegistrationSecurityMode;
this.countryCodes = countryCodes;
this.additionalProperties = additionalProperties;
@@ -310,6 +335,14 @@ public Optional getSessionLifetime() {
return sessionLifetime;
}
+ /**
+ * @return Number of minutes a session will stay valid. Cannot be specified together with session_lifetime.
+ */
+ @JsonProperty("session_lifetime_in_minutes")
+ public Optional getSessionLifetimeInMinutes() {
+ return sessionLifetimeInMinutes;
+ }
+
/**
* @return Number of hours for which a session can be inactive before the user must log in again.
*/
@@ -318,6 +351,14 @@ public Optional getIdleSessionLifetime() {
return idleSessionLifetime;
}
+ /**
+ * @return Number of minutes a session can be inactive before the user must log in again. Cannot be specified together with idle_session_lifetime.
+ */
+ @JsonProperty("idle_session_lifetime_in_minutes")
+ public Optional getIdleSessionLifetimeInMinutes() {
+ return idleSessionLifetimeInMinutes;
+ }
+
/**
* @return Number of hours an ephemeral (non-persistent) session will stay valid.
*/
@@ -334,6 +375,22 @@ public Optional getIdleEphemeralSessionLifetime() {
return idleEphemeralSessionLifetime;
}
+ /**
+ * @return Number of minutes an ephemeral (non-persistent) session will stay valid. Cannot be specified together with ephemeral_session_lifetime.
+ */
+ @JsonProperty("ephemeral_session_lifetime_in_minutes")
+ public Optional getEphemeralSessionLifetimeInMinutes() {
+ return ephemeralSessionLifetimeInMinutes;
+ }
+
+ /**
+ * @return Number of minutes an ephemeral (non-persistent) session can be inactive before the user must log in again. Cannot be specified together with idle_ephemeral_session_lifetime.
+ */
+ @JsonProperty("idle_ephemeral_session_lifetime_in_minutes")
+ public Optional getIdleEphemeralSessionLifetimeInMinutes() {
+ return idleEphemeralSessionLifetimeInMinutes;
+ }
+
/**
* @return Selected sandbox version for the extensibility environment
*/
@@ -366,6 +423,15 @@ public Optional> getEnabledLocales() {
return enabledLocales;
}
+ @JsonInclude(value = JsonInclude.Include.CUSTOM, valueFilter = NullableNonemptyFilter.class)
+ @JsonProperty("security_headers")
+ public OptionalNullable getSecurityHeaders() {
+ if (securityHeaders == null) {
+ return OptionalNullable.absent();
+ }
+ return securityHeaders;
+ }
+
@JsonInclude(value = JsonInclude.Include.CUSTOM, valueFilter = NullableNonemptyFilter.class)
@JsonProperty("session_cookie")
public OptionalNullable getSessionCookie() {
@@ -501,6 +567,14 @@ public Optional getPhoneConsolidatedExperience() {
return phoneConsolidatedExperience;
}
+ /**
+ * @return Whether session metadata is included in specific tenant logs (slo, oidc_backchannel_logout_failed, oidc_backchannel_logout_succeeded).
+ */
+ @JsonProperty("include_session_metadata_in_tenant_logs")
+ public Optional getIncludeSessionMetadataInTenantLogs() {
+ return includeSessionMetadataInTenantLogs;
+ }
+
@JsonProperty("dynamic_client_registration_security_mode")
public Optional getDynamicClientRegistrationSecurityMode() {
return dynamicClientRegistrationSecurityMode;
@@ -545,6 +619,12 @@ private OptionalNullable _getDefaultTokenQuota() {
return defaultTokenQuota;
}
+ @JsonInclude(value = JsonInclude.Include.CUSTOM, valueFilter = NullableNonemptyFilter.class)
+ @JsonProperty("security_headers")
+ private OptionalNullable _getSecurityHeaders() {
+ return securityHeaders;
+ }
+
@JsonInclude(value = JsonInclude.Include.CUSTOM, valueFilter = NullableNonemptyFilter.class)
@JsonProperty("session_cookie")
private OptionalNullable _getSessionCookie() {
@@ -632,13 +712,18 @@ private boolean equalTo(UpdateTenantSettingsRequestContent other) {
&& supportUrl.equals(other.supportUrl)
&& allowedLogoutUrls.equals(other.allowedLogoutUrls)
&& sessionLifetime.equals(other.sessionLifetime)
+ && sessionLifetimeInMinutes.equals(other.sessionLifetimeInMinutes)
&& idleSessionLifetime.equals(other.idleSessionLifetime)
+ && idleSessionLifetimeInMinutes.equals(other.idleSessionLifetimeInMinutes)
&& ephemeralSessionLifetime.equals(other.ephemeralSessionLifetime)
&& idleEphemeralSessionLifetime.equals(other.idleEphemeralSessionLifetime)
+ && ephemeralSessionLifetimeInMinutes.equals(other.ephemeralSessionLifetimeInMinutes)
+ && idleEphemeralSessionLifetimeInMinutes.equals(other.idleEphemeralSessionLifetimeInMinutes)
&& sandboxVersion.equals(other.sandboxVersion)
&& legacySandboxVersion.equals(other.legacySandboxVersion)
&& defaultRedirectionUri.equals(other.defaultRedirectionUri)
&& enabledLocales.equals(other.enabledLocales)
+ && securityHeaders.equals(other.securityHeaders)
&& sessionCookie.equals(other.sessionCookie)
&& sessions.equals(other.sessions)
&& oidcLogout.equals(other.oidcLogout)
@@ -654,6 +739,7 @@ private boolean equalTo(UpdateTenantSettingsRequestContent other) {
&& clientIdMetadataDocumentSupported.equals(other.clientIdMetadataDocumentSupported)
&& enableAiGuide.equals(other.enableAiGuide)
&& phoneConsolidatedExperience.equals(other.phoneConsolidatedExperience)
+ && includeSessionMetadataInTenantLogs.equals(other.includeSessionMetadataInTenantLogs)
&& dynamicClientRegistrationSecurityMode.equals(other.dynamicClientRegistrationSecurityMode)
&& countryCodes.equals(other.countryCodes);
}
@@ -675,13 +761,18 @@ public int hashCode() {
this.supportUrl,
this.allowedLogoutUrls,
this.sessionLifetime,
+ this.sessionLifetimeInMinutes,
this.idleSessionLifetime,
+ this.idleSessionLifetimeInMinutes,
this.ephemeralSessionLifetime,
this.idleEphemeralSessionLifetime,
+ this.ephemeralSessionLifetimeInMinutes,
+ this.idleEphemeralSessionLifetimeInMinutes,
this.sandboxVersion,
this.legacySandboxVersion,
this.defaultRedirectionUri,
this.enabledLocales,
+ this.securityHeaders,
this.sessionCookie,
this.sessions,
this.oidcLogout,
@@ -696,6 +787,7 @@ public int hashCode() {
this.clientIdMetadataDocumentSupported,
this.enableAiGuide,
this.phoneConsolidatedExperience,
+ this.includeSessionMetadataInTenantLogs,
this.dynamicClientRegistrationSecurityMode,
this.countryCodes);
}
@@ -739,12 +831,20 @@ public static final class Builder {
private Optional sessionLifetime = Optional.empty();
+ private Optional sessionLifetimeInMinutes = Optional.empty();
+
private Optional idleSessionLifetime = Optional.empty();
+ private Optional idleSessionLifetimeInMinutes = Optional.empty();
+
private Optional ephemeralSessionLifetime = Optional.empty();
private Optional idleEphemeralSessionLifetime = Optional.empty();
+ private Optional ephemeralSessionLifetimeInMinutes = Optional.empty();
+
+ private Optional idleEphemeralSessionLifetimeInMinutes = Optional.empty();
+
private Optional sandboxVersion = Optional.empty();
private Optional legacySandboxVersion = Optional.empty();
@@ -753,6 +853,8 @@ public static final class Builder {
private Optional> enabledLocales = Optional.empty();
+ private OptionalNullable securityHeaders = OptionalNullable.absent();
+
private OptionalNullable sessionCookie = OptionalNullable.absent();
private OptionalNullable sessions = OptionalNullable.absent();
@@ -781,6 +883,8 @@ public static final class Builder {
private Optional phoneConsolidatedExperience = Optional.empty();
+ private Optional includeSessionMetadataInTenantLogs = Optional.empty();
+
private Optional dynamicClientRegistrationSecurityMode =
Optional.empty();
@@ -806,13 +910,18 @@ public Builder from(UpdateTenantSettingsRequestContent other) {
supportUrl(other.getSupportUrl());
allowedLogoutUrls(other.getAllowedLogoutUrls());
sessionLifetime(other.getSessionLifetime());
+ sessionLifetimeInMinutes(other.getSessionLifetimeInMinutes());
idleSessionLifetime(other.getIdleSessionLifetime());
+ idleSessionLifetimeInMinutes(other.getIdleSessionLifetimeInMinutes());
ephemeralSessionLifetime(other.getEphemeralSessionLifetime());
idleEphemeralSessionLifetime(other.getIdleEphemeralSessionLifetime());
+ ephemeralSessionLifetimeInMinutes(other.getEphemeralSessionLifetimeInMinutes());
+ idleEphemeralSessionLifetimeInMinutes(other.getIdleEphemeralSessionLifetimeInMinutes());
sandboxVersion(other.getSandboxVersion());
legacySandboxVersion(other.getLegacySandboxVersion());
defaultRedirectionUri(other.getDefaultRedirectionUri());
enabledLocales(other.getEnabledLocales());
+ securityHeaders(other.getSecurityHeaders());
sessionCookie(other.getSessionCookie());
sessions(other.getSessions());
oidcLogout(other.getOidcLogout());
@@ -827,6 +936,7 @@ public Builder from(UpdateTenantSettingsRequestContent other) {
clientIdMetadataDocumentSupported(other.getClientIdMetadataDocumentSupported());
enableAiGuide(other.getEnableAiGuide());
phoneConsolidatedExperience(other.getPhoneConsolidatedExperience());
+ includeSessionMetadataInTenantLogs(other.getIncludeSessionMetadataInTenantLogs());
dynamicClientRegistrationSecurityMode(other.getDynamicClientRegistrationSecurityMode());
countryCodes(other.getCountryCodes());
return this;
@@ -1114,6 +1224,20 @@ public Builder sessionLifetime(Integer sessionLifetime) {
return this;
}
+ /**
+ * Number of minutes a session will stay valid. Cannot be specified together with session_lifetime.
+ */
+ @JsonSetter(value = "session_lifetime_in_minutes", nulls = Nulls.SKIP)
+ public Builder sessionLifetimeInMinutes(Optional sessionLifetimeInMinutes) {
+ this.sessionLifetimeInMinutes = sessionLifetimeInMinutes;
+ return this;
+ }
+
+ public Builder sessionLifetimeInMinutes(Integer sessionLifetimeInMinutes) {
+ this.sessionLifetimeInMinutes = Optional.ofNullable(sessionLifetimeInMinutes);
+ return this;
+ }
+
/**
* Number of hours for which a session can be inactive before the user must log in again.
*/
@@ -1128,6 +1252,20 @@ public Builder idleSessionLifetime(Integer idleSessionLifetime) {
return this;
}
+ /**
+ * Number of minutes a session can be inactive before the user must log in again. Cannot be specified together with idle_session_lifetime.
+ */
+ @JsonSetter(value = "idle_session_lifetime_in_minutes", nulls = Nulls.SKIP)
+ public Builder idleSessionLifetimeInMinutes(Optional idleSessionLifetimeInMinutes) {
+ this.idleSessionLifetimeInMinutes = idleSessionLifetimeInMinutes;
+ return this;
+ }
+
+ public Builder idleSessionLifetimeInMinutes(Integer idleSessionLifetimeInMinutes) {
+ this.idleSessionLifetimeInMinutes = Optional.ofNullable(idleSessionLifetimeInMinutes);
+ return this;
+ }
+
/**
* Number of hours an ephemeral (non-persistent) session will stay valid.
*/
@@ -1156,6 +1294,34 @@ public Builder idleEphemeralSessionLifetime(Integer idleEphemeralSessionLifetime
return this;
}
+ /**
+ * Number of minutes an ephemeral (non-persistent) session will stay valid. Cannot be specified together with ephemeral_session_lifetime.
+ */
+ @JsonSetter(value = "ephemeral_session_lifetime_in_minutes", nulls = Nulls.SKIP)
+ public Builder ephemeralSessionLifetimeInMinutes(Optional ephemeralSessionLifetimeInMinutes) {
+ this.ephemeralSessionLifetimeInMinutes = ephemeralSessionLifetimeInMinutes;
+ return this;
+ }
+
+ public Builder ephemeralSessionLifetimeInMinutes(Integer ephemeralSessionLifetimeInMinutes) {
+ this.ephemeralSessionLifetimeInMinutes = Optional.ofNullable(ephemeralSessionLifetimeInMinutes);
+ return this;
+ }
+
+ /**
+ * Number of minutes an ephemeral (non-persistent) session can be inactive before the user must log in again. Cannot be specified together with idle_ephemeral_session_lifetime.
+ */
+ @JsonSetter(value = "idle_ephemeral_session_lifetime_in_minutes", nulls = Nulls.SKIP)
+ public Builder idleEphemeralSessionLifetimeInMinutes(Optional idleEphemeralSessionLifetimeInMinutes) {
+ this.idleEphemeralSessionLifetimeInMinutes = idleEphemeralSessionLifetimeInMinutes;
+ return this;
+ }
+
+ public Builder idleEphemeralSessionLifetimeInMinutes(Integer idleEphemeralSessionLifetimeInMinutes) {
+ this.idleEphemeralSessionLifetimeInMinutes = Optional.ofNullable(idleEphemeralSessionLifetimeInMinutes);
+ return this;
+ }
+
/**
* Selected sandbox version for the extensibility environment
*/
@@ -1212,6 +1378,39 @@ public Builder enabledLocales(List enabledLo
return this;
}
+ @JsonSetter(value = "security_headers", nulls = Nulls.SKIP)
+ public Builder securityHeaders(
+ @Nullable OptionalNullable securityHeaders) {
+ this.securityHeaders = securityHeaders;
+ return this;
+ }
+
+ public Builder securityHeaders(TenantSettingsNullableSecurityHeaders securityHeaders) {
+ this.securityHeaders = OptionalNullable.of(securityHeaders);
+ return this;
+ }
+
+ public Builder securityHeaders(Optional securityHeaders) {
+ if (securityHeaders.isPresent()) {
+ this.securityHeaders = OptionalNullable.of(securityHeaders.get());
+ } else {
+ this.securityHeaders = OptionalNullable.absent();
+ }
+ return this;
+ }
+
+ public Builder securityHeaders(
+ com.auth0.client.mgmt.core.Nullable securityHeaders) {
+ if (securityHeaders.isNull()) {
+ this.securityHeaders = OptionalNullable.ofNull();
+ } else if (securityHeaders.isEmpty()) {
+ this.securityHeaders = OptionalNullable.absent();
+ } else {
+ this.securityHeaders = OptionalNullable.of(securityHeaders.get());
+ }
+ return this;
+ }
+
@JsonSetter(value = "session_cookie", nulls = Nulls.SKIP)
public Builder sessionCookie(@Nullable OptionalNullable sessionCookie) {
this.sessionCookie = sessionCookie;
@@ -1601,6 +1800,20 @@ public Builder phoneConsolidatedExperience(Boolean phoneConsolidatedExperience)
return this;
}
+ /**
+ * Whether session metadata is included in specific tenant logs (slo, oidc_backchannel_logout_failed, oidc_backchannel_logout_succeeded).
+ */
+ @JsonSetter(value = "include_session_metadata_in_tenant_logs", nulls = Nulls.SKIP)
+ public Builder includeSessionMetadataInTenantLogs(Optional includeSessionMetadataInTenantLogs) {
+ this.includeSessionMetadataInTenantLogs = includeSessionMetadataInTenantLogs;
+ return this;
+ }
+
+ public Builder includeSessionMetadataInTenantLogs(Boolean includeSessionMetadataInTenantLogs) {
+ this.includeSessionMetadataInTenantLogs = Optional.ofNullable(includeSessionMetadataInTenantLogs);
+ return this;
+ }
+
@JsonSetter(value = "dynamic_client_registration_security_mode", nulls = Nulls.SKIP)
public Builder dynamicClientRegistrationSecurityMode(
Optional dynamicClientRegistrationSecurityMode) {
@@ -1661,13 +1874,18 @@ public UpdateTenantSettingsRequestContent build() {
supportUrl,
allowedLogoutUrls,
sessionLifetime,
+ sessionLifetimeInMinutes,
idleSessionLifetime,
+ idleSessionLifetimeInMinutes,
ephemeralSessionLifetime,
idleEphemeralSessionLifetime,
+ ephemeralSessionLifetimeInMinutes,
+ idleEphemeralSessionLifetimeInMinutes,
sandboxVersion,
legacySandboxVersion,
defaultRedirectionUri,
enabledLocales,
+ securityHeaders,
sessionCookie,
sessions,
oidcLogout,
@@ -1682,6 +1900,7 @@ public UpdateTenantSettingsRequestContent build() {
clientIdMetadataDocumentSupported,
enableAiGuide,
phoneConsolidatedExperience,
+ includeSessionMetadataInTenantLogs,
dynamicClientRegistrationSecurityMode,
countryCodes,
additionalProperties);
diff --git a/src/main/java/com/auth0/client/mgmt/types/AculContextEnum.java b/src/main/java/com/auth0/client/mgmt/types/AculContextEnum.java
index 3a65dc92..ce1f1484 100644
--- a/src/main/java/com/auth0/client/mgmt/types/AculContextEnum.java
+++ b/src/main/java/com/auth0/client/mgmt/types/AculContextEnum.java
@@ -24,6 +24,8 @@ public final class AculContextEnum {
public static final AculContextEnum SCREEN_TEXTS = new AculContextEnum(Value.SCREEN_TEXTS, "screen.texts");
+ public static final AculContextEnum EXPERIMENT = new AculContextEnum(Value.EXPERIMENT, "experiment");
+
public static final AculContextEnum BRANDING_SETTINGS =
new AculContextEnum(Value.BRANDING_SETTINGS, "branding.settings");
@@ -98,6 +100,8 @@ public T visit(Visitor visitor) {
return visitor.visitClientDescription();
case SCREEN_TEXTS:
return visitor.visitScreenTexts();
+ case EXPERIMENT:
+ return visitor.visitExperiment();
case BRANDING_SETTINGS:
return visitor.visitBrandingSettings();
case TRANSACTION_CUSTOM_DOMAIN_DOMAIN:
@@ -141,6 +145,8 @@ public static AculContextEnum valueOf(String value) {
return CLIENT_DESCRIPTION;
case "screen.texts":
return SCREEN_TEXTS;
+ case "experiment":
+ return EXPERIMENT;
case "branding.settings":
return BRANDING_SETTINGS;
case "transaction.custom_domain.domain":
@@ -203,6 +209,8 @@ public enum Value {
TRANSACTION_CUSTOM_DOMAIN_DOMAIN,
+ EXPERIMENT,
+
UNKNOWN
}
@@ -241,6 +249,8 @@ public interface Visitor {
T visitTransactionCustomDomainDomain();
+ T visitExperiment();
+
T visitUnknown(String unknownType);
}
}
diff --git a/src/main/java/com/auth0/client/mgmt/types/BrandingIdentifiers.java b/src/main/java/com/auth0/client/mgmt/types/BrandingIdentifiers.java
deleted file mode 100644
index 179700d7..00000000
--- a/src/main/java/com/auth0/client/mgmt/types/BrandingIdentifiers.java
+++ /dev/null
@@ -1,161 +0,0 @@
-/**
- * This file was auto-generated by Fern from our API Definition.
- */
-package com.auth0.client.mgmt.types;
-
-import com.auth0.client.mgmt.core.ObjectMappers;
-import com.fasterxml.jackson.annotation.JsonAnyGetter;
-import com.fasterxml.jackson.annotation.JsonAnySetter;
-import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
-import com.fasterxml.jackson.annotation.JsonInclude;
-import com.fasterxml.jackson.annotation.JsonProperty;
-import com.fasterxml.jackson.annotation.JsonSetter;
-import com.fasterxml.jackson.annotation.Nulls;
-import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
-import java.util.HashMap;
-import java.util.Map;
-import java.util.Objects;
-import java.util.Optional;
-
-@JsonInclude(JsonInclude.Include.NON_ABSENT)
-@JsonDeserialize(builder = BrandingIdentifiers.Builder.class)
-public final class BrandingIdentifiers {
- private final Optional loginDisplay;
-
- private final Optional otpAutocomplete;
-
- private final Optional phoneDisplay;
-
- private final Map additionalProperties;
-
- private BrandingIdentifiers(
- Optional loginDisplay,
- Optional otpAutocomplete,
- Optional phoneDisplay,
- Map additionalProperties) {
- this.loginDisplay = loginDisplay;
- this.otpAutocomplete = otpAutocomplete;
- this.phoneDisplay = phoneDisplay;
- this.additionalProperties = additionalProperties;
- }
-
- @JsonProperty("login_display")
- public Optional getLoginDisplay() {
- return loginDisplay;
- }
-
- /**
- * @return Whether OTP autocomplete (autocomplete="one-time-code") is enabled.
- */
- @JsonProperty("otp_autocomplete")
- public Optional getOtpAutocomplete() {
- return otpAutocomplete;
- }
-
- @JsonProperty("phone_display")
- public Optional getPhoneDisplay() {
- return phoneDisplay;
- }
-
- @java.lang.Override
- public boolean equals(Object other) {
- if (this == other) return true;
- return other instanceof BrandingIdentifiers && equalTo((BrandingIdentifiers) other);
- }
-
- @JsonAnyGetter
- public Map getAdditionalProperties() {
- return this.additionalProperties;
- }
-
- private boolean equalTo(BrandingIdentifiers other) {
- return loginDisplay.equals(other.loginDisplay)
- && otpAutocomplete.equals(other.otpAutocomplete)
- && phoneDisplay.equals(other.phoneDisplay);
- }
-
- @java.lang.Override
- public int hashCode() {
- return Objects.hash(this.loginDisplay, this.otpAutocomplete, this.phoneDisplay);
- }
-
- @java.lang.Override
- public String toString() {
- return ObjectMappers.stringify(this);
- }
-
- public static Builder builder() {
- return new Builder();
- }
-
- @JsonIgnoreProperties(ignoreUnknown = true)
- public static final class Builder {
- private Optional loginDisplay = Optional.empty();
-
- private Optional otpAutocomplete = Optional.empty();
-
- private Optional phoneDisplay = Optional.empty();
-
- @JsonAnySetter
- private Map additionalProperties = new HashMap<>();
-
- private Builder() {}
-
- public Builder from(BrandingIdentifiers other) {
- loginDisplay(other.getLoginDisplay());
- otpAutocomplete(other.getOtpAutocomplete());
- phoneDisplay(other.getPhoneDisplay());
- return this;
- }
-
- @JsonSetter(value = "login_display", nulls = Nulls.SKIP)
- public Builder loginDisplay(Optional loginDisplay) {
- this.loginDisplay = loginDisplay;
- return this;
- }
-
- public Builder loginDisplay(BrandingLoginDisplayEnum loginDisplay) {
- this.loginDisplay = Optional.ofNullable(loginDisplay);
- return this;
- }
-
- /**
- * Whether OTP autocomplete (autocomplete="one-time-code") is enabled.
- */
- @JsonSetter(value = "otp_autocomplete", nulls = Nulls.SKIP)
- public Builder otpAutocomplete(Optional otpAutocomplete) {
- this.otpAutocomplete = otpAutocomplete;
- return this;
- }
-
- public Builder otpAutocomplete(Boolean otpAutocomplete) {
- this.otpAutocomplete = Optional.ofNullable(otpAutocomplete);
- return this;
- }
-
- @JsonSetter(value = "phone_display", nulls = Nulls.SKIP)
- public Builder phoneDisplay(Optional phoneDisplay) {
- this.phoneDisplay = phoneDisplay;
- return this;
- }
-
- public Builder phoneDisplay(BrandingPhoneDisplay phoneDisplay) {
- this.phoneDisplay = Optional.ofNullable(phoneDisplay);
- return this;
- }
-
- public BrandingIdentifiers build() {
- return new BrandingIdentifiers(loginDisplay, otpAutocomplete, phoneDisplay, additionalProperties);
- }
-
- public Builder additionalProperty(String key, Object value) {
- this.additionalProperties.put(key, value);
- return this;
- }
-
- public Builder additionalProperties(Map additionalProperties) {
- this.additionalProperties.putAll(additionalProperties);
- return this;
- }
- }
-}
diff --git a/src/main/java/com/auth0/client/mgmt/types/BrandingPhoneDisplay.java b/src/main/java/com/auth0/client/mgmt/types/BrandingPhoneDisplay.java
deleted file mode 100644
index 76aa34b1..00000000
--- a/src/main/java/com/auth0/client/mgmt/types/BrandingPhoneDisplay.java
+++ /dev/null
@@ -1,130 +0,0 @@
-/**
- * This file was auto-generated by Fern from our API Definition.
- */
-package com.auth0.client.mgmt.types;
-
-import com.auth0.client.mgmt.core.ObjectMappers;
-import com.fasterxml.jackson.annotation.JsonAnyGetter;
-import com.fasterxml.jackson.annotation.JsonAnySetter;
-import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
-import com.fasterxml.jackson.annotation.JsonInclude;
-import com.fasterxml.jackson.annotation.JsonProperty;
-import com.fasterxml.jackson.annotation.JsonSetter;
-import com.fasterxml.jackson.annotation.Nulls;
-import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
-import java.util.HashMap;
-import java.util.Map;
-import java.util.Objects;
-import java.util.Optional;
-
-@JsonInclude(JsonInclude.Include.NON_ABSENT)
-@JsonDeserialize(builder = BrandingPhoneDisplay.Builder.class)
-public final class BrandingPhoneDisplay {
- private final Optional masking;
-
- private final Optional formatting;
-
- private final Map additionalProperties;
-
- private BrandingPhoneDisplay(
- Optional masking,
- Optional formatting,
- Map additionalProperties) {
- this.masking = masking;
- this.formatting = formatting;
- this.additionalProperties = additionalProperties;
- }
-
- @JsonProperty("masking")
- public Optional getMasking() {
- return masking;
- }
-
- @JsonProperty("formatting")
- public Optional getFormatting() {
- return formatting;
- }
-
- @java.lang.Override
- public boolean equals(Object other) {
- if (this == other) return true;
- return other instanceof BrandingPhoneDisplay && equalTo((BrandingPhoneDisplay) other);
- }
-
- @JsonAnyGetter
- public Map getAdditionalProperties() {
- return this.additionalProperties;
- }
-
- private boolean equalTo(BrandingPhoneDisplay other) {
- return masking.equals(other.masking) && formatting.equals(other.formatting);
- }
-
- @java.lang.Override
- public int hashCode() {
- return Objects.hash(this.masking, this.formatting);
- }
-
- @java.lang.Override
- public String toString() {
- return ObjectMappers.stringify(this);
- }
-
- public static Builder builder() {
- return new Builder();
- }
-
- @JsonIgnoreProperties(ignoreUnknown = true)
- public static final class Builder {
- private Optional masking = Optional.empty();
-
- private Optional formatting = Optional.empty();
-
- @JsonAnySetter
- private Map additionalProperties = new HashMap<>();
-
- private Builder() {}
-
- public Builder from(BrandingPhoneDisplay other) {
- masking(other.getMasking());
- formatting(other.getFormatting());
- return this;
- }
-
- @JsonSetter(value = "masking", nulls = Nulls.SKIP)
- public Builder masking(Optional masking) {
- this.masking = masking;
- return this;
- }
-
- public Builder masking(BrandingPhoneMaskingEnum masking) {
- this.masking = Optional.ofNullable(masking);
- return this;
- }
-
- @JsonSetter(value = "formatting", nulls = Nulls.SKIP)
- public Builder formatting(Optional formatting) {
- this.formatting = formatting;
- return this;
- }
-
- public Builder formatting(BrandingPhoneFormattingEnum formatting) {
- this.formatting = Optional.ofNullable(formatting);
- return this;
- }
-
- public BrandingPhoneDisplay build() {
- return new BrandingPhoneDisplay(masking, formatting, additionalProperties);
- }
-
- public Builder additionalProperty(String key, Object value) {
- this.additionalProperties.put(key, value);
- return this;
- }
-
- public Builder additionalProperties(Map additionalProperties) {
- this.additionalProperties.putAll(additionalProperties);
- return this;
- }
- }
-}
diff --git a/src/main/java/com/auth0/client/mgmt/types/BrandingPhoneFormattingEnum.java b/src/main/java/com/auth0/client/mgmt/types/BrandingPhoneFormattingEnum.java
deleted file mode 100644
index 3a1071df..00000000
--- a/src/main/java/com/auth0/client/mgmt/types/BrandingPhoneFormattingEnum.java
+++ /dev/null
@@ -1,86 +0,0 @@
-/**
- * This file was auto-generated by Fern from our API Definition.
- */
-package com.auth0.client.mgmt.types;
-
-import com.fasterxml.jackson.annotation.JsonCreator;
-import com.fasterxml.jackson.annotation.JsonValue;
-
-public final class BrandingPhoneFormattingEnum {
- public static final BrandingPhoneFormattingEnum REGIONAL =
- new BrandingPhoneFormattingEnum(Value.REGIONAL, "regional");
-
- public static final BrandingPhoneFormattingEnum INTERNATIONAL =
- new BrandingPhoneFormattingEnum(Value.INTERNATIONAL, "international");
-
- private final Value value;
-
- private final String string;
-
- BrandingPhoneFormattingEnum(Value value, String string) {
- this.value = value;
- this.string = string;
- }
-
- public Value getEnumValue() {
- return value;
- }
-
- @java.lang.Override
- @JsonValue
- public String toString() {
- return this.string;
- }
-
- @java.lang.Override
- public boolean equals(Object other) {
- return (this == other)
- || (other instanceof BrandingPhoneFormattingEnum
- && this.string.equals(((BrandingPhoneFormattingEnum) other).string));
- }
-
- @java.lang.Override
- public int hashCode() {
- return this.string.hashCode();
- }
-
- public T visit(Visitor visitor) {
- switch (value) {
- case REGIONAL:
- return visitor.visitRegional();
- case INTERNATIONAL:
- return visitor.visitInternational();
- case UNKNOWN:
- default:
- return visitor.visitUnknown(string);
- }
- }
-
- @JsonCreator(mode = JsonCreator.Mode.DELEGATING)
- public static BrandingPhoneFormattingEnum valueOf(String value) {
- switch (value) {
- case "regional":
- return REGIONAL;
- case "international":
- return INTERNATIONAL;
- default:
- return new BrandingPhoneFormattingEnum(Value.UNKNOWN, value);
- }
- }
-
- public enum Value {
- REGIONAL,
-
- INTERNATIONAL,
-
- UNKNOWN
- }
-
- public interface Visitor {
- T visitRegional();
-
- T visitInternational();
-
- T visitUnknown(String unknownType);
- }
-}
diff --git a/src/main/java/com/auth0/client/mgmt/types/BrandingPhoneMaskingEnum.java b/src/main/java/com/auth0/client/mgmt/types/BrandingPhoneMaskingEnum.java
deleted file mode 100644
index 68e36a16..00000000
--- a/src/main/java/com/auth0/client/mgmt/types/BrandingPhoneMaskingEnum.java
+++ /dev/null
@@ -1,96 +0,0 @@
-/**
- * This file was auto-generated by Fern from our API Definition.
- */
-package com.auth0.client.mgmt.types;
-
-import com.fasterxml.jackson.annotation.JsonCreator;
-import com.fasterxml.jackson.annotation.JsonValue;
-
-public final class BrandingPhoneMaskingEnum {
- public static final BrandingPhoneMaskingEnum SHOW_ALL = new BrandingPhoneMaskingEnum(Value.SHOW_ALL, "show_all");
-
- public static final BrandingPhoneMaskingEnum MASK_DIGITS =
- new BrandingPhoneMaskingEnum(Value.MASK_DIGITS, "mask_digits");
-
- public static final BrandingPhoneMaskingEnum HIDE_COUNTRY_CODE =
- new BrandingPhoneMaskingEnum(Value.HIDE_COUNTRY_CODE, "hide_country_code");
-
- private final Value value;
-
- private final String string;
-
- BrandingPhoneMaskingEnum(Value value, String string) {
- this.value = value;
- this.string = string;
- }
-
- public Value getEnumValue() {
- return value;
- }
-
- @java.lang.Override
- @JsonValue
- public String toString() {
- return this.string;
- }
-
- @java.lang.Override
- public boolean equals(Object other) {
- return (this == other)
- || (other instanceof BrandingPhoneMaskingEnum
- && this.string.equals(((BrandingPhoneMaskingEnum) other).string));
- }
-
- @java.lang.Override
- public int hashCode() {
- return this.string.hashCode();
- }
-
- public T visit(Visitor visitor) {
- switch (value) {
- case SHOW_ALL:
- return visitor.visitShowAll();
- case MASK_DIGITS:
- return visitor.visitMaskDigits();
- case HIDE_COUNTRY_CODE:
- return visitor.visitHideCountryCode();
- case UNKNOWN:
- default:
- return visitor.visitUnknown(string);
- }
- }
-
- @JsonCreator(mode = JsonCreator.Mode.DELEGATING)
- public static BrandingPhoneMaskingEnum valueOf(String value) {
- switch (value) {
- case "show_all":
- return SHOW_ALL;
- case "mask_digits":
- return MASK_DIGITS;
- case "hide_country_code":
- return HIDE_COUNTRY_CODE;
- default:
- return new BrandingPhoneMaskingEnum(Value.UNKNOWN, value);
- }
- }
-
- public enum Value {
- SHOW_ALL,
-
- HIDE_COUNTRY_CODE,
-
- MASK_DIGITS,
-
- UNKNOWN
- }
-
- public interface Visitor {
- T visitShowAll();
-
- T visitHideCountryCode();
-
- T visitMaskDigits();
-
- T visitUnknown(String unknownType);
- }
-}
diff --git a/src/main/java/com/auth0/client/mgmt/types/ClientMyOrganizationPatchConfiguration.java b/src/main/java/com/auth0/client/mgmt/types/ClientMyOrganizationPatchConfiguration.java
index 56a5beff..e55af4a1 100644
--- a/src/main/java/com/auth0/client/mgmt/types/ClientMyOrganizationPatchConfiguration.java
+++ b/src/main/java/com/auth0/client/mgmt/types/ClientMyOrganizationPatchConfiguration.java
@@ -31,6 +31,8 @@ public final class ClientMyOrganizationPatchConfiguration {
private final ClientMyOrganizationDeletionBehaviorEnum connectionDeletionBehavior;
+ private final Optional invitationLandingClientId;
+
private final Map additionalProperties;
private ClientMyOrganizationPatchConfiguration(
@@ -38,11 +40,13 @@ private ClientMyOrganizationPatchConfiguration(
Optional userAttributeProfileId,
List allowedStrategies,
ClientMyOrganizationDeletionBehaviorEnum connectionDeletionBehavior,
+ Optional invitationLandingClientId,
Map additionalProperties) {
this.connectionProfileId = connectionProfileId;
this.userAttributeProfileId = userAttributeProfileId;
this.allowedStrategies = allowedStrategies;
this.connectionDeletionBehavior = connectionDeletionBehavior;
+ this.invitationLandingClientId = invitationLandingClientId;
this.additionalProperties = additionalProperties;
}
@@ -75,6 +79,14 @@ public ClientMyOrganizationDeletionBehaviorEnum getConnectionDeletionBehavior()
return connectionDeletionBehavior;
}
+ /**
+ * @return The client ID this client uses while creating invitations through My Organization API.
+ */
+ @JsonProperty("invitation_landing_client_id")
+ public Optional getInvitationLandingClientId() {
+ return invitationLandingClientId;
+ }
+
@java.lang.Override
public boolean equals(Object other) {
if (this == other) return true;
@@ -91,7 +103,8 @@ private boolean equalTo(ClientMyOrganizationPatchConfiguration other) {
return connectionProfileId.equals(other.connectionProfileId)
&& userAttributeProfileId.equals(other.userAttributeProfileId)
&& allowedStrategies.equals(other.allowedStrategies)
- && connectionDeletionBehavior.equals(other.connectionDeletionBehavior);
+ && connectionDeletionBehavior.equals(other.connectionDeletionBehavior)
+ && invitationLandingClientId.equals(other.invitationLandingClientId);
}
@java.lang.Override
@@ -100,7 +113,8 @@ public int hashCode() {
this.connectionProfileId,
this.userAttributeProfileId,
this.allowedStrategies,
- this.connectionDeletionBehavior);
+ this.connectionDeletionBehavior,
+ this.invitationLandingClientId);
}
@java.lang.Override
@@ -149,12 +163,21 @@ public interface _FinalStage {
_FinalStage addAllAllowedStrategies(
List allowedStrategies);
+
+ /**
+ * The client ID this client uses while creating invitations through My Organization API.
+ */
+ _FinalStage invitationLandingClientId(Optional invitationLandingClientId);
+
+ _FinalStage invitationLandingClientId(String invitationLandingClientId);
}
@JsonIgnoreProperties(ignoreUnknown = true)
public static final class Builder implements ConnectionDeletionBehaviorStage, _FinalStage {
private ClientMyOrganizationDeletionBehaviorEnum connectionDeletionBehavior;
+ private Optional invitationLandingClientId = Optional.empty();
+
private List allowedStrategies = new ArrayList<>();
private Optional userAttributeProfileId = Optional.empty();
@@ -172,6 +195,7 @@ public Builder from(ClientMyOrganizationPatchConfiguration other) {
userAttributeProfileId(other.getUserAttributeProfileId());
allowedStrategies(other.getAllowedStrategies());
connectionDeletionBehavior(other.getConnectionDeletionBehavior());
+ invitationLandingClientId(other.getInvitationLandingClientId());
return this;
}
@@ -184,6 +208,26 @@ public _FinalStage connectionDeletionBehavior(
return this;
}
+ /**
+ * The client ID this client uses while creating invitations through My Organization API.
+ * @return Reference to {@code this} so that method calls can be chained together.
+ */
+ @java.lang.Override
+ public _FinalStage invitationLandingClientId(String invitationLandingClientId) {
+ this.invitationLandingClientId = Optional.ofNullable(invitationLandingClientId);
+ return this;
+ }
+
+ /**
+ * The client ID this client uses while creating invitations through My Organization API.
+ */
+ @java.lang.Override
+ @JsonSetter(value = "invitation_landing_client_id", nulls = Nulls.SKIP)
+ public _FinalStage invitationLandingClientId(Optional invitationLandingClientId) {
+ this.invitationLandingClientId = invitationLandingClientId;
+ return this;
+ }
+
/**
* The allowed connection strategies for the My Organization Configuration.
* @return Reference to {@code this} so that method calls can be chained together.
@@ -269,6 +313,7 @@ public ClientMyOrganizationPatchConfiguration build() {
userAttributeProfileId,
allowedStrategies,
connectionDeletionBehavior,
+ invitationLandingClientId,
additionalProperties);
}
diff --git a/src/main/java/com/auth0/client/mgmt/types/ClientMyOrganizationPostConfiguration.java b/src/main/java/com/auth0/client/mgmt/types/ClientMyOrganizationPostConfiguration.java
index a4080a36..893627af 100644
--- a/src/main/java/com/auth0/client/mgmt/types/ClientMyOrganizationPostConfiguration.java
+++ b/src/main/java/com/auth0/client/mgmt/types/ClientMyOrganizationPostConfiguration.java
@@ -31,6 +31,8 @@ public final class ClientMyOrganizationPostConfiguration {
private final ClientMyOrganizationDeletionBehaviorEnum connectionDeletionBehavior;
+ private final Optional invitationLandingClientId;
+
private final Map additionalProperties;
private ClientMyOrganizationPostConfiguration(
@@ -38,11 +40,13 @@ private ClientMyOrganizationPostConfiguration(
Optional userAttributeProfileId,
List allowedStrategies,
ClientMyOrganizationDeletionBehaviorEnum connectionDeletionBehavior,
+ Optional invitationLandingClientId,
Map additionalProperties) {
this.connectionProfileId = connectionProfileId;
this.userAttributeProfileId = userAttributeProfileId;
this.allowedStrategies = allowedStrategies;
this.connectionDeletionBehavior = connectionDeletionBehavior;
+ this.invitationLandingClientId = invitationLandingClientId;
this.additionalProperties = additionalProperties;
}
@@ -75,6 +79,14 @@ public ClientMyOrganizationDeletionBehaviorEnum getConnectionDeletionBehavior()
return connectionDeletionBehavior;
}
+ /**
+ * @return The client ID this client uses while creating invitations through My Organization API.
+ */
+ @JsonProperty("invitation_landing_client_id")
+ public Optional getInvitationLandingClientId() {
+ return invitationLandingClientId;
+ }
+
@java.lang.Override
public boolean equals(Object other) {
if (this == other) return true;
@@ -91,7 +103,8 @@ private boolean equalTo(ClientMyOrganizationPostConfiguration other) {
return connectionProfileId.equals(other.connectionProfileId)
&& userAttributeProfileId.equals(other.userAttributeProfileId)
&& allowedStrategies.equals(other.allowedStrategies)
- && connectionDeletionBehavior.equals(other.connectionDeletionBehavior);
+ && connectionDeletionBehavior.equals(other.connectionDeletionBehavior)
+ && invitationLandingClientId.equals(other.invitationLandingClientId);
}
@java.lang.Override
@@ -100,7 +113,8 @@ public int hashCode() {
this.connectionProfileId,
this.userAttributeProfileId,
this.allowedStrategies,
- this.connectionDeletionBehavior);
+ this.connectionDeletionBehavior,
+ this.invitationLandingClientId);
}
@java.lang.Override
@@ -149,12 +163,21 @@ public interface _FinalStage {
_FinalStage addAllAllowedStrategies(
List allowedStrategies);
+
+ /**
+ * The client ID this client uses while creating invitations through My Organization API.
+ */
+ _FinalStage invitationLandingClientId(Optional invitationLandingClientId);
+
+ _FinalStage invitationLandingClientId(String invitationLandingClientId);
}
@JsonIgnoreProperties(ignoreUnknown = true)
public static final class Builder implements ConnectionDeletionBehaviorStage, _FinalStage {
private ClientMyOrganizationDeletionBehaviorEnum connectionDeletionBehavior;
+ private Optional invitationLandingClientId = Optional.empty();
+
private List allowedStrategies = new ArrayList<>();
private Optional userAttributeProfileId = Optional.empty();
@@ -172,6 +195,7 @@ public Builder from(ClientMyOrganizationPostConfiguration other) {
userAttributeProfileId(other.getUserAttributeProfileId());
allowedStrategies(other.getAllowedStrategies());
connectionDeletionBehavior(other.getConnectionDeletionBehavior());
+ invitationLandingClientId(other.getInvitationLandingClientId());
return this;
}
@@ -184,6 +208,26 @@ public _FinalStage connectionDeletionBehavior(
return this;
}
+ /**
+ * The client ID this client uses while creating invitations through My Organization API.
+ * @return Reference to {@code this} so that method calls can be chained together.
+ */
+ @java.lang.Override
+ public _FinalStage invitationLandingClientId(String invitationLandingClientId) {
+ this.invitationLandingClientId = Optional.ofNullable(invitationLandingClientId);
+ return this;
+ }
+
+ /**
+ * The client ID this client uses while creating invitations through My Organization API.
+ */
+ @java.lang.Override
+ @JsonSetter(value = "invitation_landing_client_id", nulls = Nulls.SKIP)
+ public _FinalStage invitationLandingClientId(Optional invitationLandingClientId) {
+ this.invitationLandingClientId = invitationLandingClientId;
+ return this;
+ }
+
/**
* The allowed connection strategies for the My Organization Configuration.
* @return Reference to {@code this} so that method calls can be chained together.
@@ -269,6 +313,7 @@ public ClientMyOrganizationPostConfiguration build() {
userAttributeProfileId,
allowedStrategies,
connectionDeletionBehavior,
+ invitationLandingClientId,
additionalProperties);
}
diff --git a/src/main/java/com/auth0/client/mgmt/types/ClientMyOrganizationResponseConfiguration.java b/src/main/java/com/auth0/client/mgmt/types/ClientMyOrganizationResponseConfiguration.java
index 5897b858..f7db3abe 100644
--- a/src/main/java/com/auth0/client/mgmt/types/ClientMyOrganizationResponseConfiguration.java
+++ b/src/main/java/com/auth0/client/mgmt/types/ClientMyOrganizationResponseConfiguration.java
@@ -31,6 +31,8 @@ public final class ClientMyOrganizationResponseConfiguration {
private final ClientMyOrganizationDeletionBehaviorEnum connectionDeletionBehavior;
+ private final Optional invitationLandingClientId;
+
private final Map additionalProperties;
private ClientMyOrganizationResponseConfiguration(
@@ -38,11 +40,13 @@ private ClientMyOrganizationResponseConfiguration(
Optional userAttributeProfileId,
List allowedStrategies,
ClientMyOrganizationDeletionBehaviorEnum connectionDeletionBehavior,
+ Optional invitationLandingClientId,
Map additionalProperties) {
this.connectionProfileId = connectionProfileId;
this.userAttributeProfileId = userAttributeProfileId;
this.allowedStrategies = allowedStrategies;
this.connectionDeletionBehavior = connectionDeletionBehavior;
+ this.invitationLandingClientId = invitationLandingClientId;
this.additionalProperties = additionalProperties;
}
@@ -75,6 +79,14 @@ public ClientMyOrganizationDeletionBehaviorEnum getConnectionDeletionBehavior()
return connectionDeletionBehavior;
}
+ /**
+ * @return The client ID this client uses while creating invitations through My Organization API.
+ */
+ @JsonProperty("invitation_landing_client_id")
+ public Optional getInvitationLandingClientId() {
+ return invitationLandingClientId;
+ }
+
@java.lang.Override
public boolean equals(Object other) {
if (this == other) return true;
@@ -91,7 +103,8 @@ private boolean equalTo(ClientMyOrganizationResponseConfiguration other) {
return connectionProfileId.equals(other.connectionProfileId)
&& userAttributeProfileId.equals(other.userAttributeProfileId)
&& allowedStrategies.equals(other.allowedStrategies)
- && connectionDeletionBehavior.equals(other.connectionDeletionBehavior);
+ && connectionDeletionBehavior.equals(other.connectionDeletionBehavior)
+ && invitationLandingClientId.equals(other.invitationLandingClientId);
}
@java.lang.Override
@@ -100,7 +113,8 @@ public int hashCode() {
this.connectionProfileId,
this.userAttributeProfileId,
this.allowedStrategies,
- this.connectionDeletionBehavior);
+ this.connectionDeletionBehavior,
+ this.invitationLandingClientId);
}
@java.lang.Override
@@ -149,12 +163,21 @@ public interface _FinalStage {
_FinalStage addAllAllowedStrategies(
List allowedStrategies);
+
+ /**
+ * The client ID this client uses while creating invitations through My Organization API.
+ */
+ _FinalStage invitationLandingClientId(Optional invitationLandingClientId);
+
+ _FinalStage invitationLandingClientId(String invitationLandingClientId);
}
@JsonIgnoreProperties(ignoreUnknown = true)
public static final class Builder implements ConnectionDeletionBehaviorStage, _FinalStage {
private ClientMyOrganizationDeletionBehaviorEnum connectionDeletionBehavior;
+ private Optional invitationLandingClientId = Optional.empty();
+
private List allowedStrategies = new ArrayList<>();
private Optional userAttributeProfileId = Optional.empty();
@@ -172,6 +195,7 @@ public Builder from(ClientMyOrganizationResponseConfiguration other) {
userAttributeProfileId(other.getUserAttributeProfileId());
allowedStrategies(other.getAllowedStrategies());
connectionDeletionBehavior(other.getConnectionDeletionBehavior());
+ invitationLandingClientId(other.getInvitationLandingClientId());
return this;
}
@@ -184,6 +208,26 @@ public _FinalStage connectionDeletionBehavior(
return this;
}
+ /**
+ * The client ID this client uses while creating invitations through My Organization API.
+ * @return Reference to {@code this} so that method calls can be chained together.
+ */
+ @java.lang.Override
+ public _FinalStage invitationLandingClientId(String invitationLandingClientId) {
+ this.invitationLandingClientId = Optional.ofNullable(invitationLandingClientId);
+ return this;
+ }
+
+ /**
+ * The client ID this client uses while creating invitations through My Organization API.
+ */
+ @java.lang.Override
+ @JsonSetter(value = "invitation_landing_client_id", nulls = Nulls.SKIP)
+ public _FinalStage invitationLandingClientId(Optional invitationLandingClientId) {
+ this.invitationLandingClientId = invitationLandingClientId;
+ return this;
+ }
+
/**
* The allowed connection strategies for the My Organization Configuration.
* @return Reference to {@code this} so that method calls can be chained together.
@@ -269,6 +313,7 @@ public ClientMyOrganizationResponseConfiguration build() {
userAttributeProfileId,
allowedStrategies,
connectionDeletionBehavior,
+ invitationLandingClientId,
additionalProperties);
}
diff --git a/src/main/java/com/auth0/client/mgmt/types/ConnectionOptionsCommonOidc.java b/src/main/java/com/auth0/client/mgmt/types/ConnectionOptionsCommonOidc.java
index 98837176..bb79a4a4 100644
--- a/src/main/java/com/auth0/client/mgmt/types/ConnectionOptionsCommonOidc.java
+++ b/src/main/java/com/auth0/client/mgmt/types/ConnectionOptionsCommonOidc.java
@@ -41,6 +41,8 @@ public final class ConnectionOptionsCommonOidc implements IConnectionOptionsComm
private final Optional iconUrl;
+ private final Optional idTokenSessionExpirySupported;
+
private final OptionalNullable> idTokenSignedResponseAlgs;
private final Optional issuer;
@@ -81,6 +83,7 @@ private ConnectionOptionsCommonOidc(
Optional dpopSigningAlg,
OptionalNullable federatedConnectionsAccessTokens,
Optional iconUrl,
+ Optional idTokenSessionExpirySupported,
OptionalNullable> idTokenSignedResponseAlgs,
Optional