mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-05-06 21:43:59 +08:00
auth0-python: Cleanup re-exports leftovers from stubgen (#13828)
This commit is contained in:
@@ -1,7 +1,3 @@
|
||||
from auth0.exceptions import (
|
||||
Auth0Error as Auth0Error,
|
||||
RateLimitError as RateLimitError,
|
||||
TokenValidationError as TokenValidationError,
|
||||
)
|
||||
from auth0.exceptions import Auth0Error, RateLimitError, TokenValidationError
|
||||
|
||||
__all__ = ("Auth0Error", "RateLimitError", "TokenValidationError")
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
from auth0.authentication import Users as Users
|
||||
from auth0.authentication.base import AuthenticationBase as AuthenticationBase
|
||||
from auth0.rest import RestClientOptions as RestClientOptions
|
||||
from auth0.rest_async import AsyncRestClient as AsyncRestClient
|
||||
from typing import TypeVar
|
||||
|
||||
def asyncify(cls): ...
|
||||
_T = TypeVar("_T")
|
||||
|
||||
# See note in stubs/auth0-python/@tests/stubtest_allowlist.txt about _async methods
|
||||
def asyncify(cls: type[_T]) -> type[_T]: ...
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
from .database import Database as Database
|
||||
from .delegated import Delegated as Delegated
|
||||
from .enterprise import Enterprise as Enterprise
|
||||
from .get_token import GetToken as GetToken
|
||||
from .passwordless import Passwordless as Passwordless
|
||||
from .revoke_token import RevokeToken as RevokeToken
|
||||
from .social import Social as Social
|
||||
from .users import Users as Users
|
||||
from .database import Database
|
||||
from .delegated import Delegated
|
||||
from .enterprise import Enterprise
|
||||
from .get_token import GetToken
|
||||
from .passwordless import Passwordless
|
||||
from .revoke_token import RevokeToken
|
||||
from .social import Social
|
||||
from .users import Users
|
||||
|
||||
__all__ = ("Database", "Delegated", "Enterprise", "GetToken", "Passwordless", "RevokeToken", "Social", "Users")
|
||||
|
||||
@@ -1,10 +1,4 @@
|
||||
from .. import TokenValidationError as TokenValidationError
|
||||
from ..rest_async import AsyncRestClient as AsyncRestClient
|
||||
from .token_verifier import (
|
||||
AsymmetricSignatureVerifier as AsymmetricSignatureVerifier,
|
||||
JwksFetcher as JwksFetcher,
|
||||
TokenVerifier as TokenVerifier,
|
||||
)
|
||||
from .token_verifier import AsymmetricSignatureVerifier, JwksFetcher, TokenVerifier
|
||||
|
||||
class AsyncAsymmetricSignatureVerifier(AsymmetricSignatureVerifier):
|
||||
def __init__(self, jwks_url: str, algorithm: str = "RS256") -> None: ...
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
from .base import AuthenticationBase as AuthenticationBase
|
||||
from .base import AuthenticationBase
|
||||
|
||||
class BackChannelLogin(AuthenticationBase):
|
||||
def back_channel_login(self, binding_message: str, login_hint: str, scope: str, **kwargs): ...
|
||||
|
||||
@@ -1,10 +1,8 @@
|
||||
from _typeshed import Incomplete
|
||||
from typing import Final
|
||||
|
||||
from auth0.rest import RestClient as RestClient, RestClientOptions as RestClientOptions
|
||||
from auth0.types import RequestData as RequestData
|
||||
|
||||
from .client_authentication import add_client_authentication as add_client_authentication
|
||||
from auth0.rest import RestClient
|
||||
from auth0.types import RequestData
|
||||
|
||||
UNKNOWN_ERROR: Final[str]
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
from _typeshed import Incomplete
|
||||
|
||||
from .base import AuthenticationBase as AuthenticationBase
|
||||
from .base import AuthenticationBase
|
||||
|
||||
class Database(AuthenticationBase):
|
||||
def signup(
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
from .base import AuthenticationBase as AuthenticationBase
|
||||
from .base import AuthenticationBase
|
||||
|
||||
class Delegated(AuthenticationBase):
|
||||
def get_token(
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
from .base import AuthenticationBase as AuthenticationBase
|
||||
from .base import AuthenticationBase
|
||||
|
||||
class Enterprise(AuthenticationBase):
|
||||
def saml_metadata(self): ...
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
from .base import AuthenticationBase as AuthenticationBase
|
||||
from .base import AuthenticationBase
|
||||
|
||||
class GetToken(AuthenticationBase):
|
||||
def authorization_code(self, code: str, redirect_uri: str | None, grant_type: str = "authorization_code"): ...
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
from .base import AuthenticationBase as AuthenticationBase
|
||||
from .base import AuthenticationBase
|
||||
|
||||
class Passwordless(AuthenticationBase):
|
||||
def email(self, email: str, send: str = "link", auth_params: dict[str, str] | None = None): ...
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
from .base import AuthenticationBase as AuthenticationBase
|
||||
from .base import AuthenticationBase
|
||||
|
||||
class PushedAuthorizationRequests(AuthenticationBase):
|
||||
def pushed_authorization_request(self, response_type: str, redirect_uri: str, **kwargs): ...
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
from .base import AuthenticationBase as AuthenticationBase
|
||||
from .base import AuthenticationBase
|
||||
|
||||
class RevokeToken(AuthenticationBase):
|
||||
def revoke_refresh_token(self, token: str): ...
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
from .base import AuthenticationBase as AuthenticationBase
|
||||
from .base import AuthenticationBase
|
||||
|
||||
class Social(AuthenticationBase):
|
||||
def login(self, access_token: str, connection: str, scope: str = "openid"): ...
|
||||
|
||||
@@ -1,8 +1,6 @@
|
||||
from _typeshed import Incomplete
|
||||
from typing import ClassVar
|
||||
|
||||
from auth0.exceptions import TokenValidationError as TokenValidationError
|
||||
|
||||
class SignatureVerifier:
|
||||
DISABLE_JWT_CHECKS: ClassVar[dict[str, bool]]
|
||||
def __init__(self, algorithm: str) -> None: ...
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
from _typeshed import Incomplete
|
||||
|
||||
from auth0.rest import RestClient as RestClient, RestClientOptions as RestClientOptions
|
||||
from auth0.types import TimeoutType as TimeoutType
|
||||
from auth0.rest import RestClient
|
||||
from auth0.types import TimeoutType
|
||||
|
||||
class Users:
|
||||
domain: str
|
||||
|
||||
@@ -1,33 +1,33 @@
|
||||
from .actions import Actions as Actions
|
||||
from .attack_protection import AttackProtection as AttackProtection
|
||||
from .auth0 import Auth0 as Auth0
|
||||
from .blacklists import Blacklists as Blacklists
|
||||
from .branding import Branding as Branding
|
||||
from .client_credentials import ClientCredentials as ClientCredentials
|
||||
from .client_grants import ClientGrants as ClientGrants
|
||||
from .clients import Clients as Clients
|
||||
from .connections import Connections as Connections
|
||||
from .custom_domains import CustomDomains as CustomDomains
|
||||
from .device_credentials import DeviceCredentials as DeviceCredentials
|
||||
from .email_templates import EmailTemplates as EmailTemplates
|
||||
from .emails import Emails as Emails
|
||||
from .grants import Grants as Grants
|
||||
from .guardian import Guardian as Guardian
|
||||
from .hooks import Hooks as Hooks
|
||||
from .jobs import Jobs as Jobs
|
||||
from .log_streams import LogStreams as LogStreams
|
||||
from .logs import Logs as Logs
|
||||
from .organizations import Organizations as Organizations
|
||||
from .resource_servers import ResourceServers as ResourceServers
|
||||
from .roles import Roles as Roles
|
||||
from .rules import Rules as Rules
|
||||
from .rules_configs import RulesConfigs as RulesConfigs
|
||||
from .stats import Stats as Stats
|
||||
from .tenants import Tenants as Tenants
|
||||
from .tickets import Tickets as Tickets
|
||||
from .user_blocks import UserBlocks as UserBlocks
|
||||
from .users import Users as Users
|
||||
from .users_by_email import UsersByEmail as UsersByEmail
|
||||
from .actions import Actions
|
||||
from .attack_protection import AttackProtection
|
||||
from .auth0 import Auth0
|
||||
from .blacklists import Blacklists
|
||||
from .branding import Branding
|
||||
from .client_credentials import ClientCredentials
|
||||
from .client_grants import ClientGrants
|
||||
from .clients import Clients
|
||||
from .connections import Connections
|
||||
from .custom_domains import CustomDomains
|
||||
from .device_credentials import DeviceCredentials
|
||||
from .email_templates import EmailTemplates
|
||||
from .emails import Emails
|
||||
from .grants import Grants
|
||||
from .guardian import Guardian
|
||||
from .hooks import Hooks
|
||||
from .jobs import Jobs
|
||||
from .log_streams import LogStreams
|
||||
from .logs import Logs
|
||||
from .organizations import Organizations
|
||||
from .resource_servers import ResourceServers
|
||||
from .roles import Roles
|
||||
from .rules import Rules
|
||||
from .rules_configs import RulesConfigs
|
||||
from .stats import Stats
|
||||
from .tenants import Tenants
|
||||
from .tickets import Tickets
|
||||
from .user_blocks import UserBlocks
|
||||
from .users import Users
|
||||
from .users_by_email import UsersByEmail
|
||||
|
||||
__all__ = (
|
||||
"Auth0",
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
from _typeshed import Incomplete
|
||||
|
||||
from ..rest import RestClient as RestClient, RestClientOptions as RestClientOptions
|
||||
from ..types import TimeoutType as TimeoutType
|
||||
from ..rest import RestClientOptions
|
||||
from ..types import TimeoutType
|
||||
|
||||
class Actions:
|
||||
domain: Incomplete
|
||||
|
||||
@@ -1,10 +1,7 @@
|
||||
from types import TracebackType
|
||||
from typing_extensions import Self
|
||||
|
||||
from auth0.rest import RestClientOptions as RestClientOptions
|
||||
|
||||
from ..asyncify import asyncify as asyncify
|
||||
from .auth0 import Auth0 as Auth0
|
||||
from auth0.rest import RestClientOptions
|
||||
|
||||
class AsyncAuth0:
|
||||
def __init__(self, domain: str, token: str, rest_options: RestClientOptions | None = None) -> None: ...
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
from _typeshed import Incomplete
|
||||
|
||||
from ..rest import RestClient as RestClient, RestClientOptions as RestClientOptions
|
||||
from ..types import TimeoutType as TimeoutType
|
||||
from ..rest import RestClientOptions
|
||||
from ..types import TimeoutType
|
||||
|
||||
class AttackProtection:
|
||||
domain: Incomplete
|
||||
|
||||
@@ -1,67 +1,65 @@
|
||||
from _typeshed import Incomplete
|
||||
from auth0.rest import RestClientOptions
|
||||
|
||||
from auth0.rest import RestClientOptions as RestClientOptions
|
||||
|
||||
from .actions import Actions as Actions
|
||||
from .attack_protection import AttackProtection as AttackProtection
|
||||
from .blacklists import Blacklists as Blacklists
|
||||
from .branding import Branding as Branding
|
||||
from .client_credentials import ClientCredentials as ClientCredentials
|
||||
from .client_grants import ClientGrants as ClientGrants
|
||||
from .clients import Clients as Clients
|
||||
from .connections import Connections as Connections
|
||||
from .custom_domains import CustomDomains as CustomDomains
|
||||
from .device_credentials import DeviceCredentials as DeviceCredentials
|
||||
from .email_templates import EmailTemplates as EmailTemplates
|
||||
from .emails import Emails as Emails
|
||||
from .grants import Grants as Grants
|
||||
from .guardian import Guardian as Guardian
|
||||
from .hooks import Hooks as Hooks
|
||||
from .jobs import Jobs as Jobs
|
||||
from .log_streams import LogStreams as LogStreams
|
||||
from .logs import Logs as Logs
|
||||
from .organizations import Organizations as Organizations
|
||||
from .prompts import Prompts as Prompts
|
||||
from .resource_servers import ResourceServers as ResourceServers
|
||||
from .roles import Roles as Roles
|
||||
from .rules import Rules as Rules
|
||||
from .rules_configs import RulesConfigs as RulesConfigs
|
||||
from .stats import Stats as Stats
|
||||
from .tenants import Tenants as Tenants
|
||||
from .tickets import Tickets as Tickets
|
||||
from .user_blocks import UserBlocks as UserBlocks
|
||||
from .users import Users as Users
|
||||
from .users_by_email import UsersByEmail as UsersByEmail
|
||||
from .actions import Actions
|
||||
from .attack_protection import AttackProtection
|
||||
from .blacklists import Blacklists
|
||||
from .branding import Branding
|
||||
from .client_credentials import ClientCredentials
|
||||
from .client_grants import ClientGrants
|
||||
from .clients import Clients
|
||||
from .connections import Connections
|
||||
from .custom_domains import CustomDomains
|
||||
from .device_credentials import DeviceCredentials
|
||||
from .email_templates import EmailTemplates
|
||||
from .emails import Emails
|
||||
from .grants import Grants
|
||||
from .guardian import Guardian
|
||||
from .hooks import Hooks
|
||||
from .jobs import Jobs
|
||||
from .log_streams import LogStreams
|
||||
from .logs import Logs
|
||||
from .organizations import Organizations
|
||||
from .prompts import Prompts
|
||||
from .resource_servers import ResourceServers
|
||||
from .roles import Roles
|
||||
from .rules import Rules
|
||||
from .rules_configs import RulesConfigs
|
||||
from .stats import Stats
|
||||
from .tenants import Tenants
|
||||
from .tickets import Tickets
|
||||
from .user_blocks import UserBlocks
|
||||
from .users import Users
|
||||
from .users_by_email import UsersByEmail
|
||||
|
||||
class Auth0:
|
||||
actions: Incomplete
|
||||
attack_protection: Incomplete
|
||||
blacklists: Incomplete
|
||||
branding: Incomplete
|
||||
client_credentials: Incomplete
|
||||
client_grants: Incomplete
|
||||
clients: Incomplete
|
||||
connections: Incomplete
|
||||
custom_domains: Incomplete
|
||||
device_credentials: Incomplete
|
||||
email_templates: Incomplete
|
||||
emails: Incomplete
|
||||
grants: Incomplete
|
||||
guardian: Incomplete
|
||||
hooks: Incomplete
|
||||
jobs: Incomplete
|
||||
log_streams: Incomplete
|
||||
logs: Incomplete
|
||||
organizations: Incomplete
|
||||
prompts: Incomplete
|
||||
resource_servers: Incomplete
|
||||
roles: Incomplete
|
||||
rules_configs: Incomplete
|
||||
rules: Incomplete
|
||||
stats: Incomplete
|
||||
tenants: Incomplete
|
||||
tickets: Incomplete
|
||||
user_blocks: Incomplete
|
||||
users_by_email: Incomplete
|
||||
users: Incomplete
|
||||
actions: Actions
|
||||
attack_protection: AttackProtection
|
||||
blacklists: Blacklists
|
||||
branding: Branding
|
||||
client_credentials: ClientCredentials
|
||||
client_grants: ClientGrants
|
||||
clients: Clients
|
||||
connections: Connections
|
||||
custom_domains: CustomDomains
|
||||
device_credentials: DeviceCredentials
|
||||
email_templates: EmailTemplates
|
||||
emails: Emails
|
||||
grants: Grants
|
||||
guardian: Guardian
|
||||
hooks: Hooks
|
||||
jobs: Jobs
|
||||
log_streams: LogStreams
|
||||
logs: Logs
|
||||
organizations: Organizations
|
||||
prompts: Prompts
|
||||
resource_servers: ResourceServers
|
||||
roles: Roles
|
||||
rules_configs: RulesConfigs
|
||||
rules: Rules
|
||||
stats: Stats
|
||||
tenants: Tenants
|
||||
tickets: Tickets
|
||||
user_blocks: UserBlocks
|
||||
users_by_email: UsersByEmail
|
||||
users: Users
|
||||
def __init__(self, domain: str, token: str, rest_options: RestClientOptions | None = None) -> None: ...
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
from _typeshed import Incomplete
|
||||
|
||||
from ..rest import RestClient as RestClient, RestClientOptions as RestClientOptions
|
||||
from ..types import TimeoutType as TimeoutType
|
||||
from ..rest import RestClientOptions
|
||||
from ..types import TimeoutType
|
||||
|
||||
class Blacklists:
|
||||
url: Incomplete
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
from _typeshed import Incomplete
|
||||
|
||||
from ..rest import RestClient as RestClient, RestClientOptions as RestClientOptions
|
||||
from ..types import TimeoutType as TimeoutType
|
||||
from ..rest import RestClientOptions
|
||||
from ..types import TimeoutType
|
||||
|
||||
class Branding:
|
||||
domain: Incomplete
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
from _typeshed import Incomplete
|
||||
|
||||
from ..rest import RestClient as RestClient, RestClientOptions as RestClientOptions
|
||||
from ..types import TimeoutType as TimeoutType
|
||||
from ..rest import RestClientOptions
|
||||
from ..types import TimeoutType
|
||||
|
||||
class ClientCredentials:
|
||||
domain: Incomplete
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
from _typeshed import Incomplete
|
||||
|
||||
from ..rest import RestClient as RestClient, RestClientOptions as RestClientOptions
|
||||
from ..types import TimeoutType as TimeoutType
|
||||
from ..rest import RestClientOptions
|
||||
from ..types import TimeoutType
|
||||
|
||||
class ClientGrants:
|
||||
domain: Incomplete
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
from _typeshed import Incomplete
|
||||
|
||||
from ..rest import RestClient as RestClient, RestClientOptions as RestClientOptions
|
||||
from ..types import TimeoutType as TimeoutType
|
||||
from ..rest import RestClientOptions
|
||||
from ..types import TimeoutType
|
||||
|
||||
class Clients:
|
||||
domain: Incomplete
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
from _typeshed import Incomplete
|
||||
|
||||
from ..rest import RestClient as RestClient, RestClientOptions as RestClientOptions
|
||||
from ..types import TimeoutType as TimeoutType
|
||||
from ..rest import RestClientOptions
|
||||
from ..types import TimeoutType
|
||||
|
||||
class Connections:
|
||||
domain: Incomplete
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
from _typeshed import Incomplete
|
||||
|
||||
from ..rest import RestClient as RestClient, RestClientOptions as RestClientOptions
|
||||
from ..types import TimeoutType as TimeoutType
|
||||
from ..rest import RestClientOptions
|
||||
from ..types import TimeoutType
|
||||
|
||||
class CustomDomains:
|
||||
domain: Incomplete
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
from _typeshed import Incomplete
|
||||
|
||||
from ..rest import RestClient as RestClient, RestClientOptions as RestClientOptions
|
||||
from ..types import TimeoutType as TimeoutType
|
||||
from ..rest import RestClientOptions
|
||||
from ..types import TimeoutType
|
||||
|
||||
class DeviceCredentials:
|
||||
domain: Incomplete
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
from _typeshed import Incomplete
|
||||
|
||||
from ..rest import RestClient as RestClient, RestClientOptions as RestClientOptions
|
||||
from ..types import TimeoutType as TimeoutType
|
||||
from ..rest import RestClientOptions
|
||||
from ..types import TimeoutType
|
||||
|
||||
class EmailTemplates:
|
||||
domain: Incomplete
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
from _typeshed import Incomplete
|
||||
|
||||
from ..rest import RestClient as RestClient, RestClientOptions as RestClientOptions
|
||||
from ..types import TimeoutType as TimeoutType
|
||||
from ..rest import RestClientOptions
|
||||
from ..types import TimeoutType
|
||||
|
||||
class Emails:
|
||||
domain: Incomplete
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
from _typeshed import Incomplete
|
||||
|
||||
from ..rest import RestClient as RestClient, RestClientOptions as RestClientOptions
|
||||
from ..types import TimeoutType as TimeoutType
|
||||
from ..rest import RestClientOptions
|
||||
from ..types import TimeoutType
|
||||
|
||||
class Grants:
|
||||
domain: Incomplete
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
from _typeshed import Incomplete
|
||||
|
||||
from ..rest import RestClient as RestClient, RestClientOptions as RestClientOptions
|
||||
from ..types import TimeoutType as TimeoutType
|
||||
from ..rest import RestClientOptions
|
||||
from ..types import TimeoutType
|
||||
|
||||
class Guardian:
|
||||
domain: Incomplete
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
from _typeshed import Incomplete
|
||||
|
||||
from ..rest import RestClient as RestClient, RestClientOptions as RestClientOptions
|
||||
from ..types import TimeoutType as TimeoutType
|
||||
from ..rest import RestClientOptions
|
||||
from ..types import TimeoutType
|
||||
|
||||
class Hooks:
|
||||
domain: Incomplete
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
from _typeshed import Incomplete
|
||||
|
||||
from ..rest import RestClient as RestClient, RestClientOptions as RestClientOptions
|
||||
from ..types import TimeoutType as TimeoutType
|
||||
from ..rest import RestClientOptions
|
||||
from ..types import TimeoutType
|
||||
|
||||
class Jobs:
|
||||
domain: Incomplete
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
from _typeshed import Incomplete
|
||||
from builtins import list as _list
|
||||
|
||||
from ..rest import RestClient as RestClient, RestClientOptions as RestClientOptions
|
||||
from ..types import TimeoutType as TimeoutType
|
||||
from ..rest import RestClientOptions
|
||||
from ..types import TimeoutType
|
||||
|
||||
class LogStreams:
|
||||
domain: Incomplete
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
from _typeshed import Incomplete
|
||||
|
||||
from ..rest import RestClient as RestClient, RestClientOptions as RestClientOptions
|
||||
from ..types import TimeoutType as TimeoutType
|
||||
from ..rest import RestClientOptions
|
||||
from ..types import TimeoutType
|
||||
|
||||
class Logs:
|
||||
domain: Incomplete
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
from _typeshed import Incomplete
|
||||
|
||||
from ..rest import RestClient as RestClient, RestClientOptions as RestClientOptions
|
||||
from ..types import TimeoutType as TimeoutType
|
||||
from ..rest import RestClientOptions
|
||||
from ..types import TimeoutType
|
||||
|
||||
class Organizations:
|
||||
domain: Incomplete
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
from _typeshed import Incomplete
|
||||
|
||||
from ..rest import RestClient as RestClient, RestClientOptions as RestClientOptions
|
||||
from ..types import TimeoutType as TimeoutType
|
||||
from ..rest import RestClientOptions
|
||||
from ..types import TimeoutType
|
||||
|
||||
class Prompts:
|
||||
domain: Incomplete
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
from _typeshed import Incomplete
|
||||
|
||||
from ..rest import RestClient as RestClient, RestClientOptions as RestClientOptions
|
||||
from ..types import TimeoutType as TimeoutType
|
||||
from ..rest import RestClientOptions
|
||||
from ..types import TimeoutType
|
||||
|
||||
class ResourceServers:
|
||||
domain: Incomplete
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
from _typeshed import Incomplete
|
||||
from builtins import list as _list
|
||||
|
||||
from ..rest import RestClient as RestClient, RestClientOptions as RestClientOptions
|
||||
from ..types import TimeoutType as TimeoutType
|
||||
from ..rest import RestClientOptions
|
||||
from ..types import TimeoutType
|
||||
|
||||
class Roles:
|
||||
domain: Incomplete
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
from _typeshed import Incomplete
|
||||
|
||||
from ..rest import RestClient as RestClient, RestClientOptions as RestClientOptions
|
||||
from ..types import TimeoutType as TimeoutType
|
||||
from ..rest import RestClientOptions
|
||||
from ..types import TimeoutType
|
||||
|
||||
class Rules:
|
||||
domain: Incomplete
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
from _typeshed import Incomplete
|
||||
|
||||
from ..rest import RestClient as RestClient, RestClientOptions as RestClientOptions
|
||||
from ..types import TimeoutType as TimeoutType
|
||||
from ..rest import RestClientOptions
|
||||
from ..types import TimeoutType
|
||||
|
||||
class RulesConfigs:
|
||||
domain: Incomplete
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
from _typeshed import Incomplete
|
||||
|
||||
from ..rest import RestClient as RestClient, RestClientOptions as RestClientOptions
|
||||
from ..types import TimeoutType as TimeoutType
|
||||
from ..rest import RestClientOptions
|
||||
from ..types import TimeoutType
|
||||
|
||||
class Stats:
|
||||
domain: Incomplete
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
from _typeshed import Incomplete
|
||||
|
||||
from ..rest import RestClient as RestClient, RestClientOptions as RestClientOptions
|
||||
from ..types import TimeoutType as TimeoutType
|
||||
from ..rest import RestClientOptions
|
||||
from ..types import TimeoutType
|
||||
|
||||
class Tenants:
|
||||
domain: Incomplete
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
from _typeshed import Incomplete
|
||||
|
||||
from ..rest import RestClient as RestClient, RestClientOptions as RestClientOptions
|
||||
from ..types import TimeoutType as TimeoutType
|
||||
from ..rest import RestClientOptions
|
||||
from ..types import TimeoutType
|
||||
|
||||
class Tickets:
|
||||
domain: Incomplete
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
from _typeshed import Incomplete
|
||||
|
||||
from ..rest import RestClient as RestClient, RestClientOptions as RestClientOptions
|
||||
from ..types import TimeoutType as TimeoutType
|
||||
from ..rest import RestClientOptions
|
||||
from ..types import TimeoutType
|
||||
|
||||
class UserBlocks:
|
||||
domain: Incomplete
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
from _typeshed import Incomplete
|
||||
from builtins import list as _list
|
||||
|
||||
from ..rest import RestClient as RestClient, RestClientOptions as RestClientOptions
|
||||
from ..types import TimeoutType as TimeoutType
|
||||
from ..rest import RestClientOptions
|
||||
from ..types import TimeoutType
|
||||
|
||||
class Users:
|
||||
domain: Incomplete
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
from _typeshed import Incomplete
|
||||
|
||||
from ..rest import RestClient as RestClient, RestClientOptions as RestClientOptions
|
||||
from ..types import TimeoutType as TimeoutType
|
||||
from ..rest import RestClientOptions
|
||||
from ..types import TimeoutType
|
||||
|
||||
class UsersByEmail:
|
||||
domain: Incomplete
|
||||
|
||||
@@ -3,9 +3,8 @@ from collections.abc import Mapping
|
||||
from typing import Final
|
||||
|
||||
import requests
|
||||
from auth0.exceptions import Auth0Error as Auth0Error, RateLimitError as RateLimitError
|
||||
from auth0.rest_async import RequestsResponse as RequestsResponse
|
||||
from auth0.types import RequestData as RequestData, TimeoutType as TimeoutType
|
||||
from auth0.rest_async import RequestsResponse
|
||||
from auth0.types import RequestData, TimeoutType
|
||||
|
||||
UNKNOWN_ERROR: Final[str]
|
||||
|
||||
|
||||
@@ -1,15 +1,8 @@
|
||||
from _typeshed import Incomplete
|
||||
|
||||
from auth0.exceptions import RateLimitError as RateLimitError
|
||||
from auth0.types import RequestData as RequestData
|
||||
from auth0.types import RequestData
|
||||
|
||||
from .rest import (
|
||||
EmptyResponse as EmptyResponse,
|
||||
JsonResponse as JsonResponse,
|
||||
PlainResponse as PlainResponse,
|
||||
Response as Response,
|
||||
RestClient as RestClient,
|
||||
)
|
||||
from .rest import RestClient
|
||||
|
||||
class AsyncRestClient(RestClient):
|
||||
timeout: Incomplete
|
||||
|
||||
Reference in New Issue
Block a user