types-auth0-python 4.8.0.20250404__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- auth0-stubs/METADATA.toml +3 -0
- auth0-stubs/__init__.pyi +7 -0
- auth0-stubs/asyncify.pyi +6 -0
- auth0-stubs/authentication/__init__.pyi +10 -0
- auth0-stubs/authentication/async_token_verifier.pyi +27 -0
- auth0-stubs/authentication/back_channel_login.pyi +4 -0
- auth0-stubs/authentication/base.pyi +31 -0
- auth0-stubs/authentication/client_authentication.pyi +13 -0
- auth0-stubs/authentication/database.pyi +21 -0
- auth0-stubs/authentication/delegated.pyi +12 -0
- auth0-stubs/authentication/enterprise.pyi +5 -0
- auth0-stubs/authentication/get_token.pyi +21 -0
- auth0-stubs/authentication/passwordless.pyi +5 -0
- auth0-stubs/authentication/pushed_authorization_requests.pyi +4 -0
- auth0-stubs/authentication/revoke_token.pyi +4 -0
- auth0-stubs/authentication/social.pyi +4 -0
- auth0-stubs/authentication/token_verifier.pyi +29 -0
- auth0-stubs/authentication/users.pyi +11 -0
- auth0-stubs/exceptions.pyi +14 -0
- auth0-stubs/management/__init__.pyi +63 -0
- auth0-stubs/management/actions.pyi +64 -0
- auth0-stubs/management/async_auth0.pyi +15 -0
- auth0-stubs/management/attack_protection.pyi +30 -0
- auth0-stubs/management/auth0.pyi +67 -0
- auth0-stubs/management/blacklists.pyi +21 -0
- auth0-stubs/management/branding.pyi +38 -0
- auth0-stubs/management/client_credentials.pyi +26 -0
- auth0-stubs/management/client_grants.pyi +60 -0
- auth0-stubs/management/clients.pyi +44 -0
- auth0-stubs/management/connections.pyi +48 -0
- auth0-stubs/management/custom_domains.pyi +28 -0
- auth0-stubs/management/device_credentials.pyi +44 -0
- auth0-stubs/management/email_templates.pyi +24 -0
- auth0-stubs/management/emails.pyi +26 -0
- auth0-stubs/management/grants.pyi +34 -0
- auth0-stubs/management/guardian.pyi +38 -0
- auth0-stubs/management/hooks.pyi +52 -0
- auth0-stubs/management/jobs.pyi +42 -0
- auth0-stubs/management/log_streams.pyi +29 -0
- auth0-stubs/management/logs.pyi +44 -0
- auth0-stubs/management/organizations.pyi +134 -0
- auth0-stubs/management/prompts.pyi +28 -0
- auth0-stubs/management/resource_servers.pyi +28 -0
- auth0-stubs/management/roles.pyi +63 -0
- auth0-stubs/management/rules.pyi +46 -0
- auth0-stubs/management/rules_configs.pyi +24 -0
- auth0-stubs/management/stats.pyi +24 -0
- auth0-stubs/management/tenants.pyi +22 -0
- auth0-stubs/management/tickets.pyi +22 -0
- auth0-stubs/management/user_blocks.pyi +26 -0
- auth0-stubs/management/users.pyi +117 -0
- auth0-stubs/management/users_by_email.pyi +24 -0
- auth0-stubs/py.typed +0 -0
- auth0-stubs/rest.pyi +48 -0
- auth0-stubs/rest_async.pyi +29 -0
- auth0-stubs/types.pyi +5 -0
- auth0-stubs/utils.pyi +1 -0
- types_auth0_python-4.8.0.20250404.dist-info/METADATA +45 -0
- types_auth0_python-4.8.0.20250404.dist-info/RECORD +62 -0
- types_auth0_python-4.8.0.20250404.dist-info/WHEEL +5 -0
- types_auth0_python-4.8.0.20250404.dist-info/licenses/LICENSE +237 -0
- types_auth0_python-4.8.0.20250404.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
from _typeshed import Incomplete
|
|
2
|
+
from builtins import list as _list
|
|
3
|
+
|
|
4
|
+
from ..rest import RestClient as RestClient, RestClientOptions as RestClientOptions
|
|
5
|
+
from ..types import TimeoutType as TimeoutType
|
|
6
|
+
|
|
7
|
+
class Roles:
|
|
8
|
+
domain: Incomplete
|
|
9
|
+
protocol: Incomplete
|
|
10
|
+
client: Incomplete
|
|
11
|
+
def __init__(
|
|
12
|
+
self,
|
|
13
|
+
domain: str,
|
|
14
|
+
token: str,
|
|
15
|
+
telemetry: bool = True,
|
|
16
|
+
timeout: TimeoutType = 5.0,
|
|
17
|
+
protocol: str = "https",
|
|
18
|
+
rest_options: RestClientOptions | None = None,
|
|
19
|
+
) -> None: ...
|
|
20
|
+
def list(
|
|
21
|
+
self, page: int = 0, per_page: int = 25, include_totals: bool = True, name_filter: str | None = None
|
|
22
|
+
) -> dict[str, Incomplete]: ...
|
|
23
|
+
async def list_async(
|
|
24
|
+
self, page: int = 0, per_page: int = 25, include_totals: bool = True, name_filter: str | None = None
|
|
25
|
+
) -> dict[str, Incomplete]: ...
|
|
26
|
+
def create(self, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ...
|
|
27
|
+
async def create_async(self, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ...
|
|
28
|
+
def get(self, id: str) -> dict[str, Incomplete]: ...
|
|
29
|
+
async def get_async(self, id: str) -> dict[str, Incomplete]: ...
|
|
30
|
+
def delete(self, id: str): ...
|
|
31
|
+
async def delete_async(self, id: str): ...
|
|
32
|
+
def update(self, id: str, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ...
|
|
33
|
+
async def update_async(self, id: str, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ...
|
|
34
|
+
def list_users(
|
|
35
|
+
self,
|
|
36
|
+
id: str,
|
|
37
|
+
page: int = 0,
|
|
38
|
+
per_page: int = 25,
|
|
39
|
+
include_totals: bool = True,
|
|
40
|
+
from_param: str | None = None,
|
|
41
|
+
take: int | None = None,
|
|
42
|
+
) -> dict[str, Incomplete]: ...
|
|
43
|
+
async def list_users_async(
|
|
44
|
+
self,
|
|
45
|
+
id: str,
|
|
46
|
+
page: int = 0,
|
|
47
|
+
per_page: int = 25,
|
|
48
|
+
include_totals: bool = True,
|
|
49
|
+
from_param: str | None = None,
|
|
50
|
+
take: int | None = None,
|
|
51
|
+
) -> dict[str, Incomplete]: ...
|
|
52
|
+
def add_users(self, id: str, users: _list[str]) -> dict[str, Incomplete]: ...
|
|
53
|
+
async def add_users_async(self, id: str, users: _list[str]) -> dict[str, Incomplete]: ...
|
|
54
|
+
def list_permissions(
|
|
55
|
+
self, id: str, page: int = 0, per_page: int = 25, include_totals: bool = True
|
|
56
|
+
) -> dict[str, Incomplete]: ...
|
|
57
|
+
async def list_permissions_async(
|
|
58
|
+
self, id: str, page: int = 0, per_page: int = 25, include_totals: bool = True
|
|
59
|
+
) -> dict[str, Incomplete]: ...
|
|
60
|
+
def remove_permissions(self, id: str, permissions: _list[dict[str, str]]): ...
|
|
61
|
+
async def remove_permissions_async(self, id: str, permissions: _list[dict[str, str]]): ...
|
|
62
|
+
def add_permissions(self, id: str, permissions: _list[dict[str, str]]) -> dict[str, Incomplete]: ...
|
|
63
|
+
async def add_permissions_async(self, id: str, permissions: _list[dict[str, str]]) -> dict[str, Incomplete]: ...
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
from _typeshed import Incomplete
|
|
2
|
+
|
|
3
|
+
from ..rest import RestClient as RestClient, RestClientOptions as RestClientOptions
|
|
4
|
+
from ..types import TimeoutType as TimeoutType
|
|
5
|
+
|
|
6
|
+
class Rules:
|
|
7
|
+
domain: Incomplete
|
|
8
|
+
protocol: Incomplete
|
|
9
|
+
client: Incomplete
|
|
10
|
+
def __init__(
|
|
11
|
+
self,
|
|
12
|
+
domain: str,
|
|
13
|
+
token: str,
|
|
14
|
+
telemetry: bool = True,
|
|
15
|
+
timeout: TimeoutType = 5.0,
|
|
16
|
+
protocol: str = "https",
|
|
17
|
+
rest_options: RestClientOptions | None = None,
|
|
18
|
+
) -> None: ...
|
|
19
|
+
def all(
|
|
20
|
+
self,
|
|
21
|
+
stage: str = "login_success",
|
|
22
|
+
enabled: bool = True,
|
|
23
|
+
fields: list[str] | None = None,
|
|
24
|
+
include_fields: bool = True,
|
|
25
|
+
page: int | None = None,
|
|
26
|
+
per_page: int | None = None,
|
|
27
|
+
include_totals: bool = False,
|
|
28
|
+
) -> dict[str, Incomplete]: ...
|
|
29
|
+
async def all_async(
|
|
30
|
+
self,
|
|
31
|
+
stage: str = "login_success",
|
|
32
|
+
enabled: bool = True,
|
|
33
|
+
fields: list[str] | None = None,
|
|
34
|
+
include_fields: bool = True,
|
|
35
|
+
page: int | None = None,
|
|
36
|
+
per_page: int | None = None,
|
|
37
|
+
include_totals: bool = False,
|
|
38
|
+
) -> dict[str, Incomplete]: ...
|
|
39
|
+
def create(self, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ...
|
|
40
|
+
async def create_async(self, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ...
|
|
41
|
+
def get(self, id: str, fields: list[str] | None = None, include_fields: bool = True) -> dict[str, Incomplete]: ...
|
|
42
|
+
async def get_async(self, id: str, fields: list[str] | None = None, include_fields: bool = True) -> dict[str, Incomplete]: ...
|
|
43
|
+
def delete(self, id: str): ...
|
|
44
|
+
async def delete_async(self, id: str): ...
|
|
45
|
+
def update(self, id: str, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ...
|
|
46
|
+
async def update_async(self, id: str, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ...
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
from _typeshed import Incomplete
|
|
2
|
+
|
|
3
|
+
from ..rest import RestClient as RestClient, RestClientOptions as RestClientOptions
|
|
4
|
+
from ..types import TimeoutType as TimeoutType
|
|
5
|
+
|
|
6
|
+
class RulesConfigs:
|
|
7
|
+
domain: Incomplete
|
|
8
|
+
protocol: Incomplete
|
|
9
|
+
client: Incomplete
|
|
10
|
+
def __init__(
|
|
11
|
+
self,
|
|
12
|
+
domain: str,
|
|
13
|
+
token: str,
|
|
14
|
+
telemetry: bool = True,
|
|
15
|
+
timeout: TimeoutType = 5.0,
|
|
16
|
+
protocol: str = "https",
|
|
17
|
+
rest_options: RestClientOptions | None = None,
|
|
18
|
+
) -> None: ...
|
|
19
|
+
def all(self) -> list[dict[str, Incomplete]]: ...
|
|
20
|
+
async def all_async(self) -> list[dict[str, Incomplete]]: ...
|
|
21
|
+
def unset(self, key: str): ...
|
|
22
|
+
async def unset_async(self, key: str): ...
|
|
23
|
+
def set(self, key: str, value: str) -> dict[str, Incomplete]: ...
|
|
24
|
+
async def set_async(self, key: str, value: str) -> dict[str, Incomplete]: ...
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
from _typeshed import Incomplete
|
|
2
|
+
|
|
3
|
+
from ..rest import RestClient as RestClient, RestClientOptions as RestClientOptions
|
|
4
|
+
from ..types import TimeoutType as TimeoutType
|
|
5
|
+
|
|
6
|
+
class Stats:
|
|
7
|
+
domain: Incomplete
|
|
8
|
+
protocol: Incomplete
|
|
9
|
+
client: Incomplete
|
|
10
|
+
def __init__(
|
|
11
|
+
self,
|
|
12
|
+
domain: str,
|
|
13
|
+
token: str,
|
|
14
|
+
telemetry: bool = True,
|
|
15
|
+
timeout: TimeoutType = 5.0,
|
|
16
|
+
protocol: str = "https",
|
|
17
|
+
rest_options: RestClientOptions | None = None,
|
|
18
|
+
) -> None: ...
|
|
19
|
+
def active_users(self) -> int: ...
|
|
20
|
+
async def active_users_async(self) -> int: ...
|
|
21
|
+
def daily_stats(self, from_date: str | None = None, to_date: str | None = None) -> list[dict[str, Incomplete]]: ...
|
|
22
|
+
async def daily_stats_async(
|
|
23
|
+
self, from_date: str | None = None, to_date: str | None = None
|
|
24
|
+
) -> list[dict[str, Incomplete]]: ...
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
from _typeshed import Incomplete
|
|
2
|
+
|
|
3
|
+
from ..rest import RestClient as RestClient, RestClientOptions as RestClientOptions
|
|
4
|
+
from ..types import TimeoutType as TimeoutType
|
|
5
|
+
|
|
6
|
+
class Tenants:
|
|
7
|
+
domain: Incomplete
|
|
8
|
+
protocol: Incomplete
|
|
9
|
+
client: Incomplete
|
|
10
|
+
def __init__(
|
|
11
|
+
self,
|
|
12
|
+
domain: str,
|
|
13
|
+
token: str,
|
|
14
|
+
telemetry: bool = True,
|
|
15
|
+
timeout: TimeoutType = 5.0,
|
|
16
|
+
protocol: str = "https",
|
|
17
|
+
rest_options: RestClientOptions | None = None,
|
|
18
|
+
) -> None: ...
|
|
19
|
+
def get(self, fields: list[str] | None = None, include_fields: bool = True) -> dict[str, Incomplete]: ...
|
|
20
|
+
async def get_async(self, fields: list[str] | None = None, include_fields: bool = True) -> dict[str, Incomplete]: ...
|
|
21
|
+
def update(self, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ...
|
|
22
|
+
async def update_async(self, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ...
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
from _typeshed import Incomplete
|
|
2
|
+
|
|
3
|
+
from ..rest import RestClient as RestClient, RestClientOptions as RestClientOptions
|
|
4
|
+
from ..types import TimeoutType as TimeoutType
|
|
5
|
+
|
|
6
|
+
class Tickets:
|
|
7
|
+
domain: Incomplete
|
|
8
|
+
protocol: Incomplete
|
|
9
|
+
client: Incomplete
|
|
10
|
+
def __init__(
|
|
11
|
+
self,
|
|
12
|
+
domain: str,
|
|
13
|
+
token: str,
|
|
14
|
+
telemetry: bool = True,
|
|
15
|
+
timeout: TimeoutType = 5.0,
|
|
16
|
+
protocol: str = "https",
|
|
17
|
+
rest_options: RestClientOptions | None = None,
|
|
18
|
+
) -> None: ...
|
|
19
|
+
def create_email_verification(self, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ...
|
|
20
|
+
async def create_email_verification_async(self, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ...
|
|
21
|
+
def create_pswd_change(self, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ...
|
|
22
|
+
async def create_pswd_change_async(self, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ...
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
from _typeshed import Incomplete
|
|
2
|
+
|
|
3
|
+
from ..rest import RestClient as RestClient, RestClientOptions as RestClientOptions
|
|
4
|
+
from ..types import TimeoutType as TimeoutType
|
|
5
|
+
|
|
6
|
+
class UserBlocks:
|
|
7
|
+
domain: Incomplete
|
|
8
|
+
protocol: Incomplete
|
|
9
|
+
client: Incomplete
|
|
10
|
+
def __init__(
|
|
11
|
+
self,
|
|
12
|
+
domain: str,
|
|
13
|
+
token: str,
|
|
14
|
+
telemetry: bool = True,
|
|
15
|
+
timeout: TimeoutType = 5.0,
|
|
16
|
+
protocol: str = "https",
|
|
17
|
+
rest_options: RestClientOptions | None = None,
|
|
18
|
+
) -> None: ...
|
|
19
|
+
def get_by_identifier(self, identifier: str) -> dict[str, Incomplete]: ...
|
|
20
|
+
async def get_by_identifier_async(self, identifier: str) -> dict[str, Incomplete]: ...
|
|
21
|
+
def unblock_by_identifier(self, identifier: dict[str, Incomplete]): ...
|
|
22
|
+
async def unblock_by_identifier_async(self, identifier: dict[str, Incomplete]): ...
|
|
23
|
+
def get(self, id: str) -> dict[str, Incomplete]: ...
|
|
24
|
+
async def get_async(self, id: str) -> dict[str, Incomplete]: ...
|
|
25
|
+
def unblock(self, id: str): ...
|
|
26
|
+
async def unblock_async(self, id: str): ...
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
from _typeshed import Incomplete
|
|
2
|
+
from builtins import list as _list
|
|
3
|
+
|
|
4
|
+
from ..rest import RestClient as RestClient, RestClientOptions as RestClientOptions
|
|
5
|
+
from ..types import TimeoutType as TimeoutType
|
|
6
|
+
|
|
7
|
+
class Users:
|
|
8
|
+
domain: Incomplete
|
|
9
|
+
protocol: Incomplete
|
|
10
|
+
client: Incomplete
|
|
11
|
+
def __init__(
|
|
12
|
+
self,
|
|
13
|
+
domain: str,
|
|
14
|
+
token: str,
|
|
15
|
+
telemetry: bool = True,
|
|
16
|
+
timeout: TimeoutType = 5.0,
|
|
17
|
+
protocol: str = "https",
|
|
18
|
+
rest_options: RestClientOptions | None = None,
|
|
19
|
+
) -> None: ...
|
|
20
|
+
def list(
|
|
21
|
+
self,
|
|
22
|
+
page: int = 0,
|
|
23
|
+
per_page: int = 25,
|
|
24
|
+
sort: str | None = None,
|
|
25
|
+
connection: str | None = None,
|
|
26
|
+
q: str | None = None,
|
|
27
|
+
search_engine: str | None = None,
|
|
28
|
+
include_totals: bool = True,
|
|
29
|
+
fields: _list[str] | None = None,
|
|
30
|
+
include_fields: bool = True,
|
|
31
|
+
) -> dict[str, Incomplete]: ...
|
|
32
|
+
async def list_async(
|
|
33
|
+
self,
|
|
34
|
+
page: int = 0,
|
|
35
|
+
per_page: int = 25,
|
|
36
|
+
sort: str | None = None,
|
|
37
|
+
connection: str | None = None,
|
|
38
|
+
q: str | None = None,
|
|
39
|
+
search_engine: str | None = None,
|
|
40
|
+
include_totals: bool = True,
|
|
41
|
+
fields: _list[str] | None = None,
|
|
42
|
+
include_fields: bool = True,
|
|
43
|
+
) -> dict[str, Incomplete]: ...
|
|
44
|
+
def create(self, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ...
|
|
45
|
+
async def create_async(self, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ...
|
|
46
|
+
def get(self, id: str, fields: _list[str] | None = None, include_fields: bool = True) -> dict[str, Incomplete]: ...
|
|
47
|
+
async def get_async(
|
|
48
|
+
self, id: str, fields: _list[str] | None = None, include_fields: bool = True
|
|
49
|
+
) -> dict[str, Incomplete]: ...
|
|
50
|
+
def delete(self, id: str): ...
|
|
51
|
+
async def delete_async(self, id: str): ...
|
|
52
|
+
def update(self, id: str, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ...
|
|
53
|
+
async def update_async(self, id: str, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ...
|
|
54
|
+
def list_organizations(
|
|
55
|
+
self, id: str, page: int = 0, per_page: int = 25, include_totals: bool = True
|
|
56
|
+
) -> dict[str, Incomplete]: ...
|
|
57
|
+
async def list_organizations_async(
|
|
58
|
+
self, id: str, page: int = 0, per_page: int = 25, include_totals: bool = True
|
|
59
|
+
) -> dict[str, Incomplete]: ...
|
|
60
|
+
def list_roles(self, id: str, page: int = 0, per_page: int = 25, include_totals: bool = True) -> dict[str, Incomplete]: ...
|
|
61
|
+
async def list_roles_async(
|
|
62
|
+
self, id: str, page: int = 0, per_page: int = 25, include_totals: bool = True
|
|
63
|
+
) -> dict[str, Incomplete]: ...
|
|
64
|
+
def remove_roles(self, id: str, roles: _list[str]): ...
|
|
65
|
+
async def remove_roles_async(self, id: str, roles: _list[str]): ...
|
|
66
|
+
def add_roles(self, id: str, roles: _list[str]) -> dict[str, Incomplete]: ...
|
|
67
|
+
async def add_roles_async(self, id: str, roles: _list[str]) -> dict[str, Incomplete]: ...
|
|
68
|
+
def list_permissions(
|
|
69
|
+
self, id: str, page: int = 0, per_page: int = 25, include_totals: bool = True
|
|
70
|
+
) -> dict[str, Incomplete]: ...
|
|
71
|
+
async def list_permissions_async(
|
|
72
|
+
self, id: str, page: int = 0, per_page: int = 25, include_totals: bool = True
|
|
73
|
+
) -> dict[str, Incomplete]: ...
|
|
74
|
+
def remove_permissions(self, id: str, permissions: _list[str]): ...
|
|
75
|
+
async def remove_permissions_async(self, id: str, permissions: _list[str]): ...
|
|
76
|
+
def add_permissions(self, id: str, permissions: _list[str]) -> dict[str, Incomplete]: ...
|
|
77
|
+
async def add_permissions_async(self, id: str, permissions: _list[str]) -> dict[str, Incomplete]: ...
|
|
78
|
+
def delete_multifactor(self, id: str, provider: str): ...
|
|
79
|
+
async def delete_multifactor_async(self, id: str, provider: str): ...
|
|
80
|
+
def delete_authenticators(self, id: str): ...
|
|
81
|
+
async def delete_authenticators_async(self, id: str): ...
|
|
82
|
+
def unlink_user_account(self, id: str, provider: str, user_id: str): ...
|
|
83
|
+
async def unlink_user_account_async(self, id: str, provider: str, user_id: str): ...
|
|
84
|
+
def link_user_account(self, user_id: str, body: dict[str, Incomplete]) -> _list[dict[str, Incomplete]]: ...
|
|
85
|
+
async def link_user_account_async(self, user_id: str, body: dict[str, Incomplete]) -> _list[dict[str, Incomplete]]: ...
|
|
86
|
+
def regenerate_recovery_code(self, user_id: str) -> dict[str, Incomplete]: ...
|
|
87
|
+
async def regenerate_recovery_code_async(self, user_id: str) -> dict[str, Incomplete]: ...
|
|
88
|
+
def get_guardian_enrollments(self, user_id: str) -> dict[str, Incomplete]: ...
|
|
89
|
+
async def get_guardian_enrollments_async(self, user_id: str) -> dict[str, Incomplete]: ...
|
|
90
|
+
def get_log_events(
|
|
91
|
+
self, user_id: str, page: int = 0, per_page: int = 50, sort: str | None = None, include_totals: bool = False
|
|
92
|
+
) -> dict[str, Incomplete]: ...
|
|
93
|
+
async def get_log_events_async(
|
|
94
|
+
self, user_id: str, page: int = 0, per_page: int = 50, sort: str | None = None, include_totals: bool = False
|
|
95
|
+
) -> dict[str, Incomplete]: ...
|
|
96
|
+
def invalidate_remembered_browsers(self, user_id: str) -> dict[str, Incomplete]: ...
|
|
97
|
+
async def invalidate_remembered_browsers_async(self, user_id: str) -> dict[str, Incomplete]: ...
|
|
98
|
+
def get_authentication_methods(self, user_id: str) -> dict[str, Incomplete]: ...
|
|
99
|
+
async def get_authentication_methods_async(self, user_id: str) -> dict[str, Incomplete]: ...
|
|
100
|
+
def get_authentication_method_by_id(self, user_id: str, authentication_method_id: str) -> dict[str, Incomplete]: ...
|
|
101
|
+
async def get_authentication_method_by_id_async(
|
|
102
|
+
self, user_id: str, authentication_method_id: str
|
|
103
|
+
) -> dict[str, Incomplete]: ...
|
|
104
|
+
def create_authentication_method(self, user_id: str, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ...
|
|
105
|
+
async def create_authentication_method_async(self, user_id: str, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ...
|
|
106
|
+
def update_authentication_methods(self, user_id: str, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ...
|
|
107
|
+
async def update_authentication_methods_async(self, user_id: str, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ...
|
|
108
|
+
def update_authentication_method_by_id(
|
|
109
|
+
self, user_id: str, authentication_method_id: str, body: dict[str, Incomplete]
|
|
110
|
+
) -> dict[str, Incomplete]: ...
|
|
111
|
+
async def update_authentication_method_by_id_async(
|
|
112
|
+
self, user_id: str, authentication_method_id: str, body: dict[str, Incomplete]
|
|
113
|
+
) -> dict[str, Incomplete]: ...
|
|
114
|
+
def delete_authentication_methods(self, user_id: str): ...
|
|
115
|
+
async def delete_authentication_methods_async(self, user_id: str): ...
|
|
116
|
+
def delete_authentication_method_by_id(self, user_id: str, authentication_method_id: str): ...
|
|
117
|
+
async def delete_authentication_method_by_id_async(self, user_id: str, authentication_method_id: str): ...
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
from _typeshed import Incomplete
|
|
2
|
+
|
|
3
|
+
from ..rest import RestClient as RestClient, RestClientOptions as RestClientOptions
|
|
4
|
+
from ..types import TimeoutType as TimeoutType
|
|
5
|
+
|
|
6
|
+
class UsersByEmail:
|
|
7
|
+
domain: Incomplete
|
|
8
|
+
protocol: Incomplete
|
|
9
|
+
client: Incomplete
|
|
10
|
+
def __init__(
|
|
11
|
+
self,
|
|
12
|
+
domain: str,
|
|
13
|
+
token: str,
|
|
14
|
+
telemetry: bool = True,
|
|
15
|
+
timeout: TimeoutType = 5.0,
|
|
16
|
+
protocol: str = "https",
|
|
17
|
+
rest_options: RestClientOptions | None = None,
|
|
18
|
+
) -> None: ...
|
|
19
|
+
def search_users_by_email(
|
|
20
|
+
self, email: str, fields: list[str] | None = None, include_fields: bool = True
|
|
21
|
+
) -> list[dict[str, Incomplete]]: ...
|
|
22
|
+
async def search_users_by_email_async(
|
|
23
|
+
self, email: str, fields: list[str] | None = None, include_fields: bool = True
|
|
24
|
+
) -> list[dict[str, Incomplete]]: ...
|
auth0-stubs/py.typed
ADDED
|
File without changes
|
auth0-stubs/rest.pyi
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
from _typeshed import Incomplete
|
|
2
|
+
from collections.abc import Mapping
|
|
3
|
+
|
|
4
|
+
import requests
|
|
5
|
+
from auth0.exceptions import Auth0Error as Auth0Error, RateLimitError as RateLimitError
|
|
6
|
+
from auth0.rest_async import RequestsResponse as RequestsResponse
|
|
7
|
+
from auth0.types import RequestData as RequestData, TimeoutType as TimeoutType
|
|
8
|
+
|
|
9
|
+
UNKNOWN_ERROR: str
|
|
10
|
+
|
|
11
|
+
class RestClientOptions:
|
|
12
|
+
telemetry: Incomplete
|
|
13
|
+
timeout: Incomplete
|
|
14
|
+
retries: Incomplete
|
|
15
|
+
def __init__(self, telemetry: bool = True, timeout: TimeoutType = 5.0, retries: int = 3) -> None: ...
|
|
16
|
+
|
|
17
|
+
class RestClient:
|
|
18
|
+
options: Incomplete
|
|
19
|
+
jwt: Incomplete
|
|
20
|
+
base_headers: Incomplete
|
|
21
|
+
telemetry: Incomplete
|
|
22
|
+
timeout: Incomplete
|
|
23
|
+
def __init__(
|
|
24
|
+
self, jwt: str | None, telemetry: bool = True, timeout: TimeoutType = 5.0, options: RestClientOptions | None = None
|
|
25
|
+
) -> None: ...
|
|
26
|
+
def MAX_REQUEST_RETRIES(self) -> int: ...
|
|
27
|
+
def MAX_REQUEST_RETRY_JITTER(self) -> int: ...
|
|
28
|
+
def MAX_REQUEST_RETRY_DELAY(self) -> int: ...
|
|
29
|
+
def MIN_REQUEST_RETRY_DELAY(self) -> int: ...
|
|
30
|
+
def get(self, url: str, params: dict[str, Incomplete] | None = None, headers: dict[str, str] | None = None): ...
|
|
31
|
+
def post(self, url: str, data: RequestData | None = None, headers: dict[str, str] | None = None): ...
|
|
32
|
+
def file_post(self, url: str, data: RequestData | None = None, files: dict[str, Incomplete] | None = None): ...
|
|
33
|
+
def patch(self, url: str, data: RequestData | None = None): ...
|
|
34
|
+
def put(self, url: str, data: RequestData | None = None): ...
|
|
35
|
+
def delete(self, url: str, params: dict[str, Incomplete] | None = None, data: RequestData | None = None): ...
|
|
36
|
+
|
|
37
|
+
class Response:
|
|
38
|
+
def __init__(self, status_code: int, content, headers: Mapping[str, str]) -> None: ...
|
|
39
|
+
def content(self): ...
|
|
40
|
+
|
|
41
|
+
class JsonResponse(Response):
|
|
42
|
+
def __init__(self, response: requests.Response | RequestsResponse) -> None: ...
|
|
43
|
+
|
|
44
|
+
class PlainResponse(Response):
|
|
45
|
+
def __init__(self, response: requests.Response | RequestsResponse) -> None: ...
|
|
46
|
+
|
|
47
|
+
class EmptyResponse(Response):
|
|
48
|
+
def __init__(self, status_code: int) -> None: ...
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
from _typeshed import Incomplete
|
|
2
|
+
|
|
3
|
+
from auth0.exceptions import RateLimitError as RateLimitError
|
|
4
|
+
from auth0.types import RequestData as RequestData
|
|
5
|
+
|
|
6
|
+
from .rest import (
|
|
7
|
+
EmptyResponse as EmptyResponse,
|
|
8
|
+
JsonResponse as JsonResponse,
|
|
9
|
+
PlainResponse as PlainResponse,
|
|
10
|
+
Response as Response,
|
|
11
|
+
RestClient as RestClient,
|
|
12
|
+
)
|
|
13
|
+
|
|
14
|
+
class AsyncRestClient(RestClient):
|
|
15
|
+
timeout: Incomplete
|
|
16
|
+
def __init__(self, *args, **kwargs) -> None: ...
|
|
17
|
+
def set_session(self, session) -> None: ...
|
|
18
|
+
async def get(self, url: str, params: dict[str, Incomplete] | None = None, headers: dict[str, str] | None = None): ...
|
|
19
|
+
async def post(self, url: str, data: RequestData | None = None, headers: dict[str, str] | None = None): ...
|
|
20
|
+
async def file_post(self, *args, **kwargs): ...
|
|
21
|
+
async def patch(self, url: str, data: RequestData | None = None): ...
|
|
22
|
+
async def put(self, url: str, data: RequestData | None = None): ...
|
|
23
|
+
async def delete(self, url: str, params: dict[str, Incomplete] | None = None, data: RequestData | None = None): ...
|
|
24
|
+
|
|
25
|
+
class RequestsResponse:
|
|
26
|
+
status_code: Incomplete
|
|
27
|
+
headers: Incomplete
|
|
28
|
+
text: Incomplete
|
|
29
|
+
def __init__(self, response, text: str) -> None: ...
|
auth0-stubs/types.pyi
ADDED
auth0-stubs/utils.pyi
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
def is_async_available() -> bool: ...
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: types-auth0-python
|
|
3
|
+
Version: 4.8.0.20250404
|
|
4
|
+
Summary: Typing stubs for auth0-python
|
|
5
|
+
License-Expression: Apache-2.0
|
|
6
|
+
Project-URL: Homepage, https://github.com/python/typeshed
|
|
7
|
+
Project-URL: GitHub, https://github.com/python/typeshed
|
|
8
|
+
Project-URL: Changes, https://github.com/typeshed-internal/stub_uploader/blob/main/data/changelogs/auth0-python.md
|
|
9
|
+
Project-URL: Issue tracker, https://github.com/python/typeshed/issues
|
|
10
|
+
Project-URL: Chat, https://gitter.im/python/typing
|
|
11
|
+
Classifier: Programming Language :: Python :: 3
|
|
12
|
+
Classifier: Typing :: Stubs Only
|
|
13
|
+
Requires-Python: >=3.9
|
|
14
|
+
Description-Content-Type: text/markdown
|
|
15
|
+
License-File: LICENSE
|
|
16
|
+
Requires-Dist: types-requests
|
|
17
|
+
Requires-Dist: cryptography
|
|
18
|
+
Dynamic: license-file
|
|
19
|
+
|
|
20
|
+
## Typing stubs for auth0-python
|
|
21
|
+
|
|
22
|
+
This is a [PEP 561](https://peps.python.org/pep-0561/)
|
|
23
|
+
type stub package for the [`auth0-python`](https://github.com/auth0/auth0-python) package.
|
|
24
|
+
It can be used by type-checking tools like
|
|
25
|
+
[mypy](https://github.com/python/mypy/),
|
|
26
|
+
[pyright](https://github.com/microsoft/pyright),
|
|
27
|
+
[pytype](https://github.com/google/pytype/),
|
|
28
|
+
[Pyre](https://pyre-check.org/),
|
|
29
|
+
PyCharm, etc. to check code that uses `auth0-python`. This version of
|
|
30
|
+
`types-auth0-python` aims to provide accurate annotations for
|
|
31
|
+
`auth0-python==4.8.*`.
|
|
32
|
+
|
|
33
|
+
This package is part of the [typeshed project](https://github.com/python/typeshed).
|
|
34
|
+
All fixes for types and metadata should be contributed there.
|
|
35
|
+
See [the README](https://github.com/python/typeshed/blob/main/README.md)
|
|
36
|
+
for more details. The source for this package can be found in the
|
|
37
|
+
[`stubs/auth0-python`](https://github.com/python/typeshed/tree/main/stubs/auth0-python)
|
|
38
|
+
directory.
|
|
39
|
+
|
|
40
|
+
This package was tested with
|
|
41
|
+
mypy 1.15.0,
|
|
42
|
+
pyright 1.1.398,
|
|
43
|
+
and pytype 2024.10.11.
|
|
44
|
+
It was generated from typeshed commit
|
|
45
|
+
[`1c17cd429c2f91b0066547deb99c537af3e54d39`](https://github.com/python/typeshed/commit/1c17cd429c2f91b0066547deb99c537af3e54d39).
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
auth0-stubs/METADATA.toml,sha256=AnIg4XJS7nZcAwbvMt4Q1ukQCLtt9RJRg9UKaIsqXxA,126
|
|
2
|
+
auth0-stubs/__init__.pyi,sha256=inT73JBglv8dtp45gP5bgVk153TpN3aHaw8B0A4yMOY,219
|
|
3
|
+
auth0-stubs/asyncify.pyi,sha256=m_ejCVVeePpsXhwjUV5mfPdcsqvBxAPQl7dvlyxQ_ls,277
|
|
4
|
+
auth0-stubs/exceptions.pyi,sha256=OPIBr8dBJvBF0ISlJskQhQreZPbnyg2KI-3vcuDOCZ0,472
|
|
5
|
+
auth0-stubs/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
6
|
+
auth0-stubs/rest.pyi,sha256=MqGgBA_HWi7nVvJjRAcpmM7_wKHKigFzDGYVgixlbQE,2084
|
|
7
|
+
auth0-stubs/rest_async.pyi,sha256=XruVY6h2jeFa0IW3wvdJpZ27YsYSsDhcCGhp192ODZA,1201
|
|
8
|
+
auth0-stubs/types.pyi,sha256=5IY36c1x8UCKvmZ1sZzk4VaNK6YuhxmhByK7q_SXnaw,193
|
|
9
|
+
auth0-stubs/utils.pyi,sha256=kE-wXhe33cguo09sUhaLNt0CVMRJc4GPwHAuKexnez0,38
|
|
10
|
+
auth0-stubs/authentication/__init__.pyi,sha256=ukW-RHOttp0JoQDEpvwIiecDKmn3dC-aCOMB77cGZsU,474
|
|
11
|
+
auth0-stubs/authentication/async_token_verifier.pyi,sha256=DsoHdovf2VCDXucB0LmZ8DaclW7Vwjgi6MicXj6qDro,1000
|
|
12
|
+
auth0-stubs/authentication/back_channel_login.pyi,sha256=a5_sxkEIsYHQiBfjVq7aVxmQ_uCjnF0iu-LgVQAKfA4,203
|
|
13
|
+
auth0-stubs/authentication/base.pyi,sha256=8f_57_C5ffgsucX4dv6_-OWcG1KScnUPvWP1XnKFiSY,1236
|
|
14
|
+
auth0-stubs/authentication/client_authentication.pyi,sha256=PZ_ieuWIYmObf4VExYQaoIQpbpIpGKKFpDV4-yc9c0U,449
|
|
15
|
+
auth0-stubs/authentication/database.pyi,sha256=cTBvpu1bYQxbdEJlC-vmm1oH99w1Tg1rQqg7AYXzmPg,693
|
|
16
|
+
auth0-stubs/authentication/delegated.pyi,sha256=NIThj92iwwwd8jE_SP2jJcI4KH8LiucnIoefzYJka7k,320
|
|
17
|
+
auth0-stubs/authentication/enterprise.pyi,sha256=69sBHsXBjFNOjaXpSNLRuZ72hIJMyeoLcc-s4Hk-5vg,165
|
|
18
|
+
auth0-stubs/authentication/get_token.pyi,sha256=RTB3Yuda_NrjAE3XMkAX0n6gp3-_Cmop1Uukh4q7mTk,1119
|
|
19
|
+
auth0-stubs/authentication/passwordless.pyi,sha256=HcbPmfHFe5uTzTdHzYQTYkq8A-L1Ia8x_an-7lo3DV8,242
|
|
20
|
+
auth0-stubs/authentication/pushed_authorization_requests.pyi,sha256=ySwT61nKQisVoy7JzXzEzu9Mb-fngHsfSoRJK-4l-qE,212
|
|
21
|
+
auth0-stubs/authentication/revoke_token.pyi,sha256=ECukip98_jpkgF9EoJ1FHVz3TvwgGki7TkKGt79PxkI,151
|
|
22
|
+
auth0-stubs/authentication/social.pyi,sha256=cY_l7hYYQ9cfyIuP4m68vppgibSu05gOOjdV80__yG0,178
|
|
23
|
+
auth0-stubs/authentication/token_verifier.pyi,sha256=0f3OS6IJVCcBPGJYOIPcxpptGg41vrppVpUMWEznQzs,1164
|
|
24
|
+
auth0-stubs/authentication/users.pyi,sha256=l0gN85ya_XnCuQE9bnaWRIHXdUU-B9koACLYRl2JLd4,456
|
|
25
|
+
auth0-stubs/management/__init__.pyi,sha256=zKtXC796AoutVKB1Ags9XIpAAD2MPWqaW_lsjSBl32A,1941
|
|
26
|
+
auth0-stubs/management/actions.pyi,sha256=EAkz2TVpkFTNfFnDKhCUMkgiKKpSCfxBwd-BA08RT3k,3334
|
|
27
|
+
auth0-stubs/management/async_auth0.pyi,sha256=W-HMHBxQj5bQ6glTjy4wZ5wdOlna9iQAZeJT9BzTjSg,584
|
|
28
|
+
auth0-stubs/management/attack_protection.pyi,sha256=bC3n0uNggUSFV39Pa2QmgxRki9QdRbreMhYt31n2oTY,1653
|
|
29
|
+
auth0-stubs/management/auth0.pyi,sha256=2TDQl2GWuC-r1nIbtWA9LizXp0bYGgSfZMJYJar6DcU,2435
|
|
30
|
+
auth0-stubs/management/blacklists.pyi,sha256=t67pJlgvcIRJUpUST09Xatogm2tJHZTgKPBZFq7fxb4,797
|
|
31
|
+
auth0-stubs/management/branding.pyi,sha256=8dxCZyZJ1gTw2lqEcyIxhdqRrgra-Ls2CC_AazL6C6w,2155
|
|
32
|
+
auth0-stubs/management/client_credentials.pyi,sha256=pTLOvQnhI06M3MRcGxYQrCqkHSWRzJmeEzEonhI_tBA,1188
|
|
33
|
+
auth0-stubs/management/client_grants.pyi,sha256=EgkWeUqFeiJPBpVwSSAAyaWNq1dsuHHnDgtYIH67ypk,2117
|
|
34
|
+
auth0-stubs/management/clients.pyi,sha256=_fWfs2MK8qPDnPZ8_ZIBrl7T8PcLWXcG2XtMfwM2LEQ,1904
|
|
35
|
+
auth0-stubs/management/connections.pyi,sha256=EDTfPxP4fmgCRgcnLPEdGvjyA6nszxveRKehQ1_LuRg,2036
|
|
36
|
+
auth0-stubs/management/custom_domains.pyi,sha256=G_S0eDBAFAhZXRjZs_btJ9XOOygAmi749v1zvB6wow0,1146
|
|
37
|
+
auth0-stubs/management/device_credentials.pyi,sha256=5L6CrLfXbL6QXX_4kqH5AoTifD3AG0Ftq2O7xD2-KP4,1354
|
|
38
|
+
auth0-stubs/management/email_templates.pyi,sha256=pkkpkLmEBho7jowY28cKvxix6Hgx2lYle2pmLQ5ScME,1039
|
|
39
|
+
auth0-stubs/management/emails.pyi,sha256=wXs-viMASQwjUGab4T7lCr7Oi2LJu6aL1J_r8yCJFC0,1139
|
|
40
|
+
auth0-stubs/management/grants.pyi,sha256=z3LEZ2Q0QnbvSMe0dF2xL9p7cXUZaFF_jpjlGEIhJ4A,1003
|
|
41
|
+
auth0-stubs/management/guardian.pyi,sha256=hMBtw5UNmsUWSUqlqeu3JKDC6W6PlVatVfai-JwtMGU,2103
|
|
42
|
+
auth0-stubs/management/hooks.pyi,sha256=xzrluVowzNJozYA3fJCSicrTQDahP7FR2z6SnlSJpBg,2334
|
|
43
|
+
auth0-stubs/management/jobs.pyi,sha256=D-1whcxyzZSFIKcuOpRa72b1ZQVB18X2ryYIlBCwB2M,1587
|
|
44
|
+
auth0-stubs/management/log_streams.pyi,sha256=JBo4ZTCIYdKtlNfL3u6OMMKWazmKM1mLpzdNYZ0lSro,1282
|
|
45
|
+
auth0-stubs/management/logs.pyi,sha256=A3c7b6sindJRQ2nCq5yqTAYutv1MIwXNKLEmcKObV4w,1369
|
|
46
|
+
auth0-stubs/management/organizations.pyi,sha256=9b44o3MC03kGNvivwnZ19TvdXbP1yyaoxX-4Nwn7N5o,7144
|
|
47
|
+
auth0-stubs/management/prompts.pyi,sha256=9iXgmtm7zhGjKf-R9U4iONsU-05ETISzqx73nRohsz8,1184
|
|
48
|
+
auth0-stubs/management/resource_servers.pyi,sha256=nzttD657AOsJAJFqbUhOftI_CKnZd9lgwtqQg4mJu6w,1312
|
|
49
|
+
auth0-stubs/management/roles.pyi,sha256=3Knz6JYNuVQ2y-AlqNTj8nKP5gKHdSjHhlSwEFdHky4,2823
|
|
50
|
+
auth0-stubs/management/rules.pyi,sha256=MqVbghYgdGJcbpJkZcI38R8U348jgCayr4uJEsnzAT4,1838
|
|
51
|
+
auth0-stubs/management/rules_configs.pyi,sha256=JouIMDbLF2FvBqrCL2TaENm5n6qh0ZYdsAs2phIR7uY,859
|
|
52
|
+
auth0-stubs/management/stats.pyi,sha256=LNclABUkPe3CJ0qoR82UlnJAlirVkgzlxlaa9w2iwZg,854
|
|
53
|
+
auth0-stubs/management/tenants.pyi,sha256=hZvCDjILHn04SNyWvvSaNUKQUVabUgaqfCus1lyFqKU,904
|
|
54
|
+
auth0-stubs/management/tickets.pyi,sha256=s3m2P3dB83MdnrflLOE9zl2RUWbRKQI9KmAJ0SKrXT4,906
|
|
55
|
+
auth0-stubs/management/user_blocks.pyi,sha256=w3H4BX_8wpmmnp7mLY0ZLh-8Wxhk-Y2MfgBmsNHl1D8,1047
|
|
56
|
+
auth0-stubs/management/users.pyi,sha256=cMbUaCzYNaNHGwcxI7kfL9L5_H-72XmY7WSjGMAqwm8,6767
|
|
57
|
+
auth0-stubs/management/users_by_email.pyi,sha256=7gMAreN6iL15RVKbH_6pCp3AlSJLcEMFy4-jpn1Ma5Q,837
|
|
58
|
+
types_auth0_python-4.8.0.20250404.dist-info/licenses/LICENSE,sha256=KV-FOMlK5cMEMwHPfP8chS2ranhqjd7kceBhtA1eyr4,12657
|
|
59
|
+
types_auth0_python-4.8.0.20250404.dist-info/METADATA,sha256=VKPvKaCPMsnfONLOI7OpPSWpo0Fe5Xq62_6GGZMSTY4,1920
|
|
60
|
+
types_auth0_python-4.8.0.20250404.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
|
|
61
|
+
types_auth0_python-4.8.0.20250404.dist-info/top_level.txt,sha256=jTHU19gKTPdEEJelMin_g0tiufGV5Pe7rvFjJg3iG4Y,12
|
|
62
|
+
types_auth0_python-4.8.0.20250404.dist-info/RECORD,,
|