diff --git a/reference.md b/reference.md
index f8da7c23..0f3b1182 100644
--- a/reference.md
+++ b/reference.md
@@ -1966,6 +1966,14 @@ client.clients.create(
-
+**token_vault_privileged_access:** `typing.Optional[ClientTokenVaultPrivilegedAccessWithPublicKey]`
+
+
+
+
+
+-
+
**compliance_level:** `typing.Optional[ClientComplianceLevelEnum]`
@@ -2758,7 +2766,7 @@ client.clients.update(
-
-**native_social_login:** `typing.Optional[NativeSocialLogin]`
+**native_social_login:** `typing.Optional[NativeSocialLoginPatch]`
@@ -2766,7 +2774,7 @@ client.clients.update(
-
-**fedcm_login:** `typing.Optional[FedCmLogin]`
+**fedcm_login:** `typing.Optional[FedCmLoginPatch]`
@@ -2846,6 +2854,14 @@ client.clients.update(
-
+**token_vault_privileged_access:** `typing.Optional[ClientTokenVaultPrivilegedAccessWithCredentialId]`
+
+
+
+
+
+-
+
**compliance_level:** `typing.Optional[ClientComplianceLevelEnum]`
@@ -3891,6 +3907,14 @@ client.connections.create(
-
+**cross_app_access_requesting_app:** `typing.Optional[CrossAppAccessRequestingApp]`
+
+
+
+
+
+-
+
**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -4204,6 +4228,14 @@ client.connections.update(
-
+**cross_app_access_requesting_app:** `typing.Optional[CrossAppAccessRequestingApp]`
+
+
+
+
+
+-
+
**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -5565,7 +5597,7 @@ client.email_templates.create(
-
-Retrieve an email template by pre-defined name. These names are `verify_email`, `verify_email_by_code`, `reset_email`, `reset_email_by_code`, `welcome_email`, `blocked_account`, `stolen_credentials`, `enrollment_email`, `mfa_oob_code`, `user_invitation`, and `async_approval`. The names `change_password`, and `password_reset` are also supported for legacy scenarios.
+Retrieve an email template by pre-defined name. These names are `verify_email`, `verify_email_by_code`, `auth_email_by_code`, `reset_email`, `reset_email_by_code`, `welcome_email`, `blocked_account`, `stolen_credentials`, `enrollment_email`, `mfa_oob_code`, `user_invitation`, and `async_approval`. The names `change_password`, and `password_reset` are also supported for legacy scenarios.
@@ -5606,7 +5638,7 @@ client.email_templates.get(
-
-**template_name:** `EmailTemplateNameEnum` — Template name. Can be `verify_email`, `verify_email_by_code`, `reset_email`, `reset_email_by_code`, `welcome_email`, `blocked_account`, `stolen_credentials`, `enrollment_email`, `mfa_oob_code`, `user_invitation`, `async_approval`, `change_password` (legacy), or `password_reset` (legacy).
+**template_name:** `EmailTemplateNameEnum` — Template name. Can be `verify_email`, `verify_email_by_code`, `auth_email_by_code`, `reset_email`, `reset_email_by_code`, `welcome_email`, `blocked_account`, `stolen_credentials`, `enrollment_email`, `mfa_oob_code`, `user_invitation`, `async_approval`, `change_password` (legacy), or `password_reset` (legacy).
@@ -5680,7 +5712,7 @@ client.email_templates.set(
-
-**template_name:** `EmailTemplateNameEnum` — Template name. Can be `verify_email`, `verify_email_by_code`, `reset_email`, `reset_email_by_code`, `welcome_email`, `blocked_account`, `stolen_credentials`, `enrollment_email`, `mfa_oob_code`, `user_invitation`, `async_approval`, `change_password` (legacy), or `password_reset` (legacy).
+**template_name:** `EmailTemplateNameEnum` — Template name. Can be `verify_email`, `verify_email_by_code`, `auth_email_by_code`, `reset_email`, `reset_email_by_code`, `welcome_email`, `blocked_account`, `stolen_credentials`, `enrollment_email`, `mfa_oob_code`, `user_invitation`, `async_approval`, `change_password` (legacy), or `password_reset` (legacy).
@@ -5825,7 +5857,7 @@ client.email_templates.update(
-
-**template_name:** `EmailTemplateNameEnum` — Template name. Can be `verify_email`, `verify_email_by_code`, `reset_email`, `reset_email_by_code`, `welcome_email`, `blocked_account`, `stolen_credentials`, `enrollment_email`, `mfa_oob_code`, `user_invitation`, `async_approval`, `change_password` (legacy), or `password_reset` (legacy).
+**template_name:** `EmailTemplateNameEnum` — Template name. Can be `verify_email`, `verify_email_by_code`, `auth_email_by_code`, `reset_email`, `reset_email_by_code`, `welcome_email`, `blocked_account`, `stolen_credentials`, `enrollment_email`, `mfa_oob_code`, `user_invitation`, `async_approval`, `change_password` (legacy), or `password_reset` (legacy).
@@ -19420,6 +19452,143 @@ client.attack_protection.captcha.update()
+
+
+
+
+## AttackProtection PhoneProviderProtection
+client.attack_protection.phone_provider_protection.get() -> GetPhoneProviderProtectionResponseContent
+
+-
+
+#### 📝 Description
+
+
+-
+
+
+-
+
+Get the phone provider protection configuration for a tenant.
+
+
+
+
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```python
+from auth0.management import Auth0
+from auth0.management.environment import Auth0Environment
+
+client = Auth0(
+ token="",
+ environment=Auth0Environment.DEFAULT,
+)
+
+client.attack_protection.phone_provider_protection.get()
+
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+
+
+
+
+
+
+
+
+
+
+
+client.attack_protection.phone_provider_protection.patch(...) -> PatchPhoneProviderProtectionResponseContent
+
+-
+
+#### 📝 Description
+
+
+-
+
+
+-
+
+Update the phone provider protection configuration for a tenant.
+
+
+
+
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```python
+from auth0.management import Auth0
+from auth0.management.environment import Auth0Environment
+
+client = Auth0(
+ token="",
+ environment=Auth0Environment.DEFAULT,
+)
+
+client.attack_protection.phone_provider_protection.patch(
+ type="exponential",
+)
+
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**type:** `PhoneProviderProtectionBackoffStrategyEnum`
+
+
+
+
+
+-
+
+**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+
+
+
+
+
+
+
@@ -37633,7 +37802,7 @@ client.users.identities.link(
-
-**user_id:** `typing.Optional[UserId]`
+**user_id:** `typing.Optional[UserId]` — user_id of the secondary user account being linked.
diff --git a/src/auth0/management/__init__.py b/src/auth0/management/__init__.py
index e96cb4b5..ed2684af 100644
--- a/src/auth0/management/__init__.py
+++ b/src/auth0/management/__init__.py
@@ -239,6 +239,8 @@
ClientTokenExchangeConfiguration,
ClientTokenExchangeConfigurationOrNull,
ClientTokenExchangeTypeEnum,
+ ClientTokenVaultPrivilegedAccessWithCredentialId,
+ ClientTokenVaultPrivilegedAccessWithPublicKey,
ConnectedAccount,
ConnectedAccountAccessTypeEnum,
ConnectionAccessTokenUrloAuth1,
@@ -1015,6 +1017,7 @@
CreatedUserAuthenticationMethodTypeEnum,
CredentialDeviceTypeEnum,
CredentialId,
+ CrossAppAccessRequestingApp,
CspDirectives,
CspFlag,
CspFlags,
@@ -1480,6 +1483,8 @@
ExtensibilityEmailProviderCredentials,
FedCmLogin,
FedCmLoginGoogle,
+ FedCmLoginGooglePatch,
+ FedCmLoginPatch,
FederatedConnectionTokenSet,
FlowAction,
FlowActionActivecampaign,
@@ -2116,6 +2121,7 @@
GetOrganizationInvitationResponseContent,
GetOrganizationResponseContent,
GetPartialsResponseContent,
+ GetPhoneProviderProtectionResponseContent,
GetPhoneTemplateResponseContent,
GetRateLimitPolicyResponseContent,
GetRefreshTokenResponseContent,
@@ -2299,8 +2305,12 @@
MfaPolicyEnum,
NativeSocialLogin,
NativeSocialLoginApple,
+ NativeSocialLoginApplePatch,
NativeSocialLoginFacebook,
+ NativeSocialLoginFacebookPatch,
NativeSocialLoginGoogle,
+ NativeSocialLoginGooglePatch,
+ NativeSocialLoginPatch,
NetworkAclAction,
NetworkAclActionAllowEnum,
NetworkAclActionBlockEnum,
@@ -2345,6 +2355,7 @@
PasswordMaxLengthExceededPolicyEnum,
PasswordSequentialCharactersPolicyEnum,
PatchClientCredentialResponseContent,
+ PatchPhoneProviderProtectionResponseContent,
PatchRateLimitPolicyConfigurationRequestContent,
PatchRateLimitPolicyConfigurationRequestContentAction,
PatchRateLimitPolicyConfigurationRequestContentActionAction,
@@ -2361,6 +2372,7 @@
PhoneProviderCredentials,
PhoneProviderDeliveryMethodEnum,
PhoneProviderNameEnum,
+ PhoneProviderProtectionBackoffStrategyEnum,
PhoneProviderSchemaMasked,
PhoneTemplate,
PhoneTemplateBody,
@@ -2539,6 +2551,7 @@
TokenQuota,
TokenQuotaClientCredentials,
TokenQuotaConfiguration,
+ TokenVaultPrivilegedAccessIpAllowlistEntry,
TooManyRequestsSchema,
TooManyRequestsSchemaError,
TwilioProviderConfiguration,
@@ -2693,7 +2706,6 @@
UserAuthenticationMethodProperties,
UserAuthenticationMethodPropertiesEnum,
UserBlockIdentifier,
- UserDateSchema,
UserEffectivePermissionResponseContent,
UserEffectivePermissionRoleSourceEnum,
UserEffectivePermissionRoleSourceResponseContent,
@@ -3035,6 +3047,8 @@
"ClientTokenExchangeConfiguration": ".types",
"ClientTokenExchangeConfigurationOrNull": ".types",
"ClientTokenExchangeTypeEnum": ".types",
+ "ClientTokenVaultPrivilegedAccessWithCredentialId": ".types",
+ "ClientTokenVaultPrivilegedAccessWithPublicKey": ".types",
"ConflictError": ".errors",
"ConnectedAccount": ".types",
"ConnectedAccountAccessTypeEnum": ".types",
@@ -3813,6 +3827,7 @@
"CreatedUserAuthenticationMethodTypeEnum": ".types",
"CredentialDeviceTypeEnum": ".types",
"CredentialId": ".types",
+ "CrossAppAccessRequestingApp": ".types",
"CspDirectives": ".types",
"CspFlag": ".types",
"CspFlags": ".types",
@@ -4282,6 +4297,8 @@
"ExtensibilityEmailProviderCredentials": ".types",
"FedCmLogin": ".types",
"FedCmLoginGoogle": ".types",
+ "FedCmLoginGooglePatch": ".types",
+ "FedCmLoginPatch": ".types",
"FederatedConnectionTokenSet": ".types",
"FlowAction": ".types",
"FlowActionActivecampaign": ".types",
@@ -4919,6 +4936,7 @@
"GetOrganizationInvitationResponseContent": ".types",
"GetOrganizationResponseContent": ".types",
"GetPartialsResponseContent": ".types",
+ "GetPhoneProviderProtectionResponseContent": ".types",
"GetPhoneTemplateResponseContent": ".types",
"GetRateLimitPolicyResponseContent": ".types",
"GetRefreshTokenResponseContent": ".types",
@@ -5105,8 +5123,12 @@
"MfaPolicyEnum": ".types",
"NativeSocialLogin": ".types",
"NativeSocialLoginApple": ".types",
+ "NativeSocialLoginApplePatch": ".types",
"NativeSocialLoginFacebook": ".types",
+ "NativeSocialLoginFacebookPatch": ".types",
"NativeSocialLoginGoogle": ".types",
+ "NativeSocialLoginGooglePatch": ".types",
+ "NativeSocialLoginPatch": ".types",
"NetworkAclAction": ".types",
"NetworkAclActionAllowEnum": ".types",
"NetworkAclActionBlockEnum": ".types",
@@ -5152,6 +5174,7 @@
"PasswordMaxLengthExceededPolicyEnum": ".types",
"PasswordSequentialCharactersPolicyEnum": ".types",
"PatchClientCredentialResponseContent": ".types",
+ "PatchPhoneProviderProtectionResponseContent": ".types",
"PatchRateLimitPolicyConfigurationRequestContent": ".types",
"PatchRateLimitPolicyConfigurationRequestContentAction": ".types",
"PatchRateLimitPolicyConfigurationRequestContentActionAction": ".types",
@@ -5169,6 +5192,7 @@
"PhoneProviderCredentials": ".types",
"PhoneProviderDeliveryMethodEnum": ".types",
"PhoneProviderNameEnum": ".types",
+ "PhoneProviderProtectionBackoffStrategyEnum": ".types",
"PhoneProviderSchemaMasked": ".types",
"PhoneTemplate": ".types",
"PhoneTemplateBody": ".types",
@@ -5346,10 +5370,11 @@
"TestEventDataContent": ".types",
"TokenExchangeProfileResponseContent": ".types",
"TokenExchangeProfileTypeEnum": ".types",
+ "TokenProvider": ".token_provider",
"TokenQuota": ".types",
"TokenQuotaClientCredentials": ".types",
"TokenQuotaConfiguration": ".types",
- "TokenProvider": ".token_provider",
+ "TokenVaultPrivilegedAccessIpAllowlistEntry": ".types",
"TooManyRequestsError": ".errors",
"TooManyRequestsSchema": ".types",
"TooManyRequestsSchemaError": ".types",
@@ -5506,7 +5531,6 @@
"UserAuthenticationMethodProperties": ".types",
"UserAuthenticationMethodPropertiesEnum": ".types",
"UserBlockIdentifier": ".types",
- "UserDateSchema": ".types",
"UserEffectivePermissionResponseContent": ".types",
"UserEffectivePermissionRoleSourceEnum": ".types",
"UserEffectivePermissionRoleSourceResponseContent": ".types",
@@ -5849,6 +5873,8 @@ def __dir__():
"ClientTokenExchangeConfiguration",
"ClientTokenExchangeConfigurationOrNull",
"ClientTokenExchangeTypeEnum",
+ "ClientTokenVaultPrivilegedAccessWithCredentialId",
+ "ClientTokenVaultPrivilegedAccessWithPublicKey",
"ConflictError",
"ConnectedAccount",
"ConnectedAccountAccessTypeEnum",
@@ -6627,6 +6653,7 @@ def __dir__():
"CreatedUserAuthenticationMethodTypeEnum",
"CredentialDeviceTypeEnum",
"CredentialId",
+ "CrossAppAccessRequestingApp",
"CspDirectives",
"CspFlag",
"CspFlags",
@@ -7095,6 +7122,8 @@ def __dir__():
"ExtensibilityEmailProviderCredentials",
"FedCmLogin",
"FedCmLoginGoogle",
+ "FedCmLoginGooglePatch",
+ "FedCmLoginPatch",
"FederatedConnectionTokenSet",
"FlowAction",
"FlowActionActivecampaign",
@@ -7732,6 +7761,7 @@ def __dir__():
"GetOrganizationInvitationResponseContent",
"GetOrganizationResponseContent",
"GetPartialsResponseContent",
+ "GetPhoneProviderProtectionResponseContent",
"GetPhoneTemplateResponseContent",
"GetRateLimitPolicyResponseContent",
"GetRefreshTokenResponseContent",
@@ -7918,8 +7948,12 @@ def __dir__():
"MfaPolicyEnum",
"NativeSocialLogin",
"NativeSocialLoginApple",
+ "NativeSocialLoginApplePatch",
"NativeSocialLoginFacebook",
+ "NativeSocialLoginFacebookPatch",
"NativeSocialLoginGoogle",
+ "NativeSocialLoginGooglePatch",
+ "NativeSocialLoginPatch",
"NetworkAclAction",
"NetworkAclActionAllowEnum",
"NetworkAclActionBlockEnum",
@@ -7965,6 +7999,7 @@ def __dir__():
"PasswordMaxLengthExceededPolicyEnum",
"PasswordSequentialCharactersPolicyEnum",
"PatchClientCredentialResponseContent",
+ "PatchPhoneProviderProtectionResponseContent",
"PatchRateLimitPolicyConfigurationRequestContent",
"PatchRateLimitPolicyConfigurationRequestContentAction",
"PatchRateLimitPolicyConfigurationRequestContentActionAction",
@@ -7982,6 +8017,7 @@ def __dir__():
"PhoneProviderCredentials",
"PhoneProviderDeliveryMethodEnum",
"PhoneProviderNameEnum",
+ "PhoneProviderProtectionBackoffStrategyEnum",
"PhoneProviderSchemaMasked",
"PhoneTemplate",
"PhoneTemplateBody",
@@ -8163,6 +8199,7 @@ def __dir__():
"TokenQuota",
"TokenQuotaClientCredentials",
"TokenQuotaConfiguration",
+ "TokenVaultPrivilegedAccessIpAllowlistEntry",
"TooManyRequestsError",
"TooManyRequestsSchema",
"TooManyRequestsSchemaError",
@@ -8319,7 +8356,6 @@ def __dir__():
"UserAuthenticationMethodProperties",
"UserAuthenticationMethodPropertiesEnum",
"UserBlockIdentifier",
- "UserDateSchema",
"UserEffectivePermissionResponseContent",
"UserEffectivePermissionRoleSourceEnum",
"UserEffectivePermissionRoleSourceResponseContent",
diff --git a/src/auth0/management/attack_protection/__init__.py b/src/auth0/management/attack_protection/__init__.py
index a80186a6..0a209309 100644
--- a/src/auth0/management/attack_protection/__init__.py
+++ b/src/auth0/management/attack_protection/__init__.py
@@ -6,12 +6,20 @@
from importlib import import_module
if typing.TYPE_CHECKING:
- from . import bot_detection, breached_password_detection, brute_force_protection, captcha, suspicious_ip_throttling
+ from . import (
+ bot_detection,
+ breached_password_detection,
+ brute_force_protection,
+ captcha,
+ phone_provider_protection,
+ suspicious_ip_throttling,
+ )
_dynamic_imports: typing.Dict[str, str] = {
"bot_detection": ".bot_detection",
"breached_password_detection": ".breached_password_detection",
"brute_force_protection": ".brute_force_protection",
"captcha": ".captcha",
+ "phone_provider_protection": ".phone_provider_protection",
"suspicious_ip_throttling": ".suspicious_ip_throttling",
}
@@ -42,5 +50,6 @@ def __dir__():
"breached_password_detection",
"brute_force_protection",
"captcha",
+ "phone_provider_protection",
"suspicious_ip_throttling",
]
diff --git a/src/auth0/management/attack_protection/client.py b/src/auth0/management/attack_protection/client.py
index 030e1cab..a2f3cc95 100644
--- a/src/auth0/management/attack_protection/client.py
+++ b/src/auth0/management/attack_protection/client.py
@@ -15,6 +15,7 @@
)
from .brute_force_protection.client import AsyncBruteForceProtectionClient, BruteForceProtectionClient
from .captcha.client import AsyncCaptchaClient, CaptchaClient
+ from .phone_provider_protection.client import AsyncPhoneProviderProtectionClient, PhoneProviderProtectionClient
from .suspicious_ip_throttling.client import AsyncSuspiciousIpThrottlingClient, SuspiciousIpThrottlingClient
@@ -26,6 +27,7 @@ def __init__(self, *, client_wrapper: SyncClientWrapper):
self._breached_password_detection: typing.Optional[BreachedPasswordDetectionClient] = None
self._brute_force_protection: typing.Optional[BruteForceProtectionClient] = None
self._captcha: typing.Optional[CaptchaClient] = None
+ self._phone_provider_protection: typing.Optional[PhoneProviderProtectionClient] = None
self._suspicious_ip_throttling: typing.Optional[SuspiciousIpThrottlingClient] = None
@property
@@ -71,6 +73,14 @@ def captcha(self):
self._captcha = CaptchaClient(client_wrapper=self._client_wrapper)
return self._captcha
+ @property
+ def phone_provider_protection(self):
+ if self._phone_provider_protection is None:
+ from .phone_provider_protection.client import PhoneProviderProtectionClient # noqa: E402
+
+ self._phone_provider_protection = PhoneProviderProtectionClient(client_wrapper=self._client_wrapper)
+ return self._phone_provider_protection
+
@property
def suspicious_ip_throttling(self):
if self._suspicious_ip_throttling is None:
@@ -88,6 +98,7 @@ def __init__(self, *, client_wrapper: AsyncClientWrapper):
self._breached_password_detection: typing.Optional[AsyncBreachedPasswordDetectionClient] = None
self._brute_force_protection: typing.Optional[AsyncBruteForceProtectionClient] = None
self._captcha: typing.Optional[AsyncCaptchaClient] = None
+ self._phone_provider_protection: typing.Optional[AsyncPhoneProviderProtectionClient] = None
self._suspicious_ip_throttling: typing.Optional[AsyncSuspiciousIpThrottlingClient] = None
@property
@@ -135,6 +146,14 @@ def captcha(self):
self._captcha = AsyncCaptchaClient(client_wrapper=self._client_wrapper)
return self._captcha
+ @property
+ def phone_provider_protection(self):
+ if self._phone_provider_protection is None:
+ from .phone_provider_protection.client import AsyncPhoneProviderProtectionClient # noqa: E402
+
+ self._phone_provider_protection = AsyncPhoneProviderProtectionClient(client_wrapper=self._client_wrapper)
+ return self._phone_provider_protection
+
@property
def suspicious_ip_throttling(self):
if self._suspicious_ip_throttling is None:
diff --git a/src/auth0/management/attack_protection/phone_provider_protection/__init__.py b/src/auth0/management/attack_protection/phone_provider_protection/__init__.py
new file mode 100644
index 00000000..5cde0202
--- /dev/null
+++ b/src/auth0/management/attack_protection/phone_provider_protection/__init__.py
@@ -0,0 +1,4 @@
+# This file was auto-generated by Fern from our API Definition.
+
+# isort: skip_file
+
diff --git a/src/auth0/management/attack_protection/phone_provider_protection/client.py b/src/auth0/management/attack_protection/phone_provider_protection/client.py
new file mode 100644
index 00000000..e986a922
--- /dev/null
+++ b/src/auth0/management/attack_protection/phone_provider_protection/client.py
@@ -0,0 +1,187 @@
+# 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.get_phone_provider_protection_response_content import GetPhoneProviderProtectionResponseContent
+from ...types.patch_phone_provider_protection_response_content import PatchPhoneProviderProtectionResponseContent
+from ...types.phone_provider_protection_backoff_strategy_enum import PhoneProviderProtectionBackoffStrategyEnum
+from .raw_client import AsyncRawPhoneProviderProtectionClient, RawPhoneProviderProtectionClient
+
+# this is used as the default value for optional parameters
+OMIT = typing.cast(typing.Any, ...)
+
+
+class PhoneProviderProtectionClient:
+ def __init__(self, *, client_wrapper: SyncClientWrapper):
+ self._raw_client = RawPhoneProviderProtectionClient(client_wrapper=client_wrapper)
+
+ @property
+ def with_raw_response(self) -> RawPhoneProviderProtectionClient:
+ """
+ Retrieves a raw implementation of this client that returns raw responses.
+
+ Returns
+ -------
+ RawPhoneProviderProtectionClient
+ """
+ return self._raw_client
+
+ def get(
+ self, *, request_options: typing.Optional[RequestOptions] = None
+ ) -> GetPhoneProviderProtectionResponseContent:
+ """
+ Get the phone provider protection configuration for a tenant.
+
+ Parameters
+ ----------
+ request_options : typing.Optional[RequestOptions]
+ Request-specific configuration.
+
+ Returns
+ -------
+ GetPhoneProviderProtectionResponseContent
+ Phone provider protection configuration successfully retrieved.
+
+ Examples
+ --------
+ from auth0 import Auth0
+
+ client = Auth0(
+ token="YOUR_TOKEN",
+ )
+ client.attack_protection.phone_provider_protection.get()
+ """
+ _response = self._raw_client.get(request_options=request_options)
+ return _response.data
+
+ def patch(
+ self,
+ *,
+ type: PhoneProviderProtectionBackoffStrategyEnum,
+ request_options: typing.Optional[RequestOptions] = None,
+ ) -> PatchPhoneProviderProtectionResponseContent:
+ """
+ Update the phone provider protection configuration for a tenant.
+
+ Parameters
+ ----------
+ type : PhoneProviderProtectionBackoffStrategyEnum
+
+ request_options : typing.Optional[RequestOptions]
+ Request-specific configuration.
+
+ Returns
+ -------
+ PatchPhoneProviderProtectionResponseContent
+ Phone provider protection configuration successfully updated.
+
+ Examples
+ --------
+ from auth0 import Auth0
+
+ client = Auth0(
+ token="YOUR_TOKEN",
+ )
+ client.attack_protection.phone_provider_protection.patch(
+ type="exponential",
+ )
+ """
+ _response = self._raw_client.patch(type=type, request_options=request_options)
+ return _response.data
+
+
+class AsyncPhoneProviderProtectionClient:
+ def __init__(self, *, client_wrapper: AsyncClientWrapper):
+ self._raw_client = AsyncRawPhoneProviderProtectionClient(client_wrapper=client_wrapper)
+
+ @property
+ def with_raw_response(self) -> AsyncRawPhoneProviderProtectionClient:
+ """
+ Retrieves a raw implementation of this client that returns raw responses.
+
+ Returns
+ -------
+ AsyncRawPhoneProviderProtectionClient
+ """
+ return self._raw_client
+
+ async def get(
+ self, *, request_options: typing.Optional[RequestOptions] = None
+ ) -> GetPhoneProviderProtectionResponseContent:
+ """
+ Get the phone provider protection configuration for a tenant.
+
+ Parameters
+ ----------
+ request_options : typing.Optional[RequestOptions]
+ Request-specific configuration.
+
+ Returns
+ -------
+ GetPhoneProviderProtectionResponseContent
+ Phone provider protection configuration successfully retrieved.
+
+ Examples
+ --------
+ import asyncio
+
+ from auth0 import AsyncAuth0
+
+ client = AsyncAuth0(
+ token="YOUR_TOKEN",
+ )
+
+
+ async def main() -> None:
+ await client.attack_protection.phone_provider_protection.get()
+
+
+ asyncio.run(main())
+ """
+ _response = await self._raw_client.get(request_options=request_options)
+ return _response.data
+
+ async def patch(
+ self,
+ *,
+ type: PhoneProviderProtectionBackoffStrategyEnum,
+ request_options: typing.Optional[RequestOptions] = None,
+ ) -> PatchPhoneProviderProtectionResponseContent:
+ """
+ Update the phone provider protection configuration for a tenant.
+
+ Parameters
+ ----------
+ type : PhoneProviderProtectionBackoffStrategyEnum
+
+ request_options : typing.Optional[RequestOptions]
+ Request-specific configuration.
+
+ Returns
+ -------
+ PatchPhoneProviderProtectionResponseContent
+ Phone provider protection configuration successfully updated.
+
+ Examples
+ --------
+ import asyncio
+
+ from auth0 import AsyncAuth0
+
+ client = AsyncAuth0(
+ token="YOUR_TOKEN",
+ )
+
+
+ async def main() -> None:
+ await client.attack_protection.phone_provider_protection.patch(
+ type="exponential",
+ )
+
+
+ asyncio.run(main())
+ """
+ _response = await self._raw_client.patch(type=type, request_options=request_options)
+ return _response.data
diff --git a/src/auth0/management/attack_protection/phone_provider_protection/raw_client.py b/src/auth0/management/attack_protection/phone_provider_protection/raw_client.py
new file mode 100644
index 00000000..afadc7ad
--- /dev/null
+++ b/src/auth0/management/attack_protection/phone_provider_protection/raw_client.py
@@ -0,0 +1,370 @@
+# 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.parse_error import ParsingError
+from ...core.pydantic_utilities import parse_obj_as
+from ...core.request_options import RequestOptions
+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.get_phone_provider_protection_response_content import GetPhoneProviderProtectionResponseContent
+from ...types.patch_phone_provider_protection_response_content import PatchPhoneProviderProtectionResponseContent
+from ...types.phone_provider_protection_backoff_strategy_enum import PhoneProviderProtectionBackoffStrategyEnum
+from pydantic import ValidationError
+
+# this is used as the default value for optional parameters
+OMIT = typing.cast(typing.Any, ...)
+
+
+class RawPhoneProviderProtectionClient:
+ def __init__(self, *, client_wrapper: SyncClientWrapper):
+ self._client_wrapper = client_wrapper
+
+ def get(
+ self, *, request_options: typing.Optional[RequestOptions] = None
+ ) -> HttpResponse[GetPhoneProviderProtectionResponseContent]:
+ """
+ Get the phone provider protection configuration for a tenant.
+
+ Parameters
+ ----------
+ request_options : typing.Optional[RequestOptions]
+ Request-specific configuration.
+
+ Returns
+ -------
+ HttpResponse[GetPhoneProviderProtectionResponseContent]
+ Phone provider protection configuration successfully retrieved.
+ """
+ _response = self._client_wrapper.httpx_client.request(
+ "attack-protection/phone-provider-protection",
+ method="GET",
+ request_options=request_options,
+ )
+ try:
+ if 200 <= _response.status_code < 300:
+ _data = typing.cast(
+ GetPhoneProviderProtectionResponseContent,
+ parse_obj_as(
+ type_=GetPhoneProviderProtectionResponseContent, # 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 patch(
+ self,
+ *,
+ type: PhoneProviderProtectionBackoffStrategyEnum,
+ request_options: typing.Optional[RequestOptions] = None,
+ ) -> HttpResponse[PatchPhoneProviderProtectionResponseContent]:
+ """
+ Update the phone provider protection configuration for a tenant.
+
+ Parameters
+ ----------
+ type : PhoneProviderProtectionBackoffStrategyEnum
+
+ request_options : typing.Optional[RequestOptions]
+ Request-specific configuration.
+
+ Returns
+ -------
+ HttpResponse[PatchPhoneProviderProtectionResponseContent]
+ Phone provider protection configuration successfully updated.
+ """
+ _response = self._client_wrapper.httpx_client.request(
+ "attack-protection/phone-provider-protection",
+ method="PATCH",
+ json={
+ "type": type,
+ },
+ headers={
+ "content-type": "application/json",
+ },
+ request_options=request_options,
+ omit=OMIT,
+ )
+ try:
+ if 200 <= _response.status_code < 300:
+ _data = typing.cast(
+ PatchPhoneProviderProtectionResponseContent,
+ parse_obj_as(
+ type_=PatchPhoneProviderProtectionResponseContent, # 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 == 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 AsyncRawPhoneProviderProtectionClient:
+ def __init__(self, *, client_wrapper: AsyncClientWrapper):
+ self._client_wrapper = client_wrapper
+
+ async def get(
+ self, *, request_options: typing.Optional[RequestOptions] = None
+ ) -> AsyncHttpResponse[GetPhoneProviderProtectionResponseContent]:
+ """
+ Get the phone provider protection configuration for a tenant.
+
+ Parameters
+ ----------
+ request_options : typing.Optional[RequestOptions]
+ Request-specific configuration.
+
+ Returns
+ -------
+ AsyncHttpResponse[GetPhoneProviderProtectionResponseContent]
+ Phone provider protection configuration successfully retrieved.
+ """
+ _response = await self._client_wrapper.httpx_client.request(
+ "attack-protection/phone-provider-protection",
+ method="GET",
+ request_options=request_options,
+ )
+ try:
+ if 200 <= _response.status_code < 300:
+ _data = typing.cast(
+ GetPhoneProviderProtectionResponseContent,
+ parse_obj_as(
+ type_=GetPhoneProviderProtectionResponseContent, # 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 patch(
+ self,
+ *,
+ type: PhoneProviderProtectionBackoffStrategyEnum,
+ request_options: typing.Optional[RequestOptions] = None,
+ ) -> AsyncHttpResponse[PatchPhoneProviderProtectionResponseContent]:
+ """
+ Update the phone provider protection configuration for a tenant.
+
+ Parameters
+ ----------
+ type : PhoneProviderProtectionBackoffStrategyEnum
+
+ request_options : typing.Optional[RequestOptions]
+ Request-specific configuration.
+
+ Returns
+ -------
+ AsyncHttpResponse[PatchPhoneProviderProtectionResponseContent]
+ Phone provider protection configuration successfully updated.
+ """
+ _response = await self._client_wrapper.httpx_client.request(
+ "attack-protection/phone-provider-protection",
+ method="PATCH",
+ json={
+ "type": type,
+ },
+ headers={
+ "content-type": "application/json",
+ },
+ request_options=request_options,
+ omit=OMIT,
+ )
+ try:
+ if 200 <= _response.status_code < 300:
+ _data = typing.cast(
+ PatchPhoneProviderProtectionResponseContent,
+ parse_obj_as(
+ type_=PatchPhoneProviderProtectionResponseContent, # 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 == 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/src/auth0/management/clients/client.py b/src/auth0/management/clients/client.py
index de4ee08f..c5848d9b 100644
--- a/src/auth0/management/clients/client.py
+++ b/src/auth0/management/clients/client.py
@@ -42,14 +42,20 @@
from ..types.client_token_endpoint_auth_method_or_null_enum import ClientTokenEndpointAuthMethodOrNullEnum
from ..types.client_token_exchange_configuration import ClientTokenExchangeConfiguration
from ..types.client_token_exchange_configuration_or_null import ClientTokenExchangeConfigurationOrNull
+from ..types.client_token_vault_privileged_access_with_credential_id import (
+ ClientTokenVaultPrivilegedAccessWithCredentialId,
+)
+from ..types.client_token_vault_privileged_access_with_public_key import ClientTokenVaultPrivilegedAccessWithPublicKey
from ..types.create_client_response_content import CreateClientResponseContent
from ..types.create_token_quota import CreateTokenQuota
from ..types.express_configuration import ExpressConfiguration
from ..types.express_configuration_or_null import ExpressConfigurationOrNull
from ..types.fed_cm_login import FedCmLogin
+from ..types.fed_cm_login_patch import FedCmLoginPatch
from ..types.get_client_response_content import GetClientResponseContent
from ..types.list_clients_offset_paginated_response_content import ListClientsOffsetPaginatedResponseContent
from ..types.native_social_login import NativeSocialLogin
+from ..types.native_social_login_patch import NativeSocialLoginPatch
from ..types.preview_cimd_metadata_response_content import PreviewCimdMetadataResponseContent
from ..types.register_cimd_client_response_content import RegisterCimdClientResponseContent
from ..types.rotate_client_secret_response_content import RotateClientSecretResponseContent
@@ -249,6 +255,7 @@ def create(
require_pushed_authorization_requests: typing.Optional[bool] = OMIT,
require_proof_of_possession: typing.Optional[bool] = OMIT,
signed_request_object: typing.Optional[ClientSignedRequestObjectWithPublicKey] = OMIT,
+ token_vault_privileged_access: typing.Optional[ClientTokenVaultPrivilegedAccessWithPublicKey] = OMIT,
compliance_level: typing.Optional[ClientComplianceLevelEnum] = OMIT,
skip_non_verifiable_callback_uri_confirmation_prompt: typing.Optional[bool] = OMIT,
token_exchange: typing.Optional[ClientTokenExchangeConfiguration] = OMIT,
@@ -394,6 +401,8 @@ def create(
signed_request_object : typing.Optional[ClientSignedRequestObjectWithPublicKey]
+ token_vault_privileged_access : typing.Optional[ClientTokenVaultPrivilegedAccessWithPublicKey]
+
compliance_level : typing.Optional[ClientComplianceLevelEnum]
skip_non_verifiable_callback_uri_confirmation_prompt : typing.Optional[bool]
@@ -484,6 +493,7 @@ def create(
require_pushed_authorization_requests=require_pushed_authorization_requests,
require_proof_of_possession=require_proof_of_possession,
signed_request_object=signed_request_object,
+ token_vault_privileged_access=token_vault_privileged_access,
compliance_level=compliance_level,
skip_non_verifiable_callback_uri_confirmation_prompt=skip_non_verifiable_callback_uri_confirmation_prompt,
token_exchange=token_exchange,
@@ -722,8 +732,8 @@ def update(
client_metadata: typing.Optional[ClientMetadata] = OMIT,
mobile: typing.Optional[ClientMobile] = OMIT,
initiate_login_uri: typing.Optional[str] = OMIT,
- native_social_login: typing.Optional[NativeSocialLogin] = OMIT,
- fedcm_login: typing.Optional[FedCmLogin] = OMIT,
+ native_social_login: typing.Optional[NativeSocialLoginPatch] = OMIT,
+ fedcm_login: typing.Optional[FedCmLoginPatch] = OMIT,
refresh_token: typing.Optional[ClientRefreshTokenConfiguration] = OMIT,
default_organization: typing.Optional[ClientDefaultOrganization] = OMIT,
organization_usage: typing.Optional[ClientOrganizationUsagePatchEnum] = OMIT,
@@ -733,6 +743,7 @@ def update(
require_pushed_authorization_requests: typing.Optional[bool] = OMIT,
require_proof_of_possession: typing.Optional[bool] = OMIT,
signed_request_object: typing.Optional[ClientSignedRequestObjectWithCredentialId] = OMIT,
+ token_vault_privileged_access: typing.Optional[ClientTokenVaultPrivilegedAccessWithCredentialId] = OMIT,
compliance_level: typing.Optional[ClientComplianceLevelEnum] = OMIT,
skip_non_verifiable_callback_uri_confirmation_prompt: typing.Optional[bool] = OMIT,
token_exchange: typing.Optional[ClientTokenExchangeConfigurationOrNull] = OMIT,
@@ -856,9 +867,9 @@ def update(
initiate_login_uri : typing.Optional[str]
Initiate login uri, must be https
- native_social_login : typing.Optional[NativeSocialLogin]
+ native_social_login : typing.Optional[NativeSocialLoginPatch]
- fedcm_login : typing.Optional[FedCmLogin]
+ fedcm_login : typing.Optional[FedCmLoginPatch]
refresh_token : typing.Optional[ClientRefreshTokenConfiguration]
@@ -881,6 +892,8 @@ def update(
signed_request_object : typing.Optional[ClientSignedRequestObjectWithCredentialId]
+ token_vault_privileged_access : typing.Optional[ClientTokenVaultPrivilegedAccessWithCredentialId]
+
compliance_level : typing.Optional[ClientComplianceLevelEnum]
skip_non_verifiable_callback_uri_confirmation_prompt : typing.Optional[bool]
@@ -969,6 +982,7 @@ def update(
require_pushed_authorization_requests=require_pushed_authorization_requests,
require_proof_of_possession=require_proof_of_possession,
signed_request_object=signed_request_object,
+ token_vault_privileged_access=token_vault_privileged_access,
compliance_level=compliance_level,
skip_non_verifiable_callback_uri_confirmation_prompt=skip_non_verifiable_callback_uri_confirmation_prompt,
token_exchange=token_exchange,
@@ -1230,6 +1244,7 @@ async def create(
require_pushed_authorization_requests: typing.Optional[bool] = OMIT,
require_proof_of_possession: typing.Optional[bool] = OMIT,
signed_request_object: typing.Optional[ClientSignedRequestObjectWithPublicKey] = OMIT,
+ token_vault_privileged_access: typing.Optional[ClientTokenVaultPrivilegedAccessWithPublicKey] = OMIT,
compliance_level: typing.Optional[ClientComplianceLevelEnum] = OMIT,
skip_non_verifiable_callback_uri_confirmation_prompt: typing.Optional[bool] = OMIT,
token_exchange: typing.Optional[ClientTokenExchangeConfiguration] = OMIT,
@@ -1375,6 +1390,8 @@ async def create(
signed_request_object : typing.Optional[ClientSignedRequestObjectWithPublicKey]
+ token_vault_privileged_access : typing.Optional[ClientTokenVaultPrivilegedAccessWithPublicKey]
+
compliance_level : typing.Optional[ClientComplianceLevelEnum]
skip_non_verifiable_callback_uri_confirmation_prompt : typing.Optional[bool]
@@ -1473,6 +1490,7 @@ async def main() -> None:
require_pushed_authorization_requests=require_pushed_authorization_requests,
require_proof_of_possession=require_proof_of_possession,
signed_request_object=signed_request_object,
+ token_vault_privileged_access=token_vault_privileged_access,
compliance_level=compliance_level,
skip_non_verifiable_callback_uri_confirmation_prompt=skip_non_verifiable_callback_uri_confirmation_prompt,
token_exchange=token_exchange,
@@ -1743,8 +1761,8 @@ async def update(
client_metadata: typing.Optional[ClientMetadata] = OMIT,
mobile: typing.Optional[ClientMobile] = OMIT,
initiate_login_uri: typing.Optional[str] = OMIT,
- native_social_login: typing.Optional[NativeSocialLogin] = OMIT,
- fedcm_login: typing.Optional[FedCmLogin] = OMIT,
+ native_social_login: typing.Optional[NativeSocialLoginPatch] = OMIT,
+ fedcm_login: typing.Optional[FedCmLoginPatch] = OMIT,
refresh_token: typing.Optional[ClientRefreshTokenConfiguration] = OMIT,
default_organization: typing.Optional[ClientDefaultOrganization] = OMIT,
organization_usage: typing.Optional[ClientOrganizationUsagePatchEnum] = OMIT,
@@ -1754,6 +1772,7 @@ async def update(
require_pushed_authorization_requests: typing.Optional[bool] = OMIT,
require_proof_of_possession: typing.Optional[bool] = OMIT,
signed_request_object: typing.Optional[ClientSignedRequestObjectWithCredentialId] = OMIT,
+ token_vault_privileged_access: typing.Optional[ClientTokenVaultPrivilegedAccessWithCredentialId] = OMIT,
compliance_level: typing.Optional[ClientComplianceLevelEnum] = OMIT,
skip_non_verifiable_callback_uri_confirmation_prompt: typing.Optional[bool] = OMIT,
token_exchange: typing.Optional[ClientTokenExchangeConfigurationOrNull] = OMIT,
@@ -1877,9 +1896,9 @@ async def update(
initiate_login_uri : typing.Optional[str]
Initiate login uri, must be https
- native_social_login : typing.Optional[NativeSocialLogin]
+ native_social_login : typing.Optional[NativeSocialLoginPatch]
- fedcm_login : typing.Optional[FedCmLogin]
+ fedcm_login : typing.Optional[FedCmLoginPatch]
refresh_token : typing.Optional[ClientRefreshTokenConfiguration]
@@ -1902,6 +1921,8 @@ async def update(
signed_request_object : typing.Optional[ClientSignedRequestObjectWithCredentialId]
+ token_vault_privileged_access : typing.Optional[ClientTokenVaultPrivilegedAccessWithCredentialId]
+
compliance_level : typing.Optional[ClientComplianceLevelEnum]
skip_non_verifiable_callback_uri_confirmation_prompt : typing.Optional[bool]
@@ -1998,6 +2019,7 @@ async def main() -> None:
require_pushed_authorization_requests=require_pushed_authorization_requests,
require_proof_of_possession=require_proof_of_possession,
signed_request_object=signed_request_object,
+ token_vault_privileged_access=token_vault_privileged_access,
compliance_level=compliance_level,
skip_non_verifiable_callback_uri_confirmation_prompt=skip_non_verifiable_callback_uri_confirmation_prompt,
token_exchange=token_exchange,
diff --git a/src/auth0/management/clients/raw_client.py b/src/auth0/management/clients/raw_client.py
index 65e8927f..b6580517 100644
--- a/src/auth0/management/clients/raw_client.py
+++ b/src/auth0/management/clients/raw_client.py
@@ -54,14 +54,20 @@
from ..types.client_token_endpoint_auth_method_or_null_enum import ClientTokenEndpointAuthMethodOrNullEnum
from ..types.client_token_exchange_configuration import ClientTokenExchangeConfiguration
from ..types.client_token_exchange_configuration_or_null import ClientTokenExchangeConfigurationOrNull
+from ..types.client_token_vault_privileged_access_with_credential_id import (
+ ClientTokenVaultPrivilegedAccessWithCredentialId,
+)
+from ..types.client_token_vault_privileged_access_with_public_key import ClientTokenVaultPrivilegedAccessWithPublicKey
from ..types.create_client_response_content import CreateClientResponseContent
from ..types.create_token_quota import CreateTokenQuota
from ..types.express_configuration import ExpressConfiguration
from ..types.express_configuration_or_null import ExpressConfigurationOrNull
from ..types.fed_cm_login import FedCmLogin
+from ..types.fed_cm_login_patch import FedCmLoginPatch
from ..types.get_client_response_content import GetClientResponseContent
from ..types.list_clients_offset_paginated_response_content import ListClientsOffsetPaginatedResponseContent
from ..types.native_social_login import NativeSocialLogin
+from ..types.native_social_login_patch import NativeSocialLoginPatch
from ..types.preview_cimd_metadata_response_content import PreviewCimdMetadataResponseContent
from ..types.register_cimd_client_response_content import RegisterCimdClientResponseContent
from ..types.rotate_client_secret_response_content import RotateClientSecretResponseContent
@@ -302,6 +308,7 @@ def create(
require_pushed_authorization_requests: typing.Optional[bool] = OMIT,
require_proof_of_possession: typing.Optional[bool] = OMIT,
signed_request_object: typing.Optional[ClientSignedRequestObjectWithPublicKey] = OMIT,
+ token_vault_privileged_access: typing.Optional[ClientTokenVaultPrivilegedAccessWithPublicKey] = OMIT,
compliance_level: typing.Optional[ClientComplianceLevelEnum] = OMIT,
skip_non_verifiable_callback_uri_confirmation_prompt: typing.Optional[bool] = OMIT,
token_exchange: typing.Optional[ClientTokenExchangeConfiguration] = OMIT,
@@ -447,6 +454,8 @@ def create(
signed_request_object : typing.Optional[ClientSignedRequestObjectWithPublicKey]
+ token_vault_privileged_access : typing.Optional[ClientTokenVaultPrivilegedAccessWithPublicKey]
+
compliance_level : typing.Optional[ClientComplianceLevelEnum]
skip_non_verifiable_callback_uri_confirmation_prompt : typing.Optional[bool]
@@ -563,6 +572,11 @@ def create(
"signed_request_object": convert_and_respect_annotation_metadata(
object_=signed_request_object, annotation=ClientSignedRequestObjectWithPublicKey, direction="write"
),
+ "token_vault_privileged_access": convert_and_respect_annotation_metadata(
+ object_=token_vault_privileged_access,
+ annotation=ClientTokenVaultPrivilegedAccessWithPublicKey,
+ direction="write",
+ ),
"compliance_level": compliance_level,
"skip_non_verifiable_callback_uri_confirmation_prompt": skip_non_verifiable_callback_uri_confirmation_prompt,
"token_exchange": convert_and_respect_annotation_metadata(
@@ -634,6 +648,17 @@ def create(
),
),
)
+ 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 == 409:
raise ConflictError(
headers=dict(_response.headers),
@@ -1140,8 +1165,8 @@ def update(
client_metadata: typing.Optional[ClientMetadata] = OMIT,
mobile: typing.Optional[ClientMobile] = OMIT,
initiate_login_uri: typing.Optional[str] = OMIT,
- native_social_login: typing.Optional[NativeSocialLogin] = OMIT,
- fedcm_login: typing.Optional[FedCmLogin] = OMIT,
+ native_social_login: typing.Optional[NativeSocialLoginPatch] = OMIT,
+ fedcm_login: typing.Optional[FedCmLoginPatch] = OMIT,
refresh_token: typing.Optional[ClientRefreshTokenConfiguration] = OMIT,
default_organization: typing.Optional[ClientDefaultOrganization] = OMIT,
organization_usage: typing.Optional[ClientOrganizationUsagePatchEnum] = OMIT,
@@ -1151,6 +1176,7 @@ def update(
require_pushed_authorization_requests: typing.Optional[bool] = OMIT,
require_proof_of_possession: typing.Optional[bool] = OMIT,
signed_request_object: typing.Optional[ClientSignedRequestObjectWithCredentialId] = OMIT,
+ token_vault_privileged_access: typing.Optional[ClientTokenVaultPrivilegedAccessWithCredentialId] = OMIT,
compliance_level: typing.Optional[ClientComplianceLevelEnum] = OMIT,
skip_non_verifiable_callback_uri_confirmation_prompt: typing.Optional[bool] = OMIT,
token_exchange: typing.Optional[ClientTokenExchangeConfigurationOrNull] = OMIT,
@@ -1274,9 +1300,9 @@ def update(
initiate_login_uri : typing.Optional[str]
Initiate login uri, must be https
- native_social_login : typing.Optional[NativeSocialLogin]
+ native_social_login : typing.Optional[NativeSocialLoginPatch]
- fedcm_login : typing.Optional[FedCmLogin]
+ fedcm_login : typing.Optional[FedCmLoginPatch]
refresh_token : typing.Optional[ClientRefreshTokenConfiguration]
@@ -1299,6 +1325,8 @@ def update(
signed_request_object : typing.Optional[ClientSignedRequestObjectWithCredentialId]
+ token_vault_privileged_access : typing.Optional[ClientTokenVaultPrivilegedAccessWithCredentialId]
+
compliance_level : typing.Optional[ClientComplianceLevelEnum]
skip_non_verifiable_callback_uri_confirmation_prompt : typing.Optional[bool]
@@ -1386,10 +1414,10 @@ def update(
),
"initiate_login_uri": initiate_login_uri,
"native_social_login": convert_and_respect_annotation_metadata(
- object_=native_social_login, annotation=NativeSocialLogin, direction="write"
+ object_=native_social_login, annotation=typing.Optional[NativeSocialLoginPatch], direction="write"
),
"fedcm_login": convert_and_respect_annotation_metadata(
- object_=fedcm_login, annotation=FedCmLogin, direction="write"
+ object_=fedcm_login, annotation=typing.Optional[FedCmLoginPatch], direction="write"
),
"refresh_token": convert_and_respect_annotation_metadata(
object_=refresh_token,
@@ -1416,6 +1444,11 @@ def update(
annotation=ClientSignedRequestObjectWithCredentialId,
direction="write",
),
+ "token_vault_privileged_access": convert_and_respect_annotation_metadata(
+ object_=token_vault_privileged_access,
+ annotation=ClientTokenVaultPrivilegedAccessWithCredentialId,
+ direction="write",
+ ),
"compliance_level": compliance_level,
"skip_non_verifiable_callback_uri_confirmation_prompt": skip_non_verifiable_callback_uri_confirmation_prompt,
"token_exchange": convert_and_respect_annotation_metadata(
@@ -1853,6 +1886,7 @@ async def create(
require_pushed_authorization_requests: typing.Optional[bool] = OMIT,
require_proof_of_possession: typing.Optional[bool] = OMIT,
signed_request_object: typing.Optional[ClientSignedRequestObjectWithPublicKey] = OMIT,
+ token_vault_privileged_access: typing.Optional[ClientTokenVaultPrivilegedAccessWithPublicKey] = OMIT,
compliance_level: typing.Optional[ClientComplianceLevelEnum] = OMIT,
skip_non_verifiable_callback_uri_confirmation_prompt: typing.Optional[bool] = OMIT,
token_exchange: typing.Optional[ClientTokenExchangeConfiguration] = OMIT,
@@ -1998,6 +2032,8 @@ async def create(
signed_request_object : typing.Optional[ClientSignedRequestObjectWithPublicKey]
+ token_vault_privileged_access : typing.Optional[ClientTokenVaultPrivilegedAccessWithPublicKey]
+
compliance_level : typing.Optional[ClientComplianceLevelEnum]
skip_non_verifiable_callback_uri_confirmation_prompt : typing.Optional[bool]
@@ -2114,6 +2150,11 @@ async def create(
"signed_request_object": convert_and_respect_annotation_metadata(
object_=signed_request_object, annotation=ClientSignedRequestObjectWithPublicKey, direction="write"
),
+ "token_vault_privileged_access": convert_and_respect_annotation_metadata(
+ object_=token_vault_privileged_access,
+ annotation=ClientTokenVaultPrivilegedAccessWithPublicKey,
+ direction="write",
+ ),
"compliance_level": compliance_level,
"skip_non_verifiable_callback_uri_confirmation_prompt": skip_non_verifiable_callback_uri_confirmation_prompt,
"token_exchange": convert_and_respect_annotation_metadata(
@@ -2185,6 +2226,17 @@ async def create(
),
),
)
+ 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 == 409:
raise ConflictError(
headers=dict(_response.headers),
@@ -2693,8 +2745,8 @@ async def update(
client_metadata: typing.Optional[ClientMetadata] = OMIT,
mobile: typing.Optional[ClientMobile] = OMIT,
initiate_login_uri: typing.Optional[str] = OMIT,
- native_social_login: typing.Optional[NativeSocialLogin] = OMIT,
- fedcm_login: typing.Optional[FedCmLogin] = OMIT,
+ native_social_login: typing.Optional[NativeSocialLoginPatch] = OMIT,
+ fedcm_login: typing.Optional[FedCmLoginPatch] = OMIT,
refresh_token: typing.Optional[ClientRefreshTokenConfiguration] = OMIT,
default_organization: typing.Optional[ClientDefaultOrganization] = OMIT,
organization_usage: typing.Optional[ClientOrganizationUsagePatchEnum] = OMIT,
@@ -2704,6 +2756,7 @@ async def update(
require_pushed_authorization_requests: typing.Optional[bool] = OMIT,
require_proof_of_possession: typing.Optional[bool] = OMIT,
signed_request_object: typing.Optional[ClientSignedRequestObjectWithCredentialId] = OMIT,
+ token_vault_privileged_access: typing.Optional[ClientTokenVaultPrivilegedAccessWithCredentialId] = OMIT,
compliance_level: typing.Optional[ClientComplianceLevelEnum] = OMIT,
skip_non_verifiable_callback_uri_confirmation_prompt: typing.Optional[bool] = OMIT,
token_exchange: typing.Optional[ClientTokenExchangeConfigurationOrNull] = OMIT,
@@ -2827,9 +2880,9 @@ async def update(
initiate_login_uri : typing.Optional[str]
Initiate login uri, must be https
- native_social_login : typing.Optional[NativeSocialLogin]
+ native_social_login : typing.Optional[NativeSocialLoginPatch]
- fedcm_login : typing.Optional[FedCmLogin]
+ fedcm_login : typing.Optional[FedCmLoginPatch]
refresh_token : typing.Optional[ClientRefreshTokenConfiguration]
@@ -2852,6 +2905,8 @@ async def update(
signed_request_object : typing.Optional[ClientSignedRequestObjectWithCredentialId]
+ token_vault_privileged_access : typing.Optional[ClientTokenVaultPrivilegedAccessWithCredentialId]
+
compliance_level : typing.Optional[ClientComplianceLevelEnum]
skip_non_verifiable_callback_uri_confirmation_prompt : typing.Optional[bool]
@@ -2939,10 +2994,10 @@ async def update(
),
"initiate_login_uri": initiate_login_uri,
"native_social_login": convert_and_respect_annotation_metadata(
- object_=native_social_login, annotation=NativeSocialLogin, direction="write"
+ object_=native_social_login, annotation=typing.Optional[NativeSocialLoginPatch], direction="write"
),
"fedcm_login": convert_and_respect_annotation_metadata(
- object_=fedcm_login, annotation=FedCmLogin, direction="write"
+ object_=fedcm_login, annotation=typing.Optional[FedCmLoginPatch], direction="write"
),
"refresh_token": convert_and_respect_annotation_metadata(
object_=refresh_token,
@@ -2969,6 +3024,11 @@ async def update(
annotation=ClientSignedRequestObjectWithCredentialId,
direction="write",
),
+ "token_vault_privileged_access": convert_and_respect_annotation_metadata(
+ object_=token_vault_privileged_access,
+ annotation=ClientTokenVaultPrivilegedAccessWithCredentialId,
+ direction="write",
+ ),
"compliance_level": compliance_level,
"skip_non_verifiable_callback_uri_confirmation_prompt": skip_non_verifiable_callback_uri_confirmation_prompt,
"token_exchange": convert_and_respect_annotation_metadata(
diff --git a/src/auth0/management/connections/client.py b/src/auth0/management/connections/client.py
index d1a56085..8a7c2567 100644
--- a/src/auth0/management/connections/client.py
+++ b/src/auth0/management/connections/client.py
@@ -15,6 +15,7 @@
from ..types.connection_strategy_enum import ConnectionStrategyEnum
from ..types.connections_metadata import ConnectionsMetadata
from ..types.create_connection_response_content import CreateConnectionResponseContent
+from ..types.cross_app_access_requesting_app import CrossAppAccessRequestingApp
from ..types.get_connection_response_content import GetConnectionResponseContent
from ..types.list_connections_checkpoint_paginated_response_content import (
ListConnectionsCheckpointPaginatedResponseContent,
@@ -157,6 +158,7 @@ def create(
metadata: typing.Optional[ConnectionsMetadata] = OMIT,
authentication: typing.Optional[ConnectionAuthenticationPurpose] = OMIT,
connected_accounts: typing.Optional[ConnectionConnectedAccountsPurpose] = OMIT,
+ cross_app_access_requesting_app: typing.Optional[CrossAppAccessRequestingApp] = OMIT,
request_options: typing.Optional[RequestOptions] = None,
) -> CreateConnectionResponseContent:
"""
@@ -194,6 +196,8 @@ def create(
connected_accounts : typing.Optional[ConnectionConnectedAccountsPurpose]
+ cross_app_access_requesting_app : typing.Optional[CrossAppAccessRequestingApp]
+
request_options : typing.Optional[RequestOptions]
Request-specific configuration.
@@ -226,6 +230,7 @@ def create(
metadata=metadata,
authentication=authentication,
connected_accounts=connected_accounts,
+ cross_app_access_requesting_app=cross_app_access_requesting_app,
request_options=request_options,
)
return _response.data
@@ -323,6 +328,7 @@ def update(
metadata: typing.Optional[ConnectionsMetadata] = OMIT,
authentication: typing.Optional[ConnectionAuthenticationPurpose] = OMIT,
connected_accounts: typing.Optional[ConnectionConnectedAccountsPurpose] = OMIT,
+ cross_app_access_requesting_app: typing.Optional[CrossAppAccessRequestingApp] = OMIT,
request_options: typing.Optional[RequestOptions] = None,
) -> UpdateConnectionResponseContent:
"""
@@ -358,6 +364,8 @@ def update(
connected_accounts : typing.Optional[ConnectionConnectedAccountsPurpose]
+ cross_app_access_requesting_app : typing.Optional[CrossAppAccessRequestingApp]
+
request_options : typing.Optional[RequestOptions]
Request-specific configuration.
@@ -388,6 +396,7 @@ def update(
metadata=metadata,
authentication=authentication,
connected_accounts=connected_accounts,
+ cross_app_access_requesting_app=cross_app_access_requesting_app,
request_options=request_options,
)
return _response.data
@@ -596,6 +605,7 @@ async def create(
metadata: typing.Optional[ConnectionsMetadata] = OMIT,
authentication: typing.Optional[ConnectionAuthenticationPurpose] = OMIT,
connected_accounts: typing.Optional[ConnectionConnectedAccountsPurpose] = OMIT,
+ cross_app_access_requesting_app: typing.Optional[CrossAppAccessRequestingApp] = OMIT,
request_options: typing.Optional[RequestOptions] = None,
) -> CreateConnectionResponseContent:
"""
@@ -633,6 +643,8 @@ async def create(
connected_accounts : typing.Optional[ConnectionConnectedAccountsPurpose]
+ cross_app_access_requesting_app : typing.Optional[CrossAppAccessRequestingApp]
+
request_options : typing.Optional[RequestOptions]
Request-specific configuration.
@@ -673,6 +685,7 @@ async def main() -> None:
metadata=metadata,
authentication=authentication,
connected_accounts=connected_accounts,
+ cross_app_access_requesting_app=cross_app_access_requesting_app,
request_options=request_options,
)
return _response.data
@@ -786,6 +799,7 @@ async def update(
metadata: typing.Optional[ConnectionsMetadata] = OMIT,
authentication: typing.Optional[ConnectionAuthenticationPurpose] = OMIT,
connected_accounts: typing.Optional[ConnectionConnectedAccountsPurpose] = OMIT,
+ cross_app_access_requesting_app: typing.Optional[CrossAppAccessRequestingApp] = OMIT,
request_options: typing.Optional[RequestOptions] = None,
) -> UpdateConnectionResponseContent:
"""
@@ -821,6 +835,8 @@ async def update(
connected_accounts : typing.Optional[ConnectionConnectedAccountsPurpose]
+ cross_app_access_requesting_app : typing.Optional[CrossAppAccessRequestingApp]
+
request_options : typing.Optional[RequestOptions]
Request-specific configuration.
@@ -859,6 +875,7 @@ async def main() -> None:
metadata=metadata,
authentication=authentication,
connected_accounts=connected_accounts,
+ cross_app_access_requesting_app=cross_app_access_requesting_app,
request_options=request_options,
)
return _response.data
diff --git a/src/auth0/management/connections/raw_client.py b/src/auth0/management/connections/raw_client.py
index 5f86221c..ff6597a3 100644
--- a/src/auth0/management/connections/raw_client.py
+++ b/src/auth0/management/connections/raw_client.py
@@ -26,6 +26,7 @@
from ..types.connection_strategy_enum import ConnectionStrategyEnum
from ..types.connections_metadata import ConnectionsMetadata
from ..types.create_connection_response_content import CreateConnectionResponseContent
+from ..types.cross_app_access_requesting_app import CrossAppAccessRequestingApp
from ..types.get_connection_response_content import GetConnectionResponseContent
from ..types.list_connections_checkpoint_paginated_response_content import (
ListConnectionsCheckpointPaginatedResponseContent,
@@ -202,6 +203,7 @@ def create(
metadata: typing.Optional[ConnectionsMetadata] = OMIT,
authentication: typing.Optional[ConnectionAuthenticationPurpose] = OMIT,
connected_accounts: typing.Optional[ConnectionConnectedAccountsPurpose] = OMIT,
+ cross_app_access_requesting_app: typing.Optional[CrossAppAccessRequestingApp] = OMIT,
request_options: typing.Optional[RequestOptions] = None,
) -> HttpResponse[CreateConnectionResponseContent]:
"""
@@ -239,6 +241,8 @@ def create(
connected_accounts : typing.Optional[ConnectionConnectedAccountsPurpose]
+ cross_app_access_requesting_app : typing.Optional[CrossAppAccessRequestingApp]
+
request_options : typing.Optional[RequestOptions]
Request-specific configuration.
@@ -268,6 +272,9 @@ def create(
"connected_accounts": convert_and_respect_annotation_metadata(
object_=connected_accounts, annotation=ConnectionConnectedAccountsPurpose, direction="write"
),
+ "cross_app_access_requesting_app": convert_and_respect_annotation_metadata(
+ object_=cross_app_access_requesting_app, annotation=CrossAppAccessRequestingApp, direction="write"
+ ),
},
headers={
"content-type": "application/json",
@@ -554,6 +561,7 @@ def update(
metadata: typing.Optional[ConnectionsMetadata] = OMIT,
authentication: typing.Optional[ConnectionAuthenticationPurpose] = OMIT,
connected_accounts: typing.Optional[ConnectionConnectedAccountsPurpose] = OMIT,
+ cross_app_access_requesting_app: typing.Optional[CrossAppAccessRequestingApp] = OMIT,
request_options: typing.Optional[RequestOptions] = None,
) -> HttpResponse[UpdateConnectionResponseContent]:
"""
@@ -589,6 +597,8 @@ def update(
connected_accounts : typing.Optional[ConnectionConnectedAccountsPurpose]
+ cross_app_access_requesting_app : typing.Optional[CrossAppAccessRequestingApp]
+
request_options : typing.Optional[RequestOptions]
Request-specific configuration.
@@ -616,6 +626,9 @@ def update(
"connected_accounts": convert_and_respect_annotation_metadata(
object_=connected_accounts, annotation=ConnectionConnectedAccountsPurpose, direction="write"
),
+ "cross_app_access_requesting_app": convert_and_respect_annotation_metadata(
+ object_=cross_app_access_requesting_app, annotation=CrossAppAccessRequestingApp, direction="write"
+ ),
},
headers={
"content-type": "application/json",
@@ -964,6 +977,7 @@ async def create(
metadata: typing.Optional[ConnectionsMetadata] = OMIT,
authentication: typing.Optional[ConnectionAuthenticationPurpose] = OMIT,
connected_accounts: typing.Optional[ConnectionConnectedAccountsPurpose] = OMIT,
+ cross_app_access_requesting_app: typing.Optional[CrossAppAccessRequestingApp] = OMIT,
request_options: typing.Optional[RequestOptions] = None,
) -> AsyncHttpResponse[CreateConnectionResponseContent]:
"""
@@ -1001,6 +1015,8 @@ async def create(
connected_accounts : typing.Optional[ConnectionConnectedAccountsPurpose]
+ cross_app_access_requesting_app : typing.Optional[CrossAppAccessRequestingApp]
+
request_options : typing.Optional[RequestOptions]
Request-specific configuration.
@@ -1030,6 +1046,9 @@ async def create(
"connected_accounts": convert_and_respect_annotation_metadata(
object_=connected_accounts, annotation=ConnectionConnectedAccountsPurpose, direction="write"
),
+ "cross_app_access_requesting_app": convert_and_respect_annotation_metadata(
+ object_=cross_app_access_requesting_app, annotation=CrossAppAccessRequestingApp, direction="write"
+ ),
},
headers={
"content-type": "application/json",
@@ -1318,6 +1337,7 @@ async def update(
metadata: typing.Optional[ConnectionsMetadata] = OMIT,
authentication: typing.Optional[ConnectionAuthenticationPurpose] = OMIT,
connected_accounts: typing.Optional[ConnectionConnectedAccountsPurpose] = OMIT,
+ cross_app_access_requesting_app: typing.Optional[CrossAppAccessRequestingApp] = OMIT,
request_options: typing.Optional[RequestOptions] = None,
) -> AsyncHttpResponse[UpdateConnectionResponseContent]:
"""
@@ -1353,6 +1373,8 @@ async def update(
connected_accounts : typing.Optional[ConnectionConnectedAccountsPurpose]
+ cross_app_access_requesting_app : typing.Optional[CrossAppAccessRequestingApp]
+
request_options : typing.Optional[RequestOptions]
Request-specific configuration.
@@ -1380,6 +1402,9 @@ async def update(
"connected_accounts": convert_and_respect_annotation_metadata(
object_=connected_accounts, annotation=ConnectionConnectedAccountsPurpose, direction="write"
),
+ "cross_app_access_requesting_app": convert_and_respect_annotation_metadata(
+ object_=cross_app_access_requesting_app, annotation=CrossAppAccessRequestingApp, direction="write"
+ ),
},
headers={
"content-type": "application/json",
diff --git a/src/auth0/management/email_templates/client.py b/src/auth0/management/email_templates/client.py
index 8c204426..4f8cccf6 100644
--- a/src/auth0/management/email_templates/client.py
+++ b/src/auth0/management/email_templates/client.py
@@ -112,12 +112,12 @@ def get(
self, template_name: EmailTemplateNameEnum, *, request_options: typing.Optional[RequestOptions] = None
) -> GetEmailTemplateResponseContent:
"""
- Retrieve an email template by pre-defined name. These names are `verify_email`, `verify_email_by_code`, `reset_email`, `reset_email_by_code`, `welcome_email`, `blocked_account`, `stolen_credentials`, `enrollment_email`, `mfa_oob_code`, `user_invitation`, and `async_approval`. The names `change_password`, and `password_reset` are also supported for legacy scenarios.
+ Retrieve an email template by pre-defined name. These names are `verify_email`, `verify_email_by_code`, `auth_email_by_code`, `reset_email`, `reset_email_by_code`, `welcome_email`, `blocked_account`, `stolen_credentials`, `enrollment_email`, `mfa_oob_code`, `user_invitation`, and `async_approval`. The names `change_password`, and `password_reset` are also supported for legacy scenarios.
Parameters
----------
template_name : EmailTemplateNameEnum
- Template name. Can be `verify_email`, `verify_email_by_code`, `reset_email`, `reset_email_by_code`, `welcome_email`, `blocked_account`, `stolen_credentials`, `enrollment_email`, `mfa_oob_code`, `user_invitation`, `async_approval`, `change_password` (legacy), or `password_reset` (legacy).
+ Template name. Can be `verify_email`, `verify_email_by_code`, `auth_email_by_code`, `reset_email`, `reset_email_by_code`, `welcome_email`, `blocked_account`, `stolen_credentials`, `enrollment_email`, `mfa_oob_code`, `user_invitation`, `async_approval`, `change_password` (legacy), or `password_reset` (legacy).
request_options : typing.Optional[RequestOptions]
Request-specific configuration.
@@ -162,7 +162,7 @@ def set(
Parameters
----------
template_name : EmailTemplateNameEnum
- Template name. Can be `verify_email`, `verify_email_by_code`, `reset_email`, `reset_email_by_code`, `welcome_email`, `blocked_account`, `stolen_credentials`, `enrollment_email`, `mfa_oob_code`, `user_invitation`, `async_approval`, `change_password` (legacy), or `password_reset` (legacy).
+ Template name. Can be `verify_email`, `verify_email_by_code`, `auth_email_by_code`, `reset_email`, `reset_email_by_code`, `welcome_email`, `blocked_account`, `stolen_credentials`, `enrollment_email`, `mfa_oob_code`, `user_invitation`, `async_approval`, `change_password` (legacy), or `password_reset` (legacy).
template : EmailTemplateNameEnum
@@ -246,7 +246,7 @@ def update(
Parameters
----------
template_name : EmailTemplateNameEnum
- Template name. Can be `verify_email`, `verify_email_by_code`, `reset_email`, `reset_email_by_code`, `welcome_email`, `blocked_account`, `stolen_credentials`, `enrollment_email`, `mfa_oob_code`, `user_invitation`, `async_approval`, `change_password` (legacy), or `password_reset` (legacy).
+ Template name. Can be `verify_email`, `verify_email_by_code`, `auth_email_by_code`, `reset_email`, `reset_email_by_code`, `welcome_email`, `blocked_account`, `stolen_credentials`, `enrollment_email`, `mfa_oob_code`, `user_invitation`, `async_approval`, `change_password` (legacy), or `password_reset` (legacy).
template : typing.Optional[EmailTemplateNameEnum]
@@ -414,12 +414,12 @@ async def get(
self, template_name: EmailTemplateNameEnum, *, request_options: typing.Optional[RequestOptions] = None
) -> GetEmailTemplateResponseContent:
"""
- Retrieve an email template by pre-defined name. These names are `verify_email`, `verify_email_by_code`, `reset_email`, `reset_email_by_code`, `welcome_email`, `blocked_account`, `stolen_credentials`, `enrollment_email`, `mfa_oob_code`, `user_invitation`, and `async_approval`. The names `change_password`, and `password_reset` are also supported for legacy scenarios.
+ Retrieve an email template by pre-defined name. These names are `verify_email`, `verify_email_by_code`, `auth_email_by_code`, `reset_email`, `reset_email_by_code`, `welcome_email`, `blocked_account`, `stolen_credentials`, `enrollment_email`, `mfa_oob_code`, `user_invitation`, and `async_approval`. The names `change_password`, and `password_reset` are also supported for legacy scenarios.
Parameters
----------
template_name : EmailTemplateNameEnum
- Template name. Can be `verify_email`, `verify_email_by_code`, `reset_email`, `reset_email_by_code`, `welcome_email`, `blocked_account`, `stolen_credentials`, `enrollment_email`, `mfa_oob_code`, `user_invitation`, `async_approval`, `change_password` (legacy), or `password_reset` (legacy).
+ Template name. Can be `verify_email`, `verify_email_by_code`, `auth_email_by_code`, `reset_email`, `reset_email_by_code`, `welcome_email`, `blocked_account`, `stolen_credentials`, `enrollment_email`, `mfa_oob_code`, `user_invitation`, `async_approval`, `change_password` (legacy), or `password_reset` (legacy).
request_options : typing.Optional[RequestOptions]
Request-specific configuration.
@@ -472,7 +472,7 @@ async def set(
Parameters
----------
template_name : EmailTemplateNameEnum
- Template name. Can be `verify_email`, `verify_email_by_code`, `reset_email`, `reset_email_by_code`, `welcome_email`, `blocked_account`, `stolen_credentials`, `enrollment_email`, `mfa_oob_code`, `user_invitation`, `async_approval`, `change_password` (legacy), or `password_reset` (legacy).
+ Template name. Can be `verify_email`, `verify_email_by_code`, `auth_email_by_code`, `reset_email`, `reset_email_by_code`, `welcome_email`, `blocked_account`, `stolen_credentials`, `enrollment_email`, `mfa_oob_code`, `user_invitation`, `async_approval`, `change_password` (legacy), or `password_reset` (legacy).
template : EmailTemplateNameEnum
@@ -564,7 +564,7 @@ async def update(
Parameters
----------
template_name : EmailTemplateNameEnum
- Template name. Can be `verify_email`, `verify_email_by_code`, `reset_email`, `reset_email_by_code`, `welcome_email`, `blocked_account`, `stolen_credentials`, `enrollment_email`, `mfa_oob_code`, `user_invitation`, `async_approval`, `change_password` (legacy), or `password_reset` (legacy).
+ Template name. Can be `verify_email`, `verify_email_by_code`, `auth_email_by_code`, `reset_email`, `reset_email_by_code`, `welcome_email`, `blocked_account`, `stolen_credentials`, `enrollment_email`, `mfa_oob_code`, `user_invitation`, `async_approval`, `change_password` (legacy), or `password_reset` (legacy).
template : typing.Optional[EmailTemplateNameEnum]
diff --git a/src/auth0/management/email_templates/raw_client.py b/src/auth0/management/email_templates/raw_client.py
index f07b2b24..95892e84 100644
--- a/src/auth0/management/email_templates/raw_client.py
+++ b/src/auth0/management/email_templates/raw_client.py
@@ -182,12 +182,12 @@ def get(
self, template_name: EmailTemplateNameEnum, *, request_options: typing.Optional[RequestOptions] = None
) -> HttpResponse[GetEmailTemplateResponseContent]:
"""
- Retrieve an email template by pre-defined name. These names are `verify_email`, `verify_email_by_code`, `reset_email`, `reset_email_by_code`, `welcome_email`, `blocked_account`, `stolen_credentials`, `enrollment_email`, `mfa_oob_code`, `user_invitation`, and `async_approval`. The names `change_password`, and `password_reset` are also supported for legacy scenarios.
+ Retrieve an email template by pre-defined name. These names are `verify_email`, `verify_email_by_code`, `auth_email_by_code`, `reset_email`, `reset_email_by_code`, `welcome_email`, `blocked_account`, `stolen_credentials`, `enrollment_email`, `mfa_oob_code`, `user_invitation`, and `async_approval`. The names `change_password`, and `password_reset` are also supported for legacy scenarios.
Parameters
----------
template_name : EmailTemplateNameEnum
- Template name. Can be `verify_email`, `verify_email_by_code`, `reset_email`, `reset_email_by_code`, `welcome_email`, `blocked_account`, `stolen_credentials`, `enrollment_email`, `mfa_oob_code`, `user_invitation`, `async_approval`, `change_password` (legacy), or `password_reset` (legacy).
+ Template name. Can be `verify_email`, `verify_email_by_code`, `auth_email_by_code`, `reset_email`, `reset_email_by_code`, `welcome_email`, `blocked_account`, `stolen_credentials`, `enrollment_email`, `mfa_oob_code`, `user_invitation`, `async_approval`, `change_password` (legacy), or `password_reset` (legacy).
request_options : typing.Optional[RequestOptions]
Request-specific configuration.
@@ -286,7 +286,7 @@ def set(
Parameters
----------
template_name : EmailTemplateNameEnum
- Template name. Can be `verify_email`, `verify_email_by_code`, `reset_email`, `reset_email_by_code`, `welcome_email`, `blocked_account`, `stolen_credentials`, `enrollment_email`, `mfa_oob_code`, `user_invitation`, `async_approval`, `change_password` (legacy), or `password_reset` (legacy).
+ Template name. Can be `verify_email`, `verify_email_by_code`, `auth_email_by_code`, `reset_email`, `reset_email_by_code`, `welcome_email`, `blocked_account`, `stolen_credentials`, `enrollment_email`, `mfa_oob_code`, `user_invitation`, `async_approval`, `change_password` (legacy), or `password_reset` (legacy).
template : EmailTemplateNameEnum
@@ -437,7 +437,7 @@ def update(
Parameters
----------
template_name : EmailTemplateNameEnum
- Template name. Can be `verify_email`, `verify_email_by_code`, `reset_email`, `reset_email_by_code`, `welcome_email`, `blocked_account`, `stolen_credentials`, `enrollment_email`, `mfa_oob_code`, `user_invitation`, `async_approval`, `change_password` (legacy), or `password_reset` (legacy).
+ Template name. Can be `verify_email`, `verify_email_by_code`, `auth_email_by_code`, `reset_email`, `reset_email_by_code`, `welcome_email`, `blocked_account`, `stolen_credentials`, `enrollment_email`, `mfa_oob_code`, `user_invitation`, `async_approval`, `change_password` (legacy), or `password_reset` (legacy).
template : typing.Optional[EmailTemplateNameEnum]
@@ -723,12 +723,12 @@ async def get(
self, template_name: EmailTemplateNameEnum, *, request_options: typing.Optional[RequestOptions] = None
) -> AsyncHttpResponse[GetEmailTemplateResponseContent]:
"""
- Retrieve an email template by pre-defined name. These names are `verify_email`, `verify_email_by_code`, `reset_email`, `reset_email_by_code`, `welcome_email`, `blocked_account`, `stolen_credentials`, `enrollment_email`, `mfa_oob_code`, `user_invitation`, and `async_approval`. The names `change_password`, and `password_reset` are also supported for legacy scenarios.
+ Retrieve an email template by pre-defined name. These names are `verify_email`, `verify_email_by_code`, `auth_email_by_code`, `reset_email`, `reset_email_by_code`, `welcome_email`, `blocked_account`, `stolen_credentials`, `enrollment_email`, `mfa_oob_code`, `user_invitation`, and `async_approval`. The names `change_password`, and `password_reset` are also supported for legacy scenarios.
Parameters
----------
template_name : EmailTemplateNameEnum
- Template name. Can be `verify_email`, `verify_email_by_code`, `reset_email`, `reset_email_by_code`, `welcome_email`, `blocked_account`, `stolen_credentials`, `enrollment_email`, `mfa_oob_code`, `user_invitation`, `async_approval`, `change_password` (legacy), or `password_reset` (legacy).
+ Template name. Can be `verify_email`, `verify_email_by_code`, `auth_email_by_code`, `reset_email`, `reset_email_by_code`, `welcome_email`, `blocked_account`, `stolen_credentials`, `enrollment_email`, `mfa_oob_code`, `user_invitation`, `async_approval`, `change_password` (legacy), or `password_reset` (legacy).
request_options : typing.Optional[RequestOptions]
Request-specific configuration.
@@ -827,7 +827,7 @@ async def set(
Parameters
----------
template_name : EmailTemplateNameEnum
- Template name. Can be `verify_email`, `verify_email_by_code`, `reset_email`, `reset_email_by_code`, `welcome_email`, `blocked_account`, `stolen_credentials`, `enrollment_email`, `mfa_oob_code`, `user_invitation`, `async_approval`, `change_password` (legacy), or `password_reset` (legacy).
+ Template name. Can be `verify_email`, `verify_email_by_code`, `auth_email_by_code`, `reset_email`, `reset_email_by_code`, `welcome_email`, `blocked_account`, `stolen_credentials`, `enrollment_email`, `mfa_oob_code`, `user_invitation`, `async_approval`, `change_password` (legacy), or `password_reset` (legacy).
template : EmailTemplateNameEnum
@@ -978,7 +978,7 @@ async def update(
Parameters
----------
template_name : EmailTemplateNameEnum
- Template name. Can be `verify_email`, `verify_email_by_code`, `reset_email`, `reset_email_by_code`, `welcome_email`, `blocked_account`, `stolen_credentials`, `enrollment_email`, `mfa_oob_code`, `user_invitation`, `async_approval`, `change_password` (legacy), or `password_reset` (legacy).
+ Template name. Can be `verify_email`, `verify_email_by_code`, `auth_email_by_code`, `reset_email`, `reset_email_by_code`, `welcome_email`, `blocked_account`, `stolen_credentials`, `enrollment_email`, `mfa_oob_code`, `user_invitation`, `async_approval`, `change_password` (legacy), or `password_reset` (legacy).
template : typing.Optional[EmailTemplateNameEnum]
diff --git a/src/auth0/management/keys/signing/raw_client.py b/src/auth0/management/keys/signing/raw_client.py
index 6a5ccaa5..06edf530 100644
--- a/src/auth0/management/keys/signing/raw_client.py
+++ b/src/auth0/management/keys/signing/raw_client.py
@@ -250,6 +250,17 @@ def get(
),
),
)
+ 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),
@@ -586,6 +597,17 @@ async def get(
),
),
)
+ 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),
diff --git a/src/auth0/management/organizations/connections/raw_client.py b/src/auth0/management/organizations/connections/raw_client.py
index 290f99a2..c8635fa2 100644
--- a/src/auth0/management/organizations/connections/raw_client.py
+++ b/src/auth0/management/organizations/connections/raw_client.py
@@ -266,6 +266,17 @@ def create(
),
),
)
+ 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 == 409:
raise ConflictError(
headers=dict(_response.headers),
@@ -819,6 +830,17 @@ async def create(
),
),
)
+ 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 == 409:
raise ConflictError(
headers=dict(_response.headers),
diff --git a/src/auth0/management/organizations/enabled_connections/raw_client.py b/src/auth0/management/organizations/enabled_connections/raw_client.py
index 7d54c45d..a429c315 100644
--- a/src/auth0/management/organizations/enabled_connections/raw_client.py
+++ b/src/auth0/management/organizations/enabled_connections/raw_client.py
@@ -13,6 +13,7 @@
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.add_organization_connection_response_content import AddOrganizationConnectionResponseContent
@@ -130,6 +131,17 @@ def list(
),
),
)
+ 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),
@@ -248,6 +260,17 @@ def add(
),
),
)
+ 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),
@@ -327,6 +350,17 @@ def get(
),
),
)
+ 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),
@@ -411,6 +445,17 @@ def delete(
),
),
)
+ 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),
@@ -526,6 +571,17 @@ def update(
),
),
)
+ 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),
@@ -652,6 +708,17 @@ async def _get_next():
),
),
)
+ 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),
@@ -770,6 +837,17 @@ async def add(
),
),
)
+ 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),
@@ -849,6 +927,17 @@ async def get(
),
),
)
+ 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),
@@ -933,6 +1022,17 @@ async def delete(
),
),
)
+ 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),
@@ -1048,6 +1148,17 @@ async def update(
),
),
)
+ 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),
diff --git a/src/auth0/management/organizations/members/raw_client.py b/src/auth0/management/organizations/members/raw_client.py
index 41db71b8..7689345d 100644
--- a/src/auth0/management/organizations/members/raw_client.py
+++ b/src/auth0/management/organizations/members/raw_client.py
@@ -13,6 +13,7 @@
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.list_organization_members_paginated_response_content import (
@@ -147,6 +148,17 @@ def list(
),
),
)
+ 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),
@@ -471,6 +483,17 @@ async def _get_next():
),
),
)
+ 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),
diff --git a/src/auth0/management/organizations/members/roles/raw_client.py b/src/auth0/management/organizations/members/roles/raw_client.py
index e75557b2..ca7326d4 100644
--- a/src/auth0/management/organizations/members/roles/raw_client.py
+++ b/src/auth0/management/organizations/members/roles/raw_client.py
@@ -14,6 +14,7 @@
from ....errors.bad_request_error import BadRequestError
from ....errors.conflict_error import ConflictError
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.list_organization_member_roles_offset_paginated_response_content import (
@@ -135,6 +136,17 @@ def list(
),
),
)
+ 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),
@@ -477,6 +489,17 @@ async def _get_next():
),
),
)
+ 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),
diff --git a/src/auth0/management/organizations/raw_client.py b/src/auth0/management/organizations/raw_client.py
index 723abd57..53096d09 100644
--- a/src/auth0/management/organizations/raw_client.py
+++ b/src/auth0/management/organizations/raw_client.py
@@ -372,6 +372,17 @@ def get_by_name(
),
),
)
+ 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),
@@ -459,6 +470,17 @@ def get(
),
),
)
+ 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),
@@ -1032,6 +1054,17 @@ async def get_by_name(
),
),
)
+ 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),
@@ -1119,6 +1152,17 @@ async def get(
),
),
)
+ 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),
diff --git a/src/auth0/management/roles/permissions/raw_client.py b/src/auth0/management/roles/permissions/raw_client.py
index e7539a19..455b4ac3 100644
--- a/src/auth0/management/roles/permissions/raw_client.py
+++ b/src/auth0/management/roles/permissions/raw_client.py
@@ -236,6 +236,17 @@ def add(
),
),
)
+ 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),
@@ -563,6 +574,17 @@ async def add(
),
),
)
+ 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),
diff --git a/src/auth0/management/self_service_profiles/sso_ticket/raw_client.py b/src/auth0/management/self_service_profiles/sso_ticket/raw_client.py
index bb5c1a92..bfa07ab0 100644
--- a/src/auth0/management/self_service_profiles/sso_ticket/raw_client.py
+++ b/src/auth0/management/self_service_profiles/sso_ticket/raw_client.py
@@ -12,6 +12,7 @@
from ...core.request_options import RequestOptions
from ...core.serialization import convert_and_respect_annotation_metadata
from ...errors.bad_request_error import BadRequestError
+from ...errors.conflict_error import ConflictError
from ...errors.forbidden_error import ForbiddenError
from ...errors.too_many_requests_error import TooManyRequestsError
from ...errors.unauthorized_error import UnauthorizedError
@@ -168,6 +169,17 @@ def create(
),
),
)
+ if _response.status_code == 409:
+ raise ConflictError(
+ 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),
@@ -398,6 +410,17 @@ async def create(
),
),
)
+ if _response.status_code == 409:
+ raise ConflictError(
+ 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),
diff --git a/src/auth0/management/types/__init__.py b/src/auth0/management/types/__init__.py
index 514c7669..b77fe649 100644
--- a/src/auth0/management/types/__init__.py
+++ b/src/auth0/management/types/__init__.py
@@ -280,6 +280,10 @@
from .client_token_exchange_configuration import ClientTokenExchangeConfiguration
from .client_token_exchange_configuration_or_null import ClientTokenExchangeConfigurationOrNull
from .client_token_exchange_type_enum import ClientTokenExchangeTypeEnum
+ from .client_token_vault_privileged_access_with_credential_id import (
+ ClientTokenVaultPrivilegedAccessWithCredentialId,
+ )
+ from .client_token_vault_privileged_access_with_public_key import ClientTokenVaultPrivilegedAccessWithPublicKey
from .connected_account import ConnectedAccount
from .connected_account_access_type_enum import ConnectedAccountAccessTypeEnum
from .connection_access_token_urlo_auth_1 import ConnectionAccessTokenUrloAuth1
@@ -1116,6 +1120,7 @@
from .created_user_authentication_method_type_enum import CreatedUserAuthenticationMethodTypeEnum
from .credential_device_type_enum import CredentialDeviceTypeEnum
from .credential_id import CredentialId
+ from .cross_app_access_requesting_app import CrossAppAccessRequestingApp
from .csp_directives import CspDirectives
from .csp_flag import CspFlag
from .csp_flags import CspFlags
@@ -1993,6 +1998,8 @@
from .extensibility_email_provider_credentials import ExtensibilityEmailProviderCredentials
from .fed_cm_login import FedCmLogin
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
@@ -2661,6 +2668,7 @@
from .get_organization_invitation_response_content import GetOrganizationInvitationResponseContent
from .get_organization_response_content import GetOrganizationResponseContent
from .get_partials_response_content import GetPartialsResponseContent
+ from .get_phone_provider_protection_response_content import GetPhoneProviderProtectionResponseContent
from .get_phone_template_response_content import GetPhoneTemplateResponseContent
from .get_rate_limit_policy_response_content import GetRateLimitPolicyResponseContent
from .get_refresh_token_response_content import GetRefreshTokenResponseContent
@@ -2886,8 +2894,12 @@
from .mfa_policy_enum import MfaPolicyEnum
from .native_social_login import NativeSocialLogin
from .native_social_login_apple import NativeSocialLoginApple
+ from .native_social_login_apple_patch import NativeSocialLoginApplePatch
from .native_social_login_facebook import NativeSocialLoginFacebook
+ from .native_social_login_facebook_patch import NativeSocialLoginFacebookPatch
from .native_social_login_google import NativeSocialLoginGoogle
+ from .native_social_login_google_patch import NativeSocialLoginGooglePatch
+ from .native_social_login_patch import NativeSocialLoginPatch
from .network_acl_action import NetworkAclAction
from .network_acl_action_allow_enum import NetworkAclActionAllowEnum
from .network_acl_action_block_enum import NetworkAclActionBlockEnum
@@ -2932,6 +2944,7 @@
from .password_max_length_exceeded_policy_enum import PasswordMaxLengthExceededPolicyEnum
from .password_sequential_characters_policy_enum import PasswordSequentialCharactersPolicyEnum
from .patch_client_credential_response_content import PatchClientCredentialResponseContent
+ from .patch_phone_provider_protection_response_content import PatchPhoneProviderProtectionResponseContent
from .patch_rate_limit_policy_configuration_request_content import PatchRateLimitPolicyConfigurationRequestContent
from .patch_rate_limit_policy_configuration_request_content_action import (
PatchRateLimitPolicyConfigurationRequestContentAction,
@@ -2960,6 +2973,7 @@
from .phone_provider_credentials import PhoneProviderCredentials
from .phone_provider_delivery_method_enum import PhoneProviderDeliveryMethodEnum
from .phone_provider_name_enum import PhoneProviderNameEnum
+ from .phone_provider_protection_backoff_strategy_enum import PhoneProviderProtectionBackoffStrategyEnum
from .phone_provider_schema_masked import PhoneProviderSchemaMasked
from .phone_template import PhoneTemplate
from .phone_template_body import PhoneTemplateBody
@@ -3168,6 +3182,7 @@
from .token_quota import TokenQuota
from .token_quota_client_credentials import TokenQuotaClientCredentials
from .token_quota_configuration import TokenQuotaConfiguration
+ from .token_vault_privileged_access_ip_allowlist_entry import TokenVaultPrivilegedAccessIpAllowlistEntry
from .too_many_requests_schema import TooManyRequestsSchema
from .too_many_requests_schema_error import TooManyRequestsSchemaError
from .twilio_provider_configuration import TwilioProviderConfiguration
@@ -3348,7 +3363,6 @@
from .user_authentication_method_properties import UserAuthenticationMethodProperties
from .user_authentication_method_properties_enum import UserAuthenticationMethodPropertiesEnum
from .user_block_identifier import UserBlockIdentifier
- from .user_date_schema import UserDateSchema
from .user_effective_permission_response_content import UserEffectivePermissionResponseContent
from .user_effective_permission_role_source_enum import UserEffectivePermissionRoleSourceEnum
from .user_effective_permission_role_source_response_content import UserEffectivePermissionRoleSourceResponseContent
@@ -3615,6 +3629,8 @@
"ClientTokenExchangeConfiguration": ".client_token_exchange_configuration",
"ClientTokenExchangeConfigurationOrNull": ".client_token_exchange_configuration_or_null",
"ClientTokenExchangeTypeEnum": ".client_token_exchange_type_enum",
+ "ClientTokenVaultPrivilegedAccessWithCredentialId": ".client_token_vault_privileged_access_with_credential_id",
+ "ClientTokenVaultPrivilegedAccessWithPublicKey": ".client_token_vault_privileged_access_with_public_key",
"ConnectedAccount": ".connected_account",
"ConnectedAccountAccessTypeEnum": ".connected_account_access_type_enum",
"ConnectionAccessTokenUrloAuth1": ".connection_access_token_urlo_auth_1",
@@ -4391,6 +4407,7 @@
"CreatedUserAuthenticationMethodTypeEnum": ".created_user_authentication_method_type_enum",
"CredentialDeviceTypeEnum": ".credential_device_type_enum",
"CredentialId": ".credential_id",
+ "CrossAppAccessRequestingApp": ".cross_app_access_requesting_app",
"CspDirectives": ".csp_directives",
"CspFlag": ".csp_flag",
"CspFlags": ".csp_flags",
@@ -4856,6 +4873,8 @@
"ExtensibilityEmailProviderCredentials": ".extensibility_email_provider_credentials",
"FedCmLogin": ".fed_cm_login",
"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",
@@ -5492,6 +5511,7 @@
"GetOrganizationInvitationResponseContent": ".get_organization_invitation_response_content",
"GetOrganizationResponseContent": ".get_organization_response_content",
"GetPartialsResponseContent": ".get_partials_response_content",
+ "GetPhoneProviderProtectionResponseContent": ".get_phone_provider_protection_response_content",
"GetPhoneTemplateResponseContent": ".get_phone_template_response_content",
"GetRateLimitPolicyResponseContent": ".get_rate_limit_policy_response_content",
"GetRefreshTokenResponseContent": ".get_refresh_token_response_content",
@@ -5675,8 +5695,12 @@
"MfaPolicyEnum": ".mfa_policy_enum",
"NativeSocialLogin": ".native_social_login",
"NativeSocialLoginApple": ".native_social_login_apple",
+ "NativeSocialLoginApplePatch": ".native_social_login_apple_patch",
"NativeSocialLoginFacebook": ".native_social_login_facebook",
+ "NativeSocialLoginFacebookPatch": ".native_social_login_facebook_patch",
"NativeSocialLoginGoogle": ".native_social_login_google",
+ "NativeSocialLoginGooglePatch": ".native_social_login_google_patch",
+ "NativeSocialLoginPatch": ".native_social_login_patch",
"NetworkAclAction": ".network_acl_action",
"NetworkAclActionAllowEnum": ".network_acl_action_allow_enum",
"NetworkAclActionBlockEnum": ".network_acl_action_block_enum",
@@ -5721,6 +5745,7 @@
"PasswordMaxLengthExceededPolicyEnum": ".password_max_length_exceeded_policy_enum",
"PasswordSequentialCharactersPolicyEnum": ".password_sequential_characters_policy_enum",
"PatchClientCredentialResponseContent": ".patch_client_credential_response_content",
+ "PatchPhoneProviderProtectionResponseContent": ".patch_phone_provider_protection_response_content",
"PatchRateLimitPolicyConfigurationRequestContent": ".patch_rate_limit_policy_configuration_request_content",
"PatchRateLimitPolicyConfigurationRequestContentAction": ".patch_rate_limit_policy_configuration_request_content_action",
"PatchRateLimitPolicyConfigurationRequestContentActionAction": ".patch_rate_limit_policy_configuration_request_content_action_action",
@@ -5737,6 +5762,7 @@
"PhoneProviderCredentials": ".phone_provider_credentials",
"PhoneProviderDeliveryMethodEnum": ".phone_provider_delivery_method_enum",
"PhoneProviderNameEnum": ".phone_provider_name_enum",
+ "PhoneProviderProtectionBackoffStrategyEnum": ".phone_provider_protection_backoff_strategy_enum",
"PhoneProviderSchemaMasked": ".phone_provider_schema_masked",
"PhoneTemplate": ".phone_template",
"PhoneTemplateBody": ".phone_template_body",
@@ -5915,6 +5941,7 @@
"TokenQuota": ".token_quota",
"TokenQuotaClientCredentials": ".token_quota_client_credentials",
"TokenQuotaConfiguration": ".token_quota_configuration",
+ "TokenVaultPrivilegedAccessIpAllowlistEntry": ".token_vault_privileged_access_ip_allowlist_entry",
"TooManyRequestsSchema": ".too_many_requests_schema",
"TooManyRequestsSchemaError": ".too_many_requests_schema_error",
"TwilioProviderConfiguration": ".twilio_provider_configuration",
@@ -6069,7 +6096,6 @@
"UserAuthenticationMethodProperties": ".user_authentication_method_properties",
"UserAuthenticationMethodPropertiesEnum": ".user_authentication_method_properties_enum",
"UserBlockIdentifier": ".user_block_identifier",
- "UserDateSchema": ".user_date_schema",
"UserEffectivePermissionResponseContent": ".user_effective_permission_response_content",
"UserEffectivePermissionRoleSourceEnum": ".user_effective_permission_role_source_enum",
"UserEffectivePermissionRoleSourceResponseContent": ".user_effective_permission_role_source_response_content",
@@ -6360,6 +6386,8 @@ def __dir__():
"ClientTokenExchangeConfiguration",
"ClientTokenExchangeConfigurationOrNull",
"ClientTokenExchangeTypeEnum",
+ "ClientTokenVaultPrivilegedAccessWithCredentialId",
+ "ClientTokenVaultPrivilegedAccessWithPublicKey",
"ConnectedAccount",
"ConnectedAccountAccessTypeEnum",
"ConnectionAccessTokenUrloAuth1",
@@ -7136,6 +7164,7 @@ def __dir__():
"CreatedUserAuthenticationMethodTypeEnum",
"CredentialDeviceTypeEnum",
"CredentialId",
+ "CrossAppAccessRequestingApp",
"CspDirectives",
"CspFlag",
"CspFlags",
@@ -7601,6 +7630,8 @@ def __dir__():
"ExtensibilityEmailProviderCredentials",
"FedCmLogin",
"FedCmLoginGoogle",
+ "FedCmLoginGooglePatch",
+ "FedCmLoginPatch",
"FederatedConnectionTokenSet",
"FlowAction",
"FlowActionActivecampaign",
@@ -8237,6 +8268,7 @@ def __dir__():
"GetOrganizationInvitationResponseContent",
"GetOrganizationResponseContent",
"GetPartialsResponseContent",
+ "GetPhoneProviderProtectionResponseContent",
"GetPhoneTemplateResponseContent",
"GetRateLimitPolicyResponseContent",
"GetRefreshTokenResponseContent",
@@ -8420,8 +8452,12 @@ def __dir__():
"MfaPolicyEnum",
"NativeSocialLogin",
"NativeSocialLoginApple",
+ "NativeSocialLoginApplePatch",
"NativeSocialLoginFacebook",
+ "NativeSocialLoginFacebookPatch",
"NativeSocialLoginGoogle",
+ "NativeSocialLoginGooglePatch",
+ "NativeSocialLoginPatch",
"NetworkAclAction",
"NetworkAclActionAllowEnum",
"NetworkAclActionBlockEnum",
@@ -8466,6 +8502,7 @@ def __dir__():
"PasswordMaxLengthExceededPolicyEnum",
"PasswordSequentialCharactersPolicyEnum",
"PatchClientCredentialResponseContent",
+ "PatchPhoneProviderProtectionResponseContent",
"PatchRateLimitPolicyConfigurationRequestContent",
"PatchRateLimitPolicyConfigurationRequestContentAction",
"PatchRateLimitPolicyConfigurationRequestContentActionAction",
@@ -8482,6 +8519,7 @@ def __dir__():
"PhoneProviderCredentials",
"PhoneProviderDeliveryMethodEnum",
"PhoneProviderNameEnum",
+ "PhoneProviderProtectionBackoffStrategyEnum",
"PhoneProviderSchemaMasked",
"PhoneTemplate",
"PhoneTemplateBody",
@@ -8660,6 +8698,7 @@ def __dir__():
"TokenQuota",
"TokenQuotaClientCredentials",
"TokenQuotaConfiguration",
+ "TokenVaultPrivilegedAccessIpAllowlistEntry",
"TooManyRequestsSchema",
"TooManyRequestsSchemaError",
"TwilioProviderConfiguration",
@@ -8814,7 +8853,6 @@ def __dir__():
"UserAuthenticationMethodProperties",
"UserAuthenticationMethodPropertiesEnum",
"UserBlockIdentifier",
- "UserDateSchema",
"UserEffectivePermissionResponseContent",
"UserEffectivePermissionRoleSourceEnum",
"UserEffectivePermissionRoleSourceResponseContent",
diff --git a/src/auth0/management/types/client.py b/src/auth0/management/types/client.py
index 02c508ce..1ee110c9 100644
--- a/src/auth0/management/types/client.py
+++ b/src/auth0/management/types/client.py
@@ -33,7 +33,10 @@
from .client_third_party_security_mode_enum import ClientThirdPartySecurityModeEnum
from .client_token_endpoint_auth_method_enum import ClientTokenEndpointAuthMethodEnum
from .client_token_exchange_configuration import ClientTokenExchangeConfiguration
+from .client_token_vault_privileged_access_with_credential_id import ClientTokenVaultPrivilegedAccessWithCredentialId
from .express_configuration import ExpressConfiguration
+from .fed_cm_login import FedCmLogin
+from .native_social_login import NativeSocialLogin
from .token_quota import TokenQuota
@@ -181,6 +184,8 @@ class Client(UniversalBaseModel):
Initiate login uri, must be https
"""
+ native_social_login: typing.Optional[NativeSocialLogin] = None
+ fedcm_login: typing.Optional[FedCmLogin] = None
refresh_token: typing.Optional[ClientRefreshTokenConfiguration] = None
default_organization: typing.Optional[ClientDefaultOrganization] = None
organization_usage: typing.Optional[ClientOrganizationUsageEnum] = None
@@ -204,6 +209,7 @@ class Client(UniversalBaseModel):
"""
signed_request_object: typing.Optional[ClientSignedRequestObjectWithCredentialId] = None
+ token_vault_privileged_access: typing.Optional[ClientTokenVaultPrivilegedAccessWithCredentialId] = None
compliance_level: typing.Optional[ClientComplianceLevelEnum] = None
skip_non_verifiable_callback_uri_confirmation_prompt: typing.Optional[bool] = pydantic.Field(default=None)
"""
diff --git a/src/auth0/management/types/client_token_vault_privileged_access_with_credential_id.py b/src/auth0/management/types/client_token_vault_privileged_access_with_credential_id.py
new file mode 100644
index 00000000..7db72db8
--- /dev/null
+++ b/src/auth0/management/types/client_token_vault_privileged_access_with_credential_id.py
@@ -0,0 +1,26 @@
+# This file was auto-generated by Fern from our API Definition.
+
+import typing
+
+import pydantic
+from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
+from .credential_id import CredentialId
+from .token_vault_privileged_access_ip_allowlist_entry import TokenVaultPrivilegedAccessIpAllowlistEntry
+
+
+class ClientTokenVaultPrivilegedAccessWithCredentialId(UniversalBaseModel):
+ """
+ Settings for Token Vault Privileged Access.
+ """
+
+ credentials: typing.List[CredentialId]
+ ip_allowlist: typing.Optional[typing.List[TokenVaultPrivilegedAccessIpAllowlistEntry]] = 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/client_token_vault_privileged_access_with_public_key.py b/src/auth0/management/types/client_token_vault_privileged_access_with_public_key.py
new file mode 100644
index 00000000..52aca00e
--- /dev/null
+++ b/src/auth0/management/types/client_token_vault_privileged_access_with_public_key.py
@@ -0,0 +1,26 @@
+# This file was auto-generated by Fern from our API Definition.
+
+import typing
+
+import pydantic
+from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
+from .public_key_credential import PublicKeyCredential
+from .token_vault_privileged_access_ip_allowlist_entry import TokenVaultPrivilegedAccessIpAllowlistEntry
+
+
+class ClientTokenVaultPrivilegedAccessWithPublicKey(UniversalBaseModel):
+ """
+ Settings for Token Vault Privileged Access.
+ """
+
+ credentials: typing.List[PublicKeyCredential]
+ ip_allowlist: typing.Optional[typing.List[TokenVaultPrivilegedAccessIpAllowlistEntry]] = 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/connection_for_list.py b/src/auth0/management/types/connection_for_list.py
index 5ff824d1..83921553 100644
--- a/src/auth0/management/types/connection_for_list.py
+++ b/src/auth0/management/types/connection_for_list.py
@@ -8,6 +8,7 @@
from .connection_connected_accounts_purpose import ConnectionConnectedAccountsPurpose
from .connection_options import ConnectionOptions
from .connections_metadata import ConnectionsMetadata
+from .cross_app_access_requesting_app import CrossAppAccessRequestingApp
class ConnectionForList(UniversalBaseModel):
@@ -50,6 +51,7 @@ class ConnectionForList(UniversalBaseModel):
metadata: typing.Optional[ConnectionsMetadata] = None
authentication: typing.Optional[ConnectionAuthenticationPurpose] = None
connected_accounts: typing.Optional[ConnectionConnectedAccountsPurpose] = None
+ cross_app_access_requesting_app: typing.Optional[CrossAppAccessRequestingApp] = None
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/connection_response_content_oidc.py b/src/auth0/management/types/connection_response_content_oidc.py
index 5e0ce2e8..fc5a3346 100644
--- a/src/auth0/management/types/connection_response_content_oidc.py
+++ b/src/auth0/management/types/connection_response_content_oidc.py
@@ -10,6 +10,7 @@
from .connection_response_common import ConnectionResponseCommon
from .connection_response_content_oidc_strategy import ConnectionResponseContentOidcStrategy
from .connection_show_as_button import ConnectionShowAsButton
+from .cross_app_access_requesting_app import CrossAppAccessRequestingApp
class ConnectionResponseContentOidc(ConnectionResponseCommon):
@@ -20,6 +21,7 @@ class ConnectionResponseContentOidc(ConnectionResponseCommon):
strategy: ConnectionResponseContentOidcStrategy
authentication: typing.Optional[ConnectionAuthenticationPurpose] = None
connected_accounts: typing.Optional[ConnectionConnectedAccountsPurposeXaa] = None
+ cross_app_access_requesting_app: typing.Optional[CrossAppAccessRequestingApp] = None
options: typing.Optional[ConnectionOptionsOidc] = None
show_as_button: typing.Optional[ConnectionShowAsButton] = None
diff --git a/src/auth0/management/types/connection_response_content_okta.py b/src/auth0/management/types/connection_response_content_okta.py
index cb6f186c..5bb27127 100644
--- a/src/auth0/management/types/connection_response_content_okta.py
+++ b/src/auth0/management/types/connection_response_content_okta.py
@@ -9,6 +9,7 @@
from .connection_response_common import ConnectionResponseCommon
from .connection_response_content_okta_strategy import ConnectionResponseContentOktaStrategy
from .connection_show_as_button import ConnectionShowAsButton
+from .cross_app_access_requesting_app import CrossAppAccessRequestingApp
class ConnectionResponseContentOkta(ConnectionPurposes, ConnectionResponseCommon):
@@ -17,6 +18,7 @@ class ConnectionResponseContentOkta(ConnectionPurposes, ConnectionResponseCommon
"""
strategy: ConnectionResponseContentOktaStrategy
+ cross_app_access_requesting_app: typing.Optional[CrossAppAccessRequestingApp] = None
options: typing.Optional[ConnectionOptionsOkta] = None
show_as_button: typing.Optional[ConnectionShowAsButton] = None
diff --git a/src/auth0/management/types/create_client_response_content.py b/src/auth0/management/types/create_client_response_content.py
index d57e0501..2b41bc67 100644
--- a/src/auth0/management/types/create_client_response_content.py
+++ b/src/auth0/management/types/create_client_response_content.py
@@ -33,7 +33,10 @@
from .client_third_party_security_mode_enum import ClientThirdPartySecurityModeEnum
from .client_token_endpoint_auth_method_enum import ClientTokenEndpointAuthMethodEnum
from .client_token_exchange_configuration import ClientTokenExchangeConfiguration
+from .client_token_vault_privileged_access_with_credential_id import ClientTokenVaultPrivilegedAccessWithCredentialId
from .express_configuration import ExpressConfiguration
+from .fed_cm_login import FedCmLogin
+from .native_social_login import NativeSocialLogin
from .token_quota import TokenQuota
@@ -181,6 +184,8 @@ class CreateClientResponseContent(UniversalBaseModel):
Initiate login uri, must be https
"""
+ native_social_login: typing.Optional[NativeSocialLogin] = None
+ fedcm_login: typing.Optional[FedCmLogin] = None
refresh_token: typing.Optional[ClientRefreshTokenConfiguration] = None
default_organization: typing.Optional[ClientDefaultOrganization] = None
organization_usage: typing.Optional[ClientOrganizationUsageEnum] = None
@@ -204,6 +209,7 @@ class CreateClientResponseContent(UniversalBaseModel):
"""
signed_request_object: typing.Optional[ClientSignedRequestObjectWithCredentialId] = None
+ token_vault_privileged_access: typing.Optional[ClientTokenVaultPrivilegedAccessWithCredentialId] = None
compliance_level: typing.Optional[ClientComplianceLevelEnum] = None
skip_non_verifiable_callback_uri_confirmation_prompt: typing.Optional[bool] = pydantic.Field(default=None)
"""
diff --git a/src/auth0/management/types/create_connection_request_content_oidc.py b/src/auth0/management/types/create_connection_request_content_oidc.py
index 066d9faf..77bc6987 100644
--- a/src/auth0/management/types/create_connection_request_content_oidc.py
+++ b/src/auth0/management/types/create_connection_request_content_oidc.py
@@ -10,6 +10,7 @@
from .connection_show_as_button import ConnectionShowAsButton
from .create_connection_common import CreateConnectionCommon
from .create_connection_request_content_oidc_strategy import CreateConnectionRequestContentOidcStrategy
+from .cross_app_access_requesting_app import CrossAppAccessRequestingApp
class CreateConnectionRequestContentOidc(CreateConnectionCommon):
@@ -20,6 +21,7 @@ class CreateConnectionRequestContentOidc(CreateConnectionCommon):
strategy: CreateConnectionRequestContentOidcStrategy
authentication: typing.Optional[ConnectionAuthenticationPurpose] = None
connected_accounts: typing.Optional[ConnectionConnectedAccountsPurposeXaa] = None
+ cross_app_access_requesting_app: typing.Optional[CrossAppAccessRequestingApp] = None
options: typing.Optional[ConnectionOptionsOidc] = None
show_as_button: typing.Optional[ConnectionShowAsButton] = None
diff --git a/src/auth0/management/types/create_connection_request_content_okta.py b/src/auth0/management/types/create_connection_request_content_okta.py
index a1c4b591..58c6dfd8 100644
--- a/src/auth0/management/types/create_connection_request_content_okta.py
+++ b/src/auth0/management/types/create_connection_request_content_okta.py
@@ -8,6 +8,7 @@
from .connection_show_as_button import ConnectionShowAsButton
from .create_connection_common import CreateConnectionCommon
from .create_connection_request_content_okta_strategy import CreateConnectionRequestContentOktaStrategy
+from .cross_app_access_requesting_app import CrossAppAccessRequestingApp
class CreateConnectionRequestContentOkta(CreateConnectionCommon):
@@ -16,6 +17,7 @@ class CreateConnectionRequestContentOkta(CreateConnectionCommon):
"""
strategy: CreateConnectionRequestContentOktaStrategy
+ cross_app_access_requesting_app: typing.Optional[CrossAppAccessRequestingApp] = None
options: typing.Optional[ConnectionOptionsOkta] = None
show_as_button: typing.Optional[ConnectionShowAsButton] = None
diff --git a/src/auth0/management/types/create_connection_response_content.py b/src/auth0/management/types/create_connection_response_content.py
index 9c7b18e6..e63dcaa3 100644
--- a/src/auth0/management/types/create_connection_response_content.py
+++ b/src/auth0/management/types/create_connection_response_content.py
@@ -8,6 +8,7 @@
from .connection_connected_accounts_purpose import ConnectionConnectedAccountsPurpose
from .connection_options import ConnectionOptions
from .connections_metadata import ConnectionsMetadata
+from .cross_app_access_requesting_app import CrossAppAccessRequestingApp
class CreateConnectionResponseContent(UniversalBaseModel):
@@ -55,6 +56,7 @@ class CreateConnectionResponseContent(UniversalBaseModel):
metadata: typing.Optional[ConnectionsMetadata] = None
authentication: typing.Optional[ConnectionAuthenticationPurpose] = None
connected_accounts: typing.Optional[ConnectionConnectedAccountsPurpose] = None
+ cross_app_access_requesting_app: typing.Optional[CrossAppAccessRequestingApp] = None
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/create_user_response_content.py b/src/auth0/management/types/create_user_response_content.py
index b1dc97a6..d6243fd8 100644
--- a/src/auth0/management/types/create_user_response_content.py
+++ b/src/auth0/management/types/create_user_response_content.py
@@ -1,11 +1,11 @@
# 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
from .user_app_metadata_schema import UserAppMetadataSchema
-from .user_date_schema import UserDateSchema
from .user_identity_schema import UserIdentitySchema
from .user_metadata_schema import UserMetadataSchema
@@ -41,8 +41,16 @@ class CreateUserResponseContent(UniversalBaseModel):
Whether this phone number has been verified (true) or not (false).
"""
- created_at: typing.Optional[UserDateSchema] = None
- updated_at: typing.Optional[UserDateSchema] = None
+ created_at: typing.Optional[dt.datetime] = pydantic.Field(default=None)
+ """
+ Date and time when this user was created.
+ """
+
+ updated_at: typing.Optional[dt.datetime] = pydantic.Field(default=None)
+ """
+ Date and time when this user was last updated/modified.
+ """
+
identities: typing.Optional[typing.List[UserIdentitySchema]] = pydantic.Field(default=None)
"""
Array of user identity objects when accounts are linked.
@@ -70,14 +78,26 @@ class CreateUserResponseContent(UniversalBaseModel):
List of multi-factor authentication providers with which this user has enrolled.
"""
- multifactor_last_modified: typing.Optional[UserDateSchema] = None
+ multifactor_last_modified: typing.Optional[dt.datetime] = pydantic.Field(default=None)
+ """
+ Last date and time this user's multi-factor authentication providers were updated.
+ """
+
last_ip: typing.Optional[str] = pydantic.Field(default=None)
"""
Last IP address from which this user logged in.
"""
- last_login: typing.Optional[UserDateSchema] = None
- last_password_reset: typing.Optional[UserDateSchema] = None
+ last_login: typing.Optional[dt.datetime] = pydantic.Field(default=None)
+ """
+ Last date and time this user logged in.
+ """
+
+ last_password_reset: typing.Optional[dt.datetime] = pydantic.Field(default=None)
+ """
+ Last date and time this user had their password reset.
+ """
+
logins_count: typing.Optional[int] = pydantic.Field(default=None)
"""
Total number of logins this user has performed.
diff --git a/src/auth0/management/types/cross_app_access_requesting_app.py b/src/auth0/management/types/cross_app_access_requesting_app.py
new file mode 100644
index 00000000..b2f8ea04
--- /dev/null
+++ b/src/auth0/management/types/cross_app_access_requesting_app.py
@@ -0,0 +1,26 @@
+# 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 CrossAppAccessRequestingApp(UniversalBaseModel):
+ """
+ Configure the connection to be used as a Requesting Application for Cross App Access.
+ """
+
+ active: bool = pydantic.Field()
+ """
+ Set to `true` to enable the connection as a Requesting Application for Cross App Access.
+ """
+
+ 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/delete_user_identity_response_content_item.py b/src/auth0/management/types/delete_user_identity_response_content_item.py
index 84b72bc8..e073a759 100644
--- a/src/auth0/management/types/delete_user_identity_response_content_item.py
+++ b/src/auth0/management/types/delete_user_identity_response_content_item.py
@@ -6,6 +6,7 @@
import typing_extensions
from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
from ..core.serialization import FieldMetadata
+from .user_id import UserId
from .user_profile_data import UserProfileData
@@ -15,7 +16,7 @@ class DeleteUserIdentityResponseContentItem(UniversalBaseModel):
The name of the connection for the identity.
"""
- user_id: str = pydantic.Field()
+ user_id: UserId = pydantic.Field()
"""
The unique identifier for the user for the identity.
"""
diff --git a/src/auth0/management/types/email_template_name_enum.py b/src/auth0/management/types/email_template_name_enum.py
index ccab2222..00ca4261 100644
--- a/src/auth0/management/types/email_template_name_enum.py
+++ b/src/auth0/management/types/email_template_name_enum.py
@@ -6,6 +6,7 @@
typing.Literal[
"verify_email",
"verify_email_by_code",
+ "auth_email_by_code",
"reset_email",
"reset_email_by_code",
"welcome_email",
diff --git a/src/auth0/management/types/fed_cm_login_google_patch.py b/src/auth0/management/types/fed_cm_login_google_patch.py
new file mode 100644
index 00000000..af43605c
--- /dev/null
+++ b/src/auth0/management/types/fed_cm_login_google_patch.py
@@ -0,0 +1,26 @@
+# 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 FedCmLoginGooglePatch(UniversalBaseModel):
+ """
+ Google FedCM configuration for this client
+ """
+
+ is_enabled: typing.Optional[bool] = pydantic.Field(default=None)
+ """
+ When true, shows the Google FedCM prompt on New Universal Login for this client
+ """
+
+ 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/fed_cm_login_patch.py b/src/auth0/management/types/fed_cm_login_patch.py
new file mode 100644
index 00000000..012974a5
--- /dev/null
+++ b/src/auth0/management/types/fed_cm_login_patch.py
@@ -0,0 +1,24 @@
+# This file was auto-generated by Fern from our API Definition.
+
+import typing
+
+import pydantic
+from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
+from .fed_cm_login_google_patch import FedCmLoginGooglePatch
+
+
+class FedCmLoginPatch(UniversalBaseModel):
+ """
+ Configure FedCM login settings for New Universal Login
+ """
+
+ google: typing.Optional[FedCmLoginGooglePatch] = 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/get_client_response_content.py b/src/auth0/management/types/get_client_response_content.py
index bfaf0194..9e8bd15d 100644
--- a/src/auth0/management/types/get_client_response_content.py
+++ b/src/auth0/management/types/get_client_response_content.py
@@ -33,7 +33,10 @@
from .client_third_party_security_mode_enum import ClientThirdPartySecurityModeEnum
from .client_token_endpoint_auth_method_enum import ClientTokenEndpointAuthMethodEnum
from .client_token_exchange_configuration import ClientTokenExchangeConfiguration
+from .client_token_vault_privileged_access_with_credential_id import ClientTokenVaultPrivilegedAccessWithCredentialId
from .express_configuration import ExpressConfiguration
+from .fed_cm_login import FedCmLogin
+from .native_social_login import NativeSocialLogin
from .token_quota import TokenQuota
@@ -181,6 +184,8 @@ class GetClientResponseContent(UniversalBaseModel):
Initiate login uri, must be https
"""
+ native_social_login: typing.Optional[NativeSocialLogin] = None
+ fedcm_login: typing.Optional[FedCmLogin] = None
refresh_token: typing.Optional[ClientRefreshTokenConfiguration] = None
default_organization: typing.Optional[ClientDefaultOrganization] = None
organization_usage: typing.Optional[ClientOrganizationUsageEnum] = None
@@ -204,6 +209,7 @@ class GetClientResponseContent(UniversalBaseModel):
"""
signed_request_object: typing.Optional[ClientSignedRequestObjectWithCredentialId] = None
+ token_vault_privileged_access: typing.Optional[ClientTokenVaultPrivilegedAccessWithCredentialId] = None
compliance_level: typing.Optional[ClientComplianceLevelEnum] = None
skip_non_verifiable_callback_uri_confirmation_prompt: typing.Optional[bool] = pydantic.Field(default=None)
"""
diff --git a/src/auth0/management/types/get_connection_response_content.py b/src/auth0/management/types/get_connection_response_content.py
index 68568040..a8913da3 100644
--- a/src/auth0/management/types/get_connection_response_content.py
+++ b/src/auth0/management/types/get_connection_response_content.py
@@ -8,6 +8,7 @@
from .connection_connected_accounts_purpose import ConnectionConnectedAccountsPurpose
from .connection_options import ConnectionOptions
from .connections_metadata import ConnectionsMetadata
+from .cross_app_access_requesting_app import CrossAppAccessRequestingApp
class GetConnectionResponseContent(UniversalBaseModel):
@@ -55,6 +56,7 @@ class GetConnectionResponseContent(UniversalBaseModel):
metadata: typing.Optional[ConnectionsMetadata] = None
authentication: typing.Optional[ConnectionAuthenticationPurpose] = None
connected_accounts: typing.Optional[ConnectionConnectedAccountsPurpose] = None
+ cross_app_access_requesting_app: typing.Optional[CrossAppAccessRequestingApp] = None
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/get_phone_provider_protection_response_content.py b/src/auth0/management/types/get_phone_provider_protection_response_content.py
new file mode 100644
index 00000000..6a9169fa
--- /dev/null
+++ b/src/auth0/management/types/get_phone_provider_protection_response_content.py
@@ -0,0 +1,20 @@
+# This file was auto-generated by Fern from our API Definition.
+
+import typing
+
+import pydantic
+from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
+from .phone_provider_protection_backoff_strategy_enum import PhoneProviderProtectionBackoffStrategyEnum
+
+
+class GetPhoneProviderProtectionResponseContent(UniversalBaseModel):
+ type: PhoneProviderProtectionBackoffStrategyEnum
+
+ 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/get_user_response_content.py b/src/auth0/management/types/get_user_response_content.py
index 12a660c6..f99e7ca9 100644
--- a/src/auth0/management/types/get_user_response_content.py
+++ b/src/auth0/management/types/get_user_response_content.py
@@ -1,11 +1,11 @@
# 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
from .user_app_metadata_schema import UserAppMetadataSchema
-from .user_date_schema import UserDateSchema
from .user_identity_schema import UserIdentitySchema
from .user_metadata_schema import UserMetadataSchema
@@ -41,8 +41,16 @@ class GetUserResponseContent(UniversalBaseModel):
Whether this phone number has been verified (true) or not (false).
"""
- created_at: typing.Optional[UserDateSchema] = None
- updated_at: typing.Optional[UserDateSchema] = None
+ created_at: typing.Optional[dt.datetime] = pydantic.Field(default=None)
+ """
+ Date and time when this user was created.
+ """
+
+ updated_at: typing.Optional[dt.datetime] = pydantic.Field(default=None)
+ """
+ Date and time when this user was last updated/modified.
+ """
+
identities: typing.Optional[typing.List[UserIdentitySchema]] = pydantic.Field(default=None)
"""
Array of user identity objects when accounts are linked.
@@ -70,14 +78,26 @@ class GetUserResponseContent(UniversalBaseModel):
List of multi-factor authentication providers with which this user has enrolled.
"""
- multifactor_last_modified: typing.Optional[UserDateSchema] = None
+ multifactor_last_modified: typing.Optional[dt.datetime] = pydantic.Field(default=None)
+ """
+ Last date and time this user's multi-factor authentication providers were updated.
+ """
+
last_ip: typing.Optional[str] = pydantic.Field(default=None)
"""
Last IP address from which this user logged in.
"""
- last_login: typing.Optional[UserDateSchema] = None
- last_password_reset: typing.Optional[UserDateSchema] = None
+ last_login: typing.Optional[dt.datetime] = pydantic.Field(default=None)
+ """
+ Last date and time this user logged in.
+ """
+
+ last_password_reset: typing.Optional[dt.datetime] = pydantic.Field(default=None)
+ """
+ Last date and time this user had their password reset.
+ """
+
logins_count: typing.Optional[int] = pydantic.Field(default=None)
"""
Total number of logins this user has performed.
diff --git a/src/auth0/management/types/native_social_login_apple_patch.py b/src/auth0/management/types/native_social_login_apple_patch.py
new file mode 100644
index 00000000..19bcafac
--- /dev/null
+++ b/src/auth0/management/types/native_social_login_apple_patch.py
@@ -0,0 +1,26 @@
+# 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 NativeSocialLoginApplePatch(UniversalBaseModel):
+ """
+ Native Social Login support for the Apple connection
+ """
+
+ enabled: typing.Optional[bool] = pydantic.Field(default=None)
+ """
+ Determine whether or not to allow signing in natively using an Apple authorization code
+ """
+
+ 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/native_social_login_facebook_patch.py b/src/auth0/management/types/native_social_login_facebook_patch.py
new file mode 100644
index 00000000..3fe96b36
--- /dev/null
+++ b/src/auth0/management/types/native_social_login_facebook_patch.py
@@ -0,0 +1,26 @@
+# 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 NativeSocialLoginFacebookPatch(UniversalBaseModel):
+ """
+ Native Social Login support for the Facebook connection
+ """
+
+ enabled: typing.Optional[bool] = pydantic.Field(default=None)
+ """
+ Determine whether or not to allow signing in natively using Facebook
+ """
+
+ 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/native_social_login_google_patch.py b/src/auth0/management/types/native_social_login_google_patch.py
new file mode 100644
index 00000000..16c543f0
--- /dev/null
+++ b/src/auth0/management/types/native_social_login_google_patch.py
@@ -0,0 +1,26 @@
+# 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 NativeSocialLoginGooglePatch(UniversalBaseModel):
+ """
+ Native Social Login support for the google-oauth2 connection
+ """
+
+ enabled: typing.Optional[bool] = pydantic.Field(default=None)
+ """
+ Determine whether or not to allow signing in natively using a Google ID token
+ """
+
+ 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/native_social_login_patch.py b/src/auth0/management/types/native_social_login_patch.py
new file mode 100644
index 00000000..2e93bc9e
--- /dev/null
+++ b/src/auth0/management/types/native_social_login_patch.py
@@ -0,0 +1,28 @@
+# This file was auto-generated by Fern from our API Definition.
+
+import typing
+
+import pydantic
+from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
+from .native_social_login_apple_patch import NativeSocialLoginApplePatch
+from .native_social_login_facebook_patch import NativeSocialLoginFacebookPatch
+from .native_social_login_google_patch import NativeSocialLoginGooglePatch
+
+
+class NativeSocialLoginPatch(UniversalBaseModel):
+ """
+ Configure native social settings
+ """
+
+ apple: typing.Optional[NativeSocialLoginApplePatch] = None
+ facebook: typing.Optional[NativeSocialLoginFacebookPatch] = None
+ google: typing.Optional[NativeSocialLoginGooglePatch] = 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/patch_phone_provider_protection_response_content.py b/src/auth0/management/types/patch_phone_provider_protection_response_content.py
new file mode 100644
index 00000000..fcfa9d30
--- /dev/null
+++ b/src/auth0/management/types/patch_phone_provider_protection_response_content.py
@@ -0,0 +1,20 @@
+# This file was auto-generated by Fern from our API Definition.
+
+import typing
+
+import pydantic
+from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
+from .phone_provider_protection_backoff_strategy_enum import PhoneProviderProtectionBackoffStrategyEnum
+
+
+class PatchPhoneProviderProtectionResponseContent(UniversalBaseModel):
+ type: PhoneProviderProtectionBackoffStrategyEnum
+
+ 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/phone_provider_protection_backoff_strategy_enum.py b/src/auth0/management/types/phone_provider_protection_backoff_strategy_enum.py
new file mode 100644
index 00000000..b1bfe4d9
--- /dev/null
+++ b/src/auth0/management/types/phone_provider_protection_backoff_strategy_enum.py
@@ -0,0 +1,5 @@
+# This file was auto-generated by Fern from our API Definition.
+
+import typing
+
+PhoneProviderProtectionBackoffStrategyEnum = typing.Union[typing.Literal["exponential", "none"], typing.Any]
diff --git a/src/auth0/management/types/rotate_client_secret_response_content.py b/src/auth0/management/types/rotate_client_secret_response_content.py
index 42eef29a..ea507b4d 100644
--- a/src/auth0/management/types/rotate_client_secret_response_content.py
+++ b/src/auth0/management/types/rotate_client_secret_response_content.py
@@ -33,7 +33,10 @@
from .client_third_party_security_mode_enum import ClientThirdPartySecurityModeEnum
from .client_token_endpoint_auth_method_enum import ClientTokenEndpointAuthMethodEnum
from .client_token_exchange_configuration import ClientTokenExchangeConfiguration
+from .client_token_vault_privileged_access_with_credential_id import ClientTokenVaultPrivilegedAccessWithCredentialId
from .express_configuration import ExpressConfiguration
+from .fed_cm_login import FedCmLogin
+from .native_social_login import NativeSocialLogin
from .token_quota import TokenQuota
@@ -181,6 +184,8 @@ class RotateClientSecretResponseContent(UniversalBaseModel):
Initiate login uri, must be https
"""
+ native_social_login: typing.Optional[NativeSocialLogin] = None
+ fedcm_login: typing.Optional[FedCmLogin] = None
refresh_token: typing.Optional[ClientRefreshTokenConfiguration] = None
default_organization: typing.Optional[ClientDefaultOrganization] = None
organization_usage: typing.Optional[ClientOrganizationUsageEnum] = None
@@ -204,6 +209,7 @@ class RotateClientSecretResponseContent(UniversalBaseModel):
"""
signed_request_object: typing.Optional[ClientSignedRequestObjectWithCredentialId] = None
+ token_vault_privileged_access: typing.Optional[ClientTokenVaultPrivilegedAccessWithCredentialId] = None
compliance_level: typing.Optional[ClientComplianceLevelEnum] = None
skip_non_verifiable_callback_uri_confirmation_prompt: typing.Optional[bool] = pydantic.Field(default=None)
"""
diff --git a/src/auth0/management/types/token_vault_privileged_access_ip_allowlist_entry.py b/src/auth0/management/types/token_vault_privileged_access_ip_allowlist_entry.py
new file mode 100644
index 00000000..372b8657
--- /dev/null
+++ b/src/auth0/management/types/token_vault_privileged_access_ip_allowlist_entry.py
@@ -0,0 +1,3 @@
+# This file was auto-generated by Fern from our API Definition.
+
+TokenVaultPrivilegedAccessIpAllowlistEntry = str
diff --git a/src/auth0/management/types/update_client_response_content.py b/src/auth0/management/types/update_client_response_content.py
index 149ae563..6f07b844 100644
--- a/src/auth0/management/types/update_client_response_content.py
+++ b/src/auth0/management/types/update_client_response_content.py
@@ -33,7 +33,10 @@
from .client_third_party_security_mode_enum import ClientThirdPartySecurityModeEnum
from .client_token_endpoint_auth_method_enum import ClientTokenEndpointAuthMethodEnum
from .client_token_exchange_configuration import ClientTokenExchangeConfiguration
+from .client_token_vault_privileged_access_with_credential_id import ClientTokenVaultPrivilegedAccessWithCredentialId
from .express_configuration import ExpressConfiguration
+from .fed_cm_login import FedCmLogin
+from .native_social_login import NativeSocialLogin
from .token_quota import TokenQuota
@@ -181,6 +184,8 @@ class UpdateClientResponseContent(UniversalBaseModel):
Initiate login uri, must be https
"""
+ native_social_login: typing.Optional[NativeSocialLogin] = None
+ fedcm_login: typing.Optional[FedCmLogin] = None
refresh_token: typing.Optional[ClientRefreshTokenConfiguration] = None
default_organization: typing.Optional[ClientDefaultOrganization] = None
organization_usage: typing.Optional[ClientOrganizationUsageEnum] = None
@@ -204,6 +209,7 @@ class UpdateClientResponseContent(UniversalBaseModel):
"""
signed_request_object: typing.Optional[ClientSignedRequestObjectWithCredentialId] = None
+ token_vault_privileged_access: typing.Optional[ClientTokenVaultPrivilegedAccessWithCredentialId] = None
compliance_level: typing.Optional[ClientComplianceLevelEnum] = None
skip_non_verifiable_callback_uri_confirmation_prompt: typing.Optional[bool] = pydantic.Field(default=None)
"""
diff --git a/src/auth0/management/types/update_connection_request_content_oidc.py b/src/auth0/management/types/update_connection_request_content_oidc.py
index 928d487a..a7be509b 100644
--- a/src/auth0/management/types/update_connection_request_content_oidc.py
+++ b/src/auth0/management/types/update_connection_request_content_oidc.py
@@ -9,6 +9,7 @@
from .connection_connected_accounts_purpose_xaa import ConnectionConnectedAccountsPurposeXaa
from .connection_options_oidc import ConnectionOptionsOidc
from .connection_show_as_button import ConnectionShowAsButton
+from .cross_app_access_requesting_app import CrossAppAccessRequestingApp
class UpdateConnectionRequestContentOidc(ConnectionCommon):
@@ -19,6 +20,7 @@ class UpdateConnectionRequestContentOidc(ConnectionCommon):
options: typing.Optional[ConnectionOptionsOidc] = None
authentication: typing.Optional[ConnectionAuthenticationPurpose] = None
connected_accounts: typing.Optional[ConnectionConnectedAccountsPurposeXaa] = None
+ cross_app_access_requesting_app: typing.Optional[CrossAppAccessRequestingApp] = None
show_as_button: typing.Optional[ConnectionShowAsButton] = None
if IS_PYDANTIC_V2:
diff --git a/src/auth0/management/types/update_connection_request_content_okta.py b/src/auth0/management/types/update_connection_request_content_okta.py
index aa33c3c6..f8580eac 100644
--- a/src/auth0/management/types/update_connection_request_content_okta.py
+++ b/src/auth0/management/types/update_connection_request_content_okta.py
@@ -7,6 +7,7 @@
from .connection_common import ConnectionCommon
from .connection_options_okta import ConnectionOptionsOkta
from .connection_show_as_button import ConnectionShowAsButton
+from .cross_app_access_requesting_app import CrossAppAccessRequestingApp
class UpdateConnectionRequestContentOkta(ConnectionCommon):
@@ -14,6 +15,7 @@ class UpdateConnectionRequestContentOkta(ConnectionCommon):
Update a connection with strategy=okta
"""
+ cross_app_access_requesting_app: typing.Optional[CrossAppAccessRequestingApp] = None
options: typing.Optional[ConnectionOptionsOkta] = None
show_as_button: typing.Optional[ConnectionShowAsButton] = None
diff --git a/src/auth0/management/types/update_connection_response_content.py b/src/auth0/management/types/update_connection_response_content.py
index efb71054..a163d743 100644
--- a/src/auth0/management/types/update_connection_response_content.py
+++ b/src/auth0/management/types/update_connection_response_content.py
@@ -8,6 +8,7 @@
from .connection_connected_accounts_purpose import ConnectionConnectedAccountsPurpose
from .connection_options import ConnectionOptions
from .connections_metadata import ConnectionsMetadata
+from .cross_app_access_requesting_app import CrossAppAccessRequestingApp
class UpdateConnectionResponseContent(UniversalBaseModel):
@@ -55,6 +56,7 @@ class UpdateConnectionResponseContent(UniversalBaseModel):
metadata: typing.Optional[ConnectionsMetadata] = None
authentication: typing.Optional[ConnectionAuthenticationPurpose] = None
connected_accounts: typing.Optional[ConnectionConnectedAccountsPurpose] = None
+ cross_app_access_requesting_app: typing.Optional[CrossAppAccessRequestingApp] = None
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/update_user_response_content.py b/src/auth0/management/types/update_user_response_content.py
index 4eefc9f6..57901fe3 100644
--- a/src/auth0/management/types/update_user_response_content.py
+++ b/src/auth0/management/types/update_user_response_content.py
@@ -1,11 +1,11 @@
# 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
from .user_app_metadata_schema import UserAppMetadataSchema
-from .user_date_schema import UserDateSchema
from .user_identity_schema import UserIdentitySchema
from .user_metadata_schema import UserMetadataSchema
@@ -41,8 +41,16 @@ class UpdateUserResponseContent(UniversalBaseModel):
Whether this phone number has been verified (true) or not (false).
"""
- created_at: typing.Optional[UserDateSchema] = None
- updated_at: typing.Optional[UserDateSchema] = None
+ created_at: typing.Optional[dt.datetime] = pydantic.Field(default=None)
+ """
+ Date and time when this user was created.
+ """
+
+ updated_at: typing.Optional[dt.datetime] = pydantic.Field(default=None)
+ """
+ Date and time when this user was last updated/modified.
+ """
+
identities: typing.Optional[typing.List[UserIdentitySchema]] = pydantic.Field(default=None)
"""
Array of user identity objects when accounts are linked.
@@ -70,14 +78,26 @@ class UpdateUserResponseContent(UniversalBaseModel):
List of multi-factor authentication providers with which this user has enrolled.
"""
- multifactor_last_modified: typing.Optional[UserDateSchema] = None
+ multifactor_last_modified: typing.Optional[dt.datetime] = pydantic.Field(default=None)
+ """
+ Last date and time this user's multi-factor authentication providers were updated.
+ """
+
last_ip: typing.Optional[str] = pydantic.Field(default=None)
"""
Last IP address from which this user logged in.
"""
- last_login: typing.Optional[UserDateSchema] = None
- last_password_reset: typing.Optional[UserDateSchema] = None
+ last_login: typing.Optional[dt.datetime] = pydantic.Field(default=None)
+ """
+ Last date and time this user logged in.
+ """
+
+ last_password_reset: typing.Optional[dt.datetime] = pydantic.Field(default=None)
+ """
+ Last date and time this user had their password reset.
+ """
+
logins_count: typing.Optional[int] = pydantic.Field(default=None)
"""
Total number of logins this user has performed.
diff --git a/src/auth0/management/types/user_date_schema.py b/src/auth0/management/types/user_date_schema.py
deleted file mode 100644
index 3e6b3432..00000000
--- a/src/auth0/management/types/user_date_schema.py
+++ /dev/null
@@ -1,5 +0,0 @@
-# This file was auto-generated by Fern from our API Definition.
-
-import typing
-
-UserDateSchema = typing.Union[str, typing.Dict[str, typing.Any]]
diff --git a/src/auth0/management/types/user_identity_schema.py b/src/auth0/management/types/user_identity_schema.py
index 3b899a8d..5a833758 100644
--- a/src/auth0/management/types/user_identity_schema.py
+++ b/src/auth0/management/types/user_identity_schema.py
@@ -6,6 +6,7 @@
import typing_extensions
from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
from ..core.serialization import FieldMetadata
+from .user_id import UserId
from .user_identity_provider_enum import UserIdentityProviderEnum
from .user_profile_data import UserProfileData
@@ -16,11 +17,7 @@ class UserIdentitySchema(UniversalBaseModel):
Name of the connection containing this identity.
"""
- user_id: typing.Optional[str] = pydantic.Field(default=None)
- """
- Unique identifier of the user user for this identity.
- """
-
+ user_id: typing.Optional[UserId] = None
provider: typing.Optional[UserIdentityProviderEnum] = None
is_social: typing_extensions.Annotated[
typing.Optional[bool],
diff --git a/src/auth0/management/types/user_response_schema.py b/src/auth0/management/types/user_response_schema.py
index 4e5c3da5..93d9a24e 100644
--- a/src/auth0/management/types/user_response_schema.py
+++ b/src/auth0/management/types/user_response_schema.py
@@ -1,11 +1,11 @@
# 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
from .user_app_metadata_schema import UserAppMetadataSchema
-from .user_date_schema import UserDateSchema
from .user_identity_schema import UserIdentitySchema
from .user_metadata_schema import UserMetadataSchema
@@ -41,8 +41,16 @@ class UserResponseSchema(UniversalBaseModel):
Whether this phone number has been verified (true) or not (false).
"""
- created_at: typing.Optional[UserDateSchema] = None
- updated_at: typing.Optional[UserDateSchema] = None
+ created_at: typing.Optional[dt.datetime] = pydantic.Field(default=None)
+ """
+ Date and time when this user was created.
+ """
+
+ updated_at: typing.Optional[dt.datetime] = pydantic.Field(default=None)
+ """
+ Date and time when this user was last updated/modified.
+ """
+
identities: typing.Optional[typing.List[UserIdentitySchema]] = pydantic.Field(default=None)
"""
Array of user identity objects when accounts are linked.
@@ -70,14 +78,26 @@ class UserResponseSchema(UniversalBaseModel):
List of multi-factor authentication providers with which this user has enrolled.
"""
- multifactor_last_modified: typing.Optional[UserDateSchema] = None
+ multifactor_last_modified: typing.Optional[dt.datetime] = pydantic.Field(default=None)
+ """
+ Last date and time this user's multi-factor authentication providers were updated.
+ """
+
last_ip: typing.Optional[str] = pydantic.Field(default=None)
"""
Last IP address from which this user logged in.
"""
- last_login: typing.Optional[UserDateSchema] = None
- last_password_reset: typing.Optional[UserDateSchema] = None
+ last_login: typing.Optional[dt.datetime] = pydantic.Field(default=None)
+ """
+ Last date and time this user logged in.
+ """
+
+ last_password_reset: typing.Optional[dt.datetime] = pydantic.Field(default=None)
+ """
+ Last date and time this user had their password reset.
+ """
+
logins_count: typing.Optional[int] = pydantic.Field(default=None)
"""
Total number of logins this user has performed.
diff --git a/src/auth0/management/user_attribute_profiles/raw_client.py b/src/auth0/management/user_attribute_profiles/raw_client.py
index 618b5514..ac1292e7 100644
--- a/src/auth0/management/user_attribute_profiles/raw_client.py
+++ b/src/auth0/management/user_attribute_profiles/raw_client.py
@@ -673,6 +673,17 @@ def update(
),
),
)
+ 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),
@@ -1333,6 +1344,17 @@ async def update(
),
),
)
+ 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),
diff --git a/src/auth0/management/users/connected_accounts/raw_client.py b/src/auth0/management/users/connected_accounts/raw_client.py
index 97667952..d4710bf0 100644
--- a/src/auth0/management/users/connected_accounts/raw_client.py
+++ b/src/auth0/management/users/connected_accounts/raw_client.py
@@ -12,6 +12,7 @@
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.connected_account import ConnectedAccount
@@ -114,6 +115,17 @@ def list(
),
),
)
+ 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),
@@ -233,6 +245,17 @@ async def _get_next():
),
),
)
+ 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),
diff --git a/src/auth0/management/users/identities/client.py b/src/auth0/management/users/identities/client.py
index 7687f4a9..0a1cd473 100644
--- a/src/auth0/management/users/identities/client.py
+++ b/src/auth0/management/users/identities/client.py
@@ -82,6 +82,7 @@ def link(
connection_id of the secondary user account being linked when more than one `auth0` database provider exists.
user_id : typing.Optional[UserId]
+ user_id of the secondary user account being linked.
link_with : typing.Optional[str]
JWT for the secondary account being linked. If sending this parameter, `provider`, `user_id`, and `connection_id` must not be sent.
@@ -232,6 +233,7 @@ async def link(
connection_id of the secondary user account being linked when more than one `auth0` database provider exists.
user_id : typing.Optional[UserId]
+ user_id of the secondary user account being linked.
link_with : typing.Optional[str]
JWT for the secondary account being linked. If sending this parameter, `provider`, `user_id`, and `connection_id` must not be sent.
diff --git a/src/auth0/management/users/identities/raw_client.py b/src/auth0/management/users/identities/raw_client.py
index 42bd5917..03478239 100644
--- a/src/auth0/management/users/identities/raw_client.py
+++ b/src/auth0/management/users/identities/raw_client.py
@@ -83,6 +83,7 @@ def link(
connection_id of the secondary user account being linked when more than one `auth0` database provider exists.
user_id : typing.Optional[UserId]
+ user_id of the secondary user account being linked.
link_with : typing.Optional[str]
JWT for the secondary account being linked. If sending this parameter, `provider`, `user_id`, and `connection_id` must not be sent.
@@ -344,6 +345,7 @@ async def link(
connection_id of the secondary user account being linked when more than one `auth0` database provider exists.
user_id : typing.Optional[UserId]
+ user_id of the secondary user account being linked.
link_with : typing.Optional[str]
JWT for the secondary account being linked. If sending this parameter, `provider`, `user_id`, and `connection_id` must not be sent.
diff --git a/src/auth0/management/users/organizations/raw_client.py b/src/auth0/management/users/organizations/raw_client.py
index 5ac8a97f..2dd5a178 100644
--- a/src/auth0/management/users/organizations/raw_client.py
+++ b/src/auth0/management/users/organizations/raw_client.py
@@ -11,6 +11,7 @@
from ...core.pydantic_utilities import parse_obj_as
from ...core.request_options import RequestOptions
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.list_user_organizations_offset_paginated_response_content import (
@@ -111,6 +112,17 @@ def list(
),
),
)
+ 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),
@@ -226,6 +238,17 @@ async def _get_next():
),
),
)
+ 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),
diff --git a/src/auth0/management/users/permissions/raw_client.py b/src/auth0/management/users/permissions/raw_client.py
index 3b3d6d5b..36c2f533 100644
--- a/src/auth0/management/users/permissions/raw_client.py
+++ b/src/auth0/management/users/permissions/raw_client.py
@@ -236,6 +236,17 @@ def create(
),
),
)
+ 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),
@@ -331,6 +342,17 @@ def delete(
),
),
)
+ 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),
@@ -563,6 +585,17 @@ async def create(
),
),
)
+ 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),
@@ -658,6 +691,17 @@ async def delete(
),
),
)
+ 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),
diff --git a/src/auth0/management/users/roles/raw_client.py b/src/auth0/management/users/roles/raw_client.py
index 7cfd5daa..742c70f3 100644
--- a/src/auth0/management/users/roles/raw_client.py
+++ b/src/auth0/management/users/roles/raw_client.py
@@ -230,6 +230,17 @@ def assign(
),
),
)
+ 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),
@@ -310,6 +321,17 @@ def delete(
),
),
)
+ 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),
@@ -540,6 +562,17 @@ async def assign(
),
),
)
+ 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),
@@ -620,6 +653,17 @@ async def delete(
),
),
)
+ 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),
diff --git a/tests/wire/test_attackProtection_phoneProviderProtection.py b/tests/wire/test_attackProtection_phoneProviderProtection.py
new file mode 100644
index 00000000..2d5ffb51
--- /dev/null
+++ b/tests/wire/test_attackProtection_phoneProviderProtection.py
@@ -0,0 +1,19 @@
+from .conftest import get_client, verify_request_count
+
+
+def test_attackProtection_phoneProviderProtection_get() -> None:
+ """Test get endpoint with WireMock"""
+ test_id = "attack_protection.phone_provider_protection.get.0"
+ client = get_client(test_id)
+ client.attack_protection.phone_provider_protection.get()
+ verify_request_count(test_id, "GET", "/attack-protection/phone-provider-protection", None, 1)
+
+
+def test_attackProtection_phoneProviderProtection_patch() -> None:
+ """Test patch endpoint with WireMock"""
+ test_id = "attack_protection.phone_provider_protection.patch.0"
+ client = get_client(test_id)
+ client.attack_protection.phone_provider_protection.patch(
+ type="exponential",
+ )
+ verify_request_count(test_id, "PATCH", "/attack-protection/phone-provider-protection", None, 1)
diff --git a/wiremock/wiremock-mappings.json b/wiremock/wiremock-mappings.json
index 6f440065..b00d24cb 100644
--- a/wiremock/wiremock-mappings.json
+++ b/wiremock/wiremock-mappings.json
@@ -571,7 +571,7 @@
},
"response": {
"status": 200,
- "body": "{\n \"start\": 1.1,\n \"limit\": 1.1,\n \"total\": 1.1,\n \"clients\": [\n {\n \"client_id\": \"client_id\",\n \"tenant\": \"tenant\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"global\": true,\n \"client_secret\": \"client_secret\",\n \"app_type\": \"native\",\n \"logo_uri\": \"logo_uri\",\n \"is_first_party\": true,\n \"oidc_conformant\": true,\n \"callbacks\": [\n \"callbacks\"\n ],\n \"allowed_origins\": [\n \"allowed_origins\"\n ],\n \"web_origins\": [\n \"web_origins\"\n ],\n \"client_aliases\": [\n \"client_aliases\"\n ],\n \"allowed_clients\": [\n \"allowed_clients\"\n ],\n \"allowed_logout_urls\": [\n \"allowed_logout_urls\"\n ],\n \"grant_types\": [\n \"grant_types\"\n ],\n \"signing_keys\": [\n {}\n ],\n \"sso\": true,\n \"sso_disabled\": true,\n \"cross_origin_authentication\": true,\n \"cross_origin_loc\": \"cross_origin_loc\",\n \"custom_login_page_on\": true,\n \"custom_login_page\": \"custom_login_page\",\n \"custom_login_page_preview\": \"custom_login_page_preview\",\n \"form_template\": \"form_template\",\n \"token_endpoint_auth_method\": \"none\",\n \"is_token_endpoint_ip_header_trusted\": true,\n \"client_metadata\": {\n \"key\": \"value\"\n },\n \"initiate_login_uri\": \"initiate_login_uri\",\n \"refresh_token\": {\n \"rotation_type\": \"rotating\",\n \"expiration_type\": \"expiring\"\n },\n \"default_organization\": {\n \"organization_id\": \"organization_id\",\n \"flows\": [\n \"client_credentials\"\n ]\n },\n \"organization_usage\": \"deny\",\n \"organization_require_behavior\": \"no_prompt\",\n \"organization_discovery_methods\": [\n \"email\"\n ],\n \"require_pushed_authorization_requests\": true,\n \"require_proof_of_possession\": true,\n \"compliance_level\": \"none\",\n \"skip_non_verifiable_callback_uri_confirmation_prompt\": true,\n \"par_request_expiry\": 1,\n \"token_quota\": {\n \"client_credentials\": {}\n },\n \"express_configuration\": {\n \"initiate_login_uri_template\": \"initiate_login_uri_template\",\n \"user_attribute_profile_id\": \"user_attribute_profile_id\",\n \"connection_profile_id\": \"connection_profile_id\",\n \"enable_client\": true,\n \"enable_organization\": true,\n \"okta_oin_client_id\": \"okta_oin_client_id\",\n \"admin_login_domain\": \"admin_login_domain\"\n },\n \"my_organization_configuration\": {\n \"allowed_strategies\": [\n \"pingfederate\"\n ],\n \"connection_deletion_behavior\": \"allow\"\n },\n \"third_party_security_mode\": \"strict\",\n \"redirection_policy\": \"allow_always\",\n \"resource_server_identifier\": \"resource_server_identifier\",\n \"async_approval_notification_channels\": [\n \"guardian-push\"\n ],\n \"external_metadata_type\": \"cimd\",\n \"external_metadata_created_by\": \"admin\",\n \"external_client_id\": \"external_client_id\",\n \"jwks_uri\": \"jwks_uri\"\n }\n ]\n}",
+ "body": "{\n \"start\": 1.1,\n \"limit\": 1.1,\n \"total\": 1.1,\n \"clients\": [\n {\n \"client_id\": \"client_id\",\n \"tenant\": \"tenant\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"global\": true,\n \"client_secret\": \"client_secret\",\n \"app_type\": \"native\",\n \"logo_uri\": \"logo_uri\",\n \"is_first_party\": true,\n \"oidc_conformant\": true,\n \"callbacks\": [\n \"callbacks\"\n ],\n \"allowed_origins\": [\n \"allowed_origins\"\n ],\n \"web_origins\": [\n \"web_origins\"\n ],\n \"client_aliases\": [\n \"client_aliases\"\n ],\n \"allowed_clients\": [\n \"allowed_clients\"\n ],\n \"allowed_logout_urls\": [\n \"allowed_logout_urls\"\n ],\n \"grant_types\": [\n \"grant_types\"\n ],\n \"signing_keys\": [\n {}\n ],\n \"sso\": true,\n \"sso_disabled\": true,\n \"cross_origin_authentication\": true,\n \"cross_origin_loc\": \"cross_origin_loc\",\n \"custom_login_page_on\": true,\n \"custom_login_page\": \"custom_login_page\",\n \"custom_login_page_preview\": \"custom_login_page_preview\",\n \"form_template\": \"form_template\",\n \"token_endpoint_auth_method\": \"none\",\n \"is_token_endpoint_ip_header_trusted\": true,\n \"client_metadata\": {\n \"key\": \"value\"\n },\n \"initiate_login_uri\": \"initiate_login_uri\",\n \"refresh_token\": {\n \"rotation_type\": \"rotating\",\n \"expiration_type\": \"expiring\"\n },\n \"default_organization\": {\n \"organization_id\": \"organization_id\",\n \"flows\": [\n \"client_credentials\"\n ]\n },\n \"organization_usage\": \"deny\",\n \"organization_require_behavior\": \"no_prompt\",\n \"organization_discovery_methods\": [\n \"email\"\n ],\n \"require_pushed_authorization_requests\": true,\n \"require_proof_of_possession\": true,\n \"token_vault_privileged_access\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"compliance_level\": \"none\",\n \"skip_non_verifiable_callback_uri_confirmation_prompt\": true,\n \"par_request_expiry\": 1,\n \"token_quota\": {\n \"client_credentials\": {}\n },\n \"express_configuration\": {\n \"initiate_login_uri_template\": \"initiate_login_uri_template\",\n \"user_attribute_profile_id\": \"user_attribute_profile_id\",\n \"connection_profile_id\": \"connection_profile_id\",\n \"enable_client\": true,\n \"enable_organization\": true,\n \"okta_oin_client_id\": \"okta_oin_client_id\",\n \"admin_login_domain\": \"admin_login_domain\"\n },\n \"my_organization_configuration\": {\n \"allowed_strategies\": [\n \"pingfederate\"\n ],\n \"connection_deletion_behavior\": \"allow\"\n },\n \"third_party_security_mode\": \"strict\",\n \"redirection_policy\": \"allow_always\",\n \"resource_server_identifier\": \"resource_server_identifier\",\n \"async_approval_notification_channels\": [\n \"guardian-push\"\n ],\n \"external_metadata_type\": \"cimd\",\n \"external_metadata_created_by\": \"admin\",\n \"external_client_id\": \"external_client_id\",\n \"jwks_uri\": \"jwks_uri\"\n }\n ]\n}",
"headers": {
"Content-Type": "application/json"
}
@@ -603,7 +603,7 @@
},
"response": {
"status": 201,
- "body": "{\n \"client_id\": \"client_id\",\n \"tenant\": \"tenant\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"global\": true,\n \"client_secret\": \"client_secret\",\n \"app_type\": \"native\",\n \"logo_uri\": \"logo_uri\",\n \"is_first_party\": true,\n \"oidc_conformant\": true,\n \"callbacks\": [\n \"callbacks\"\n ],\n \"allowed_origins\": [\n \"allowed_origins\"\n ],\n \"web_origins\": [\n \"web_origins\"\n ],\n \"client_aliases\": [\n \"client_aliases\"\n ],\n \"allowed_clients\": [\n \"allowed_clients\"\n ],\n \"allowed_logout_urls\": [\n \"allowed_logout_urls\"\n ],\n \"session_transfer\": {\n \"can_create_session_transfer_token\": true,\n \"enforce_cascade_revocation\": true,\n \"allowed_authentication_methods\": [\n \"cookie\"\n ],\n \"enforce_device_binding\": \"ip\",\n \"allow_refresh_token\": true,\n \"enforce_online_refresh_tokens\": true,\n \"delegation\": {\n \"allow_delegated_access\": true,\n \"enforce_device_binding\": \"ip\"\n }\n },\n \"oidc_logout\": {\n \"backchannel_logout_urls\": [\n \"backchannel_logout_urls\"\n ],\n \"backchannel_logout_initiators\": {\n \"mode\": \"custom\",\n \"selected_initiators\": [\n \"rp-logout\"\n ]\n },\n \"backchannel_logout_session_metadata\": {\n \"include\": true\n }\n },\n \"grant_types\": [\n \"grant_types\"\n ],\n \"jwt_configuration\": {\n \"lifetime_in_seconds\": 1,\n \"secret_encoded\": true,\n \"scopes\": {\n \"key\": \"value\"\n },\n \"alg\": \"HS256\"\n },\n \"signing_keys\": [\n {\n \"pkcs7\": \"pkcs7\",\n \"cert\": \"cert\",\n \"subject\": \"subject\"\n }\n ],\n \"encryption_key\": {\n \"pub\": \"pub\",\n \"cert\": \"cert\",\n \"subject\": \"subject\"\n },\n \"sso\": true,\n \"sso_disabled\": true,\n \"cross_origin_authentication\": true,\n \"cross_origin_loc\": \"cross_origin_loc\",\n \"custom_login_page_on\": true,\n \"custom_login_page\": \"custom_login_page\",\n \"custom_login_page_preview\": \"custom_login_page_preview\",\n \"form_template\": \"form_template\",\n \"addons\": {\n \"aws\": {\n \"principal\": \"principal\",\n \"role\": \"role\",\n \"lifetime_in_seconds\": 1\n },\n \"azure_blob\": {\n \"accountName\": \"accountName\",\n \"storageAccessKey\": \"storageAccessKey\",\n \"containerName\": \"containerName\",\n \"blobName\": \"blobName\",\n \"expiration\": 1,\n \"signedIdentifier\": \"signedIdentifier\",\n \"blob_read\": true,\n \"blob_write\": true,\n \"blob_delete\": true,\n \"container_read\": true,\n \"container_write\": true,\n \"container_delete\": true,\n \"container_list\": true\n },\n \"azure_sb\": {\n \"namespace\": \"namespace\",\n \"sasKeyName\": \"sasKeyName\",\n \"sasKey\": \"sasKey\",\n \"entityPath\": \"entityPath\",\n \"expiration\": 1\n },\n \"rms\": {\n \"url\": \"url\"\n },\n \"mscrm\": {\n \"url\": \"url\"\n },\n \"slack\": {\n \"team\": \"team\"\n },\n \"sentry\": {\n \"org_slug\": \"org_slug\",\n \"base_url\": \"base_url\"\n },\n \"box\": {\n \"key\": \"value\"\n },\n \"cloudbees\": {\n \"key\": \"value\"\n },\n \"concur\": {\n \"key\": \"value\"\n },\n \"dropbox\": {\n \"key\": \"value\"\n },\n \"echosign\": {\n \"domain\": \"domain\"\n },\n \"egnyte\": {\n \"domain\": \"domain\"\n },\n \"firebase\": {\n \"secret\": \"secret\",\n \"private_key_id\": \"private_key_id\",\n \"private_key\": \"private_key\",\n \"client_email\": \"client_email\",\n \"lifetime_in_seconds\": 1\n },\n \"newrelic\": {\n \"account\": \"account\"\n },\n \"office365\": {\n \"domain\": \"domain\",\n \"connection\": \"connection\"\n },\n \"salesforce\": {\n \"entity_id\": \"entity_id\"\n },\n \"salesforce_api\": {\n \"clientid\": \"clientid\",\n \"principal\": \"principal\",\n \"communityName\": \"communityName\",\n \"community_url_section\": \"community_url_section\"\n },\n \"salesforce_sandbox_api\": {\n \"clientid\": \"clientid\",\n \"principal\": \"principal\",\n \"communityName\": \"communityName\",\n \"community_url_section\": \"community_url_section\"\n },\n \"samlp\": {\n \"mappings\": {\n \"key\": \"value\"\n },\n \"audience\": \"audience\",\n \"recipient\": \"recipient\",\n \"createUpnClaim\": true,\n \"mapUnknownClaimsAsIs\": true,\n \"passthroughClaimsWithNoMapping\": true,\n \"mapIdentities\": true,\n \"signatureAlgorithm\": \"signatureAlgorithm\",\n \"digestAlgorithm\": \"digestAlgorithm\",\n \"issuer\": \"issuer\",\n \"destination\": \"destination\",\n \"lifetimeInSeconds\": 1,\n \"signResponse\": true,\n \"nameIdentifierFormat\": \"nameIdentifierFormat\",\n \"nameIdentifierProbes\": [\n \"nameIdentifierProbes\"\n ],\n \"authnContextClassRef\": \"authnContextClassRef\"\n },\n \"layer\": {\n \"providerId\": \"providerId\",\n \"keyId\": \"keyId\",\n \"privateKey\": \"privateKey\",\n \"principal\": \"principal\",\n \"expiration\": 1\n },\n \"sap_api\": {\n \"clientid\": \"clientid\",\n \"usernameAttribute\": \"usernameAttribute\",\n \"tokenEndpointUrl\": \"tokenEndpointUrl\",\n \"scope\": \"scope\",\n \"servicePassword\": \"servicePassword\",\n \"nameIdentifierFormat\": \"nameIdentifierFormat\"\n },\n \"sharepoint\": {\n \"url\": \"url\",\n \"external_url\": [\n \"external_url\"\n ]\n },\n \"springcm\": {\n \"acsurl\": \"acsurl\"\n },\n \"wams\": {\n \"masterkey\": \"masterkey\"\n },\n \"wsfed\": {\n \"key\": \"value\"\n },\n \"zendesk\": {\n \"accountName\": \"accountName\"\n },\n \"zoom\": {\n \"account\": \"account\"\n },\n \"sso_integration\": {\n \"name\": \"name\",\n \"version\": \"version\"\n }\n },\n \"token_endpoint_auth_method\": \"none\",\n \"is_token_endpoint_ip_header_trusted\": true,\n \"client_metadata\": {\n \"key\": \"value\"\n },\n \"mobile\": {\n \"android\": {\n \"app_package_name\": \"app_package_name\",\n \"sha256_cert_fingerprints\": [\n \"sha256_cert_fingerprints\"\n ]\n },\n \"ios\": {\n \"team_id\": \"team_id\",\n \"app_bundle_identifier\": \"app_bundle_identifier\"\n }\n },\n \"initiate_login_uri\": \"initiate_login_uri\",\n \"refresh_token\": {\n \"rotation_type\": \"rotating\",\n \"expiration_type\": \"expiring\",\n \"leeway\": 1,\n \"token_lifetime\": 1,\n \"infinite_token_lifetime\": true,\n \"idle_token_lifetime\": 1,\n \"infinite_idle_token_lifetime\": true,\n \"policies\": [\n {\n \"audience\": \"audience\",\n \"scope\": [\n \"scope\"\n ]\n }\n ]\n },\n \"default_organization\": {\n \"organization_id\": \"organization_id\",\n \"flows\": [\n \"client_credentials\"\n ]\n },\n \"organization_usage\": \"deny\",\n \"organization_require_behavior\": \"no_prompt\",\n \"organization_discovery_methods\": [\n \"email\"\n ],\n \"client_authentication_methods\": {\n \"private_key_jwt\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"tls_client_auth\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"self_signed_tls_client_auth\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n }\n },\n \"require_pushed_authorization_requests\": true,\n \"require_proof_of_possession\": true,\n \"signed_request_object\": {\n \"required\": true,\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"compliance_level\": \"none\",\n \"skip_non_verifiable_callback_uri_confirmation_prompt\": true,\n \"token_exchange\": {\n \"allow_any_profile_of_type\": [\n \"custom_authentication\"\n ]\n },\n \"par_request_expiry\": 1,\n \"token_quota\": {\n \"client_credentials\": {\n \"enforce\": true,\n \"per_day\": 1,\n \"per_hour\": 1\n }\n },\n \"express_configuration\": {\n \"initiate_login_uri_template\": \"initiate_login_uri_template\",\n \"user_attribute_profile_id\": \"user_attribute_profile_id\",\n \"connection_profile_id\": \"connection_profile_id\",\n \"enable_client\": true,\n \"enable_organization\": true,\n \"linked_clients\": [\n {\n \"client_id\": \"client_id\"\n }\n ],\n \"okta_oin_client_id\": \"okta_oin_client_id\",\n \"admin_login_domain\": \"admin_login_domain\",\n \"oin_submission_id\": \"oin_submission_id\"\n },\n \"my_organization_configuration\": {\n \"connection_profile_id\": \"connection_profile_id\",\n \"user_attribute_profile_id\": \"user_attribute_profile_id\",\n \"allowed_strategies\": [\n \"pingfederate\"\n ],\n \"connection_deletion_behavior\": \"allow\",\n \"invitation_landing_client_id\": \"invitation_landing_client_id\"\n },\n \"third_party_security_mode\": \"strict\",\n \"redirection_policy\": \"allow_always\",\n \"resource_server_identifier\": \"resource_server_identifier\",\n \"async_approval_notification_channels\": [\n \"guardian-push\"\n ],\n \"external_metadata_type\": \"cimd\",\n \"external_metadata_created_by\": \"admin\",\n \"external_client_id\": \"external_client_id\",\n \"jwks_uri\": \"jwks_uri\"\n}",
+ "body": "{\n \"client_id\": \"client_id\",\n \"tenant\": \"tenant\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"global\": true,\n \"client_secret\": \"client_secret\",\n \"app_type\": \"native\",\n \"logo_uri\": \"logo_uri\",\n \"is_first_party\": true,\n \"oidc_conformant\": true,\n \"callbacks\": [\n \"callbacks\"\n ],\n \"allowed_origins\": [\n \"allowed_origins\"\n ],\n \"web_origins\": [\n \"web_origins\"\n ],\n \"client_aliases\": [\n \"client_aliases\"\n ],\n \"allowed_clients\": [\n \"allowed_clients\"\n ],\n \"allowed_logout_urls\": [\n \"allowed_logout_urls\"\n ],\n \"session_transfer\": {\n \"can_create_session_transfer_token\": true,\n \"enforce_cascade_revocation\": true,\n \"allowed_authentication_methods\": [\n \"cookie\"\n ],\n \"enforce_device_binding\": \"ip\",\n \"allow_refresh_token\": true,\n \"enforce_online_refresh_tokens\": true,\n \"delegation\": {\n \"allow_delegated_access\": true,\n \"enforce_device_binding\": \"ip\"\n }\n },\n \"oidc_logout\": {\n \"backchannel_logout_urls\": [\n \"backchannel_logout_urls\"\n ],\n \"backchannel_logout_initiators\": {\n \"mode\": \"custom\",\n \"selected_initiators\": [\n \"rp-logout\"\n ]\n },\n \"backchannel_logout_session_metadata\": {\n \"include\": true\n }\n },\n \"grant_types\": [\n \"grant_types\"\n ],\n \"jwt_configuration\": {\n \"lifetime_in_seconds\": 1,\n \"secret_encoded\": true,\n \"scopes\": {\n \"key\": \"value\"\n },\n \"alg\": \"HS256\"\n },\n \"signing_keys\": [\n {\n \"pkcs7\": \"pkcs7\",\n \"cert\": \"cert\",\n \"subject\": \"subject\"\n }\n ],\n \"encryption_key\": {\n \"pub\": \"pub\",\n \"cert\": \"cert\",\n \"subject\": \"subject\"\n },\n \"sso\": true,\n \"sso_disabled\": true,\n \"cross_origin_authentication\": true,\n \"cross_origin_loc\": \"cross_origin_loc\",\n \"custom_login_page_on\": true,\n \"custom_login_page\": \"custom_login_page\",\n \"custom_login_page_preview\": \"custom_login_page_preview\",\n \"form_template\": \"form_template\",\n \"addons\": {\n \"aws\": {\n \"principal\": \"principal\",\n \"role\": \"role\",\n \"lifetime_in_seconds\": 1\n },\n \"azure_blob\": {\n \"accountName\": \"accountName\",\n \"storageAccessKey\": \"storageAccessKey\",\n \"containerName\": \"containerName\",\n \"blobName\": \"blobName\",\n \"expiration\": 1,\n \"signedIdentifier\": \"signedIdentifier\",\n \"blob_read\": true,\n \"blob_write\": true,\n \"blob_delete\": true,\n \"container_read\": true,\n \"container_write\": true,\n \"container_delete\": true,\n \"container_list\": true\n },\n \"azure_sb\": {\n \"namespace\": \"namespace\",\n \"sasKeyName\": \"sasKeyName\",\n \"sasKey\": \"sasKey\",\n \"entityPath\": \"entityPath\",\n \"expiration\": 1\n },\n \"rms\": {\n \"url\": \"url\"\n },\n \"mscrm\": {\n \"url\": \"url\"\n },\n \"slack\": {\n \"team\": \"team\"\n },\n \"sentry\": {\n \"org_slug\": \"org_slug\",\n \"base_url\": \"base_url\"\n },\n \"box\": {\n \"key\": \"value\"\n },\n \"cloudbees\": {\n \"key\": \"value\"\n },\n \"concur\": {\n \"key\": \"value\"\n },\n \"dropbox\": {\n \"key\": \"value\"\n },\n \"echosign\": {\n \"domain\": \"domain\"\n },\n \"egnyte\": {\n \"domain\": \"domain\"\n },\n \"firebase\": {\n \"secret\": \"secret\",\n \"private_key_id\": \"private_key_id\",\n \"private_key\": \"private_key\",\n \"client_email\": \"client_email\",\n \"lifetime_in_seconds\": 1\n },\n \"newrelic\": {\n \"account\": \"account\"\n },\n \"office365\": {\n \"domain\": \"domain\",\n \"connection\": \"connection\"\n },\n \"salesforce\": {\n \"entity_id\": \"entity_id\"\n },\n \"salesforce_api\": {\n \"clientid\": \"clientid\",\n \"principal\": \"principal\",\n \"communityName\": \"communityName\",\n \"community_url_section\": \"community_url_section\"\n },\n \"salesforce_sandbox_api\": {\n \"clientid\": \"clientid\",\n \"principal\": \"principal\",\n \"communityName\": \"communityName\",\n \"community_url_section\": \"community_url_section\"\n },\n \"samlp\": {\n \"mappings\": {\n \"key\": \"value\"\n },\n \"audience\": \"audience\",\n \"recipient\": \"recipient\",\n \"createUpnClaim\": true,\n \"mapUnknownClaimsAsIs\": true,\n \"passthroughClaimsWithNoMapping\": true,\n \"mapIdentities\": true,\n \"signatureAlgorithm\": \"signatureAlgorithm\",\n \"digestAlgorithm\": \"digestAlgorithm\",\n \"issuer\": \"issuer\",\n \"destination\": \"destination\",\n \"lifetimeInSeconds\": 1,\n \"signResponse\": true,\n \"nameIdentifierFormat\": \"nameIdentifierFormat\",\n \"nameIdentifierProbes\": [\n \"nameIdentifierProbes\"\n ],\n \"authnContextClassRef\": \"authnContextClassRef\"\n },\n \"layer\": {\n \"providerId\": \"providerId\",\n \"keyId\": \"keyId\",\n \"privateKey\": \"privateKey\",\n \"principal\": \"principal\",\n \"expiration\": 1\n },\n \"sap_api\": {\n \"clientid\": \"clientid\",\n \"usernameAttribute\": \"usernameAttribute\",\n \"tokenEndpointUrl\": \"tokenEndpointUrl\",\n \"scope\": \"scope\",\n \"servicePassword\": \"servicePassword\",\n \"nameIdentifierFormat\": \"nameIdentifierFormat\"\n },\n \"sharepoint\": {\n \"url\": \"url\",\n \"external_url\": [\n \"external_url\"\n ]\n },\n \"springcm\": {\n \"acsurl\": \"acsurl\"\n },\n \"wams\": {\n \"masterkey\": \"masterkey\"\n },\n \"wsfed\": {\n \"key\": \"value\"\n },\n \"zendesk\": {\n \"accountName\": \"accountName\"\n },\n \"zoom\": {\n \"account\": \"account\"\n },\n \"sso_integration\": {\n \"name\": \"name\",\n \"version\": \"version\"\n }\n },\n \"token_endpoint_auth_method\": \"none\",\n \"is_token_endpoint_ip_header_trusted\": true,\n \"client_metadata\": {\n \"key\": \"value\"\n },\n \"mobile\": {\n \"android\": {\n \"app_package_name\": \"app_package_name\",\n \"sha256_cert_fingerprints\": [\n \"sha256_cert_fingerprints\"\n ]\n },\n \"ios\": {\n \"team_id\": \"team_id\",\n \"app_bundle_identifier\": \"app_bundle_identifier\"\n }\n },\n \"initiate_login_uri\": \"initiate_login_uri\",\n \"native_social_login\": {\n \"apple\": {\n \"enabled\": true\n },\n \"facebook\": {\n \"enabled\": true\n },\n \"google\": {\n \"enabled\": true\n }\n },\n \"fedcm_login\": {\n \"google\": {\n \"is_enabled\": true\n }\n },\n \"refresh_token\": {\n \"rotation_type\": \"rotating\",\n \"expiration_type\": \"expiring\",\n \"leeway\": 1,\n \"token_lifetime\": 1,\n \"infinite_token_lifetime\": true,\n \"idle_token_lifetime\": 1,\n \"infinite_idle_token_lifetime\": true,\n \"policies\": [\n {\n \"audience\": \"audience\",\n \"scope\": [\n \"scope\"\n ]\n }\n ]\n },\n \"default_organization\": {\n \"organization_id\": \"organization_id\",\n \"flows\": [\n \"client_credentials\"\n ]\n },\n \"organization_usage\": \"deny\",\n \"organization_require_behavior\": \"no_prompt\",\n \"organization_discovery_methods\": [\n \"email\"\n ],\n \"client_authentication_methods\": {\n \"private_key_jwt\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"tls_client_auth\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"self_signed_tls_client_auth\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n }\n },\n \"require_pushed_authorization_requests\": true,\n \"require_proof_of_possession\": true,\n \"signed_request_object\": {\n \"required\": true,\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"token_vault_privileged_access\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ],\n \"ip_allowlist\": [\n \"ip_allowlist\"\n ]\n },\n \"compliance_level\": \"none\",\n \"skip_non_verifiable_callback_uri_confirmation_prompt\": true,\n \"token_exchange\": {\n \"allow_any_profile_of_type\": [\n \"custom_authentication\"\n ]\n },\n \"par_request_expiry\": 1,\n \"token_quota\": {\n \"client_credentials\": {\n \"enforce\": true,\n \"per_day\": 1,\n \"per_hour\": 1\n }\n },\n \"express_configuration\": {\n \"initiate_login_uri_template\": \"initiate_login_uri_template\",\n \"user_attribute_profile_id\": \"user_attribute_profile_id\",\n \"connection_profile_id\": \"connection_profile_id\",\n \"enable_client\": true,\n \"enable_organization\": true,\n \"linked_clients\": [\n {\n \"client_id\": \"client_id\"\n }\n ],\n \"okta_oin_client_id\": \"okta_oin_client_id\",\n \"admin_login_domain\": \"admin_login_domain\",\n \"oin_submission_id\": \"oin_submission_id\"\n },\n \"my_organization_configuration\": {\n \"connection_profile_id\": \"connection_profile_id\",\n \"user_attribute_profile_id\": \"user_attribute_profile_id\",\n \"allowed_strategies\": [\n \"pingfederate\"\n ],\n \"connection_deletion_behavior\": \"allow\",\n \"invitation_landing_client_id\": \"invitation_landing_client_id\"\n },\n \"third_party_security_mode\": \"strict\",\n \"redirection_policy\": \"allow_always\",\n \"resource_server_identifier\": \"resource_server_identifier\",\n \"async_approval_notification_channels\": [\n \"guardian-push\"\n ],\n \"external_metadata_type\": \"cimd\",\n \"external_metadata_created_by\": \"admin\",\n \"external_client_id\": \"external_client_id\",\n \"jwks_uri\": \"jwks_uri\"\n}",
"headers": {
"Content-Type": "application/json"
}
@@ -709,7 +709,7 @@
},
"response": {
"status": 200,
- "body": "{\n \"client_id\": \"client_id\",\n \"tenant\": \"tenant\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"global\": true,\n \"client_secret\": \"client_secret\",\n \"app_type\": \"native\",\n \"logo_uri\": \"logo_uri\",\n \"is_first_party\": true,\n \"oidc_conformant\": true,\n \"callbacks\": [\n \"callbacks\"\n ],\n \"allowed_origins\": [\n \"allowed_origins\"\n ],\n \"web_origins\": [\n \"web_origins\"\n ],\n \"client_aliases\": [\n \"client_aliases\"\n ],\n \"allowed_clients\": [\n \"allowed_clients\"\n ],\n \"allowed_logout_urls\": [\n \"allowed_logout_urls\"\n ],\n \"session_transfer\": {\n \"can_create_session_transfer_token\": true,\n \"enforce_cascade_revocation\": true,\n \"allowed_authentication_methods\": [\n \"cookie\"\n ],\n \"enforce_device_binding\": \"ip\",\n \"allow_refresh_token\": true,\n \"enforce_online_refresh_tokens\": true,\n \"delegation\": {\n \"allow_delegated_access\": true,\n \"enforce_device_binding\": \"ip\"\n }\n },\n \"oidc_logout\": {\n \"backchannel_logout_urls\": [\n \"backchannel_logout_urls\"\n ],\n \"backchannel_logout_initiators\": {\n \"mode\": \"custom\",\n \"selected_initiators\": [\n \"rp-logout\"\n ]\n },\n \"backchannel_logout_session_metadata\": {\n \"include\": true\n }\n },\n \"grant_types\": [\n \"grant_types\"\n ],\n \"jwt_configuration\": {\n \"lifetime_in_seconds\": 1,\n \"secret_encoded\": true,\n \"scopes\": {\n \"key\": \"value\"\n },\n \"alg\": \"HS256\"\n },\n \"signing_keys\": [\n {\n \"pkcs7\": \"pkcs7\",\n \"cert\": \"cert\",\n \"subject\": \"subject\"\n }\n ],\n \"encryption_key\": {\n \"pub\": \"pub\",\n \"cert\": \"cert\",\n \"subject\": \"subject\"\n },\n \"sso\": true,\n \"sso_disabled\": true,\n \"cross_origin_authentication\": true,\n \"cross_origin_loc\": \"cross_origin_loc\",\n \"custom_login_page_on\": true,\n \"custom_login_page\": \"custom_login_page\",\n \"custom_login_page_preview\": \"custom_login_page_preview\",\n \"form_template\": \"form_template\",\n \"addons\": {\n \"aws\": {\n \"principal\": \"principal\",\n \"role\": \"role\",\n \"lifetime_in_seconds\": 1\n },\n \"azure_blob\": {\n \"accountName\": \"accountName\",\n \"storageAccessKey\": \"storageAccessKey\",\n \"containerName\": \"containerName\",\n \"blobName\": \"blobName\",\n \"expiration\": 1,\n \"signedIdentifier\": \"signedIdentifier\",\n \"blob_read\": true,\n \"blob_write\": true,\n \"blob_delete\": true,\n \"container_read\": true,\n \"container_write\": true,\n \"container_delete\": true,\n \"container_list\": true\n },\n \"azure_sb\": {\n \"namespace\": \"namespace\",\n \"sasKeyName\": \"sasKeyName\",\n \"sasKey\": \"sasKey\",\n \"entityPath\": \"entityPath\",\n \"expiration\": 1\n },\n \"rms\": {\n \"url\": \"url\"\n },\n \"mscrm\": {\n \"url\": \"url\"\n },\n \"slack\": {\n \"team\": \"team\"\n },\n \"sentry\": {\n \"org_slug\": \"org_slug\",\n \"base_url\": \"base_url\"\n },\n \"box\": {\n \"key\": \"value\"\n },\n \"cloudbees\": {\n \"key\": \"value\"\n },\n \"concur\": {\n \"key\": \"value\"\n },\n \"dropbox\": {\n \"key\": \"value\"\n },\n \"echosign\": {\n \"domain\": \"domain\"\n },\n \"egnyte\": {\n \"domain\": \"domain\"\n },\n \"firebase\": {\n \"secret\": \"secret\",\n \"private_key_id\": \"private_key_id\",\n \"private_key\": \"private_key\",\n \"client_email\": \"client_email\",\n \"lifetime_in_seconds\": 1\n },\n \"newrelic\": {\n \"account\": \"account\"\n },\n \"office365\": {\n \"domain\": \"domain\",\n \"connection\": \"connection\"\n },\n \"salesforce\": {\n \"entity_id\": \"entity_id\"\n },\n \"salesforce_api\": {\n \"clientid\": \"clientid\",\n \"principal\": \"principal\",\n \"communityName\": \"communityName\",\n \"community_url_section\": \"community_url_section\"\n },\n \"salesforce_sandbox_api\": {\n \"clientid\": \"clientid\",\n \"principal\": \"principal\",\n \"communityName\": \"communityName\",\n \"community_url_section\": \"community_url_section\"\n },\n \"samlp\": {\n \"mappings\": {\n \"key\": \"value\"\n },\n \"audience\": \"audience\",\n \"recipient\": \"recipient\",\n \"createUpnClaim\": true,\n \"mapUnknownClaimsAsIs\": true,\n \"passthroughClaimsWithNoMapping\": true,\n \"mapIdentities\": true,\n \"signatureAlgorithm\": \"signatureAlgorithm\",\n \"digestAlgorithm\": \"digestAlgorithm\",\n \"issuer\": \"issuer\",\n \"destination\": \"destination\",\n \"lifetimeInSeconds\": 1,\n \"signResponse\": true,\n \"nameIdentifierFormat\": \"nameIdentifierFormat\",\n \"nameIdentifierProbes\": [\n \"nameIdentifierProbes\"\n ],\n \"authnContextClassRef\": \"authnContextClassRef\"\n },\n \"layer\": {\n \"providerId\": \"providerId\",\n \"keyId\": \"keyId\",\n \"privateKey\": \"privateKey\",\n \"principal\": \"principal\",\n \"expiration\": 1\n },\n \"sap_api\": {\n \"clientid\": \"clientid\",\n \"usernameAttribute\": \"usernameAttribute\",\n \"tokenEndpointUrl\": \"tokenEndpointUrl\",\n \"scope\": \"scope\",\n \"servicePassword\": \"servicePassword\",\n \"nameIdentifierFormat\": \"nameIdentifierFormat\"\n },\n \"sharepoint\": {\n \"url\": \"url\",\n \"external_url\": [\n \"external_url\"\n ]\n },\n \"springcm\": {\n \"acsurl\": \"acsurl\"\n },\n \"wams\": {\n \"masterkey\": \"masterkey\"\n },\n \"wsfed\": {\n \"key\": \"value\"\n },\n \"zendesk\": {\n \"accountName\": \"accountName\"\n },\n \"zoom\": {\n \"account\": \"account\"\n },\n \"sso_integration\": {\n \"name\": \"name\",\n \"version\": \"version\"\n }\n },\n \"token_endpoint_auth_method\": \"none\",\n \"is_token_endpoint_ip_header_trusted\": true,\n \"client_metadata\": {\n \"key\": \"value\"\n },\n \"mobile\": {\n \"android\": {\n \"app_package_name\": \"app_package_name\",\n \"sha256_cert_fingerprints\": [\n \"sha256_cert_fingerprints\"\n ]\n },\n \"ios\": {\n \"team_id\": \"team_id\",\n \"app_bundle_identifier\": \"app_bundle_identifier\"\n }\n },\n \"initiate_login_uri\": \"initiate_login_uri\",\n \"refresh_token\": {\n \"rotation_type\": \"rotating\",\n \"expiration_type\": \"expiring\",\n \"leeway\": 1,\n \"token_lifetime\": 1,\n \"infinite_token_lifetime\": true,\n \"idle_token_lifetime\": 1,\n \"infinite_idle_token_lifetime\": true,\n \"policies\": [\n {\n \"audience\": \"audience\",\n \"scope\": [\n \"scope\"\n ]\n }\n ]\n },\n \"default_organization\": {\n \"organization_id\": \"organization_id\",\n \"flows\": [\n \"client_credentials\"\n ]\n },\n \"organization_usage\": \"deny\",\n \"organization_require_behavior\": \"no_prompt\",\n \"organization_discovery_methods\": [\n \"email\"\n ],\n \"client_authentication_methods\": {\n \"private_key_jwt\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"tls_client_auth\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"self_signed_tls_client_auth\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n }\n },\n \"require_pushed_authorization_requests\": true,\n \"require_proof_of_possession\": true,\n \"signed_request_object\": {\n \"required\": true,\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"compliance_level\": \"none\",\n \"skip_non_verifiable_callback_uri_confirmation_prompt\": true,\n \"token_exchange\": {\n \"allow_any_profile_of_type\": [\n \"custom_authentication\"\n ]\n },\n \"par_request_expiry\": 1,\n \"token_quota\": {\n \"client_credentials\": {\n \"enforce\": true,\n \"per_day\": 1,\n \"per_hour\": 1\n }\n },\n \"express_configuration\": {\n \"initiate_login_uri_template\": \"initiate_login_uri_template\",\n \"user_attribute_profile_id\": \"user_attribute_profile_id\",\n \"connection_profile_id\": \"connection_profile_id\",\n \"enable_client\": true,\n \"enable_organization\": true,\n \"linked_clients\": [\n {\n \"client_id\": \"client_id\"\n }\n ],\n \"okta_oin_client_id\": \"okta_oin_client_id\",\n \"admin_login_domain\": \"admin_login_domain\",\n \"oin_submission_id\": \"oin_submission_id\"\n },\n \"my_organization_configuration\": {\n \"connection_profile_id\": \"connection_profile_id\",\n \"user_attribute_profile_id\": \"user_attribute_profile_id\",\n \"allowed_strategies\": [\n \"pingfederate\"\n ],\n \"connection_deletion_behavior\": \"allow\",\n \"invitation_landing_client_id\": \"invitation_landing_client_id\"\n },\n \"third_party_security_mode\": \"strict\",\n \"redirection_policy\": \"allow_always\",\n \"resource_server_identifier\": \"resource_server_identifier\",\n \"async_approval_notification_channels\": [\n \"guardian-push\"\n ],\n \"external_metadata_type\": \"cimd\",\n \"external_metadata_created_by\": \"admin\",\n \"external_client_id\": \"external_client_id\",\n \"jwks_uri\": \"jwks_uri\"\n}",
+ "body": "{\n \"client_id\": \"client_id\",\n \"tenant\": \"tenant\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"global\": true,\n \"client_secret\": \"client_secret\",\n \"app_type\": \"native\",\n \"logo_uri\": \"logo_uri\",\n \"is_first_party\": true,\n \"oidc_conformant\": true,\n \"callbacks\": [\n \"callbacks\"\n ],\n \"allowed_origins\": [\n \"allowed_origins\"\n ],\n \"web_origins\": [\n \"web_origins\"\n ],\n \"client_aliases\": [\n \"client_aliases\"\n ],\n \"allowed_clients\": [\n \"allowed_clients\"\n ],\n \"allowed_logout_urls\": [\n \"allowed_logout_urls\"\n ],\n \"session_transfer\": {\n \"can_create_session_transfer_token\": true,\n \"enforce_cascade_revocation\": true,\n \"allowed_authentication_methods\": [\n \"cookie\"\n ],\n \"enforce_device_binding\": \"ip\",\n \"allow_refresh_token\": true,\n \"enforce_online_refresh_tokens\": true,\n \"delegation\": {\n \"allow_delegated_access\": true,\n \"enforce_device_binding\": \"ip\"\n }\n },\n \"oidc_logout\": {\n \"backchannel_logout_urls\": [\n \"backchannel_logout_urls\"\n ],\n \"backchannel_logout_initiators\": {\n \"mode\": \"custom\",\n \"selected_initiators\": [\n \"rp-logout\"\n ]\n },\n \"backchannel_logout_session_metadata\": {\n \"include\": true\n }\n },\n \"grant_types\": [\n \"grant_types\"\n ],\n \"jwt_configuration\": {\n \"lifetime_in_seconds\": 1,\n \"secret_encoded\": true,\n \"scopes\": {\n \"key\": \"value\"\n },\n \"alg\": \"HS256\"\n },\n \"signing_keys\": [\n {\n \"pkcs7\": \"pkcs7\",\n \"cert\": \"cert\",\n \"subject\": \"subject\"\n }\n ],\n \"encryption_key\": {\n \"pub\": \"pub\",\n \"cert\": \"cert\",\n \"subject\": \"subject\"\n },\n \"sso\": true,\n \"sso_disabled\": true,\n \"cross_origin_authentication\": true,\n \"cross_origin_loc\": \"cross_origin_loc\",\n \"custom_login_page_on\": true,\n \"custom_login_page\": \"custom_login_page\",\n \"custom_login_page_preview\": \"custom_login_page_preview\",\n \"form_template\": \"form_template\",\n \"addons\": {\n \"aws\": {\n \"principal\": \"principal\",\n \"role\": \"role\",\n \"lifetime_in_seconds\": 1\n },\n \"azure_blob\": {\n \"accountName\": \"accountName\",\n \"storageAccessKey\": \"storageAccessKey\",\n \"containerName\": \"containerName\",\n \"blobName\": \"blobName\",\n \"expiration\": 1,\n \"signedIdentifier\": \"signedIdentifier\",\n \"blob_read\": true,\n \"blob_write\": true,\n \"blob_delete\": true,\n \"container_read\": true,\n \"container_write\": true,\n \"container_delete\": true,\n \"container_list\": true\n },\n \"azure_sb\": {\n \"namespace\": \"namespace\",\n \"sasKeyName\": \"sasKeyName\",\n \"sasKey\": \"sasKey\",\n \"entityPath\": \"entityPath\",\n \"expiration\": 1\n },\n \"rms\": {\n \"url\": \"url\"\n },\n \"mscrm\": {\n \"url\": \"url\"\n },\n \"slack\": {\n \"team\": \"team\"\n },\n \"sentry\": {\n \"org_slug\": \"org_slug\",\n \"base_url\": \"base_url\"\n },\n \"box\": {\n \"key\": \"value\"\n },\n \"cloudbees\": {\n \"key\": \"value\"\n },\n \"concur\": {\n \"key\": \"value\"\n },\n \"dropbox\": {\n \"key\": \"value\"\n },\n \"echosign\": {\n \"domain\": \"domain\"\n },\n \"egnyte\": {\n \"domain\": \"domain\"\n },\n \"firebase\": {\n \"secret\": \"secret\",\n \"private_key_id\": \"private_key_id\",\n \"private_key\": \"private_key\",\n \"client_email\": \"client_email\",\n \"lifetime_in_seconds\": 1\n },\n \"newrelic\": {\n \"account\": \"account\"\n },\n \"office365\": {\n \"domain\": \"domain\",\n \"connection\": \"connection\"\n },\n \"salesforce\": {\n \"entity_id\": \"entity_id\"\n },\n \"salesforce_api\": {\n \"clientid\": \"clientid\",\n \"principal\": \"principal\",\n \"communityName\": \"communityName\",\n \"community_url_section\": \"community_url_section\"\n },\n \"salesforce_sandbox_api\": {\n \"clientid\": \"clientid\",\n \"principal\": \"principal\",\n \"communityName\": \"communityName\",\n \"community_url_section\": \"community_url_section\"\n },\n \"samlp\": {\n \"mappings\": {\n \"key\": \"value\"\n },\n \"audience\": \"audience\",\n \"recipient\": \"recipient\",\n \"createUpnClaim\": true,\n \"mapUnknownClaimsAsIs\": true,\n \"passthroughClaimsWithNoMapping\": true,\n \"mapIdentities\": true,\n \"signatureAlgorithm\": \"signatureAlgorithm\",\n \"digestAlgorithm\": \"digestAlgorithm\",\n \"issuer\": \"issuer\",\n \"destination\": \"destination\",\n \"lifetimeInSeconds\": 1,\n \"signResponse\": true,\n \"nameIdentifierFormat\": \"nameIdentifierFormat\",\n \"nameIdentifierProbes\": [\n \"nameIdentifierProbes\"\n ],\n \"authnContextClassRef\": \"authnContextClassRef\"\n },\n \"layer\": {\n \"providerId\": \"providerId\",\n \"keyId\": \"keyId\",\n \"privateKey\": \"privateKey\",\n \"principal\": \"principal\",\n \"expiration\": 1\n },\n \"sap_api\": {\n \"clientid\": \"clientid\",\n \"usernameAttribute\": \"usernameAttribute\",\n \"tokenEndpointUrl\": \"tokenEndpointUrl\",\n \"scope\": \"scope\",\n \"servicePassword\": \"servicePassword\",\n \"nameIdentifierFormat\": \"nameIdentifierFormat\"\n },\n \"sharepoint\": {\n \"url\": \"url\",\n \"external_url\": [\n \"external_url\"\n ]\n },\n \"springcm\": {\n \"acsurl\": \"acsurl\"\n },\n \"wams\": {\n \"masterkey\": \"masterkey\"\n },\n \"wsfed\": {\n \"key\": \"value\"\n },\n \"zendesk\": {\n \"accountName\": \"accountName\"\n },\n \"zoom\": {\n \"account\": \"account\"\n },\n \"sso_integration\": {\n \"name\": \"name\",\n \"version\": \"version\"\n }\n },\n \"token_endpoint_auth_method\": \"none\",\n \"is_token_endpoint_ip_header_trusted\": true,\n \"client_metadata\": {\n \"key\": \"value\"\n },\n \"mobile\": {\n \"android\": {\n \"app_package_name\": \"app_package_name\",\n \"sha256_cert_fingerprints\": [\n \"sha256_cert_fingerprints\"\n ]\n },\n \"ios\": {\n \"team_id\": \"team_id\",\n \"app_bundle_identifier\": \"app_bundle_identifier\"\n }\n },\n \"initiate_login_uri\": \"initiate_login_uri\",\n \"native_social_login\": {\n \"apple\": {\n \"enabled\": true\n },\n \"facebook\": {\n \"enabled\": true\n },\n \"google\": {\n \"enabled\": true\n }\n },\n \"fedcm_login\": {\n \"google\": {\n \"is_enabled\": true\n }\n },\n \"refresh_token\": {\n \"rotation_type\": \"rotating\",\n \"expiration_type\": \"expiring\",\n \"leeway\": 1,\n \"token_lifetime\": 1,\n \"infinite_token_lifetime\": true,\n \"idle_token_lifetime\": 1,\n \"infinite_idle_token_lifetime\": true,\n \"policies\": [\n {\n \"audience\": \"audience\",\n \"scope\": [\n \"scope\"\n ]\n }\n ]\n },\n \"default_organization\": {\n \"organization_id\": \"organization_id\",\n \"flows\": [\n \"client_credentials\"\n ]\n },\n \"organization_usage\": \"deny\",\n \"organization_require_behavior\": \"no_prompt\",\n \"organization_discovery_methods\": [\n \"email\"\n ],\n \"client_authentication_methods\": {\n \"private_key_jwt\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"tls_client_auth\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"self_signed_tls_client_auth\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n }\n },\n \"require_pushed_authorization_requests\": true,\n \"require_proof_of_possession\": true,\n \"signed_request_object\": {\n \"required\": true,\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"token_vault_privileged_access\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ],\n \"ip_allowlist\": [\n \"ip_allowlist\"\n ]\n },\n \"compliance_level\": \"none\",\n \"skip_non_verifiable_callback_uri_confirmation_prompt\": true,\n \"token_exchange\": {\n \"allow_any_profile_of_type\": [\n \"custom_authentication\"\n ]\n },\n \"par_request_expiry\": 1,\n \"token_quota\": {\n \"client_credentials\": {\n \"enforce\": true,\n \"per_day\": 1,\n \"per_hour\": 1\n }\n },\n \"express_configuration\": {\n \"initiate_login_uri_template\": \"initiate_login_uri_template\",\n \"user_attribute_profile_id\": \"user_attribute_profile_id\",\n \"connection_profile_id\": \"connection_profile_id\",\n \"enable_client\": true,\n \"enable_organization\": true,\n \"linked_clients\": [\n {\n \"client_id\": \"client_id\"\n }\n ],\n \"okta_oin_client_id\": \"okta_oin_client_id\",\n \"admin_login_domain\": \"admin_login_domain\",\n \"oin_submission_id\": \"oin_submission_id\"\n },\n \"my_organization_configuration\": {\n \"connection_profile_id\": \"connection_profile_id\",\n \"user_attribute_profile_id\": \"user_attribute_profile_id\",\n \"allowed_strategies\": [\n \"pingfederate\"\n ],\n \"connection_deletion_behavior\": \"allow\",\n \"invitation_landing_client_id\": \"invitation_landing_client_id\"\n },\n \"third_party_security_mode\": \"strict\",\n \"redirection_policy\": \"allow_always\",\n \"resource_server_identifier\": \"resource_server_identifier\",\n \"async_approval_notification_channels\": [\n \"guardian-push\"\n ],\n \"external_metadata_type\": \"cimd\",\n \"external_metadata_created_by\": \"admin\",\n \"external_client_id\": \"external_client_id\",\n \"jwks_uri\": \"jwks_uri\"\n}",
"headers": {
"Content-Type": "application/json"
}
@@ -781,7 +781,7 @@
},
"response": {
"status": 200,
- "body": "{\n \"client_id\": \"client_id\",\n \"tenant\": \"tenant\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"global\": true,\n \"client_secret\": \"client_secret\",\n \"app_type\": \"native\",\n \"logo_uri\": \"logo_uri\",\n \"is_first_party\": true,\n \"oidc_conformant\": true,\n \"callbacks\": [\n \"callbacks\"\n ],\n \"allowed_origins\": [\n \"allowed_origins\"\n ],\n \"web_origins\": [\n \"web_origins\"\n ],\n \"client_aliases\": [\n \"client_aliases\"\n ],\n \"allowed_clients\": [\n \"allowed_clients\"\n ],\n \"allowed_logout_urls\": [\n \"allowed_logout_urls\"\n ],\n \"session_transfer\": {\n \"can_create_session_transfer_token\": true,\n \"enforce_cascade_revocation\": true,\n \"allowed_authentication_methods\": [\n \"cookie\"\n ],\n \"enforce_device_binding\": \"ip\",\n \"allow_refresh_token\": true,\n \"enforce_online_refresh_tokens\": true,\n \"delegation\": {\n \"allow_delegated_access\": true,\n \"enforce_device_binding\": \"ip\"\n }\n },\n \"oidc_logout\": {\n \"backchannel_logout_urls\": [\n \"backchannel_logout_urls\"\n ],\n \"backchannel_logout_initiators\": {\n \"mode\": \"custom\",\n \"selected_initiators\": [\n \"rp-logout\"\n ]\n },\n \"backchannel_logout_session_metadata\": {\n \"include\": true\n }\n },\n \"grant_types\": [\n \"grant_types\"\n ],\n \"jwt_configuration\": {\n \"lifetime_in_seconds\": 1,\n \"secret_encoded\": true,\n \"scopes\": {\n \"key\": \"value\"\n },\n \"alg\": \"HS256\"\n },\n \"signing_keys\": [\n {\n \"pkcs7\": \"pkcs7\",\n \"cert\": \"cert\",\n \"subject\": \"subject\"\n }\n ],\n \"encryption_key\": {\n \"pub\": \"pub\",\n \"cert\": \"cert\",\n \"subject\": \"subject\"\n },\n \"sso\": true,\n \"sso_disabled\": true,\n \"cross_origin_authentication\": true,\n \"cross_origin_loc\": \"cross_origin_loc\",\n \"custom_login_page_on\": true,\n \"custom_login_page\": \"custom_login_page\",\n \"custom_login_page_preview\": \"custom_login_page_preview\",\n \"form_template\": \"form_template\",\n \"addons\": {\n \"aws\": {\n \"principal\": \"principal\",\n \"role\": \"role\",\n \"lifetime_in_seconds\": 1\n },\n \"azure_blob\": {\n \"accountName\": \"accountName\",\n \"storageAccessKey\": \"storageAccessKey\",\n \"containerName\": \"containerName\",\n \"blobName\": \"blobName\",\n \"expiration\": 1,\n \"signedIdentifier\": \"signedIdentifier\",\n \"blob_read\": true,\n \"blob_write\": true,\n \"blob_delete\": true,\n \"container_read\": true,\n \"container_write\": true,\n \"container_delete\": true,\n \"container_list\": true\n },\n \"azure_sb\": {\n \"namespace\": \"namespace\",\n \"sasKeyName\": \"sasKeyName\",\n \"sasKey\": \"sasKey\",\n \"entityPath\": \"entityPath\",\n \"expiration\": 1\n },\n \"rms\": {\n \"url\": \"url\"\n },\n \"mscrm\": {\n \"url\": \"url\"\n },\n \"slack\": {\n \"team\": \"team\"\n },\n \"sentry\": {\n \"org_slug\": \"org_slug\",\n \"base_url\": \"base_url\"\n },\n \"box\": {\n \"key\": \"value\"\n },\n \"cloudbees\": {\n \"key\": \"value\"\n },\n \"concur\": {\n \"key\": \"value\"\n },\n \"dropbox\": {\n \"key\": \"value\"\n },\n \"echosign\": {\n \"domain\": \"domain\"\n },\n \"egnyte\": {\n \"domain\": \"domain\"\n },\n \"firebase\": {\n \"secret\": \"secret\",\n \"private_key_id\": \"private_key_id\",\n \"private_key\": \"private_key\",\n \"client_email\": \"client_email\",\n \"lifetime_in_seconds\": 1\n },\n \"newrelic\": {\n \"account\": \"account\"\n },\n \"office365\": {\n \"domain\": \"domain\",\n \"connection\": \"connection\"\n },\n \"salesforce\": {\n \"entity_id\": \"entity_id\"\n },\n \"salesforce_api\": {\n \"clientid\": \"clientid\",\n \"principal\": \"principal\",\n \"communityName\": \"communityName\",\n \"community_url_section\": \"community_url_section\"\n },\n \"salesforce_sandbox_api\": {\n \"clientid\": \"clientid\",\n \"principal\": \"principal\",\n \"communityName\": \"communityName\",\n \"community_url_section\": \"community_url_section\"\n },\n \"samlp\": {\n \"mappings\": {\n \"key\": \"value\"\n },\n \"audience\": \"audience\",\n \"recipient\": \"recipient\",\n \"createUpnClaim\": true,\n \"mapUnknownClaimsAsIs\": true,\n \"passthroughClaimsWithNoMapping\": true,\n \"mapIdentities\": true,\n \"signatureAlgorithm\": \"signatureAlgorithm\",\n \"digestAlgorithm\": \"digestAlgorithm\",\n \"issuer\": \"issuer\",\n \"destination\": \"destination\",\n \"lifetimeInSeconds\": 1,\n \"signResponse\": true,\n \"nameIdentifierFormat\": \"nameIdentifierFormat\",\n \"nameIdentifierProbes\": [\n \"nameIdentifierProbes\"\n ],\n \"authnContextClassRef\": \"authnContextClassRef\"\n },\n \"layer\": {\n \"providerId\": \"providerId\",\n \"keyId\": \"keyId\",\n \"privateKey\": \"privateKey\",\n \"principal\": \"principal\",\n \"expiration\": 1\n },\n \"sap_api\": {\n \"clientid\": \"clientid\",\n \"usernameAttribute\": \"usernameAttribute\",\n \"tokenEndpointUrl\": \"tokenEndpointUrl\",\n \"scope\": \"scope\",\n \"servicePassword\": \"servicePassword\",\n \"nameIdentifierFormat\": \"nameIdentifierFormat\"\n },\n \"sharepoint\": {\n \"url\": \"url\",\n \"external_url\": [\n \"external_url\"\n ]\n },\n \"springcm\": {\n \"acsurl\": \"acsurl\"\n },\n \"wams\": {\n \"masterkey\": \"masterkey\"\n },\n \"wsfed\": {\n \"key\": \"value\"\n },\n \"zendesk\": {\n \"accountName\": \"accountName\"\n },\n \"zoom\": {\n \"account\": \"account\"\n },\n \"sso_integration\": {\n \"name\": \"name\",\n \"version\": \"version\"\n }\n },\n \"token_endpoint_auth_method\": \"none\",\n \"is_token_endpoint_ip_header_trusted\": true,\n \"client_metadata\": {\n \"key\": \"value\"\n },\n \"mobile\": {\n \"android\": {\n \"app_package_name\": \"app_package_name\",\n \"sha256_cert_fingerprints\": [\n \"sha256_cert_fingerprints\"\n ]\n },\n \"ios\": {\n \"team_id\": \"team_id\",\n \"app_bundle_identifier\": \"app_bundle_identifier\"\n }\n },\n \"initiate_login_uri\": \"initiate_login_uri\",\n \"refresh_token\": {\n \"rotation_type\": \"rotating\",\n \"expiration_type\": \"expiring\",\n \"leeway\": 1,\n \"token_lifetime\": 1,\n \"infinite_token_lifetime\": true,\n \"idle_token_lifetime\": 1,\n \"infinite_idle_token_lifetime\": true,\n \"policies\": [\n {\n \"audience\": \"audience\",\n \"scope\": [\n \"scope\"\n ]\n }\n ]\n },\n \"default_organization\": {\n \"organization_id\": \"organization_id\",\n \"flows\": [\n \"client_credentials\"\n ]\n },\n \"organization_usage\": \"deny\",\n \"organization_require_behavior\": \"no_prompt\",\n \"organization_discovery_methods\": [\n \"email\"\n ],\n \"client_authentication_methods\": {\n \"private_key_jwt\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"tls_client_auth\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"self_signed_tls_client_auth\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n }\n },\n \"require_pushed_authorization_requests\": true,\n \"require_proof_of_possession\": true,\n \"signed_request_object\": {\n \"required\": true,\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"compliance_level\": \"none\",\n \"skip_non_verifiable_callback_uri_confirmation_prompt\": true,\n \"token_exchange\": {\n \"allow_any_profile_of_type\": [\n \"custom_authentication\"\n ]\n },\n \"par_request_expiry\": 1,\n \"token_quota\": {\n \"client_credentials\": {\n \"enforce\": true,\n \"per_day\": 1,\n \"per_hour\": 1\n }\n },\n \"express_configuration\": {\n \"initiate_login_uri_template\": \"initiate_login_uri_template\",\n \"user_attribute_profile_id\": \"user_attribute_profile_id\",\n \"connection_profile_id\": \"connection_profile_id\",\n \"enable_client\": true,\n \"enable_organization\": true,\n \"linked_clients\": [\n {\n \"client_id\": \"client_id\"\n }\n ],\n \"okta_oin_client_id\": \"okta_oin_client_id\",\n \"admin_login_domain\": \"admin_login_domain\",\n \"oin_submission_id\": \"oin_submission_id\"\n },\n \"my_organization_configuration\": {\n \"connection_profile_id\": \"connection_profile_id\",\n \"user_attribute_profile_id\": \"user_attribute_profile_id\",\n \"allowed_strategies\": [\n \"pingfederate\"\n ],\n \"connection_deletion_behavior\": \"allow\",\n \"invitation_landing_client_id\": \"invitation_landing_client_id\"\n },\n \"third_party_security_mode\": \"strict\",\n \"redirection_policy\": \"allow_always\",\n \"resource_server_identifier\": \"resource_server_identifier\",\n \"async_approval_notification_channels\": [\n \"guardian-push\"\n ],\n \"external_metadata_type\": \"cimd\",\n \"external_metadata_created_by\": \"admin\",\n \"external_client_id\": \"external_client_id\",\n \"jwks_uri\": \"jwks_uri\"\n}",
+ "body": "{\n \"client_id\": \"client_id\",\n \"tenant\": \"tenant\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"global\": true,\n \"client_secret\": \"client_secret\",\n \"app_type\": \"native\",\n \"logo_uri\": \"logo_uri\",\n \"is_first_party\": true,\n \"oidc_conformant\": true,\n \"callbacks\": [\n \"callbacks\"\n ],\n \"allowed_origins\": [\n \"allowed_origins\"\n ],\n \"web_origins\": [\n \"web_origins\"\n ],\n \"client_aliases\": [\n \"client_aliases\"\n ],\n \"allowed_clients\": [\n \"allowed_clients\"\n ],\n \"allowed_logout_urls\": [\n \"allowed_logout_urls\"\n ],\n \"session_transfer\": {\n \"can_create_session_transfer_token\": true,\n \"enforce_cascade_revocation\": true,\n \"allowed_authentication_methods\": [\n \"cookie\"\n ],\n \"enforce_device_binding\": \"ip\",\n \"allow_refresh_token\": true,\n \"enforce_online_refresh_tokens\": true,\n \"delegation\": {\n \"allow_delegated_access\": true,\n \"enforce_device_binding\": \"ip\"\n }\n },\n \"oidc_logout\": {\n \"backchannel_logout_urls\": [\n \"backchannel_logout_urls\"\n ],\n \"backchannel_logout_initiators\": {\n \"mode\": \"custom\",\n \"selected_initiators\": [\n \"rp-logout\"\n ]\n },\n \"backchannel_logout_session_metadata\": {\n \"include\": true\n }\n },\n \"grant_types\": [\n \"grant_types\"\n ],\n \"jwt_configuration\": {\n \"lifetime_in_seconds\": 1,\n \"secret_encoded\": true,\n \"scopes\": {\n \"key\": \"value\"\n },\n \"alg\": \"HS256\"\n },\n \"signing_keys\": [\n {\n \"pkcs7\": \"pkcs7\",\n \"cert\": \"cert\",\n \"subject\": \"subject\"\n }\n ],\n \"encryption_key\": {\n \"pub\": \"pub\",\n \"cert\": \"cert\",\n \"subject\": \"subject\"\n },\n \"sso\": true,\n \"sso_disabled\": true,\n \"cross_origin_authentication\": true,\n \"cross_origin_loc\": \"cross_origin_loc\",\n \"custom_login_page_on\": true,\n \"custom_login_page\": \"custom_login_page\",\n \"custom_login_page_preview\": \"custom_login_page_preview\",\n \"form_template\": \"form_template\",\n \"addons\": {\n \"aws\": {\n \"principal\": \"principal\",\n \"role\": \"role\",\n \"lifetime_in_seconds\": 1\n },\n \"azure_blob\": {\n \"accountName\": \"accountName\",\n \"storageAccessKey\": \"storageAccessKey\",\n \"containerName\": \"containerName\",\n \"blobName\": \"blobName\",\n \"expiration\": 1,\n \"signedIdentifier\": \"signedIdentifier\",\n \"blob_read\": true,\n \"blob_write\": true,\n \"blob_delete\": true,\n \"container_read\": true,\n \"container_write\": true,\n \"container_delete\": true,\n \"container_list\": true\n },\n \"azure_sb\": {\n \"namespace\": \"namespace\",\n \"sasKeyName\": \"sasKeyName\",\n \"sasKey\": \"sasKey\",\n \"entityPath\": \"entityPath\",\n \"expiration\": 1\n },\n \"rms\": {\n \"url\": \"url\"\n },\n \"mscrm\": {\n \"url\": \"url\"\n },\n \"slack\": {\n \"team\": \"team\"\n },\n \"sentry\": {\n \"org_slug\": \"org_slug\",\n \"base_url\": \"base_url\"\n },\n \"box\": {\n \"key\": \"value\"\n },\n \"cloudbees\": {\n \"key\": \"value\"\n },\n \"concur\": {\n \"key\": \"value\"\n },\n \"dropbox\": {\n \"key\": \"value\"\n },\n \"echosign\": {\n \"domain\": \"domain\"\n },\n \"egnyte\": {\n \"domain\": \"domain\"\n },\n \"firebase\": {\n \"secret\": \"secret\",\n \"private_key_id\": \"private_key_id\",\n \"private_key\": \"private_key\",\n \"client_email\": \"client_email\",\n \"lifetime_in_seconds\": 1\n },\n \"newrelic\": {\n \"account\": \"account\"\n },\n \"office365\": {\n \"domain\": \"domain\",\n \"connection\": \"connection\"\n },\n \"salesforce\": {\n \"entity_id\": \"entity_id\"\n },\n \"salesforce_api\": {\n \"clientid\": \"clientid\",\n \"principal\": \"principal\",\n \"communityName\": \"communityName\",\n \"community_url_section\": \"community_url_section\"\n },\n \"salesforce_sandbox_api\": {\n \"clientid\": \"clientid\",\n \"principal\": \"principal\",\n \"communityName\": \"communityName\",\n \"community_url_section\": \"community_url_section\"\n },\n \"samlp\": {\n \"mappings\": {\n \"key\": \"value\"\n },\n \"audience\": \"audience\",\n \"recipient\": \"recipient\",\n \"createUpnClaim\": true,\n \"mapUnknownClaimsAsIs\": true,\n \"passthroughClaimsWithNoMapping\": true,\n \"mapIdentities\": true,\n \"signatureAlgorithm\": \"signatureAlgorithm\",\n \"digestAlgorithm\": \"digestAlgorithm\",\n \"issuer\": \"issuer\",\n \"destination\": \"destination\",\n \"lifetimeInSeconds\": 1,\n \"signResponse\": true,\n \"nameIdentifierFormat\": \"nameIdentifierFormat\",\n \"nameIdentifierProbes\": [\n \"nameIdentifierProbes\"\n ],\n \"authnContextClassRef\": \"authnContextClassRef\"\n },\n \"layer\": {\n \"providerId\": \"providerId\",\n \"keyId\": \"keyId\",\n \"privateKey\": \"privateKey\",\n \"principal\": \"principal\",\n \"expiration\": 1\n },\n \"sap_api\": {\n \"clientid\": \"clientid\",\n \"usernameAttribute\": \"usernameAttribute\",\n \"tokenEndpointUrl\": \"tokenEndpointUrl\",\n \"scope\": \"scope\",\n \"servicePassword\": \"servicePassword\",\n \"nameIdentifierFormat\": \"nameIdentifierFormat\"\n },\n \"sharepoint\": {\n \"url\": \"url\",\n \"external_url\": [\n \"external_url\"\n ]\n },\n \"springcm\": {\n \"acsurl\": \"acsurl\"\n },\n \"wams\": {\n \"masterkey\": \"masterkey\"\n },\n \"wsfed\": {\n \"key\": \"value\"\n },\n \"zendesk\": {\n \"accountName\": \"accountName\"\n },\n \"zoom\": {\n \"account\": \"account\"\n },\n \"sso_integration\": {\n \"name\": \"name\",\n \"version\": \"version\"\n }\n },\n \"token_endpoint_auth_method\": \"none\",\n \"is_token_endpoint_ip_header_trusted\": true,\n \"client_metadata\": {\n \"key\": \"value\"\n },\n \"mobile\": {\n \"android\": {\n \"app_package_name\": \"app_package_name\",\n \"sha256_cert_fingerprints\": [\n \"sha256_cert_fingerprints\"\n ]\n },\n \"ios\": {\n \"team_id\": \"team_id\",\n \"app_bundle_identifier\": \"app_bundle_identifier\"\n }\n },\n \"initiate_login_uri\": \"initiate_login_uri\",\n \"native_social_login\": {\n \"apple\": {\n \"enabled\": true\n },\n \"facebook\": {\n \"enabled\": true\n },\n \"google\": {\n \"enabled\": true\n }\n },\n \"fedcm_login\": {\n \"google\": {\n \"is_enabled\": true\n }\n },\n \"refresh_token\": {\n \"rotation_type\": \"rotating\",\n \"expiration_type\": \"expiring\",\n \"leeway\": 1,\n \"token_lifetime\": 1,\n \"infinite_token_lifetime\": true,\n \"idle_token_lifetime\": 1,\n \"infinite_idle_token_lifetime\": true,\n \"policies\": [\n {\n \"audience\": \"audience\",\n \"scope\": [\n \"scope\"\n ]\n }\n ]\n },\n \"default_organization\": {\n \"organization_id\": \"organization_id\",\n \"flows\": [\n \"client_credentials\"\n ]\n },\n \"organization_usage\": \"deny\",\n \"organization_require_behavior\": \"no_prompt\",\n \"organization_discovery_methods\": [\n \"email\"\n ],\n \"client_authentication_methods\": {\n \"private_key_jwt\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"tls_client_auth\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"self_signed_tls_client_auth\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n }\n },\n \"require_pushed_authorization_requests\": true,\n \"require_proof_of_possession\": true,\n \"signed_request_object\": {\n \"required\": true,\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"token_vault_privileged_access\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ],\n \"ip_allowlist\": [\n \"ip_allowlist\"\n ]\n },\n \"compliance_level\": \"none\",\n \"skip_non_verifiable_callback_uri_confirmation_prompt\": true,\n \"token_exchange\": {\n \"allow_any_profile_of_type\": [\n \"custom_authentication\"\n ]\n },\n \"par_request_expiry\": 1,\n \"token_quota\": {\n \"client_credentials\": {\n \"enforce\": true,\n \"per_day\": 1,\n \"per_hour\": 1\n }\n },\n \"express_configuration\": {\n \"initiate_login_uri_template\": \"initiate_login_uri_template\",\n \"user_attribute_profile_id\": \"user_attribute_profile_id\",\n \"connection_profile_id\": \"connection_profile_id\",\n \"enable_client\": true,\n \"enable_organization\": true,\n \"linked_clients\": [\n {\n \"client_id\": \"client_id\"\n }\n ],\n \"okta_oin_client_id\": \"okta_oin_client_id\",\n \"admin_login_domain\": \"admin_login_domain\",\n \"oin_submission_id\": \"oin_submission_id\"\n },\n \"my_organization_configuration\": {\n \"connection_profile_id\": \"connection_profile_id\",\n \"user_attribute_profile_id\": \"user_attribute_profile_id\",\n \"allowed_strategies\": [\n \"pingfederate\"\n ],\n \"connection_deletion_behavior\": \"allow\",\n \"invitation_landing_client_id\": \"invitation_landing_client_id\"\n },\n \"third_party_security_mode\": \"strict\",\n \"redirection_policy\": \"allow_always\",\n \"resource_server_identifier\": \"resource_server_identifier\",\n \"async_approval_notification_channels\": [\n \"guardian-push\"\n ],\n \"external_metadata_type\": \"cimd\",\n \"external_metadata_created_by\": \"admin\",\n \"external_client_id\": \"external_client_id\",\n \"jwks_uri\": \"jwks_uri\"\n}",
"headers": {
"Content-Type": "application/json"
}
@@ -817,7 +817,7 @@
},
"response": {
"status": 200,
- "body": "{\n \"client_id\": \"client_id\",\n \"tenant\": \"tenant\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"global\": true,\n \"client_secret\": \"client_secret\",\n \"app_type\": \"native\",\n \"logo_uri\": \"logo_uri\",\n \"is_first_party\": true,\n \"oidc_conformant\": true,\n \"callbacks\": [\n \"callbacks\"\n ],\n \"allowed_origins\": [\n \"allowed_origins\"\n ],\n \"web_origins\": [\n \"web_origins\"\n ],\n \"client_aliases\": [\n \"client_aliases\"\n ],\n \"allowed_clients\": [\n \"allowed_clients\"\n ],\n \"allowed_logout_urls\": [\n \"allowed_logout_urls\"\n ],\n \"session_transfer\": {\n \"can_create_session_transfer_token\": true,\n \"enforce_cascade_revocation\": true,\n \"allowed_authentication_methods\": [\n \"cookie\"\n ],\n \"enforce_device_binding\": \"ip\",\n \"allow_refresh_token\": true,\n \"enforce_online_refresh_tokens\": true,\n \"delegation\": {\n \"allow_delegated_access\": true,\n \"enforce_device_binding\": \"ip\"\n }\n },\n \"oidc_logout\": {\n \"backchannel_logout_urls\": [\n \"backchannel_logout_urls\"\n ],\n \"backchannel_logout_initiators\": {\n \"mode\": \"custom\",\n \"selected_initiators\": [\n \"rp-logout\"\n ]\n },\n \"backchannel_logout_session_metadata\": {\n \"include\": true\n }\n },\n \"grant_types\": [\n \"grant_types\"\n ],\n \"jwt_configuration\": {\n \"lifetime_in_seconds\": 1,\n \"secret_encoded\": true,\n \"scopes\": {\n \"key\": \"value\"\n },\n \"alg\": \"HS256\"\n },\n \"signing_keys\": [\n {\n \"pkcs7\": \"pkcs7\",\n \"cert\": \"cert\",\n \"subject\": \"subject\"\n }\n ],\n \"encryption_key\": {\n \"pub\": \"pub\",\n \"cert\": \"cert\",\n \"subject\": \"subject\"\n },\n \"sso\": true,\n \"sso_disabled\": true,\n \"cross_origin_authentication\": true,\n \"cross_origin_loc\": \"cross_origin_loc\",\n \"custom_login_page_on\": true,\n \"custom_login_page\": \"custom_login_page\",\n \"custom_login_page_preview\": \"custom_login_page_preview\",\n \"form_template\": \"form_template\",\n \"addons\": {\n \"aws\": {\n \"principal\": \"principal\",\n \"role\": \"role\",\n \"lifetime_in_seconds\": 1\n },\n \"azure_blob\": {\n \"accountName\": \"accountName\",\n \"storageAccessKey\": \"storageAccessKey\",\n \"containerName\": \"containerName\",\n \"blobName\": \"blobName\",\n \"expiration\": 1,\n \"signedIdentifier\": \"signedIdentifier\",\n \"blob_read\": true,\n \"blob_write\": true,\n \"blob_delete\": true,\n \"container_read\": true,\n \"container_write\": true,\n \"container_delete\": true,\n \"container_list\": true\n },\n \"azure_sb\": {\n \"namespace\": \"namespace\",\n \"sasKeyName\": \"sasKeyName\",\n \"sasKey\": \"sasKey\",\n \"entityPath\": \"entityPath\",\n \"expiration\": 1\n },\n \"rms\": {\n \"url\": \"url\"\n },\n \"mscrm\": {\n \"url\": \"url\"\n },\n \"slack\": {\n \"team\": \"team\"\n },\n \"sentry\": {\n \"org_slug\": \"org_slug\",\n \"base_url\": \"base_url\"\n },\n \"box\": {\n \"key\": \"value\"\n },\n \"cloudbees\": {\n \"key\": \"value\"\n },\n \"concur\": {\n \"key\": \"value\"\n },\n \"dropbox\": {\n \"key\": \"value\"\n },\n \"echosign\": {\n \"domain\": \"domain\"\n },\n \"egnyte\": {\n \"domain\": \"domain\"\n },\n \"firebase\": {\n \"secret\": \"secret\",\n \"private_key_id\": \"private_key_id\",\n \"private_key\": \"private_key\",\n \"client_email\": \"client_email\",\n \"lifetime_in_seconds\": 1\n },\n \"newrelic\": {\n \"account\": \"account\"\n },\n \"office365\": {\n \"domain\": \"domain\",\n \"connection\": \"connection\"\n },\n \"salesforce\": {\n \"entity_id\": \"entity_id\"\n },\n \"salesforce_api\": {\n \"clientid\": \"clientid\",\n \"principal\": \"principal\",\n \"communityName\": \"communityName\",\n \"community_url_section\": \"community_url_section\"\n },\n \"salesforce_sandbox_api\": {\n \"clientid\": \"clientid\",\n \"principal\": \"principal\",\n \"communityName\": \"communityName\",\n \"community_url_section\": \"community_url_section\"\n },\n \"samlp\": {\n \"mappings\": {\n \"key\": \"value\"\n },\n \"audience\": \"audience\",\n \"recipient\": \"recipient\",\n \"createUpnClaim\": true,\n \"mapUnknownClaimsAsIs\": true,\n \"passthroughClaimsWithNoMapping\": true,\n \"mapIdentities\": true,\n \"signatureAlgorithm\": \"signatureAlgorithm\",\n \"digestAlgorithm\": \"digestAlgorithm\",\n \"issuer\": \"issuer\",\n \"destination\": \"destination\",\n \"lifetimeInSeconds\": 1,\n \"signResponse\": true,\n \"nameIdentifierFormat\": \"nameIdentifierFormat\",\n \"nameIdentifierProbes\": [\n \"nameIdentifierProbes\"\n ],\n \"authnContextClassRef\": \"authnContextClassRef\"\n },\n \"layer\": {\n \"providerId\": \"providerId\",\n \"keyId\": \"keyId\",\n \"privateKey\": \"privateKey\",\n \"principal\": \"principal\",\n \"expiration\": 1\n },\n \"sap_api\": {\n \"clientid\": \"clientid\",\n \"usernameAttribute\": \"usernameAttribute\",\n \"tokenEndpointUrl\": \"tokenEndpointUrl\",\n \"scope\": \"scope\",\n \"servicePassword\": \"servicePassword\",\n \"nameIdentifierFormat\": \"nameIdentifierFormat\"\n },\n \"sharepoint\": {\n \"url\": \"url\",\n \"external_url\": [\n \"external_url\"\n ]\n },\n \"springcm\": {\n \"acsurl\": \"acsurl\"\n },\n \"wams\": {\n \"masterkey\": \"masterkey\"\n },\n \"wsfed\": {\n \"key\": \"value\"\n },\n \"zendesk\": {\n \"accountName\": \"accountName\"\n },\n \"zoom\": {\n \"account\": \"account\"\n },\n \"sso_integration\": {\n \"name\": \"name\",\n \"version\": \"version\"\n }\n },\n \"token_endpoint_auth_method\": \"none\",\n \"is_token_endpoint_ip_header_trusted\": true,\n \"client_metadata\": {\n \"key\": \"value\"\n },\n \"mobile\": {\n \"android\": {\n \"app_package_name\": \"app_package_name\",\n \"sha256_cert_fingerprints\": [\n \"sha256_cert_fingerprints\"\n ]\n },\n \"ios\": {\n \"team_id\": \"team_id\",\n \"app_bundle_identifier\": \"app_bundle_identifier\"\n }\n },\n \"initiate_login_uri\": \"initiate_login_uri\",\n \"refresh_token\": {\n \"rotation_type\": \"rotating\",\n \"expiration_type\": \"expiring\",\n \"leeway\": 1,\n \"token_lifetime\": 1,\n \"infinite_token_lifetime\": true,\n \"idle_token_lifetime\": 1,\n \"infinite_idle_token_lifetime\": true,\n \"policies\": [\n {\n \"audience\": \"audience\",\n \"scope\": [\n \"scope\"\n ]\n }\n ]\n },\n \"default_organization\": {\n \"organization_id\": \"organization_id\",\n \"flows\": [\n \"client_credentials\"\n ]\n },\n \"organization_usage\": \"deny\",\n \"organization_require_behavior\": \"no_prompt\",\n \"organization_discovery_methods\": [\n \"email\"\n ],\n \"client_authentication_methods\": {\n \"private_key_jwt\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"tls_client_auth\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"self_signed_tls_client_auth\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n }\n },\n \"require_pushed_authorization_requests\": true,\n \"require_proof_of_possession\": true,\n \"signed_request_object\": {\n \"required\": true,\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"compliance_level\": \"none\",\n \"skip_non_verifiable_callback_uri_confirmation_prompt\": true,\n \"token_exchange\": {\n \"allow_any_profile_of_type\": [\n \"custom_authentication\"\n ]\n },\n \"par_request_expiry\": 1,\n \"token_quota\": {\n \"client_credentials\": {\n \"enforce\": true,\n \"per_day\": 1,\n \"per_hour\": 1\n }\n },\n \"express_configuration\": {\n \"initiate_login_uri_template\": \"initiate_login_uri_template\",\n \"user_attribute_profile_id\": \"user_attribute_profile_id\",\n \"connection_profile_id\": \"connection_profile_id\",\n \"enable_client\": true,\n \"enable_organization\": true,\n \"linked_clients\": [\n {\n \"client_id\": \"client_id\"\n }\n ],\n \"okta_oin_client_id\": \"okta_oin_client_id\",\n \"admin_login_domain\": \"admin_login_domain\",\n \"oin_submission_id\": \"oin_submission_id\"\n },\n \"my_organization_configuration\": {\n \"connection_profile_id\": \"connection_profile_id\",\n \"user_attribute_profile_id\": \"user_attribute_profile_id\",\n \"allowed_strategies\": [\n \"pingfederate\"\n ],\n \"connection_deletion_behavior\": \"allow\",\n \"invitation_landing_client_id\": \"invitation_landing_client_id\"\n },\n \"third_party_security_mode\": \"strict\",\n \"redirection_policy\": \"allow_always\",\n \"resource_server_identifier\": \"resource_server_identifier\",\n \"async_approval_notification_channels\": [\n \"guardian-push\"\n ],\n \"external_metadata_type\": \"cimd\",\n \"external_metadata_created_by\": \"admin\",\n \"external_client_id\": \"external_client_id\",\n \"jwks_uri\": \"jwks_uri\"\n}",
+ "body": "{\n \"client_id\": \"client_id\",\n \"tenant\": \"tenant\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"global\": true,\n \"client_secret\": \"client_secret\",\n \"app_type\": \"native\",\n \"logo_uri\": \"logo_uri\",\n \"is_first_party\": true,\n \"oidc_conformant\": true,\n \"callbacks\": [\n \"callbacks\"\n ],\n \"allowed_origins\": [\n \"allowed_origins\"\n ],\n \"web_origins\": [\n \"web_origins\"\n ],\n \"client_aliases\": [\n \"client_aliases\"\n ],\n \"allowed_clients\": [\n \"allowed_clients\"\n ],\n \"allowed_logout_urls\": [\n \"allowed_logout_urls\"\n ],\n \"session_transfer\": {\n \"can_create_session_transfer_token\": true,\n \"enforce_cascade_revocation\": true,\n \"allowed_authentication_methods\": [\n \"cookie\"\n ],\n \"enforce_device_binding\": \"ip\",\n \"allow_refresh_token\": true,\n \"enforce_online_refresh_tokens\": true,\n \"delegation\": {\n \"allow_delegated_access\": true,\n \"enforce_device_binding\": \"ip\"\n }\n },\n \"oidc_logout\": {\n \"backchannel_logout_urls\": [\n \"backchannel_logout_urls\"\n ],\n \"backchannel_logout_initiators\": {\n \"mode\": \"custom\",\n \"selected_initiators\": [\n \"rp-logout\"\n ]\n },\n \"backchannel_logout_session_metadata\": {\n \"include\": true\n }\n },\n \"grant_types\": [\n \"grant_types\"\n ],\n \"jwt_configuration\": {\n \"lifetime_in_seconds\": 1,\n \"secret_encoded\": true,\n \"scopes\": {\n \"key\": \"value\"\n },\n \"alg\": \"HS256\"\n },\n \"signing_keys\": [\n {\n \"pkcs7\": \"pkcs7\",\n \"cert\": \"cert\",\n \"subject\": \"subject\"\n }\n ],\n \"encryption_key\": {\n \"pub\": \"pub\",\n \"cert\": \"cert\",\n \"subject\": \"subject\"\n },\n \"sso\": true,\n \"sso_disabled\": true,\n \"cross_origin_authentication\": true,\n \"cross_origin_loc\": \"cross_origin_loc\",\n \"custom_login_page_on\": true,\n \"custom_login_page\": \"custom_login_page\",\n \"custom_login_page_preview\": \"custom_login_page_preview\",\n \"form_template\": \"form_template\",\n \"addons\": {\n \"aws\": {\n \"principal\": \"principal\",\n \"role\": \"role\",\n \"lifetime_in_seconds\": 1\n },\n \"azure_blob\": {\n \"accountName\": \"accountName\",\n \"storageAccessKey\": \"storageAccessKey\",\n \"containerName\": \"containerName\",\n \"blobName\": \"blobName\",\n \"expiration\": 1,\n \"signedIdentifier\": \"signedIdentifier\",\n \"blob_read\": true,\n \"blob_write\": true,\n \"blob_delete\": true,\n \"container_read\": true,\n \"container_write\": true,\n \"container_delete\": true,\n \"container_list\": true\n },\n \"azure_sb\": {\n \"namespace\": \"namespace\",\n \"sasKeyName\": \"sasKeyName\",\n \"sasKey\": \"sasKey\",\n \"entityPath\": \"entityPath\",\n \"expiration\": 1\n },\n \"rms\": {\n \"url\": \"url\"\n },\n \"mscrm\": {\n \"url\": \"url\"\n },\n \"slack\": {\n \"team\": \"team\"\n },\n \"sentry\": {\n \"org_slug\": \"org_slug\",\n \"base_url\": \"base_url\"\n },\n \"box\": {\n \"key\": \"value\"\n },\n \"cloudbees\": {\n \"key\": \"value\"\n },\n \"concur\": {\n \"key\": \"value\"\n },\n \"dropbox\": {\n \"key\": \"value\"\n },\n \"echosign\": {\n \"domain\": \"domain\"\n },\n \"egnyte\": {\n \"domain\": \"domain\"\n },\n \"firebase\": {\n \"secret\": \"secret\",\n \"private_key_id\": \"private_key_id\",\n \"private_key\": \"private_key\",\n \"client_email\": \"client_email\",\n \"lifetime_in_seconds\": 1\n },\n \"newrelic\": {\n \"account\": \"account\"\n },\n \"office365\": {\n \"domain\": \"domain\",\n \"connection\": \"connection\"\n },\n \"salesforce\": {\n \"entity_id\": \"entity_id\"\n },\n \"salesforce_api\": {\n \"clientid\": \"clientid\",\n \"principal\": \"principal\",\n \"communityName\": \"communityName\",\n \"community_url_section\": \"community_url_section\"\n },\n \"salesforce_sandbox_api\": {\n \"clientid\": \"clientid\",\n \"principal\": \"principal\",\n \"communityName\": \"communityName\",\n \"community_url_section\": \"community_url_section\"\n },\n \"samlp\": {\n \"mappings\": {\n \"key\": \"value\"\n },\n \"audience\": \"audience\",\n \"recipient\": \"recipient\",\n \"createUpnClaim\": true,\n \"mapUnknownClaimsAsIs\": true,\n \"passthroughClaimsWithNoMapping\": true,\n \"mapIdentities\": true,\n \"signatureAlgorithm\": \"signatureAlgorithm\",\n \"digestAlgorithm\": \"digestAlgorithm\",\n \"issuer\": \"issuer\",\n \"destination\": \"destination\",\n \"lifetimeInSeconds\": 1,\n \"signResponse\": true,\n \"nameIdentifierFormat\": \"nameIdentifierFormat\",\n \"nameIdentifierProbes\": [\n \"nameIdentifierProbes\"\n ],\n \"authnContextClassRef\": \"authnContextClassRef\"\n },\n \"layer\": {\n \"providerId\": \"providerId\",\n \"keyId\": \"keyId\",\n \"privateKey\": \"privateKey\",\n \"principal\": \"principal\",\n \"expiration\": 1\n },\n \"sap_api\": {\n \"clientid\": \"clientid\",\n \"usernameAttribute\": \"usernameAttribute\",\n \"tokenEndpointUrl\": \"tokenEndpointUrl\",\n \"scope\": \"scope\",\n \"servicePassword\": \"servicePassword\",\n \"nameIdentifierFormat\": \"nameIdentifierFormat\"\n },\n \"sharepoint\": {\n \"url\": \"url\",\n \"external_url\": [\n \"external_url\"\n ]\n },\n \"springcm\": {\n \"acsurl\": \"acsurl\"\n },\n \"wams\": {\n \"masterkey\": \"masterkey\"\n },\n \"wsfed\": {\n \"key\": \"value\"\n },\n \"zendesk\": {\n \"accountName\": \"accountName\"\n },\n \"zoom\": {\n \"account\": \"account\"\n },\n \"sso_integration\": {\n \"name\": \"name\",\n \"version\": \"version\"\n }\n },\n \"token_endpoint_auth_method\": \"none\",\n \"is_token_endpoint_ip_header_trusted\": true,\n \"client_metadata\": {\n \"key\": \"value\"\n },\n \"mobile\": {\n \"android\": {\n \"app_package_name\": \"app_package_name\",\n \"sha256_cert_fingerprints\": [\n \"sha256_cert_fingerprints\"\n ]\n },\n \"ios\": {\n \"team_id\": \"team_id\",\n \"app_bundle_identifier\": \"app_bundle_identifier\"\n }\n },\n \"initiate_login_uri\": \"initiate_login_uri\",\n \"native_social_login\": {\n \"apple\": {\n \"enabled\": true\n },\n \"facebook\": {\n \"enabled\": true\n },\n \"google\": {\n \"enabled\": true\n }\n },\n \"fedcm_login\": {\n \"google\": {\n \"is_enabled\": true\n }\n },\n \"refresh_token\": {\n \"rotation_type\": \"rotating\",\n \"expiration_type\": \"expiring\",\n \"leeway\": 1,\n \"token_lifetime\": 1,\n \"infinite_token_lifetime\": true,\n \"idle_token_lifetime\": 1,\n \"infinite_idle_token_lifetime\": true,\n \"policies\": [\n {\n \"audience\": \"audience\",\n \"scope\": [\n \"scope\"\n ]\n }\n ]\n },\n \"default_organization\": {\n \"organization_id\": \"organization_id\",\n \"flows\": [\n \"client_credentials\"\n ]\n },\n \"organization_usage\": \"deny\",\n \"organization_require_behavior\": \"no_prompt\",\n \"organization_discovery_methods\": [\n \"email\"\n ],\n \"client_authentication_methods\": {\n \"private_key_jwt\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"tls_client_auth\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"self_signed_tls_client_auth\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n }\n },\n \"require_pushed_authorization_requests\": true,\n \"require_proof_of_possession\": true,\n \"signed_request_object\": {\n \"required\": true,\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"token_vault_privileged_access\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ],\n \"ip_allowlist\": [\n \"ip_allowlist\"\n ]\n },\n \"compliance_level\": \"none\",\n \"skip_non_verifiable_callback_uri_confirmation_prompt\": true,\n \"token_exchange\": {\n \"allow_any_profile_of_type\": [\n \"custom_authentication\"\n ]\n },\n \"par_request_expiry\": 1,\n \"token_quota\": {\n \"client_credentials\": {\n \"enforce\": true,\n \"per_day\": 1,\n \"per_hour\": 1\n }\n },\n \"express_configuration\": {\n \"initiate_login_uri_template\": \"initiate_login_uri_template\",\n \"user_attribute_profile_id\": \"user_attribute_profile_id\",\n \"connection_profile_id\": \"connection_profile_id\",\n \"enable_client\": true,\n \"enable_organization\": true,\n \"linked_clients\": [\n {\n \"client_id\": \"client_id\"\n }\n ],\n \"okta_oin_client_id\": \"okta_oin_client_id\",\n \"admin_login_domain\": \"admin_login_domain\",\n \"oin_submission_id\": \"oin_submission_id\"\n },\n \"my_organization_configuration\": {\n \"connection_profile_id\": \"connection_profile_id\",\n \"user_attribute_profile_id\": \"user_attribute_profile_id\",\n \"allowed_strategies\": [\n \"pingfederate\"\n ],\n \"connection_deletion_behavior\": \"allow\",\n \"invitation_landing_client_id\": \"invitation_landing_client_id\"\n },\n \"third_party_security_mode\": \"strict\",\n \"redirection_policy\": \"allow_always\",\n \"resource_server_identifier\": \"resource_server_identifier\",\n \"async_approval_notification_channels\": [\n \"guardian-push\"\n ],\n \"external_metadata_type\": \"cimd\",\n \"external_metadata_created_by\": \"admin\",\n \"external_client_id\": \"external_client_id\",\n \"jwks_uri\": \"jwks_uri\"\n}",
"headers": {
"Content-Type": "application/json"
}
@@ -1119,7 +1119,7 @@
},
"response": {
"status": 200,
- "body": "{\n \"next\": \"next\",\n \"connections\": [\n {\n \"name\": \"name\",\n \"display_name\": \"display_name\",\n \"options\": {\n \"key\": \"value\"\n },\n \"id\": \"id\",\n \"strategy\": \"strategy\",\n \"realms\": [\n \"realms\"\n ],\n \"is_domain_connection\": true,\n \"show_as_button\": true,\n \"authentication\": {\n \"active\": true\n },\n \"connected_accounts\": {\n \"active\": true\n }\n }\n ]\n}",
+ "body": "{\n \"next\": \"next\",\n \"connections\": [\n {\n \"name\": \"name\",\n \"display_name\": \"display_name\",\n \"options\": {\n \"key\": \"value\"\n },\n \"id\": \"id\",\n \"strategy\": \"strategy\",\n \"realms\": [\n \"realms\"\n ],\n \"is_domain_connection\": true,\n \"show_as_button\": true,\n \"authentication\": {\n \"active\": true\n },\n \"connected_accounts\": {\n \"active\": true\n },\n \"cross_app_access_requesting_app\": {\n \"active\": true\n }\n }\n ]\n}",
"headers": {
"Content-Type": "application/json"
}
@@ -1151,7 +1151,7 @@
},
"response": {
"status": 201,
- "body": "{\n \"name\": \"name\",\n \"display_name\": \"display_name\",\n \"options\": {\n \"key\": \"value\"\n },\n \"id\": \"id\",\n \"strategy\": \"strategy\",\n \"realms\": [\n \"realms\"\n ],\n \"enabled_clients\": [\n \"enabled_clients\"\n ],\n \"is_domain_connection\": true,\n \"show_as_button\": true,\n \"metadata\": {\n \"key\": \"value\"\n },\n \"authentication\": {\n \"active\": true\n },\n \"connected_accounts\": {\n \"active\": true,\n \"cross_app_access\": true\n }\n}",
+ "body": "{\n \"name\": \"name\",\n \"display_name\": \"display_name\",\n \"options\": {\n \"key\": \"value\"\n },\n \"id\": \"id\",\n \"strategy\": \"strategy\",\n \"realms\": [\n \"realms\"\n ],\n \"enabled_clients\": [\n \"enabled_clients\"\n ],\n \"is_domain_connection\": true,\n \"show_as_button\": true,\n \"metadata\": {\n \"key\": \"value\"\n },\n \"authentication\": {\n \"active\": true\n },\n \"connected_accounts\": {\n \"active\": true,\n \"cross_app_access\": true\n },\n \"cross_app_access_requesting_app\": {\n \"active\": true\n }\n}",
"headers": {
"Content-Type": "application/json"
}
@@ -1195,7 +1195,7 @@
},
"response": {
"status": 200,
- "body": "{\n \"name\": \"name\",\n \"display_name\": \"display_name\",\n \"options\": {\n \"key\": \"value\"\n },\n \"id\": \"id\",\n \"strategy\": \"strategy\",\n \"realms\": [\n \"realms\"\n ],\n \"enabled_clients\": [\n \"enabled_clients\"\n ],\n \"is_domain_connection\": true,\n \"show_as_button\": true,\n \"metadata\": {\n \"key\": \"value\"\n },\n \"authentication\": {\n \"active\": true\n },\n \"connected_accounts\": {\n \"active\": true,\n \"cross_app_access\": true\n }\n}",
+ "body": "{\n \"name\": \"name\",\n \"display_name\": \"display_name\",\n \"options\": {\n \"key\": \"value\"\n },\n \"id\": \"id\",\n \"strategy\": \"strategy\",\n \"realms\": [\n \"realms\"\n ],\n \"enabled_clients\": [\n \"enabled_clients\"\n ],\n \"is_domain_connection\": true,\n \"show_as_button\": true,\n \"metadata\": {\n \"key\": \"value\"\n },\n \"authentication\": {\n \"active\": true\n },\n \"connected_accounts\": {\n \"active\": true,\n \"cross_app_access\": true\n },\n \"cross_app_access_requesting_app\": {\n \"active\": true\n }\n}",
"headers": {
"Content-Type": "application/json"
}
@@ -1267,7 +1267,7 @@
},
"response": {
"status": 200,
- "body": "{\n \"name\": \"name\",\n \"display_name\": \"display_name\",\n \"options\": {\n \"key\": \"value\"\n },\n \"id\": \"id\",\n \"strategy\": \"strategy\",\n \"realms\": [\n \"realms\"\n ],\n \"enabled_clients\": [\n \"enabled_clients\"\n ],\n \"is_domain_connection\": true,\n \"show_as_button\": true,\n \"metadata\": {\n \"key\": \"value\"\n },\n \"authentication\": {\n \"active\": true\n },\n \"connected_accounts\": {\n \"active\": true,\n \"cross_app_access\": true\n }\n}",
+ "body": "{\n \"name\": \"name\",\n \"display_name\": \"display_name\",\n \"options\": {\n \"key\": \"value\"\n },\n \"id\": \"id\",\n \"strategy\": \"strategy\",\n \"realms\": [\n \"realms\"\n ],\n \"enabled_clients\": [\n \"enabled_clients\"\n ],\n \"is_domain_connection\": true,\n \"show_as_button\": true,\n \"metadata\": {\n \"key\": \"value\"\n },\n \"authentication\": {\n \"active\": true\n },\n \"connected_accounts\": {\n \"active\": true,\n \"cross_app_access\": true\n },\n \"cross_app_access_requesting_app\": {\n \"active\": true\n }\n}",
"headers": {
"Content-Type": "application/json"
}
@@ -6024,7 +6024,7 @@
},
"response": {
"status": 200,
- "body": "{\n \"start\": 1.1,\n \"limit\": 1.1,\n \"length\": 1.1,\n \"total\": 1.1,\n \"users\": [\n {\n \"user_id\": \"user_id\",\n \"email\": \"email\",\n \"email_verified\": true,\n \"username\": \"username\",\n \"phone_number\": \"phone_number\",\n \"phone_verified\": true,\n \"created_at\": \"created_at\",\n \"updated_at\": \"updated_at\",\n \"identities\": [\n {}\n ],\n \"app_metadata\": {\n \"key\": \"value\"\n },\n \"user_metadata\": {\n \"key\": \"value\"\n },\n \"picture\": \"picture\",\n \"name\": \"name\",\n \"nickname\": \"nickname\",\n \"multifactor\": [\n \"multifactor\"\n ],\n \"multifactor_last_modified\": \"multifactor_last_modified\",\n \"last_ip\": \"last_ip\",\n \"last_login\": \"last_login\",\n \"last_password_reset\": \"last_password_reset\",\n \"logins_count\": 1,\n \"blocked\": true,\n \"given_name\": \"given_name\",\n \"family_name\": \"family_name\"\n }\n ]\n}",
+ "body": "{\n \"start\": 1.1,\n \"limit\": 1.1,\n \"length\": 1.1,\n \"total\": 1.1,\n \"users\": [\n {\n \"user_id\": \"user_id\",\n \"email\": \"email\",\n \"email_verified\": true,\n \"username\": \"username\",\n \"phone_number\": \"phone_number\",\n \"phone_verified\": true,\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"identities\": [\n {}\n ],\n \"app_metadata\": {\n \"key\": \"value\"\n },\n \"user_metadata\": {\n \"key\": \"value\"\n },\n \"picture\": \"picture\",\n \"name\": \"name\",\n \"nickname\": \"nickname\",\n \"multifactor\": [\n \"multifactor\"\n ],\n \"multifactor_last_modified\": \"2024-01-15T09:30:00Z\",\n \"last_ip\": \"last_ip\",\n \"last_login\": \"2024-01-15T09:30:00Z\",\n \"last_password_reset\": \"2024-01-15T09:30:00Z\",\n \"logins_count\": 1,\n \"blocked\": true,\n \"given_name\": \"given_name\",\n \"family_name\": \"family_name\"\n }\n ]\n}",
"headers": {
"Content-Type": "application/json"
}
@@ -6056,7 +6056,7 @@
},
"response": {
"status": 201,
- "body": "{\n \"user_id\": \"user_id\",\n \"email\": \"email\",\n \"email_verified\": true,\n \"username\": \"username\",\n \"phone_number\": \"phone_number\",\n \"phone_verified\": true,\n \"created_at\": \"created_at\",\n \"updated_at\": \"updated_at\",\n \"identities\": [\n {\n \"connection\": \"connection\",\n \"user_id\": \"user_id\",\n \"provider\": \"ad\",\n \"isSocial\": true,\n \"access_token\": \"access_token\",\n \"access_token_secret\": \"access_token_secret\",\n \"refresh_token\": \"refresh_token\"\n }\n ],\n \"app_metadata\": {\n \"key\": \"value\"\n },\n \"user_metadata\": {\n \"key\": \"value\"\n },\n \"picture\": \"picture\",\n \"name\": \"name\",\n \"nickname\": \"nickname\",\n \"multifactor\": [\n \"multifactor\"\n ],\n \"multifactor_last_modified\": \"multifactor_last_modified\",\n \"last_ip\": \"last_ip\",\n \"last_login\": \"last_login\",\n \"last_password_reset\": \"last_password_reset\",\n \"logins_count\": 1,\n \"blocked\": true,\n \"given_name\": \"given_name\",\n \"family_name\": \"family_name\"\n}",
+ "body": "{\n \"user_id\": \"user_id\",\n \"email\": \"email\",\n \"email_verified\": true,\n \"username\": \"username\",\n \"phone_number\": \"phone_number\",\n \"phone_verified\": true,\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"identities\": [\n {\n \"connection\": \"connection\",\n \"user_id\": \"user_id\",\n \"provider\": \"ad\",\n \"isSocial\": true,\n \"access_token\": \"access_token\",\n \"access_token_secret\": \"access_token_secret\",\n \"refresh_token\": \"refresh_token\"\n }\n ],\n \"app_metadata\": {\n \"key\": \"value\"\n },\n \"user_metadata\": {\n \"key\": \"value\"\n },\n \"picture\": \"picture\",\n \"name\": \"name\",\n \"nickname\": \"nickname\",\n \"multifactor\": [\n \"multifactor\"\n ],\n \"multifactor_last_modified\": \"2024-01-15T09:30:00Z\",\n \"last_ip\": \"last_ip\",\n \"last_login\": \"2024-01-15T09:30:00Z\",\n \"last_password_reset\": \"2024-01-15T09:30:00Z\",\n \"logins_count\": 1,\n \"blocked\": true,\n \"given_name\": \"given_name\",\n \"family_name\": \"family_name\"\n}",
"headers": {
"Content-Type": "application/json"
}
@@ -6098,7 +6098,7 @@
},
"response": {
"status": 200,
- "body": "[\n {\n \"user_id\": \"user_id\",\n \"email\": \"email\",\n \"email_verified\": true,\n \"username\": \"username\",\n \"phone_number\": \"phone_number\",\n \"phone_verified\": true,\n \"created_at\": \"created_at\",\n \"updated_at\": \"updated_at\",\n \"identities\": [\n {}\n ],\n \"app_metadata\": {\n \"key\": \"value\"\n },\n \"user_metadata\": {\n \"key\": \"value\"\n },\n \"picture\": \"picture\",\n \"name\": \"name\",\n \"nickname\": \"nickname\",\n \"multifactor\": [\n \"multifactor\"\n ],\n \"multifactor_last_modified\": \"multifactor_last_modified\",\n \"last_ip\": \"last_ip\",\n \"last_login\": \"last_login\",\n \"last_password_reset\": \"last_password_reset\",\n \"logins_count\": 1,\n \"blocked\": true,\n \"given_name\": \"given_name\",\n \"family_name\": \"family_name\"\n }\n]",
+ "body": "[\n {\n \"user_id\": \"user_id\",\n \"email\": \"email\",\n \"email_verified\": true,\n \"username\": \"username\",\n \"phone_number\": \"phone_number\",\n \"phone_verified\": true,\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"identities\": [\n {}\n ],\n \"app_metadata\": {\n \"key\": \"value\"\n },\n \"user_metadata\": {\n \"key\": \"value\"\n },\n \"picture\": \"picture\",\n \"name\": \"name\",\n \"nickname\": \"nickname\",\n \"multifactor\": [\n \"multifactor\"\n ],\n \"multifactor_last_modified\": \"2024-01-15T09:30:00Z\",\n \"last_ip\": \"last_ip\",\n \"last_login\": \"2024-01-15T09:30:00Z\",\n \"last_password_reset\": \"2024-01-15T09:30:00Z\",\n \"logins_count\": 1,\n \"blocked\": true,\n \"given_name\": \"given_name\",\n \"family_name\": \"family_name\"\n }\n]",
"headers": {
"Content-Type": "application/json"
}
@@ -6143,7 +6143,7 @@
},
"response": {
"status": 200,
- "body": "{\n \"user_id\": \"user_id\",\n \"email\": \"email\",\n \"email_verified\": true,\n \"username\": \"username\",\n \"phone_number\": \"phone_number\",\n \"phone_verified\": true,\n \"created_at\": \"created_at\",\n \"updated_at\": \"updated_at\",\n \"identities\": [\n {\n \"connection\": \"connection\",\n \"user_id\": \"user_id\",\n \"provider\": \"ad\",\n \"isSocial\": true,\n \"access_token\": \"access_token\",\n \"access_token_secret\": \"access_token_secret\",\n \"refresh_token\": \"refresh_token\"\n }\n ],\n \"app_metadata\": {\n \"key\": \"value\"\n },\n \"user_metadata\": {\n \"key\": \"value\"\n },\n \"picture\": \"picture\",\n \"name\": \"name\",\n \"nickname\": \"nickname\",\n \"multifactor\": [\n \"multifactor\"\n ],\n \"multifactor_last_modified\": \"multifactor_last_modified\",\n \"last_ip\": \"last_ip\",\n \"last_login\": \"last_login\",\n \"last_password_reset\": \"last_password_reset\",\n \"logins_count\": 1,\n \"blocked\": true,\n \"given_name\": \"given_name\",\n \"family_name\": \"family_name\"\n}",
+ "body": "{\n \"user_id\": \"user_id\",\n \"email\": \"email\",\n \"email_verified\": true,\n \"username\": \"username\",\n \"phone_number\": \"phone_number\",\n \"phone_verified\": true,\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"identities\": [\n {\n \"connection\": \"connection\",\n \"user_id\": \"user_id\",\n \"provider\": \"ad\",\n \"isSocial\": true,\n \"access_token\": \"access_token\",\n \"access_token_secret\": \"access_token_secret\",\n \"refresh_token\": \"refresh_token\"\n }\n ],\n \"app_metadata\": {\n \"key\": \"value\"\n },\n \"user_metadata\": {\n \"key\": \"value\"\n },\n \"picture\": \"picture\",\n \"name\": \"name\",\n \"nickname\": \"nickname\",\n \"multifactor\": [\n \"multifactor\"\n ],\n \"multifactor_last_modified\": \"2024-01-15T09:30:00Z\",\n \"last_ip\": \"last_ip\",\n \"last_login\": \"2024-01-15T09:30:00Z\",\n \"last_password_reset\": \"2024-01-15T09:30:00Z\",\n \"logins_count\": 1,\n \"blocked\": true,\n \"given_name\": \"given_name\",\n \"family_name\": \"family_name\"\n}",
"headers": {
"Content-Type": "application/json"
}
@@ -6215,7 +6215,7 @@
},
"response": {
"status": 200,
- "body": "{\n \"user_id\": \"user_id\",\n \"email\": \"email\",\n \"email_verified\": true,\n \"username\": \"username\",\n \"phone_number\": \"phone_number\",\n \"phone_verified\": true,\n \"created_at\": \"created_at\",\n \"updated_at\": \"updated_at\",\n \"identities\": [\n {\n \"connection\": \"connection\",\n \"user_id\": \"user_id\",\n \"provider\": \"ad\",\n \"isSocial\": true,\n \"access_token\": \"access_token\",\n \"access_token_secret\": \"access_token_secret\",\n \"refresh_token\": \"refresh_token\"\n }\n ],\n \"app_metadata\": {\n \"key\": \"value\"\n },\n \"user_metadata\": {\n \"key\": \"value\"\n },\n \"picture\": \"picture\",\n \"name\": \"name\",\n \"nickname\": \"nickname\",\n \"multifactor\": [\n \"multifactor\"\n ],\n \"multifactor_last_modified\": \"multifactor_last_modified\",\n \"last_ip\": \"last_ip\",\n \"last_login\": \"last_login\",\n \"last_password_reset\": \"last_password_reset\",\n \"logins_count\": 1,\n \"blocked\": true,\n \"given_name\": \"given_name\",\n \"family_name\": \"family_name\"\n}",
+ "body": "{\n \"user_id\": \"user_id\",\n \"email\": \"email\",\n \"email_verified\": true,\n \"username\": \"username\",\n \"phone_number\": \"phone_number\",\n \"phone_verified\": true,\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"updated_at\": \"2024-01-15T09:30:00Z\",\n \"identities\": [\n {\n \"connection\": \"connection\",\n \"user_id\": \"user_id\",\n \"provider\": \"ad\",\n \"isSocial\": true,\n \"access_token\": \"access_token\",\n \"access_token_secret\": \"access_token_secret\",\n \"refresh_token\": \"refresh_token\"\n }\n ],\n \"app_metadata\": {\n \"key\": \"value\"\n },\n \"user_metadata\": {\n \"key\": \"value\"\n },\n \"picture\": \"picture\",\n \"name\": \"name\",\n \"nickname\": \"nickname\",\n \"multifactor\": [\n \"multifactor\"\n ],\n \"multifactor_last_modified\": \"2024-01-15T09:30:00Z\",\n \"last_ip\": \"last_ip\",\n \"last_login\": \"2024-01-15T09:30:00Z\",\n \"last_password_reset\": \"2024-01-15T09:30:00Z\",\n \"logins_count\": 1,\n \"blocked\": true,\n \"given_name\": \"given_name\",\n \"family_name\": \"family_name\"\n}",
"headers": {
"Content-Type": "application/json"
}
@@ -7276,6 +7276,69 @@
}
}
},
+ {
+ "id": "e3a2dc7e-fb58-4806-a3f1-3d94a401a38f",
+ "name": "Get Phone Provider Protection settings - default",
+ "request": {
+ "urlPathTemplate": "/attack-protection/phone-provider-protection",
+ "method": "GET",
+ "headers": {
+ "Authorization": {
+ "matches": "Bearer .+"
+ }
+ }
+ },
+ "response": {
+ "status": 200,
+ "body": "{\n \"type\": \"exponential\"\n}",
+ "headers": {
+ "Content-Type": "application/json"
+ }
+ },
+ "uuid": "e3a2dc7e-fb58-4806-a3f1-3d94a401a38f",
+ "persistent": true,
+ "priority": 3,
+ "metadata": {
+ "mocklab": {
+ "created": {
+ "at": "2020-01-01T00:00:00.000Z",
+ "via": "SYSTEM"
+ }
+ }
+ },
+ "postServeActions": []
+ },
+ {
+ "id": "336b75f5-4a3b-4a34-b2ef-248cc14ee45b",
+ "name": "Update Phone Provider Protection settings - default",
+ "request": {
+ "urlPathTemplate": "/attack-protection/phone-provider-protection",
+ "method": "PATCH",
+ "headers": {
+ "Authorization": {
+ "matches": "Bearer .+"
+ }
+ }
+ },
+ "response": {
+ "status": 200,
+ "body": "{\n \"type\": \"exponential\"\n}",
+ "headers": {
+ "Content-Type": "application/json"
+ }
+ },
+ "uuid": "336b75f5-4a3b-4a34-b2ef-248cc14ee45b",
+ "persistent": true,
+ "priority": 3,
+ "metadata": {
+ "mocklab": {
+ "created": {
+ "at": "2020-01-01T00:00:00.000Z",
+ "via": "SYSTEM"
+ }
+ }
+ }
+ },
{
"id": "a3ae14b8-1582-4cae-bb51-84b1d3b3fccf",
"name": "Get Suspicious IP Throttling settings - default",
@@ -8337,7 +8400,7 @@
},
"response": {
"status": 200,
- "body": "{\n \"connections\": [\n {\n \"name\": \"name\",\n \"display_name\": \"display_name\",\n \"options\": {\n \"key\": \"value\"\n },\n \"id\": \"id\",\n \"strategy\": \"strategy\",\n \"realms\": [\n \"realms\"\n ],\n \"is_domain_connection\": true,\n \"show_as_button\": true,\n \"authentication\": {\n \"active\": true\n },\n \"connected_accounts\": {\n \"active\": true\n }\n }\n ],\n \"next\": \"next\"\n}",
+ "body": "{\n \"connections\": [\n {\n \"name\": \"name\",\n \"display_name\": \"display_name\",\n \"options\": {\n \"key\": \"value\"\n },\n \"id\": \"id\",\n \"strategy\": \"strategy\",\n \"realms\": [\n \"realms\"\n ],\n \"is_domain_connection\": true,\n \"show_as_button\": true,\n \"authentication\": {\n \"active\": true\n },\n \"connected_accounts\": {\n \"active\": true\n },\n \"cross_app_access_requesting_app\": {\n \"active\": true\n }\n }\n ],\n \"next\": \"next\"\n}",
"headers": {
"Content-Type": "application/json"
}
@@ -15949,6 +16012,6 @@
}
],
"meta": {
- "total": 427
+ "total": 429
}
}
\ No newline at end of file