Skip to content

Commit 25331bd

Browse files
fern-api[bot]tanya732
authored andcommitted
[fern-generated] Update SDK
Generated by Fern CLI Version: unknown Generators: - fernapi/fern-java-sdk: 4.6.3
1 parent e9ba8e5 commit 25331bd

10 files changed

Lines changed: 394 additions & 11 deletions

reference.md

Lines changed: 28 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1710,6 +1710,14 @@ client.clients().create(
17101710
<dl>
17111711
<dd>
17121712

1713+
**fedcmLogin:** `Optional<FedCmLogin>`
1714+
1715+
</dd>
1716+
</dl>
1717+
1718+
<dl>
1719+
<dd>
1720+
17131721
**refreshToken:** `Optional<ClientRefreshTokenConfiguration>`
17141722

17151723
</dd>
@@ -1953,10 +1961,19 @@ client.clients().previewCimdMetadata(
19531961
<dl>
19541962
<dd>
19551963

1964+
Idempotent registration for Client ID Metadata Document (CIMD) clients.
1965+
Uses external_client_id as the unique identifier for upsert operations.
19561966

1957-
Idempotent registration for Client ID Metadata Document (CIMD) clients.
1958-
Uses external_client_id as the unique identifier for upsert operations.
1959-
**Create:** Returns 201 when a new client is created (requires \
1967+
<strong>Create:</strong> Returns 201 when a new client is created (requires <code>create:clients</code> scope).
1968+
<strong>Update:</strong> Returns 200 when an existing client is updated (requires <code>update:clients</code> scope).
1969+
1970+
This endpoint automatically:
1971+
<ul>
1972+
<li>Fetches and validates the metadata document</li>
1973+
<li>Maps CIMD fields to Auth0 client configuration</li>
1974+
<li>Creates/rotates credentials from the JWKS</li>
1975+
<li>Enforces CIMD security policies (HTTPS-only, no shared secrets)</li>
1976+
</ul>
19601977
</dd>
19611978
</dl>
19621979
</dd>
@@ -2511,6 +2528,14 @@ client.clients().update(
25112528
<dl>
25122529
<dd>
25132530

2531+
**fedcmLogin:** `Optional<FedCmLogin>`
2532+
2533+
</dd>
2534+
</dl>
2535+
2536+
<dl>
2537+
<dd>
2538+
25142539
**refreshToken:** `Optional<ClientRefreshTokenConfiguration>`
25152540

25162541
</dd>

src/main/java/com/auth0/client/mgmt/AsyncClientsClient.java

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,15 @@ public CompletableFuture<PreviewCimdMetadataResponseContent> previewCimdMetadata
265265
/**
266266
* Idempotent registration for Client ID Metadata Document (CIMD) clients.
267267
* Uses external_client_id as the unique identifier for upsert operations.
268-
* <strong>Create:</strong> Returns 201 when a new client is created (requires \
268+
* <p><strong>Create:</strong> Returns 201 when a new client is created (requires <code>create:clients</code> scope).
269+
* <strong>Update:</strong> Returns 200 when an existing client is updated (requires <code>update:clients</code> scope).</p>
270+
* <p>This endpoint automatically:</p>
271+
* <p><ul>
272+
* <li>Fetches and validates the metadata document</li>
273+
* <li>Maps CIMD fields to Auth0 client configuration</li>
274+
* <li>Creates/rotates credentials from the JWKS</li>
275+
* <li>Enforces CIMD security policies (HTTPS-only, no shared secrets)</li>
276+
* </ul></p>
269277
*/
270278
public CompletableFuture<RegisterCimdClientResponseContent> registerCimdClient(
271279
RegisterCimdClientRequestContent request) {
@@ -275,7 +283,15 @@ public CompletableFuture<RegisterCimdClientResponseContent> registerCimdClient(
275283
/**
276284
* Idempotent registration for Client ID Metadata Document (CIMD) clients.
277285
* Uses external_client_id as the unique identifier for upsert operations.
278-
* <strong>Create:</strong> Returns 201 when a new client is created (requires \
286+
* <p><strong>Create:</strong> Returns 201 when a new client is created (requires <code>create:clients</code> scope).
287+
* <strong>Update:</strong> Returns 200 when an existing client is updated (requires <code>update:clients</code> scope).</p>
288+
* <p>This endpoint automatically:</p>
289+
* <p><ul>
290+
* <li>Fetches and validates the metadata document</li>
291+
* <li>Maps CIMD fields to Auth0 client configuration</li>
292+
* <li>Creates/rotates credentials from the JWKS</li>
293+
* <li>Enforces CIMD security policies (HTTPS-only, no shared secrets)</li>
294+
* </ul></p>
279295
*/
280296
public CompletableFuture<RegisterCimdClientResponseContent> registerCimdClient(
281297
RegisterCimdClientRequestContent request, RequestOptions requestOptions) {

src/main/java/com/auth0/client/mgmt/AsyncRawClientsClient.java

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -566,7 +566,15 @@ public void onFailure(@NotNull Call call, @NotNull IOException e) {
566566
/**
567567
* Idempotent registration for Client ID Metadata Document (CIMD) clients.
568568
* Uses external_client_id as the unique identifier for upsert operations.
569-
* <strong>Create:</strong> Returns 201 when a new client is created (requires \
569+
* <p><strong>Create:</strong> Returns 201 when a new client is created (requires <code>create:clients</code> scope).
570+
* <strong>Update:</strong> Returns 200 when an existing client is updated (requires <code>update:clients</code> scope).</p>
571+
* <p>This endpoint automatically:</p>
572+
* <p><ul>
573+
* <li>Fetches and validates the metadata document</li>
574+
* <li>Maps CIMD fields to Auth0 client configuration</li>
575+
* <li>Creates/rotates credentials from the JWKS</li>
576+
* <li>Enforces CIMD security policies (HTTPS-only, no shared secrets)</li>
577+
* </ul></p>
570578
*/
571579
public CompletableFuture<ManagementApiHttpResponse<RegisterCimdClientResponseContent>> registerCimdClient(
572580
RegisterCimdClientRequestContent request) {
@@ -576,7 +584,15 @@ public CompletableFuture<ManagementApiHttpResponse<RegisterCimdClientResponseCon
576584
/**
577585
* Idempotent registration for Client ID Metadata Document (CIMD) clients.
578586
* Uses external_client_id as the unique identifier for upsert operations.
579-
* <strong>Create:</strong> Returns 201 when a new client is created (requires \
587+
* <p><strong>Create:</strong> Returns 201 when a new client is created (requires <code>create:clients</code> scope).
588+
* <strong>Update:</strong> Returns 200 when an existing client is updated (requires <code>update:clients</code> scope).</p>
589+
* <p>This endpoint automatically:</p>
590+
* <p><ul>
591+
* <li>Fetches and validates the metadata document</li>
592+
* <li>Maps CIMD fields to Auth0 client configuration</li>
593+
* <li>Creates/rotates credentials from the JWKS</li>
594+
* <li>Enforces CIMD security policies (HTTPS-only, no shared secrets)</li>
595+
* </ul></p>
580596
*/
581597
public CompletableFuture<ManagementApiHttpResponse<RegisterCimdClientResponseContent>> registerCimdClient(
582598
RegisterCimdClientRequestContent request, RequestOptions requestOptions) {

src/main/java/com/auth0/client/mgmt/ClientsClient.java

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,15 @@ public PreviewCimdMetadataResponseContent previewCimdMetadata(
261261
/**
262262
* Idempotent registration for Client ID Metadata Document (CIMD) clients.
263263
* Uses external_client_id as the unique identifier for upsert operations.
264-
* <strong>Create:</strong> Returns 201 when a new client is created (requires \
264+
* <p><strong>Create:</strong> Returns 201 when a new client is created (requires <code>create:clients</code> scope).
265+
* <strong>Update:</strong> Returns 200 when an existing client is updated (requires <code>update:clients</code> scope).</p>
266+
* <p>This endpoint automatically:</p>
267+
* <p><ul>
268+
* <li>Fetches and validates the metadata document</li>
269+
* <li>Maps CIMD fields to Auth0 client configuration</li>
270+
* <li>Creates/rotates credentials from the JWKS</li>
271+
* <li>Enforces CIMD security policies (HTTPS-only, no shared secrets)</li>
272+
* </ul></p>
265273
*/
266274
public RegisterCimdClientResponseContent registerCimdClient(RegisterCimdClientRequestContent request) {
267275
return this.rawClient.registerCimdClient(request).body();
@@ -270,7 +278,15 @@ public RegisterCimdClientResponseContent registerCimdClient(RegisterCimdClientRe
270278
/**
271279
* Idempotent registration for Client ID Metadata Document (CIMD) clients.
272280
* Uses external_client_id as the unique identifier for upsert operations.
273-
* <strong>Create:</strong> Returns 201 when a new client is created (requires \
281+
* <p><strong>Create:</strong> Returns 201 when a new client is created (requires <code>create:clients</code> scope).
282+
* <strong>Update:</strong> Returns 200 when an existing client is updated (requires <code>update:clients</code> scope).</p>
283+
* <p>This endpoint automatically:</p>
284+
* <p><ul>
285+
* <li>Fetches and validates the metadata document</li>
286+
* <li>Maps CIMD fields to Auth0 client configuration</li>
287+
* <li>Creates/rotates credentials from the JWKS</li>
288+
* <li>Enforces CIMD security policies (HTTPS-only, no shared secrets)</li>
289+
* </ul></p>
274290
*/
275291
public RegisterCimdClientResponseContent registerCimdClient(
276292
RegisterCimdClientRequestContent request, RequestOptions requestOptions) {

src/main/java/com/auth0/client/mgmt/RawClientsClient.java

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -482,7 +482,15 @@ public ManagementApiHttpResponse<PreviewCimdMetadataResponseContent> previewCimd
482482
/**
483483
* Idempotent registration for Client ID Metadata Document (CIMD) clients.
484484
* Uses external_client_id as the unique identifier for upsert operations.
485-
* <strong>Create:</strong> Returns 201 when a new client is created (requires \
485+
* <p><strong>Create:</strong> Returns 201 when a new client is created (requires <code>create:clients</code> scope).
486+
* <strong>Update:</strong> Returns 200 when an existing client is updated (requires <code>update:clients</code> scope).</p>
487+
* <p>This endpoint automatically:</p>
488+
* <p><ul>
489+
* <li>Fetches and validates the metadata document</li>
490+
* <li>Maps CIMD fields to Auth0 client configuration</li>
491+
* <li>Creates/rotates credentials from the JWKS</li>
492+
* <li>Enforces CIMD security policies (HTTPS-only, no shared secrets)</li>
493+
* </ul></p>
486494
*/
487495
public ManagementApiHttpResponse<RegisterCimdClientResponseContent> registerCimdClient(
488496
RegisterCimdClientRequestContent request) {
@@ -492,7 +500,15 @@ public ManagementApiHttpResponse<RegisterCimdClientResponseContent> registerCimd
492500
/**
493501
* Idempotent registration for Client ID Metadata Document (CIMD) clients.
494502
* Uses external_client_id as the unique identifier for upsert operations.
495-
* <strong>Create:</strong> Returns 201 when a new client is created (requires \
503+
* <p><strong>Create:</strong> Returns 201 when a new client is created (requires <code>create:clients</code> scope).
504+
* <strong>Update:</strong> Returns 200 when an existing client is updated (requires <code>update:clients</code> scope).</p>
505+
* <p>This endpoint automatically:</p>
506+
* <p><ul>
507+
* <li>Fetches and validates the metadata document</li>
508+
* <li>Maps CIMD fields to Auth0 client configuration</li>
509+
* <li>Creates/rotates credentials from the JWKS</li>
510+
* <li>Enforces CIMD security policies (HTTPS-only, no shared secrets)</li>
511+
* </ul></p>
496512
*/
497513
public ManagementApiHttpResponse<RegisterCimdClientResponseContent> registerCimdClient(
498514
RegisterCimdClientRequestContent request, RequestOptions requestOptions) {

src/main/java/com/auth0/client/mgmt/types/ConnectionDpopSigningAlgEnum.java

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,12 @@ public final class ConnectionDpopSigningAlgEnum {
1010
public static final ConnectionDpopSigningAlgEnum ED25519 =
1111
new ConnectionDpopSigningAlgEnum(Value.ED25519, "Ed25519");
1212

13+
public static final ConnectionDpopSigningAlgEnum ES384 = new ConnectionDpopSigningAlgEnum(Value.ES384, "ES384");
14+
1315
public static final ConnectionDpopSigningAlgEnum ES256 = new ConnectionDpopSigningAlgEnum(Value.ES256, "ES256");
1416

17+
public static final ConnectionDpopSigningAlgEnum ES512 = new ConnectionDpopSigningAlgEnum(Value.ES512, "ES512");
18+
1519
private final Value value;
1620

1721
private final String string;
@@ -47,8 +51,12 @@ public <T> T visit(Visitor<T> visitor) {
4751
switch (value) {
4852
case ED25519:
4953
return visitor.visitEd25519();
54+
case ES384:
55+
return visitor.visitEs384();
5056
case ES256:
5157
return visitor.visitEs256();
58+
case ES512:
59+
return visitor.visitEs512();
5260
case UNKNOWN:
5361
default:
5462
return visitor.visitUnknown(string);
@@ -60,8 +68,12 @@ public static ConnectionDpopSigningAlgEnum valueOf(String value) {
6068
switch (value) {
6169
case "Ed25519":
6270
return ED25519;
71+
case "ES384":
72+
return ES384;
6373
case "ES256":
6474
return ES256;
75+
case "ES512":
76+
return ES512;
6577
default:
6678
return new ConnectionDpopSigningAlgEnum(Value.UNKNOWN, value);
6779
}
@@ -70,6 +82,10 @@ public static ConnectionDpopSigningAlgEnum valueOf(String value) {
7082
public enum Value {
7183
ES256,
7284

85+
ES384,
86+
87+
ES512,
88+
7389
ED25519,
7490

7591
UNKNOWN
@@ -78,6 +94,10 @@ public enum Value {
7894
public interface Visitor<T> {
7995
T visitEs256();
8096

97+
T visitEs384();
98+
99+
T visitEs512();
100+
81101
T visitEd25519();
82102

83103
T visitUnknown(String unknownType);

src/main/java/com/auth0/client/mgmt/types/CreateClientRequestContent.java

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,8 @@ public final class CreateClientRequestContent {
9191

9292
private final Optional<NativeSocialLogin> nativeSocialLogin;
9393

94+
private final Optional<FedCmLogin> fedcmLogin;
95+
9496
private final OptionalNullable<ClientRefreshTokenConfiguration> refreshToken;
9597

9698
private final OptionalNullable<ClientDefaultOrganization> defaultOrganization;
@@ -167,6 +169,7 @@ private CreateClientRequestContent(
167169
Optional<ClientMobile> mobile,
168170
Optional<String> initiateLoginUri,
169171
Optional<NativeSocialLogin> nativeSocialLogin,
172+
Optional<FedCmLogin> fedcmLogin,
170173
OptionalNullable<ClientRefreshTokenConfiguration> refreshToken,
171174
OptionalNullable<ClientDefaultOrganization> defaultOrganization,
172175
Optional<ClientOrganizationUsageEnum> organizationUsage,
@@ -221,6 +224,7 @@ private CreateClientRequestContent(
221224
this.mobile = mobile;
222225
this.initiateLoginUri = initiateLoginUri;
223226
this.nativeSocialLogin = nativeSocialLogin;
227+
this.fedcmLogin = fedcmLogin;
224228
this.refreshToken = refreshToken;
225229
this.defaultOrganization = defaultOrganization;
226230
this.organizationUsage = organizationUsage;
@@ -486,6 +490,11 @@ public Optional<NativeSocialLogin> getNativeSocialLogin() {
486490
return nativeSocialLogin;
487491
}
488492

493+
@JsonProperty("fedcm_login")
494+
public Optional<FedCmLogin> getFedcmLogin() {
495+
return fedcmLogin;
496+
}
497+
489498
@JsonInclude(value = JsonInclude.Include.CUSTOM, valueFilter = NullableNonemptyFilter.class)
490499
@JsonProperty("refresh_token")
491500
public OptionalNullable<ClientRefreshTokenConfiguration> getRefreshToken() {
@@ -703,6 +712,7 @@ private boolean equalTo(CreateClientRequestContent other) {
703712
&& mobile.equals(other.mobile)
704713
&& initiateLoginUri.equals(other.initiateLoginUri)
705714
&& nativeSocialLogin.equals(other.nativeSocialLogin)
715+
&& fedcmLogin.equals(other.fedcmLogin)
706716
&& refreshToken.equals(other.refreshToken)
707717
&& defaultOrganization.equals(other.defaultOrganization)
708718
&& organizationUsage.equals(other.organizationUsage)
@@ -762,6 +772,7 @@ public int hashCode() {
762772
this.mobile,
763773
this.initiateLoginUri,
764774
this.nativeSocialLogin,
775+
this.fedcmLogin,
765776
this.refreshToken,
766777
this.defaultOrganization,
767778
this.organizationUsage,
@@ -1012,6 +1023,10 @@ _FinalStage sessionTransfer(
10121023

10131024
_FinalStage nativeSocialLogin(NativeSocialLogin nativeSocialLogin);
10141025

1026+
_FinalStage fedcmLogin(Optional<FedCmLogin> fedcmLogin);
1027+
1028+
_FinalStage fedcmLogin(FedCmLogin fedcmLogin);
1029+
10151030
_FinalStage refreshToken(@Nullable OptionalNullable<ClientRefreshTokenConfiguration> refreshToken);
10161031

10171032
_FinalStage refreshToken(ClientRefreshTokenConfiguration refreshToken);
@@ -1182,6 +1197,8 @@ public static final class Builder implements NameStage, _FinalStage {
11821197

11831198
private OptionalNullable<ClientRefreshTokenConfiguration> refreshToken = OptionalNullable.absent();
11841199

1200+
private Optional<FedCmLogin> fedcmLogin = Optional.empty();
1201+
11851202
private Optional<NativeSocialLogin> nativeSocialLogin = Optional.empty();
11861203

11871204
private Optional<String> initiateLoginUri = Optional.empty();
@@ -1286,6 +1303,7 @@ public Builder from(CreateClientRequestContent other) {
12861303
mobile(other.getMobile());
12871304
initiateLoginUri(other.getInitiateLoginUri());
12881305
nativeSocialLogin(other.getNativeSocialLogin());
1306+
fedcmLogin(other.getFedcmLogin());
12891307
refreshToken(other.getRefreshToken());
12901308
defaultOrganization(other.getDefaultOrganization());
12911309
organizationUsage(other.getOrganizationUsage());
@@ -1739,6 +1757,19 @@ public _FinalStage refreshToken(@Nullable OptionalNullable<ClientRefreshTokenCon
17391757
return this;
17401758
}
17411759

1760+
@java.lang.Override
1761+
public _FinalStage fedcmLogin(FedCmLogin fedcmLogin) {
1762+
this.fedcmLogin = Optional.ofNullable(fedcmLogin);
1763+
return this;
1764+
}
1765+
1766+
@java.lang.Override
1767+
@JsonSetter(value = "fedcm_login", nulls = Nulls.SKIP)
1768+
public _FinalStage fedcmLogin(Optional<FedCmLogin> fedcmLogin) {
1769+
this.fedcmLogin = fedcmLogin;
1770+
return this;
1771+
}
1772+
17421773
@java.lang.Override
17431774
public _FinalStage nativeSocialLogin(NativeSocialLogin nativeSocialLogin) {
17441775
this.nativeSocialLogin = Optional.ofNullable(nativeSocialLogin);
@@ -2392,6 +2423,7 @@ public CreateClientRequestContent build() {
23922423
mobile,
23932424
initiateLoginUri,
23942425
nativeSocialLogin,
2426+
fedcmLogin,
23952427
refreshToken,
23962428
defaultOrganization,
23972429
organizationUsage,

0 commit comments

Comments
 (0)