Skip to content

Commit 354a583

Browse files
SDK regeneration
1 parent 39b2c2f commit 354a583

File tree

293 files changed

+20117
-14095
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

293 files changed

+20117
-14095
lines changed

reference.md

Lines changed: 444 additions & 19 deletions
Large diffs are not rendered by default.

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

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@
1515
import com.auth0.client.mgmt.types.GetClientRequestParameters;
1616
import com.auth0.client.mgmt.types.GetClientResponseContent;
1717
import com.auth0.client.mgmt.types.ListClientsRequestParameters;
18+
import com.auth0.client.mgmt.types.PreviewCimdMetadataRequestContent;
19+
import com.auth0.client.mgmt.types.PreviewCimdMetadataResponseContent;
20+
import com.auth0.client.mgmt.types.RegisterCimdClientRequestContent;
21+
import com.auth0.client.mgmt.types.RegisterCimdClientResponseContent;
1822
import com.auth0.client.mgmt.types.RotateClientSecretResponseContent;
1923
import com.auth0.client.mgmt.types.UpdateClientRequestContent;
2024
import com.auth0.client.mgmt.types.UpdateClientResponseContent;
@@ -238,6 +242,46 @@ public CompletableFuture<CreateClientResponseContent> create(
238242
return this.rawClient.create(request, requestOptions).thenApply(response -> response.body());
239243
}
240244

245+
/**
246+
* Fetches and validates a Client ID Metadata Document without creating a client.
247+
* Returns the raw metadata and how it would be mapped to Auth0 client fields.
248+
* This endpoint is useful for testing metadata URIs before creating CIMD clients.
249+
*/
250+
public CompletableFuture<PreviewCimdMetadataResponseContent> previewCimdMetadata(
251+
PreviewCimdMetadataRequestContent request) {
252+
return this.rawClient.previewCimdMetadata(request).thenApply(response -> response.body());
253+
}
254+
255+
/**
256+
* Fetches and validates a Client ID Metadata Document without creating a client.
257+
* Returns the raw metadata and how it would be mapped to Auth0 client fields.
258+
* This endpoint is useful for testing metadata URIs before creating CIMD clients.
259+
*/
260+
public CompletableFuture<PreviewCimdMetadataResponseContent> previewCimdMetadata(
261+
PreviewCimdMetadataRequestContent request, RequestOptions requestOptions) {
262+
return this.rawClient.previewCimdMetadata(request, requestOptions).thenApply(response -> response.body());
263+
}
264+
265+
/**
266+
* Idempotent registration for Client ID Metadata Document (CIMD) clients.
267+
* Uses external_client_id as the unique identifier for upsert operations.
268+
* <strong>Create:</strong> Returns 201 when a new client is created (requires \
269+
*/
270+
public CompletableFuture<RegisterCimdClientResponseContent> registerCimdClient(
271+
RegisterCimdClientRequestContent request) {
272+
return this.rawClient.registerCimdClient(request).thenApply(response -> response.body());
273+
}
274+
275+
/**
276+
* Idempotent registration for Client ID Metadata Document (CIMD) clients.
277+
* Uses external_client_id as the unique identifier for upsert operations.
278+
* <strong>Create:</strong> Returns 201 when a new client is created (requires \
279+
*/
280+
public CompletableFuture<RegisterCimdClientResponseContent> registerCimdClient(
281+
RegisterCimdClientRequestContent request, RequestOptions requestOptions) {
282+
return this.rawClient.registerCimdClient(request, requestOptions).thenApply(response -> response.body());
283+
}
284+
241285
/**
242286
* Retrieve client details by ID. Clients are SSO connections or Applications linked with your Auth0 tenant. A list of fields to include or exclude may also be specified.
243287
* For more information, read <a href="https://www.auth0.com/docs/get-started/applications"> Applications in Auth0</a> and <a href="https://www.auth0.com/docs/authenticate/single-sign-on"> Single Sign-On</a>.

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

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,13 @@
99
import com.auth0.client.mgmt.types.CreateCustomDomainResponseContent;
1010
import com.auth0.client.mgmt.types.CustomDomain;
1111
import com.auth0.client.mgmt.types.GetCustomDomainResponseContent;
12+
import com.auth0.client.mgmt.types.GetDefaultDomainResponseContent;
1213
import com.auth0.client.mgmt.types.ListCustomDomainsRequestParameters;
14+
import com.auth0.client.mgmt.types.SetDefaultCustomDomainRequestContent;
1315
import com.auth0.client.mgmt.types.TestCustomDomainResponseContent;
1416
import com.auth0.client.mgmt.types.UpdateCustomDomainRequestContent;
1517
import com.auth0.client.mgmt.types.UpdateCustomDomainResponseContent;
18+
import com.auth0.client.mgmt.types.UpdateDefaultDomainResponseContent;
1619
import com.auth0.client.mgmt.types.VerifyCustomDomainResponseContent;
1720
import java.util.List;
1821
import java.util.concurrent.CompletableFuture;
@@ -100,6 +103,36 @@ public CompletableFuture<CreateCustomDomainResponseContent> create(
100103
return this.rawClient.create(request, requestOptions).thenApply(response -> response.body());
101104
}
102105

106+
/**
107+
* Retrieve the tenant's default domain.
108+
*/
109+
public CompletableFuture<GetDefaultDomainResponseContent> getDefault() {
110+
return this.rawClient.getDefault().thenApply(response -> response.body());
111+
}
112+
113+
/**
114+
* Retrieve the tenant's default domain.
115+
*/
116+
public CompletableFuture<GetDefaultDomainResponseContent> getDefault(RequestOptions requestOptions) {
117+
return this.rawClient.getDefault(requestOptions).thenApply(response -> response.body());
118+
}
119+
120+
/**
121+
* Set the default custom domain for the tenant.
122+
*/
123+
public CompletableFuture<UpdateDefaultDomainResponseContent> setDefault(
124+
SetDefaultCustomDomainRequestContent request) {
125+
return this.rawClient.setDefault(request).thenApply(response -> response.body());
126+
}
127+
128+
/**
129+
* Set the default custom domain for the tenant.
130+
*/
131+
public CompletableFuture<UpdateDefaultDomainResponseContent> setDefault(
132+
SetDefaultCustomDomainRequestContent request, RequestOptions requestOptions) {
133+
return this.rawClient.setDefault(request, requestOptions).thenApply(response -> response.body());
134+
}
135+
103136
/**
104137
* Retrieve a custom domain configuration and status.
105138
*/

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

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,20 @@ public CompletableFuture<GetGroupResponseContent> get(String id, RequestOptions
7777
return this.rawClient.get(id, requestOptions).thenApply(response -> response.body());
7878
}
7979

80+
/**
81+
* Delete a group by its ID.
82+
*/
83+
public CompletableFuture<Void> delete(String id) {
84+
return this.rawClient.delete(id).thenApply(response -> response.body());
85+
}
86+
87+
/**
88+
* Delete a group by its ID.
89+
*/
90+
public CompletableFuture<Void> delete(String id, RequestOptions requestOptions) {
91+
return this.rawClient.delete(id, requestOptions).thenApply(response -> response.body());
92+
}
93+
8094
public AsyncMembersClient members() {
8195
return this.membersClient.get();
8296
}

0 commit comments

Comments
 (0)