Skip to content

Commit 213e696

Browse files
[auth0-python] Bump to 4.10.* (#14261)
1 parent 7eda640 commit 213e696

File tree

5 files changed

+41
-2
lines changed

5 files changed

+41
-2
lines changed

stubs/auth0-python/METADATA.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
version = "4.9.*"
1+
version = "4.10.*"
22
upstream_repository = "https://github.com/auth0/auth0-python"
33
requires = ["cryptography", "types-requests"]
Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,13 @@
1+
from _typeshed import Incomplete
2+
13
from .base import AuthenticationBase
24

35
class BackChannelLogin(AuthenticationBase):
4-
def back_channel_login(self, binding_message: str, login_hint: str, scope: str, **kwargs): ...
6+
def back_channel_login(
7+
self,
8+
binding_message: str,
9+
login_hint: str,
10+
scope: str,
11+
authorization_details: str | list[dict[str, Incomplete]] | None = None,
12+
**kwargs,
13+
): ...

stubs/auth0-python/auth0/management/__init__.pyi

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ from .resource_servers import ResourceServers
2222
from .roles import Roles
2323
from .rules import Rules
2424
from .rules_configs import RulesConfigs
25+
from .self_service_profiles import SelfServiceProfiles
2526
from .stats import Stats
2627
from .tenants import Tenants
2728
from .tickets import Tickets
@@ -54,6 +55,7 @@ __all__ = (
5455
"Roles",
5556
"RulesConfigs",
5657
"Rules",
58+
"SelfServiceProfiles",
5759
"Stats",
5860
"Tenants",
5961
"Tickets",

stubs/auth0-python/auth0/management/auth0.pyi

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ from .resource_servers import ResourceServers
2424
from .roles import Roles
2525
from .rules import Rules
2626
from .rules_configs import RulesConfigs
27+
from .self_service_profiles import SelfServiceProfiles
2728
from .stats import Stats
2829
from .tenants import Tenants
2930
from .tickets import Tickets
@@ -56,6 +57,7 @@ class Auth0:
5657
roles: Roles
5758
rules_configs: RulesConfigs
5859
rules: Rules
60+
self_service_profiles: SelfServiceProfiles
5961
stats: Stats
6062
tenants: Tenants
6163
tickets: Tickets
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
from _typeshed import Incomplete
2+
3+
from ..rest import RestClientOptions
4+
from ..types import TimeoutType
5+
6+
class SelfServiceProfiles:
7+
def __init__(
8+
self,
9+
domain: str,
10+
token: str,
11+
telemetry: bool = True,
12+
timeout: TimeoutType = 5.0,
13+
protocol: str = "https",
14+
rest_options: RestClientOptions | None = None,
15+
) -> None: ...
16+
def all(self, page: int = 0, per_page: int = 25, include_totals: bool = True) -> list[dict[str, Incomplete]]: ...
17+
def create(self, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ...
18+
def get(self, profile_id: str) -> dict[str, Incomplete]: ...
19+
def delete(self, profile_id: str) -> None: ...
20+
def update(self, profile_id: str, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ...
21+
def get_custom_text(self, profile_id: str, language: str, page: str) -> dict[str, Incomplete]: ...
22+
def update_custom_text(
23+
self, profile_id: str, language: str, page: str, body: dict[str, Incomplete]
24+
) -> dict[str, Incomplete]: ...
25+
def create_sso_ticket(self, profile_id: str, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ...
26+
def revoke_sso_ticket(self, profile_id: str, ticket_id: str) -> None: ...

0 commit comments

Comments
 (0)