mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-05-06 21:43:59 +08:00
[auth0-python] Bump to 4.10.* (#14261)
This commit is contained in:
@@ -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,
|
||||
): ...
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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: ...
|
||||
Reference in New Issue
Block a user