Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1,700 changes: 1,251 additions & 449 deletions reference.md

Large diffs are not rendered by default.

1,394 changes: 790 additions & 604 deletions src/main/java/com/auth0/client/mgmt/AsyncLogStreamsClient.java

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
import com.auth0.client.mgmt.core.Suppliers;
import com.auth0.client.mgmt.core.SyncPagingIterable;
import com.auth0.client.mgmt.organizations.AsyncClientGrantsClient;
import com.auth0.client.mgmt.organizations.AsyncConnectionsClient;
import com.auth0.client.mgmt.organizations.AsyncDiscoveryDomainsClient;
import com.auth0.client.mgmt.organizations.AsyncEnabledConnectionsClient;
import com.auth0.client.mgmt.organizations.AsyncInvitationsClient;
Expand All @@ -30,6 +31,8 @@ public class AsyncOrganizationsClient {

protected final Supplier<AsyncClientGrantsClient> clientGrantsClient;

protected final Supplier<AsyncConnectionsClient> connectionsClient;

protected final Supplier<AsyncDiscoveryDomainsClient> discoveryDomainsClient;

protected final Supplier<AsyncEnabledConnectionsClient> enabledConnectionsClient;
Expand All @@ -42,6 +45,7 @@ public AsyncOrganizationsClient(ClientOptions clientOptions) {
this.clientOptions = clientOptions;
this.rawClient = new AsyncRawOrganizationsClient(clientOptions);
this.clientGrantsClient = Suppliers.memoize(() -> new AsyncClientGrantsClient(clientOptions));
this.connectionsClient = Suppliers.memoize(() -> new AsyncConnectionsClient(clientOptions));
this.discoveryDomainsClient = Suppliers.memoize(() -> new AsyncDiscoveryDomainsClient(clientOptions));
this.enabledConnectionsClient = Suppliers.memoize(() -> new AsyncEnabledConnectionsClient(clientOptions));
this.invitationsClient = Suppliers.memoize(() -> new AsyncInvitationsClient(clientOptions));
Expand Down Expand Up @@ -230,6 +234,10 @@ public AsyncClientGrantsClient clientGrants() {
return this.clientGrantsClient.get();
}

public AsyncConnectionsClient connections() {
return this.connectionsClient.get();
}

public AsyncDiscoveryDomainsClient discoveryDomains() {
return this.discoveryDomainsClient.get();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,10 @@ public CompletableFuture<ManagementApiHttpResponse<SyncPagingIterable<ClientGran
QueryStringMapper.addQueryParameter(
httpUrl, "subject_type", request.getSubjectType().orElse(null), false);
}
if (!request.getDefaultFor().isAbsent()) {
QueryStringMapper.addQueryParameter(
httpUrl, "default_for", request.getDefaultFor().orElse(null), false);
}
if (requestOptions != null) {
requestOptions.getQueryParameters().forEach((_key, _value) -> {
httpUrl.addQueryParameter(_key, _value);
Expand Down
Loading
Loading