diff --git a/reference.md b/reference.md index b5155fec4..1f58e0516 100644 --- a/reference.md +++ b/reference.md @@ -1449,7 +1449,7 @@ client.clients().create(
client.connections.clients.get(id) -> SyncPagingIterable<ConnectionEnabledClient>client.connections.scimConfiguration.list() -> SyncPagingIterable<ScimConfiguration>from parameter. If there are more results, a next value is included in the response. You can use this for subsequent API calls. When next is no longer included in the response, no further results are remaining.
+Retrieve a list of SCIM configurations of a tenant.
client.connections.scimConfiguration.get(id) -> GetScimConfigurationResponseContentconnectionId.
+client.connections.clients.update(id, request)client.connections.scimConfiguration.create(id, request) -> CreateScimConfigurationResponseContentclient.connections.keys.get(id) -> List<ConnectionKey>client.connections.scimConfiguration.delete(id)connectionId.
client.connections.keys.rotate(id, request) -> RotateConnectionsKeysResponseContentclient.connections.scimConfiguration.update(id, request) -> UpdateScimConfigurationResponseContentconnectionId.
client.connections.scimConfiguration.get(id) -> GetScimConfigurationResponseContentclient.connections.scimConfiguration.getDefaultMapping(id) -> GetScimConfigurationDefaultMappingResponseContentconnectionId.
+Retrieves a scim configuration's default mapping by its connectionId.
connectionId.
client.connections.scimConfiguration.create(id, request) -> CreateScimConfigurationResponseContentclient.connections.clients.get(id) -> SyncPagingIterable<ConnectionEnabledClient>from parameter. If there are more results, a next value is included in the response. You can use this for subsequent API calls. When next is no longer included in the response, no further results are remaining.
client.connections.scimConfiguration.delete(id)client.connections.clients.update(id, request)client.connections.keys.get(id) -> List<ConnectionKey>connectionId.
+Gets the connection keys for the Okta or OIDC connection strategy.
connectionId.
client.connections.scimConfiguration.update(id, request) -> UpdateScimConfigurationResponseContentclient.connections.keys.create(id, request) -> List<PostConnectionsKeysResponseContentItem>connectionId.
+Provision initial connection keys for Okta or OIDC connection strategies. This endpoint allows you to create keys before configuring the connection to use Private Key JWT authentication, enabling zero-downtime transitions.
connectionId.
client.connections.scimConfiguration.getDefaultMapping(id) -> GetScimConfigurationDefaultMappingResponseContentclient.connections.keys.rotate(id, request) -> RotateConnectionsKeysResponseContentconnectionId.
+Rotates the connection keys for the Okta or OIDC connection strategies.
connectionId
```java
-client.connections().scimConfiguration().getDefaultMapping("id");
+client.connections().keys().rotate(
+ "id",
+ OptionalNullable.absent()
+);
```
Medium to use to send the notification
+ */ _FinalStage deliveryMethod(OptionalMedium to use to send the notification
+ * @return Reference to {@code this} so that method calls can be chained together. + */ @java.lang.Override public _FinalStage deliveryMethod(PhoneProviderDeliveryMethodEnum deliveryMethod) { this.deliveryMethod = Optional.ofNullable(deliveryMethod); return this; } + /** + *Medium to use to send the notification
+ */ @java.lang.Override @JsonSetter(value = "delivery_method", nulls = Nulls.SKIP) public _FinalStage deliveryMethod(OptionalconnectionId.
*/
diff --git a/src/main/java/com/auth0/client/mgmt/connections/AsyncScimConfigurationClient.java b/src/main/java/com/auth0/client/mgmt/connections/AsyncScimConfigurationClient.java
index f05c008ed..72cbb0111 100644
--- a/src/main/java/com/auth0/client/mgmt/connections/AsyncScimConfigurationClient.java
+++ b/src/main/java/com/auth0/client/mgmt/connections/AsyncScimConfigurationClient.java
@@ -4,15 +4,18 @@
package com.auth0.client.mgmt.connections;
import com.auth0.client.mgmt.connections.scimconfiguration.AsyncTokensClient;
+import com.auth0.client.mgmt.connections.types.ListScimConfigurationsRequestParameters;
import com.auth0.client.mgmt.connections.types.UpdateScimConfigurationRequestContent;
import com.auth0.client.mgmt.core.ClientOptions;
import com.auth0.client.mgmt.core.OptionalNullable;
import com.auth0.client.mgmt.core.RequestOptions;
import com.auth0.client.mgmt.core.Suppliers;
+import com.auth0.client.mgmt.core.SyncPagingIterable;
import com.auth0.client.mgmt.types.CreateScimConfigurationRequestContent;
import com.auth0.client.mgmt.types.CreateScimConfigurationResponseContent;
import com.auth0.client.mgmt.types.GetScimConfigurationDefaultMappingResponseContent;
import com.auth0.client.mgmt.types.GetScimConfigurationResponseContent;
+import com.auth0.client.mgmt.types.ScimConfiguration;
import com.auth0.client.mgmt.types.UpdateScimConfigurationResponseContent;
import java.util.concurrent.CompletableFuture;
import java.util.function.Supplier;
@@ -37,6 +40,36 @@ public AsyncRawScimConfigurationClient withRawResponse() {
return this.rawClient;
}
+ /**
+ * Retrieve a list of SCIM configurations of a tenant.
+ */
+ public CompletableFutureconnectionId.
*/
diff --git a/src/main/java/com/auth0/client/mgmt/connections/KeysClient.java b/src/main/java/com/auth0/client/mgmt/connections/KeysClient.java
index 9f41240b3..ae24514f8 100644
--- a/src/main/java/com/auth0/client/mgmt/connections/KeysClient.java
+++ b/src/main/java/com/auth0/client/mgmt/connections/KeysClient.java
@@ -7,6 +7,8 @@
import com.auth0.client.mgmt.core.OptionalNullable;
import com.auth0.client.mgmt.core.RequestOptions;
import com.auth0.client.mgmt.types.ConnectionKey;
+import com.auth0.client.mgmt.types.PostConnectionKeysRequestContent;
+import com.auth0.client.mgmt.types.PostConnectionsKeysResponseContentItem;
import com.auth0.client.mgmt.types.RotateConnectionKeysRequestContent;
import com.auth0.client.mgmt.types.RotateConnectionsKeysResponseContent;
import java.util.List;
@@ -42,6 +44,36 @@ public ListconnectionId.
*/
diff --git a/src/main/java/com/auth0/client/mgmt/connections/ScimConfigurationClient.java b/src/main/java/com/auth0/client/mgmt/connections/ScimConfigurationClient.java
index 1d5d6e217..67da350b4 100644
--- a/src/main/java/com/auth0/client/mgmt/connections/ScimConfigurationClient.java
+++ b/src/main/java/com/auth0/client/mgmt/connections/ScimConfigurationClient.java
@@ -4,15 +4,18 @@
package com.auth0.client.mgmt.connections;
import com.auth0.client.mgmt.connections.scimconfiguration.TokensClient;
+import com.auth0.client.mgmt.connections.types.ListScimConfigurationsRequestParameters;
import com.auth0.client.mgmt.connections.types.UpdateScimConfigurationRequestContent;
import com.auth0.client.mgmt.core.ClientOptions;
import com.auth0.client.mgmt.core.OptionalNullable;
import com.auth0.client.mgmt.core.RequestOptions;
import com.auth0.client.mgmt.core.Suppliers;
+import com.auth0.client.mgmt.core.SyncPagingIterable;
import com.auth0.client.mgmt.types.CreateScimConfigurationRequestContent;
import com.auth0.client.mgmt.types.CreateScimConfigurationResponseContent;
import com.auth0.client.mgmt.types.GetScimConfigurationDefaultMappingResponseContent;
import com.auth0.client.mgmt.types.GetScimConfigurationResponseContent;
+import com.auth0.client.mgmt.types.ScimConfiguration;
import com.auth0.client.mgmt.types.UpdateScimConfigurationResponseContent;
import java.util.function.Supplier;
@@ -36,6 +39,35 @@ public RawScimConfigurationClient withRawResponse() {
return this.rawClient;
}
+ /**
+ * Retrieve a list of SCIM configurations of a tenant.
+ */
+ public SyncPagingIterableconnectionId.
*/
diff --git a/src/main/java/com/auth0/client/mgmt/connections/types/ListScimConfigurationsRequestParameters.java b/src/main/java/com/auth0/client/mgmt/connections/types/ListScimConfigurationsRequestParameters.java
new file mode 100644
index 000000000..1da91e12f
--- /dev/null
+++ b/src/main/java/com/auth0/client/mgmt/connections/types/ListScimConfigurationsRequestParameters.java
@@ -0,0 +1,195 @@
+/**
+ * This file was auto-generated by Fern from our API Definition.
+ */
+package com.auth0.client.mgmt.connections.types;
+
+import com.auth0.client.mgmt.core.NullableNonemptyFilter;
+import com.auth0.client.mgmt.core.ObjectMappers;
+import com.auth0.client.mgmt.core.OptionalNullable;
+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;
+import org.jetbrains.annotations.Nullable;
+
+@JsonInclude(JsonInclude.Include.NON_ABSENT)
+@JsonDeserialize(builder = ListScimConfigurationsRequestParameters.Builder.class)
+public final class ListScimConfigurationsRequestParameters {
+ private final OptionalNullableOptional Id from which to start selection.
+ */ + @JsonSetter(value = "from", nulls = Nulls.SKIP) + public Builder from(@Nullable OptionalNullableNumber of results per page. Defaults to 50.
+ */ + @JsonSetter(value = "take", nulls = Nulls.SKIP) + public Builder take(OptionalNullableRendering mode
+ */ @JsonSetter(value = "rendering_mode", nulls = Nulls.SKIP) public Builder renderingMode(OptionalRendering mode
+ */ _FinalStage renderingMode(OptionalRendering mode
+ */ @java.lang.Override @JsonSetter(value = "rendering_mode", nulls = Nulls.SKIP) public _FinalStage renderingMode(OptionalThe strategy_version property determines which LinkedIn API version and OAuth scopes are used for authentication. Version 1 uses legacy scopes (r_basicprofile, r_fullprofile, r_network), Version 2 uses updated scopes (r_liteprofile, r_basicprofile), and Version 3 uses OpenID Connect scopes (profile, email, openid). If not specified, the connection defaults to Version 3.
+ */ + @JsonSetter(value = "strategy_version", nulls = Nulls.SKIP) + public Builder strategyVersion(OptionalRequest the LinkedIn lite profile scope (r_liteprofile) to retrieve member id, localized first/last name, and profile picture. Off by default.
+ */ + @JsonSetter(value = "basic_profile", nulls = Nulls.SKIP) + public Builder basicProfile(OptionalRequest the email address scope (r_emailaddress) to return the member's primary email. Off by default.
+ */ + @JsonSetter(value = "email", nulls = Nulls.SKIP) + public Builder email(OptionalWhen enabled, requests the basic_profile scope from LinkedIn to access basic profile information.
+ *Request the legacy full profile scope (r_fullprofile) for extended attributes. Deprecated by LinkedIn; use only if enabled for your app. Off by default.
*/ - @JsonSetter(value = "basic_profile", nulls = Nulls.SKIP) - public Builder basicProfile(OptionalWhen enabled, requests the email scope from LinkedIn to access the user's email address.
+ *Request legacy network access (first-degree connections). Deprecated by LinkedIn and typically unavailable to new apps. Off by default.
*/ - @JsonSetter(value = "email", nulls = Nulls.SKIP) - public Builder email(OptionalRequest OpenID Connect authentication support (openid scope). When enabled, the connection will request the 'openid' scope from LinkedIn, allowing the use of OpenID Connect flows for authentication and enabling the issuance of ID tokens. This is off by default and should only be enabled if your LinkedIn application is configured for OpenID Connect.
+ */ + @JsonSetter(value = "openid", nulls = Nulls.SKIP) + public Builder openid(OptionalWhen enabled, requests the profile scope from LinkedIn to access profile information.
+ *Always-true flag that ensures the LinkedIn profile scope (r_basicprofile/r_liteprofile/profile) is requested.
*/ @JsonSetter(value = "profile", nulls = Nulls.SKIP) public Builder profile(OptionalConfiguration for OIDC backchannel logout (deprecated, in favor of oidc_logout)
+ */ _FinalStage oidcBackchannelLogout(OptionalConfiguration for OIDC backchannel logout (deprecated, in favor of oidc_logout)
+ * @return Reference to {@code this} so that method calls can be chained together. + */ @java.lang.Override public _FinalStage oidcBackchannelLogout(ClientOidcBackchannelLogoutSettings oidcBackchannelLogout) { this.oidcBackchannelLogout = Optional.ofNullable(oidcBackchannelLogout); return this; } + /** + *Configuration for OIDC backchannel logout (deprecated, in favor of oidc_logout)
+ */ @java.lang.Override @JsonSetter(value = "oidc_backchannel_logout", nulls = Nulls.SKIP) public _FinalStage oidcBackchannelLogout(Optionalcredentials-exchange, pre-user-registration, post-user-registration, post-change-password, or send-phone-message.
+ */
@JsonProperty("triggerId")
public HookTriggerIdEnum getTriggerId() {
return triggerId;
@@ -132,6 +135,9 @@ public interface ScriptStage {
}
public interface TriggerIdStage {
+ /**
+ * Execution stage of this rule. Can be credentials-exchange, pre-user-registration, post-user-registration, post-change-password, or send-phone-message.
Execution stage of this rule. Can be credentials-exchange, pre-user-registration, post-user-registration, post-change-password, or send-phone-message.
Execution stage of this rule. Can be credentials-exchange, pre-user-registration, post-user-registration, post-change-password, or send-phone-message.
The connection's identifier
+ */ + ConnectionNameStage connectionId(@NotNull String connectionId); + + Builder from(CreateScimConfigurationResponseContent other); + } + + public interface ConnectionNameStage { + /** + *The connection's name
+ */ + StrategyStage connectionName(@NotNull String connectionName); + } + + public interface StrategyStage { + /** + *The connection's strategy
+ */ + TenantNameStage strategy(@NotNull String strategy); + } + + public interface TenantNameStage { + /** + *The tenant's name
+ */ + UserIdAttributeStage tenantName(@NotNull String tenantName); + } + + public interface UserIdAttributeStage { + /** + *User ID attribute for generating unique user ids
+ */ + CreatedAtStage userIdAttribute(@NotNull String userIdAttribute); + } + + public interface CreatedAtStage { + /** + *The ISO 8601 date and time the SCIM configuration was created at
+ */ + UpdatedOnStage createdAt(@NotNull OffsetDateTime createdAt); + } + + public interface UpdatedOnStage { + /** + *The ISO 8601 date and time the SCIM configuration was last updated on
+ */ + _FinalStage updatedOn(@NotNull OffsetDateTime updatedOn); + } + + public interface _FinalStage { + CreateScimConfigurationResponseContent build(); + + _FinalStage additionalProperty(String key, Object value); + + _FinalStage additionalProperties(MapThe mapping between auth0 and SCIM
+ */ + _FinalStage mapping(List