Skip to content

Commit 210f028

Browse files
committed
[fern-generated] Update SDK
Generated by Fern CLI Version: unknown Generators: - fernapi/fern-python-sdk: 5.9.1
1 parent 3b19ca9 commit 210f028

66 files changed

Lines changed: 783 additions & 187 deletions

File tree

Some content is hidden

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

reference.md

Lines changed: 95 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2167,10 +2167,19 @@ client.clients.preview_cimd_metadata(
21672167
<dl>
21682168
<dd>
21692169

2170+
Idempotent registration for Client ID Metadata Document (CIMD) clients.
2171+
Uses external_client_id as the unique identifier for upsert operations.
21702172

2171-
Idempotent registration for Client ID Metadata Document (CIMD) clients.
2172-
Uses external_client_id as the unique identifier for upsert operations.
2173-
**Create:** Returns 201 when a new client is created (requires \
2173+
<strong>Create:</strong> Returns 201 when a new client is created (requires <code>create:clients</code> scope).
2174+
<strong>Update:</strong> Returns 200 when an existing client is updated (requires <code>update:clients</code> scope).
2175+
2176+
This endpoint automatically:
2177+
<ul>
2178+
<li>Fetches and validates the metadata document</li>
2179+
<li>Maps CIMD fields to Auth0 client configuration</li>
2180+
<li>Creates/rotates credentials from the JWKS</li>
2181+
<li>Enforces CIMD security policies (HTTPS-only, no shared secrets)</li>
2182+
</ul>
21742183
</dd>
21752184
</dl>
21762185
</dd>
@@ -10953,6 +10962,14 @@ client.refresh_tokens.revoke()
1095310962
<dl>
1095410963
<dd>
1095510964

10965+
**audience:** `typing.Optional[str]` — Resource server identifier (audience) to scope the revocation. Must be used with both `user_id` and `client_id`.
10966+
10967+
</dd>
10968+
</dl>
10969+
10970+
<dl>
10971+
<dd>
10972+
1095610973
**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
1095710974

1095810975
</dd>
@@ -11413,6 +11430,14 @@ client.resource_servers.create(
1141311430
<dl>
1141411431
<dd>
1141511432

11433+
**allow_online_access_with_ephemeral_sessions:** `typing.Optional[bool]` — Whether Online Refresh Tokens can be issued even when sessions are configured as ephemeral (true) or not (false).
11434+
11435+
</dd>
11436+
</dl>
11437+
11438+
<dl>
11439+
<dd>
11440+
1141611441
**token_lifetime:** `typing.Optional[int]` — Expiration value (in seconds) for access tokens issued for this API from the token endpoint.
1141711442

1141811443
</dd>
@@ -11777,6 +11802,14 @@ client.resource_servers.update(
1177711802
<dl>
1177811803
<dd>
1177911804

11805+
**allow_online_access_with_ephemeral_sessions:** `typing.Optional[bool]` — Whether Online Refresh Tokens can be issued even when sessions are configured as ephemeral (true) or not (false).
11806+
11807+
</dd>
11808+
</dl>
11809+
11810+
<dl>
11811+
<dd>
11812+
1178011813
**token_lifetime:** `typing.Optional[int]` — Expiration value (in seconds) for access tokens issued for this API from the token endpoint.
1178111814

1178211815
</dd>
@@ -14222,7 +14255,7 @@ client.tickets.change_password()
1422214255
<dl>
1422314256
<dd>
1422414257

14225-
**result_url:** `typing.Optional[str]` — URL the user will be redirected to in the classic Universal Login experience once the ticket is used. Cannot be specified when using client_id or organization_id.
14258+
**result_url:** `typing.Optional[str]` — URL the user will be redirected to in the classic Universal Login experience once the ticket is used. Cannot be specified when using organization_id. May be specified together with client_id when the tenant has a custom password reset page enabled and a password-reset-post-challenge Action bound.
1422614259

1422714260
</dd>
1422814261
</dl>
@@ -34782,15 +34815,23 @@ client.users.authentication_methods.create(
3478234815
<dl>
3478334816
<dd>
3478434817

34785-
**key_id:** `typing.Optional[str]` — Applies to webauthn authentication methods only. The id of the credential.
34818+
**key_id:** `typing.Optional[str]` — Applies to webauthn/passkey authentication methods only. The id of the credential.
34819+
34820+
</dd>
34821+
</dl>
34822+
34823+
<dl>
34824+
<dd>
34825+
34826+
**public_key:** `typing.Optional[str]` — Applies to webauthn/passkey authentication methods only. The public key, which is encoded as base64.
3478634827

3478734828
</dd>
3478834829
</dl>
3478934830

3479034831
<dl>
3479134832
<dd>
3479234833

34793-
**public_key:** `typing.Optional[str]` — Applies to webauthn authentication methods only. The public key, which is encoded as base64.
34834+
**aaguid:** `typing.Optional[str]` — Applies to passkeys only. Authenticator Attestation Globally Unique Identifier
3479434835

3479534836
</dd>
3479634837
</dl>
@@ -34806,6 +34847,54 @@ client.users.authentication_methods.create(
3480634847
<dl>
3480734848
<dd>
3480834849

34850+
**credential_device_type:** `typing.Optional[CredentialDeviceTypeEnum]`
34851+
34852+
</dd>
34853+
</dl>
34854+
34855+
<dl>
34856+
<dd>
34857+
34858+
**credential_backed_up:** `typing.Optional[bool]` — Applies to passkeys only. Whether the credential was backed up.
34859+
34860+
</dd>
34861+
</dl>
34862+
34863+
<dl>
34864+
<dd>
34865+
34866+
**identity_user_id:** `typing.Optional[str]` — Applies to passkeys only. The ID of the user identity linked with the authentication method.
34867+
34868+
</dd>
34869+
</dl>
34870+
34871+
<dl>
34872+
<dd>
34873+
34874+
**user_agent:** `typing.Optional[str]` — Applies to passkeys only. The user-agent of the browser used to create the passkey.
34875+
34876+
</dd>
34877+
</dl>
34878+
34879+
<dl>
34880+
<dd>
34881+
34882+
**user_handle:** `typing.Optional[str]` — Applies to passkeys only. The user handle of the user identity.
34883+
34884+
</dd>
34885+
</dl>
34886+
34887+
<dl>
34888+
<dd>
34889+
34890+
**transports:** `typing.Optional[typing.List[str]]` — Applies to passkeys only. The transports used by clients to communicate with the authenticator.
34891+
34892+
</dd>
34893+
</dl>
34894+
34895+
<dl>
34896+
<dd>
34897+
3480934898
**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
3481034899

3481134900
</dd>

src/auth0/management/__init__.py

Lines changed: 27 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,8 @@
8181
AttackProtectionUpdateCaptchaRecaptchaV2,
8282
AuthenticationMethodTypeEnum,
8383
AuthenticationTypeEnum,
84+
BadRequestSchema,
85+
BadRequestSchemaError,
8486
BotDetectionAllowlist,
8587
BotDetectionChallengePolicyPasswordFlowEnum,
8688
BotDetectionChallengePolicyPasswordResetFlowEnum,
@@ -1013,6 +1015,7 @@
10131015
CreateVerificationEmailResponseContent,
10141016
CreatedAuthenticationMethodTypeEnum,
10151017
CreatedUserAuthenticationMethodTypeEnum,
1018+
CredentialDeviceTypeEnum,
10161019
CredentialId,
10171020
CustomDomain,
10181021
CustomDomainCustomClientIpHeader,
@@ -1866,6 +1869,8 @@
18661869
FlowsVaultConnectionSetupTypeBasicAuthEnum,
18671870
FlowsVaultConnectionSetupTypeOauthClientCredentialsEnum,
18681871
FlowsVaultConnectionSummary,
1872+
ForbiddenSchema,
1873+
ForbiddenSchemaError,
18691874
FormBlock,
18701875
FormBlockDivider,
18711876
FormBlockDividerConfig,
@@ -2486,9 +2491,13 @@
24862491
TokenQuota,
24872492
TokenQuotaClientCredentials,
24882493
TokenQuotaConfiguration,
2494+
TooManyRequestsSchema,
2495+
TooManyRequestsSchemaError,
24892496
TwilioProviderConfiguration,
24902497
TwilioProviderCredentials,
24912498
TwilioProviderDeliveryMethodEnum,
2499+
UnauthorizedSchema,
2500+
UnauthorizedSchemaError,
24922501
UniversalLoginExperienceEnum,
24932502
UpdateActionBindingsResponseContent,
24942503
UpdateActionModuleResponseContent,
@@ -2732,8 +2741,6 @@
27322741
from .environment import Auth0Environment
27332742
from .event_streams import EventStreamsCreateRequest
27342743
from .version import __version__
2735-
from .management_client import AsyncManagementClient, CustomDomainHeader, ManagementClient
2736-
from .token_provider import AsyncTokenProvider, TokenProvider
27372744
_dynamic_imports: typing.Dict[str, str] = {
27382745
"Action": ".types",
27392746
"ActionBase": ".types",
@@ -2794,8 +2801,6 @@
27942801
"AssociateOrganizationClientGrantResponseContent": ".types",
27952802
"AsyncApprovalNotificationsChannelsEnum": ".types",
27962803
"AsyncAuth0": ".client",
2797-
"AsyncManagementClient": ".management_client",
2798-
"AsyncTokenProvider": ".token_provider",
27992804
"AttackProtectionCaptchaArkoseResponseContent": ".types",
28002805
"AttackProtectionCaptchaAuthChallengeRequest": ".types",
28012806
"AttackProtectionCaptchaAuthChallengeResponseContent": ".types",
@@ -2815,6 +2820,8 @@
28152820
"AuthenticationMethodTypeEnum": ".types",
28162821
"AuthenticationTypeEnum": ".types",
28172822
"BadRequestError": ".errors",
2823+
"BadRequestSchema": ".types",
2824+
"BadRequestSchemaError": ".types",
28182825
"BotDetectionAllowlist": ".types",
28192826
"BotDetectionChallengePolicyPasswordFlowEnum": ".types",
28202827
"BotDetectionChallengePolicyPasswordResetFlowEnum": ".types",
@@ -3749,9 +3756,9 @@
37493756
"CreateVerificationEmailResponseContent": ".types",
37503757
"CreatedAuthenticationMethodTypeEnum": ".types",
37513758
"CreatedUserAuthenticationMethodTypeEnum": ".types",
3759+
"CredentialDeviceTypeEnum": ".types",
37523760
"CredentialId": ".types",
37533761
"CustomDomain": ".types",
3754-
"CustomDomainHeader": ".management_client",
37553762
"CustomDomainCustomClientIpHeader": ".types",
37563763
"CustomDomainCustomClientIpHeaderEnum": ".types",
37573764
"CustomDomainProvisioningTypeEnum": ".types",
@@ -4607,6 +4614,8 @@
46074614
"FlowsVaultConnectionSetupTypeOauthClientCredentialsEnum": ".types",
46084615
"FlowsVaultConnectionSummary": ".types",
46094616
"ForbiddenError": ".errors",
4617+
"ForbiddenSchema": ".types",
4618+
"ForbiddenSchemaError": ".types",
46104619
"FormBlock": ".types",
46114620
"FormBlockDivider": ".types",
46124621
"FormBlockDividerConfig": ".types",
@@ -5007,7 +5016,6 @@
50075016
"LogStreamSumoEnum": ".types",
50085017
"LogStreamSumoResponseSchema": ".types",
50095018
"LogStreamSumoSink": ".types",
5010-
"ManagementClient": ".management_client",
50115019
"MdlPresentationProperties": ".types",
50125020
"MdlPresentationRequest": ".types",
50135021
"MdlPresentationRequestProperties": ".types",
@@ -5234,12 +5242,15 @@
52345242
"TokenQuota": ".types",
52355243
"TokenQuotaClientCredentials": ".types",
52365244
"TokenQuotaConfiguration": ".types",
5237-
"TokenProvider": ".token_provider",
52385245
"TooManyRequestsError": ".errors",
5246+
"TooManyRequestsSchema": ".types",
5247+
"TooManyRequestsSchemaError": ".types",
52395248
"TwilioProviderConfiguration": ".types",
52405249
"TwilioProviderCredentials": ".types",
52415250
"TwilioProviderDeliveryMethodEnum": ".types",
52425251
"UnauthorizedError": ".errors",
5252+
"UnauthorizedSchema": ".types",
5253+
"UnauthorizedSchemaError": ".types",
52435254
"UniversalLoginExperienceEnum": ".types",
52445255
"UpdateActionBindingsResponseContent": ".types",
52455256
"UpdateActionModuleResponseContent": ".types",
@@ -5546,8 +5557,6 @@ def __dir__():
55465557
"AssociateOrganizationClientGrantResponseContent",
55475558
"AsyncApprovalNotificationsChannelsEnum",
55485559
"AsyncAuth0",
5549-
"AsyncManagementClient",
5550-
"AsyncTokenProvider",
55515560
"AttackProtectionCaptchaArkoseResponseContent",
55525561
"AttackProtectionCaptchaAuthChallengeRequest",
55535562
"AttackProtectionCaptchaAuthChallengeResponseContent",
@@ -5567,6 +5576,8 @@ def __dir__():
55675576
"AuthenticationMethodTypeEnum",
55685577
"AuthenticationTypeEnum",
55695578
"BadRequestError",
5579+
"BadRequestSchema",
5580+
"BadRequestSchemaError",
55705581
"BotDetectionAllowlist",
55715582
"BotDetectionChallengePolicyPasswordFlowEnum",
55725583
"BotDetectionChallengePolicyPasswordResetFlowEnum",
@@ -6501,9 +6512,9 @@ def __dir__():
65016512
"CreateVerificationEmailResponseContent",
65026513
"CreatedAuthenticationMethodTypeEnum",
65036514
"CreatedUserAuthenticationMethodTypeEnum",
6515+
"CredentialDeviceTypeEnum",
65046516
"CredentialId",
65056517
"CustomDomain",
6506-
"CustomDomainHeader",
65076518
"CustomDomainCustomClientIpHeader",
65086519
"CustomDomainCustomClientIpHeaderEnum",
65096520
"CustomDomainProvisioningTypeEnum",
@@ -7359,6 +7370,8 @@ def __dir__():
73597370
"FlowsVaultConnectionSetupTypeOauthClientCredentialsEnum",
73607371
"FlowsVaultConnectionSummary",
73617372
"ForbiddenError",
7373+
"ForbiddenSchema",
7374+
"ForbiddenSchemaError",
73627375
"FormBlock",
73637376
"FormBlockDivider",
73647377
"FormBlockDividerConfig",
@@ -7759,7 +7772,6 @@ def __dir__():
77597772
"LogStreamSumoEnum",
77607773
"LogStreamSumoResponseSchema",
77617774
"LogStreamSumoSink",
7762-
"ManagementClient",
77637775
"MdlPresentationProperties",
77647776
"MdlPresentationRequest",
77657777
"MdlPresentationRequestProperties",
@@ -7983,15 +7995,18 @@ def __dir__():
79837995
"TestEventDataContent",
79847996
"TokenExchangeProfileResponseContent",
79857997
"TokenExchangeProfileTypeEnum",
7986-
"TokenProvider",
79877998
"TokenQuota",
79887999
"TokenQuotaClientCredentials",
79898000
"TokenQuotaConfiguration",
79908001
"TooManyRequestsError",
8002+
"TooManyRequestsSchema",
8003+
"TooManyRequestsSchemaError",
79918004
"TwilioProviderConfiguration",
79928005
"TwilioProviderCredentials",
79938006
"TwilioProviderDeliveryMethodEnum",
79948007
"UnauthorizedError",
8008+
"UnauthorizedSchema",
8009+
"UnauthorizedSchemaError",
79958010
"UniversalLoginExperienceEnum",
79968011
"UpdateActionBindingsResponseContent",
79978012
"UpdateActionModuleResponseContent",

0 commit comments

Comments
 (0)