From c4c5a61c471bcfe4ce5e605ae82490338e4e6f1a Mon Sep 17 00:00:00 2001
From: "fern-api[bot]" <115122769+fern-api[bot]@users.noreply.github.com>
Date: Tue, 21 Jul 2026 07:15:52 +0000
Subject: [PATCH 1/2] [fern-generated] Update SDK
Generated by Fern
CLI Version: unknown
Generators:
- fernapi/fern-java-sdk: 4.11.1
---
reference.md | 58 +++++-
.../CreateBrandingThemeRequestContent.java | 42 +++-
.../UpdateBrandingThemeRequestContent.java | 42 +++-
...ServiceProfileSsoTicketRequestContent.java | 28 +++
.../mgmt/types/BrandingThemeIdentifiers.java | 179 ++++++++++++++++++
...ndingThemeIdentifiersLoginDisplayEnum.java | 86 +++++++++
.../BrandingThemeIdentifiersPhoneDisplay.java | 144 ++++++++++++++
...IdentifiersPhoneDisplayFormattingEnum.java | 86 +++++++++
...emeIdentifiersPhoneDisplayMaskingEnum.java | 97 ++++++++++
.../com/auth0/client/mgmt/types/Client.java | 28 +++
.../client/mgmt/types/ClientAppTypeEnum.java | 11 ++
.../types/ClientGrantSubjectTypeEnum.java | 11 ++
.../ConnectionCrossAppAccessResourceApp.java | 120 ++++++++++++
...onCrossAppAccessResourceAppStatusEnum.java | 86 +++++++++
.../client/mgmt/types/ConnectionForList.java | 30 ++-
.../types/ConnectionResponseContentOidc.java | 76 ++++++++
.../CreateBrandingThemeResponseContent.java | 43 ++++-
.../types/CreateClientRequestContent.java | 37 ++++
.../types/CreateClientResponseContent.java | 28 +++
.../types/CreateConnectionRequestContent.java | 37 +++-
.../CreateConnectionRequestContentOidc.java | 76 ++++++++
.../CreateConnectionResponseContent.java | 30 ++-
.../CreateCrossAppAccessResourceApp.java | 119 ++++++++++++
...teIdentityAssertionAuthorizationGrant.java | 128 +++++++++++++
.../mgmt/types/CrossAppAccessResourceApp.java | 119 ++++++++++++
.../CrossAppAccessResourceAppStatusEnum.java | 86 +++++++++
...etBrandingDefaultThemeResponseContent.java | 43 ++++-
.../GetBrandingThemeResponseContent.java | 43 ++++-
.../mgmt/types/GetClientResponseContent.java | 28 +++
.../types/GetConnectionResponseContent.java | 30 ++-
.../mgmt/types/GetSessionResponseContent.java | 30 ++-
.../IdentityAssertionAuthorizationGrant.java | 128 +++++++++++++
.../types/ListClientsRequestParameters.java | 4 +-
.../RotateClientSecretResponseContent.java | 28 +++
.../mgmt/types/SessionActorClaimValue.java | 105 ++++++++++
.../mgmt/types/SessionActorMetadata.java | 128 +++++++++++++
.../mgmt/types/SessionResponseContent.java | 30 ++-
...ThrottlingPreCustomTokenExchangeStage.java | 141 ++++++++++++++
.../types/SuspiciousIpThrottlingStage.java | 34 +++-
.../types/ThirdPartyClientAccessConfig.java | 127 +++++++++++++
.../UpdateBrandingThemeResponseContent.java | 43 ++++-
.../types/UpdateClientRequestContent.java | 66 +++++++
.../types/UpdateClientResponseContent.java | 28 +++
.../types/UpdateConnectionRequestContent.java | 62 +++++-
.../UpdateConnectionRequestContentOidc.java | 62 ++++++
.../UpdateConnectionResponseContent.java | 30 ++-
.../UpdateCrossAppAccessResourceApp.java | 119 ++++++++++++
...teIdentityAssertionAuthorizationGrant.java | 128 +++++++++++++
.../types/UpdateSessionResponseContent.java | 30 ++-
...tectionSuspiciousIpThrottlingWireTest.java | 12 +-
.../mgmt/ClientsConnectionsWireTest.java | 2 +-
.../client/mgmt/ConnectionsWireTest.java | 17 +-
.../auth0/client/mgmt/SessionsWireTest.java | 10 +-
.../client/mgmt/UsersSessionsWireTest.java | 2 +-
...ingThemesWireTest_testCreate_response.json | 8 +
...hemesWireTest_testGetDefault_response.json | 8 +
...andingThemesWireTest_testGet_response.json | 8 +
...ingThemesWireTest_testUpdate_response.json | 8 +
.../ClientsWireTest_testCreate_response.json | 3 +
.../ClientsWireTest_testGet_response.json | 3 +
.../ClientsWireTest_testList_response.json | 3 +
...ntsWireTest_testRotateSecret_response.json | 3 +
.../ClientsWireTest_testUpdate_response.json | 3 +
63 files changed, 3342 insertions(+), 42 deletions(-)
create mode 100644 src/main/java/com/auth0/client/mgmt/types/BrandingThemeIdentifiers.java
create mode 100644 src/main/java/com/auth0/client/mgmt/types/BrandingThemeIdentifiersLoginDisplayEnum.java
create mode 100644 src/main/java/com/auth0/client/mgmt/types/BrandingThemeIdentifiersPhoneDisplay.java
create mode 100644 src/main/java/com/auth0/client/mgmt/types/BrandingThemeIdentifiersPhoneDisplayFormattingEnum.java
create mode 100644 src/main/java/com/auth0/client/mgmt/types/BrandingThemeIdentifiersPhoneDisplayMaskingEnum.java
create mode 100644 src/main/java/com/auth0/client/mgmt/types/ConnectionCrossAppAccessResourceApp.java
create mode 100644 src/main/java/com/auth0/client/mgmt/types/ConnectionCrossAppAccessResourceAppStatusEnum.java
create mode 100644 src/main/java/com/auth0/client/mgmt/types/CreateCrossAppAccessResourceApp.java
create mode 100644 src/main/java/com/auth0/client/mgmt/types/CreateIdentityAssertionAuthorizationGrant.java
create mode 100644 src/main/java/com/auth0/client/mgmt/types/CrossAppAccessResourceApp.java
create mode 100644 src/main/java/com/auth0/client/mgmt/types/CrossAppAccessResourceAppStatusEnum.java
create mode 100644 src/main/java/com/auth0/client/mgmt/types/IdentityAssertionAuthorizationGrant.java
create mode 100644 src/main/java/com/auth0/client/mgmt/types/SessionActorClaimValue.java
create mode 100644 src/main/java/com/auth0/client/mgmt/types/SessionActorMetadata.java
create mode 100644 src/main/java/com/auth0/client/mgmt/types/SuspiciousIpThrottlingPreCustomTokenExchangeStage.java
create mode 100644 src/main/java/com/auth0/client/mgmt/types/ThirdPartyClientAccessConfig.java
create mode 100644 src/main/java/com/auth0/client/mgmt/types/UpdateCrossAppAccessResourceApp.java
create mode 100644 src/main/java/com/auth0/client/mgmt/types/UpdateIdentityAssertionAuthorizationGrant.java
diff --git a/reference.md b/reference.md
index 0576977ea..647fa3fc8 100644
--- a/reference.md
+++ b/reference.md
@@ -1302,7 +1302,7 @@ client.clients().list(
-
-**externalClientId:** `Optional` — Optional filter by the Client ID Metadata Document URI for CIMD-registered clients.
+**externalClientId:** `Optional` — Optional filter by the Client ID Metadata Document URI for CIMD-registered clients.
@@ -1786,6 +1786,14 @@ See https://auth0.com/docs/secure/security-guidance/measures-against-app-imperso
-
+**identityAssertionAuthorizationGrant:** `Optional`
+
+
+
+
+
+-
+
**thirdPartySecurityMode:** `Optional`
@@ -2411,6 +2419,14 @@ client.clients().update(
-
+**identityAssertionAuthorizationGrant:** `Optional`
+
+
+
+
+
+-
+
**formTemplate:** `Optional` — Form template for WS-Federation protocol
@@ -3424,6 +3440,14 @@ client.connections().create(
**crossAppAccessRequestingApp:** `Optional`
+
+
+
+
+-
+
+**crossAppAccessResourceApp:** `Optional`
+
@@ -3698,6 +3722,14 @@ client.connections().update(
**crossAppAccessRequestingApp:** `Optional`
+
+
+
+
+-
+
+**crossAppAccessResourceApp:** `Optional`
+
@@ -16871,6 +16903,14 @@ client.branding().themes().create(
-
+**identifiers:** `Optional`
+
+
+
+
+
+-
+
**pageBackground:** `BrandingThemePageBackground`
@@ -17228,6 +17268,14 @@ client.branding().themes().update(
-
+**identifiers:** `Optional`
+
+
+
+
+
+-
+
**pageBackground:** `BrandingThemePageBackground`
@@ -29546,6 +29594,14 @@ client.selfServiceProfiles().ssoTicket().create(
-
+**thirdPartyClientAccessConfig:** `Optional`
+
+
+
+
+
+-
+
**enabledFeatures:** `Optional`
diff --git a/src/main/java/com/auth0/client/mgmt/branding/types/CreateBrandingThemeRequestContent.java b/src/main/java/com/auth0/client/mgmt/branding/types/CreateBrandingThemeRequestContent.java
index 4016a847a..710a805fd 100644
--- a/src/main/java/com/auth0/client/mgmt/branding/types/CreateBrandingThemeRequestContent.java
+++ b/src/main/java/com/auth0/client/mgmt/branding/types/CreateBrandingThemeRequestContent.java
@@ -7,6 +7,7 @@
import com.auth0.client.mgmt.types.BrandingThemeBorders;
import com.auth0.client.mgmt.types.BrandingThemeColors;
import com.auth0.client.mgmt.types.BrandingThemeFonts;
+import com.auth0.client.mgmt.types.BrandingThemeIdentifiers;
import com.auth0.client.mgmt.types.BrandingThemePageBackground;
import com.auth0.client.mgmt.types.BrandingThemeWidget;
import com.fasterxml.jackson.annotation.JsonAnyGetter;
@@ -34,6 +35,8 @@ public final class CreateBrandingThemeRequestContent {
private final BrandingThemeFonts fonts;
+ private final Optional identifiers;
+
private final BrandingThemePageBackground pageBackground;
private final BrandingThemeWidget widget;
@@ -45,6 +48,7 @@ private CreateBrandingThemeRequestContent(
BrandingThemeColors colors,
Optional displayName,
BrandingThemeFonts fonts,
+ Optional identifiers,
BrandingThemePageBackground pageBackground,
BrandingThemeWidget widget,
Map additionalProperties) {
@@ -52,6 +56,7 @@ private CreateBrandingThemeRequestContent(
this.colors = colors;
this.displayName = displayName;
this.fonts = fonts;
+ this.identifiers = identifiers;
this.pageBackground = pageBackground;
this.widget = widget;
this.additionalProperties = additionalProperties;
@@ -80,6 +85,11 @@ public BrandingThemeFonts getFonts() {
return fonts;
}
+ @JsonProperty("identifiers")
+ public Optional getIdentifiers() {
+ return identifiers;
+ }
+
@JsonProperty("page_background")
public BrandingThemePageBackground getPageBackground() {
return pageBackground;
@@ -106,13 +116,21 @@ private boolean equalTo(CreateBrandingThemeRequestContent other) {
&& colors.equals(other.colors)
&& displayName.equals(other.displayName)
&& fonts.equals(other.fonts)
+ && identifiers.equals(other.identifiers)
&& pageBackground.equals(other.pageBackground)
&& widget.equals(other.widget);
}
@java.lang.Override
public int hashCode() {
- return Objects.hash(this.borders, this.colors, this.displayName, this.fonts, this.pageBackground, this.widget);
+ return Objects.hash(
+ this.borders,
+ this.colors,
+ this.displayName,
+ this.fonts,
+ this.identifiers,
+ this.pageBackground,
+ this.widget);
}
@java.lang.Override
@@ -159,6 +177,10 @@ public interface _FinalStage {
_FinalStage displayName(Optional displayName);
_FinalStage displayName(String displayName);
+
+ _FinalStage identifiers(Optional identifiers);
+
+ _FinalStage identifiers(BrandingThemeIdentifiers identifiers);
}
@JsonIgnoreProperties(ignoreUnknown = true)
@@ -174,6 +196,8 @@ public static final class Builder
private BrandingThemeWidget widget;
+ private Optional identifiers = Optional.empty();
+
private Optional displayName = Optional.empty();
@JsonAnySetter
@@ -187,6 +211,7 @@ public Builder from(CreateBrandingThemeRequestContent other) {
colors(other.getColors());
displayName(other.getDisplayName());
fonts(other.getFonts());
+ identifiers(other.getIdentifiers());
pageBackground(other.getPageBackground());
widget(other.getWidget());
return this;
@@ -227,6 +252,19 @@ public _FinalStage widget(@NotNull BrandingThemeWidget widget) {
return this;
}
+ @java.lang.Override
+ public _FinalStage identifiers(BrandingThemeIdentifiers identifiers) {
+ this.identifiers = Optional.ofNullable(identifiers);
+ return this;
+ }
+
+ @java.lang.Override
+ @JsonSetter(value = "identifiers", nulls = Nulls.SKIP)
+ public _FinalStage identifiers(Optional identifiers) {
+ this.identifiers = identifiers;
+ return this;
+ }
+
/**
* Display Name
* @return Reference to {@code this} so that method calls can be chained together.
@@ -250,7 +288,7 @@ public _FinalStage displayName(Optional displayName) {
@java.lang.Override
public CreateBrandingThemeRequestContent build() {
return new CreateBrandingThemeRequestContent(
- borders, colors, displayName, fonts, pageBackground, widget, additionalProperties);
+ borders, colors, displayName, fonts, identifiers, pageBackground, widget, additionalProperties);
}
@java.lang.Override
diff --git a/src/main/java/com/auth0/client/mgmt/branding/types/UpdateBrandingThemeRequestContent.java b/src/main/java/com/auth0/client/mgmt/branding/types/UpdateBrandingThemeRequestContent.java
index 803699010..7d70f1fa5 100644
--- a/src/main/java/com/auth0/client/mgmt/branding/types/UpdateBrandingThemeRequestContent.java
+++ b/src/main/java/com/auth0/client/mgmt/branding/types/UpdateBrandingThemeRequestContent.java
@@ -7,6 +7,7 @@
import com.auth0.client.mgmt.types.BrandingThemeBorders;
import com.auth0.client.mgmt.types.BrandingThemeColors;
import com.auth0.client.mgmt.types.BrandingThemeFonts;
+import com.auth0.client.mgmt.types.BrandingThemeIdentifiers;
import com.auth0.client.mgmt.types.BrandingThemePageBackground;
import com.auth0.client.mgmt.types.BrandingThemeWidget;
import com.fasterxml.jackson.annotation.JsonAnyGetter;
@@ -34,6 +35,8 @@ public final class UpdateBrandingThemeRequestContent {
private final BrandingThemeFonts fonts;
+ private final Optional identifiers;
+
private final BrandingThemePageBackground pageBackground;
private final BrandingThemeWidget widget;
@@ -45,6 +48,7 @@ private UpdateBrandingThemeRequestContent(
BrandingThemeColors colors,
Optional displayName,
BrandingThemeFonts fonts,
+ Optional identifiers,
BrandingThemePageBackground pageBackground,
BrandingThemeWidget widget,
Map additionalProperties) {
@@ -52,6 +56,7 @@ private UpdateBrandingThemeRequestContent(
this.colors = colors;
this.displayName = displayName;
this.fonts = fonts;
+ this.identifiers = identifiers;
this.pageBackground = pageBackground;
this.widget = widget;
this.additionalProperties = additionalProperties;
@@ -80,6 +85,11 @@ public BrandingThemeFonts getFonts() {
return fonts;
}
+ @JsonProperty("identifiers")
+ public Optional getIdentifiers() {
+ return identifiers;
+ }
+
@JsonProperty("page_background")
public BrandingThemePageBackground getPageBackground() {
return pageBackground;
@@ -106,13 +116,21 @@ private boolean equalTo(UpdateBrandingThemeRequestContent other) {
&& colors.equals(other.colors)
&& displayName.equals(other.displayName)
&& fonts.equals(other.fonts)
+ && identifiers.equals(other.identifiers)
&& pageBackground.equals(other.pageBackground)
&& widget.equals(other.widget);
}
@java.lang.Override
public int hashCode() {
- return Objects.hash(this.borders, this.colors, this.displayName, this.fonts, this.pageBackground, this.widget);
+ return Objects.hash(
+ this.borders,
+ this.colors,
+ this.displayName,
+ this.fonts,
+ this.identifiers,
+ this.pageBackground,
+ this.widget);
}
@java.lang.Override
@@ -159,6 +177,10 @@ public interface _FinalStage {
_FinalStage displayName(Optional displayName);
_FinalStage displayName(String displayName);
+
+ _FinalStage identifiers(Optional identifiers);
+
+ _FinalStage identifiers(BrandingThemeIdentifiers identifiers);
}
@JsonIgnoreProperties(ignoreUnknown = true)
@@ -174,6 +196,8 @@ public static final class Builder
private BrandingThemeWidget widget;
+ private Optional identifiers = Optional.empty();
+
private Optional displayName = Optional.empty();
@JsonAnySetter
@@ -187,6 +211,7 @@ public Builder from(UpdateBrandingThemeRequestContent other) {
colors(other.getColors());
displayName(other.getDisplayName());
fonts(other.getFonts());
+ identifiers(other.getIdentifiers());
pageBackground(other.getPageBackground());
widget(other.getWidget());
return this;
@@ -227,6 +252,19 @@ public _FinalStage widget(@NotNull BrandingThemeWidget widget) {
return this;
}
+ @java.lang.Override
+ public _FinalStage identifiers(BrandingThemeIdentifiers identifiers) {
+ this.identifiers = Optional.ofNullable(identifiers);
+ return this;
+ }
+
+ @java.lang.Override
+ @JsonSetter(value = "identifiers", nulls = Nulls.SKIP)
+ public _FinalStage identifiers(Optional identifiers) {
+ this.identifiers = identifiers;
+ return this;
+ }
+
/**
* Display Name
* @return Reference to {@code this} so that method calls can be chained together.
@@ -250,7 +288,7 @@ public _FinalStage displayName(Optional displayName) {
@java.lang.Override
public UpdateBrandingThemeRequestContent build() {
return new UpdateBrandingThemeRequestContent(
- borders, colors, displayName, fonts, pageBackground, widget, additionalProperties);
+ borders, colors, displayName, fonts, identifiers, pageBackground, widget, additionalProperties);
}
@java.lang.Override
diff --git a/src/main/java/com/auth0/client/mgmt/selfserviceprofiles/types/CreateSelfServiceProfileSsoTicketRequestContent.java b/src/main/java/com/auth0/client/mgmt/selfserviceprofiles/types/CreateSelfServiceProfileSsoTicketRequestContent.java
index 93d33db82..333304caa 100644
--- a/src/main/java/com/auth0/client/mgmt/selfserviceprofiles/types/CreateSelfServiceProfileSsoTicketRequestContent.java
+++ b/src/main/java/com/auth0/client/mgmt/selfserviceprofiles/types/CreateSelfServiceProfileSsoTicketRequestContent.java
@@ -9,6 +9,7 @@
import com.auth0.client.mgmt.types.SelfServiceProfileSsoTicketEnabledFeatures;
import com.auth0.client.mgmt.types.SelfServiceProfileSsoTicketEnabledOrganization;
import com.auth0.client.mgmt.types.SelfServiceProfileSsoTicketProvisioningConfig;
+import com.auth0.client.mgmt.types.ThirdPartyClientAccessConfig;
import com.fasterxml.jackson.annotation.JsonAnyGetter;
import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
@@ -42,6 +43,8 @@ public final class CreateSelfServiceProfileSsoTicketRequestContent {
private final Optional useForOrganizationDiscovery;
+ private final Optional thirdPartyClientAccessConfig;
+
private final Optional enabledFeatures;
private final Map additionalProperties;
@@ -55,6 +58,7 @@ private CreateSelfServiceProfileSsoTicketRequestContent(
Optional domainAliasesConfig,
Optional provisioningConfig,
Optional useForOrganizationDiscovery,
+ Optional thirdPartyClientAccessConfig,
Optional enabledFeatures,
Map additionalProperties) {
this.connectionId = connectionId;
@@ -65,6 +69,7 @@ private CreateSelfServiceProfileSsoTicketRequestContent(
this.domainAliasesConfig = domainAliasesConfig;
this.provisioningConfig = provisioningConfig;
this.useForOrganizationDiscovery = useForOrganizationDiscovery;
+ this.thirdPartyClientAccessConfig = thirdPartyClientAccessConfig;
this.enabledFeatures = enabledFeatures;
this.additionalProperties = additionalProperties;
}
@@ -124,6 +129,11 @@ public Optional getUseForOrganizationDiscovery() {
return useForOrganizationDiscovery;
}
+ @JsonProperty("third_party_client_access_config")
+ public Optional getThirdPartyClientAccessConfig() {
+ return thirdPartyClientAccessConfig;
+ }
+
@JsonProperty("enabled_features")
public Optional getEnabledFeatures() {
return enabledFeatures;
@@ -150,6 +160,7 @@ private boolean equalTo(CreateSelfServiceProfileSsoTicketRequestContent other) {
&& domainAliasesConfig.equals(other.domainAliasesConfig)
&& provisioningConfig.equals(other.provisioningConfig)
&& useForOrganizationDiscovery.equals(other.useForOrganizationDiscovery)
+ && thirdPartyClientAccessConfig.equals(other.thirdPartyClientAccessConfig)
&& enabledFeatures.equals(other.enabledFeatures);
}
@@ -164,6 +175,7 @@ public int hashCode() {
this.domainAliasesConfig,
this.provisioningConfig,
this.useForOrganizationDiscovery,
+ this.thirdPartyClientAccessConfig,
this.enabledFeatures);
}
@@ -194,6 +206,8 @@ public static final class Builder {
private Optional useForOrganizationDiscovery = Optional.empty();
+ private Optional thirdPartyClientAccessConfig = Optional.empty();
+
private Optional enabledFeatures = Optional.empty();
@JsonAnySetter
@@ -210,6 +224,7 @@ public Builder from(CreateSelfServiceProfileSsoTicketRequestContent other) {
domainAliasesConfig(other.getDomainAliasesConfig());
provisioningConfig(other.getProvisioningConfig());
useForOrganizationDiscovery(other.getUseForOrganizationDiscovery());
+ thirdPartyClientAccessConfig(other.getThirdPartyClientAccessConfig());
enabledFeatures(other.getEnabledFeatures());
return this;
}
@@ -319,6 +334,18 @@ public Builder useForOrganizationDiscovery(Boolean useForOrganizationDiscovery)
return this;
}
+ @JsonSetter(value = "third_party_client_access_config", nulls = Nulls.SKIP)
+ public Builder thirdPartyClientAccessConfig(
+ Optional thirdPartyClientAccessConfig) {
+ this.thirdPartyClientAccessConfig = thirdPartyClientAccessConfig;
+ return this;
+ }
+
+ public Builder thirdPartyClientAccessConfig(ThirdPartyClientAccessConfig thirdPartyClientAccessConfig) {
+ this.thirdPartyClientAccessConfig = Optional.ofNullable(thirdPartyClientAccessConfig);
+ return this;
+ }
+
@JsonSetter(value = "enabled_features", nulls = Nulls.SKIP)
public Builder enabledFeatures(Optional enabledFeatures) {
this.enabledFeatures = enabledFeatures;
@@ -340,6 +367,7 @@ public CreateSelfServiceProfileSsoTicketRequestContent build() {
domainAliasesConfig,
provisioningConfig,
useForOrganizationDiscovery,
+ thirdPartyClientAccessConfig,
enabledFeatures,
additionalProperties);
}
diff --git a/src/main/java/com/auth0/client/mgmt/types/BrandingThemeIdentifiers.java b/src/main/java/com/auth0/client/mgmt/types/BrandingThemeIdentifiers.java
new file mode 100644
index 000000000..a6520b392
--- /dev/null
+++ b/src/main/java/com/auth0/client/mgmt/types/BrandingThemeIdentifiers.java
@@ -0,0 +1,179 @@
+/**
+ * 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.databind.annotation.JsonDeserialize;
+import java.util.HashMap;
+import java.util.Map;
+import java.util.Objects;
+import org.jetbrains.annotations.NotNull;
+
+@JsonInclude(JsonInclude.Include.NON_ABSENT)
+@JsonDeserialize(builder = BrandingThemeIdentifiers.Builder.class)
+public final class BrandingThemeIdentifiers {
+ private final BrandingThemeIdentifiersLoginDisplayEnum loginDisplay;
+
+ private final boolean otpAutocomplete;
+
+ private final BrandingThemeIdentifiersPhoneDisplay phoneDisplay;
+
+ private final Map additionalProperties;
+
+ private BrandingThemeIdentifiers(
+ BrandingThemeIdentifiersLoginDisplayEnum loginDisplay,
+ boolean otpAutocomplete,
+ BrandingThemeIdentifiersPhoneDisplay phoneDisplay,
+ Map additionalProperties) {
+ this.loginDisplay = loginDisplay;
+ this.otpAutocomplete = otpAutocomplete;
+ this.phoneDisplay = phoneDisplay;
+ this.additionalProperties = additionalProperties;
+ }
+
+ @JsonProperty("login_display")
+ public BrandingThemeIdentifiersLoginDisplayEnum getLoginDisplay() {
+ return loginDisplay;
+ }
+
+ /**
+ * @return OTP autocomplete
+ */
+ @JsonProperty("otp_autocomplete")
+ public boolean getOtpAutocomplete() {
+ return otpAutocomplete;
+ }
+
+ @JsonProperty("phone_display")
+ public BrandingThemeIdentifiersPhoneDisplay getPhoneDisplay() {
+ return phoneDisplay;
+ }
+
+ @java.lang.Override
+ public boolean equals(Object other) {
+ if (this == other) return true;
+ return other instanceof BrandingThemeIdentifiers && equalTo((BrandingThemeIdentifiers) other);
+ }
+
+ @JsonAnyGetter
+ public Map getAdditionalProperties() {
+ return this.additionalProperties;
+ }
+
+ private boolean equalTo(BrandingThemeIdentifiers other) {
+ return loginDisplay.equals(other.loginDisplay)
+ && otpAutocomplete == 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 LoginDisplayStage builder() {
+ return new Builder();
+ }
+
+ public interface LoginDisplayStage {
+ OtpAutocompleteStage loginDisplay(@NotNull BrandingThemeIdentifiersLoginDisplayEnum loginDisplay);
+
+ Builder from(BrandingThemeIdentifiers other);
+ }
+
+ public interface OtpAutocompleteStage {
+ /**
+ * OTP autocomplete
+ */
+ PhoneDisplayStage otpAutocomplete(boolean otpAutocomplete);
+ }
+
+ public interface PhoneDisplayStage {
+ _FinalStage phoneDisplay(@NotNull BrandingThemeIdentifiersPhoneDisplay phoneDisplay);
+ }
+
+ public interface _FinalStage {
+ BrandingThemeIdentifiers build();
+
+ _FinalStage additionalProperty(String key, Object value);
+
+ _FinalStage additionalProperties(Map additionalProperties);
+ }
+
+ @JsonIgnoreProperties(ignoreUnknown = true)
+ public static final class Builder
+ implements LoginDisplayStage, OtpAutocompleteStage, PhoneDisplayStage, _FinalStage {
+ private BrandingThemeIdentifiersLoginDisplayEnum loginDisplay;
+
+ private boolean otpAutocomplete;
+
+ private BrandingThemeIdentifiersPhoneDisplay phoneDisplay;
+
+ @JsonAnySetter
+ private Map additionalProperties = new HashMap<>();
+
+ private Builder() {}
+
+ @java.lang.Override
+ public Builder from(BrandingThemeIdentifiers other) {
+ loginDisplay(other.getLoginDisplay());
+ otpAutocomplete(other.getOtpAutocomplete());
+ phoneDisplay(other.getPhoneDisplay());
+ return this;
+ }
+
+ @java.lang.Override
+ @JsonSetter("login_display")
+ public OtpAutocompleteStage loginDisplay(@NotNull BrandingThemeIdentifiersLoginDisplayEnum loginDisplay) {
+ this.loginDisplay = Objects.requireNonNull(loginDisplay, "loginDisplay must not be null");
+ return this;
+ }
+
+ /**
+ * OTP autocomplete
+ * @return Reference to {@code this} so that method calls can be chained together.
+ */
+ @java.lang.Override
+ @JsonSetter("otp_autocomplete")
+ public PhoneDisplayStage otpAutocomplete(boolean otpAutocomplete) {
+ this.otpAutocomplete = otpAutocomplete;
+ return this;
+ }
+
+ @java.lang.Override
+ @JsonSetter("phone_display")
+ public _FinalStage phoneDisplay(@NotNull BrandingThemeIdentifiersPhoneDisplay phoneDisplay) {
+ this.phoneDisplay = Objects.requireNonNull(phoneDisplay, "phoneDisplay must not be null");
+ return this;
+ }
+
+ @java.lang.Override
+ public BrandingThemeIdentifiers build() {
+ return new BrandingThemeIdentifiers(loginDisplay, otpAutocomplete, phoneDisplay, additionalProperties);
+ }
+
+ @java.lang.Override
+ public Builder additionalProperty(String key, Object value) {
+ this.additionalProperties.put(key, value);
+ return this;
+ }
+
+ @java.lang.Override
+ public Builder additionalProperties(Map additionalProperties) {
+ this.additionalProperties.putAll(additionalProperties);
+ return this;
+ }
+ }
+}
diff --git a/src/main/java/com/auth0/client/mgmt/types/BrandingThemeIdentifiersLoginDisplayEnum.java b/src/main/java/com/auth0/client/mgmt/types/BrandingThemeIdentifiersLoginDisplayEnum.java
new file mode 100644
index 000000000..74d74b514
--- /dev/null
+++ b/src/main/java/com/auth0/client/mgmt/types/BrandingThemeIdentifiersLoginDisplayEnum.java
@@ -0,0 +1,86 @@
+/**
+ * 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 BrandingThemeIdentifiersLoginDisplayEnum {
+ public static final BrandingThemeIdentifiersLoginDisplayEnum SEPARATE =
+ new BrandingThemeIdentifiersLoginDisplayEnum(Value.SEPARATE, "separate");
+
+ public static final BrandingThemeIdentifiersLoginDisplayEnum UNIFIED =
+ new BrandingThemeIdentifiersLoginDisplayEnum(Value.UNIFIED, "unified");
+
+ private final Value value;
+
+ private final String string;
+
+ BrandingThemeIdentifiersLoginDisplayEnum(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 BrandingThemeIdentifiersLoginDisplayEnum
+ && this.string.equals(((BrandingThemeIdentifiersLoginDisplayEnum) other).string));
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ return this.string.hashCode();
+ }
+
+ public T visit(Visitor visitor) {
+ switch (value) {
+ case SEPARATE:
+ return visitor.visitSeparate();
+ case UNIFIED:
+ return visitor.visitUnified();
+ case UNKNOWN:
+ default:
+ return visitor.visitUnknown(string);
+ }
+ }
+
+ @JsonCreator(mode = JsonCreator.Mode.DELEGATING)
+ public static BrandingThemeIdentifiersLoginDisplayEnum valueOf(String value) {
+ switch (value) {
+ case "separate":
+ return SEPARATE;
+ case "unified":
+ return UNIFIED;
+ default:
+ return new BrandingThemeIdentifiersLoginDisplayEnum(Value.UNKNOWN, value);
+ }
+ }
+
+ public enum Value {
+ SEPARATE,
+
+ UNIFIED,
+
+ UNKNOWN
+ }
+
+ public interface Visitor {
+ T visitSeparate();
+
+ T visitUnified();
+
+ T visitUnknown(String unknownType);
+ }
+}
diff --git a/src/main/java/com/auth0/client/mgmt/types/BrandingThemeIdentifiersPhoneDisplay.java b/src/main/java/com/auth0/client/mgmt/types/BrandingThemeIdentifiersPhoneDisplay.java
new file mode 100644
index 000000000..2bc87b1fa
--- /dev/null
+++ b/src/main/java/com/auth0/client/mgmt/types/BrandingThemeIdentifiersPhoneDisplay.java
@@ -0,0 +1,144 @@
+/**
+ * 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.databind.annotation.JsonDeserialize;
+import java.util.HashMap;
+import java.util.Map;
+import java.util.Objects;
+import org.jetbrains.annotations.NotNull;
+
+@JsonInclude(JsonInclude.Include.NON_ABSENT)
+@JsonDeserialize(builder = BrandingThemeIdentifiersPhoneDisplay.Builder.class)
+public final class BrandingThemeIdentifiersPhoneDisplay {
+ private final BrandingThemeIdentifiersPhoneDisplayFormattingEnum formatting;
+
+ private final BrandingThemeIdentifiersPhoneDisplayMaskingEnum masking;
+
+ private final Map additionalProperties;
+
+ private BrandingThemeIdentifiersPhoneDisplay(
+ BrandingThemeIdentifiersPhoneDisplayFormattingEnum formatting,
+ BrandingThemeIdentifiersPhoneDisplayMaskingEnum masking,
+ Map additionalProperties) {
+ this.formatting = formatting;
+ this.masking = masking;
+ this.additionalProperties = additionalProperties;
+ }
+
+ @JsonProperty("formatting")
+ public BrandingThemeIdentifiersPhoneDisplayFormattingEnum getFormatting() {
+ return formatting;
+ }
+
+ @JsonProperty("masking")
+ public BrandingThemeIdentifiersPhoneDisplayMaskingEnum getMasking() {
+ return masking;
+ }
+
+ @java.lang.Override
+ public boolean equals(Object other) {
+ if (this == other) return true;
+ return other instanceof BrandingThemeIdentifiersPhoneDisplay
+ && equalTo((BrandingThemeIdentifiersPhoneDisplay) other);
+ }
+
+ @JsonAnyGetter
+ public Map getAdditionalProperties() {
+ return this.additionalProperties;
+ }
+
+ private boolean equalTo(BrandingThemeIdentifiersPhoneDisplay other) {
+ return formatting.equals(other.formatting) && masking.equals(other.masking);
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ return Objects.hash(this.formatting, this.masking);
+ }
+
+ @java.lang.Override
+ public String toString() {
+ return ObjectMappers.stringify(this);
+ }
+
+ public static FormattingStage builder() {
+ return new Builder();
+ }
+
+ public interface FormattingStage {
+ MaskingStage formatting(@NotNull BrandingThemeIdentifiersPhoneDisplayFormattingEnum formatting);
+
+ Builder from(BrandingThemeIdentifiersPhoneDisplay other);
+ }
+
+ public interface MaskingStage {
+ _FinalStage masking(@NotNull BrandingThemeIdentifiersPhoneDisplayMaskingEnum masking);
+ }
+
+ public interface _FinalStage {
+ BrandingThemeIdentifiersPhoneDisplay build();
+
+ _FinalStage additionalProperty(String key, Object value);
+
+ _FinalStage additionalProperties(Map additionalProperties);
+ }
+
+ @JsonIgnoreProperties(ignoreUnknown = true)
+ public static final class Builder implements FormattingStage, MaskingStage, _FinalStage {
+ private BrandingThemeIdentifiersPhoneDisplayFormattingEnum formatting;
+
+ private BrandingThemeIdentifiersPhoneDisplayMaskingEnum masking;
+
+ @JsonAnySetter
+ private Map additionalProperties = new HashMap<>();
+
+ private Builder() {}
+
+ @java.lang.Override
+ public Builder from(BrandingThemeIdentifiersPhoneDisplay other) {
+ formatting(other.getFormatting());
+ masking(other.getMasking());
+ return this;
+ }
+
+ @java.lang.Override
+ @JsonSetter("formatting")
+ public MaskingStage formatting(@NotNull BrandingThemeIdentifiersPhoneDisplayFormattingEnum formatting) {
+ this.formatting = Objects.requireNonNull(formatting, "formatting must not be null");
+ return this;
+ }
+
+ @java.lang.Override
+ @JsonSetter("masking")
+ public _FinalStage masking(@NotNull BrandingThemeIdentifiersPhoneDisplayMaskingEnum masking) {
+ this.masking = Objects.requireNonNull(masking, "masking must not be null");
+ return this;
+ }
+
+ @java.lang.Override
+ public BrandingThemeIdentifiersPhoneDisplay build() {
+ return new BrandingThemeIdentifiersPhoneDisplay(formatting, masking, additionalProperties);
+ }
+
+ @java.lang.Override
+ public Builder additionalProperty(String key, Object value) {
+ this.additionalProperties.put(key, value);
+ return this;
+ }
+
+ @java.lang.Override
+ public Builder additionalProperties(Map additionalProperties) {
+ this.additionalProperties.putAll(additionalProperties);
+ return this;
+ }
+ }
+}
diff --git a/src/main/java/com/auth0/client/mgmt/types/BrandingThemeIdentifiersPhoneDisplayFormattingEnum.java b/src/main/java/com/auth0/client/mgmt/types/BrandingThemeIdentifiersPhoneDisplayFormattingEnum.java
new file mode 100644
index 000000000..7d69d61dd
--- /dev/null
+++ b/src/main/java/com/auth0/client/mgmt/types/BrandingThemeIdentifiersPhoneDisplayFormattingEnum.java
@@ -0,0 +1,86 @@
+/**
+ * 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 BrandingThemeIdentifiersPhoneDisplayFormattingEnum {
+ public static final BrandingThemeIdentifiersPhoneDisplayFormattingEnum REGIONAL =
+ new BrandingThemeIdentifiersPhoneDisplayFormattingEnum(Value.REGIONAL, "regional");
+
+ public static final BrandingThemeIdentifiersPhoneDisplayFormattingEnum INTERNATIONAL =
+ new BrandingThemeIdentifiersPhoneDisplayFormattingEnum(Value.INTERNATIONAL, "international");
+
+ private final Value value;
+
+ private final String string;
+
+ BrandingThemeIdentifiersPhoneDisplayFormattingEnum(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 BrandingThemeIdentifiersPhoneDisplayFormattingEnum
+ && this.string.equals(((BrandingThemeIdentifiersPhoneDisplayFormattingEnum) 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 BrandingThemeIdentifiersPhoneDisplayFormattingEnum valueOf(String value) {
+ switch (value) {
+ case "regional":
+ return REGIONAL;
+ case "international":
+ return INTERNATIONAL;
+ default:
+ return new BrandingThemeIdentifiersPhoneDisplayFormattingEnum(Value.UNKNOWN, value);
+ }
+ }
+
+ public enum Value {
+ INTERNATIONAL,
+
+ REGIONAL,
+
+ UNKNOWN
+ }
+
+ public interface Visitor {
+ T visitInternational();
+
+ T visitRegional();
+
+ T visitUnknown(String unknownType);
+ }
+}
diff --git a/src/main/java/com/auth0/client/mgmt/types/BrandingThemeIdentifiersPhoneDisplayMaskingEnum.java b/src/main/java/com/auth0/client/mgmt/types/BrandingThemeIdentifiersPhoneDisplayMaskingEnum.java
new file mode 100644
index 000000000..c3f1a3076
--- /dev/null
+++ b/src/main/java/com/auth0/client/mgmt/types/BrandingThemeIdentifiersPhoneDisplayMaskingEnum.java
@@ -0,0 +1,97 @@
+/**
+ * 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 BrandingThemeIdentifiersPhoneDisplayMaskingEnum {
+ public static final BrandingThemeIdentifiersPhoneDisplayMaskingEnum SHOW_ALL =
+ new BrandingThemeIdentifiersPhoneDisplayMaskingEnum(Value.SHOW_ALL, "show_all");
+
+ public static final BrandingThemeIdentifiersPhoneDisplayMaskingEnum MASK_DIGITS =
+ new BrandingThemeIdentifiersPhoneDisplayMaskingEnum(Value.MASK_DIGITS, "mask_digits");
+
+ public static final BrandingThemeIdentifiersPhoneDisplayMaskingEnum HIDE_COUNTRY_CODE =
+ new BrandingThemeIdentifiersPhoneDisplayMaskingEnum(Value.HIDE_COUNTRY_CODE, "hide_country_code");
+
+ private final Value value;
+
+ private final String string;
+
+ BrandingThemeIdentifiersPhoneDisplayMaskingEnum(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 BrandingThemeIdentifiersPhoneDisplayMaskingEnum
+ && this.string.equals(((BrandingThemeIdentifiersPhoneDisplayMaskingEnum) 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 BrandingThemeIdentifiersPhoneDisplayMaskingEnum 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 BrandingThemeIdentifiersPhoneDisplayMaskingEnum(Value.UNKNOWN, value);
+ }
+ }
+
+ public enum Value {
+ HIDE_COUNTRY_CODE,
+
+ MASK_DIGITS,
+
+ SHOW_ALL,
+
+ UNKNOWN
+ }
+
+ public interface Visitor {
+ T visitHideCountryCode();
+
+ T visitMaskDigits();
+
+ T visitShowAll();
+
+ T visitUnknown(String unknownType);
+ }
+}
diff --git a/src/main/java/com/auth0/client/mgmt/types/Client.java b/src/main/java/com/auth0/client/mgmt/types/Client.java
index 2963c66b0..6ff57f2f1 100644
--- a/src/main/java/com/auth0/client/mgmt/types/Client.java
+++ b/src/main/java/com/auth0/client/mgmt/types/Client.java
@@ -134,6 +134,8 @@ public final class Client {
private final Optional myOrganizationConfiguration;
+ private final Optional identityAssertionAuthorizationGrant;
+
private final Optional thirdPartySecurityMode;
private final Optional redirectionPolicy;
@@ -208,6 +210,7 @@ private Client(
Optional tokenQuota,
Optional expressConfiguration,
Optional myOrganizationConfiguration,
+ Optional identityAssertionAuthorizationGrant,
Optional thirdPartySecurityMode,
Optional redirectionPolicy,
Optional resourceServerIdentifier,
@@ -272,6 +275,7 @@ private Client(
this.tokenQuota = tokenQuota;
this.expressConfiguration = expressConfiguration;
this.myOrganizationConfiguration = myOrganizationConfiguration;
+ this.identityAssertionAuthorizationGrant = identityAssertionAuthorizationGrant;
this.thirdPartySecurityMode = thirdPartySecurityMode;
this.redirectionPolicy = redirectionPolicy;
this.resourceServerIdentifier = resourceServerIdentifier;
@@ -685,6 +689,11 @@ public Optional getMyOrganizationConf
return myOrganizationConfiguration;
}
+ @JsonProperty("identity_assertion_authorization_grant")
+ public Optional getIdentityAssertionAuthorizationGrant() {
+ return identityAssertionAuthorizationGrant;
+ }
+
@JsonProperty("third_party_security_mode")
public Optional getThirdPartySecurityMode() {
return thirdPartySecurityMode;
@@ -850,6 +859,7 @@ private boolean equalTo(Client other) {
&& tokenQuota.equals(other.tokenQuota)
&& expressConfiguration.equals(other.expressConfiguration)
&& myOrganizationConfiguration.equals(other.myOrganizationConfiguration)
+ && identityAssertionAuthorizationGrant.equals(other.identityAssertionAuthorizationGrant)
&& thirdPartySecurityMode.equals(other.thirdPartySecurityMode)
&& redirectionPolicy.equals(other.redirectionPolicy)
&& resourceServerIdentifier.equals(other.resourceServerIdentifier)
@@ -918,6 +928,7 @@ public int hashCode() {
this.tokenQuota,
this.expressConfiguration,
this.myOrganizationConfiguration,
+ this.identityAssertionAuthorizationGrant,
this.thirdPartySecurityMode,
this.redirectionPolicy,
this.resourceServerIdentifier,
@@ -1050,6 +1061,8 @@ public static final class Builder {
private Optional myOrganizationConfiguration = Optional.empty();
+ private Optional identityAssertionAuthorizationGrant = Optional.empty();
+
private Optional thirdPartySecurityMode = Optional.empty();
private Optional redirectionPolicy = Optional.empty();
@@ -1128,6 +1141,7 @@ public Builder from(Client other) {
tokenQuota(other.getTokenQuota());
expressConfiguration(other.getExpressConfiguration());
myOrganizationConfiguration(other.getMyOrganizationConfiguration());
+ identityAssertionAuthorizationGrant(other.getIdentityAssertionAuthorizationGrant());
thirdPartySecurityMode(other.getThirdPartySecurityMode());
redirectionPolicy(other.getRedirectionPolicy());
resourceServerIdentifier(other.getResourceServerIdentifier());
@@ -2013,6 +2027,19 @@ public Builder myOrganizationConfiguration(
return this;
}
+ @JsonSetter(value = "identity_assertion_authorization_grant", nulls = Nulls.SKIP)
+ public Builder identityAssertionAuthorizationGrant(
+ Optional identityAssertionAuthorizationGrant) {
+ this.identityAssertionAuthorizationGrant = identityAssertionAuthorizationGrant;
+ return this;
+ }
+
+ public Builder identityAssertionAuthorizationGrant(
+ IdentityAssertionAuthorizationGrant identityAssertionAuthorizationGrant) {
+ this.identityAssertionAuthorizationGrant = Optional.ofNullable(identityAssertionAuthorizationGrant);
+ return this;
+ }
+
@JsonSetter(value = "third_party_security_mode", nulls = Nulls.SKIP)
public Builder thirdPartySecurityMode(Optional thirdPartySecurityMode) {
this.thirdPartySecurityMode = thirdPartySecurityMode;
@@ -2170,6 +2197,7 @@ public Client build() {
tokenQuota,
expressConfiguration,
myOrganizationConfiguration,
+ identityAssertionAuthorizationGrant,
thirdPartySecurityMode,
redirectionPolicy,
resourceServerIdentifier,
diff --git a/src/main/java/com/auth0/client/mgmt/types/ClientAppTypeEnum.java b/src/main/java/com/auth0/client/mgmt/types/ClientAppTypeEnum.java
index 0bfdbff4c..9be55678e 100644
--- a/src/main/java/com/auth0/client/mgmt/types/ClientAppTypeEnum.java
+++ b/src/main/java/com/auth0/client/mgmt/types/ClientAppTypeEnum.java
@@ -44,6 +44,9 @@ public final class ClientAppTypeEnum {
public static final ClientAppTypeEnum RMS = new ClientAppTypeEnum(Value.RMS, "rms");
+ public static final ClientAppTypeEnum B2B_INTEGRATION =
+ new ClientAppTypeEnum(Value.B2B_INTEGRATION, "b2b_integration");
+
public static final ClientAppTypeEnum CLOUDBEES = new ClientAppTypeEnum(Value.CLOUDBEES, "cloudbees");
public static final ClientAppTypeEnum SALESFORCE = new ClientAppTypeEnum(Value.SALESFORCE, "salesforce");
@@ -127,6 +130,8 @@ public T visit(Visitor visitor) {
return visitor.visitEchosign();
case RMS:
return visitor.visitRms();
+ case B2B_INTEGRATION:
+ return visitor.visitB2BIntegration();
case CLOUDBEES:
return visitor.visitCloudbees();
case SALESFORCE:
@@ -186,6 +191,8 @@ public static ClientAppTypeEnum valueOf(String value) {
return ECHOSIGN;
case "rms":
return RMS;
+ case "b2b_integration":
+ return B2B_INTEGRATION;
case "cloudbees":
return CLOUDBEES;
case "salesforce":
@@ -220,6 +227,8 @@ public enum Value {
EXPRESS_CONFIGURATION,
+ B2B_INTEGRATION,
+
RMS,
BOX,
@@ -274,6 +283,8 @@ public interface Visitor {
T visitExpressConfiguration();
+ T visitB2BIntegration();
+
T visitRms();
T visitBox();
diff --git a/src/main/java/com/auth0/client/mgmt/types/ClientGrantSubjectTypeEnum.java b/src/main/java/com/auth0/client/mgmt/types/ClientGrantSubjectTypeEnum.java
index 7ea37cc47..0fbc8ad4c 100644
--- a/src/main/java/com/auth0/client/mgmt/types/ClientGrantSubjectTypeEnum.java
+++ b/src/main/java/com/auth0/client/mgmt/types/ClientGrantSubjectTypeEnum.java
@@ -9,6 +9,9 @@
public final class ClientGrantSubjectTypeEnum {
public static final ClientGrantSubjectTypeEnum USER = new ClientGrantSubjectTypeEnum(Value.USER, "user");
+ public static final ClientGrantSubjectTypeEnum ANONYMOUS_USER =
+ new ClientGrantSubjectTypeEnum(Value.ANONYMOUS_USER, "anonymous_user");
+
public static final ClientGrantSubjectTypeEnum CLIENT = new ClientGrantSubjectTypeEnum(Value.CLIENT, "client");
private final Value value;
@@ -46,6 +49,8 @@ public T visit(Visitor visitor) {
switch (value) {
case USER:
return visitor.visitUser();
+ case ANONYMOUS_USER:
+ return visitor.visitAnonymousUser();
case CLIENT:
return visitor.visitClient();
case UNKNOWN:
@@ -59,6 +64,8 @@ public static ClientGrantSubjectTypeEnum valueOf(String value) {
switch (value) {
case "user":
return USER;
+ case "anonymous_user":
+ return ANONYMOUS_USER;
case "client":
return CLIENT;
default:
@@ -71,6 +78,8 @@ public enum Value {
USER,
+ ANONYMOUS_USER,
+
UNKNOWN
}
@@ -79,6 +88,8 @@ public interface Visitor {
T visitUser();
+ T visitAnonymousUser();
+
T visitUnknown(String unknownType);
}
}
diff --git a/src/main/java/com/auth0/client/mgmt/types/ConnectionCrossAppAccessResourceApp.java b/src/main/java/com/auth0/client/mgmt/types/ConnectionCrossAppAccessResourceApp.java
new file mode 100644
index 000000000..08133903a
--- /dev/null
+++ b/src/main/java/com/auth0/client/mgmt/types/ConnectionCrossAppAccessResourceApp.java
@@ -0,0 +1,120 @@
+/**
+ * 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.databind.annotation.JsonDeserialize;
+import java.util.HashMap;
+import java.util.Map;
+import java.util.Objects;
+import org.jetbrains.annotations.NotNull;
+
+@JsonInclude(JsonInclude.Include.NON_ABSENT)
+@JsonDeserialize(builder = ConnectionCrossAppAccessResourceApp.Builder.class)
+public final class ConnectionCrossAppAccessResourceApp {
+ private final ConnectionCrossAppAccessResourceAppStatusEnum status;
+
+ private final Map additionalProperties;
+
+ private ConnectionCrossAppAccessResourceApp(
+ ConnectionCrossAppAccessResourceAppStatusEnum status, Map additionalProperties) {
+ this.status = status;
+ this.additionalProperties = additionalProperties;
+ }
+
+ @JsonProperty("status")
+ public ConnectionCrossAppAccessResourceAppStatusEnum getStatus() {
+ return status;
+ }
+
+ @java.lang.Override
+ public boolean equals(Object other) {
+ if (this == other) return true;
+ return other instanceof ConnectionCrossAppAccessResourceApp
+ && equalTo((ConnectionCrossAppAccessResourceApp) other);
+ }
+
+ @JsonAnyGetter
+ public Map getAdditionalProperties() {
+ return this.additionalProperties;
+ }
+
+ private boolean equalTo(ConnectionCrossAppAccessResourceApp other) {
+ return status.equals(other.status);
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ return Objects.hash(this.status);
+ }
+
+ @java.lang.Override
+ public String toString() {
+ return ObjectMappers.stringify(this);
+ }
+
+ public static StatusStage builder() {
+ return new Builder();
+ }
+
+ public interface StatusStage {
+ _FinalStage status(@NotNull ConnectionCrossAppAccessResourceAppStatusEnum status);
+
+ Builder from(ConnectionCrossAppAccessResourceApp other);
+ }
+
+ public interface _FinalStage {
+ ConnectionCrossAppAccessResourceApp build();
+
+ _FinalStage additionalProperty(String key, Object value);
+
+ _FinalStage additionalProperties(Map additionalProperties);
+ }
+
+ @JsonIgnoreProperties(ignoreUnknown = true)
+ public static final class Builder implements StatusStage, _FinalStage {
+ private ConnectionCrossAppAccessResourceAppStatusEnum status;
+
+ @JsonAnySetter
+ private Map additionalProperties = new HashMap<>();
+
+ private Builder() {}
+
+ @java.lang.Override
+ public Builder from(ConnectionCrossAppAccessResourceApp other) {
+ status(other.getStatus());
+ return this;
+ }
+
+ @java.lang.Override
+ @JsonSetter("status")
+ public _FinalStage status(@NotNull ConnectionCrossAppAccessResourceAppStatusEnum status) {
+ this.status = Objects.requireNonNull(status, "status must not be null");
+ return this;
+ }
+
+ @java.lang.Override
+ public ConnectionCrossAppAccessResourceApp build() {
+ return new ConnectionCrossAppAccessResourceApp(status, additionalProperties);
+ }
+
+ @java.lang.Override
+ public Builder additionalProperty(String key, Object value) {
+ this.additionalProperties.put(key, value);
+ return this;
+ }
+
+ @java.lang.Override
+ public Builder additionalProperties(Map additionalProperties) {
+ this.additionalProperties.putAll(additionalProperties);
+ return this;
+ }
+ }
+}
diff --git a/src/main/java/com/auth0/client/mgmt/types/ConnectionCrossAppAccessResourceAppStatusEnum.java b/src/main/java/com/auth0/client/mgmt/types/ConnectionCrossAppAccessResourceAppStatusEnum.java
new file mode 100644
index 000000000..b7adf3dc6
--- /dev/null
+++ b/src/main/java/com/auth0/client/mgmt/types/ConnectionCrossAppAccessResourceAppStatusEnum.java
@@ -0,0 +1,86 @@
+/**
+ * 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 ConnectionCrossAppAccessResourceAppStatusEnum {
+ public static final ConnectionCrossAppAccessResourceAppStatusEnum ENABLED =
+ new ConnectionCrossAppAccessResourceAppStatusEnum(Value.ENABLED, "enabled");
+
+ public static final ConnectionCrossAppAccessResourceAppStatusEnum DISABLED =
+ new ConnectionCrossAppAccessResourceAppStatusEnum(Value.DISABLED, "disabled");
+
+ private final Value value;
+
+ private final String string;
+
+ ConnectionCrossAppAccessResourceAppStatusEnum(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 ConnectionCrossAppAccessResourceAppStatusEnum
+ && this.string.equals(((ConnectionCrossAppAccessResourceAppStatusEnum) other).string));
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ return this.string.hashCode();
+ }
+
+ public T visit(Visitor visitor) {
+ switch (value) {
+ case ENABLED:
+ return visitor.visitEnabled();
+ case DISABLED:
+ return visitor.visitDisabled();
+ case UNKNOWN:
+ default:
+ return visitor.visitUnknown(string);
+ }
+ }
+
+ @JsonCreator(mode = JsonCreator.Mode.DELEGATING)
+ public static ConnectionCrossAppAccessResourceAppStatusEnum valueOf(String value) {
+ switch (value) {
+ case "enabled":
+ return ENABLED;
+ case "disabled":
+ return DISABLED;
+ default:
+ return new ConnectionCrossAppAccessResourceAppStatusEnum(Value.UNKNOWN, value);
+ }
+ }
+
+ public enum Value {
+ DISABLED,
+
+ ENABLED,
+
+ UNKNOWN
+ }
+
+ public interface Visitor {
+ T visitDisabled();
+
+ T visitEnabled();
+
+ T visitUnknown(String unknownType);
+ }
+}
diff --git a/src/main/java/com/auth0/client/mgmt/types/ConnectionForList.java b/src/main/java/com/auth0/client/mgmt/types/ConnectionForList.java
index 7879f24a2..667bb23ab 100644
--- a/src/main/java/com/auth0/client/mgmt/types/ConnectionForList.java
+++ b/src/main/java/com/auth0/client/mgmt/types/ConnectionForList.java
@@ -46,6 +46,8 @@ public final class ConnectionForList {
private final Optional crossAppAccessRequestingApp;
+ private final Optional crossAppAccessResourceApp;
+
private final Map additionalProperties;
private ConnectionForList(
@@ -61,6 +63,7 @@ private ConnectionForList(
Optional authentication,
Optional connectedAccounts,
Optional crossAppAccessRequestingApp,
+ Optional crossAppAccessResourceApp,
Map additionalProperties) {
this.name = name;
this.displayName = displayName;
@@ -74,6 +77,7 @@ private ConnectionForList(
this.authentication = authentication;
this.connectedAccounts = connectedAccounts;
this.crossAppAccessRequestingApp = crossAppAccessRequestingApp;
+ this.crossAppAccessResourceApp = crossAppAccessResourceApp;
this.additionalProperties = additionalProperties;
}
@@ -158,6 +162,11 @@ public Optional getCrossAppAccessRequestingApp() {
return crossAppAccessRequestingApp;
}
+ @JsonProperty("cross_app_access_resource_app")
+ public Optional getCrossAppAccessResourceApp() {
+ return crossAppAccessResourceApp;
+ }
+
@java.lang.Override
public boolean equals(Object other) {
if (this == other) return true;
@@ -181,7 +190,8 @@ private boolean equalTo(ConnectionForList other) {
&& metadata.equals(other.metadata)
&& authentication.equals(other.authentication)
&& connectedAccounts.equals(other.connectedAccounts)
- && crossAppAccessRequestingApp.equals(other.crossAppAccessRequestingApp);
+ && crossAppAccessRequestingApp.equals(other.crossAppAccessRequestingApp)
+ && crossAppAccessResourceApp.equals(other.crossAppAccessResourceApp);
}
@java.lang.Override
@@ -198,7 +208,8 @@ public int hashCode() {
this.metadata,
this.authentication,
this.connectedAccounts,
- this.crossAppAccessRequestingApp);
+ this.crossAppAccessRequestingApp,
+ this.crossAppAccessResourceApp);
}
@java.lang.Override
@@ -236,6 +247,8 @@ public static final class Builder {
private Optional crossAppAccessRequestingApp = Optional.empty();
+ private Optional crossAppAccessResourceApp = Optional.empty();
+
@JsonAnySetter
private Map additionalProperties = new HashMap<>();
@@ -254,6 +267,7 @@ public Builder from(ConnectionForList other) {
authentication(other.getAuthentication());
connectedAccounts(other.getConnectedAccounts());
crossAppAccessRequestingApp(other.getCrossAppAccessRequestingApp());
+ crossAppAccessResourceApp(other.getCrossAppAccessResourceApp());
return this;
}
@@ -410,6 +424,17 @@ public Builder crossAppAccessRequestingApp(CrossAppAccessRequestingApp crossAppA
return this;
}
+ @JsonSetter(value = "cross_app_access_resource_app", nulls = Nulls.SKIP)
+ public Builder crossAppAccessResourceApp(Optional crossAppAccessResourceApp) {
+ this.crossAppAccessResourceApp = crossAppAccessResourceApp;
+ return this;
+ }
+
+ public Builder crossAppAccessResourceApp(CrossAppAccessResourceApp crossAppAccessResourceApp) {
+ this.crossAppAccessResourceApp = Optional.ofNullable(crossAppAccessResourceApp);
+ return this;
+ }
+
public ConnectionForList build() {
return new ConnectionForList(
name,
@@ -424,6 +449,7 @@ public ConnectionForList build() {
authentication,
connectedAccounts,
crossAppAccessRequestingApp,
+ crossAppAccessResourceApp,
additionalProperties);
}
diff --git a/src/main/java/com/auth0/client/mgmt/types/ConnectionResponseContentOidc.java b/src/main/java/com/auth0/client/mgmt/types/ConnectionResponseContentOidc.java
index 040dc79d6..4fe75d338 100644
--- a/src/main/java/com/auth0/client/mgmt/types/ConnectionResponseContentOidc.java
+++ b/src/main/java/com/auth0/client/mgmt/types/ConnectionResponseContentOidc.java
@@ -3,6 +3,7 @@
*/
package com.auth0.client.mgmt.types;
+import com.auth0.client.mgmt.core.NullableNonemptyFilter;
import com.auth0.client.mgmt.core.ObjectMappers;
import com.auth0.client.mgmt.core.OptionalNullable;
import com.fasterxml.jackson.annotation.JsonAnyGetter;
@@ -19,6 +20,7 @@
import java.util.Objects;
import java.util.Optional;
import org.jetbrains.annotations.NotNull;
+import org.jetbrains.annotations.Nullable;
@JsonInclude(JsonInclude.Include.NON_ABSENT)
@JsonDeserialize(builder = ConnectionResponseContentOidc.Builder.class)
@@ -45,6 +47,8 @@ public final class ConnectionResponseContentOidc implements IConnectionResponseC
private final Optional crossAppAccessRequestingApp;
+ private final OptionalNullable crossAppAccessResourceApp;
+
private final Optional options;
private final Optional showAsButton;
@@ -63,6 +67,7 @@ private ConnectionResponseContentOidc(
Optional authentication,
Optional connectedAccounts,
Optional crossAppAccessRequestingApp,
+ OptionalNullable crossAppAccessResourceApp,
Optional options,
Optional showAsButton,
Map additionalProperties) {
@@ -77,6 +82,7 @@ private ConnectionResponseContentOidc(
this.authentication = authentication;
this.connectedAccounts = connectedAccounts;
this.crossAppAccessRequestingApp = crossAppAccessRequestingApp;
+ this.crossAppAccessResourceApp = crossAppAccessResourceApp;
this.options = options;
this.showAsButton = showAsButton;
this.additionalProperties = additionalProperties;
@@ -147,6 +153,15 @@ public Optional getCrossAppAccessRequestingApp() {
return crossAppAccessRequestingApp;
}
+ @JsonInclude(value = JsonInclude.Include.CUSTOM, valueFilter = NullableNonemptyFilter.class)
+ @JsonProperty("cross_app_access_resource_app")
+ public OptionalNullable getCrossAppAccessResourceApp() {
+ if (crossAppAccessResourceApp == null) {
+ return OptionalNullable.absent();
+ }
+ return crossAppAccessResourceApp;
+ }
+
@JsonProperty("options")
public Optional getOptions() {
return options;
@@ -157,6 +172,12 @@ public Optional getShowAsButton() {
return showAsButton;
}
+ @JsonInclude(value = JsonInclude.Include.CUSTOM, valueFilter = NullableNonemptyFilter.class)
+ @JsonProperty("cross_app_access_resource_app")
+ private OptionalNullable _getCrossAppAccessResourceApp() {
+ return crossAppAccessResourceApp;
+ }
+
@java.lang.Override
public boolean equals(Object other) {
if (this == other) return true;
@@ -180,6 +201,7 @@ private boolean equalTo(ConnectionResponseContentOidc other) {
&& authentication.equals(other.authentication)
&& connectedAccounts.equals(other.connectedAccounts)
&& crossAppAccessRequestingApp.equals(other.crossAppAccessRequestingApp)
+ && crossAppAccessResourceApp.equals(other.crossAppAccessResourceApp)
&& options.equals(other.options)
&& showAsButton.equals(other.showAsButton);
}
@@ -198,6 +220,7 @@ public int hashCode() {
this.authentication,
this.connectedAccounts,
this.crossAppAccessRequestingApp,
+ this.crossAppAccessResourceApp,
this.options,
this.showAsButton);
}
@@ -267,6 +290,16 @@ public interface _FinalStage {
_FinalStage crossAppAccessRequestingApp(CrossAppAccessRequestingApp crossAppAccessRequestingApp);
+ _FinalStage crossAppAccessResourceApp(
+ @Nullable OptionalNullable crossAppAccessResourceApp);
+
+ _FinalStage crossAppAccessResourceApp(ConnectionCrossAppAccessResourceApp crossAppAccessResourceApp);
+
+ _FinalStage crossAppAccessResourceApp(Optional crossAppAccessResourceApp);
+
+ _FinalStage crossAppAccessResourceApp(
+ com.auth0.client.mgmt.core.Nullable crossAppAccessResourceApp);
+
_FinalStage options(Optional options);
_FinalStage options(ConnectionOptionsOidc options);
@@ -288,6 +321,9 @@ public static final class Builder implements IdStage, NameStage, StrategyStage,
private Optional options = Optional.empty();
+ private OptionalNullable crossAppAccessResourceApp =
+ OptionalNullable.absent();
+
private Optional crossAppAccessRequestingApp = Optional.empty();
private Optional connectedAccounts = Optional.empty();
@@ -322,6 +358,7 @@ public Builder from(ConnectionResponseContentOidc other) {
authentication(other.getAuthentication());
connectedAccounts(other.getConnectedAccounts());
crossAppAccessRequestingApp(other.getCrossAppAccessRequestingApp());
+ crossAppAccessResourceApp(other.getCrossAppAccessResourceApp());
options(other.getOptions());
showAsButton(other.getShowAsButton());
return this;
@@ -374,6 +411,44 @@ public _FinalStage options(Optional options) {
return this;
}
+ @java.lang.Override
+ public _FinalStage crossAppAccessResourceApp(
+ com.auth0.client.mgmt.core.Nullable crossAppAccessResourceApp) {
+ if (crossAppAccessResourceApp.isNull()) {
+ this.crossAppAccessResourceApp = OptionalNullable.ofNull();
+ } else if (crossAppAccessResourceApp.isEmpty()) {
+ this.crossAppAccessResourceApp = OptionalNullable.absent();
+ } else {
+ this.crossAppAccessResourceApp = OptionalNullable.of(crossAppAccessResourceApp.get());
+ }
+ return this;
+ }
+
+ @java.lang.Override
+ public _FinalStage crossAppAccessResourceApp(
+ Optional crossAppAccessResourceApp) {
+ if (crossAppAccessResourceApp.isPresent()) {
+ this.crossAppAccessResourceApp = OptionalNullable.of(crossAppAccessResourceApp.get());
+ } else {
+ this.crossAppAccessResourceApp = OptionalNullable.absent();
+ }
+ return this;
+ }
+
+ @java.lang.Override
+ public _FinalStage crossAppAccessResourceApp(ConnectionCrossAppAccessResourceApp crossAppAccessResourceApp) {
+ this.crossAppAccessResourceApp = OptionalNullable.of(crossAppAccessResourceApp);
+ return this;
+ }
+
+ @java.lang.Override
+ @JsonSetter(value = "cross_app_access_resource_app", nulls = Nulls.SKIP)
+ public _FinalStage crossAppAccessResourceApp(
+ @Nullable OptionalNullable crossAppAccessResourceApp) {
+ this.crossAppAccessResourceApp = crossAppAccessResourceApp;
+ return this;
+ }
+
@java.lang.Override
public _FinalStage crossAppAccessRequestingApp(CrossAppAccessRequestingApp crossAppAccessRequestingApp) {
this.crossAppAccessRequestingApp = Optional.ofNullable(crossAppAccessRequestingApp);
@@ -500,6 +575,7 @@ public ConnectionResponseContentOidc build() {
authentication,
connectedAccounts,
crossAppAccessRequestingApp,
+ crossAppAccessResourceApp,
options,
showAsButton,
additionalProperties);
diff --git a/src/main/java/com/auth0/client/mgmt/types/CreateBrandingThemeResponseContent.java b/src/main/java/com/auth0/client/mgmt/types/CreateBrandingThemeResponseContent.java
index 6b67cf5e5..15a1c4536 100644
--- a/src/main/java/com/auth0/client/mgmt/types/CreateBrandingThemeResponseContent.java
+++ b/src/main/java/com/auth0/client/mgmt/types/CreateBrandingThemeResponseContent.java
@@ -10,10 +10,12 @@
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;
import org.jetbrains.annotations.NotNull;
@JsonInclude(JsonInclude.Include.NON_ABSENT)
@@ -27,6 +29,8 @@ public final class CreateBrandingThemeResponseContent {
private final BrandingThemeFonts fonts;
+ private final Optional identifiers;
+
private final BrandingThemePageBackground pageBackground;
private final String themeId;
@@ -40,6 +44,7 @@ private CreateBrandingThemeResponseContent(
BrandingThemeColors colors,
String displayName,
BrandingThemeFonts fonts,
+ Optional identifiers,
BrandingThemePageBackground pageBackground,
String themeId,
BrandingThemeWidget widget,
@@ -48,6 +53,7 @@ private CreateBrandingThemeResponseContent(
this.colors = colors;
this.displayName = displayName;
this.fonts = fonts;
+ this.identifiers = identifiers;
this.pageBackground = pageBackground;
this.themeId = themeId;
this.widget = widget;
@@ -77,6 +83,11 @@ public BrandingThemeFonts getFonts() {
return fonts;
}
+ @JsonProperty("identifiers")
+ public Optional getIdentifiers() {
+ return identifiers;
+ }
+
@JsonProperty("page_background")
public BrandingThemePageBackground getPageBackground() {
return pageBackground;
@@ -112,6 +123,7 @@ private boolean equalTo(CreateBrandingThemeResponseContent other) {
&& colors.equals(other.colors)
&& displayName.equals(other.displayName)
&& fonts.equals(other.fonts)
+ && identifiers.equals(other.identifiers)
&& pageBackground.equals(other.pageBackground)
&& themeId.equals(other.themeId)
&& widget.equals(other.widget);
@@ -124,6 +136,7 @@ public int hashCode() {
this.colors,
this.displayName,
this.fonts,
+ this.identifiers,
this.pageBackground,
this.themeId,
this.widget);
@@ -180,6 +193,10 @@ public interface _FinalStage {
_FinalStage additionalProperty(String key, Object value);
_FinalStage additionalProperties(Map additionalProperties);
+
+ _FinalStage identifiers(Optional identifiers);
+
+ _FinalStage identifiers(BrandingThemeIdentifiers identifiers);
}
@JsonIgnoreProperties(ignoreUnknown = true)
@@ -206,6 +223,8 @@ public static final class Builder
private BrandingThemeWidget widget;
+ private Optional identifiers = Optional.empty();
+
@JsonAnySetter
private Map additionalProperties = new HashMap<>();
@@ -217,6 +236,7 @@ public Builder from(CreateBrandingThemeResponseContent other) {
colors(other.getColors());
displayName(other.getDisplayName());
fonts(other.getFonts());
+ identifiers(other.getIdentifiers());
pageBackground(other.getPageBackground());
themeId(other.getThemeId());
widget(other.getWidget());
@@ -280,10 +300,31 @@ public _FinalStage widget(@NotNull BrandingThemeWidget widget) {
return this;
}
+ @java.lang.Override
+ public _FinalStage identifiers(BrandingThemeIdentifiers identifiers) {
+ this.identifiers = Optional.ofNullable(identifiers);
+ return this;
+ }
+
+ @java.lang.Override
+ @JsonSetter(value = "identifiers", nulls = Nulls.SKIP)
+ public _FinalStage identifiers(Optional identifiers) {
+ this.identifiers = identifiers;
+ return this;
+ }
+
@java.lang.Override
public CreateBrandingThemeResponseContent build() {
return new CreateBrandingThemeResponseContent(
- borders, colors, displayName, fonts, pageBackground, themeId, widget, additionalProperties);
+ borders,
+ colors,
+ displayName,
+ fonts,
+ identifiers,
+ pageBackground,
+ themeId,
+ widget,
+ additionalProperties);
}
@java.lang.Override
diff --git a/src/main/java/com/auth0/client/mgmt/types/CreateClientRequestContent.java b/src/main/java/com/auth0/client/mgmt/types/CreateClientRequestContent.java
index 98f40f197..ccc847ab9 100644
--- a/src/main/java/com/auth0/client/mgmt/types/CreateClientRequestContent.java
+++ b/src/main/java/com/auth0/client/mgmt/types/CreateClientRequestContent.java
@@ -125,6 +125,8 @@ public final class CreateClientRequestContent {
private final Optional resourceServerIdentifier;
+ private final Optional identityAssertionAuthorizationGrant;
+
private final Optional thirdPartySecurityMode;
private final Optional redirectionPolicy;
@@ -188,6 +190,7 @@ private CreateClientRequestContent(
OptionalNullable parRequestExpiry,
Optional tokenQuota,
Optional resourceServerIdentifier,
+ Optional identityAssertionAuthorizationGrant,
Optional thirdPartySecurityMode,
Optional redirectionPolicy,
Optional expressConfiguration,
@@ -244,6 +247,7 @@ private CreateClientRequestContent(
this.parRequestExpiry = parRequestExpiry;
this.tokenQuota = tokenQuota;
this.resourceServerIdentifier = resourceServerIdentifier;
+ this.identityAssertionAuthorizationGrant = identityAssertionAuthorizationGrant;
this.thirdPartySecurityMode = thirdPartySecurityMode;
this.redirectionPolicy = redirectionPolicy;
this.expressConfiguration = expressConfiguration;
@@ -615,6 +619,11 @@ public Optional getResourceServerIdentifier() {
return resourceServerIdentifier;
}
+ @JsonProperty("identity_assertion_authorization_grant")
+ public Optional getIdentityAssertionAuthorizationGrant() {
+ return identityAssertionAuthorizationGrant;
+ }
+
@JsonProperty("third_party_security_mode")
public Optional getThirdPartySecurityMode() {
return thirdPartySecurityMode;
@@ -739,6 +748,7 @@ private boolean equalTo(CreateClientRequestContent other) {
&& parRequestExpiry.equals(other.parRequestExpiry)
&& tokenQuota.equals(other.tokenQuota)
&& resourceServerIdentifier.equals(other.resourceServerIdentifier)
+ && identityAssertionAuthorizationGrant.equals(other.identityAssertionAuthorizationGrant)
&& thirdPartySecurityMode.equals(other.thirdPartySecurityMode)
&& redirectionPolicy.equals(other.redirectionPolicy)
&& expressConfiguration.equals(other.expressConfiguration)
@@ -799,6 +809,7 @@ public int hashCode() {
this.parRequestExpiry,
this.tokenQuota,
this.resourceServerIdentifier,
+ this.identityAssertionAuthorizationGrant,
this.thirdPartySecurityMode,
this.redirectionPolicy,
this.expressConfiguration,
@@ -1145,6 +1156,12 @@ _FinalStage skipNonVerifiableCallbackUriConfirmationPrompt(
_FinalStage resourceServerIdentifier(String resourceServerIdentifier);
+ _FinalStage identityAssertionAuthorizationGrant(
+ Optional identityAssertionAuthorizationGrant);
+
+ _FinalStage identityAssertionAuthorizationGrant(
+ CreateIdentityAssertionAuthorizationGrant identityAssertionAuthorizationGrant);
+
_FinalStage thirdPartySecurityMode(Optional thirdPartySecurityMode);
_FinalStage thirdPartySecurityMode(ClientThirdPartySecurityModeEnum thirdPartySecurityMode);
@@ -1184,6 +1201,9 @@ public static final class Builder implements NameStage, _FinalStage {
private Optional thirdPartySecurityMode = Optional.empty();
+ private Optional identityAssertionAuthorizationGrant =
+ Optional.empty();
+
private Optional resourceServerIdentifier = Optional.empty();
private Optional tokenQuota = Optional.empty();
@@ -1339,6 +1359,7 @@ public Builder from(CreateClientRequestContent other) {
parRequestExpiry(other.getParRequestExpiry());
tokenQuota(other.getTokenQuota());
resourceServerIdentifier(other.getResourceServerIdentifier());
+ identityAssertionAuthorizationGrant(other.getIdentityAssertionAuthorizationGrant());
thirdPartySecurityMode(other.getThirdPartySecurityMode());
redirectionPolicy(other.getRedirectionPolicy());
expressConfiguration(other.getExpressConfiguration());
@@ -1427,6 +1448,21 @@ public _FinalStage thirdPartySecurityMode(Optional identityAssertionAuthorizationGrant) {
+ this.identityAssertionAuthorizationGrant = identityAssertionAuthorizationGrant;
+ return this;
+ }
+
/**
* The identifier of the resource server that this client is linked to.
* @return Reference to {@code this} so that method calls can be chained together.
@@ -2474,6 +2510,7 @@ public CreateClientRequestContent build() {
parRequestExpiry,
tokenQuota,
resourceServerIdentifier,
+ identityAssertionAuthorizationGrant,
thirdPartySecurityMode,
redirectionPolicy,
expressConfiguration,
diff --git a/src/main/java/com/auth0/client/mgmt/types/CreateClientResponseContent.java b/src/main/java/com/auth0/client/mgmt/types/CreateClientResponseContent.java
index 7f909743e..12e65eb1b 100644
--- a/src/main/java/com/auth0/client/mgmt/types/CreateClientResponseContent.java
+++ b/src/main/java/com/auth0/client/mgmt/types/CreateClientResponseContent.java
@@ -134,6 +134,8 @@ public final class CreateClientResponseContent {
private final Optional myOrganizationConfiguration;
+ private final Optional identityAssertionAuthorizationGrant;
+
private final Optional thirdPartySecurityMode;
private final Optional redirectionPolicy;
@@ -208,6 +210,7 @@ private CreateClientResponseContent(
Optional tokenQuota,
Optional expressConfiguration,
Optional myOrganizationConfiguration,
+ Optional identityAssertionAuthorizationGrant,
Optional thirdPartySecurityMode,
Optional redirectionPolicy,
Optional resourceServerIdentifier,
@@ -272,6 +275,7 @@ private CreateClientResponseContent(
this.tokenQuota = tokenQuota;
this.expressConfiguration = expressConfiguration;
this.myOrganizationConfiguration = myOrganizationConfiguration;
+ this.identityAssertionAuthorizationGrant = identityAssertionAuthorizationGrant;
this.thirdPartySecurityMode = thirdPartySecurityMode;
this.redirectionPolicy = redirectionPolicy;
this.resourceServerIdentifier = resourceServerIdentifier;
@@ -685,6 +689,11 @@ public Optional getMyOrganizationConf
return myOrganizationConfiguration;
}
+ @JsonProperty("identity_assertion_authorization_grant")
+ public Optional getIdentityAssertionAuthorizationGrant() {
+ return identityAssertionAuthorizationGrant;
+ }
+
@JsonProperty("third_party_security_mode")
public Optional getThirdPartySecurityMode() {
return thirdPartySecurityMode;
@@ -850,6 +859,7 @@ private boolean equalTo(CreateClientResponseContent other) {
&& tokenQuota.equals(other.tokenQuota)
&& expressConfiguration.equals(other.expressConfiguration)
&& myOrganizationConfiguration.equals(other.myOrganizationConfiguration)
+ && identityAssertionAuthorizationGrant.equals(other.identityAssertionAuthorizationGrant)
&& thirdPartySecurityMode.equals(other.thirdPartySecurityMode)
&& redirectionPolicy.equals(other.redirectionPolicy)
&& resourceServerIdentifier.equals(other.resourceServerIdentifier)
@@ -918,6 +928,7 @@ public int hashCode() {
this.tokenQuota,
this.expressConfiguration,
this.myOrganizationConfiguration,
+ this.identityAssertionAuthorizationGrant,
this.thirdPartySecurityMode,
this.redirectionPolicy,
this.resourceServerIdentifier,
@@ -1050,6 +1061,8 @@ public static final class Builder {
private Optional myOrganizationConfiguration = Optional.empty();
+ private Optional identityAssertionAuthorizationGrant = Optional.empty();
+
private Optional thirdPartySecurityMode = Optional.empty();
private Optional redirectionPolicy = Optional.empty();
@@ -1128,6 +1141,7 @@ public Builder from(CreateClientResponseContent other) {
tokenQuota(other.getTokenQuota());
expressConfiguration(other.getExpressConfiguration());
myOrganizationConfiguration(other.getMyOrganizationConfiguration());
+ identityAssertionAuthorizationGrant(other.getIdentityAssertionAuthorizationGrant());
thirdPartySecurityMode(other.getThirdPartySecurityMode());
redirectionPolicy(other.getRedirectionPolicy());
resourceServerIdentifier(other.getResourceServerIdentifier());
@@ -2013,6 +2027,19 @@ public Builder myOrganizationConfiguration(
return this;
}
+ @JsonSetter(value = "identity_assertion_authorization_grant", nulls = Nulls.SKIP)
+ public Builder identityAssertionAuthorizationGrant(
+ Optional identityAssertionAuthorizationGrant) {
+ this.identityAssertionAuthorizationGrant = identityAssertionAuthorizationGrant;
+ return this;
+ }
+
+ public Builder identityAssertionAuthorizationGrant(
+ IdentityAssertionAuthorizationGrant identityAssertionAuthorizationGrant) {
+ this.identityAssertionAuthorizationGrant = Optional.ofNullable(identityAssertionAuthorizationGrant);
+ return this;
+ }
+
@JsonSetter(value = "third_party_security_mode", nulls = Nulls.SKIP)
public Builder thirdPartySecurityMode(Optional thirdPartySecurityMode) {
this.thirdPartySecurityMode = thirdPartySecurityMode;
@@ -2170,6 +2197,7 @@ public CreateClientResponseContent build() {
tokenQuota,
expressConfiguration,
myOrganizationConfiguration,
+ identityAssertionAuthorizationGrant,
thirdPartySecurityMode,
redirectionPolicy,
resourceServerIdentifier,
diff --git a/src/main/java/com/auth0/client/mgmt/types/CreateConnectionRequestContent.java b/src/main/java/com/auth0/client/mgmt/types/CreateConnectionRequestContent.java
index b841315a3..061777d72 100644
--- a/src/main/java/com/auth0/client/mgmt/types/CreateConnectionRequestContent.java
+++ b/src/main/java/com/auth0/client/mgmt/types/CreateConnectionRequestContent.java
@@ -47,6 +47,8 @@ public final class CreateConnectionRequestContent {
private final Optional crossAppAccessRequestingApp;
+ private final Optional crossAppAccessResourceApp;
+
private final Map additionalProperties;
private CreateConnectionRequestContent(
@@ -62,6 +64,7 @@ private CreateConnectionRequestContent(
Optional authentication,
Optional connectedAccounts,
Optional crossAppAccessRequestingApp,
+ Optional crossAppAccessResourceApp,
Map additionalProperties) {
this.name = name;
this.displayName = displayName;
@@ -75,6 +78,7 @@ private CreateConnectionRequestContent(
this.authentication = authentication;
this.connectedAccounts = connectedAccounts;
this.crossAppAccessRequestingApp = crossAppAccessRequestingApp;
+ this.crossAppAccessResourceApp = crossAppAccessResourceApp;
this.additionalProperties = additionalProperties;
}
@@ -156,6 +160,11 @@ public Optional getCrossAppAccessRequestingApp() {
return crossAppAccessRequestingApp;
}
+ @JsonProperty("cross_app_access_resource_app")
+ public Optional getCrossAppAccessResourceApp() {
+ return crossAppAccessResourceApp;
+ }
+
@java.lang.Override
public boolean equals(Object other) {
if (this == other) return true;
@@ -179,7 +188,8 @@ private boolean equalTo(CreateConnectionRequestContent other) {
&& metadata.equals(other.metadata)
&& authentication.equals(other.authentication)
&& connectedAccounts.equals(other.connectedAccounts)
- && crossAppAccessRequestingApp.equals(other.crossAppAccessRequestingApp);
+ && crossAppAccessRequestingApp.equals(other.crossAppAccessRequestingApp)
+ && crossAppAccessResourceApp.equals(other.crossAppAccessResourceApp);
}
@java.lang.Override
@@ -196,7 +206,8 @@ public int hashCode() {
this.metadata,
this.authentication,
this.connectedAccounts,
- this.crossAppAccessRequestingApp);
+ this.crossAppAccessRequestingApp,
+ this.crossAppAccessResourceApp);
}
@java.lang.Override
@@ -282,6 +293,10 @@ public interface _FinalStage {
_FinalStage crossAppAccessRequestingApp(Optional crossAppAccessRequestingApp);
_FinalStage crossAppAccessRequestingApp(CrossAppAccessRequestingApp crossAppAccessRequestingApp);
+
+ _FinalStage crossAppAccessResourceApp(Optional crossAppAccessResourceApp);
+
+ _FinalStage crossAppAccessResourceApp(CreateCrossAppAccessResourceApp crossAppAccessResourceApp);
}
@JsonIgnoreProperties(ignoreUnknown = true)
@@ -290,6 +305,8 @@ public static final class Builder implements NameStage, StrategyStage, _FinalSta
private ConnectionIdentityProviderEnum strategy;
+ private Optional crossAppAccessResourceApp = Optional.empty();
+
private Optional crossAppAccessRequestingApp = Optional.empty();
private Optional connectedAccounts = Optional.empty();
@@ -329,6 +346,7 @@ public Builder from(CreateConnectionRequestContent other) {
authentication(other.getAuthentication());
connectedAccounts(other.getConnectedAccounts());
crossAppAccessRequestingApp(other.getCrossAppAccessRequestingApp());
+ crossAppAccessResourceApp(other.getCrossAppAccessResourceApp());
return this;
}
@@ -350,6 +368,20 @@ public _FinalStage strategy(@NotNull ConnectionIdentityProviderEnum strategy) {
return this;
}
+ @java.lang.Override
+ public _FinalStage crossAppAccessResourceApp(CreateCrossAppAccessResourceApp crossAppAccessResourceApp) {
+ this.crossAppAccessResourceApp = Optional.ofNullable(crossAppAccessResourceApp);
+ return this;
+ }
+
+ @java.lang.Override
+ @JsonSetter(value = "cross_app_access_resource_app", nulls = Nulls.SKIP)
+ public _FinalStage crossAppAccessResourceApp(
+ Optional crossAppAccessResourceApp) {
+ this.crossAppAccessResourceApp = crossAppAccessResourceApp;
+ return this;
+ }
+
@java.lang.Override
public _FinalStage crossAppAccessRequestingApp(CrossAppAccessRequestingApp crossAppAccessRequestingApp) {
this.crossAppAccessRequestingApp = Optional.ofNullable(crossAppAccessRequestingApp);
@@ -531,6 +563,7 @@ public CreateConnectionRequestContent build() {
authentication,
connectedAccounts,
crossAppAccessRequestingApp,
+ crossAppAccessResourceApp,
additionalProperties);
}
diff --git a/src/main/java/com/auth0/client/mgmt/types/CreateConnectionRequestContentOidc.java b/src/main/java/com/auth0/client/mgmt/types/CreateConnectionRequestContentOidc.java
index f9df64c69..e061026af 100644
--- a/src/main/java/com/auth0/client/mgmt/types/CreateConnectionRequestContentOidc.java
+++ b/src/main/java/com/auth0/client/mgmt/types/CreateConnectionRequestContentOidc.java
@@ -3,6 +3,7 @@
*/
package com.auth0.client.mgmt.types;
+import com.auth0.client.mgmt.core.NullableNonemptyFilter;
import com.auth0.client.mgmt.core.ObjectMappers;
import com.auth0.client.mgmt.core.OptionalNullable;
import com.fasterxml.jackson.annotation.JsonAnyGetter;
@@ -19,6 +20,7 @@
import java.util.Objects;
import java.util.Optional;
import org.jetbrains.annotations.NotNull;
+import org.jetbrains.annotations.Nullable;
@JsonInclude(JsonInclude.Include.NON_ABSENT)
@JsonDeserialize(builder = CreateConnectionRequestContentOidc.Builder.class)
@@ -41,6 +43,8 @@ public final class CreateConnectionRequestContentOidc implements ICreateConnecti
private final Optional crossAppAccessRequestingApp;
+ private final OptionalNullable crossAppAccessResourceApp;
+
private final Optional options;
private final Optional showAsButton;
@@ -57,6 +61,7 @@ private CreateConnectionRequestContentOidc(
Optional authentication,
Optional connectedAccounts,
Optional crossAppAccessRequestingApp,
+ OptionalNullable crossAppAccessResourceApp,
Optional options,
Optional showAsButton,
Map additionalProperties) {
@@ -69,6 +74,7 @@ private CreateConnectionRequestContentOidc(
this.authentication = authentication;
this.connectedAccounts = connectedAccounts;
this.crossAppAccessRequestingApp = crossAppAccessRequestingApp;
+ this.crossAppAccessResourceApp = crossAppAccessResourceApp;
this.options = options;
this.showAsButton = showAsButton;
this.additionalProperties = additionalProperties;
@@ -127,6 +133,15 @@ public Optional getCrossAppAccessRequestingApp() {
return crossAppAccessRequestingApp;
}
+ @JsonInclude(value = JsonInclude.Include.CUSTOM, valueFilter = NullableNonemptyFilter.class)
+ @JsonProperty("cross_app_access_resource_app")
+ public OptionalNullable getCrossAppAccessResourceApp() {
+ if (crossAppAccessResourceApp == null) {
+ return OptionalNullable.absent();
+ }
+ return crossAppAccessResourceApp;
+ }
+
@JsonProperty("options")
public Optional getOptions() {
return options;
@@ -137,6 +152,12 @@ public Optional getShowAsButton() {
return showAsButton;
}
+ @JsonInclude(value = JsonInclude.Include.CUSTOM, valueFilter = NullableNonemptyFilter.class)
+ @JsonProperty("cross_app_access_resource_app")
+ private OptionalNullable _getCrossAppAccessResourceApp() {
+ return crossAppAccessResourceApp;
+ }
+
@java.lang.Override
public boolean equals(Object other) {
if (this == other) return true;
@@ -159,6 +180,7 @@ private boolean equalTo(CreateConnectionRequestContentOidc other) {
&& authentication.equals(other.authentication)
&& connectedAccounts.equals(other.connectedAccounts)
&& crossAppAccessRequestingApp.equals(other.crossAppAccessRequestingApp)
+ && crossAppAccessResourceApp.equals(other.crossAppAccessResourceApp)
&& options.equals(other.options)
&& showAsButton.equals(other.showAsButton);
}
@@ -175,6 +197,7 @@ public int hashCode() {
this.authentication,
this.connectedAccounts,
this.crossAppAccessRequestingApp,
+ this.crossAppAccessResourceApp,
this.options,
this.showAsButton);
}
@@ -236,6 +259,16 @@ public interface _FinalStage {
_FinalStage crossAppAccessRequestingApp(CrossAppAccessRequestingApp crossAppAccessRequestingApp);
+ _FinalStage crossAppAccessResourceApp(
+ @Nullable OptionalNullable crossAppAccessResourceApp);
+
+ _FinalStage crossAppAccessResourceApp(ConnectionCrossAppAccessResourceApp crossAppAccessResourceApp);
+
+ _FinalStage crossAppAccessResourceApp(Optional crossAppAccessResourceApp);
+
+ _FinalStage crossAppAccessResourceApp(
+ com.auth0.client.mgmt.core.Nullable crossAppAccessResourceApp);
+
_FinalStage options(Optional options);
_FinalStage options(ConnectionOptionsOidc options);
@@ -255,6 +288,9 @@ public static final class Builder implements NameStage, StrategyStage, _FinalSta
private Optional options = Optional.empty();
+ private OptionalNullable crossAppAccessResourceApp =
+ OptionalNullable.absent();
+
private Optional crossAppAccessRequestingApp = Optional.empty();
private Optional connectedAccounts = Optional.empty();
@@ -285,6 +321,7 @@ public Builder from(CreateConnectionRequestContentOidc other) {
authentication(other.getAuthentication());
connectedAccounts(other.getConnectedAccounts());
crossAppAccessRequestingApp(other.getCrossAppAccessRequestingApp());
+ crossAppAccessResourceApp(other.getCrossAppAccessResourceApp());
options(other.getOptions());
showAsButton(other.getShowAsButton());
return this;
@@ -330,6 +367,44 @@ public _FinalStage options(Optional options) {
return this;
}
+ @java.lang.Override
+ public _FinalStage crossAppAccessResourceApp(
+ com.auth0.client.mgmt.core.Nullable crossAppAccessResourceApp) {
+ if (crossAppAccessResourceApp.isNull()) {
+ this.crossAppAccessResourceApp = OptionalNullable.ofNull();
+ } else if (crossAppAccessResourceApp.isEmpty()) {
+ this.crossAppAccessResourceApp = OptionalNullable.absent();
+ } else {
+ this.crossAppAccessResourceApp = OptionalNullable.of(crossAppAccessResourceApp.get());
+ }
+ return this;
+ }
+
+ @java.lang.Override
+ public _FinalStage crossAppAccessResourceApp(
+ Optional crossAppAccessResourceApp) {
+ if (crossAppAccessResourceApp.isPresent()) {
+ this.crossAppAccessResourceApp = OptionalNullable.of(crossAppAccessResourceApp.get());
+ } else {
+ this.crossAppAccessResourceApp = OptionalNullable.absent();
+ }
+ return this;
+ }
+
+ @java.lang.Override
+ public _FinalStage crossAppAccessResourceApp(ConnectionCrossAppAccessResourceApp crossAppAccessResourceApp) {
+ this.crossAppAccessResourceApp = OptionalNullable.of(crossAppAccessResourceApp);
+ return this;
+ }
+
+ @java.lang.Override
+ @JsonSetter(value = "cross_app_access_resource_app", nulls = Nulls.SKIP)
+ public _FinalStage crossAppAccessResourceApp(
+ @Nullable OptionalNullable crossAppAccessResourceApp) {
+ this.crossAppAccessResourceApp = crossAppAccessResourceApp;
+ return this;
+ }
+
@java.lang.Override
public _FinalStage crossAppAccessRequestingApp(CrossAppAccessRequestingApp crossAppAccessRequestingApp) {
this.crossAppAccessRequestingApp = Optional.ofNullable(crossAppAccessRequestingApp);
@@ -441,6 +516,7 @@ public CreateConnectionRequestContentOidc build() {
authentication,
connectedAccounts,
crossAppAccessRequestingApp,
+ crossAppAccessResourceApp,
options,
showAsButton,
additionalProperties);
diff --git a/src/main/java/com/auth0/client/mgmt/types/CreateConnectionResponseContent.java b/src/main/java/com/auth0/client/mgmt/types/CreateConnectionResponseContent.java
index 93142c143..e92f8f2e6 100644
--- a/src/main/java/com/auth0/client/mgmt/types/CreateConnectionResponseContent.java
+++ b/src/main/java/com/auth0/client/mgmt/types/CreateConnectionResponseContent.java
@@ -48,6 +48,8 @@ public final class CreateConnectionResponseContent {
private final Optional crossAppAccessRequestingApp;
+ private final Optional crossAppAccessResourceApp;
+
private final Map additionalProperties;
private CreateConnectionResponseContent(
@@ -64,6 +66,7 @@ private CreateConnectionResponseContent(
Optional authentication,
Optional connectedAccounts,
Optional crossAppAccessRequestingApp,
+ Optional crossAppAccessResourceApp,
Map additionalProperties) {
this.name = name;
this.displayName = displayName;
@@ -78,6 +81,7 @@ private CreateConnectionResponseContent(
this.authentication = authentication;
this.connectedAccounts = connectedAccounts;
this.crossAppAccessRequestingApp = crossAppAccessRequestingApp;
+ this.crossAppAccessResourceApp = crossAppAccessResourceApp;
this.additionalProperties = additionalProperties;
}
@@ -170,6 +174,11 @@ public Optional getCrossAppAccessRequestingApp() {
return crossAppAccessRequestingApp;
}
+ @JsonProperty("cross_app_access_resource_app")
+ public Optional getCrossAppAccessResourceApp() {
+ return crossAppAccessResourceApp;
+ }
+
@java.lang.Override
public boolean equals(Object other) {
if (this == other) return true;
@@ -194,7 +203,8 @@ private boolean equalTo(CreateConnectionResponseContent other) {
&& metadata.equals(other.metadata)
&& authentication.equals(other.authentication)
&& connectedAccounts.equals(other.connectedAccounts)
- && crossAppAccessRequestingApp.equals(other.crossAppAccessRequestingApp);
+ && crossAppAccessRequestingApp.equals(other.crossAppAccessRequestingApp)
+ && crossAppAccessResourceApp.equals(other.crossAppAccessResourceApp);
}
@java.lang.Override
@@ -212,7 +222,8 @@ public int hashCode() {
this.metadata,
this.authentication,
this.connectedAccounts,
- this.crossAppAccessRequestingApp);
+ this.crossAppAccessRequestingApp,
+ this.crossAppAccessResourceApp);
}
@java.lang.Override
@@ -252,6 +263,8 @@ public static final class Builder {
private Optional crossAppAccessRequestingApp = Optional.empty();
+ private Optional crossAppAccessResourceApp = Optional.empty();
+
@JsonAnySetter
private Map additionalProperties = new HashMap<>();
@@ -271,6 +284,7 @@ public Builder from(CreateConnectionResponseContent other) {
authentication(other.getAuthentication());
connectedAccounts(other.getConnectedAccounts());
crossAppAccessRequestingApp(other.getCrossAppAccessRequestingApp());
+ crossAppAccessResourceApp(other.getCrossAppAccessResourceApp());
return this;
}
@@ -441,6 +455,17 @@ public Builder crossAppAccessRequestingApp(CrossAppAccessRequestingApp crossAppA
return this;
}
+ @JsonSetter(value = "cross_app_access_resource_app", nulls = Nulls.SKIP)
+ public Builder crossAppAccessResourceApp(Optional crossAppAccessResourceApp) {
+ this.crossAppAccessResourceApp = crossAppAccessResourceApp;
+ return this;
+ }
+
+ public Builder crossAppAccessResourceApp(CrossAppAccessResourceApp crossAppAccessResourceApp) {
+ this.crossAppAccessResourceApp = Optional.ofNullable(crossAppAccessResourceApp);
+ return this;
+ }
+
public CreateConnectionResponseContent build() {
return new CreateConnectionResponseContent(
name,
@@ -456,6 +481,7 @@ public CreateConnectionResponseContent build() {
authentication,
connectedAccounts,
crossAppAccessRequestingApp,
+ crossAppAccessResourceApp,
additionalProperties);
}
diff --git a/src/main/java/com/auth0/client/mgmt/types/CreateCrossAppAccessResourceApp.java b/src/main/java/com/auth0/client/mgmt/types/CreateCrossAppAccessResourceApp.java
new file mode 100644
index 000000000..60cf3acc8
--- /dev/null
+++ b/src/main/java/com/auth0/client/mgmt/types/CreateCrossAppAccessResourceApp.java
@@ -0,0 +1,119 @@
+/**
+ * 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.databind.annotation.JsonDeserialize;
+import java.util.HashMap;
+import java.util.Map;
+import java.util.Objects;
+import org.jetbrains.annotations.NotNull;
+
+@JsonInclude(JsonInclude.Include.NON_ABSENT)
+@JsonDeserialize(builder = CreateCrossAppAccessResourceApp.Builder.class)
+public final class CreateCrossAppAccessResourceApp {
+ private final CrossAppAccessResourceAppStatusEnum status;
+
+ private final Map additionalProperties;
+
+ private CreateCrossAppAccessResourceApp(
+ CrossAppAccessResourceAppStatusEnum status, Map additionalProperties) {
+ this.status = status;
+ this.additionalProperties = additionalProperties;
+ }
+
+ @JsonProperty("status")
+ public CrossAppAccessResourceAppStatusEnum getStatus() {
+ return status;
+ }
+
+ @java.lang.Override
+ public boolean equals(Object other) {
+ if (this == other) return true;
+ return other instanceof CreateCrossAppAccessResourceApp && equalTo((CreateCrossAppAccessResourceApp) other);
+ }
+
+ @JsonAnyGetter
+ public Map getAdditionalProperties() {
+ return this.additionalProperties;
+ }
+
+ private boolean equalTo(CreateCrossAppAccessResourceApp other) {
+ return status.equals(other.status);
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ return Objects.hash(this.status);
+ }
+
+ @java.lang.Override
+ public String toString() {
+ return ObjectMappers.stringify(this);
+ }
+
+ public static StatusStage builder() {
+ return new Builder();
+ }
+
+ public interface StatusStage {
+ _FinalStage status(@NotNull CrossAppAccessResourceAppStatusEnum status);
+
+ Builder from(CreateCrossAppAccessResourceApp other);
+ }
+
+ public interface _FinalStage {
+ CreateCrossAppAccessResourceApp build();
+
+ _FinalStage additionalProperty(String key, Object value);
+
+ _FinalStage additionalProperties(Map additionalProperties);
+ }
+
+ @JsonIgnoreProperties(ignoreUnknown = true)
+ public static final class Builder implements StatusStage, _FinalStage {
+ private CrossAppAccessResourceAppStatusEnum status;
+
+ @JsonAnySetter
+ private Map additionalProperties = new HashMap<>();
+
+ private Builder() {}
+
+ @java.lang.Override
+ public Builder from(CreateCrossAppAccessResourceApp other) {
+ status(other.getStatus());
+ return this;
+ }
+
+ @java.lang.Override
+ @JsonSetter("status")
+ public _FinalStage status(@NotNull CrossAppAccessResourceAppStatusEnum status) {
+ this.status = Objects.requireNonNull(status, "status must not be null");
+ return this;
+ }
+
+ @java.lang.Override
+ public CreateCrossAppAccessResourceApp build() {
+ return new CreateCrossAppAccessResourceApp(status, additionalProperties);
+ }
+
+ @java.lang.Override
+ public Builder additionalProperty(String key, Object value) {
+ this.additionalProperties.put(key, value);
+ return this;
+ }
+
+ @java.lang.Override
+ public Builder additionalProperties(Map