From 3c0a8547b4812f077ee3f33883800be328ea8195 Mon Sep 17 00:00:00 2001
From: "fern-api[bot]" <115122769+fern-api[bot]@users.noreply.github.com>
Date: Tue, 14 Jul 2026 15:57:22 +0000
Subject: [PATCH 1/4] [fern-generated] Update SDK
Generated by Fern
CLI Version: unknown
Generators:
- fernapi/fern-python-sdk: 5.17.0
---
reference.md | 142 -------
src/auth0/management/__init__.py | 18 -
src/auth0/management/core/client_wrapper.py | 22 +-
src/auth0/management/types/__init__.py | 6 -
...transfer_delegation_device_binding_enum.py | 2 +-
...ion_federated_connections_access_tokens.py | 26 --
.../types/connection_options_azure_ad.py | 2 -
.../types/connection_options_common_oidc.py | 2 -
.../types/connection_options_google_apps.py | 2 -
.../types/connection_properties_options.py | 2 -
.../types/federated_connection_token_set.py | 25 --
.../management/types/network_acl_match.py | 3 +
src/auth0/management/types/oauth_scope.py | 2 -
.../types/update_connection_options.py | 2 -
src/auth0/management/users/__init__.py | 3 -
src/auth0/management/users/client.py | 26 --
.../__init__.py | 4 -
.../federated_connections_tokensets/client.py | 188 ---------
.../raw_client.py | 363 ------------------
...est_users_federatedConnectionsTokensets.py | 22 --
wiremock/wiremock-mappings.json | 83 +---
21 files changed, 15 insertions(+), 930 deletions(-)
delete mode 100644 src/auth0/management/types/connection_federated_connections_access_tokens.py
delete mode 100644 src/auth0/management/types/federated_connection_token_set.py
delete mode 100644 src/auth0/management/users/federated_connections_tokensets/__init__.py
delete mode 100644 src/auth0/management/users/federated_connections_tokensets/client.py
delete mode 100644 src/auth0/management/users/federated_connections_tokensets/raw_client.py
delete mode 100644 tests/wire/test_users_federatedConnectionsTokensets.py
diff --git a/reference.md b/reference.md
index 004687ab..597e623a 100644
--- a/reference.md
+++ b/reference.md
@@ -37575,148 +37575,6 @@ client.users.enrollments.get(
-
-
-
-
-## Users FederatedConnectionsTokensets
-client.users.federated_connections_tokensets.list(...) -> typing.List[FederatedConnectionTokenSet]
-
--
-
-#### 📝 Description
-
-
--
-
-
--
-
-List active federated connections tokensets for a provided user
-
-
-
-
-
-#### 🔌 Usage
-
-
--
-
-
--
-
-```python
-from auth0.management import Auth0
-from auth0.management.environment import Auth0Environment
-
-client = Auth0(
- token="",
- environment=Auth0Environment.DEFAULT,
-)
-
-client.users.federated_connections_tokensets.list(
- id="id",
-)
-
-```
-
-
-
-
-
-#### ⚙️ Parameters
-
-
--
-
-
--
-
-**id:** `str` — User identifier
-
-
-
-
-
--
-
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
-
-
-
-
-
-
-
-
-
-
-
-client.users.federated_connections_tokensets.delete(...)
-
--
-
-#### 🔌 Usage
-
-
--
-
-
--
-
-```python
-from auth0.management import Auth0
-from auth0.management.environment import Auth0Environment
-
-client = Auth0(
- token="",
- environment=Auth0Environment.DEFAULT,
-)
-
-client.users.federated_connections_tokensets.delete(
- id="id",
- tokenset_id="tokenset_id",
-)
-
-```
-
-
-
-
-
-#### ⚙️ Parameters
-
-
--
-
-
--
-
-**id:** `str` — Id of the user that owns the tokenset
-
-
-
-
-
--
-
-**tokenset_id:** `str` — The tokenset id
-
-
-
-
-
--
-
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
-
-
-
-
-
-
-
diff --git a/src/auth0/management/__init__.py b/src/auth0/management/__init__.py
index 48bbce95..b2be29eb 100644
--- a/src/auth0/management/__init__.py
+++ b/src/auth0/management/__init__.py
@@ -366,7 +366,6 @@
ConnectionExtIsSuspended,
ConnectionExtIsSuspendedGoogleApps,
ConnectionExtProfile,
- ConnectionFederatedConnectionsAccessTokens,
ConnectionFieldsMap,
ConnectionFieldsMapSaml,
ConnectionFieldsMapSamlValue,
@@ -1861,7 +1860,6 @@
FedCmLoginGoogle,
FedCmLoginGooglePatch,
FedCmLoginPatch,
- FederatedConnectionTokenSet,
FlowAction,
FlowActionActivecampaign,
FlowActionActivecampaignListContacts,
@@ -3192,8 +3190,6 @@
from .environment import Auth0Environment
from .event_streams import EventStreamsCreateRequest
from .version import __version__
- from .management_client import AsyncManagementClient, CustomDomainHeader, ManagementClient
- from .token_provider import AsyncTokenProvider, TokenProvider
_dynamic_imports: typing.Dict[str, str] = {
"Action": ".types",
"ActionBase": ".types",
@@ -3254,8 +3250,6 @@
"AssociateOrganizationClientGrantResponseContent": ".types",
"AsyncApprovalNotificationsChannelsEnum": ".types",
"AsyncAuth0": ".client",
- "AsyncManagementClient": ".management_client",
- "AsyncTokenProvider": ".token_provider",
"AttackProtectionCaptchaArkoseResponseContent": ".types",
"AttackProtectionCaptchaAuthChallengeRequest": ".types",
"AttackProtectionCaptchaAuthChallengeResponseContent": ".types",
@@ -3561,7 +3555,6 @@
"ConnectionExtIsSuspended": ".types",
"ConnectionExtIsSuspendedGoogleApps": ".types",
"ConnectionExtProfile": ".types",
- "ConnectionFederatedConnectionsAccessTokens": ".types",
"ConnectionFieldsMap": ".types",
"ConnectionFieldsMapSaml": ".types",
"ConnectionFieldsMapSamlValue": ".types",
@@ -4228,7 +4221,6 @@
"CspReportingEndpoints": ".types",
"CspReportingInfrastructure": ".types",
"CustomDomain": ".types",
- "CustomDomainHeader": ".management_client",
"CustomDomainCustomClientIpHeader": ".types",
"CustomDomainCustomClientIpHeaderEnum": ".types",
"CustomDomainProvisioningTypeEnum": ".types",
@@ -5061,7 +5053,6 @@
"FedCmLoginGoogle": ".types",
"FedCmLoginGooglePatch": ".types",
"FedCmLoginPatch": ".types",
- "FederatedConnectionTokenSet": ".types",
"FlowAction": ".types",
"FlowActionActivecampaign": ".types",
"FlowActionActivecampaignListContacts": ".types",
@@ -5879,7 +5870,6 @@
"LogStreamSumoEnum": ".types",
"LogStreamSumoResponseSchema": ".types",
"LogStreamSumoSink": ".types",
- "ManagementClient": ".management_client",
"MdlPresentationProperties": ".types",
"MdlPresentationRequest": ".types",
"MdlPresentationRequestProperties": ".types",
@@ -6138,7 +6128,6 @@
"TestEventDataContent": ".types",
"TokenExchangeProfileResponseContent": ".types",
"TokenExchangeProfileTypeEnum": ".types",
- "TokenProvider": ".token_provider",
"TokenQuota": ".types",
"TokenQuotaClientCredentials": ".types",
"TokenQuotaConfiguration": ".types",
@@ -6466,8 +6455,6 @@ def __dir__():
"AssociateOrganizationClientGrantResponseContent",
"AsyncApprovalNotificationsChannelsEnum",
"AsyncAuth0",
- "AsyncManagementClient",
- "AsyncTokenProvider",
"AttackProtectionCaptchaArkoseResponseContent",
"AttackProtectionCaptchaAuthChallengeRequest",
"AttackProtectionCaptchaAuthChallengeResponseContent",
@@ -6773,7 +6760,6 @@ def __dir__():
"ConnectionExtIsSuspended",
"ConnectionExtIsSuspendedGoogleApps",
"ConnectionExtProfile",
- "ConnectionFederatedConnectionsAccessTokens",
"ConnectionFieldsMap",
"ConnectionFieldsMapSaml",
"ConnectionFieldsMapSamlValue",
@@ -7440,7 +7426,6 @@ def __dir__():
"CspReportingEndpoints",
"CspReportingInfrastructure",
"CustomDomain",
- "CustomDomainHeader",
"CustomDomainCustomClientIpHeader",
"CustomDomainCustomClientIpHeaderEnum",
"CustomDomainProvisioningTypeEnum",
@@ -8273,7 +8258,6 @@ def __dir__():
"FedCmLoginGoogle",
"FedCmLoginGooglePatch",
"FedCmLoginPatch",
- "FederatedConnectionTokenSet",
"FlowAction",
"FlowActionActivecampaign",
"FlowActionActivecampaignListContacts",
@@ -9091,7 +9075,6 @@ def __dir__():
"LogStreamSumoEnum",
"LogStreamSumoResponseSchema",
"LogStreamSumoSink",
- "ManagementClient",
"MdlPresentationProperties",
"MdlPresentationRequest",
"MdlPresentationRequestProperties",
@@ -9350,7 +9333,6 @@ def __dir__():
"TestEventDataContent",
"TokenExchangeProfileResponseContent",
"TokenExchangeProfileTypeEnum",
- "TokenProvider",
"TokenQuota",
"TokenQuotaClientCredentials",
"TokenQuotaConfiguration",
diff --git a/src/auth0/management/core/client_wrapper.py b/src/auth0/management/core/client_wrapper.py
index fd991f52..63874659 100644
--- a/src/auth0/management/core/client_wrapper.py
+++ b/src/auth0/management/core/client_wrapper.py
@@ -1,11 +1,6 @@
# This file was auto-generated by Fern from our API Definition.
-# Modified by Auth0 to use Auth0 telemetry format with dynamic versioning
-import base64
-import platform
-import sys
import typing
-from json import dumps
import httpx
from .http_client import AsyncHttpClient, HttpClient
@@ -35,18 +30,15 @@ def __init__(
self._logging = logging
def get_headers(self) -> typing.Dict[str, str]:
- py_version = platform.python_version()
- version = sys.modules["auth0"].__version__
-
- auth0_client = dumps({
- "name": "auth0-python",
- "version": version,
- "env": {"python": py_version}
- }).encode("utf-8")
+ import platform
headers: typing.Dict[str, str] = {
- "User-Agent": f"Python/{py_version}",
- "Auth0-Client": base64.b64encode(auth0_client).decode(),
+ "User-Agent": "auth0-python/5.8.0",
+ "X-Fern-Language": "Python",
+ "X-Fern-Runtime": f"python/{platform.python_version()}",
+ "X-Fern-Platform": f"{platform.system().lower()}/{platform.release()}",
+ "X-Fern-SDK-Name": "auth0-python",
+ "X-Fern-SDK-Version": "5.8.0",
**(self.get_custom_headers() or {}),
}
headers["Authorization"] = f"Bearer {self._get_token()}"
diff --git a/src/auth0/management/types/__init__.py b/src/auth0/management/types/__init__.py
index 9f4f37ad..6035b67e 100644
--- a/src/auth0/management/types/__init__.py
+++ b/src/auth0/management/types/__init__.py
@@ -411,7 +411,6 @@
from .connection_ext_is_suspended import ConnectionExtIsSuspended
from .connection_ext_is_suspended_google_apps import ConnectionExtIsSuspendedGoogleApps
from .connection_ext_profile import ConnectionExtProfile
- from .connection_federated_connections_access_tokens import ConnectionFederatedConnectionsAccessTokens
from .connection_fields_map import ConnectionFieldsMap
from .connection_fields_map_saml import ConnectionFieldsMapSaml
from .connection_fields_map_saml_value import ConnectionFieldsMapSamlValue
@@ -3042,7 +3041,6 @@
from .fed_cm_login_google import FedCmLoginGoogle
from .fed_cm_login_google_patch import FedCmLoginGooglePatch
from .fed_cm_login_patch import FedCmLoginPatch
- from .federated_connection_token_set import FederatedConnectionTokenSet
from .flow_action import FlowAction
from .flow_action_activecampaign import FlowActionActivecampaign
from .flow_action_activecampaign_list_contacts import FlowActionActivecampaignListContacts
@@ -4808,7 +4806,6 @@
"ConnectionExtIsSuspended": ".connection_ext_is_suspended",
"ConnectionExtIsSuspendedGoogleApps": ".connection_ext_is_suspended_google_apps",
"ConnectionExtProfile": ".connection_ext_profile",
- "ConnectionFederatedConnectionsAccessTokens": ".connection_federated_connections_access_tokens",
"ConnectionFieldsMap": ".connection_fields_map",
"ConnectionFieldsMapSaml": ".connection_fields_map_saml",
"ConnectionFieldsMapSamlValue": ".connection_fields_map_saml_value",
@@ -6303,7 +6300,6 @@
"FedCmLoginGoogle": ".fed_cm_login_google",
"FedCmLoginGooglePatch": ".fed_cm_login_google_patch",
"FedCmLoginPatch": ".fed_cm_login_patch",
- "FederatedConnectionTokenSet": ".federated_connection_token_set",
"FlowAction": ".flow_action",
"FlowActionActivecampaign": ".flow_action_activecampaign",
"FlowActionActivecampaignListContacts": ".flow_action_activecampaign_list_contacts",
@@ -7951,7 +7947,6 @@ def __dir__():
"ConnectionExtIsSuspended",
"ConnectionExtIsSuspendedGoogleApps",
"ConnectionExtProfile",
- "ConnectionFederatedConnectionsAccessTokens",
"ConnectionFieldsMap",
"ConnectionFieldsMapSaml",
"ConnectionFieldsMapSamlValue",
@@ -9446,7 +9441,6 @@ def __dir__():
"FedCmLoginGoogle",
"FedCmLoginGooglePatch",
"FedCmLoginPatch",
- "FederatedConnectionTokenSet",
"FlowAction",
"FlowActionActivecampaign",
"FlowActionActivecampaignListContacts",
diff --git a/src/auth0/management/types/client_session_transfer_delegation_device_binding_enum.py b/src/auth0/management/types/client_session_transfer_delegation_device_binding_enum.py
index 3ef120e8..acd2d456 100644
--- a/src/auth0/management/types/client_session_transfer_delegation_device_binding_enum.py
+++ b/src/auth0/management/types/client_session_transfer_delegation_device_binding_enum.py
@@ -2,4 +2,4 @@
import typing
-ClientSessionTransferDelegationDeviceBindingEnum = typing.Union[typing.Literal["ip", "asn"], typing.Any]
+ClientSessionTransferDelegationDeviceBindingEnum = typing.Union[typing.Literal["ip"], typing.Any]
diff --git a/src/auth0/management/types/connection_federated_connections_access_tokens.py b/src/auth0/management/types/connection_federated_connections_access_tokens.py
deleted file mode 100644
index 9b86d19b..00000000
--- a/src/auth0/management/types/connection_federated_connections_access_tokens.py
+++ /dev/null
@@ -1,26 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-import typing
-
-import pydantic
-from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
-
-
-class ConnectionFederatedConnectionsAccessTokens(UniversalBaseModel):
- """
- Federated Connections Access Tokens
- """
-
- active: typing.Optional[bool] = pydantic.Field(default=None)
- """
- Enables refresh tokens and access tokens collection for federated connections
- """
-
- if IS_PYDANTIC_V2:
- model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
- else:
-
- class Config:
- frozen = True
- smart_union = True
- extra = pydantic.Extra.allow
diff --git a/src/auth0/management/types/connection_options_azure_ad.py b/src/auth0/management/types/connection_options_azure_ad.py
index 79a16fdf..a7d04c26 100644
--- a/src/auth0/management/types/connection_options_azure_ad.py
+++ b/src/auth0/management/types/connection_options_azure_ad.py
@@ -16,7 +16,6 @@
from .connection_ext_groups_azure_ad import ConnectionExtGroupsAzureAd
from .connection_ext_is_suspended import ConnectionExtIsSuspended
from .connection_ext_profile import ConnectionExtProfile
-from .connection_federated_connections_access_tokens import ConnectionFederatedConnectionsAccessTokens
from .connection_icon_url_azure_ad import ConnectionIconUrlAzureAd
from .connection_identity_api_azure_ad import ConnectionIdentityApiAzureAd
from .connection_max_groups_to_retrieve import ConnectionMaxGroupsToRetrieve
@@ -260,7 +259,6 @@ class ConnectionOptionsAzureAd(ConnectionOptionsCommon):
When false, prevents storing an alternative user ID. When true (default), this user ID is persisted in the user profile.
"""
- federated_connections_access_tokens: typing.Optional[ConnectionFederatedConnectionsAccessTokens] = None
granted: typing.Optional[bool] = pydantic.Field(default=None)
"""
Indicates whether admin consent has been granted for the required Azure AD permissions. Read-only status field managed by Auth0 during the OAuth authorization flow.
diff --git a/src/auth0/management/types/connection_options_common_oidc.py b/src/auth0/management/types/connection_options_common_oidc.py
index 40a764a9..e3793419 100644
--- a/src/auth0/management/types/connection_options_common_oidc.py
+++ b/src/auth0/management/types/connection_options_common_oidc.py
@@ -10,7 +10,6 @@
from .connection_connection_settings import ConnectionConnectionSettings
from .connection_domain_aliases import ConnectionDomainAliases
from .connection_dpop_signing_alg_enum import ConnectionDpopSigningAlgEnum
-from .connection_federated_connections_access_tokens import ConnectionFederatedConnectionsAccessTokens
from .connection_icon_url import ConnectionIconUrl
from .connection_id_token_session_expiry_supported import ConnectionIdTokenSessionExpirySupported
from .connection_id_token_signed_response_algs import ConnectionIdTokenSignedResponseAlgs
@@ -40,7 +39,6 @@ class ConnectionOptionsCommonOidc(UniversalBaseModel):
connection_settings: typing.Optional[ConnectionConnectionSettings] = None
domain_aliases: typing.Optional[ConnectionDomainAliases] = None
dpop_signing_alg: typing.Optional[ConnectionDpopSigningAlgEnum] = None
- federated_connections_access_tokens: typing.Optional[ConnectionFederatedConnectionsAccessTokens] = None
icon_url: typing.Optional[ConnectionIconUrl] = None
id_token_session_expiry_supported: typing.Optional[ConnectionIdTokenSessionExpirySupported] = None
id_token_signed_response_algs: typing.Optional[ConnectionIdTokenSignedResponseAlgs] = None
diff --git a/src/auth0/management/types/connection_options_google_apps.py b/src/auth0/management/types/connection_options_google_apps.py
index 424285ff..95949457 100644
--- a/src/auth0/management/types/connection_options_google_apps.py
+++ b/src/auth0/management/types/connection_options_google_apps.py
@@ -17,7 +17,6 @@
from .connection_ext_groups_google_apps import ConnectionExtGroupsGoogleApps
from .connection_ext_is_admin_google_apps import ConnectionExtIsAdminGoogleApps
from .connection_ext_is_suspended_google_apps import ConnectionExtIsSuspendedGoogleApps
-from .connection_federated_connections_access_tokens import ConnectionFederatedConnectionsAccessTokens
from .connection_handle_login_from_social_google_apps import ConnectionHandleLoginFromSocialGoogleApps
from .connection_icon_url_google_apps import ConnectionIconUrlGoogleApps
from .connection_options_common import ConnectionOptionsCommon
@@ -60,7 +59,6 @@ class ConnectionOptionsGoogleApps(ConnectionOptionsCommon):
ext_is_admin: typing.Optional[ConnectionExtIsAdminGoogleApps] = None
ext_is_suspended: typing.Optional[ConnectionExtIsSuspendedGoogleApps] = None
- federated_connections_access_tokens: typing.Optional[ConnectionFederatedConnectionsAccessTokens] = None
handle_login_from_social: typing.Optional[ConnectionHandleLoginFromSocialGoogleApps] = None
icon_url: typing.Optional[ConnectionIconUrlGoogleApps] = None
map_user_id_to_id: typing.Optional[bool] = pydantic.Field(default=None)
diff --git a/src/auth0/management/types/connection_properties_options.py b/src/auth0/management/types/connection_properties_options.py
index 5a709c28..c6d79288 100644
--- a/src/auth0/management/types/connection_properties_options.py
+++ b/src/auth0/management/types/connection_properties_options.py
@@ -11,7 +11,6 @@
from .connection_authentication_methods import ConnectionAuthenticationMethods
from .connection_custom_scripts import ConnectionCustomScripts
from .connection_dpop_signing_alg_enum import ConnectionDpopSigningAlgEnum
-from .connection_federated_connections_access_tokens import ConnectionFederatedConnectionsAccessTokens
from .connection_gateway_authentication import ConnectionGatewayAuthentication
from .connection_id_token_session_expiry_supported import ConnectionIdTokenSessionExpirySupported
from .connection_id_token_signed_response_algs import ConnectionIdTokenSignedResponseAlgs
@@ -103,7 +102,6 @@ class ConnectionPropertiesOptions(UniversalBaseModel):
upstream_params: typing.Optional[ConnectionUpstreamParams] = None
set_user_root_attributes: typing.Optional[ConnectionSetUserRootAttributesEnum] = None
gateway_authentication: typing.Optional[ConnectionGatewayAuthentication] = None
- federated_connections_access_tokens: typing.Optional[ConnectionFederatedConnectionsAccessTokens] = None
password_options: typing.Optional[ConnectionPasswordOptions] = None
assertion_decryption_settings: typing.Optional[ConnectionAssertionDecryptionSettings] = None
id_token_signed_response_algs: typing.Optional[ConnectionIdTokenSignedResponseAlgs] = None
diff --git a/src/auth0/management/types/federated_connection_token_set.py b/src/auth0/management/types/federated_connection_token_set.py
deleted file mode 100644
index 7e91759d..00000000
--- a/src/auth0/management/types/federated_connection_token_set.py
+++ /dev/null
@@ -1,25 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-import datetime as dt
-import typing
-
-import pydantic
-from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
-
-
-class FederatedConnectionTokenSet(UniversalBaseModel):
- id: typing.Optional[str] = None
- connection: typing.Optional[str] = None
- scope: typing.Optional[str] = None
- expires_at: typing.Optional[dt.datetime] = None
- issued_at: typing.Optional[dt.datetime] = None
- last_used_at: typing.Optional[dt.datetime] = None
-
- if IS_PYDANTIC_V2:
- model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
- else:
-
- class Config:
- frozen = True
- smart_union = True
- extra = pydantic.Extra.allow
diff --git a/src/auth0/management/types/network_acl_match.py b/src/auth0/management/types/network_acl_match.py
index d941c0fc..a739f767 100644
--- a/src/auth0/management/types/network_acl_match.py
+++ b/src/auth0/management/types/network_acl_match.py
@@ -14,6 +14,9 @@
class NetworkAclMatch(UniversalBaseModel):
asns: typing.Optional[typing.List[int]] = None
+ auth_0_managed: typing_extensions.Annotated[
+ typing.Optional[typing.List[str]], FieldMetadata(alias="auth0_managed"), pydantic.Field(alias="auth0_managed")
+ ] = None
geo_country_codes: typing.Optional[typing.List[str]] = None
geo_subdivision_codes: typing.Optional[typing.List[str]] = None
ipv_4_cidrs: typing_extensions.Annotated[
diff --git a/src/auth0/management/types/oauth_scope.py b/src/auth0/management/types/oauth_scope.py
index 46f2db01..93e2415c 100644
--- a/src/auth0/management/types/oauth_scope.py
+++ b/src/auth0/management/types/oauth_scope.py
@@ -84,8 +84,6 @@
"update:event_streams",
"delete:event_streams",
"read:events",
- "read:federated_connections_tokens",
- "delete:federated_connections_tokens",
"create:flows",
"read:flows",
"update:flows",
diff --git a/src/auth0/management/types/update_connection_options.py b/src/auth0/management/types/update_connection_options.py
index 23eaae98..be91a07f 100644
--- a/src/auth0/management/types/update_connection_options.py
+++ b/src/auth0/management/types/update_connection_options.py
@@ -11,7 +11,6 @@
from .connection_authentication_methods import ConnectionAuthenticationMethods
from .connection_custom_scripts import ConnectionCustomScripts
from .connection_dpop_signing_alg_enum import ConnectionDpopSigningAlgEnum
-from .connection_federated_connections_access_tokens import ConnectionFederatedConnectionsAccessTokens
from .connection_gateway_authentication import ConnectionGatewayAuthentication
from .connection_id_token_session_expiry_supported import ConnectionIdTokenSessionExpirySupported
from .connection_id_token_signed_response_algs import ConnectionIdTokenSignedResponseAlgs
@@ -103,7 +102,6 @@ class UpdateConnectionOptions(UniversalBaseModel):
upstream_params: typing.Optional[ConnectionUpstreamParams] = None
set_user_root_attributes: typing.Optional[ConnectionSetUserRootAttributesEnum] = None
gateway_authentication: typing.Optional[ConnectionGatewayAuthentication] = None
- federated_connections_access_tokens: typing.Optional[ConnectionFederatedConnectionsAccessTokens] = None
password_options: typing.Optional[ConnectionPasswordOptions] = None
assertion_decryption_settings: typing.Optional[ConnectionAssertionDecryptionSettings] = None
id_token_signed_response_algs: typing.Optional[ConnectionIdTokenSignedResponseAlgs] = None
diff --git a/src/auth0/management/users/__init__.py b/src/auth0/management/users/__init__.py
index 4f606d21..9710bc8a 100644
--- a/src/auth0/management/users/__init__.py
+++ b/src/auth0/management/users/__init__.py
@@ -13,7 +13,6 @@
effective_permissions,
effective_roles,
enrollments,
- federated_connections_tokensets,
groups,
identities,
logs,
@@ -32,7 +31,6 @@
"effective_permissions": ".effective_permissions",
"effective_roles": ".effective_roles",
"enrollments": ".enrollments",
- "federated_connections_tokensets": ".federated_connections_tokensets",
"groups": ".groups",
"identities": ".identities",
"logs": ".logs",
@@ -74,7 +72,6 @@ def __dir__():
"effective_permissions",
"effective_roles",
"enrollments",
- "federated_connections_tokensets",
"groups",
"identities",
"logs",
diff --git a/src/auth0/management/users/client.py b/src/auth0/management/users/client.py
index c9d5259a..34982838 100644
--- a/src/auth0/management/users/client.py
+++ b/src/auth0/management/users/client.py
@@ -25,10 +25,6 @@
from .effective_permissions.client import AsyncEffectivePermissionsClient, EffectivePermissionsClient
from .effective_roles.client import AsyncEffectiveRolesClient, EffectiveRolesClient
from .enrollments.client import AsyncEnrollmentsClient, EnrollmentsClient
- from .federated_connections_tokensets.client import (
- AsyncFederatedConnectionsTokensetsClient,
- FederatedConnectionsTokensetsClient,
- )
from .groups.client import AsyncGroupsClient, GroupsClient
from .identities.client import AsyncIdentitiesClient, IdentitiesClient
from .logs.client import AsyncLogsClient, LogsClient
@@ -53,7 +49,6 @@ def __init__(self, *, client_wrapper: SyncClientWrapper):
self._effective_permissions: typing.Optional[EffectivePermissionsClient] = None
self._effective_roles: typing.Optional[EffectiveRolesClient] = None
self._enrollments: typing.Optional[EnrollmentsClient] = None
- self._federated_connections_tokensets: typing.Optional[FederatedConnectionsTokensetsClient] = None
self._groups: typing.Optional[GroupsClient] = None
self._identities: typing.Optional[IdentitiesClient] = None
self._logs: typing.Optional[LogsClient] = None
@@ -784,16 +779,6 @@ def enrollments(self):
self._enrollments = EnrollmentsClient(client_wrapper=self._client_wrapper)
return self._enrollments
- @property
- def federated_connections_tokensets(self):
- if self._federated_connections_tokensets is None:
- from .federated_connections_tokensets.client import FederatedConnectionsTokensetsClient # noqa: E402
-
- self._federated_connections_tokensets = FederatedConnectionsTokensetsClient(
- client_wrapper=self._client_wrapper
- )
- return self._federated_connections_tokensets
-
@property
def groups(self):
if self._groups is None:
@@ -885,7 +870,6 @@ def __init__(self, *, client_wrapper: AsyncClientWrapper):
self._effective_permissions: typing.Optional[AsyncEffectivePermissionsClient] = None
self._effective_roles: typing.Optional[AsyncEffectiveRolesClient] = None
self._enrollments: typing.Optional[AsyncEnrollmentsClient] = None
- self._federated_connections_tokensets: typing.Optional[AsyncFederatedConnectionsTokensetsClient] = None
self._groups: typing.Optional[AsyncGroupsClient] = None
self._identities: typing.Optional[AsyncIdentitiesClient] = None
self._logs: typing.Optional[AsyncLogsClient] = None
@@ -1681,16 +1665,6 @@ def enrollments(self):
self._enrollments = AsyncEnrollmentsClient(client_wrapper=self._client_wrapper)
return self._enrollments
- @property
- def federated_connections_tokensets(self):
- if self._federated_connections_tokensets is None:
- from .federated_connections_tokensets.client import AsyncFederatedConnectionsTokensetsClient # noqa: E402
-
- self._federated_connections_tokensets = AsyncFederatedConnectionsTokensetsClient(
- client_wrapper=self._client_wrapper
- )
- return self._federated_connections_tokensets
-
@property
def groups(self):
if self._groups is None:
diff --git a/src/auth0/management/users/federated_connections_tokensets/__init__.py b/src/auth0/management/users/federated_connections_tokensets/__init__.py
deleted file mode 100644
index 5cde0202..00000000
--- a/src/auth0/management/users/federated_connections_tokensets/__init__.py
+++ /dev/null
@@ -1,4 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-# isort: skip_file
-
diff --git a/src/auth0/management/users/federated_connections_tokensets/client.py b/src/auth0/management/users/federated_connections_tokensets/client.py
deleted file mode 100644
index 613347ef..00000000
--- a/src/auth0/management/users/federated_connections_tokensets/client.py
+++ /dev/null
@@ -1,188 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-import typing
-
-from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper
-from ...core.request_options import RequestOptions
-from ...types.federated_connection_token_set import FederatedConnectionTokenSet
-from .raw_client import AsyncRawFederatedConnectionsTokensetsClient, RawFederatedConnectionsTokensetsClient
-
-
-class FederatedConnectionsTokensetsClient:
- def __init__(self, *, client_wrapper: SyncClientWrapper):
- self._raw_client = RawFederatedConnectionsTokensetsClient(client_wrapper=client_wrapper)
-
- @property
- def with_raw_response(self) -> RawFederatedConnectionsTokensetsClient:
- """
- Retrieves a raw implementation of this client that returns raw responses.
-
- Returns
- -------
- RawFederatedConnectionsTokensetsClient
- """
- return self._raw_client
-
- def list(
- self, id: str, *, request_options: typing.Optional[RequestOptions] = None
- ) -> typing.List[FederatedConnectionTokenSet]:
- """
- List active federated connections tokensets for a provided user
-
- Parameters
- ----------
- id : str
- User identifier
-
- request_options : typing.Optional[RequestOptions]
- Request-specific configuration.
-
- Returns
- -------
- typing.List[FederatedConnectionTokenSet]
- Flows successfully retrieved.
-
- Examples
- --------
- from auth0 import Auth0
-
- client = Auth0(
- token="YOUR_TOKEN",
- )
- client.users.federated_connections_tokensets.list(
- id="id",
- )
- """
- _response = self._raw_client.list(id, request_options=request_options)
- return _response.data
-
- def delete(self, id: str, tokenset_id: str, *, request_options: typing.Optional[RequestOptions] = None) -> None:
- """
- Parameters
- ----------
- id : str
- Id of the user that owns the tokenset
-
- tokenset_id : str
- The tokenset id
-
- request_options : typing.Optional[RequestOptions]
- Request-specific configuration.
-
- Returns
- -------
- None
-
- Examples
- --------
- from auth0 import Auth0
-
- client = Auth0(
- token="YOUR_TOKEN",
- )
- client.users.federated_connections_tokensets.delete(
- id="id",
- tokenset_id="tokenset_id",
- )
- """
- _response = self._raw_client.delete(id, tokenset_id, request_options=request_options)
- return _response.data
-
-
-class AsyncFederatedConnectionsTokensetsClient:
- def __init__(self, *, client_wrapper: AsyncClientWrapper):
- self._raw_client = AsyncRawFederatedConnectionsTokensetsClient(client_wrapper=client_wrapper)
-
- @property
- def with_raw_response(self) -> AsyncRawFederatedConnectionsTokensetsClient:
- """
- Retrieves a raw implementation of this client that returns raw responses.
-
- Returns
- -------
- AsyncRawFederatedConnectionsTokensetsClient
- """
- return self._raw_client
-
- async def list(
- self, id: str, *, request_options: typing.Optional[RequestOptions] = None
- ) -> typing.List[FederatedConnectionTokenSet]:
- """
- List active federated connections tokensets for a provided user
-
- Parameters
- ----------
- id : str
- User identifier
-
- request_options : typing.Optional[RequestOptions]
- Request-specific configuration.
-
- Returns
- -------
- typing.List[FederatedConnectionTokenSet]
- Flows successfully retrieved.
-
- Examples
- --------
- import asyncio
-
- from auth0 import AsyncAuth0
-
- client = AsyncAuth0(
- token="YOUR_TOKEN",
- )
-
-
- async def main() -> None:
- await client.users.federated_connections_tokensets.list(
- id="id",
- )
-
-
- asyncio.run(main())
- """
- _response = await self._raw_client.list(id, request_options=request_options)
- return _response.data
-
- async def delete(
- self, id: str, tokenset_id: str, *, request_options: typing.Optional[RequestOptions] = None
- ) -> None:
- """
- Parameters
- ----------
- id : str
- Id of the user that owns the tokenset
-
- tokenset_id : str
- The tokenset id
-
- request_options : typing.Optional[RequestOptions]
- Request-specific configuration.
-
- Returns
- -------
- None
-
- Examples
- --------
- import asyncio
-
- from auth0 import AsyncAuth0
-
- client = AsyncAuth0(
- token="YOUR_TOKEN",
- )
-
-
- async def main() -> None:
- await client.users.federated_connections_tokensets.delete(
- id="id",
- tokenset_id="tokenset_id",
- )
-
-
- asyncio.run(main())
- """
- _response = await self._raw_client.delete(id, tokenset_id, request_options=request_options)
- return _response.data
diff --git a/src/auth0/management/users/federated_connections_tokensets/raw_client.py b/src/auth0/management/users/federated_connections_tokensets/raw_client.py
deleted file mode 100644
index 4416f034..00000000
--- a/src/auth0/management/users/federated_connections_tokensets/raw_client.py
+++ /dev/null
@@ -1,363 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-import typing
-from json.decoder import JSONDecodeError
-
-from ...core.api_error import ApiError
-from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper
-from ...core.http_response import AsyncHttpResponse, HttpResponse
-from ...core.jsonable_encoder import encode_path_param
-from ...core.parse_error import ParsingError
-from ...core.pydantic_utilities import parse_obj_as
-from ...core.request_options import RequestOptions
-from ...errors.bad_request_error import BadRequestError
-from ...errors.forbidden_error import ForbiddenError
-from ...errors.not_found_error import NotFoundError
-from ...errors.too_many_requests_error import TooManyRequestsError
-from ...errors.unauthorized_error import UnauthorizedError
-from ...types.federated_connection_token_set import FederatedConnectionTokenSet
-from pydantic import ValidationError
-
-
-class RawFederatedConnectionsTokensetsClient:
- def __init__(self, *, client_wrapper: SyncClientWrapper):
- self._client_wrapper = client_wrapper
-
- def list(
- self, id: str, *, request_options: typing.Optional[RequestOptions] = None
- ) -> HttpResponse[typing.List[FederatedConnectionTokenSet]]:
- """
- List active federated connections tokensets for a provided user
-
- Parameters
- ----------
- id : str
- User identifier
-
- request_options : typing.Optional[RequestOptions]
- Request-specific configuration.
-
- Returns
- -------
- HttpResponse[typing.List[FederatedConnectionTokenSet]]
- Flows successfully retrieved.
- """
- _response = self._client_wrapper.httpx_client.request(
- f"users/{encode_path_param(id)}/federated-connections-tokensets",
- method="GET",
- request_options=request_options,
- )
- try:
- if 200 <= _response.status_code < 300:
- _data = typing.cast(
- typing.List[FederatedConnectionTokenSet],
- parse_obj_as(
- type_=typing.List[FederatedConnectionTokenSet], # type: ignore
- object_=_response.json(),
- ),
- )
- return HttpResponse(response=_response, data=_data)
- if _response.status_code == 401:
- raise UnauthorizedError(
- headers=dict(_response.headers),
- body=typing.cast(
- typing.Any,
- parse_obj_as(
- type_=typing.Any, # type: ignore
- object_=_response.json(),
- ),
- ),
- )
- if _response.status_code == 403:
- raise ForbiddenError(
- headers=dict(_response.headers),
- body=typing.cast(
- typing.Any,
- parse_obj_as(
- type_=typing.Any, # type: ignore
- object_=_response.json(),
- ),
- ),
- )
- if _response.status_code == 404:
- raise NotFoundError(
- headers=dict(_response.headers),
- body=typing.cast(
- typing.Any,
- parse_obj_as(
- type_=typing.Any, # type: ignore
- object_=_response.json(),
- ),
- ),
- )
- if _response.status_code == 429:
- raise TooManyRequestsError(
- headers=dict(_response.headers),
- body=typing.cast(
- typing.Any,
- parse_obj_as(
- type_=typing.Any, # type: ignore
- object_=_response.json(),
- ),
- ),
- )
- _response_json = _response.json()
- except JSONDecodeError:
- raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text)
- except ValidationError as e:
- raise ParsingError(
- status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e
- )
- raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json)
-
- def delete(
- self, id: str, tokenset_id: str, *, request_options: typing.Optional[RequestOptions] = None
- ) -> HttpResponse[None]:
- """
- Parameters
- ----------
- id : str
- Id of the user that owns the tokenset
-
- tokenset_id : str
- The tokenset id
-
- request_options : typing.Optional[RequestOptions]
- Request-specific configuration.
-
- Returns
- -------
- HttpResponse[None]
- """
- _response = self._client_wrapper.httpx_client.request(
- f"users/{encode_path_param(id)}/federated-connections-tokensets/{encode_path_param(tokenset_id)}",
- method="DELETE",
- request_options=request_options,
- )
- try:
- if 200 <= _response.status_code < 300:
- return HttpResponse(response=_response, data=None)
- if _response.status_code == 400:
- raise BadRequestError(
- headers=dict(_response.headers),
- body=typing.cast(
- typing.Any,
- parse_obj_as(
- type_=typing.Any, # type: ignore
- object_=_response.json(),
- ),
- ),
- )
- if _response.status_code == 401:
- raise UnauthorizedError(
- headers=dict(_response.headers),
- body=typing.cast(
- typing.Any,
- parse_obj_as(
- type_=typing.Any, # type: ignore
- object_=_response.json(),
- ),
- ),
- )
- if _response.status_code == 403:
- raise ForbiddenError(
- headers=dict(_response.headers),
- body=typing.cast(
- typing.Any,
- parse_obj_as(
- type_=typing.Any, # type: ignore
- object_=_response.json(),
- ),
- ),
- )
- if _response.status_code == 429:
- raise TooManyRequestsError(
- headers=dict(_response.headers),
- body=typing.cast(
- typing.Any,
- parse_obj_as(
- type_=typing.Any, # type: ignore
- object_=_response.json(),
- ),
- ),
- )
- _response_json = _response.json()
- except JSONDecodeError:
- raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text)
- except ValidationError as e:
- raise ParsingError(
- status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e
- )
- raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json)
-
-
-class AsyncRawFederatedConnectionsTokensetsClient:
- def __init__(self, *, client_wrapper: AsyncClientWrapper):
- self._client_wrapper = client_wrapper
-
- async def list(
- self, id: str, *, request_options: typing.Optional[RequestOptions] = None
- ) -> AsyncHttpResponse[typing.List[FederatedConnectionTokenSet]]:
- """
- List active federated connections tokensets for a provided user
-
- Parameters
- ----------
- id : str
- User identifier
-
- request_options : typing.Optional[RequestOptions]
- Request-specific configuration.
-
- Returns
- -------
- AsyncHttpResponse[typing.List[FederatedConnectionTokenSet]]
- Flows successfully retrieved.
- """
- _response = await self._client_wrapper.httpx_client.request(
- f"users/{encode_path_param(id)}/federated-connections-tokensets",
- method="GET",
- request_options=request_options,
- )
- try:
- if 200 <= _response.status_code < 300:
- _data = typing.cast(
- typing.List[FederatedConnectionTokenSet],
- parse_obj_as(
- type_=typing.List[FederatedConnectionTokenSet], # type: ignore
- object_=_response.json(),
- ),
- )
- return AsyncHttpResponse(response=_response, data=_data)
- if _response.status_code == 401:
- raise UnauthorizedError(
- headers=dict(_response.headers),
- body=typing.cast(
- typing.Any,
- parse_obj_as(
- type_=typing.Any, # type: ignore
- object_=_response.json(),
- ),
- ),
- )
- if _response.status_code == 403:
- raise ForbiddenError(
- headers=dict(_response.headers),
- body=typing.cast(
- typing.Any,
- parse_obj_as(
- type_=typing.Any, # type: ignore
- object_=_response.json(),
- ),
- ),
- )
- if _response.status_code == 404:
- raise NotFoundError(
- headers=dict(_response.headers),
- body=typing.cast(
- typing.Any,
- parse_obj_as(
- type_=typing.Any, # type: ignore
- object_=_response.json(),
- ),
- ),
- )
- if _response.status_code == 429:
- raise TooManyRequestsError(
- headers=dict(_response.headers),
- body=typing.cast(
- typing.Any,
- parse_obj_as(
- type_=typing.Any, # type: ignore
- object_=_response.json(),
- ),
- ),
- )
- _response_json = _response.json()
- except JSONDecodeError:
- raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text)
- except ValidationError as e:
- raise ParsingError(
- status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e
- )
- raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json)
-
- async def delete(
- self, id: str, tokenset_id: str, *, request_options: typing.Optional[RequestOptions] = None
- ) -> AsyncHttpResponse[None]:
- """
- Parameters
- ----------
- id : str
- Id of the user that owns the tokenset
-
- tokenset_id : str
- The tokenset id
-
- request_options : typing.Optional[RequestOptions]
- Request-specific configuration.
-
- Returns
- -------
- AsyncHttpResponse[None]
- """
- _response = await self._client_wrapper.httpx_client.request(
- f"users/{encode_path_param(id)}/federated-connections-tokensets/{encode_path_param(tokenset_id)}",
- method="DELETE",
- request_options=request_options,
- )
- try:
- if 200 <= _response.status_code < 300:
- return AsyncHttpResponse(response=_response, data=None)
- if _response.status_code == 400:
- raise BadRequestError(
- headers=dict(_response.headers),
- body=typing.cast(
- typing.Any,
- parse_obj_as(
- type_=typing.Any, # type: ignore
- object_=_response.json(),
- ),
- ),
- )
- if _response.status_code == 401:
- raise UnauthorizedError(
- headers=dict(_response.headers),
- body=typing.cast(
- typing.Any,
- parse_obj_as(
- type_=typing.Any, # type: ignore
- object_=_response.json(),
- ),
- ),
- )
- if _response.status_code == 403:
- raise ForbiddenError(
- headers=dict(_response.headers),
- body=typing.cast(
- typing.Any,
- parse_obj_as(
- type_=typing.Any, # type: ignore
- object_=_response.json(),
- ),
- ),
- )
- if _response.status_code == 429:
- raise TooManyRequestsError(
- headers=dict(_response.headers),
- body=typing.cast(
- typing.Any,
- parse_obj_as(
- type_=typing.Any, # type: ignore
- object_=_response.json(),
- ),
- ),
- )
- _response_json = _response.json()
- except JSONDecodeError:
- raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text)
- except ValidationError as e:
- raise ParsingError(
- status_code=_response.status_code, headers=dict(_response.headers), body=_response.json(), cause=e
- )
- raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json)
diff --git a/tests/wire/test_users_federatedConnectionsTokensets.py b/tests/wire/test_users_federatedConnectionsTokensets.py
deleted file mode 100644
index 56adbeec..00000000
--- a/tests/wire/test_users_federatedConnectionsTokensets.py
+++ /dev/null
@@ -1,22 +0,0 @@
-from .conftest import get_client, verify_request_count
-
-
-def test_users_federatedConnectionsTokensets_list_() -> None:
- """Test list endpoint with WireMock"""
- test_id = "users.federated_connections_tokensets.list_.0"
- client = get_client(test_id)
- client.users.federated_connections_tokensets.list(
- id="id",
- )
- verify_request_count(test_id, "GET", "/users/id/federated-connections-tokensets", None, 1)
-
-
-def test_users_federatedConnectionsTokensets_delete() -> None:
- """Test delete endpoint with WireMock"""
- test_id = "users.federated_connections_tokensets.delete.0"
- client = get_client(test_id)
- client.users.federated_connections_tokensets.delete(
- id="id",
- tokenset_id="tokenset_id",
- )
- verify_request_count(test_id, "DELETE", "/users/id/federated-connections-tokensets/tokenset_id", None, 1)
diff --git a/wiremock/wiremock-mappings.json b/wiremock/wiremock-mappings.json
index 5addb279..c9342b58 100644
--- a/wiremock/wiremock-mappings.json
+++ b/wiremock/wiremock-mappings.json
@@ -3406,7 +3406,7 @@
},
"response": {
"status": 200,
- "body": "{\n \"id\": \"id\",\n \"description\": \"description\",\n \"active\": true,\n \"priority\": 1.1,\n \"rule\": {\n \"action\": {\n \"block\": true,\n \"allow\": true,\n \"log\": true,\n \"redirect\": true,\n \"redirect_uri\": \"redirect_uri\"\n },\n \"match\": {\n \"asns\": [\n 1\n ],\n \"geo_country_codes\": [\n \"geo_country_codes\"\n ],\n \"geo_subdivision_codes\": [\n \"geo_subdivision_codes\"\n ],\n \"ipv4_cidrs\": [\n \"ipv4_cidrs\"\n ],\n \"ipv6_cidrs\": [\n \"ipv6_cidrs\"\n ],\n \"ja3_fingerprints\": [\n \"ja3_fingerprints\"\n ],\n \"ja4_fingerprints\": [\n \"ja4_fingerprints\"\n ],\n \"user_agents\": [\n \"user_agents\"\n ],\n \"hostnames\": [\n \"hostnames\"\n ],\n \"connecting_ipv4_cidrs\": [\n \"connecting_ipv4_cidrs\"\n ],\n \"connecting_ipv6_cidrs\": [\n \"connecting_ipv6_cidrs\"\n ]\n },\n \"not_match\": {\n \"asns\": [\n 1\n ],\n \"geo_country_codes\": [\n \"geo_country_codes\"\n ],\n \"geo_subdivision_codes\": [\n \"geo_subdivision_codes\"\n ],\n \"ipv4_cidrs\": [\n \"ipv4_cidrs\"\n ],\n \"ipv6_cidrs\": [\n \"ipv6_cidrs\"\n ],\n \"ja3_fingerprints\": [\n \"ja3_fingerprints\"\n ],\n \"ja4_fingerprints\": [\n \"ja4_fingerprints\"\n ],\n \"user_agents\": [\n \"user_agents\"\n ],\n \"hostnames\": [\n \"hostnames\"\n ],\n \"connecting_ipv4_cidrs\": [\n \"connecting_ipv4_cidrs\"\n ],\n \"connecting_ipv6_cidrs\": [\n \"connecting_ipv6_cidrs\"\n ]\n },\n \"scope\": \"management\"\n },\n \"created_at\": \"created_at\",\n \"updated_at\": \"updated_at\"\n}",
+ "body": "{\n \"id\": \"id\",\n \"description\": \"description\",\n \"active\": true,\n \"priority\": 1.1,\n \"rule\": {\n \"action\": {\n \"block\": true,\n \"allow\": true,\n \"log\": true,\n \"redirect\": true,\n \"redirect_uri\": \"redirect_uri\"\n },\n \"match\": {\n \"asns\": [\n 1\n ],\n \"auth0_managed\": [\n \"auth0_managed\"\n ],\n \"geo_country_codes\": [\n \"geo_country_codes\"\n ],\n \"geo_subdivision_codes\": [\n \"geo_subdivision_codes\"\n ],\n \"ipv4_cidrs\": [\n \"ipv4_cidrs\"\n ],\n \"ipv6_cidrs\": [\n \"ipv6_cidrs\"\n ],\n \"ja3_fingerprints\": [\n \"ja3_fingerprints\"\n ],\n \"ja4_fingerprints\": [\n \"ja4_fingerprints\"\n ],\n \"user_agents\": [\n \"user_agents\"\n ],\n \"hostnames\": [\n \"hostnames\"\n ],\n \"connecting_ipv4_cidrs\": [\n \"connecting_ipv4_cidrs\"\n ],\n \"connecting_ipv6_cidrs\": [\n \"connecting_ipv6_cidrs\"\n ]\n },\n \"not_match\": {\n \"asns\": [\n 1\n ],\n \"auth0_managed\": [\n \"auth0_managed\"\n ],\n \"geo_country_codes\": [\n \"geo_country_codes\"\n ],\n \"geo_subdivision_codes\": [\n \"geo_subdivision_codes\"\n ],\n \"ipv4_cidrs\": [\n \"ipv4_cidrs\"\n ],\n \"ipv6_cidrs\": [\n \"ipv6_cidrs\"\n ],\n \"ja3_fingerprints\": [\n \"ja3_fingerprints\"\n ],\n \"ja4_fingerprints\": [\n \"ja4_fingerprints\"\n ],\n \"user_agents\": [\n \"user_agents\"\n ],\n \"hostnames\": [\n \"hostnames\"\n ],\n \"connecting_ipv4_cidrs\": [\n \"connecting_ipv4_cidrs\"\n ],\n \"connecting_ipv6_cidrs\": [\n \"connecting_ipv6_cidrs\"\n ]\n },\n \"scope\": \"management\"\n },\n \"created_at\": \"created_at\",\n \"updated_at\": \"updated_at\"\n}",
"headers": {
"Content-Type": "application/json"
}
@@ -3442,7 +3442,7 @@
},
"response": {
"status": 200,
- "body": "{\n \"id\": \"id\",\n \"description\": \"description\",\n \"active\": true,\n \"priority\": 1.1,\n \"rule\": {\n \"action\": {\n \"block\": true,\n \"allow\": true,\n \"log\": true,\n \"redirect\": true,\n \"redirect_uri\": \"redirect_uri\"\n },\n \"match\": {\n \"asns\": [\n 1\n ],\n \"geo_country_codes\": [\n \"geo_country_codes\"\n ],\n \"geo_subdivision_codes\": [\n \"geo_subdivision_codes\"\n ],\n \"ipv4_cidrs\": [\n \"ipv4_cidrs\"\n ],\n \"ipv6_cidrs\": [\n \"ipv6_cidrs\"\n ],\n \"ja3_fingerprints\": [\n \"ja3_fingerprints\"\n ],\n \"ja4_fingerprints\": [\n \"ja4_fingerprints\"\n ],\n \"user_agents\": [\n \"user_agents\"\n ],\n \"hostnames\": [\n \"hostnames\"\n ],\n \"connecting_ipv4_cidrs\": [\n \"connecting_ipv4_cidrs\"\n ],\n \"connecting_ipv6_cidrs\": [\n \"connecting_ipv6_cidrs\"\n ]\n },\n \"not_match\": {\n \"asns\": [\n 1\n ],\n \"geo_country_codes\": [\n \"geo_country_codes\"\n ],\n \"geo_subdivision_codes\": [\n \"geo_subdivision_codes\"\n ],\n \"ipv4_cidrs\": [\n \"ipv4_cidrs\"\n ],\n \"ipv6_cidrs\": [\n \"ipv6_cidrs\"\n ],\n \"ja3_fingerprints\": [\n \"ja3_fingerprints\"\n ],\n \"ja4_fingerprints\": [\n \"ja4_fingerprints\"\n ],\n \"user_agents\": [\n \"user_agents\"\n ],\n \"hostnames\": [\n \"hostnames\"\n ],\n \"connecting_ipv4_cidrs\": [\n \"connecting_ipv4_cidrs\"\n ],\n \"connecting_ipv6_cidrs\": [\n \"connecting_ipv6_cidrs\"\n ]\n },\n \"scope\": \"management\"\n },\n \"created_at\": \"created_at\",\n \"updated_at\": \"updated_at\"\n}",
+ "body": "{\n \"id\": \"id\",\n \"description\": \"description\",\n \"active\": true,\n \"priority\": 1.1,\n \"rule\": {\n \"action\": {\n \"block\": true,\n \"allow\": true,\n \"log\": true,\n \"redirect\": true,\n \"redirect_uri\": \"redirect_uri\"\n },\n \"match\": {\n \"asns\": [\n 1\n ],\n \"auth0_managed\": [\n \"auth0_managed\"\n ],\n \"geo_country_codes\": [\n \"geo_country_codes\"\n ],\n \"geo_subdivision_codes\": [\n \"geo_subdivision_codes\"\n ],\n \"ipv4_cidrs\": [\n \"ipv4_cidrs\"\n ],\n \"ipv6_cidrs\": [\n \"ipv6_cidrs\"\n ],\n \"ja3_fingerprints\": [\n \"ja3_fingerprints\"\n ],\n \"ja4_fingerprints\": [\n \"ja4_fingerprints\"\n ],\n \"user_agents\": [\n \"user_agents\"\n ],\n \"hostnames\": [\n \"hostnames\"\n ],\n \"connecting_ipv4_cidrs\": [\n \"connecting_ipv4_cidrs\"\n ],\n \"connecting_ipv6_cidrs\": [\n \"connecting_ipv6_cidrs\"\n ]\n },\n \"not_match\": {\n \"asns\": [\n 1\n ],\n \"auth0_managed\": [\n \"auth0_managed\"\n ],\n \"geo_country_codes\": [\n \"geo_country_codes\"\n ],\n \"geo_subdivision_codes\": [\n \"geo_subdivision_codes\"\n ],\n \"ipv4_cidrs\": [\n \"ipv4_cidrs\"\n ],\n \"ipv6_cidrs\": [\n \"ipv6_cidrs\"\n ],\n \"ja3_fingerprints\": [\n \"ja3_fingerprints\"\n ],\n \"ja4_fingerprints\": [\n \"ja4_fingerprints\"\n ],\n \"user_agents\": [\n \"user_agents\"\n ],\n \"hostnames\": [\n \"hostnames\"\n ],\n \"connecting_ipv4_cidrs\": [\n \"connecting_ipv4_cidrs\"\n ],\n \"connecting_ipv6_cidrs\": [\n \"connecting_ipv6_cidrs\"\n ]\n },\n \"scope\": \"management\"\n },\n \"created_at\": \"created_at\",\n \"updated_at\": \"updated_at\"\n}",
"headers": {
"Content-Type": "application/json"
}
@@ -3514,7 +3514,7 @@
},
"response": {
"status": 200,
- "body": "{\n \"id\": \"id\",\n \"description\": \"description\",\n \"active\": true,\n \"priority\": 1.1,\n \"rule\": {\n \"action\": {\n \"block\": true,\n \"allow\": true,\n \"log\": true,\n \"redirect\": true,\n \"redirect_uri\": \"redirect_uri\"\n },\n \"match\": {\n \"asns\": [\n 1\n ],\n \"geo_country_codes\": [\n \"geo_country_codes\"\n ],\n \"geo_subdivision_codes\": [\n \"geo_subdivision_codes\"\n ],\n \"ipv4_cidrs\": [\n \"ipv4_cidrs\"\n ],\n \"ipv6_cidrs\": [\n \"ipv6_cidrs\"\n ],\n \"ja3_fingerprints\": [\n \"ja3_fingerprints\"\n ],\n \"ja4_fingerprints\": [\n \"ja4_fingerprints\"\n ],\n \"user_agents\": [\n \"user_agents\"\n ],\n \"hostnames\": [\n \"hostnames\"\n ],\n \"connecting_ipv4_cidrs\": [\n \"connecting_ipv4_cidrs\"\n ],\n \"connecting_ipv6_cidrs\": [\n \"connecting_ipv6_cidrs\"\n ]\n },\n \"not_match\": {\n \"asns\": [\n 1\n ],\n \"geo_country_codes\": [\n \"geo_country_codes\"\n ],\n \"geo_subdivision_codes\": [\n \"geo_subdivision_codes\"\n ],\n \"ipv4_cidrs\": [\n \"ipv4_cidrs\"\n ],\n \"ipv6_cidrs\": [\n \"ipv6_cidrs\"\n ],\n \"ja3_fingerprints\": [\n \"ja3_fingerprints\"\n ],\n \"ja4_fingerprints\": [\n \"ja4_fingerprints\"\n ],\n \"user_agents\": [\n \"user_agents\"\n ],\n \"hostnames\": [\n \"hostnames\"\n ],\n \"connecting_ipv4_cidrs\": [\n \"connecting_ipv4_cidrs\"\n ],\n \"connecting_ipv6_cidrs\": [\n \"connecting_ipv6_cidrs\"\n ]\n },\n \"scope\": \"management\"\n },\n \"created_at\": \"created_at\",\n \"updated_at\": \"updated_at\"\n}",
+ "body": "{\n \"id\": \"id\",\n \"description\": \"description\",\n \"active\": true,\n \"priority\": 1.1,\n \"rule\": {\n \"action\": {\n \"block\": true,\n \"allow\": true,\n \"log\": true,\n \"redirect\": true,\n \"redirect_uri\": \"redirect_uri\"\n },\n \"match\": {\n \"asns\": [\n 1\n ],\n \"auth0_managed\": [\n \"auth0_managed\"\n ],\n \"geo_country_codes\": [\n \"geo_country_codes\"\n ],\n \"geo_subdivision_codes\": [\n \"geo_subdivision_codes\"\n ],\n \"ipv4_cidrs\": [\n \"ipv4_cidrs\"\n ],\n \"ipv6_cidrs\": [\n \"ipv6_cidrs\"\n ],\n \"ja3_fingerprints\": [\n \"ja3_fingerprints\"\n ],\n \"ja4_fingerprints\": [\n \"ja4_fingerprints\"\n ],\n \"user_agents\": [\n \"user_agents\"\n ],\n \"hostnames\": [\n \"hostnames\"\n ],\n \"connecting_ipv4_cidrs\": [\n \"connecting_ipv4_cidrs\"\n ],\n \"connecting_ipv6_cidrs\": [\n \"connecting_ipv6_cidrs\"\n ]\n },\n \"not_match\": {\n \"asns\": [\n 1\n ],\n \"auth0_managed\": [\n \"auth0_managed\"\n ],\n \"geo_country_codes\": [\n \"geo_country_codes\"\n ],\n \"geo_subdivision_codes\": [\n \"geo_subdivision_codes\"\n ],\n \"ipv4_cidrs\": [\n \"ipv4_cidrs\"\n ],\n \"ipv6_cidrs\": [\n \"ipv6_cidrs\"\n ],\n \"ja3_fingerprints\": [\n \"ja3_fingerprints\"\n ],\n \"ja4_fingerprints\": [\n \"ja4_fingerprints\"\n ],\n \"user_agents\": [\n \"user_agents\"\n ],\n \"hostnames\": [\n \"hostnames\"\n ],\n \"connecting_ipv4_cidrs\": [\n \"connecting_ipv4_cidrs\"\n ],\n \"connecting_ipv6_cidrs\": [\n \"connecting_ipv6_cidrs\"\n ]\n },\n \"scope\": \"management\"\n },\n \"created_at\": \"created_at\",\n \"updated_at\": \"updated_at\"\n}",
"headers": {
"Content-Type": "application/json"
}
@@ -14978,81 +14978,6 @@
}
}
},
- {
- "id": "7df16d6a-51ec-415e-a605-f161474b5a60",
- "name": "Get tokensets for a user - default",
- "request": {
- "urlPathTemplate": "/users/{id}/federated-connections-tokensets",
- "method": "GET",
- "headers": {
- "Authorization": {
- "matches": "Bearer .+"
- }
- },
- "pathParameters": {
- "id": {
- "equalTo": "id"
- }
- }
- },
- "response": {
- "status": 200,
- "body": "[\n {\n \"id\": \"id\",\n \"connection\": \"connection\",\n \"scope\": \"scope\",\n \"expires_at\": \"2024-01-15T09:30:00Z\",\n \"issued_at\": \"2024-01-15T09:30:00Z\",\n \"last_used_at\": \"2024-01-15T09:30:00Z\"\n }\n]",
- "headers": {
- "Content-Type": "application/json"
- }
- },
- "uuid": "7df16d6a-51ec-415e-a605-f161474b5a60",
- "persistent": true,
- "priority": 3,
- "metadata": {
- "mocklab": {
- "created": {
- "at": "2020-01-01T00:00:00.000Z",
- "via": "SYSTEM"
- }
- }
- }
- },
- {
- "id": "2dd7f5e1-dfec-4564-8331-8dd9d7ecfa93",
- "name": "Deletes a tokenset for federated connections by id. - default",
- "request": {
- "urlPathTemplate": "/users/{id}/federated-connections-tokensets/{tokenset_id}",
- "method": "DELETE",
- "headers": {
- "Authorization": {
- "matches": "Bearer .+"
- }
- },
- "pathParameters": {
- "id": {
- "equalTo": "id"
- },
- "tokenset_id": {
- "equalTo": "tokenset_id"
- }
- }
- },
- "response": {
- "status": 200,
- "body": "\"\"",
- "headers": {
- "Content-Type": "application/json"
- }
- },
- "uuid": "2dd7f5e1-dfec-4564-8331-8dd9d7ecfa93",
- "persistent": true,
- "priority": 3,
- "metadata": {
- "mocklab": {
- "created": {
- "at": "2020-01-01T00:00:00.000Z",
- "via": "SYSTEM"
- }
- }
- }
- },
{
"id": "10f1d36a-08fb-4d1c-9ae0-7e3a75f996ee",
"name": "Get user's groups - default",
@@ -16065,6 +15990,6 @@
}
],
"meta": {
- "total": 430
+ "total": 428
}
}
\ No newline at end of file
From 604ca5a1120d6797a3513f5d3fbcbdf35c6f3719 Mon Sep 17 00:00:00 2001
From: "fern-api[bot]" <115122769+fern-api[bot]@users.noreply.github.com>
Date: Tue, 14 Jul 2026 15:57:23 +0000
Subject: [PATCH 2/4] [fern-replay] Applied customizations
Patches applied (2):
- patch-c04f0b4d: Fix for incorrect return type and missing __all__ type
- patch-95211006: Restore Auth0 telemetry and custom client wiring after regeneration
Patches with unresolved conflicts (2):
- patch-4894603d: chore: Restore custom wiring in management/__init__.py
- patch-7271f157: Revert wrapper file to preserve Auth0 telemetry customizations
Run `fern-replay resolve` to apply these customizations.
---
.fern/replay.lock | 140 ++++++++++++++------
src/auth0/management/__init__.py | 18 +++
src/auth0/management/core/client_wrapper.py | 14 +-
3 files changed, 132 insertions(+), 40 deletions(-)
diff --git a/.fern/replay.lock b/.fern/replay.lock
index 602c9497..8393174b 100644
--- a/.fern/replay.lock
+++ b/.fern/replay.lock
@@ -49,7 +49,13 @@ generations:
cli_version: unknown
generator_versions:
fernapi/fern-python-sdk: 5.17.0
-current_generation: 0ad7f7046e16c2c18e6c4b2c2f40e3f53b13f104
+ - commit_sha: f3e76ebf362aac6f76e51d749b7497af72a641ff
+ tree_hash: b6cd2c44dba6fee1b4f7f3a3b073868eb9843957
+ timestamp: 2026-07-14T15:57:13.040Z
+ cli_version: unknown
+ generator_versions:
+ fernapi/fern-python-sdk: 5.17.0
+current_generation: f3e76ebf362aac6f76e51d749b7497af72a641ff
patches:
- id: patch-4894603d
content_hash: sha256:fc35b55720e7e9e354dca29191c5832b7e242ad21ba635310c698ea2c3b70a00
@@ -8808,7 +8814,7 @@ patches:
"verifiable_credentials",
]
user_owned: true
- status: resolving
+ status: unresolved
- id: patch-7271f157
content_hash: sha256:cd98dd1948587cf3396a2eacf46626176784bd00996eb660374161bfef686e93
original_commit: 7271f15759cfb545c9ef82b5a4f519ffe0a89db2
@@ -8989,21 +8995,30 @@ patches:
token = await self._async_token()
headers["Authorization"] = f"Bearer {token}"
return headers
- status: resolving
+ status: unresolved
- id: patch-c04f0b4d
- content_hash: sha256:efc0d6e98f846a1ec39e2be0c62a4b1698fe7cbb862229d9ce16095051c8e230
+ content_hash: sha256:83d107f26dbfc31edb435b802c8aed47747628eddee83e0fb85a71ec8d11519c
original_commit: c04f0b4dbbe8f2300f4f1bf42f62350888a92da5
original_message: Fix for incorrect return type and missing __all__ type
original_author: Sourav Basu
- base_generation: 0ad7f7046e16c2c18e6c4b2c2f40e3f53b13f104
+ base_generation: f3e76ebf362aac6f76e51d749b7497af72a641ff
files:
- src/auth0/management/__init__.py
patch_content: |
diff --git a/src/auth0/management/__init__.py b/src/auth0/management/__init__.py
- index 1f42ca56..48bbce95 100644
+ index b2be29eb..ec3d7dfc 100644
--- a/src/auth0/management/__init__.py
+++ b/src/auth0/management/__init__.py
- @@ -3192,6 +3192,8 @@ if typing.TYPE_CHECKING:
+ @@ -1860,6 +1860,8 @@ if typing.TYPE_CHECKING:
+ FedCmLoginGoogle,
+ FedCmLoginGooglePatch,
+ FedCmLoginPatch,
+ + FedCmLoginGooglePatch,
+ + FedCmLoginPatch,
+ FlowAction,
+ FlowActionActivecampaign,
+ FlowActionActivecampaignListContacts,
+ @@ -3190,6 +3192,8 @@ if typing.TYPE_CHECKING:
from .environment import Auth0Environment
from .event_streams import EventStreamsCreateRequest
from .version import __version__
@@ -9012,7 +9027,7 @@ patches:
_dynamic_imports: typing.Dict[str, str] = {
"Action": ".types",
"ActionBase": ".types",
- @@ -3252,6 +3254,8 @@ _dynamic_imports: typing.Dict[str, str] = {
+ @@ -3250,6 +3254,8 @@ _dynamic_imports: typing.Dict[str, str] = {
"AssociateOrganizationClientGrantResponseContent": ".types",
"AsyncApprovalNotificationsChannelsEnum": ".types",
"AsyncAuth0": ".client",
@@ -9021,7 +9036,7 @@ patches:
"AttackProtectionCaptchaArkoseResponseContent": ".types",
"AttackProtectionCaptchaAuthChallengeRequest": ".types",
"AttackProtectionCaptchaAuthChallengeResponseContent": ".types",
- @@ -4224,6 +4228,7 @@ _dynamic_imports: typing.Dict[str, str] = {
+ @@ -4221,6 +4227,7 @@ _dynamic_imports: typing.Dict[str, str] = {
"CspReportingEndpoints": ".types",
"CspReportingInfrastructure": ".types",
"CustomDomain": ".types",
@@ -9029,7 +9044,16 @@ patches:
"CustomDomainCustomClientIpHeader": ".types",
"CustomDomainCustomClientIpHeaderEnum": ".types",
"CustomDomainProvisioningTypeEnum": ".types",
- @@ -5874,6 +5879,7 @@ _dynamic_imports: typing.Dict[str, str] = {
+ @@ -5053,6 +5060,8 @@ _dynamic_imports: typing.Dict[str, str] = {
+ "FedCmLoginGoogle": ".types",
+ "FedCmLoginGooglePatch": ".types",
+ "FedCmLoginPatch": ".types",
+ + "FedCmLoginGooglePatch": ".types",
+ + "FedCmLoginPatch": ".types",
+ "FlowAction": ".types",
+ "FlowActionActivecampaign": ".types",
+ "FlowActionActivecampaignListContacts": ".types",
+ @@ -5870,6 +5879,7 @@ _dynamic_imports: typing.Dict[str, str] = {
"LogStreamSumoEnum": ".types",
"LogStreamSumoResponseSchema": ".types",
"LogStreamSumoSink": ".types",
@@ -9037,7 +9061,7 @@ patches:
"MdlPresentationProperties": ".types",
"MdlPresentationRequest": ".types",
"MdlPresentationRequestProperties": ".types",
- @@ -6132,6 +6138,7 @@ _dynamic_imports: typing.Dict[str, str] = {
+ @@ -6128,6 +6138,7 @@ _dynamic_imports: typing.Dict[str, str] = {
"TestEventDataContent": ".types",
"TokenExchangeProfileResponseContent": ".types",
"TokenExchangeProfileTypeEnum": ".types",
@@ -9045,7 +9069,7 @@ patches:
"TokenQuota": ".types",
"TokenQuotaClientCredentials": ".types",
"TokenQuotaConfiguration": ".types",
- @@ -6459,6 +6466,8 @@ __all__ = [
+ @@ -6455,6 +6466,8 @@ __all__ = [
"AssociateOrganizationClientGrantResponseContent",
"AsyncApprovalNotificationsChannelsEnum",
"AsyncAuth0",
@@ -9054,7 +9078,7 @@ patches:
"AttackProtectionCaptchaArkoseResponseContent",
"AttackProtectionCaptchaAuthChallengeRequest",
"AttackProtectionCaptchaAuthChallengeResponseContent",
- @@ -7431,6 +7440,7 @@ __all__ = [
+ @@ -7426,6 +7439,7 @@ __all__ = [
"CspReportingEndpoints",
"CspReportingInfrastructure",
"CustomDomain",
@@ -9062,7 +9086,16 @@ patches:
"CustomDomainCustomClientIpHeader",
"CustomDomainCustomClientIpHeaderEnum",
"CustomDomainProvisioningTypeEnum",
- @@ -9081,6 +9091,7 @@ __all__ = [
+ @@ -8258,6 +8272,8 @@ __all__ = [
+ "FedCmLoginGoogle",
+ "FedCmLoginGooglePatch",
+ "FedCmLoginPatch",
+ + "FedCmLoginGooglePatch",
+ + "FedCmLoginPatch",
+ "FlowAction",
+ "FlowActionActivecampaign",
+ "FlowActionActivecampaignListContacts",
+ @@ -9075,6 +9091,7 @@ __all__ = [
"LogStreamSumoEnum",
"LogStreamSumoResponseSchema",
"LogStreamSumoSink",
@@ -9070,7 +9103,7 @@ patches:
"MdlPresentationProperties",
"MdlPresentationRequest",
"MdlPresentationRequestProperties",
- @@ -9339,6 +9350,7 @@ __all__ = [
+ @@ -9333,6 +9350,7 @@ __all__ = [
"TestEventDataContent",
"TokenExchangeProfileResponseContent",
"TokenExchangeProfileTypeEnum",
@@ -9448,7 +9481,6 @@ patches:
ConnectionExtIsSuspended,
ConnectionExtIsSuspendedGoogleApps,
ConnectionExtProfile,
- ConnectionFederatedConnectionsAccessTokens,
ConnectionFieldsMap,
ConnectionFieldsMapSaml,
ConnectionFieldsMapSamlValue,
@@ -10943,7 +10975,8 @@ patches:
FedCmLoginGoogle,
FedCmLoginGooglePatch,
FedCmLoginPatch,
- FederatedConnectionTokenSet,
+ FedCmLoginGooglePatch,
+ FedCmLoginPatch,
FlowAction,
FlowActionActivecampaign,
FlowActionActivecampaignListContacts,
@@ -12643,7 +12676,6 @@ patches:
"ConnectionExtIsSuspended": ".types",
"ConnectionExtIsSuspendedGoogleApps": ".types",
"ConnectionExtProfile": ".types",
- "ConnectionFederatedConnectionsAccessTokens": ".types",
"ConnectionFieldsMap": ".types",
"ConnectionFieldsMapSaml": ".types",
"ConnectionFieldsMapSamlValue": ".types",
@@ -14143,7 +14175,8 @@ patches:
"FedCmLoginGoogle": ".types",
"FedCmLoginGooglePatch": ".types",
"FedCmLoginPatch": ".types",
- "FederatedConnectionTokenSet": ".types",
+ "FedCmLoginGooglePatch": ".types",
+ "FedCmLoginPatch": ".types",
"FlowAction": ".types",
"FlowActionActivecampaign": ".types",
"FlowActionActivecampaignListContacts": ".types",
@@ -15855,7 +15888,6 @@ patches:
"ConnectionExtIsSuspended",
"ConnectionExtIsSuspendedGoogleApps",
"ConnectionExtProfile",
- "ConnectionFederatedConnectionsAccessTokens",
"ConnectionFieldsMap",
"ConnectionFieldsMapSaml",
"ConnectionFieldsMapSamlValue",
@@ -17355,7 +17387,8 @@ patches:
"FedCmLoginGoogle",
"FedCmLoginGooglePatch",
"FedCmLoginPatch",
- "FederatedConnectionTokenSet",
+ "FedCmLoginGooglePatch",
+ "FedCmLoginPatch",
"FlowAction",
"FlowActionActivecampaign",
"FlowActionActivecampaignListContacts",
@@ -18677,21 +18710,31 @@ patches:
"users",
"verifiable_credentials",
]
+ user_owned: true
- id: patch-95211006
- content_hash: sha256:bf02e0b67ed9dcfde6ffbf2880f2355bf31e840592fd6e914a1c4a99d6292614
+ content_hash: sha256:1be4415d1692a2bc1fc88fced25a9d80a56fc838787fd3c66b41cae244c29a7d
original_commit: 952110062af1b3eb297b3cb94149b1bb8068a253
original_message: Restore Auth0 telemetry and custom client wiring after regeneration
original_author: Kunal Dawar
- base_generation: 0ad7f7046e16c2c18e6c4b2c2f40e3f53b13f104
+ base_generation: f3e76ebf362aac6f76e51d749b7497af72a641ff
files:
- src/auth0/management/__init__.py
- src/auth0/management/core/client_wrapper.py
patch_content: |
diff --git a/src/auth0/management/__init__.py b/src/auth0/management/__init__.py
- index 1f42ca56..48bbce95 100644
+ index b2be29eb..ec3d7dfc 100644
--- a/src/auth0/management/__init__.py
+++ b/src/auth0/management/__init__.py
- @@ -3192,6 +3192,8 @@ if typing.TYPE_CHECKING:
+ @@ -1860,6 +1860,8 @@ if typing.TYPE_CHECKING:
+ FedCmLoginGoogle,
+ FedCmLoginGooglePatch,
+ FedCmLoginPatch,
+ + FedCmLoginGooglePatch,
+ + FedCmLoginPatch,
+ FlowAction,
+ FlowActionActivecampaign,
+ FlowActionActivecampaignListContacts,
+ @@ -3190,6 +3192,8 @@ if typing.TYPE_CHECKING:
from .environment import Auth0Environment
from .event_streams import EventStreamsCreateRequest
from .version import __version__
@@ -18700,7 +18743,7 @@ patches:
_dynamic_imports: typing.Dict[str, str] = {
"Action": ".types",
"ActionBase": ".types",
- @@ -3252,6 +3254,8 @@ _dynamic_imports: typing.Dict[str, str] = {
+ @@ -3250,6 +3254,8 @@ _dynamic_imports: typing.Dict[str, str] = {
"AssociateOrganizationClientGrantResponseContent": ".types",
"AsyncApprovalNotificationsChannelsEnum": ".types",
"AsyncAuth0": ".client",
@@ -18709,7 +18752,7 @@ patches:
"AttackProtectionCaptchaArkoseResponseContent": ".types",
"AttackProtectionCaptchaAuthChallengeRequest": ".types",
"AttackProtectionCaptchaAuthChallengeResponseContent": ".types",
- @@ -4224,6 +4228,7 @@ _dynamic_imports: typing.Dict[str, str] = {
+ @@ -4221,6 +4227,7 @@ _dynamic_imports: typing.Dict[str, str] = {
"CspReportingEndpoints": ".types",
"CspReportingInfrastructure": ".types",
"CustomDomain": ".types",
@@ -18717,7 +18760,16 @@ patches:
"CustomDomainCustomClientIpHeader": ".types",
"CustomDomainCustomClientIpHeaderEnum": ".types",
"CustomDomainProvisioningTypeEnum": ".types",
- @@ -5874,6 +5879,7 @@ _dynamic_imports: typing.Dict[str, str] = {
+ @@ -5053,6 +5060,8 @@ _dynamic_imports: typing.Dict[str, str] = {
+ "FedCmLoginGoogle": ".types",
+ "FedCmLoginGooglePatch": ".types",
+ "FedCmLoginPatch": ".types",
+ + "FedCmLoginGooglePatch": ".types",
+ + "FedCmLoginPatch": ".types",
+ "FlowAction": ".types",
+ "FlowActionActivecampaign": ".types",
+ "FlowActionActivecampaignListContacts": ".types",
+ @@ -5870,6 +5879,7 @@ _dynamic_imports: typing.Dict[str, str] = {
"LogStreamSumoEnum": ".types",
"LogStreamSumoResponseSchema": ".types",
"LogStreamSumoSink": ".types",
@@ -18725,7 +18777,7 @@ patches:
"MdlPresentationProperties": ".types",
"MdlPresentationRequest": ".types",
"MdlPresentationRequestProperties": ".types",
- @@ -6132,6 +6138,7 @@ _dynamic_imports: typing.Dict[str, str] = {
+ @@ -6128,6 +6138,7 @@ _dynamic_imports: typing.Dict[str, str] = {
"TestEventDataContent": ".types",
"TokenExchangeProfileResponseContent": ".types",
"TokenExchangeProfileTypeEnum": ".types",
@@ -18733,7 +18785,7 @@ patches:
"TokenQuota": ".types",
"TokenQuotaClientCredentials": ".types",
"TokenQuotaConfiguration": ".types",
- @@ -6459,6 +6466,8 @@ __all__ = [
+ @@ -6455,6 +6466,8 @@ __all__ = [
"AssociateOrganizationClientGrantResponseContent",
"AsyncApprovalNotificationsChannelsEnum",
"AsyncAuth0",
@@ -18742,7 +18794,7 @@ patches:
"AttackProtectionCaptchaArkoseResponseContent",
"AttackProtectionCaptchaAuthChallengeRequest",
"AttackProtectionCaptchaAuthChallengeResponseContent",
- @@ -7431,6 +7440,7 @@ __all__ = [
+ @@ -7426,6 +7439,7 @@ __all__ = [
"CspReportingEndpoints",
"CspReportingInfrastructure",
"CustomDomain",
@@ -18750,7 +18802,16 @@ patches:
"CustomDomainCustomClientIpHeader",
"CustomDomainCustomClientIpHeaderEnum",
"CustomDomainProvisioningTypeEnum",
- @@ -9081,6 +9091,7 @@ __all__ = [
+ @@ -8258,6 +8272,8 @@ __all__ = [
+ "FedCmLoginGoogle",
+ "FedCmLoginGooglePatch",
+ "FedCmLoginPatch",
+ + "FedCmLoginGooglePatch",
+ + "FedCmLoginPatch",
+ "FlowAction",
+ "FlowActionActivecampaign",
+ "FlowActionActivecampaignListContacts",
+ @@ -9075,6 +9091,7 @@ __all__ = [
"LogStreamSumoEnum",
"LogStreamSumoResponseSchema",
"LogStreamSumoSink",
@@ -18758,7 +18819,7 @@ patches:
"MdlPresentationProperties",
"MdlPresentationRequest",
"MdlPresentationRequestProperties",
- @@ -9339,6 +9350,7 @@ __all__ = [
+ @@ -9333,6 +9350,7 @@ __all__ = [
"TestEventDataContent",
"TokenExchangeProfileResponseContent",
"TokenExchangeProfileTypeEnum",
@@ -19168,7 +19229,6 @@ patches:
ConnectionExtIsSuspended,
ConnectionExtIsSuspendedGoogleApps,
ConnectionExtProfile,
- ConnectionFederatedConnectionsAccessTokens,
ConnectionFieldsMap,
ConnectionFieldsMapSaml,
ConnectionFieldsMapSamlValue,
@@ -20663,7 +20723,8 @@ patches:
FedCmLoginGoogle,
FedCmLoginGooglePatch,
FedCmLoginPatch,
- FederatedConnectionTokenSet,
+ FedCmLoginGooglePatch,
+ FedCmLoginPatch,
FlowAction,
FlowActionActivecampaign,
FlowActionActivecampaignListContacts,
@@ -22363,7 +22424,6 @@ patches:
"ConnectionExtIsSuspended": ".types",
"ConnectionExtIsSuspendedGoogleApps": ".types",
"ConnectionExtProfile": ".types",
- "ConnectionFederatedConnectionsAccessTokens": ".types",
"ConnectionFieldsMap": ".types",
"ConnectionFieldsMapSaml": ".types",
"ConnectionFieldsMapSamlValue": ".types",
@@ -23863,7 +23923,8 @@ patches:
"FedCmLoginGoogle": ".types",
"FedCmLoginGooglePatch": ".types",
"FedCmLoginPatch": ".types",
- "FederatedConnectionTokenSet": ".types",
+ "FedCmLoginGooglePatch": ".types",
+ "FedCmLoginPatch": ".types",
"FlowAction": ".types",
"FlowActionActivecampaign": ".types",
"FlowActionActivecampaignListContacts": ".types",
@@ -25575,7 +25636,6 @@ patches:
"ConnectionExtIsSuspended",
"ConnectionExtIsSuspendedGoogleApps",
"ConnectionExtProfile",
- "ConnectionFederatedConnectionsAccessTokens",
"ConnectionFieldsMap",
"ConnectionFieldsMapSaml",
"ConnectionFieldsMapSamlValue",
@@ -27075,7 +27135,8 @@ patches:
"FedCmLoginGoogle",
"FedCmLoginGooglePatch",
"FedCmLoginPatch",
- "FederatedConnectionTokenSet",
+ "FedCmLoginGooglePatch",
+ "FedCmLoginPatch",
"FlowAction",
"FlowActionActivecampaign",
"FlowActionActivecampaignListContacts",
@@ -28557,3 +28618,4 @@ patches:
token = await self._async_token()
headers["Authorization"] = f"Bearer {token}"
return headers
+ user_owned: true
diff --git a/src/auth0/management/__init__.py b/src/auth0/management/__init__.py
index b2be29eb..ec3d7dfc 100644
--- a/src/auth0/management/__init__.py
+++ b/src/auth0/management/__init__.py
@@ -1860,6 +1860,8 @@
FedCmLoginGoogle,
FedCmLoginGooglePatch,
FedCmLoginPatch,
+ FedCmLoginGooglePatch,
+ FedCmLoginPatch,
FlowAction,
FlowActionActivecampaign,
FlowActionActivecampaignListContacts,
@@ -3190,6 +3192,8 @@
from .environment import Auth0Environment
from .event_streams import EventStreamsCreateRequest
from .version import __version__
+ from .management_client import AsyncManagementClient, CustomDomainHeader, ManagementClient
+ from .token_provider import AsyncTokenProvider, TokenProvider
_dynamic_imports: typing.Dict[str, str] = {
"Action": ".types",
"ActionBase": ".types",
@@ -3250,6 +3254,8 @@
"AssociateOrganizationClientGrantResponseContent": ".types",
"AsyncApprovalNotificationsChannelsEnum": ".types",
"AsyncAuth0": ".client",
+ "AsyncManagementClient": ".management_client",
+ "AsyncTokenProvider": ".token_provider",
"AttackProtectionCaptchaArkoseResponseContent": ".types",
"AttackProtectionCaptchaAuthChallengeRequest": ".types",
"AttackProtectionCaptchaAuthChallengeResponseContent": ".types",
@@ -4221,6 +4227,7 @@
"CspReportingEndpoints": ".types",
"CspReportingInfrastructure": ".types",
"CustomDomain": ".types",
+ "CustomDomainHeader": ".management_client",
"CustomDomainCustomClientIpHeader": ".types",
"CustomDomainCustomClientIpHeaderEnum": ".types",
"CustomDomainProvisioningTypeEnum": ".types",
@@ -5053,6 +5060,8 @@
"FedCmLoginGoogle": ".types",
"FedCmLoginGooglePatch": ".types",
"FedCmLoginPatch": ".types",
+ "FedCmLoginGooglePatch": ".types",
+ "FedCmLoginPatch": ".types",
"FlowAction": ".types",
"FlowActionActivecampaign": ".types",
"FlowActionActivecampaignListContacts": ".types",
@@ -5870,6 +5879,7 @@
"LogStreamSumoEnum": ".types",
"LogStreamSumoResponseSchema": ".types",
"LogStreamSumoSink": ".types",
+ "ManagementClient": ".management_client",
"MdlPresentationProperties": ".types",
"MdlPresentationRequest": ".types",
"MdlPresentationRequestProperties": ".types",
@@ -6128,6 +6138,7 @@
"TestEventDataContent": ".types",
"TokenExchangeProfileResponseContent": ".types",
"TokenExchangeProfileTypeEnum": ".types",
+ "TokenProvider": ".token_provider",
"TokenQuota": ".types",
"TokenQuotaClientCredentials": ".types",
"TokenQuotaConfiguration": ".types",
@@ -6455,6 +6466,8 @@ def __dir__():
"AssociateOrganizationClientGrantResponseContent",
"AsyncApprovalNotificationsChannelsEnum",
"AsyncAuth0",
+ "AsyncManagementClient",
+ "AsyncTokenProvider",
"AttackProtectionCaptchaArkoseResponseContent",
"AttackProtectionCaptchaAuthChallengeRequest",
"AttackProtectionCaptchaAuthChallengeResponseContent",
@@ -7426,6 +7439,7 @@ def __dir__():
"CspReportingEndpoints",
"CspReportingInfrastructure",
"CustomDomain",
+ "CustomDomainHeader",
"CustomDomainCustomClientIpHeader",
"CustomDomainCustomClientIpHeaderEnum",
"CustomDomainProvisioningTypeEnum",
@@ -8258,6 +8272,8 @@ def __dir__():
"FedCmLoginGoogle",
"FedCmLoginGooglePatch",
"FedCmLoginPatch",
+ "FedCmLoginGooglePatch",
+ "FedCmLoginPatch",
"FlowAction",
"FlowActionActivecampaign",
"FlowActionActivecampaignListContacts",
@@ -9075,6 +9091,7 @@ def __dir__():
"LogStreamSumoEnum",
"LogStreamSumoResponseSchema",
"LogStreamSumoSink",
+ "ManagementClient",
"MdlPresentationProperties",
"MdlPresentationRequest",
"MdlPresentationRequestProperties",
@@ -9333,6 +9350,7 @@ def __dir__():
"TestEventDataContent",
"TokenExchangeProfileResponseContent",
"TokenExchangeProfileTypeEnum",
+ "TokenProvider",
"TokenQuota",
"TokenQuotaClientCredentials",
"TokenQuotaConfiguration",
diff --git a/src/auth0/management/core/client_wrapper.py b/src/auth0/management/core/client_wrapper.py
index 63874659..b4560ca3 100644
--- a/src/auth0/management/core/client_wrapper.py
+++ b/src/auth0/management/core/client_wrapper.py
@@ -1,6 +1,11 @@
# This file was auto-generated by Fern from our API Definition.
+# Modified by Auth0 to use Auth0 telemetry format with dynamic versioning
+import base64
+import platform
+import sys
import typing
+from json import dumps
import httpx
from .http_client import AsyncHttpClient, HttpClient
@@ -30,7 +35,14 @@ def __init__(
self._logging = logging
def get_headers(self) -> typing.Dict[str, str]:
- import platform
+ py_version = platform.python_version()
+ version = sys.modules["auth0"].__version__
+
+ auth0_client = dumps({
+ "name": "auth0-python",
+ "version": version,
+ "env": {"python": py_version}
+ }).encode("utf-8")
headers: typing.Dict[str, str] = {
"User-Agent": "auth0-python/5.8.0",
From 0670bdda8649346bbb00f04bffe0a3a7637a3304 Mon Sep 17 00:00:00 2001
From: Kunal Dawar
Date: Tue, 14 Jul 2026 21:30:32 +0530
Subject: [PATCH 3/4] [fern-replay] Resolved conflicts
Patches replayed:
- patch-4894603d: chore: Restore custom wiring in management/__init__.py
- patch-7271f157: Revert wrapper file to preserve Auth0 telemetry customizations
- patch-c04f0b4d: Fix for incorrect return type and missing __all__ type
- patch-95211006: Restore Auth0 telemetry and custom client wiring after regeneration
---
.fern/replay.lock | 4 ++--
src/auth0/management/__init__.py | 6 ++++++
src/auth0/management/core/client_wrapper.py | 8 ++------
3 files changed, 10 insertions(+), 8 deletions(-)
diff --git a/.fern/replay.lock b/.fern/replay.lock
index 8393174b..e1dba736 100644
--- a/.fern/replay.lock
+++ b/.fern/replay.lock
@@ -8814,7 +8814,7 @@ patches:
"verifiable_credentials",
]
user_owned: true
- status: unresolved
+ status: resolving
- id: patch-7271f157
content_hash: sha256:cd98dd1948587cf3396a2eacf46626176784bd00996eb660374161bfef686e93
original_commit: 7271f15759cfb545c9ef82b5a4f519ffe0a89db2
@@ -8995,7 +8995,7 @@ patches:
token = await self._async_token()
headers["Authorization"] = f"Bearer {token}"
return headers
- status: unresolved
+ status: resolving
- id: patch-c04f0b4d
content_hash: sha256:83d107f26dbfc31edb435b802c8aed47747628eddee83e0fb85a71ec8d11519c
original_commit: c04f0b4dbbe8f2300f4f1bf42f62350888a92da5
diff --git a/src/auth0/management/__init__.py b/src/auth0/management/__init__.py
index ec3d7dfc..549c819e 100644
--- a/src/auth0/management/__init__.py
+++ b/src/auth0/management/__init__.py
@@ -1862,6 +1862,8 @@
FedCmLoginPatch,
FedCmLoginGooglePatch,
FedCmLoginPatch,
+ FedCmLoginGooglePatch,
+ FedCmLoginPatch,
FlowAction,
FlowActionActivecampaign,
FlowActionActivecampaignListContacts,
@@ -5062,6 +5064,8 @@
"FedCmLoginPatch": ".types",
"FedCmLoginGooglePatch": ".types",
"FedCmLoginPatch": ".types",
+ "FedCmLoginGooglePatch": ".types",
+ "FedCmLoginPatch": ".types",
"FlowAction": ".types",
"FlowActionActivecampaign": ".types",
"FlowActionActivecampaignListContacts": ".types",
@@ -8274,6 +8278,8 @@ def __dir__():
"FedCmLoginPatch",
"FedCmLoginGooglePatch",
"FedCmLoginPatch",
+ "FedCmLoginGooglePatch",
+ "FedCmLoginPatch",
"FlowAction",
"FlowActionActivecampaign",
"FlowActionActivecampaignListContacts",
diff --git a/src/auth0/management/core/client_wrapper.py b/src/auth0/management/core/client_wrapper.py
index b4560ca3..fd991f52 100644
--- a/src/auth0/management/core/client_wrapper.py
+++ b/src/auth0/management/core/client_wrapper.py
@@ -45,12 +45,8 @@ def get_headers(self) -> typing.Dict[str, str]:
}).encode("utf-8")
headers: typing.Dict[str, str] = {
- "User-Agent": "auth0-python/5.8.0",
- "X-Fern-Language": "Python",
- "X-Fern-Runtime": f"python/{platform.python_version()}",
- "X-Fern-Platform": f"{platform.system().lower()}/{platform.release()}",
- "X-Fern-SDK-Name": "auth0-python",
- "X-Fern-SDK-Version": "5.8.0",
+ "User-Agent": f"Python/{py_version}",
+ "Auth0-Client": base64.b64encode(auth0_client).decode(),
**(self.get_custom_headers() or {}),
}
headers["Authorization"] = f"Bearer {self._get_token()}"
From f7384913ab0a14df83dbc602d2b694e2cb7b7668 Mon Sep 17 00:00:00 2001
From: Kunal Dawar
Date: Tue, 14 Jul 2026 21:36:07 +0530
Subject: [PATCH 4/4] Remove duplicate FedCmLoginGooglePatch and
FedCmLoginPatch entries
---
src/auth0/management/__init__.py | 12 ------------
1 file changed, 12 deletions(-)
diff --git a/src/auth0/management/__init__.py b/src/auth0/management/__init__.py
index 549c819e..625c683e 100644
--- a/src/auth0/management/__init__.py
+++ b/src/auth0/management/__init__.py
@@ -1860,10 +1860,6 @@
FedCmLoginGoogle,
FedCmLoginGooglePatch,
FedCmLoginPatch,
- FedCmLoginGooglePatch,
- FedCmLoginPatch,
- FedCmLoginGooglePatch,
- FedCmLoginPatch,
FlowAction,
FlowActionActivecampaign,
FlowActionActivecampaignListContacts,
@@ -5062,10 +5058,6 @@
"FedCmLoginGoogle": ".types",
"FedCmLoginGooglePatch": ".types",
"FedCmLoginPatch": ".types",
- "FedCmLoginGooglePatch": ".types",
- "FedCmLoginPatch": ".types",
- "FedCmLoginGooglePatch": ".types",
- "FedCmLoginPatch": ".types",
"FlowAction": ".types",
"FlowActionActivecampaign": ".types",
"FlowActionActivecampaignListContacts": ".types",
@@ -8276,10 +8268,6 @@ def __dir__():
"FedCmLoginGoogle",
"FedCmLoginGooglePatch",
"FedCmLoginPatch",
- "FedCmLoginGooglePatch",
- "FedCmLoginPatch",
- "FedCmLoginGooglePatch",
- "FedCmLoginPatch",
"FlowAction",
"FlowActionActivecampaign",
"FlowActionActivecampaignListContacts",