winrt-Windows.Security.Authentication.Web.Core 2.2.0__cp313-cp313-win_amd64.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.
@@ -0,0 +1,158 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
2
+
3
+ import datetime
4
+ import sys
5
+ import types
6
+ import typing
7
+ import uuid as _uuid
8
+ from builtins import property as _property
9
+
10
+ import winrt._winrt
11
+ import winrt.system
12
+ import winrt.windows.foundation as windows_foundation
13
+ import winrt.windows.foundation.collections as windows_foundation_collections
14
+ import winrt.windows.security.credentials as windows_security_credentials
15
+ import winrt.windows.system as windows_system
16
+
17
+ from winrt.windows.security.authentication.web.core import FindAllWebAccountsStatus, WebTokenRequestPromptType, WebTokenRequestStatus
18
+
19
+ Self = typing.TypeVar('Self')
20
+
21
+ @typing.final
22
+ class FindAllAccountsResult(winrt.system.Object):
23
+ @staticmethod
24
+ def _from(obj: winrt.system.Object, /) -> FindAllAccountsResult: ...
25
+ @_property
26
+ def accounts(self) -> typing.Optional[windows_foundation_collections.IVectorView[windows_security_credentials.WebAccount]]: ...
27
+ @_property
28
+ def provider_error(self) -> typing.Optional[WebProviderError]: ...
29
+ @_property
30
+ def status(self) -> FindAllWebAccountsStatus: ...
31
+
32
+ @typing.final
33
+ class WebAccountEventArgs(winrt.system.Object):
34
+ @staticmethod
35
+ def _from(obj: winrt.system.Object, /) -> WebAccountEventArgs: ...
36
+ @_property
37
+ def account(self) -> typing.Optional[windows_security_credentials.WebAccount]: ...
38
+
39
+ @typing.final
40
+ class WebAccountMonitor(winrt.system.Object):
41
+ @staticmethod
42
+ def _from(obj: winrt.system.Object, /) -> WebAccountMonitor: ...
43
+ def add_default_sign_in_account_changed(self, handler: windows_foundation.TypedEventHandler[WebAccountMonitor, winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
44
+ def remove_default_sign_in_account_changed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
45
+ def add_removed(self, handler: windows_foundation.TypedEventHandler[WebAccountMonitor, WebAccountEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
46
+ def remove_removed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
47
+ def add_updated(self, handler: windows_foundation.TypedEventHandler[WebAccountMonitor, WebAccountEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
48
+ def remove_updated(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
49
+ def add_account_picture_updated(self, handler: windows_foundation.TypedEventHandler[WebAccountMonitor, WebAccountEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
50
+ def remove_account_picture_updated(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
51
+
52
+ @typing.final
53
+ class WebAuthenticationCoreManager_Static(type):
54
+ def create_web_account_monitor(cls, web_accounts: typing.Iterable[windows_security_credentials.WebAccount], /) -> typing.Optional[WebAccountMonitor]: ...
55
+ def find_account_async(cls, provider: typing.Optional[windows_security_credentials.WebAccountProvider], web_account_id: str, /) -> windows_foundation.IAsyncOperation[windows_security_credentials.WebAccount]: ...
56
+ @typing.overload
57
+ def find_account_provider_async(cls, web_account_provider_id: str, /) -> windows_foundation.IAsyncOperation[windows_security_credentials.WebAccountProvider]: ...
58
+ @typing.overload
59
+ def find_account_provider_async(cls, web_account_provider_id: str, authority: str, /) -> windows_foundation.IAsyncOperation[windows_security_credentials.WebAccountProvider]: ...
60
+ @typing.overload
61
+ def find_account_provider_async(cls, web_account_provider_id: str, authority: str, user: typing.Optional[windows_system.User], /) -> windows_foundation.IAsyncOperation[windows_security_credentials.WebAccountProvider]: ...
62
+ @typing.overload
63
+ def find_all_accounts_async(cls, provider: typing.Optional[windows_security_credentials.WebAccountProvider], /) -> windows_foundation.IAsyncOperation[FindAllAccountsResult]: ...
64
+ @typing.overload
65
+ def find_all_accounts_async(cls, provider: typing.Optional[windows_security_credentials.WebAccountProvider], client_id: str, /) -> windows_foundation.IAsyncOperation[FindAllAccountsResult]: ...
66
+ @typing.overload
67
+ def find_system_account_provider_async(cls, web_account_provider_id: str, /) -> windows_foundation.IAsyncOperation[windows_security_credentials.WebAccountProvider]: ...
68
+ @typing.overload
69
+ def find_system_account_provider_async(cls, web_account_provider_id: str, authority: str, /) -> windows_foundation.IAsyncOperation[windows_security_credentials.WebAccountProvider]: ...
70
+ @typing.overload
71
+ def find_system_account_provider_async(cls, web_account_provider_id: str, authority: str, user: typing.Optional[windows_system.User], /) -> windows_foundation.IAsyncOperation[windows_security_credentials.WebAccountProvider]: ...
72
+ @typing.overload
73
+ def get_token_silently_async(cls, request: typing.Optional[WebTokenRequest], /) -> windows_foundation.IAsyncOperation[WebTokenRequestResult]: ...
74
+ @typing.overload
75
+ def get_token_silently_async(cls, request: typing.Optional[WebTokenRequest], web_account: typing.Optional[windows_security_credentials.WebAccount], /) -> windows_foundation.IAsyncOperation[WebTokenRequestResult]: ...
76
+ @typing.overload
77
+ def request_token_async(cls, request: typing.Optional[WebTokenRequest], /) -> windows_foundation.IAsyncOperation[WebTokenRequestResult]: ...
78
+ @typing.overload
79
+ def request_token_async(cls, request: typing.Optional[WebTokenRequest], web_account: typing.Optional[windows_security_credentials.WebAccount], /) -> windows_foundation.IAsyncOperation[WebTokenRequestResult]: ...
80
+
81
+ @typing.final
82
+ class WebAuthenticationCoreManager(winrt.system.Object, metaclass=WebAuthenticationCoreManager_Static):
83
+ pass
84
+
85
+ @typing.final
86
+ class WebProviderError(winrt.system.Object):
87
+ @staticmethod
88
+ def _from(obj: winrt.system.Object, /) -> WebProviderError: ...
89
+ def __new__(cls: typing.Type[WebProviderError], error_code: winrt.system.UInt32, error_message: str) -> WebProviderError: ...
90
+ @_property
91
+ def error_code(self) -> winrt.system.UInt32: ...
92
+ @_property
93
+ def error_message(self) -> str: ...
94
+ @_property
95
+ def properties(self) -> typing.Optional[windows_foundation_collections.IMap[str, str]]: ...
96
+
97
+ @typing.final
98
+ class WebTokenRequest(winrt.system.Object):
99
+ @staticmethod
100
+ def _from(obj: winrt.system.Object, /) -> WebTokenRequest: ...
101
+ @typing.overload
102
+ def __new__(cls: typing.Type[WebTokenRequest], provider: typing.Optional[windows_security_credentials.WebAccountProvider], scope: str, client_id: str) -> WebTokenRequest: ...
103
+ @typing.overload
104
+ def __new__(cls: typing.Type[WebTokenRequest], provider: typing.Optional[windows_security_credentials.WebAccountProvider], scope: str, client_id: str, prompt_type: WebTokenRequestPromptType) -> WebTokenRequest: ...
105
+ @typing.overload
106
+ def __new__(cls: typing.Type[WebTokenRequest], provider: typing.Optional[windows_security_credentials.WebAccountProvider]) -> WebTokenRequest: ...
107
+ @typing.overload
108
+ def __new__(cls: typing.Type[WebTokenRequest], provider: typing.Optional[windows_security_credentials.WebAccountProvider], scope: str) -> WebTokenRequest: ...
109
+ @_property
110
+ def client_id(self) -> str: ...
111
+ @_property
112
+ def prompt_type(self) -> WebTokenRequestPromptType: ...
113
+ @_property
114
+ def properties(self) -> typing.Optional[windows_foundation_collections.IMap[str, str]]: ...
115
+ @_property
116
+ def scope(self) -> str: ...
117
+ @_property
118
+ def web_account_provider(self) -> typing.Optional[windows_security_credentials.WebAccountProvider]: ...
119
+ @_property
120
+ def app_properties(self) -> typing.Optional[windows_foundation_collections.IMap[str, str]]: ...
121
+ @_property
122
+ def correlation_id(self) -> str: ...
123
+ @correlation_id.setter
124
+ def correlation_id(self, value: str) -> None: ...
125
+
126
+ @typing.final
127
+ class WebTokenRequestResult(winrt.system.Object):
128
+ @staticmethod
129
+ def _from(obj: winrt.system.Object, /) -> WebTokenRequestResult: ...
130
+ def invalidate_cache_async(self) -> windows_foundation.IAsyncAction: ...
131
+ @_property
132
+ def response_data(self) -> typing.Optional[windows_foundation_collections.IVectorView[WebTokenResponse]]: ...
133
+ @_property
134
+ def response_error(self) -> typing.Optional[WebProviderError]: ...
135
+ @_property
136
+ def response_status(self) -> WebTokenRequestStatus: ...
137
+
138
+ @typing.final
139
+ class WebTokenResponse(winrt.system.Object):
140
+ @staticmethod
141
+ def _from(obj: winrt.system.Object, /) -> WebTokenResponse: ...
142
+ @typing.overload
143
+ def __new__(cls: typing.Type[WebTokenResponse], token: str) -> WebTokenResponse: ...
144
+ @typing.overload
145
+ def __new__(cls: typing.Type[WebTokenResponse], token: str, web_account: typing.Optional[windows_security_credentials.WebAccount]) -> WebTokenResponse: ...
146
+ @typing.overload
147
+ def __new__(cls: typing.Type[WebTokenResponse], token: str, web_account: typing.Optional[windows_security_credentials.WebAccount], error: typing.Optional[WebProviderError]) -> WebTokenResponse: ...
148
+ @typing.overload
149
+ def __new__(cls: typing.Type[WebTokenResponse]) -> WebTokenResponse: ...
150
+ @_property
151
+ def properties(self) -> typing.Optional[windows_foundation_collections.IMap[str, str]]: ...
152
+ @_property
153
+ def provider_error(self) -> typing.Optional[WebProviderError]: ...
154
+ @_property
155
+ def token(self) -> str: ...
156
+ @_property
157
+ def web_account(self) -> typing.Optional[windows_security_credentials.WebAccount]: ...
158
+
@@ -0,0 +1,47 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
2
+
3
+ import enum
4
+
5
+ import winrt.system
6
+ from winrt import _winrt_windows_security_authentication_web_core
7
+
8
+ __all__ = [
9
+ "FindAllWebAccountsStatus",
10
+ "WebTokenRequestPromptType",
11
+ "WebTokenRequestStatus",
12
+ "FindAllAccountsResult",
13
+ "WebAccountEventArgs",
14
+ "WebAccountMonitor",
15
+ "WebAuthenticationCoreManager",
16
+ "WebProviderError",
17
+ "WebTokenRequest",
18
+ "WebTokenRequestResult",
19
+ "WebTokenResponse",
20
+ ]
21
+
22
+ class FindAllWebAccountsStatus(enum.IntEnum):
23
+ SUCCESS = 0
24
+ NOT_ALLOWED_BY_PROVIDER = 1
25
+ NOT_SUPPORTED_BY_PROVIDER = 2
26
+ PROVIDER_ERROR = 3
27
+
28
+ class WebTokenRequestPromptType(enum.IntEnum):
29
+ DEFAULT = 0
30
+ FORCE_AUTHENTICATION = 1
31
+
32
+ class WebTokenRequestStatus(enum.IntEnum):
33
+ SUCCESS = 0
34
+ USER_CANCEL = 1
35
+ ACCOUNT_SWITCH = 2
36
+ USER_INTERACTION_REQUIRED = 3
37
+ ACCOUNT_PROVIDER_NOT_AVAILABLE = 4
38
+ PROVIDER_ERROR = 5
39
+
40
+ FindAllAccountsResult = _winrt_windows_security_authentication_web_core.FindAllAccountsResult
41
+ WebAccountEventArgs = _winrt_windows_security_authentication_web_core.WebAccountEventArgs
42
+ WebAccountMonitor = _winrt_windows_security_authentication_web_core.WebAccountMonitor
43
+ WebAuthenticationCoreManager = _winrt_windows_security_authentication_web_core.WebAuthenticationCoreManager
44
+ WebProviderError = _winrt_windows_security_authentication_web_core.WebProviderError
45
+ WebTokenRequest = _winrt_windows_security_authentication_web_core.WebTokenRequest
46
+ WebTokenRequestResult = _winrt_windows_security_authentication_web_core.WebTokenRequestResult
47
+ WebTokenResponse = _winrt_windows_security_authentication_web_core.WebTokenResponse
@@ -0,0 +1,28 @@
1
+ Metadata-Version: 2.1
2
+ Name: winrt-Windows.Security.Authentication.Web.Core
3
+ Version: 2.2.0
4
+ Summary: Python projection of Windows Runtime (WinRT) APIs
5
+ License: MIT
6
+ Project-URL: Documentation, https://pywinrt.readthedocs.io
7
+ Project-URL: Repository, https://github.com/pywinrt/pywinrt
8
+ Project-URL: Changelog, https://github.com/pywinrt/pywinrt/blob/main/CHANGELOG.md
9
+ Classifier: Operating System :: Microsoft :: Windows
10
+ Classifier: Programming Language :: Python :: 3
11
+ Classifier: Programming Language :: Python :: Implementation :: CPython
12
+ Classifier: Intended Audience :: Developers
13
+ Requires-Python: <3.14,>=3.9
14
+ Description-Content-Type: text/markdown
15
+ Requires-Dist: winrt-runtime ==2.2.0
16
+ Provides-Extra: all
17
+ Requires-Dist: winrt-Windows.Foundation[all] ==2.2.0 ; extra == 'all'
18
+ Requires-Dist: winrt-Windows.Foundation.Collections[all] ==2.2.0 ; extra == 'all'
19
+ Requires-Dist: winrt-Windows.Security.Credentials[all] ==2.2.0 ; extra == 'all'
20
+ Requires-Dist: winrt-Windows.System[all] ==2.2.0 ; extra == 'all'
21
+
22
+ <!-- warning: Please don't edit this file. It was automatically generated. -->
23
+
24
+ # winrt-Windows.Security.Authentication.Web.Core
25
+
26
+ Windows Runtime (WinRT) APIs for for the `Windows.Security.Authentication.Web.Core` namespace.
27
+
28
+ This package provides the `winrt.windows.security.authentication.web.core` module.
@@ -0,0 +1,8 @@
1
+ winrt/_winrt_windows_security_authentication_web_core.cp313-win_amd64.pyd,sha256=W2teGAAZ8S-8z7b1g_U1NayhdAFSNo6hfv8pQI1n8cA,218624
2
+ winrt/_winrt_windows_security_authentication_web_core.pyi,sha256=U5t8wB_LkY9MZNiw_R7zffLP8fCCNKH0lcWPW5Ecb1o,9482
3
+ winrt/windows/security/authentication/web/core/__init__.py,sha256=8rM5VIEYaiSslFqqqkK2osqa39FihuWM7W0HYM4hwKc,1673
4
+ winrt/windows/security/authentication/web/core/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
+ winrt_Windows.Security.Authentication.Web.Core-2.2.0.dist-info/METADATA,sha256=449sddqjGpz3sRalnvNEn1zwBx7zffS-kDVGxAXaNy0,1342
6
+ winrt_Windows.Security.Authentication.Web.Core-2.2.0.dist-info/WHEEL,sha256=CdxowNJ2RPRCxUxJWAQ4R_o8uA51cjotGywc47Ht6wA,101
7
+ winrt_Windows.Security.Authentication.Web.Core-2.2.0.dist-info/top_level.txt,sha256=BzwQb4dZRt0NxCXi10ARjWsox7Asmtf_lXrw_KR-D_E,6
8
+ winrt_Windows.Security.Authentication.Web.Core-2.2.0.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (73.0.0)
3
+ Root-Is-Purelib: false
4
+ Tag: cp313-cp313-win_amd64
5
+