From 25331bd7479f585e2ce22e9fa59c941e49ab3cd6 Mon Sep 17 00:00:00 2001 From: fern-api <115122769+fern-api[bot]@users.noreply.github.com> Date: Tue, 19 May 2026 13:57:24 +0000 Subject: [PATCH] [fern-generated] Update SDK Generated by Fern CLI Version: unknown Generators: - fernapi/fern-java-sdk: 4.6.3 --- reference.md | 31 ++++- .../auth0/client/mgmt/AsyncClientsClient.java | 20 +++- .../client/mgmt/AsyncRawClientsClient.java | 20 +++- .../com/auth0/client/mgmt/ClientsClient.java | 20 +++- .../auth0/client/mgmt/RawClientsClient.java | 20 +++- .../types/ConnectionDpopSigningAlgEnum.java | 20 ++++ .../types/CreateClientRequestContent.java | 32 +++++ .../auth0/client/mgmt/types/FedCmLogin.java | 105 +++++++++++++++++ .../client/mgmt/types/FedCmLoginGoogle.java | 111 ++++++++++++++++++ .../types/UpdateClientRequestContent.java | 26 ++++ 10 files changed, 394 insertions(+), 11 deletions(-) create mode 100644 src/main/java/com/auth0/client/mgmt/types/FedCmLogin.java create mode 100644 src/main/java/com/auth0/client/mgmt/types/FedCmLoginGoogle.java diff --git a/reference.md b/reference.md index 8f8ee235..4c230e4f 100644 --- a/reference.md +++ b/reference.md @@ -1710,6 +1710,14 @@ client.clients().create(
+**fedcmLogin:** `Optional` + +
+
+ +
+
+ **refreshToken:** `Optional`
@@ -1953,10 +1961,19 @@ client.clients().previewCimdMetadata(
+Idempotent registration for Client ID Metadata Document (CIMD) clients. +Uses external_client_id as the unique identifier for upsert operations. - Idempotent registration for Client ID Metadata Document (CIMD) clients. - Uses external_client_id as the unique identifier for upsert operations. - **Create:** Returns 201 when a new client is created (requires \ +Create: Returns 201 when a new client is created (requires create:clients scope). +Update: Returns 200 when an existing client is updated (requires update:clients scope). + +This endpoint automatically: +
    +
  • Fetches and validates the metadata document
  • +
  • Maps CIMD fields to Auth0 client configuration
  • +
  • Creates/rotates credentials from the JWKS
  • +
  • Enforces CIMD security policies (HTTPS-only, no shared secrets)
  • +
@@ -2511,6 +2528,14 @@ client.clients().update(
+**fedcmLogin:** `Optional` + +
+
+ +
+
+ **refreshToken:** `Optional`
diff --git a/src/main/java/com/auth0/client/mgmt/AsyncClientsClient.java b/src/main/java/com/auth0/client/mgmt/AsyncClientsClient.java index 1297e3e8..38180455 100644 --- a/src/main/java/com/auth0/client/mgmt/AsyncClientsClient.java +++ b/src/main/java/com/auth0/client/mgmt/AsyncClientsClient.java @@ -265,7 +265,15 @@ public CompletableFuture previewCimdMetadata /** * Idempotent registration for Client ID Metadata Document (CIMD) clients. * Uses external_client_id as the unique identifier for upsert operations. - * Create: Returns 201 when a new client is created (requires \ + *

Create: Returns 201 when a new client is created (requires create:clients scope). + * Update: Returns 200 when an existing client is updated (requires update:clients scope).

+ *

This endpoint automatically:

+ *

    + *
  • Fetches and validates the metadata document
  • + *
  • Maps CIMD fields to Auth0 client configuration
  • + *
  • Creates/rotates credentials from the JWKS
  • + *
  • Enforces CIMD security policies (HTTPS-only, no shared secrets)
  • + *

*/ public CompletableFuture registerCimdClient( RegisterCimdClientRequestContent request) { @@ -275,7 +283,15 @@ public CompletableFuture registerCimdClient( /** * Idempotent registration for Client ID Metadata Document (CIMD) clients. * Uses external_client_id as the unique identifier for upsert operations. - * Create: Returns 201 when a new client is created (requires \ + *

Create: Returns 201 when a new client is created (requires create:clients scope). + * Update: Returns 200 when an existing client is updated (requires update:clients scope).

+ *

This endpoint automatically:

+ *

    + *
  • Fetches and validates the metadata document
  • + *
  • Maps CIMD fields to Auth0 client configuration
  • + *
  • Creates/rotates credentials from the JWKS
  • + *
  • Enforces CIMD security policies (HTTPS-only, no shared secrets)
  • + *

*/ public CompletableFuture registerCimdClient( RegisterCimdClientRequestContent request, RequestOptions requestOptions) { diff --git a/src/main/java/com/auth0/client/mgmt/AsyncRawClientsClient.java b/src/main/java/com/auth0/client/mgmt/AsyncRawClientsClient.java index d6820e9e..3e6fee3e 100644 --- a/src/main/java/com/auth0/client/mgmt/AsyncRawClientsClient.java +++ b/src/main/java/com/auth0/client/mgmt/AsyncRawClientsClient.java @@ -566,7 +566,15 @@ public void onFailure(@NotNull Call call, @NotNull IOException e) { /** * Idempotent registration for Client ID Metadata Document (CIMD) clients. * Uses external_client_id as the unique identifier for upsert operations. - * Create: Returns 201 when a new client is created (requires \ + *

Create: Returns 201 when a new client is created (requires create:clients scope). + * Update: Returns 200 when an existing client is updated (requires update:clients scope).

+ *

This endpoint automatically:

+ *

    + *
  • Fetches and validates the metadata document
  • + *
  • Maps CIMD fields to Auth0 client configuration
  • + *
  • Creates/rotates credentials from the JWKS
  • + *
  • Enforces CIMD security policies (HTTPS-only, no shared secrets)
  • + *

*/ public CompletableFuture> registerCimdClient( RegisterCimdClientRequestContent request) { @@ -576,7 +584,15 @@ public CompletableFutureCreate: Returns 201 when a new client is created (requires \ + *

Create: Returns 201 when a new client is created (requires create:clients scope). + * Update: Returns 200 when an existing client is updated (requires update:clients scope).

+ *

This endpoint automatically:

+ *

    + *
  • Fetches and validates the metadata document
  • + *
  • Maps CIMD fields to Auth0 client configuration
  • + *
  • Creates/rotates credentials from the JWKS
  • + *
  • Enforces CIMD security policies (HTTPS-only, no shared secrets)
  • + *

*/ public CompletableFuture> registerCimdClient( RegisterCimdClientRequestContent request, RequestOptions requestOptions) { diff --git a/src/main/java/com/auth0/client/mgmt/ClientsClient.java b/src/main/java/com/auth0/client/mgmt/ClientsClient.java index 865f931f..15c3dc69 100644 --- a/src/main/java/com/auth0/client/mgmt/ClientsClient.java +++ b/src/main/java/com/auth0/client/mgmt/ClientsClient.java @@ -261,7 +261,15 @@ public PreviewCimdMetadataResponseContent previewCimdMetadata( /** * Idempotent registration for Client ID Metadata Document (CIMD) clients. * Uses external_client_id as the unique identifier for upsert operations. - * Create: Returns 201 when a new client is created (requires \ + *

Create: Returns 201 when a new client is created (requires create:clients scope). + * Update: Returns 200 when an existing client is updated (requires update:clients scope).

+ *

This endpoint automatically:

+ *

    + *
  • Fetches and validates the metadata document
  • + *
  • Maps CIMD fields to Auth0 client configuration
  • + *
  • Creates/rotates credentials from the JWKS
  • + *
  • Enforces CIMD security policies (HTTPS-only, no shared secrets)
  • + *

*/ public RegisterCimdClientResponseContent registerCimdClient(RegisterCimdClientRequestContent request) { return this.rawClient.registerCimdClient(request).body(); @@ -270,7 +278,15 @@ public RegisterCimdClientResponseContent registerCimdClient(RegisterCimdClientRe /** * Idempotent registration for Client ID Metadata Document (CIMD) clients. * Uses external_client_id as the unique identifier for upsert operations. - * Create: Returns 201 when a new client is created (requires \ + *

Create: Returns 201 when a new client is created (requires create:clients scope). + * Update: Returns 200 when an existing client is updated (requires update:clients scope).

+ *

This endpoint automatically:

+ *

    + *
  • Fetches and validates the metadata document
  • + *
  • Maps CIMD fields to Auth0 client configuration
  • + *
  • Creates/rotates credentials from the JWKS
  • + *
  • Enforces CIMD security policies (HTTPS-only, no shared secrets)
  • + *

*/ public RegisterCimdClientResponseContent registerCimdClient( RegisterCimdClientRequestContent request, RequestOptions requestOptions) { diff --git a/src/main/java/com/auth0/client/mgmt/RawClientsClient.java b/src/main/java/com/auth0/client/mgmt/RawClientsClient.java index f5b49809..bd01a011 100644 --- a/src/main/java/com/auth0/client/mgmt/RawClientsClient.java +++ b/src/main/java/com/auth0/client/mgmt/RawClientsClient.java @@ -482,7 +482,15 @@ public ManagementApiHttpResponse previewCimd /** * Idempotent registration for Client ID Metadata Document (CIMD) clients. * Uses external_client_id as the unique identifier for upsert operations. - * Create: Returns 201 when a new client is created (requires \ + *

Create: Returns 201 when a new client is created (requires create:clients scope). + * Update: Returns 200 when an existing client is updated (requires update:clients scope).

+ *

This endpoint automatically:

+ *

    + *
  • Fetches and validates the metadata document
  • + *
  • Maps CIMD fields to Auth0 client configuration
  • + *
  • Creates/rotates credentials from the JWKS
  • + *
  • Enforces CIMD security policies (HTTPS-only, no shared secrets)
  • + *

*/ public ManagementApiHttpResponse registerCimdClient( RegisterCimdClientRequestContent request) { @@ -492,7 +500,15 @@ public ManagementApiHttpResponse registerCimd /** * Idempotent registration for Client ID Metadata Document (CIMD) clients. * Uses external_client_id as the unique identifier for upsert operations. - * Create: Returns 201 when a new client is created (requires \ + *

Create: Returns 201 when a new client is created (requires create:clients scope). + * Update: Returns 200 when an existing client is updated (requires update:clients scope).

+ *

This endpoint automatically:

+ *

    + *
  • Fetches and validates the metadata document
  • + *
  • Maps CIMD fields to Auth0 client configuration
  • + *
  • Creates/rotates credentials from the JWKS
  • + *
  • Enforces CIMD security policies (HTTPS-only, no shared secrets)
  • + *

*/ public ManagementApiHttpResponse registerCimdClient( RegisterCimdClientRequestContent request, RequestOptions requestOptions) { diff --git a/src/main/java/com/auth0/client/mgmt/types/ConnectionDpopSigningAlgEnum.java b/src/main/java/com/auth0/client/mgmt/types/ConnectionDpopSigningAlgEnum.java index adf78a4c..82a051ce 100644 --- a/src/main/java/com/auth0/client/mgmt/types/ConnectionDpopSigningAlgEnum.java +++ b/src/main/java/com/auth0/client/mgmt/types/ConnectionDpopSigningAlgEnum.java @@ -10,8 +10,12 @@ public final class ConnectionDpopSigningAlgEnum { public static final ConnectionDpopSigningAlgEnum ED25519 = new ConnectionDpopSigningAlgEnum(Value.ED25519, "Ed25519"); + public static final ConnectionDpopSigningAlgEnum ES384 = new ConnectionDpopSigningAlgEnum(Value.ES384, "ES384"); + public static final ConnectionDpopSigningAlgEnum ES256 = new ConnectionDpopSigningAlgEnum(Value.ES256, "ES256"); + public static final ConnectionDpopSigningAlgEnum ES512 = new ConnectionDpopSigningAlgEnum(Value.ES512, "ES512"); + private final Value value; private final String string; @@ -47,8 +51,12 @@ public T visit(Visitor visitor) { switch (value) { case ED25519: return visitor.visitEd25519(); + case ES384: + return visitor.visitEs384(); case ES256: return visitor.visitEs256(); + case ES512: + return visitor.visitEs512(); case UNKNOWN: default: return visitor.visitUnknown(string); @@ -60,8 +68,12 @@ public static ConnectionDpopSigningAlgEnum valueOf(String value) { switch (value) { case "Ed25519": return ED25519; + case "ES384": + return ES384; case "ES256": return ES256; + case "ES512": + return ES512; default: return new ConnectionDpopSigningAlgEnum(Value.UNKNOWN, value); } @@ -70,6 +82,10 @@ public static ConnectionDpopSigningAlgEnum valueOf(String value) { public enum Value { ES256, + ES384, + + ES512, + ED25519, UNKNOWN @@ -78,6 +94,10 @@ public enum Value { public interface Visitor { T visitEs256(); + T visitEs384(); + + T visitEs512(); + T visitEd25519(); T visitUnknown(String unknownType); 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 23d5a79d..57338d3e 100644 --- a/src/main/java/com/auth0/client/mgmt/types/CreateClientRequestContent.java +++ b/src/main/java/com/auth0/client/mgmt/types/CreateClientRequestContent.java @@ -91,6 +91,8 @@ public final class CreateClientRequestContent { private final Optional nativeSocialLogin; + private final Optional fedcmLogin; + private final OptionalNullable refreshToken; private final OptionalNullable defaultOrganization; @@ -167,6 +169,7 @@ private CreateClientRequestContent( Optional mobile, Optional initiateLoginUri, Optional nativeSocialLogin, + Optional fedcmLogin, OptionalNullable refreshToken, OptionalNullable defaultOrganization, Optional organizationUsage, @@ -221,6 +224,7 @@ private CreateClientRequestContent( this.mobile = mobile; this.initiateLoginUri = initiateLoginUri; this.nativeSocialLogin = nativeSocialLogin; + this.fedcmLogin = fedcmLogin; this.refreshToken = refreshToken; this.defaultOrganization = defaultOrganization; this.organizationUsage = organizationUsage; @@ -486,6 +490,11 @@ public Optional getNativeSocialLogin() { return nativeSocialLogin; } + @JsonProperty("fedcm_login") + public Optional getFedcmLogin() { + return fedcmLogin; + } + @JsonInclude(value = JsonInclude.Include.CUSTOM, valueFilter = NullableNonemptyFilter.class) @JsonProperty("refresh_token") public OptionalNullable getRefreshToken() { @@ -703,6 +712,7 @@ private boolean equalTo(CreateClientRequestContent other) { && mobile.equals(other.mobile) && initiateLoginUri.equals(other.initiateLoginUri) && nativeSocialLogin.equals(other.nativeSocialLogin) + && fedcmLogin.equals(other.fedcmLogin) && refreshToken.equals(other.refreshToken) && defaultOrganization.equals(other.defaultOrganization) && organizationUsage.equals(other.organizationUsage) @@ -762,6 +772,7 @@ public int hashCode() { this.mobile, this.initiateLoginUri, this.nativeSocialLogin, + this.fedcmLogin, this.refreshToken, this.defaultOrganization, this.organizationUsage, @@ -1012,6 +1023,10 @@ _FinalStage sessionTransfer( _FinalStage nativeSocialLogin(NativeSocialLogin nativeSocialLogin); + _FinalStage fedcmLogin(Optional fedcmLogin); + + _FinalStage fedcmLogin(FedCmLogin fedcmLogin); + _FinalStage refreshToken(@Nullable OptionalNullable refreshToken); _FinalStage refreshToken(ClientRefreshTokenConfiguration refreshToken); @@ -1182,6 +1197,8 @@ public static final class Builder implements NameStage, _FinalStage { private OptionalNullable refreshToken = OptionalNullable.absent(); + private Optional fedcmLogin = Optional.empty(); + private Optional nativeSocialLogin = Optional.empty(); private Optional initiateLoginUri = Optional.empty(); @@ -1286,6 +1303,7 @@ public Builder from(CreateClientRequestContent other) { mobile(other.getMobile()); initiateLoginUri(other.getInitiateLoginUri()); nativeSocialLogin(other.getNativeSocialLogin()); + fedcmLogin(other.getFedcmLogin()); refreshToken(other.getRefreshToken()); defaultOrganization(other.getDefaultOrganization()); organizationUsage(other.getOrganizationUsage()); @@ -1739,6 +1757,19 @@ public _FinalStage refreshToken(@Nullable OptionalNullable fedcmLogin) { + this.fedcmLogin = fedcmLogin; + return this; + } + @java.lang.Override public _FinalStage nativeSocialLogin(NativeSocialLogin nativeSocialLogin) { this.nativeSocialLogin = Optional.ofNullable(nativeSocialLogin); @@ -2392,6 +2423,7 @@ public CreateClientRequestContent build() { mobile, initiateLoginUri, nativeSocialLogin, + fedcmLogin, refreshToken, defaultOrganization, organizationUsage, diff --git a/src/main/java/com/auth0/client/mgmt/types/FedCmLogin.java b/src/main/java/com/auth0/client/mgmt/types/FedCmLogin.java new file mode 100644 index 00000000..34be97fd --- /dev/null +++ b/src/main/java/com/auth0/client/mgmt/types/FedCmLogin.java @@ -0,0 +1,105 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ +package com.auth0.client.mgmt.types; + +import com.auth0.client.mgmt.core.ObjectMappers; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonSetter; +import com.fasterxml.jackson.annotation.Nulls; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +import java.util.Optional; + +@JsonInclude(JsonInclude.Include.NON_ABSENT) +@JsonDeserialize(builder = FedCmLogin.Builder.class) +public final class FedCmLogin { + private final Optional google; + + private final Map additionalProperties; + + private FedCmLogin(Optional google, Map additionalProperties) { + this.google = google; + this.additionalProperties = additionalProperties; + } + + @JsonProperty("google") + public Optional getGoogle() { + return google; + } + + @java.lang.Override + public boolean equals(Object other) { + if (this == other) return true; + return other instanceof FedCmLogin && equalTo((FedCmLogin) other); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + private boolean equalTo(FedCmLogin other) { + return google.equals(other.google); + } + + @java.lang.Override + public int hashCode() { + return Objects.hash(this.google); + } + + @java.lang.Override + public String toString() { + return ObjectMappers.stringify(this); + } + + public static Builder builder() { + return new Builder(); + } + + @JsonIgnoreProperties(ignoreUnknown = true) + public static final class Builder { + private Optional google = Optional.empty(); + + @JsonAnySetter + private Map additionalProperties = new HashMap<>(); + + private Builder() {} + + public Builder from(FedCmLogin other) { + google(other.getGoogle()); + return this; + } + + @JsonSetter(value = "google", nulls = Nulls.SKIP) + public Builder google(Optional google) { + this.google = google; + return this; + } + + public Builder google(FedCmLoginGoogle google) { + this.google = Optional.ofNullable(google); + return this; + } + + public FedCmLogin build() { + return new FedCmLogin(google, additionalProperties); + } + + public Builder additionalProperty(String key, Object value) { + this.additionalProperties.put(key, value); + return this; + } + + public Builder additionalProperties(Map additionalProperties) { + this.additionalProperties.putAll(additionalProperties); + return this; + } + } +} diff --git a/src/main/java/com/auth0/client/mgmt/types/FedCmLoginGoogle.java b/src/main/java/com/auth0/client/mgmt/types/FedCmLoginGoogle.java new file mode 100644 index 00000000..11a9ff7e --- /dev/null +++ b/src/main/java/com/auth0/client/mgmt/types/FedCmLoginGoogle.java @@ -0,0 +1,111 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ +package com.auth0.client.mgmt.types; + +import com.auth0.client.mgmt.core.ObjectMappers; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonSetter; +import com.fasterxml.jackson.annotation.Nulls; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +import java.util.Optional; + +@JsonInclude(JsonInclude.Include.NON_ABSENT) +@JsonDeserialize(builder = FedCmLoginGoogle.Builder.class) +public final class FedCmLoginGoogle { + private final Optional isEnabled; + + private final Map additionalProperties; + + private FedCmLoginGoogle(Optional isEnabled, Map additionalProperties) { + this.isEnabled = isEnabled; + this.additionalProperties = additionalProperties; + } + + /** + * @return When true, shows the Google FedCM prompt on New Universal Login for this client + */ + @JsonProperty("is_enabled") + public Optional getIsEnabled() { + return isEnabled; + } + + @java.lang.Override + public boolean equals(Object other) { + if (this == other) return true; + return other instanceof FedCmLoginGoogle && equalTo((FedCmLoginGoogle) other); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + private boolean equalTo(FedCmLoginGoogle other) { + return isEnabled.equals(other.isEnabled); + } + + @java.lang.Override + public int hashCode() { + return Objects.hash(this.isEnabled); + } + + @java.lang.Override + public String toString() { + return ObjectMappers.stringify(this); + } + + public static Builder builder() { + return new Builder(); + } + + @JsonIgnoreProperties(ignoreUnknown = true) + public static final class Builder { + private Optional isEnabled = Optional.empty(); + + @JsonAnySetter + private Map additionalProperties = new HashMap<>(); + + private Builder() {} + + public Builder from(FedCmLoginGoogle other) { + isEnabled(other.getIsEnabled()); + return this; + } + + /** + *

When true, shows the Google FedCM prompt on New Universal Login for this client

+ */ + @JsonSetter(value = "is_enabled", nulls = Nulls.SKIP) + public Builder isEnabled(Optional isEnabled) { + this.isEnabled = isEnabled; + return this; + } + + public Builder isEnabled(Boolean isEnabled) { + this.isEnabled = Optional.ofNullable(isEnabled); + return this; + } + + public FedCmLoginGoogle build() { + return new FedCmLoginGoogle(isEnabled, additionalProperties); + } + + public Builder additionalProperty(String key, Object value) { + this.additionalProperties.put(key, value); + return this; + } + + public Builder additionalProperties(Map additionalProperties) { + this.additionalProperties.putAll(additionalProperties); + return this; + } + } +} diff --git a/src/main/java/com/auth0/client/mgmt/types/UpdateClientRequestContent.java b/src/main/java/com/auth0/client/mgmt/types/UpdateClientRequestContent.java index 316025ac..734cd033 100644 --- a/src/main/java/com/auth0/client/mgmt/types/UpdateClientRequestContent.java +++ b/src/main/java/com/auth0/client/mgmt/types/UpdateClientRequestContent.java @@ -94,6 +94,8 @@ public final class UpdateClientRequestContent { private final Optional nativeSocialLogin; + private final Optional fedcmLogin; + private final OptionalNullable refreshToken; private final OptionalNullable defaultOrganization; @@ -168,6 +170,7 @@ private UpdateClientRequestContent( Optional mobile, Optional initiateLoginUri, Optional nativeSocialLogin, + Optional fedcmLogin, OptionalNullable refreshToken, OptionalNullable defaultOrganization, OptionalNullable organizationUsage, @@ -222,6 +225,7 @@ private UpdateClientRequestContent( this.mobile = mobile; this.initiateLoginUri = initiateLoginUri; this.nativeSocialLogin = nativeSocialLogin; + this.fedcmLogin = fedcmLogin; this.refreshToken = refreshToken; this.defaultOrganization = defaultOrganization; this.organizationUsage = organizationUsage; @@ -516,6 +520,11 @@ public Optional getNativeSocialLogin() { return nativeSocialLogin; } + @JsonProperty("fedcm_login") + public Optional getFedcmLogin() { + return fedcmLogin; + } + @JsonInclude(value = JsonInclude.Include.CUSTOM, valueFilter = NullableNonemptyFilter.class) @JsonProperty("refresh_token") public OptionalNullable getRefreshToken() { @@ -830,6 +839,7 @@ private boolean equalTo(UpdateClientRequestContent other) { && mobile.equals(other.mobile) && initiateLoginUri.equals(other.initiateLoginUri) && nativeSocialLogin.equals(other.nativeSocialLogin) + && fedcmLogin.equals(other.fedcmLogin) && refreshToken.equals(other.refreshToken) && defaultOrganization.equals(other.defaultOrganization) && organizationUsage.equals(other.organizationUsage) @@ -889,6 +899,7 @@ public int hashCode() { this.mobile, this.initiateLoginUri, this.nativeSocialLogin, + this.fedcmLogin, this.refreshToken, this.defaultOrganization, this.organizationUsage, @@ -991,6 +1002,8 @@ public static final class Builder { private Optional nativeSocialLogin = Optional.empty(); + private Optional fedcmLogin = Optional.empty(); + private OptionalNullable refreshToken = OptionalNullable.absent(); private OptionalNullable defaultOrganization = OptionalNullable.absent(); @@ -1072,6 +1085,7 @@ public Builder from(UpdateClientRequestContent other) { mobile(other.getMobile()); initiateLoginUri(other.getInitiateLoginUri()); nativeSocialLogin(other.getNativeSocialLogin()); + fedcmLogin(other.getFedcmLogin()); refreshToken(other.getRefreshToken()); defaultOrganization(other.getDefaultOrganization()); organizationUsage(other.getOrganizationUsage()); @@ -1660,6 +1674,17 @@ public Builder nativeSocialLogin(NativeSocialLogin nativeSocialLogin) { return this; } + @JsonSetter(value = "fedcm_login", nulls = Nulls.SKIP) + public Builder fedcmLogin(Optional fedcmLogin) { + this.fedcmLogin = fedcmLogin; + return this; + } + + public Builder fedcmLogin(FedCmLogin fedcmLogin) { + this.fedcmLogin = Optional.ofNullable(fedcmLogin); + return this; + } + @JsonSetter(value = "refresh_token", nulls = Nulls.SKIP) public Builder refreshToken(@Nullable OptionalNullable refreshToken) { this.refreshToken = refreshToken; @@ -2208,6 +2233,7 @@ public UpdateClientRequestContent build() { mobile, initiateLoginUri, nativeSocialLogin, + fedcmLogin, refreshToken, defaultOrganization, organizationUsage,