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