Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
300 changes: 234 additions & 66 deletions .fern/replay.lock

Large diffs are not rendered by default.

5,811 changes: 3,019 additions & 2,792 deletions reference.md

Large diffs are not rendered by default.

78 changes: 66 additions & 12 deletions src/auth0/management/__init__.py

Large diffs are not rendered by default.

62 changes: 31 additions & 31 deletions src/auth0/management/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
from .emails.client import AsyncEmailsClient, EmailsClient
from .event_streams.client import AsyncEventStreamsClient, EventStreamsClient
from .events.client import AsyncEventsClient, EventsClient
from .experimentation.client import AsyncExperimentationClient, ExperimentationClient
from .flows.client import AsyncFlowsClient, FlowsClient
from .forms.client import AsyncFormsClient, FormsClient
from .groups.client import AsyncGroupsClient, GroupsClient
Expand All @@ -35,7 +36,6 @@
from .log_streams.client import AsyncLogStreamsClient, LogStreamsClient
from .logs.client import AsyncLogsClient, LogsClient
from .network_acls.client import AsyncNetworkAclsClient, NetworkAclsClient
from .organization_templates.client import AsyncOrganizationTemplatesClient, OrganizationTemplatesClient
from .organizations.client import AsyncOrganizationsClient, OrganizationsClient
from .prompts.client import AsyncPromptsClient, PromptsClient
from .rate_limit_policies.client import AsyncRateLimitPoliciesClient, RateLimitPoliciesClient
Expand Down Expand Up @@ -171,12 +171,12 @@ def __init__(
self._forms: typing.Optional[FormsClient] = None
self._user_grants: typing.Optional[UserGrantsClient] = None
self._groups: typing.Optional[GroupsClient] = None
self._guardian: typing.Optional[GuardianClient] = None
self._hooks: typing.Optional[HooksClient] = None
self._jobs: typing.Optional[JobsClient] = None
self._log_streams: typing.Optional[LogStreamsClient] = None
self._logs: typing.Optional[LogsClient] = None
self._network_acls: typing.Optional[NetworkAclsClient] = None
self._organization_templates: typing.Optional[OrganizationTemplatesClient] = None
self._organizations: typing.Optional[OrganizationsClient] = None
self._prompts: typing.Optional[PromptsClient] = None
self._rate_limit_policies: typing.Optional[RateLimitPoliciesClient] = None
Expand All @@ -197,7 +197,7 @@ def __init__(
self._anomaly: typing.Optional[AnomalyClient] = None
self._attack_protection: typing.Optional[AttackProtectionClient] = None
self._emails: typing.Optional[EmailsClient] = None
self._guardian: typing.Optional[GuardianClient] = None
self._experimentation: typing.Optional[ExperimentationClient] = None
self._keys: typing.Optional[KeysClient] = None
self._risk_assessments: typing.Optional[RiskAssessmentsClient] = None
self._tenants: typing.Optional[TenantsClient] = None
Expand Down Expand Up @@ -331,6 +331,14 @@ def groups(self):
self._groups = GroupsClient(client_wrapper=self._client_wrapper)
return self._groups

@property
def guardian(self):
if self._guardian is None:
from .guardian.client import GuardianClient # noqa: E402

self._guardian = GuardianClient(client_wrapper=self._client_wrapper)
return self._guardian

@property
def hooks(self):
if self._hooks is None:
Expand Down Expand Up @@ -371,14 +379,6 @@ def network_acls(self):
self._network_acls = NetworkAclsClient(client_wrapper=self._client_wrapper)
return self._network_acls

@property
def organization_templates(self):
if self._organization_templates is None:
from .organization_templates.client import OrganizationTemplatesClient # noqa: E402

self._organization_templates = OrganizationTemplatesClient(client_wrapper=self._client_wrapper)
return self._organization_templates

@property
def organizations(self):
if self._organizations is None:
Expand Down Expand Up @@ -540,12 +540,12 @@ def emails(self):
return self._emails

@property
def guardian(self):
if self._guardian is None:
from .guardian.client import GuardianClient # noqa: E402
def experimentation(self):
if self._experimentation is None:
from .experimentation.client import ExperimentationClient # noqa: E402

self._guardian = GuardianClient(client_wrapper=self._client_wrapper)
return self._guardian
self._experimentation = ExperimentationClient(client_wrapper=self._client_wrapper)
return self._experimentation

@property
def keys(self):
Expand Down Expand Up @@ -713,12 +713,12 @@ def __init__(
self._forms: typing.Optional[AsyncFormsClient] = None
self._user_grants: typing.Optional[AsyncUserGrantsClient] = None
self._groups: typing.Optional[AsyncGroupsClient] = None
self._guardian: typing.Optional[AsyncGuardianClient] = None
self._hooks: typing.Optional[AsyncHooksClient] = None
self._jobs: typing.Optional[AsyncJobsClient] = None
self._log_streams: typing.Optional[AsyncLogStreamsClient] = None
self._logs: typing.Optional[AsyncLogsClient] = None
self._network_acls: typing.Optional[AsyncNetworkAclsClient] = None
self._organization_templates: typing.Optional[AsyncOrganizationTemplatesClient] = None
self._organizations: typing.Optional[AsyncOrganizationsClient] = None
self._prompts: typing.Optional[AsyncPromptsClient] = None
self._rate_limit_policies: typing.Optional[AsyncRateLimitPoliciesClient] = None
Expand All @@ -739,7 +739,7 @@ def __init__(
self._anomaly: typing.Optional[AsyncAnomalyClient] = None
self._attack_protection: typing.Optional[AsyncAttackProtectionClient] = None
self._emails: typing.Optional[AsyncEmailsClient] = None
self._guardian: typing.Optional[AsyncGuardianClient] = None
self._experimentation: typing.Optional[AsyncExperimentationClient] = None
self._keys: typing.Optional[AsyncKeysClient] = None
self._risk_assessments: typing.Optional[AsyncRiskAssessmentsClient] = None
self._tenants: typing.Optional[AsyncTenantsClient] = None
Expand Down Expand Up @@ -873,6 +873,14 @@ def groups(self):
self._groups = AsyncGroupsClient(client_wrapper=self._client_wrapper)
return self._groups

@property
def guardian(self):
if self._guardian is None:
from .guardian.client import AsyncGuardianClient # noqa: E402

self._guardian = AsyncGuardianClient(client_wrapper=self._client_wrapper)
return self._guardian

@property
def hooks(self):
if self._hooks is None:
Expand Down Expand Up @@ -913,14 +921,6 @@ def network_acls(self):
self._network_acls = AsyncNetworkAclsClient(client_wrapper=self._client_wrapper)
return self._network_acls

@property
def organization_templates(self):
if self._organization_templates is None:
from .organization_templates.client import AsyncOrganizationTemplatesClient # noqa: E402

self._organization_templates = AsyncOrganizationTemplatesClient(client_wrapper=self._client_wrapper)
return self._organization_templates

@property
def organizations(self):
if self._organizations is None:
Expand Down Expand Up @@ -1082,12 +1082,12 @@ def emails(self):
return self._emails

@property
def guardian(self):
if self._guardian is None:
from .guardian.client import AsyncGuardianClient # noqa: E402
def experimentation(self):
if self._experimentation is None:
from .experimentation.client import AsyncExperimentationClient # noqa: E402

self._guardian = AsyncGuardianClient(client_wrapper=self._client_wrapper)
return self._guardian
self._experimentation = AsyncExperimentationClient(client_wrapper=self._client_wrapper)
return self._experimentation

@property
def keys(self):
Expand Down
18 changes: 18 additions & 0 deletions src/auth0/management/clients/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
ClientTokenVaultPrivilegedAccessWithCredentialId,
)
from ..types.client_token_vault_privileged_access_with_public_key import ClientTokenVaultPrivilegedAccessWithPublicKey
from ..types.create_anonymous_sessions import CreateAnonymousSessions
from ..types.create_client_response_content import CreateClientResponseContent
from ..types.create_identity_assertion_authorization_grant import CreateIdentityAssertionAuthorizationGrant
from ..types.create_token_quota import CreateTokenQuota
Expand All @@ -61,6 +62,7 @@
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
from ..types.update_anonymous_sessions import UpdateAnonymousSessions
from ..types.update_client_response_content import UpdateClientResponseContent
from ..types.update_identity_assertion_authorization_grant import UpdateIdentityAssertionAuthorizationGrant
from ..types.update_token_quota import UpdateTokenQuota
Expand Down Expand Up @@ -266,6 +268,7 @@ def create(
token_quota: typing.Optional[CreateTokenQuota] = OMIT,
resource_server_identifier: typing.Optional[str] = OMIT,
identity_assertion_authorization_grant: typing.Optional[CreateIdentityAssertionAuthorizationGrant] = OMIT,
anonymous_sessions: typing.Optional[CreateAnonymousSessions] = OMIT,
third_party_security_mode: typing.Optional[ClientThirdPartySecurityModeEnum] = OMIT,
redirection_policy: typing.Optional[ClientRedirectionPolicyEnum] = OMIT,
express_configuration: typing.Optional[ExpressConfiguration] = OMIT,
Expand Down Expand Up @@ -427,6 +430,8 @@ def create(

identity_assertion_authorization_grant : typing.Optional[CreateIdentityAssertionAuthorizationGrant]

anonymous_sessions : typing.Optional[CreateAnonymousSessions]

third_party_security_mode : typing.Optional[ClientThirdPartySecurityModeEnum]

redirection_policy : typing.Optional[ClientRedirectionPolicyEnum]
Expand Down Expand Up @@ -510,6 +515,7 @@ def create(
token_quota=token_quota,
resource_server_identifier=resource_server_identifier,
identity_assertion_authorization_grant=identity_assertion_authorization_grant,
anonymous_sessions=anonymous_sessions,
third_party_security_mode=third_party_security_mode,
redirection_policy=redirection_policy,
express_configuration=express_configuration,
Expand Down Expand Up @@ -739,6 +745,7 @@ def update(
custom_login_page_preview: typing.Optional[str] = OMIT,
token_quota: typing.Optional[UpdateTokenQuota] = OMIT,
identity_assertion_authorization_grant: typing.Optional[UpdateIdentityAssertionAuthorizationGrant] = OMIT,
anonymous_sessions: typing.Optional[UpdateAnonymousSessions] = OMIT,
form_template: typing.Optional[str] = OMIT,
addons: typing.Optional[ClientAddons] = OMIT,
client_metadata: typing.Optional[ClientMetadata] = OMIT,
Expand Down Expand Up @@ -869,6 +876,8 @@ def update(

identity_assertion_authorization_grant : typing.Optional[UpdateIdentityAssertionAuthorizationGrant]

anonymous_sessions : typing.Optional[UpdateAnonymousSessions]

form_template : typing.Optional[str]
Form template for WS-Federation protocol

Expand Down Expand Up @@ -984,6 +993,7 @@ def update(
custom_login_page_preview=custom_login_page_preview,
token_quota=token_quota,
identity_assertion_authorization_grant=identity_assertion_authorization_grant,
anonymous_sessions=anonymous_sessions,
form_template=form_template,
addons=addons,
client_metadata=client_metadata,
Expand Down Expand Up @@ -1271,6 +1281,7 @@ async def create(
token_quota: typing.Optional[CreateTokenQuota] = OMIT,
resource_server_identifier: typing.Optional[str] = OMIT,
identity_assertion_authorization_grant: typing.Optional[CreateIdentityAssertionAuthorizationGrant] = OMIT,
anonymous_sessions: typing.Optional[CreateAnonymousSessions] = OMIT,
third_party_security_mode: typing.Optional[ClientThirdPartySecurityModeEnum] = OMIT,
redirection_policy: typing.Optional[ClientRedirectionPolicyEnum] = OMIT,
express_configuration: typing.Optional[ExpressConfiguration] = OMIT,
Expand Down Expand Up @@ -1432,6 +1443,8 @@ async def create(

identity_assertion_authorization_grant : typing.Optional[CreateIdentityAssertionAuthorizationGrant]

anonymous_sessions : typing.Optional[CreateAnonymousSessions]

third_party_security_mode : typing.Optional[ClientThirdPartySecurityModeEnum]

redirection_policy : typing.Optional[ClientRedirectionPolicyEnum]
Expand Down Expand Up @@ -1523,6 +1536,7 @@ async def main() -> None:
token_quota=token_quota,
resource_server_identifier=resource_server_identifier,
identity_assertion_authorization_grant=identity_assertion_authorization_grant,
anonymous_sessions=anonymous_sessions,
third_party_security_mode=third_party_security_mode,
redirection_policy=redirection_policy,
express_configuration=express_configuration,
Expand Down Expand Up @@ -1784,6 +1798,7 @@ async def update(
custom_login_page_preview: typing.Optional[str] = OMIT,
token_quota: typing.Optional[UpdateTokenQuota] = OMIT,
identity_assertion_authorization_grant: typing.Optional[UpdateIdentityAssertionAuthorizationGrant] = OMIT,
anonymous_sessions: typing.Optional[UpdateAnonymousSessions] = OMIT,
form_template: typing.Optional[str] = OMIT,
addons: typing.Optional[ClientAddons] = OMIT,
client_metadata: typing.Optional[ClientMetadata] = OMIT,
Expand Down Expand Up @@ -1914,6 +1929,8 @@ async def update(

identity_assertion_authorization_grant : typing.Optional[UpdateIdentityAssertionAuthorizationGrant]

anonymous_sessions : typing.Optional[UpdateAnonymousSessions]

form_template : typing.Optional[str]
Form template for WS-Federation protocol

Expand Down Expand Up @@ -2037,6 +2054,7 @@ async def main() -> None:
custom_login_page_preview=custom_login_page_preview,
token_quota=token_quota,
identity_assertion_authorization_grant=identity_assertion_authorization_grant,
anonymous_sessions=anonymous_sessions,
form_template=form_template,
addons=addons,
client_metadata=client_metadata,
Expand Down
Loading
Loading