diff --git a/.fern/replay.lock b/.fern/replay.lock index 85380d02..e5b84a09 100644 --- a/.fern/replay.lock +++ b/.fern/replay.lock @@ -18,14 +18,20 @@ generations: cli_version: unknown generator_versions: fernapi/fern-python-sdk: 5.26.0 -current_generation: a3eace9354ccf8d76cc4439d44363b0a08e6f1d7 + - commit_sha: 136d7afa3b6f920dc2ddec157a94171495ba7e14 + tree_hash: 386fa3b83eed7b806984204dfa02adc0edc7be11 + timestamp: 2026-11-10T05:42:38.308Z + cli_version: unknown + generator_versions: + fernapi/fern-python-sdk: 5.26.0 +current_generation: 136d7afa3b6f920dc2ddec157a94171495ba7e14 patches: - id: patch-3bac717a content_hash: sha256:f4ad3ba43b0430fa3dfb54bfcf588cb697efe8185eb30350f9955849f831083f original_commit: 3bac717acae703868197afb75fc26d296957a4fd original_message: Restore Auth0 telemetry headers and keep UPGRADING.md (#900) original_author: Kunal Dawar <35455566+developerkunal@users.noreply.github.com> - base_generation: a3eace9354ccf8d76cc4439d44363b0a08e6f1d7 + base_generation: 136d7afa3b6f920dc2ddec157a94171495ba7e14 files: - src/auth0/management/core/client_wrapper.py patch_content: | @@ -221,3 +227,4 @@ patches: token = await self._async_token() headers["Authorization"] = f"Bearer {token}" return headers + user_owned: true diff --git a/src/auth0/management/types/client_oidc_support.py b/src/auth0/management/types/client_oidc_support.py index 5a0009a4..53cb2156 100644 --- a/src/auth0/management/types/client_oidc_support.py +++ b/src/auth0/management/types/client_oidc_support.py @@ -9,12 +9,23 @@ class ClientOidcSupport(UniversalBaseModel): """ - OIDC support configuration for this client. + Controls whether the client can receive ID tokens and use the UserInfo endpoint, and which user profile information it can request through OIDC scopes. """ - is_allowed: typing.Optional[bool] = None - allow_all_scopes: typing.Optional[bool] = None - allowed_scopes: typing.Optional[typing.List[ClientOidcSupportAllowedScopesEnum]] = None + is_allowed: typing.Optional[bool] = pydantic.Field(default=None) + """ + Allows the client to use OIDC, including receiving ID tokens and calling the UserInfo endpoint. + """ + + allow_all_scopes: typing.Optional[bool] = pydantic.Field(default=None) + """ + Allows the client to request all supported OIDC scopes. Mutually exclusive with allowed_scopes. + """ + + allowed_scopes: typing.Optional[typing.List[ClientOidcSupportAllowedScopesEnum]] = pydantic.Field(default=None) + """ + OIDC scopes the client may request (`profile`, `email`, `address`, and `phone`), which determine the user profile information it can access. Mutually exclusive with allow_all_scopes. + """ if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/client_oidc_support_patch.py b/src/auth0/management/types/client_oidc_support_patch.py index 88d9bd69..12302a1d 100644 --- a/src/auth0/management/types/client_oidc_support_patch.py +++ b/src/auth0/management/types/client_oidc_support_patch.py @@ -9,12 +9,23 @@ class ClientOidcSupportPatch(UniversalBaseModel): """ - OIDC support configuration for a client. Replaces the stored object entirely; send null to unset it. + Controls whether the client can receive ID tokens and use the UserInfo endpoint, and which user profile information it can request through OIDC scopes. """ - is_allowed: bool - allow_all_scopes: typing.Optional[bool] = None - allowed_scopes: typing.Optional[typing.List[ClientOidcSupportAllowedScopesEnum]] = None + is_allowed: bool = pydantic.Field() + """ + Allows the client to use OIDC, including receiving ID tokens and calling the UserInfo endpoint. + """ + + allow_all_scopes: typing.Optional[bool] = pydantic.Field(default=None) + """ + Allows the client to request all supported OIDC scopes. Mutually exclusive with allowed_scopes. + """ + + allowed_scopes: typing.Optional[typing.List[ClientOidcSupportAllowedScopesEnum]] = pydantic.Field(default=None) + """ + OIDC scopes the client may request (`profile`, `email`, `address`, and `phone`), which determine the user profile information it can access. Mutually exclusive with allow_all_scopes. + """ if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/client_oidc_support_post.py b/src/auth0/management/types/client_oidc_support_post.py index 9ae15738..a58413af 100644 --- a/src/auth0/management/types/client_oidc_support_post.py +++ b/src/auth0/management/types/client_oidc_support_post.py @@ -9,12 +9,23 @@ class ClientOidcSupportPost(UniversalBaseModel): """ - OIDC support configuration for a client. Controls whether OIDC flows are allowed and which scopes the client may request. + Controls whether the client can receive ID tokens and use the UserInfo endpoint, and which user profile information it can request through OIDC scopes. """ - is_allowed: bool - allow_all_scopes: typing.Optional[bool] = None - allowed_scopes: typing.Optional[typing.List[ClientOidcSupportAllowedScopesEnum]] = None + is_allowed: bool = pydantic.Field() + """ + Allows the client to use OIDC, including receiving ID tokens and calling the UserInfo endpoint. + """ + + allow_all_scopes: typing.Optional[bool] = pydantic.Field(default=None) + """ + Allows the client to request all supported OIDC scopes. Mutually exclusive with allowed_scopes. + """ + + allowed_scopes: typing.Optional[typing.List[ClientOidcSupportAllowedScopesEnum]] = pydantic.Field(default=None) + """ + OIDC scopes the client may request (`profile`, `email`, `address`, and `phone`), which determine the user profile information it can access. Mutually exclusive with allow_all_scopes. + """ if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/auth0/management/types/client_profile_client_configuration_oidc_support.py b/src/auth0/management/types/client_profile_client_configuration_oidc_support.py index c34c84f5..a53550cd 100644 --- a/src/auth0/management/types/client_profile_client_configuration_oidc_support.py +++ b/src/auth0/management/types/client_profile_client_configuration_oidc_support.py @@ -11,7 +11,7 @@ class ClientProfileClientConfigurationOidcSupport(UniversalBaseModel): """ - Default OIDC support applied to matched clients. + Default OIDC support configuration applied to matched clients. """ default_value: ClientProfileClientConfigurationOidcSupportDefaultValue diff --git a/src/auth0/management/types/client_profile_client_configuration_oidc_support_default_value.py b/src/auth0/management/types/client_profile_client_configuration_oidc_support_default_value.py index 6fae76dc..a6ae8c25 100644 --- a/src/auth0/management/types/client_profile_client_configuration_oidc_support_default_value.py +++ b/src/auth0/management/types/client_profile_client_configuration_oidc_support_default_value.py @@ -11,24 +11,24 @@ class ClientProfileClientConfigurationOidcSupportDefaultValue(UniversalBaseModel): """ - OIDC support settings applied to matched clients. + Controls whether matched clients can receive ID tokens and use the UserInfo endpoint, and which user profile information they can request through OIDC scopes. """ is_allowed: bool = pydantic.Field() """ - Whether matched clients may use OIDC. + Allows matched clients to use OIDC, including receiving ID tokens and calling the UserInfo endpoint. """ allow_all_scopes: typing.Optional[bool] = pydantic.Field(default=None) """ - Whether matched clients may request all optional OIDC scopes. Cannot be combined with allowed_scopes. + Allows matched clients to request all supported OIDC scopes. Mutually exclusive with allowed_scopes. """ allowed_scopes: typing.Optional[typing.List[ClientProfileClientConfigurationOidcSupportAllowedScopesEnum]] = ( pydantic.Field(default=None) ) """ - Optional OIDC scopes that matched clients may request. + OIDC scopes matched clients may request (`profile`, `email`, `address`, and `phone`), which determine the user profile information they can access. Mutually exclusive with allow_all_scopes. """ if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/connection_passkey_authentication_method.py b/src/auth0/management/types/connection_passkey_authentication_method.py index 9946735c..54bd271a 100644 --- a/src/auth0/management/types/connection_passkey_authentication_method.py +++ b/src/auth0/management/types/connection_passkey_authentication_method.py @@ -4,6 +4,7 @@ import pydantic from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel +from .connection_signup_behavior_enum import ConnectionSignupBehaviorEnum class ConnectionPasskeyAuthenticationMethod(UniversalBaseModel): @@ -16,6 +17,11 @@ class ConnectionPasskeyAuthenticationMethod(UniversalBaseModel): Determines whether passkeys are enabled """ + signup_behavior: typing.Optional[ConnectionSignupBehaviorEnum] = pydantic.Field(default=None) + """ + Specifies the signup behavior for passkey authentication + """ + if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 else: diff --git a/src/auth0/management/types/csp_policy_reporting.py b/src/auth0/management/types/csp_policy_reporting.py index 347eedf3..50e93376 100644 --- a/src/auth0/management/types/csp_policy_reporting.py +++ b/src/auth0/management/types/csp_policy_reporting.py @@ -18,7 +18,7 @@ class CspPolicyReporting(UniversalBaseModel): report_to_group: typing.Optional[str] = pydantic.Field(default=None) """ - Report-To group name for modern reporting. + Report-To group name for modern reporting. Letters, digits, underscores and hyphens only; enforced on write by the request validator. """ if IS_PYDANTIC_V2: diff --git a/src/auth0/management/types/screen_group_name_enum.py b/src/auth0/management/types/screen_group_name_enum.py index 72b79f10..dcba880a 100644 --- a/src/auth0/management/types/screen_group_name_enum.py +++ b/src/auth0/management/types/screen_group_name_enum.py @@ -34,6 +34,7 @@ "custom-form", "consent", "consent-tenant-scopes", + "pending-consent", "customized-consent", "logout", "logout-complete",