Skip to content

Commit 98f2d39

Browse files
SDK regeneration
1 parent 43f55d5 commit 98f2d39

File tree

86 files changed

+4427
-3705
lines changed

Some content is hidden

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

86 files changed

+4427
-3705
lines changed

reference.md

Lines changed: 114 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -873,7 +873,6 @@ Create a client grant for a machine-to-machine login flow. To learn more, read <
873873
client.clientGrants().create(
874874
CreateClientGrantRequestContent
875875
.builder()
876-
.clientId("client_id")
877876
.audience("audience")
878877
.build()
879878
);
@@ -891,7 +890,7 @@ client.clientGrants().create(
891890
<dl>
892891
<dd>
893892

894-
**clientId:** `String` — ID of the client.
893+
**clientId:** `Optional<String>` — ID of the client.
895894

896895
</dd>
897896
</dl>
@@ -1337,7 +1336,7 @@ client.clients().list(
13371336
<dl>
13381337
<dd>
13391338

1340-
**q:** `Optional<String>` — Advanced Query in <a href="http://www.lucenetutorial.com/lucene-query-syntax.html">Lucene</a> syntax.<br /><b>Permitted Queries</b>:<br /><ul><li><i>client_grant.organization_id:{organization_id}</i></li><li><i>client_grant.allow_any_organization:true</i></li></ul><b>Additional Restrictions</b>:<br /><ul><li>Cannot be used in combination with other filters</li><li>Requires use of the <i>from</i> and <i>take</i> paging parameters (checkpoint paginatinon)</li><li>Reduced rate limits apply. See <a href="https://auth0.com/docs/troubleshoot/customer-support/operational-policies/rate-limit-policy/rate-limit-configurations/enterprise-public">Rate Limit Configurations</a></li></ul><i><b>Note</b>: Recent updates may not be immediately reflected in query results</i>
1339+
**q:** `Optional<String>` — Advanced Query in <a href="https://lucene.apache.org/core/2_9_4/queryparsersyntax.html">Lucene</a> syntax.<br /><b>Permitted Queries</b>:<br /><ul><li><i>client_grant.organization_id:{organization_id}</i></li><li><i>client_grant.allow_any_organization:true</i></li></ul><b>Additional Restrictions</b>:<br /><ul><li>Cannot be used in combination with other filters</li><li>Requires use of the <i>from</i> and <i>take</i> paging parameters (checkpoint paginatinon)</li><li>Reduced rate limits apply. See <a href="https://auth0.com/docs/troubleshoot/customer-support/operational-policies/rate-limit-policy/rate-limit-configurations/enterprise-public">Rate Limit Configurations</a></li></ul><i><b>Note</b>: Recent updates may not be immediately reflected in query results</i>
13411340

13421341
</dd>
13431342
</dl>
@@ -3648,7 +3647,7 @@ client.customDomains().list(
36483647
<dl>
36493648
<dd>
36503649

3651-
**q:** `Optional<String>` — Query in <a href ="http://www.lucenetutorial.com/lucene-query-syntax.html">Lucene query string syntax</a>.
3650+
**q:** `Optional<String>` — Query in <a href ="https://lucene.apache.org/core/2_9_4/queryparsersyntax.html">Lucene query string syntax</a>.
36523651

36533652
</dd>
36543653
</dl>
@@ -3801,6 +3800,104 @@ client.customDomains().create(
38013800
</dl>
38023801

38033802

3803+
</dd>
3804+
</dl>
3805+
</details>
3806+
3807+
<details><summary><code>client.customDomains.getDefault() -> GetDefaultDomainResponseContent</code></summary>
3808+
<dl>
3809+
<dd>
3810+
3811+
#### 📝 Description
3812+
3813+
<dl>
3814+
<dd>
3815+
3816+
<dl>
3817+
<dd>
3818+
3819+
Retrieve the tenant's default domain.
3820+
</dd>
3821+
</dl>
3822+
</dd>
3823+
</dl>
3824+
3825+
#### 🔌 Usage
3826+
3827+
<dl>
3828+
<dd>
3829+
3830+
<dl>
3831+
<dd>
3832+
3833+
```java
3834+
client.customDomains().getDefault();
3835+
```
3836+
</dd>
3837+
</dl>
3838+
</dd>
3839+
</dl>
3840+
3841+
3842+
</dd>
3843+
</dl>
3844+
</details>
3845+
3846+
<details><summary><code>client.customDomains.setDefault(request) -> UpdateDefaultDomainResponseContent</code></summary>
3847+
<dl>
3848+
<dd>
3849+
3850+
#### 📝 Description
3851+
3852+
<dl>
3853+
<dd>
3854+
3855+
<dl>
3856+
<dd>
3857+
3858+
Set the default custom domain for the tenant.
3859+
</dd>
3860+
</dl>
3861+
</dd>
3862+
</dl>
3863+
3864+
#### 🔌 Usage
3865+
3866+
<dl>
3867+
<dd>
3868+
3869+
<dl>
3870+
<dd>
3871+
3872+
```java
3873+
client.customDomains().setDefault(
3874+
SetDefaultCustomDomainRequestContent
3875+
.builder()
3876+
.domain("domain")
3877+
.build()
3878+
);
3879+
```
3880+
</dd>
3881+
</dl>
3882+
</dd>
3883+
</dl>
3884+
3885+
#### ⚙️ Parameters
3886+
3887+
<dl>
3888+
<dd>
3889+
3890+
<dl>
3891+
<dd>
3892+
3893+
**domain:** `String` — The domain to set as the default custom domain. Must be a verified custom domain or the canonical domain.
3894+
3895+
</dd>
3896+
</dl>
3897+
</dd>
3898+
</dl>
3899+
3900+
38043901
</dd>
38053902
</dl>
38063903
</details>
@@ -12694,7 +12791,7 @@ client.users().list(
1269412791
<dl>
1269512792
<dd>
1269612793

12697-
**q:** `Optional<String>` — Query in <a target='_new' href ='http://www.lucenetutorial.com/lucene-query-syntax.html'>Lucene query string syntax</a>. Some query types cannot be used on metadata fields, for details see <a href='https://auth0.com/docs/users/search/v3/query-syntax#searchable-fields'>Searchable Fields</a>.
12794+
**q:** `Optional<String>` — Query in <a target='_new' href ='https://lucene.apache.org/core/2_9_4/queryparsersyntax.html'>Lucene query string syntax</a>. Some query types cannot be used on metadata fields, for details see <a href='https://auth0.com/docs/users/search/v3/query-syntax#searchable-fields'>Searchable Fields</a>.
1269812795

1269912796
</dd>
1270012797
</dl>
@@ -17229,6 +17326,14 @@ client.clients().credentials().create(
1722917326

1723017327
**expiresAt:** `Optional<OffsetDateTime>` — The ISO 8601 formatted date representing the expiration of the credential. If not specified (not recommended), the credential never expires. Applies to `public_key` credential type.
1723117328

17329+
</dd>
17330+
</dl>
17331+
17332+
<dl>
17333+
<dd>
17334+
17335+
**kid:** `Optional<String>` — Optional kid (Key ID), used to uniquely identify the credential. If not specified, a kid value will be auto-generated. The kid header parameter in JWTs sent by your client should match this value. Valid format is [0-9a-zA-Z-_]{10,64}
17336+
1723217337
</dd>
1723317338
</dl>
1723417339
</dd>
@@ -23755,6 +23860,7 @@ client.organizations().clientGrants().delete("id", "grant_id");
2375523860
<dd>
2375623861

2375723862
Retrieve list of all organization discovery domains associated with the specified organization.
23863+
This endpoint is subject to eventual consistency; newly created, updated, or deleted discovery domains may not immediately appear in the response.
2375823864
</dd>
2375923865
</dl>
2376023866
</dd>
@@ -23920,7 +24026,7 @@ client.organizations().discoveryDomains().create(
2392024026
<dd>
2392124027

2392224028
Retrieve details about a single organization discovery domain specified by domain name.
23923-
24029+
This endpoint is subject to eventual consistency; newly created, updated, or deleted discovery domains may not immediately appear in the response.
2392424030
</dd>
2392524031
</dl>
2392624032
</dd>
@@ -23982,7 +24088,8 @@ client.organizations().discoveryDomains().getByName("id", "discovery_domain");
2398224088
<dl>
2398324089
<dd>
2398424090

23985-
Retrieve details about a single organization discovery domain specified by ID.
24091+
Retrieve details about a single organization discovery domain specified by ID.
24092+
This endpoint is subject to eventual consistency; newly created, updated, or deleted discovery domains may not immediately appear in the response.
2398624093
</dd>
2398724094
</dl>
2398824095
</dd>

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
*/

0 commit comments

Comments
 (0)