auth0-python 5.4.0__py3-none-any.whl → 5.5.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (72) hide show
  1. auth0/management/__init__.py +33 -1
  2. auth0/management/client.py +12 -0
  3. auth0/management/clients/client.py +58 -23
  4. auth0/management/clients/raw_client.py +57 -14
  5. auth0/management/core/client_wrapper.py +21 -8
  6. auth0/management/refresh_tokens/client.py +10 -2
  7. auth0/management/refresh_tokens/raw_client.py +10 -0
  8. auth0/management/resource_servers/client.py +20 -0
  9. auth0/management/resource_servers/raw_client.py +20 -0
  10. auth0/management/tickets/client.py +2 -2
  11. auth0/management/tickets/raw_client.py +2 -2
  12. auth0/management/types/__init__.py +33 -0
  13. auth0/management/types/bad_request_schema.py +28 -0
  14. auth0/management/types/bad_request_schema_error.py +5 -0
  15. auth0/management/types/connection_base_url_exact.py +1 -3
  16. auth0/management/types/connection_client_id_amazon.py +2 -4
  17. auth0/management/types/connection_client_id_azure_ad.py +4 -3
  18. auth0/management/types/connection_client_id_exact.py +2 -4
  19. auth0/management/types/connection_client_id_facebook.py +2 -4
  20. auth0/management/types/connection_client_id_google_apps.py +2 -4
  21. auth0/management/types/connection_client_id_o_auth_1.py +2 -4
  22. auth0/management/types/connection_client_id_o_auth_2.py +4 -3
  23. auth0/management/types/connection_client_id_oidc.py +4 -3
  24. auth0/management/types/connection_client_id_paypal.py +2 -4
  25. auth0/management/types/connection_client_secret_amazon.py +2 -4
  26. auth0/management/types/connection_client_secret_bitbucket.py +4 -3
  27. auth0/management/types/connection_client_secret_exact.py +2 -4
  28. auth0/management/types/connection_client_secret_facebook.py +2 -4
  29. auth0/management/types/connection_client_secret_google_apps.py +2 -4
  30. auth0/management/types/connection_client_secret_o_auth_1.py +2 -4
  31. auth0/management/types/connection_client_secret_o_auth_2.py +4 -3
  32. auth0/management/types/connection_client_secret_oidc.py +4 -3
  33. auth0/management/types/connection_client_secret_paypal.py +2 -4
  34. auth0/management/types/connection_client_secret_windows_live.py +4 -3
  35. auth0/management/types/connection_dpop_signing_alg_enum.py +1 -1
  36. auth0/management/types/connection_https_url_with_http_fallback_2048.py +1 -3
  37. auth0/management/types/connection_https_url_with_http_fallback_255.py +1 -3
  38. auth0/management/types/connection_issuer.py +4 -3
  39. auth0/management/types/connection_jwks_uri.py +4 -3
  40. auth0/management/types/connection_op_policy_uri.py +4 -3
  41. auth0/management/types/connection_op_tos_uri.py +4 -3
  42. auth0/management/types/connection_ping_federate_base_url_ping_federate.py +1 -3
  43. auth0/management/types/connection_registration_endpoint.py +4 -3
  44. auth0/management/types/connection_response_common.py +1 -1
  45. auth0/management/types/connection_service_documentation.py +4 -3
  46. auth0/management/types/connection_tenant_domain_saml.py +4 -3
  47. auth0/management/types/connection_token_endpoint.py +4 -3
  48. auth0/management/types/connection_userinfo_endpoint.py +4 -3
  49. auth0/management/types/create_connection_common.py +1 -1
  50. auth0/management/types/create_resource_server_response_content.py +5 -0
  51. auth0/management/types/create_user_authentication_method_response_content.py +27 -0
  52. auth0/management/types/credential_device_type_enum.py +5 -0
  53. auth0/management/types/fed_cm_login.py +24 -0
  54. auth0/management/types/fed_cm_login_google.py +26 -0
  55. auth0/management/types/forbidden_schema.py +28 -0
  56. auth0/management/types/forbidden_schema_error.py +5 -0
  57. auth0/management/types/get_resource_server_response_content.py +5 -0
  58. auth0/management/types/get_user_authentication_method_response_content.py +10 -0
  59. auth0/management/types/resource_server.py +5 -0
  60. auth0/management/types/too_many_requests_schema.py +28 -0
  61. auth0/management/types/too_many_requests_schema_error.py +5 -0
  62. auth0/management/types/unauthorized_schema.py +28 -0
  63. auth0/management/types/unauthorized_schema_error.py +5 -0
  64. auth0/management/types/update_resource_server_response_content.py +5 -0
  65. auth0/management/types/user_authentication_method.py +10 -0
  66. auth0/management/users/authentication_methods/client.py +73 -4
  67. auth0/management/users/authentication_methods/raw_client.py +73 -4
  68. auth0/management/users/roles/raw_client.py +45 -0
  69. {auth0_python-5.4.0.dist-info → auth0_python-5.5.0.dist-info}/METADATA +3 -4
  70. {auth0_python-5.4.0.dist-info → auth0_python-5.5.0.dist-info}/RECORD +72 -61
  71. {auth0_python-5.4.0.dist-info → auth0_python-5.5.0.dist-info}/WHEEL +1 -1
  72. {auth0_python-5.4.0.dist-info → auth0_python-5.5.0.dist-info}/licenses/LICENSE +0 -0
@@ -81,6 +81,8 @@ if typing.TYPE_CHECKING:
81
81
  AttackProtectionUpdateCaptchaRecaptchaV2,
82
82
  AuthenticationMethodTypeEnum,
83
83
  AuthenticationTypeEnum,
84
+ BadRequestSchema,
85
+ BadRequestSchemaError,
84
86
  BotDetectionAllowlist,
85
87
  BotDetectionChallengePolicyPasswordFlowEnum,
86
88
  BotDetectionChallengePolicyPasswordResetFlowEnum,
@@ -1013,6 +1015,7 @@ if typing.TYPE_CHECKING:
1013
1015
  CreateVerificationEmailResponseContent,
1014
1016
  CreatedAuthenticationMethodTypeEnum,
1015
1017
  CreatedUserAuthenticationMethodTypeEnum,
1018
+ CredentialDeviceTypeEnum,
1016
1019
  CredentialId,
1017
1020
  CustomDomain,
1018
1021
  CustomDomainCustomClientIpHeader,
@@ -1465,6 +1468,8 @@ if typing.TYPE_CHECKING:
1465
1468
  ExpressConfiguration,
1466
1469
  ExpressConfigurationOrNull,
1467
1470
  ExtensibilityEmailProviderCredentials,
1471
+ FedCmLogin,
1472
+ FedCmLoginGoogle,
1468
1473
  FederatedConnectionTokenSet,
1469
1474
  FlowAction,
1470
1475
  FlowActionActivecampaign,
@@ -1866,6 +1871,8 @@ if typing.TYPE_CHECKING:
1866
1871
  FlowsVaultConnectionSetupTypeBasicAuthEnum,
1867
1872
  FlowsVaultConnectionSetupTypeOauthClientCredentialsEnum,
1868
1873
  FlowsVaultConnectionSummary,
1874
+ ForbiddenSchema,
1875
+ ForbiddenSchemaError,
1869
1876
  FormBlock,
1870
1877
  FormBlockDivider,
1871
1878
  FormBlockDividerConfig,
@@ -2486,9 +2493,13 @@ if typing.TYPE_CHECKING:
2486
2493
  TokenQuota,
2487
2494
  TokenQuotaClientCredentials,
2488
2495
  TokenQuotaConfiguration,
2496
+ TooManyRequestsSchema,
2497
+ TooManyRequestsSchemaError,
2489
2498
  TwilioProviderConfiguration,
2490
2499
  TwilioProviderCredentials,
2491
2500
  TwilioProviderDeliveryMethodEnum,
2501
+ UnauthorizedSchema,
2502
+ UnauthorizedSchemaError,
2492
2503
  UniversalLoginExperienceEnum,
2493
2504
  UpdateActionBindingsResponseContent,
2494
2505
  UpdateActionModuleResponseContent,
@@ -2815,6 +2826,8 @@ _dynamic_imports: typing.Dict[str, str] = {
2815
2826
  "AuthenticationMethodTypeEnum": ".types",
2816
2827
  "AuthenticationTypeEnum": ".types",
2817
2828
  "BadRequestError": ".errors",
2829
+ "BadRequestSchema": ".types",
2830
+ "BadRequestSchemaError": ".types",
2818
2831
  "BotDetectionAllowlist": ".types",
2819
2832
  "BotDetectionChallengePolicyPasswordFlowEnum": ".types",
2820
2833
  "BotDetectionChallengePolicyPasswordResetFlowEnum": ".types",
@@ -3749,6 +3762,7 @@ _dynamic_imports: typing.Dict[str, str] = {
3749
3762
  "CreateVerificationEmailResponseContent": ".types",
3750
3763
  "CreatedAuthenticationMethodTypeEnum": ".types",
3751
3764
  "CreatedUserAuthenticationMethodTypeEnum": ".types",
3765
+ "CredentialDeviceTypeEnum": ".types",
3752
3766
  "CredentialId": ".types",
3753
3767
  "CustomDomain": ".types",
3754
3768
  "CustomDomainHeader": ".management_client",
@@ -4205,6 +4219,8 @@ _dynamic_imports: typing.Dict[str, str] = {
4205
4219
  "ExpressConfiguration": ".types",
4206
4220
  "ExpressConfigurationOrNull": ".types",
4207
4221
  "ExtensibilityEmailProviderCredentials": ".types",
4222
+ "FedCmLogin": ".types",
4223
+ "FedCmLoginGoogle": ".types",
4208
4224
  "FederatedConnectionTokenSet": ".types",
4209
4225
  "FlowAction": ".types",
4210
4226
  "FlowActionActivecampaign": ".types",
@@ -4607,6 +4623,8 @@ _dynamic_imports: typing.Dict[str, str] = {
4607
4623
  "FlowsVaultConnectionSetupTypeOauthClientCredentialsEnum": ".types",
4608
4624
  "FlowsVaultConnectionSummary": ".types",
4609
4625
  "ForbiddenError": ".errors",
4626
+ "ForbiddenSchema": ".types",
4627
+ "ForbiddenSchemaError": ".types",
4610
4628
  "FormBlock": ".types",
4611
4629
  "FormBlockDivider": ".types",
4612
4630
  "FormBlockDividerConfig": ".types",
@@ -5236,10 +5254,14 @@ _dynamic_imports: typing.Dict[str, str] = {
5236
5254
  "TokenQuotaConfiguration": ".types",
5237
5255
  "TokenProvider": ".token_provider",
5238
5256
  "TooManyRequestsError": ".errors",
5257
+ "TooManyRequestsSchema": ".types",
5258
+ "TooManyRequestsSchemaError": ".types",
5239
5259
  "TwilioProviderConfiguration": ".types",
5240
5260
  "TwilioProviderCredentials": ".types",
5241
5261
  "TwilioProviderDeliveryMethodEnum": ".types",
5242
5262
  "UnauthorizedError": ".errors",
5263
+ "UnauthorizedSchema": ".types",
5264
+ "UnauthorizedSchemaError": ".types",
5243
5265
  "UniversalLoginExperienceEnum": ".types",
5244
5266
  "UpdateActionBindingsResponseContent": ".types",
5245
5267
  "UpdateActionModuleResponseContent": ".types",
@@ -5567,6 +5589,8 @@ __all__ = [
5567
5589
  "AuthenticationMethodTypeEnum",
5568
5590
  "AuthenticationTypeEnum",
5569
5591
  "BadRequestError",
5592
+ "BadRequestSchema",
5593
+ "BadRequestSchemaError",
5570
5594
  "BotDetectionAllowlist",
5571
5595
  "BotDetectionChallengePolicyPasswordFlowEnum",
5572
5596
  "BotDetectionChallengePolicyPasswordResetFlowEnum",
@@ -6501,9 +6525,9 @@ __all__ = [
6501
6525
  "CreateVerificationEmailResponseContent",
6502
6526
  "CreatedAuthenticationMethodTypeEnum",
6503
6527
  "CreatedUserAuthenticationMethodTypeEnum",
6528
+ "CredentialDeviceTypeEnum",
6504
6529
  "CredentialId",
6505
6530
  "CustomDomain",
6506
- "CustomDomainHeader",
6507
6531
  "CustomDomainCustomClientIpHeader",
6508
6532
  "CustomDomainCustomClientIpHeaderEnum",
6509
6533
  "CustomDomainProvisioningTypeEnum",
@@ -6957,6 +6981,8 @@ __all__ = [
6957
6981
  "ExpressConfiguration",
6958
6982
  "ExpressConfigurationOrNull",
6959
6983
  "ExtensibilityEmailProviderCredentials",
6984
+ "FedCmLogin",
6985
+ "FedCmLoginGoogle",
6960
6986
  "FederatedConnectionTokenSet",
6961
6987
  "FlowAction",
6962
6988
  "FlowActionActivecampaign",
@@ -7359,6 +7385,8 @@ __all__ = [
7359
7385
  "FlowsVaultConnectionSetupTypeOauthClientCredentialsEnum",
7360
7386
  "FlowsVaultConnectionSummary",
7361
7387
  "ForbiddenError",
7388
+ "ForbiddenSchema",
7389
+ "ForbiddenSchemaError",
7362
7390
  "FormBlock",
7363
7391
  "FormBlockDivider",
7364
7392
  "FormBlockDividerConfig",
@@ -7988,10 +8016,14 @@ __all__ = [
7988
8016
  "TokenQuotaClientCredentials",
7989
8017
  "TokenQuotaConfiguration",
7990
8018
  "TooManyRequestsError",
8019
+ "TooManyRequestsSchema",
8020
+ "TooManyRequestsSchemaError",
7991
8021
  "TwilioProviderConfiguration",
7992
8022
  "TwilioProviderCredentials",
7993
8023
  "TwilioProviderDeliveryMethodEnum",
7994
8024
  "UnauthorizedError",
8025
+ "UnauthorizedSchema",
8026
+ "UnauthorizedSchemaError",
7995
8027
  "UniversalLoginExperienceEnum",
7996
8028
  "UpdateActionBindingsResponseContent",
7997
8029
  "UpdateActionModuleResponseContent",
@@ -84,6 +84,9 @@ class Auth0:
84
84
  timeout : typing.Optional[float]
85
85
  The timeout to be used, in seconds, for requests. By default the timeout is 60 seconds, unless a custom httpx client is used, in which case this default is not enforced.
86
86
 
87
+ max_retries : typing.Optional[int]
88
+ The default maximum number of retries for failed requests. Defaults to 2. Per-request `max_retries` in `request_options` takes precedence over this value.
89
+
87
90
  follow_redirects : typing.Optional[bool]
88
91
  Whether the default httpx client follows redirects or not, this is irrelevant if a custom httpx client is passed in.
89
92
 
@@ -111,6 +114,7 @@ class Auth0:
111
114
  token: typing.Union[str, typing.Callable[[], str]],
112
115
  headers: typing.Optional[typing.Dict[str, str]] = None,
113
116
  timeout: typing.Optional[float] = None,
117
+ max_retries: typing.Optional[int] = None,
114
118
  follow_redirects: typing.Optional[bool] = True,
115
119
  httpx_client: typing.Optional[httpx.Client] = None,
116
120
  logging: typing.Optional[typing.Union[LogConfig, Logger]] = None,
@@ -118,6 +122,7 @@ class Auth0:
118
122
  _defaulted_timeout = (
119
123
  timeout if timeout is not None else 60 if httpx_client is None else httpx_client.timeout.read
120
124
  )
125
+ _defaulted_max_retries = max_retries if max_retries is not None else 2
121
126
  if tenant_domain is not None:
122
127
  _tenant_domain = tenant_domain if tenant_domain is not None else "{TENANT}.auth0.com"
123
128
  base_url = "https://{tenantDomain}/api/v2".format(tenantDomain=_tenant_domain)
@@ -131,6 +136,7 @@ class Auth0:
131
136
  if follow_redirects is not None
132
137
  else httpx.Client(timeout=_defaulted_timeout),
133
138
  timeout=_defaulted_timeout,
139
+ max_retries=_defaulted_max_retries,
134
140
  logging=logging,
135
141
  )
136
142
  self._actions: typing.Optional[ActionsClient] = None
@@ -580,6 +586,9 @@ class AsyncAuth0:
580
586
  timeout : typing.Optional[float]
581
587
  The timeout to be used, in seconds, for requests. By default the timeout is 60 seconds, unless a custom httpx client is used, in which case this default is not enforced.
582
588
 
589
+ max_retries : typing.Optional[int]
590
+ The default maximum number of retries for failed requests. Defaults to 2. Per-request `max_retries` in `request_options` takes precedence over this value.
591
+
583
592
  follow_redirects : typing.Optional[bool]
584
593
  Whether the default httpx client follows redirects or not, this is irrelevant if a custom httpx client is passed in.
585
594
 
@@ -608,6 +617,7 @@ class AsyncAuth0:
608
617
  headers: typing.Optional[typing.Dict[str, str]] = None,
609
618
  async_token: typing.Optional[typing.Callable[[], typing.Awaitable[str]]] = None,
610
619
  timeout: typing.Optional[float] = None,
620
+ max_retries: typing.Optional[int] = None,
611
621
  follow_redirects: typing.Optional[bool] = True,
612
622
  httpx_client: typing.Optional[httpx.AsyncClient] = None,
613
623
  logging: typing.Optional[typing.Union[LogConfig, Logger]] = None,
@@ -615,6 +625,7 @@ class AsyncAuth0:
615
625
  _defaulted_timeout = (
616
626
  timeout if timeout is not None else 60 if httpx_client is None else httpx_client.timeout.read
617
627
  )
628
+ _defaulted_max_retries = max_retries if max_retries is not None else 2
618
629
  if tenant_domain is not None:
619
630
  _tenant_domain = tenant_domain if tenant_domain is not None else "{TENANT}.auth0.com"
620
631
  base_url = "https://{tenantDomain}/api/v2".format(tenantDomain=_tenant_domain)
@@ -627,6 +638,7 @@ class AsyncAuth0:
627
638
  if httpx_client is not None
628
639
  else _make_default_async_client(timeout=_defaulted_timeout, follow_redirects=follow_redirects),
629
640
  timeout=_defaulted_timeout,
641
+ max_retries=_defaulted_max_retries,
630
642
  logging=logging,
631
643
  )
632
644
  self._actions: typing.Optional[AsyncActionsClient] = None
@@ -46,6 +46,7 @@ from ..types.create_client_response_content import CreateClientResponseContent
46
46
  from ..types.create_token_quota import CreateTokenQuota
47
47
  from ..types.express_configuration import ExpressConfiguration
48
48
  from ..types.express_configuration_or_null import ExpressConfigurationOrNull
49
+ from ..types.fed_cm_login import FedCmLogin
49
50
  from ..types.get_client_response_content import GetClientResponseContent
50
51
  from ..types.list_clients_offset_paginated_response_content import ListClientsOffsetPaginatedResponseContent
51
52
  from ..types.native_social_login import NativeSocialLogin
@@ -246,6 +247,7 @@ class ClientsClient:
246
247
  mobile: typing.Optional[ClientMobile] = OMIT,
247
248
  initiate_login_uri: typing.Optional[str] = OMIT,
248
249
  native_social_login: typing.Optional[NativeSocialLogin] = OMIT,
250
+ fedcm_login: typing.Optional[FedCmLogin] = OMIT,
249
251
  refresh_token: typing.Optional[ClientRefreshTokenConfiguration] = OMIT,
250
252
  default_organization: typing.Optional[ClientDefaultOrganization] = OMIT,
251
253
  organization_usage: typing.Optional[ClientOrganizationUsageEnum] = OMIT,
@@ -377,6 +379,8 @@ class ClientsClient:
377
379
 
378
380
  native_social_login : typing.Optional[NativeSocialLogin]
379
381
 
382
+ fedcm_login : typing.Optional[FedCmLogin]
383
+
380
384
  refresh_token : typing.Optional[ClientRefreshTokenConfiguration]
381
385
 
382
386
  default_organization : typing.Optional[ClientDefaultOrganization]
@@ -478,6 +482,7 @@ class ClientsClient:
478
482
  mobile=mobile,
479
483
  initiate_login_uri=initiate_login_uri,
480
484
  native_social_login=native_social_login,
485
+ fedcm_login=fedcm_login,
481
486
  refresh_token=refresh_token,
482
487
  default_organization=default_organization,
483
488
  organization_usage=organization_usage,
@@ -545,28 +550,37 @@ class ClientsClient:
545
550
  self, *, external_client_id: str, request_options: typing.Optional[RequestOptions] = None
546
551
  ) -> RegisterCimdClientResponseContent:
547
552
  """
548
-
549
- Idempotent registration for Client ID Metadata Document (CIMD) clients.
550
- Uses external_client_id as the unique identifier for upsert operations.
551
- **Create:** Returns 201 when a new client is created (requires \\
552
-
553
+ Idempotent registration for Client ID Metadata Document (CIMD) clients.
554
+ Uses external_client_id as the unique identifier for upsert operations.
555
+
556
+ <strong>Create:</strong> Returns 201 when a new client is created (requires <code>create:clients</code> scope).
557
+ <strong>Update:</strong> Returns 200 when an existing client is updated (requires <code>update:clients</code> scope).
558
+
559
+ This endpoint automatically:
560
+ <ul>
561
+ <li>Fetches and validates the metadata document</li>
562
+ <li>Maps CIMD fields to Auth0 client configuration</li>
563
+ <li>Creates/rotates credentials from the JWKS</li>
564
+ <li>Enforces CIMD security policies (HTTPS-only, no shared secrets)</li>
565
+ </ul>
566
+
553
567
  Parameters
554
568
  ----------
555
569
  external_client_id : str
556
570
  URL to the Client ID Metadata Document. Acts as the unique identifier for upsert operations.
557
-
571
+
558
572
  request_options : typing.Optional[RequestOptions]
559
573
  Request-specific configuration.
560
-
574
+
561
575
  Returns
562
576
  -------
563
577
  RegisterCimdClientResponseContent
564
578
  CIMD client successfully updated (idempotent).
565
-
579
+
566
580
  Examples
567
581
  --------
568
582
  from auth0 import Auth0
569
-
583
+
570
584
  client = Auth0(
571
585
  token="YOUR_TOKEN",
572
586
  )
@@ -726,6 +740,7 @@ class ClientsClient:
726
740
  mobile: typing.Optional[ClientMobile] = OMIT,
727
741
  initiate_login_uri: typing.Optional[str] = OMIT,
728
742
  native_social_login: typing.Optional[NativeSocialLogin] = OMIT,
743
+ fedcm_login: typing.Optional[FedCmLogin] = OMIT,
729
744
  refresh_token: typing.Optional[ClientRefreshTokenConfiguration] = OMIT,
730
745
  default_organization: typing.Optional[ClientDefaultOrganization] = OMIT,
731
746
  organization_usage: typing.Optional[ClientOrganizationUsagePatchEnum] = OMIT,
@@ -860,6 +875,8 @@ class ClientsClient:
860
875
 
861
876
  native_social_login : typing.Optional[NativeSocialLogin]
862
877
 
878
+ fedcm_login : typing.Optional[FedCmLogin]
879
+
863
880
  refresh_token : typing.Optional[ClientRefreshTokenConfiguration]
864
881
 
865
882
  default_organization : typing.Optional[ClientDefaultOrganization]
@@ -959,6 +976,7 @@ class ClientsClient:
959
976
  mobile=mobile,
960
977
  initiate_login_uri=initiate_login_uri,
961
978
  native_social_login=native_social_login,
979
+ fedcm_login=fedcm_login,
962
980
  refresh_token=refresh_token,
963
981
  default_organization=default_organization,
964
982
  organization_usage=organization_usage,
@@ -1227,6 +1245,7 @@ class AsyncClientsClient:
1227
1245
  mobile: typing.Optional[ClientMobile] = OMIT,
1228
1246
  initiate_login_uri: typing.Optional[str] = OMIT,
1229
1247
  native_social_login: typing.Optional[NativeSocialLogin] = OMIT,
1248
+ fedcm_login: typing.Optional[FedCmLogin] = OMIT,
1230
1249
  refresh_token: typing.Optional[ClientRefreshTokenConfiguration] = OMIT,
1231
1250
  default_organization: typing.Optional[ClientDefaultOrganization] = OMIT,
1232
1251
  organization_usage: typing.Optional[ClientOrganizationUsageEnum] = OMIT,
@@ -1358,6 +1377,8 @@ class AsyncClientsClient:
1358
1377
 
1359
1378
  native_social_login : typing.Optional[NativeSocialLogin]
1360
1379
 
1380
+ fedcm_login : typing.Optional[FedCmLogin]
1381
+
1361
1382
  refresh_token : typing.Optional[ClientRefreshTokenConfiguration]
1362
1383
 
1363
1384
  default_organization : typing.Optional[ClientDefaultOrganization]
@@ -1467,6 +1488,7 @@ class AsyncClientsClient:
1467
1488
  mobile=mobile,
1468
1489
  initiate_login_uri=initiate_login_uri,
1469
1490
  native_social_login=native_social_login,
1491
+ fedcm_login=fedcm_login,
1470
1492
  refresh_token=refresh_token,
1471
1493
  default_organization=default_organization,
1472
1494
  organization_usage=organization_usage,
@@ -1542,41 +1564,50 @@ class AsyncClientsClient:
1542
1564
  self, *, external_client_id: str, request_options: typing.Optional[RequestOptions] = None
1543
1565
  ) -> RegisterCimdClientResponseContent:
1544
1566
  """
1545
-
1546
- Idempotent registration for Client ID Metadata Document (CIMD) clients.
1547
- Uses external_client_id as the unique identifier for upsert operations.
1548
- **Create:** Returns 201 when a new client is created (requires \\
1549
-
1567
+ Idempotent registration for Client ID Metadata Document (CIMD) clients.
1568
+ Uses external_client_id as the unique identifier for upsert operations.
1569
+
1570
+ <strong>Create:</strong> Returns 201 when a new client is created (requires <code>create:clients</code> scope).
1571
+ <strong>Update:</strong> Returns 200 when an existing client is updated (requires <code>update:clients</code> scope).
1572
+
1573
+ This endpoint automatically:
1574
+ <ul>
1575
+ <li>Fetches and validates the metadata document</li>
1576
+ <li>Maps CIMD fields to Auth0 client configuration</li>
1577
+ <li>Creates/rotates credentials from the JWKS</li>
1578
+ <li>Enforces CIMD security policies (HTTPS-only, no shared secrets)</li>
1579
+ </ul>
1580
+
1550
1581
  Parameters
1551
1582
  ----------
1552
1583
  external_client_id : str
1553
1584
  URL to the Client ID Metadata Document. Acts as the unique identifier for upsert operations.
1554
-
1585
+
1555
1586
  request_options : typing.Optional[RequestOptions]
1556
1587
  Request-specific configuration.
1557
-
1588
+
1558
1589
  Returns
1559
1590
  -------
1560
1591
  RegisterCimdClientResponseContent
1561
1592
  CIMD client successfully updated (idempotent).
1562
-
1593
+
1563
1594
  Examples
1564
1595
  --------
1565
1596
  import asyncio
1566
-
1597
+
1567
1598
  from auth0 import AsyncAuth0
1568
-
1599
+
1569
1600
  client = AsyncAuth0(
1570
1601
  token="YOUR_TOKEN",
1571
1602
  )
1572
-
1573
-
1603
+
1604
+
1574
1605
  async def main() -> None:
1575
1606
  await client.clients.register_cimd_client(
1576
1607
  external_client_id="external_client_id",
1577
1608
  )
1578
-
1579
-
1609
+
1610
+
1580
1611
  asyncio.run(main())
1581
1612
  """
1582
1613
  _response = await self._raw_client.register_cimd_client(
@@ -1747,6 +1778,7 @@ class AsyncClientsClient:
1747
1778
  mobile: typing.Optional[ClientMobile] = OMIT,
1748
1779
  initiate_login_uri: typing.Optional[str] = OMIT,
1749
1780
  native_social_login: typing.Optional[NativeSocialLogin] = OMIT,
1781
+ fedcm_login: typing.Optional[FedCmLogin] = OMIT,
1750
1782
  refresh_token: typing.Optional[ClientRefreshTokenConfiguration] = OMIT,
1751
1783
  default_organization: typing.Optional[ClientDefaultOrganization] = OMIT,
1752
1784
  organization_usage: typing.Optional[ClientOrganizationUsagePatchEnum] = OMIT,
@@ -1881,6 +1913,8 @@ class AsyncClientsClient:
1881
1913
 
1882
1914
  native_social_login : typing.Optional[NativeSocialLogin]
1883
1915
 
1916
+ fedcm_login : typing.Optional[FedCmLogin]
1917
+
1884
1918
  refresh_token : typing.Optional[ClientRefreshTokenConfiguration]
1885
1919
 
1886
1920
  default_organization : typing.Optional[ClientDefaultOrganization]
@@ -1988,6 +2022,7 @@ class AsyncClientsClient:
1988
2022
  mobile=mobile,
1989
2023
  initiate_login_uri=initiate_login_uri,
1990
2024
  native_social_login=native_social_login,
2025
+ fedcm_login=fedcm_login,
1991
2026
  refresh_token=refresh_token,
1992
2027
  default_organization=default_organization,
1993
2028
  organization_usage=organization_usage,
@@ -58,6 +58,7 @@ from ..types.create_client_response_content import CreateClientResponseContent
58
58
  from ..types.create_token_quota import CreateTokenQuota
59
59
  from ..types.express_configuration import ExpressConfiguration
60
60
  from ..types.express_configuration_or_null import ExpressConfigurationOrNull
61
+ from ..types.fed_cm_login import FedCmLogin
61
62
  from ..types.get_client_response_content import GetClientResponseContent
62
63
  from ..types.list_clients_offset_paginated_response_content import ListClientsOffsetPaginatedResponseContent
63
64
  from ..types.native_social_login import NativeSocialLogin
@@ -299,6 +300,7 @@ class RawClientsClient:
299
300
  mobile: typing.Optional[ClientMobile] = OMIT,
300
301
  initiate_login_uri: typing.Optional[str] = OMIT,
301
302
  native_social_login: typing.Optional[NativeSocialLogin] = OMIT,
303
+ fedcm_login: typing.Optional[FedCmLogin] = OMIT,
302
304
  refresh_token: typing.Optional[ClientRefreshTokenConfiguration] = OMIT,
303
305
  default_organization: typing.Optional[ClientDefaultOrganization] = OMIT,
304
306
  organization_usage: typing.Optional[ClientOrganizationUsageEnum] = OMIT,
@@ -430,6 +432,8 @@ class RawClientsClient:
430
432
 
431
433
  native_social_login : typing.Optional[NativeSocialLogin]
432
434
 
435
+ fedcm_login : typing.Optional[FedCmLogin]
436
+
433
437
  refresh_token : typing.Optional[ClientRefreshTokenConfiguration]
434
438
 
435
439
  default_organization : typing.Optional[ClientDefaultOrganization]
@@ -541,6 +545,9 @@ class RawClientsClient:
541
545
  "native_social_login": convert_and_respect_annotation_metadata(
542
546
  object_=native_social_login, annotation=NativeSocialLogin, direction="write"
543
547
  ),
548
+ "fedcm_login": convert_and_respect_annotation_metadata(
549
+ object_=fedcm_login, annotation=FedCmLogin, direction="write"
550
+ ),
544
551
  "refresh_token": convert_and_respect_annotation_metadata(
545
552
  object_=refresh_token,
546
553
  annotation=typing.Optional[ClientRefreshTokenConfiguration],
@@ -779,19 +786,28 @@ class RawClientsClient:
779
786
  self, *, external_client_id: str, request_options: typing.Optional[RequestOptions] = None
780
787
  ) -> HttpResponse[RegisterCimdClientResponseContent]:
781
788
  """
782
-
783
- Idempotent registration for Client ID Metadata Document (CIMD) clients.
784
- Uses external_client_id as the unique identifier for upsert operations.
785
- **Create:** Returns 201 when a new client is created (requires \\
786
-
789
+ Idempotent registration for Client ID Metadata Document (CIMD) clients.
790
+ Uses external_client_id as the unique identifier for upsert operations.
791
+
792
+ <strong>Create:</strong> Returns 201 when a new client is created (requires <code>create:clients</code> scope).
793
+ <strong>Update:</strong> Returns 200 when an existing client is updated (requires <code>update:clients</code> scope).
794
+
795
+ This endpoint automatically:
796
+ <ul>
797
+ <li>Fetches and validates the metadata document</li>
798
+ <li>Maps CIMD fields to Auth0 client configuration</li>
799
+ <li>Creates/rotates credentials from the JWKS</li>
800
+ <li>Enforces CIMD security policies (HTTPS-only, no shared secrets)</li>
801
+ </ul>
802
+
787
803
  Parameters
788
804
  ----------
789
805
  external_client_id : str
790
806
  URL to the Client ID Metadata Document. Acts as the unique identifier for upsert operations.
791
-
807
+
792
808
  request_options : typing.Optional[RequestOptions]
793
809
  Request-specific configuration.
794
-
810
+
795
811
  Returns
796
812
  -------
797
813
  HttpResponse[RegisterCimdClientResponseContent]
@@ -1142,6 +1158,7 @@ class RawClientsClient:
1142
1158
  mobile: typing.Optional[ClientMobile] = OMIT,
1143
1159
  initiate_login_uri: typing.Optional[str] = OMIT,
1144
1160
  native_social_login: typing.Optional[NativeSocialLogin] = OMIT,
1161
+ fedcm_login: typing.Optional[FedCmLogin] = OMIT,
1145
1162
  refresh_token: typing.Optional[ClientRefreshTokenConfiguration] = OMIT,
1146
1163
  default_organization: typing.Optional[ClientDefaultOrganization] = OMIT,
1147
1164
  organization_usage: typing.Optional[ClientOrganizationUsagePatchEnum] = OMIT,
@@ -1276,6 +1293,8 @@ class RawClientsClient:
1276
1293
 
1277
1294
  native_social_login : typing.Optional[NativeSocialLogin]
1278
1295
 
1296
+ fedcm_login : typing.Optional[FedCmLogin]
1297
+
1279
1298
  refresh_token : typing.Optional[ClientRefreshTokenConfiguration]
1280
1299
 
1281
1300
  default_organization : typing.Optional[ClientDefaultOrganization]
@@ -1386,6 +1405,9 @@ class RawClientsClient:
1386
1405
  "native_social_login": convert_and_respect_annotation_metadata(
1387
1406
  object_=native_social_login, annotation=NativeSocialLogin, direction="write"
1388
1407
  ),
1408
+ "fedcm_login": convert_and_respect_annotation_metadata(
1409
+ object_=fedcm_login, annotation=FedCmLogin, direction="write"
1410
+ ),
1389
1411
  "refresh_token": convert_and_respect_annotation_metadata(
1390
1412
  object_=refresh_token,
1391
1413
  annotation=typing.Optional[ClientRefreshTokenConfiguration],
@@ -1846,6 +1868,7 @@ class AsyncRawClientsClient:
1846
1868
  mobile: typing.Optional[ClientMobile] = OMIT,
1847
1869
  initiate_login_uri: typing.Optional[str] = OMIT,
1848
1870
  native_social_login: typing.Optional[NativeSocialLogin] = OMIT,
1871
+ fedcm_login: typing.Optional[FedCmLogin] = OMIT,
1849
1872
  refresh_token: typing.Optional[ClientRefreshTokenConfiguration] = OMIT,
1850
1873
  default_organization: typing.Optional[ClientDefaultOrganization] = OMIT,
1851
1874
  organization_usage: typing.Optional[ClientOrganizationUsageEnum] = OMIT,
@@ -1977,6 +2000,8 @@ class AsyncRawClientsClient:
1977
2000
 
1978
2001
  native_social_login : typing.Optional[NativeSocialLogin]
1979
2002
 
2003
+ fedcm_login : typing.Optional[FedCmLogin]
2004
+
1980
2005
  refresh_token : typing.Optional[ClientRefreshTokenConfiguration]
1981
2006
 
1982
2007
  default_organization : typing.Optional[ClientDefaultOrganization]
@@ -2088,6 +2113,9 @@ class AsyncRawClientsClient:
2088
2113
  "native_social_login": convert_and_respect_annotation_metadata(
2089
2114
  object_=native_social_login, annotation=NativeSocialLogin, direction="write"
2090
2115
  ),
2116
+ "fedcm_login": convert_and_respect_annotation_metadata(
2117
+ object_=fedcm_login, annotation=FedCmLogin, direction="write"
2118
+ ),
2091
2119
  "refresh_token": convert_and_respect_annotation_metadata(
2092
2120
  object_=refresh_token,
2093
2121
  annotation=typing.Optional[ClientRefreshTokenConfiguration],
@@ -2326,19 +2354,28 @@ class AsyncRawClientsClient:
2326
2354
  self, *, external_client_id: str, request_options: typing.Optional[RequestOptions] = None
2327
2355
  ) -> AsyncHttpResponse[RegisterCimdClientResponseContent]:
2328
2356
  """
2329
-
2330
- Idempotent registration for Client ID Metadata Document (CIMD) clients.
2331
- Uses external_client_id as the unique identifier for upsert operations.
2332
- **Create:** Returns 201 when a new client is created (requires \\
2333
-
2357
+ Idempotent registration for Client ID Metadata Document (CIMD) clients.
2358
+ Uses external_client_id as the unique identifier for upsert operations.
2359
+
2360
+ <strong>Create:</strong> Returns 201 when a new client is created (requires <code>create:clients</code> scope).
2361
+ <strong>Update:</strong> Returns 200 when an existing client is updated (requires <code>update:clients</code> scope).
2362
+
2363
+ This endpoint automatically:
2364
+ <ul>
2365
+ <li>Fetches and validates the metadata document</li>
2366
+ <li>Maps CIMD fields to Auth0 client configuration</li>
2367
+ <li>Creates/rotates credentials from the JWKS</li>
2368
+ <li>Enforces CIMD security policies (HTTPS-only, no shared secrets)</li>
2369
+ </ul>
2370
+
2334
2371
  Parameters
2335
2372
  ----------
2336
2373
  external_client_id : str
2337
2374
  URL to the Client ID Metadata Document. Acts as the unique identifier for upsert operations.
2338
-
2375
+
2339
2376
  request_options : typing.Optional[RequestOptions]
2340
2377
  Request-specific configuration.
2341
-
2378
+
2342
2379
  Returns
2343
2380
  -------
2344
2381
  AsyncHttpResponse[RegisterCimdClientResponseContent]
@@ -2691,6 +2728,7 @@ class AsyncRawClientsClient:
2691
2728
  mobile: typing.Optional[ClientMobile] = OMIT,
2692
2729
  initiate_login_uri: typing.Optional[str] = OMIT,
2693
2730
  native_social_login: typing.Optional[NativeSocialLogin] = OMIT,
2731
+ fedcm_login: typing.Optional[FedCmLogin] = OMIT,
2694
2732
  refresh_token: typing.Optional[ClientRefreshTokenConfiguration] = OMIT,
2695
2733
  default_organization: typing.Optional[ClientDefaultOrganization] = OMIT,
2696
2734
  organization_usage: typing.Optional[ClientOrganizationUsagePatchEnum] = OMIT,
@@ -2825,6 +2863,8 @@ class AsyncRawClientsClient:
2825
2863
 
2826
2864
  native_social_login : typing.Optional[NativeSocialLogin]
2827
2865
 
2866
+ fedcm_login : typing.Optional[FedCmLogin]
2867
+
2828
2868
  refresh_token : typing.Optional[ClientRefreshTokenConfiguration]
2829
2869
 
2830
2870
  default_organization : typing.Optional[ClientDefaultOrganization]
@@ -2935,6 +2975,9 @@ class AsyncRawClientsClient:
2935
2975
  "native_social_login": convert_and_respect_annotation_metadata(
2936
2976
  object_=native_social_login, annotation=NativeSocialLogin, direction="write"
2937
2977
  ),
2978
+ "fedcm_login": convert_and_respect_annotation_metadata(
2979
+ object_=fedcm_login, annotation=FedCmLogin, direction="write"
2980
+ ),
2938
2981
  "refresh_token": convert_and_respect_annotation_metadata(
2939
2982
  object_=refresh_token,
2940
2983
  annotation=typing.Optional[ClientRefreshTokenConfiguration],