diff --git a/stubs/auth0-python/METADATA.toml b/stubs/auth0-python/METADATA.toml index 8ef32734a656..4e1606df7422 100644 --- a/stubs/auth0-python/METADATA.toml +++ b/stubs/auth0-python/METADATA.toml @@ -1,3 +1,3 @@ -version = "4.9.*" +version = "4.10.*" upstream_repository = "https://github.com/auth0/auth0-python" requires = ["cryptography", "types-requests"] diff --git a/stubs/auth0-python/auth0/authentication/back_channel_login.pyi b/stubs/auth0-python/auth0/authentication/back_channel_login.pyi index e59412243dc7..0f5004a431ad 100644 --- a/stubs/auth0-python/auth0/authentication/back_channel_login.pyi +++ b/stubs/auth0-python/auth0/authentication/back_channel_login.pyi @@ -1,4 +1,13 @@ +from _typeshed import Incomplete + from .base import AuthenticationBase class BackChannelLogin(AuthenticationBase): - def back_channel_login(self, binding_message: str, login_hint: str, scope: str, **kwargs): ... + def back_channel_login( + self, + binding_message: str, + login_hint: str, + scope: str, + authorization_details: str | list[dict[str, Incomplete]] | None = None, + **kwargs, + ): ... diff --git a/stubs/auth0-python/auth0/management/__init__.pyi b/stubs/auth0-python/auth0/management/__init__.pyi index 942a94fa070a..ef02c99b9d43 100644 --- a/stubs/auth0-python/auth0/management/__init__.pyi +++ b/stubs/auth0-python/auth0/management/__init__.pyi @@ -22,6 +22,7 @@ from .resource_servers import ResourceServers from .roles import Roles from .rules import Rules from .rules_configs import RulesConfigs +from .self_service_profiles import SelfServiceProfiles from .stats import Stats from .tenants import Tenants from .tickets import Tickets @@ -54,6 +55,7 @@ __all__ = ( "Roles", "RulesConfigs", "Rules", + "SelfServiceProfiles", "Stats", "Tenants", "Tickets", diff --git a/stubs/auth0-python/auth0/management/auth0.pyi b/stubs/auth0-python/auth0/management/auth0.pyi index f3d7d22ddb26..817d1700cc93 100644 --- a/stubs/auth0-python/auth0/management/auth0.pyi +++ b/stubs/auth0-python/auth0/management/auth0.pyi @@ -24,6 +24,7 @@ from .resource_servers import ResourceServers from .roles import Roles from .rules import Rules from .rules_configs import RulesConfigs +from .self_service_profiles import SelfServiceProfiles from .stats import Stats from .tenants import Tenants from .tickets import Tickets @@ -56,6 +57,7 @@ class Auth0: roles: Roles rules_configs: RulesConfigs rules: Rules + self_service_profiles: SelfServiceProfiles stats: Stats tenants: Tenants tickets: Tickets diff --git a/stubs/auth0-python/auth0/management/self_service_profiles.pyi b/stubs/auth0-python/auth0/management/self_service_profiles.pyi new file mode 100644 index 000000000000..e75e2a098844 --- /dev/null +++ b/stubs/auth0-python/auth0/management/self_service_profiles.pyi @@ -0,0 +1,26 @@ +from _typeshed import Incomplete + +from ..rest import RestClientOptions +from ..types import TimeoutType + +class SelfServiceProfiles: + def __init__( + self, + domain: str, + token: str, + telemetry: bool = True, + timeout: TimeoutType = 5.0, + protocol: str = "https", + rest_options: RestClientOptions | None = None, + ) -> None: ... + def all(self, page: int = 0, per_page: int = 25, include_totals: bool = True) -> list[dict[str, Incomplete]]: ... + def create(self, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ... + def get(self, profile_id: str) -> dict[str, Incomplete]: ... + def delete(self, profile_id: str) -> None: ... + def update(self, profile_id: str, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ... + def get_custom_text(self, profile_id: str, language: str, page: str) -> dict[str, Incomplete]: ... + def update_custom_text( + self, profile_id: str, language: str, page: str, body: dict[str, Incomplete] + ) -> dict[str, Incomplete]: ... + def create_sso_ticket(self, profile_id: str, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ... + def revoke_sso_ticket(self, profile_id: str, ticket_id: str) -> None: ...