Skip to content

Commit 3c0a854

Browse files
[fern-generated] Update SDK
Generated by Fern CLI Version: unknown Generators: - fernapi/fern-python-sdk: 5.17.0
1 parent 232583d commit 3c0a854

21 files changed

Lines changed: 15 additions & 930 deletions

reference.md

Lines changed: 0 additions & 142 deletions
Original file line numberDiff line numberDiff line change
@@ -37575,148 +37575,6 @@ client.users.enrollments.get(
3757537575
</dl>
3757637576

3757737577

37578-
</dd>
37579-
</dl>
37580-
</details>
37581-
37582-
## Users FederatedConnectionsTokensets
37583-
<details><summary><code>client.users.federated_connections_tokensets.<a href="src/auth0.management/users/federated_connections_tokensets/client.py">list</a>(...) -> typing.List[FederatedConnectionTokenSet]</code></summary>
37584-
<dl>
37585-
<dd>
37586-
37587-
#### 📝 Description
37588-
37589-
<dl>
37590-
<dd>
37591-
37592-
<dl>
37593-
<dd>
37594-
37595-
List active federated connections tokensets for a provided user
37596-
</dd>
37597-
</dl>
37598-
</dd>
37599-
</dl>
37600-
37601-
#### 🔌 Usage
37602-
37603-
<dl>
37604-
<dd>
37605-
37606-
<dl>
37607-
<dd>
37608-
37609-
```python
37610-
from auth0.management import Auth0
37611-
from auth0.management.environment import Auth0Environment
37612-
37613-
client = Auth0(
37614-
token="<token>",
37615-
environment=Auth0Environment.DEFAULT,
37616-
)
37617-
37618-
client.users.federated_connections_tokensets.list(
37619-
id="id",
37620-
)
37621-
37622-
```
37623-
</dd>
37624-
</dl>
37625-
</dd>
37626-
</dl>
37627-
37628-
#### ⚙️ Parameters
37629-
37630-
<dl>
37631-
<dd>
37632-
37633-
<dl>
37634-
<dd>
37635-
37636-
**id:** `str` — User identifier
37637-
37638-
</dd>
37639-
</dl>
37640-
37641-
<dl>
37642-
<dd>
37643-
37644-
**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
37645-
37646-
</dd>
37647-
</dl>
37648-
</dd>
37649-
</dl>
37650-
37651-
37652-
</dd>
37653-
</dl>
37654-
</details>
37655-
37656-
<details><summary><code>client.users.federated_connections_tokensets.<a href="src/auth0.management/users/federated_connections_tokensets/client.py">delete</a>(...)</code></summary>
37657-
<dl>
37658-
<dd>
37659-
37660-
#### 🔌 Usage
37661-
37662-
<dl>
37663-
<dd>
37664-
37665-
<dl>
37666-
<dd>
37667-
37668-
```python
37669-
from auth0.management import Auth0
37670-
from auth0.management.environment import Auth0Environment
37671-
37672-
client = Auth0(
37673-
token="<token>",
37674-
environment=Auth0Environment.DEFAULT,
37675-
)
37676-
37677-
client.users.federated_connections_tokensets.delete(
37678-
id="id",
37679-
tokenset_id="tokenset_id",
37680-
)
37681-
37682-
```
37683-
</dd>
37684-
</dl>
37685-
</dd>
37686-
</dl>
37687-
37688-
#### ⚙️ Parameters
37689-
37690-
<dl>
37691-
<dd>
37692-
37693-
<dl>
37694-
<dd>
37695-
37696-
**id:** `str` — Id of the user that owns the tokenset
37697-
37698-
</dd>
37699-
</dl>
37700-
37701-
<dl>
37702-
<dd>
37703-
37704-
**tokenset_id:** `str` — The tokenset id
37705-
37706-
</dd>
37707-
</dl>
37708-
37709-
<dl>
37710-
<dd>
37711-
37712-
**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
37713-
37714-
</dd>
37715-
</dl>
37716-
</dd>
37717-
</dl>
37718-
37719-
3772037578
</dd>
3772137579
</dl>
3772237580
</details>

src/auth0/management/__init__.py

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,6 @@
366366
ConnectionExtIsSuspended,
367367
ConnectionExtIsSuspendedGoogleApps,
368368
ConnectionExtProfile,
369-
ConnectionFederatedConnectionsAccessTokens,
370369
ConnectionFieldsMap,
371370
ConnectionFieldsMapSaml,
372371
ConnectionFieldsMapSamlValue,
@@ -1861,7 +1860,6 @@
18611860
FedCmLoginGoogle,
18621861
FedCmLoginGooglePatch,
18631862
FedCmLoginPatch,
1864-
FederatedConnectionTokenSet,
18651863
FlowAction,
18661864
FlowActionActivecampaign,
18671865
FlowActionActivecampaignListContacts,
@@ -3192,8 +3190,6 @@
31923190
from .environment import Auth0Environment
31933191
from .event_streams import EventStreamsCreateRequest
31943192
from .version import __version__
3195-
from .management_client import AsyncManagementClient, CustomDomainHeader, ManagementClient
3196-
from .token_provider import AsyncTokenProvider, TokenProvider
31973193
_dynamic_imports: typing.Dict[str, str] = {
31983194
"Action": ".types",
31993195
"ActionBase": ".types",
@@ -3254,8 +3250,6 @@
32543250
"AssociateOrganizationClientGrantResponseContent": ".types",
32553251
"AsyncApprovalNotificationsChannelsEnum": ".types",
32563252
"AsyncAuth0": ".client",
3257-
"AsyncManagementClient": ".management_client",
3258-
"AsyncTokenProvider": ".token_provider",
32593253
"AttackProtectionCaptchaArkoseResponseContent": ".types",
32603254
"AttackProtectionCaptchaAuthChallengeRequest": ".types",
32613255
"AttackProtectionCaptchaAuthChallengeResponseContent": ".types",
@@ -3561,7 +3555,6 @@
35613555
"ConnectionExtIsSuspended": ".types",
35623556
"ConnectionExtIsSuspendedGoogleApps": ".types",
35633557
"ConnectionExtProfile": ".types",
3564-
"ConnectionFederatedConnectionsAccessTokens": ".types",
35653558
"ConnectionFieldsMap": ".types",
35663559
"ConnectionFieldsMapSaml": ".types",
35673560
"ConnectionFieldsMapSamlValue": ".types",
@@ -4228,7 +4221,6 @@
42284221
"CspReportingEndpoints": ".types",
42294222
"CspReportingInfrastructure": ".types",
42304223
"CustomDomain": ".types",
4231-
"CustomDomainHeader": ".management_client",
42324224
"CustomDomainCustomClientIpHeader": ".types",
42334225
"CustomDomainCustomClientIpHeaderEnum": ".types",
42344226
"CustomDomainProvisioningTypeEnum": ".types",
@@ -5061,7 +5053,6 @@
50615053
"FedCmLoginGoogle": ".types",
50625054
"FedCmLoginGooglePatch": ".types",
50635055
"FedCmLoginPatch": ".types",
5064-
"FederatedConnectionTokenSet": ".types",
50655056
"FlowAction": ".types",
50665057
"FlowActionActivecampaign": ".types",
50675058
"FlowActionActivecampaignListContacts": ".types",
@@ -5879,7 +5870,6 @@
58795870
"LogStreamSumoEnum": ".types",
58805871
"LogStreamSumoResponseSchema": ".types",
58815872
"LogStreamSumoSink": ".types",
5882-
"ManagementClient": ".management_client",
58835873
"MdlPresentationProperties": ".types",
58845874
"MdlPresentationRequest": ".types",
58855875
"MdlPresentationRequestProperties": ".types",
@@ -6138,7 +6128,6 @@
61386128
"TestEventDataContent": ".types",
61396129
"TokenExchangeProfileResponseContent": ".types",
61406130
"TokenExchangeProfileTypeEnum": ".types",
6141-
"TokenProvider": ".token_provider",
61426131
"TokenQuota": ".types",
61436132
"TokenQuotaClientCredentials": ".types",
61446133
"TokenQuotaConfiguration": ".types",
@@ -6466,8 +6455,6 @@ def __dir__():
64666455
"AssociateOrganizationClientGrantResponseContent",
64676456
"AsyncApprovalNotificationsChannelsEnum",
64686457
"AsyncAuth0",
6469-
"AsyncManagementClient",
6470-
"AsyncTokenProvider",
64716458
"AttackProtectionCaptchaArkoseResponseContent",
64726459
"AttackProtectionCaptchaAuthChallengeRequest",
64736460
"AttackProtectionCaptchaAuthChallengeResponseContent",
@@ -6773,7 +6760,6 @@ def __dir__():
67736760
"ConnectionExtIsSuspended",
67746761
"ConnectionExtIsSuspendedGoogleApps",
67756762
"ConnectionExtProfile",
6776-
"ConnectionFederatedConnectionsAccessTokens",
67776763
"ConnectionFieldsMap",
67786764
"ConnectionFieldsMapSaml",
67796765
"ConnectionFieldsMapSamlValue",
@@ -7440,7 +7426,6 @@ def __dir__():
74407426
"CspReportingEndpoints",
74417427
"CspReportingInfrastructure",
74427428
"CustomDomain",
7443-
"CustomDomainHeader",
74447429
"CustomDomainCustomClientIpHeader",
74457430
"CustomDomainCustomClientIpHeaderEnum",
74467431
"CustomDomainProvisioningTypeEnum",
@@ -8273,7 +8258,6 @@ def __dir__():
82738258
"FedCmLoginGoogle",
82748259
"FedCmLoginGooglePatch",
82758260
"FedCmLoginPatch",
8276-
"FederatedConnectionTokenSet",
82778261
"FlowAction",
82788262
"FlowActionActivecampaign",
82798263
"FlowActionActivecampaignListContacts",
@@ -9091,7 +9075,6 @@ def __dir__():
90919075
"LogStreamSumoEnum",
90929076
"LogStreamSumoResponseSchema",
90939077
"LogStreamSumoSink",
9094-
"ManagementClient",
90959078
"MdlPresentationProperties",
90969079
"MdlPresentationRequest",
90979080
"MdlPresentationRequestProperties",
@@ -9350,7 +9333,6 @@ def __dir__():
93509333
"TestEventDataContent",
93519334
"TokenExchangeProfileResponseContent",
93529335
"TokenExchangeProfileTypeEnum",
9353-
"TokenProvider",
93549336
"TokenQuota",
93559337
"TokenQuotaClientCredentials",
93569338
"TokenQuotaConfiguration",

src/auth0/management/core/client_wrapper.py

Lines changed: 7 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
11
# This file was auto-generated by Fern from our API Definition.
2-
# Modified by Auth0 to use Auth0 telemetry format with dynamic versioning
32

4-
import base64
5-
import platform
6-
import sys
73
import typing
8-
from json import dumps
94

105
import httpx
116
from .http_client import AsyncHttpClient, HttpClient
@@ -35,18 +30,15 @@ def __init__(
3530
self._logging = logging
3631

3732
def get_headers(self) -> typing.Dict[str, str]:
38-
py_version = platform.python_version()
39-
version = sys.modules["auth0"].__version__
40-
41-
auth0_client = dumps({
42-
"name": "auth0-python",
43-
"version": version,
44-
"env": {"python": py_version}
45-
}).encode("utf-8")
33+
import platform
4634

4735
headers: typing.Dict[str, str] = {
48-
"User-Agent": f"Python/{py_version}",
49-
"Auth0-Client": base64.b64encode(auth0_client).decode(),
36+
"User-Agent": "auth0-python/5.8.0",
37+
"X-Fern-Language": "Python",
38+
"X-Fern-Runtime": f"python/{platform.python_version()}",
39+
"X-Fern-Platform": f"{platform.system().lower()}/{platform.release()}",
40+
"X-Fern-SDK-Name": "auth0-python",
41+
"X-Fern-SDK-Version": "5.8.0",
5042
**(self.get_custom_headers() or {}),
5143
}
5244
headers["Authorization"] = f"Bearer {self._get_token()}"

src/auth0/management/types/__init__.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,6 @@
411411
from .connection_ext_is_suspended import ConnectionExtIsSuspended
412412
from .connection_ext_is_suspended_google_apps import ConnectionExtIsSuspendedGoogleApps
413413
from .connection_ext_profile import ConnectionExtProfile
414-
from .connection_federated_connections_access_tokens import ConnectionFederatedConnectionsAccessTokens
415414
from .connection_fields_map import ConnectionFieldsMap
416415
from .connection_fields_map_saml import ConnectionFieldsMapSaml
417416
from .connection_fields_map_saml_value import ConnectionFieldsMapSamlValue
@@ -3042,7 +3041,6 @@
30423041
from .fed_cm_login_google import FedCmLoginGoogle
30433042
from .fed_cm_login_google_patch import FedCmLoginGooglePatch
30443043
from .fed_cm_login_patch import FedCmLoginPatch
3045-
from .federated_connection_token_set import FederatedConnectionTokenSet
30463044
from .flow_action import FlowAction
30473045
from .flow_action_activecampaign import FlowActionActivecampaign
30483046
from .flow_action_activecampaign_list_contacts import FlowActionActivecampaignListContacts
@@ -4808,7 +4806,6 @@
48084806
"ConnectionExtIsSuspended": ".connection_ext_is_suspended",
48094807
"ConnectionExtIsSuspendedGoogleApps": ".connection_ext_is_suspended_google_apps",
48104808
"ConnectionExtProfile": ".connection_ext_profile",
4811-
"ConnectionFederatedConnectionsAccessTokens": ".connection_federated_connections_access_tokens",
48124809
"ConnectionFieldsMap": ".connection_fields_map",
48134810
"ConnectionFieldsMapSaml": ".connection_fields_map_saml",
48144811
"ConnectionFieldsMapSamlValue": ".connection_fields_map_saml_value",
@@ -6303,7 +6300,6 @@
63036300
"FedCmLoginGoogle": ".fed_cm_login_google",
63046301
"FedCmLoginGooglePatch": ".fed_cm_login_google_patch",
63056302
"FedCmLoginPatch": ".fed_cm_login_patch",
6306-
"FederatedConnectionTokenSet": ".federated_connection_token_set",
63076303
"FlowAction": ".flow_action",
63086304
"FlowActionActivecampaign": ".flow_action_activecampaign",
63096305
"FlowActionActivecampaignListContacts": ".flow_action_activecampaign_list_contacts",
@@ -7951,7 +7947,6 @@ def __dir__():
79517947
"ConnectionExtIsSuspended",
79527948
"ConnectionExtIsSuspendedGoogleApps",
79537949
"ConnectionExtProfile",
7954-
"ConnectionFederatedConnectionsAccessTokens",
79557950
"ConnectionFieldsMap",
79567951
"ConnectionFieldsMapSaml",
79577952
"ConnectionFieldsMapSamlValue",
@@ -9446,7 +9441,6 @@ def __dir__():
94469441
"FedCmLoginGoogle",
94479442
"FedCmLoginGooglePatch",
94489443
"FedCmLoginPatch",
9449-
"FederatedConnectionTokenSet",
94509444
"FlowAction",
94519445
"FlowActionActivecampaign",
94529446
"FlowActionActivecampaignListContacts",

src/auth0/management/types/client_session_transfer_delegation_device_binding_enum.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
import typing
44

5-
ClientSessionTransferDelegationDeviceBindingEnum = typing.Union[typing.Literal["ip", "asn"], typing.Any]
5+
ClientSessionTransferDelegationDeviceBindingEnum = typing.Union[typing.Literal["ip"], typing.Any]

src/auth0/management/types/connection_federated_connections_access_tokens.py

Lines changed: 0 additions & 26 deletions
This file was deleted.

0 commit comments

Comments
 (0)