winrt-Windows.Security.Authentication.Web.Core 4!10.0.28000.2705__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.
@@ -0,0 +1,32 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT
2
+
3
+ import winrt.runtime._internals
4
+ import winrt.system
5
+
6
+ winrt.runtime._internals.load_projection(__spec__)
7
+
8
+ __all__ = [
9
+ "FindAllWebAccountsStatus",
10
+ "WebAuthenticationAddAccountStatus",
11
+ "WebTokenRequestPromptType",
12
+ "WebTokenRequestStatus",
13
+ "FindAllAccountsResult",
14
+ "WebAccountEventArgs",
15
+ "WebAccountMonitor",
16
+ "WebAuthenticationAddAccountResponse",
17
+ "WebAuthenticationAddAccountResult",
18
+ "WebAuthenticationCoreManager",
19
+ "WebAuthenticationTransferTokenRequest",
20
+ "WebProviderError",
21
+ "WebTokenRequest",
22
+ "WebTokenRequestResult",
23
+ "WebTokenResponse",
24
+ ]
25
+
26
+ winrt.runtime._internals.alias_static_method(WebAuthenticationCoreManager, "find_account_provider_with_authority_async", "find_account_provider_async")
27
+ winrt.runtime._internals.alias_static_method(WebAuthenticationCoreManager, "find_account_provider_with_authority_for_user_async", "find_account_provider_async")
28
+ winrt.runtime._internals.alias_static_method(WebAuthenticationCoreManager, "find_all_accounts_with_client_id_async", "find_all_accounts_async")
29
+ winrt.runtime._internals.alias_static_method(WebAuthenticationCoreManager, "find_system_account_provider_with_authority_async", "find_system_account_provider_async")
30
+ winrt.runtime._internals.alias_static_method(WebAuthenticationCoreManager, "find_system_account_provider_with_authority_for_user_async", "find_system_account_provider_async")
31
+ winrt.runtime._internals.alias_static_method(WebAuthenticationCoreManager, "get_token_silently_with_web_account_async", "get_token_silently_async")
32
+ winrt.runtime._internals.alias_static_method(WebAuthenticationCoreManager, "request_token_with_web_account_async", "request_token_async")
@@ -0,0 +1,314 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT
2
+
3
+ import collections.abc as _cabc
4
+ import enum
5
+ import typing
6
+ from builtins import property as _property
7
+ from typing_extensions import deprecated
8
+
9
+ import winrt.system
10
+ import winrt.windows.foundation as windows_foundation
11
+ import winrt.windows.foundation.collections as windows_foundation_collections
12
+ import winrt.windows.security.credentials as windows_security_credentials
13
+ import winrt.windows.system as windows_system
14
+
15
+ __all__ = [
16
+ "FindAllWebAccountsStatus",
17
+ "WebAuthenticationAddAccountStatus",
18
+ "WebTokenRequestPromptType",
19
+ "WebTokenRequestStatus",
20
+ "FindAllAccountsResult",
21
+ "WebAccountEventArgs",
22
+ "WebAccountMonitor",
23
+ "WebAuthenticationAddAccountResponse",
24
+ "WebAuthenticationAddAccountResult",
25
+ "WebAuthenticationCoreManager",
26
+ "WebAuthenticationTransferTokenRequest",
27
+ "WebProviderError",
28
+ "WebTokenRequest",
29
+ "WebTokenRequestResult",
30
+ "WebTokenResponse",
31
+ ]
32
+
33
+ class FindAllWebAccountsStatus(enum.IntEnum):
34
+ SUCCESS = 0
35
+ NOT_ALLOWED_BY_PROVIDER = 1
36
+ NOT_SUPPORTED_BY_PROVIDER = 2
37
+ PROVIDER_ERROR = 3
38
+
39
+ class WebAuthenticationAddAccountStatus(enum.IntEnum):
40
+ SUCCESS = 0
41
+ ERROR = 1
42
+ NOT_SUPPORTED_BY_PROVIDER = 2
43
+ SERVICE_CONNECTION_ERROR = 3
44
+ PROVIDER_ERROR = 4
45
+
46
+ class WebTokenRequestPromptType(enum.IntEnum):
47
+ DEFAULT = 0
48
+ FORCE_AUTHENTICATION = 1
49
+
50
+ class WebTokenRequestStatus(enum.IntEnum):
51
+ SUCCESS = 0
52
+ USER_CANCEL = 1
53
+ ACCOUNT_SWITCH = 2
54
+ USER_INTERACTION_REQUIRED = 3
55
+ ACCOUNT_PROVIDER_NOT_AVAILABLE = 4
56
+ PROVIDER_ERROR = 5
57
+
58
+ @typing.final
59
+ class FindAllAccountsResult(winrt.system.Object):
60
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
61
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
62
+ # Windows.Foundation.Collections.IVectorView`1<Windows.Security.Credentials.WebAccount> Windows.Security.Authentication.Web.Core.FindAllAccountsResult::get_Accounts()
63
+ @_property
64
+ def accounts(self) -> _cabc.Sequence[windows_security_credentials.WebAccount]: ...
65
+ # Windows.Security.Authentication.Web.Core.WebProviderError Windows.Security.Authentication.Web.Core.FindAllAccountsResult::get_ProviderError()
66
+ @_property
67
+ def provider_error(self) -> WebProviderError: ...
68
+ # Windows.Security.Authentication.Web.Core.FindAllWebAccountsStatus Windows.Security.Authentication.Web.Core.FindAllAccountsResult::get_Status()
69
+ @_property
70
+ def status(self) -> FindAllWebAccountsStatus: ...
71
+
72
+ @typing.final
73
+ class WebAccountEventArgs(winrt.system.Object):
74
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
75
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
76
+ # Windows.Security.Credentials.WebAccount Windows.Security.Authentication.Web.Core.WebAccountEventArgs::get_Account()
77
+ @_property
78
+ def account(self) -> windows_security_credentials.WebAccount: ...
79
+
80
+ @typing.final
81
+ class WebAccountMonitor(winrt.system.Object):
82
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
83
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
84
+ # Windows.Foundation.EventRegistrationToken Windows.Security.Authentication.Web.Core.WebAccountMonitor::add_DefaultSignInAccountChanged(Windows.Foundation.TypedEventHandler`2<Windows.Security.Authentication.Web.Core.WebAccountMonitor,System.Object>)
85
+ def add_default_sign_in_account_changed(self, handler: windows_foundation.TypedEventHandler[WebAccountMonitor, winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
86
+ # System.Void Windows.Security.Authentication.Web.Core.WebAccountMonitor::remove_DefaultSignInAccountChanged(Windows.Foundation.EventRegistrationToken)
87
+ def remove_default_sign_in_account_changed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
88
+ # Windows.Foundation.EventRegistrationToken Windows.Security.Authentication.Web.Core.WebAccountMonitor::add_Removed(Windows.Foundation.TypedEventHandler`2<Windows.Security.Authentication.Web.Core.WebAccountMonitor,Windows.Security.Authentication.Web.Core.WebAccountEventArgs>)
89
+ def add_removed(self, handler: windows_foundation.TypedEventHandler[WebAccountMonitor, WebAccountEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
90
+ # System.Void Windows.Security.Authentication.Web.Core.WebAccountMonitor::remove_Removed(Windows.Foundation.EventRegistrationToken)
91
+ def remove_removed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
92
+ # Windows.Foundation.EventRegistrationToken Windows.Security.Authentication.Web.Core.WebAccountMonitor::add_Updated(Windows.Foundation.TypedEventHandler`2<Windows.Security.Authentication.Web.Core.WebAccountMonitor,Windows.Security.Authentication.Web.Core.WebAccountEventArgs>)
93
+ def add_updated(self, handler: windows_foundation.TypedEventHandler[WebAccountMonitor, WebAccountEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
94
+ # System.Void Windows.Security.Authentication.Web.Core.WebAccountMonitor::remove_Updated(Windows.Foundation.EventRegistrationToken)
95
+ def remove_updated(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
96
+ # Windows.Foundation.EventRegistrationToken Windows.Security.Authentication.Web.Core.WebAccountMonitor::add_AccountPictureUpdated(Windows.Foundation.TypedEventHandler`2<Windows.Security.Authentication.Web.Core.WebAccountMonitor,Windows.Security.Authentication.Web.Core.WebAccountEventArgs>)
97
+ def add_account_picture_updated(self, handler: windows_foundation.TypedEventHandler[WebAccountMonitor, WebAccountEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
98
+ # System.Void Windows.Security.Authentication.Web.Core.WebAccountMonitor::remove_AccountPictureUpdated(Windows.Foundation.EventRegistrationToken)
99
+ def remove_account_picture_updated(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
100
+
101
+ @typing.final
102
+ class WebAuthenticationAddAccountResponse(winrt.system.Object):
103
+ def __new__(cls, web_account: windows_security_credentials.WebAccount, /) -> typing.Self: ...
104
+ # Windows.Foundation.Collections.IMap`2<System.String,System.String> Windows.Security.Authentication.Web.Core.WebAuthenticationAddAccountResponse::get_Properties()
105
+ @_property
106
+ def properties(self) -> _cabc.MutableMapping[str, str]: ...
107
+ # Windows.Security.Credentials.WebAccount Windows.Security.Authentication.Web.Core.WebAuthenticationAddAccountResponse::get_WebAccount()
108
+ @_property
109
+ def web_account(self) -> windows_security_credentials.WebAccount: ...
110
+
111
+ @typing.final
112
+ class WebAuthenticationAddAccountResult(winrt.system.Object):
113
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
114
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
115
+ # Windows.Security.Authentication.Web.Core.WebAuthenticationAddAccountResponse Windows.Security.Authentication.Web.Core.WebAuthenticationAddAccountResult::get_ResponseData()
116
+ @_property
117
+ def response_data(self) -> WebAuthenticationAddAccountResponse: ...
118
+ # Windows.Security.Authentication.Web.Core.WebProviderError Windows.Security.Authentication.Web.Core.WebAuthenticationAddAccountResult::get_ResponseError()
119
+ @_property
120
+ def response_error(self) -> WebProviderError: ...
121
+ # Windows.Security.Authentication.Web.Core.WebAuthenticationAddAccountStatus Windows.Security.Authentication.Web.Core.WebAuthenticationAddAccountResult::get_ResponseStatus()
122
+ @_property
123
+ def response_status(self) -> WebAuthenticationAddAccountStatus: ...
124
+
125
+ @typing.final
126
+ class WebAuthenticationCoreManager_Static(winrt.system.Object_Static):
127
+ # Windows.Foundation.IAsyncOperation`1<Windows.Security.Authentication.Web.Core.WebAuthenticationAddAccountResult> Windows.Security.Authentication.Web.Core.WebAuthenticationCoreManager::AddAccountWithTransferTokenAsync(Windows.Security.Authentication.Web.Core.WebAuthenticationTransferTokenRequest)
128
+ def add_account_with_transfer_token_async(cls, request: WebAuthenticationTransferTokenRequest, /) -> windows_foundation.IAsyncOperation[WebAuthenticationAddAccountResult]: ...
129
+ # Windows.Security.Authentication.Web.Core.WebAccountMonitor Windows.Security.Authentication.Web.Core.WebAuthenticationCoreManager::CreateWebAccountMonitor(Windows.Foundation.Collections.IIterable`1<Windows.Security.Credentials.WebAccount>)
130
+ def create_web_account_monitor(cls, web_accounts: _cabc.Iterable[windows_security_credentials.WebAccount], /) -> WebAccountMonitor: ...
131
+ # Windows.Foundation.IAsyncOperation`1<Windows.Security.Credentials.WebAccount> Windows.Security.Authentication.Web.Core.WebAuthenticationCoreManager::FindAccountAsync(Windows.Security.Credentials.WebAccountProvider,System.String)
132
+ def find_account_async(cls, provider: windows_security_credentials.WebAccountProvider, web_account_id: str, /) -> windows_foundation.IAsyncOperation[windows_security_credentials.WebAccount]: ...
133
+ @typing.overload
134
+ # Windows.Foundation.IAsyncOperation`1<Windows.Security.Credentials.WebAccountProvider> Windows.Security.Authentication.Web.Core.WebAuthenticationCoreManager::FindAccountProviderAsync(System.String)
135
+ def find_account_provider_async(cls, web_account_provider_id: str, /) -> windows_foundation.IAsyncOperation[windows_security_credentials.WebAccountProvider]: ...
136
+ @typing.overload
137
+ # Windows.Foundation.IAsyncOperation`1<Windows.Security.Credentials.WebAccountProvider> Windows.Security.Authentication.Web.Core.WebAuthenticationCoreManager::FindAccountProviderAsync(System.String,System.String)
138
+ def find_account_provider_async(cls, web_account_provider_id: str, authority: str, /) -> windows_foundation.IAsyncOperation[windows_security_credentials.WebAccountProvider]: ...
139
+ @typing.overload
140
+ # Windows.Foundation.IAsyncOperation`1<Windows.Security.Credentials.WebAccountProvider> Windows.Security.Authentication.Web.Core.WebAuthenticationCoreManager::FindAccountProviderAsync(System.String,System.String,Windows.System.User)
141
+ def find_account_provider_async(cls, web_account_provider_id: str, authority: str, user: windows_system.User, /) -> windows_foundation.IAsyncOperation[windows_security_credentials.WebAccountProvider]: ...
142
+ # Deprecated alias of find_account_provider_async() for pywinrt v3.x compatibility.
143
+ # Windows.Foundation.IAsyncOperation`1<Windows.Security.Credentials.WebAccountProvider> Windows.Security.Authentication.Web.Core.WebAuthenticationCoreManager::FindAccountProviderAsync(System.String,System.String)
144
+ @deprecated("Use find_account_provider_async() instead.")
145
+ def find_account_provider_with_authority_async(cls, web_account_provider_id: str, authority: str, /) -> windows_foundation.IAsyncOperation[windows_security_credentials.WebAccountProvider]: ...
146
+ # Deprecated alias of find_account_provider_async() for pywinrt v3.x compatibility.
147
+ # Windows.Foundation.IAsyncOperation`1<Windows.Security.Credentials.WebAccountProvider> Windows.Security.Authentication.Web.Core.WebAuthenticationCoreManager::FindAccountProviderAsync(System.String,System.String,Windows.System.User)
148
+ @deprecated("Use find_account_provider_async() instead.")
149
+ def find_account_provider_with_authority_for_user_async(cls, web_account_provider_id: str, authority: str, user: windows_system.User, /) -> windows_foundation.IAsyncOperation[windows_security_credentials.WebAccountProvider]: ...
150
+ @typing.overload
151
+ # Windows.Foundation.IAsyncOperation`1<Windows.Security.Authentication.Web.Core.FindAllAccountsResult> Windows.Security.Authentication.Web.Core.WebAuthenticationCoreManager::FindAllAccountsAsync(Windows.Security.Credentials.WebAccountProvider)
152
+ def find_all_accounts_async(cls, provider: windows_security_credentials.WebAccountProvider, /) -> windows_foundation.IAsyncOperation[FindAllAccountsResult]: ...
153
+ @typing.overload
154
+ # Windows.Foundation.IAsyncOperation`1<Windows.Security.Authentication.Web.Core.FindAllAccountsResult> Windows.Security.Authentication.Web.Core.WebAuthenticationCoreManager::FindAllAccountsAsync(Windows.Security.Credentials.WebAccountProvider,System.String)
155
+ def find_all_accounts_async(cls, provider: windows_security_credentials.WebAccountProvider, client_id: str, /) -> windows_foundation.IAsyncOperation[FindAllAccountsResult]: ...
156
+ # Deprecated alias of find_all_accounts_async() for pywinrt v3.x compatibility.
157
+ # Windows.Foundation.IAsyncOperation`1<Windows.Security.Authentication.Web.Core.FindAllAccountsResult> Windows.Security.Authentication.Web.Core.WebAuthenticationCoreManager::FindAllAccountsAsync(Windows.Security.Credentials.WebAccountProvider,System.String)
158
+ @deprecated("Use find_all_accounts_async() instead.")
159
+ def find_all_accounts_with_client_id_async(cls, provider: windows_security_credentials.WebAccountProvider, client_id: str, /) -> windows_foundation.IAsyncOperation[FindAllAccountsResult]: ...
160
+ @typing.overload
161
+ # Windows.Foundation.IAsyncOperation`1<Windows.Security.Credentials.WebAccountProvider> Windows.Security.Authentication.Web.Core.WebAuthenticationCoreManager::FindSystemAccountProviderAsync(System.String)
162
+ def find_system_account_provider_async(cls, web_account_provider_id: str, /) -> windows_foundation.IAsyncOperation[windows_security_credentials.WebAccountProvider]: ...
163
+ @typing.overload
164
+ # Windows.Foundation.IAsyncOperation`1<Windows.Security.Credentials.WebAccountProvider> Windows.Security.Authentication.Web.Core.WebAuthenticationCoreManager::FindSystemAccountProviderAsync(System.String,System.String)
165
+ def find_system_account_provider_async(cls, web_account_provider_id: str, authority: str, /) -> windows_foundation.IAsyncOperation[windows_security_credentials.WebAccountProvider]: ...
166
+ @typing.overload
167
+ # Windows.Foundation.IAsyncOperation`1<Windows.Security.Credentials.WebAccountProvider> Windows.Security.Authentication.Web.Core.WebAuthenticationCoreManager::FindSystemAccountProviderAsync(System.String,System.String,Windows.System.User)
168
+ def find_system_account_provider_async(cls, web_account_provider_id: str, authority: str, user: windows_system.User, /) -> windows_foundation.IAsyncOperation[windows_security_credentials.WebAccountProvider]: ...
169
+ # Deprecated alias of find_system_account_provider_async() for pywinrt v3.x compatibility.
170
+ # Windows.Foundation.IAsyncOperation`1<Windows.Security.Credentials.WebAccountProvider> Windows.Security.Authentication.Web.Core.WebAuthenticationCoreManager::FindSystemAccountProviderAsync(System.String,System.String)
171
+ @deprecated("Use find_system_account_provider_async() instead.")
172
+ def find_system_account_provider_with_authority_async(cls, web_account_provider_id: str, authority: str, /) -> windows_foundation.IAsyncOperation[windows_security_credentials.WebAccountProvider]: ...
173
+ # Deprecated alias of find_system_account_provider_async() for pywinrt v3.x compatibility.
174
+ # Windows.Foundation.IAsyncOperation`1<Windows.Security.Credentials.WebAccountProvider> Windows.Security.Authentication.Web.Core.WebAuthenticationCoreManager::FindSystemAccountProviderAsync(System.String,System.String,Windows.System.User)
175
+ @deprecated("Use find_system_account_provider_async() instead.")
176
+ def find_system_account_provider_with_authority_for_user_async(cls, web_account_provider_id: str, authority: str, user: windows_system.User, /) -> windows_foundation.IAsyncOperation[windows_security_credentials.WebAccountProvider]: ...
177
+ @typing.overload
178
+ # Windows.Foundation.IAsyncOperation`1<Windows.Security.Authentication.Web.Core.WebTokenRequestResult> Windows.Security.Authentication.Web.Core.WebAuthenticationCoreManager::GetTokenSilentlyAsync(Windows.Security.Authentication.Web.Core.WebTokenRequest)
179
+ def get_token_silently_async(cls, request: WebTokenRequest, /) -> windows_foundation.IAsyncOperation[WebTokenRequestResult]: ...
180
+ @typing.overload
181
+ # Windows.Foundation.IAsyncOperation`1<Windows.Security.Authentication.Web.Core.WebTokenRequestResult> Windows.Security.Authentication.Web.Core.WebAuthenticationCoreManager::GetTokenSilentlyAsync(Windows.Security.Authentication.Web.Core.WebTokenRequest,Windows.Security.Credentials.WebAccount)
182
+ def get_token_silently_async(cls, request: WebTokenRequest, web_account: windows_security_credentials.WebAccount, /) -> windows_foundation.IAsyncOperation[WebTokenRequestResult]: ...
183
+ # Deprecated alias of get_token_silently_async() for pywinrt v3.x compatibility.
184
+ # Windows.Foundation.IAsyncOperation`1<Windows.Security.Authentication.Web.Core.WebTokenRequestResult> Windows.Security.Authentication.Web.Core.WebAuthenticationCoreManager::GetTokenSilentlyAsync(Windows.Security.Authentication.Web.Core.WebTokenRequest,Windows.Security.Credentials.WebAccount)
185
+ @deprecated("Use get_token_silently_async() instead.")
186
+ def get_token_silently_with_web_account_async(cls, request: WebTokenRequest, web_account: windows_security_credentials.WebAccount, /) -> windows_foundation.IAsyncOperation[WebTokenRequestResult]: ...
187
+ @typing.overload
188
+ # Windows.Foundation.IAsyncOperation`1<Windows.Security.Authentication.Web.Core.WebTokenRequestResult> Windows.Security.Authentication.Web.Core.WebAuthenticationCoreManager::RequestTokenAsync(Windows.Security.Authentication.Web.Core.WebTokenRequest)
189
+ def request_token_async(cls, request: WebTokenRequest, /) -> windows_foundation.IAsyncOperation[WebTokenRequestResult]: ...
190
+ @typing.overload
191
+ # Windows.Foundation.IAsyncOperation`1<Windows.Security.Authentication.Web.Core.WebTokenRequestResult> Windows.Security.Authentication.Web.Core.WebAuthenticationCoreManager::RequestTokenAsync(Windows.Security.Authentication.Web.Core.WebTokenRequest,Windows.Security.Credentials.WebAccount)
192
+ def request_token_async(cls, request: WebTokenRequest, web_account: windows_security_credentials.WebAccount, /) -> windows_foundation.IAsyncOperation[WebTokenRequestResult]: ...
193
+ # Deprecated alias of request_token_async() for pywinrt v3.x compatibility.
194
+ # Windows.Foundation.IAsyncOperation`1<Windows.Security.Authentication.Web.Core.WebTokenRequestResult> Windows.Security.Authentication.Web.Core.WebAuthenticationCoreManager::RequestTokenAsync(Windows.Security.Authentication.Web.Core.WebTokenRequest,Windows.Security.Credentials.WebAccount)
195
+ @deprecated("Use request_token_async() instead.")
196
+ def request_token_with_web_account_async(cls, request: WebTokenRequest, web_account: windows_security_credentials.WebAccount, /) -> windows_foundation.IAsyncOperation[WebTokenRequestResult]: ...
197
+
198
+ @typing.final
199
+ class WebAuthenticationCoreManager(winrt.system.Object, metaclass=WebAuthenticationCoreManager_Static):
200
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
201
+ """A class of static members only, so there is nothing to create."""
202
+
203
+ @typing.final
204
+ class WebAuthenticationTransferTokenRequest(winrt.system.Object):
205
+ @typing.overload
206
+ def __new__(cls, provider: windows_security_credentials.WebAccountProvider, transfer_token: str, /) -> typing.Self: ...
207
+ @typing.overload
208
+ def __new__(cls, provider: windows_security_credentials.WebAccountProvider, transfer_token: str, correlation_id: str, /) -> typing.Self: ...
209
+ # System.String Windows.Security.Authentication.Web.Core.WebAuthenticationTransferTokenRequest::get_TransferToken()
210
+ @_property
211
+ def transfer_token(self) -> str: ...
212
+ # System.Void Windows.Security.Authentication.Web.Core.WebAuthenticationTransferTokenRequest::put_TransferToken(System.String)
213
+ @transfer_token.setter
214
+ def transfer_token(self, value: str) -> None: ...
215
+ # System.String Windows.Security.Authentication.Web.Core.WebAuthenticationTransferTokenRequest::get_CorrelationId()
216
+ @_property
217
+ def correlation_id(self) -> str: ...
218
+ # System.Void Windows.Security.Authentication.Web.Core.WebAuthenticationTransferTokenRequest::put_CorrelationId(System.String)
219
+ @correlation_id.setter
220
+ def correlation_id(self, value: str) -> None: ...
221
+ # Windows.Foundation.Collections.IMap`2<System.String,System.String> Windows.Security.Authentication.Web.Core.WebAuthenticationTransferTokenRequest::get_Properties()
222
+ @_property
223
+ def properties(self) -> _cabc.MutableMapping[str, str]: ...
224
+ # Windows.Security.Credentials.WebAccountProvider Windows.Security.Authentication.Web.Core.WebAuthenticationTransferTokenRequest::get_WebAccountProvider()
225
+ @_property
226
+ def web_account_provider(self) -> windows_security_credentials.WebAccountProvider: ...
227
+
228
+ @typing.final
229
+ class WebProviderError(winrt.system.Object):
230
+ def __new__(cls, error_code: winrt.system.UInt32 | typing.SupportsIndex, error_message: str, /) -> typing.Self: ...
231
+ # System.UInt32 Windows.Security.Authentication.Web.Core.WebProviderError::get_ErrorCode()
232
+ @_property
233
+ def error_code(self) -> winrt.system.UInt32: ...
234
+ # System.String Windows.Security.Authentication.Web.Core.WebProviderError::get_ErrorMessage()
235
+ @_property
236
+ def error_message(self) -> str: ...
237
+ # Windows.Foundation.Collections.IMap`2<System.String,System.String> Windows.Security.Authentication.Web.Core.WebProviderError::get_Properties()
238
+ @_property
239
+ def properties(self) -> _cabc.MutableMapping[str, str]: ...
240
+
241
+ @typing.final
242
+ class WebTokenRequest(winrt.system.Object):
243
+ @typing.overload
244
+ def __new__(cls, provider: windows_security_credentials.WebAccountProvider, scope: str, client_id: str, /) -> typing.Self: ...
245
+ @typing.overload
246
+ def __new__(cls, provider: windows_security_credentials.WebAccountProvider, scope: str, client_id: str, prompt_type: WebTokenRequestPromptType, /) -> typing.Self: ...
247
+ @typing.overload
248
+ def __new__(cls, provider: windows_security_credentials.WebAccountProvider, /) -> typing.Self: ...
249
+ @typing.overload
250
+ def __new__(cls, provider: windows_security_credentials.WebAccountProvider, scope: str, /) -> typing.Self: ...
251
+ # System.String Windows.Security.Authentication.Web.Core.WebTokenRequest::get_ClientId()
252
+ @_property
253
+ def client_id(self) -> str: ...
254
+ # Windows.Security.Authentication.Web.Core.WebTokenRequestPromptType Windows.Security.Authentication.Web.Core.WebTokenRequest::get_PromptType()
255
+ @_property
256
+ def prompt_type(self) -> WebTokenRequestPromptType: ...
257
+ # Windows.Foundation.Collections.IMap`2<System.String,System.String> Windows.Security.Authentication.Web.Core.WebTokenRequest::get_Properties()
258
+ @_property
259
+ def properties(self) -> _cabc.MutableMapping[str, str]: ...
260
+ # System.String Windows.Security.Authentication.Web.Core.WebTokenRequest::get_Scope()
261
+ @_property
262
+ def scope(self) -> str: ...
263
+ # Windows.Security.Credentials.WebAccountProvider Windows.Security.Authentication.Web.Core.WebTokenRequest::get_WebAccountProvider()
264
+ @_property
265
+ def web_account_provider(self) -> windows_security_credentials.WebAccountProvider: ...
266
+ # Windows.Foundation.Collections.IMap`2<System.String,System.String> Windows.Security.Authentication.Web.Core.WebTokenRequest::get_AppProperties()
267
+ @_property
268
+ def app_properties(self) -> _cabc.MutableMapping[str, str]: ...
269
+ # System.String Windows.Security.Authentication.Web.Core.WebTokenRequest::get_CorrelationId()
270
+ @_property
271
+ def correlation_id(self) -> str: ...
272
+ # System.Void Windows.Security.Authentication.Web.Core.WebTokenRequest::put_CorrelationId(System.String)
273
+ @correlation_id.setter
274
+ def correlation_id(self, value: str) -> None: ...
275
+
276
+ @typing.final
277
+ class WebTokenRequestResult(winrt.system.Object):
278
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
279
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
280
+ # Windows.Foundation.IAsyncAction Windows.Security.Authentication.Web.Core.WebTokenRequestResult::InvalidateCacheAsync()
281
+ def invalidate_cache_async(self) -> windows_foundation.IAsyncAction: ...
282
+ # Windows.Foundation.Collections.IVectorView`1<Windows.Security.Authentication.Web.Core.WebTokenResponse> Windows.Security.Authentication.Web.Core.WebTokenRequestResult::get_ResponseData()
283
+ @_property
284
+ def response_data(self) -> _cabc.Sequence[WebTokenResponse]: ...
285
+ # Windows.Security.Authentication.Web.Core.WebProviderError Windows.Security.Authentication.Web.Core.WebTokenRequestResult::get_ResponseError()
286
+ @_property
287
+ def response_error(self) -> WebProviderError: ...
288
+ # Windows.Security.Authentication.Web.Core.WebTokenRequestStatus Windows.Security.Authentication.Web.Core.WebTokenRequestResult::get_ResponseStatus()
289
+ @_property
290
+ def response_status(self) -> WebTokenRequestStatus: ...
291
+
292
+ @typing.final
293
+ class WebTokenResponse(winrt.system.Object):
294
+ @typing.overload
295
+ def __new__(cls, token: str, /) -> typing.Self: ...
296
+ @typing.overload
297
+ def __new__(cls, token: str, web_account: windows_security_credentials.WebAccount, /) -> typing.Self: ...
298
+ @typing.overload
299
+ def __new__(cls, token: str, web_account: windows_security_credentials.WebAccount, error: WebProviderError, /) -> typing.Self: ...
300
+ @typing.overload
301
+ def __new__(cls) -> typing.Self: ...
302
+ # Windows.Foundation.Collections.IMap`2<System.String,System.String> Windows.Security.Authentication.Web.Core.WebTokenResponse::get_Properties()
303
+ @_property
304
+ def properties(self) -> _cabc.MutableMapping[str, str]: ...
305
+ # Windows.Security.Authentication.Web.Core.WebProviderError Windows.Security.Authentication.Web.Core.WebTokenResponse::get_ProviderError()
306
+ @_property
307
+ def provider_error(self) -> WebProviderError: ...
308
+ # System.String Windows.Security.Authentication.Web.Core.WebTokenResponse::get_Token()
309
+ @_property
310
+ def token(self) -> str: ...
311
+ # Windows.Security.Credentials.WebAccount Windows.Security.Authentication.Web.Core.WebTokenResponse::get_WebAccount()
312
+ @_property
313
+ def web_account(self) -> windows_security_credentials.WebAccount: ...
314
+
@@ -0,0 +1,48 @@
1
+ Metadata-Version: 2.5
2
+ Name: winrt-Windows.Security.Authentication.Web.Core
3
+ Version: 4!10.0.28000.2705
4
+ Summary: PyWinRT projection of the Windows.Security.Authentication.Web.Core namespace
5
+ Project-URL: Documentation, https://pywinrt.readthedocs.io
6
+ Project-URL: Repository, https://github.com/pywinrt/pywinrt
7
+ Project-URL: Changelog, https://github.com/pywinrt/pywinrt/blob/main/projection/winrt/CHANGELOG.md
8
+ License-Expression: MIT
9
+ License-File: LICENSE
10
+ Classifier: Intended Audience :: Developers
11
+ Classifier: Operating System :: Microsoft :: Windows
12
+ Classifier: Programming Language :: Python :: 3
13
+ Classifier: Programming Language :: Python :: 3.11
14
+ Classifier: Programming Language :: Python :: 3.12
15
+ Classifier: Programming Language :: Python :: 3.13
16
+ Classifier: Programming Language :: Python :: 3.14
17
+ Classifier: Programming Language :: Python :: 3.15
18
+ Classifier: Programming Language :: Python :: Free Threading :: 2 - Beta
19
+ Classifier: Programming Language :: Python :: Implementation :: CPython
20
+ Classifier: Typing :: Typed
21
+ Requires-Python: >=3.11
22
+ Requires-Dist: winrt-runtime<5,>=4.0.0
23
+ Requires-Dist: winrt-windows-foundation-collections>=4!10.0.28000.2705
24
+ Requires-Dist: winrt-windows-foundation>=4!10.0.28000.2705
25
+ Provides-Extra: all
26
+ Requires-Dist: winrt-windows-foundation-collections[all]>=4!10.0.28000.2705; extra == 'all'
27
+ Requires-Dist: winrt-windows-foundation[all]>=4!10.0.28000.2705; extra == 'all'
28
+ Requires-Dist: winrt-windows-security-credentials[all]>=4!10.0.28000.2705; extra == 'all'
29
+ Requires-Dist: winrt-windows-system[all]>=4!10.0.28000.2705; extra == 'all'
30
+ Description-Content-Type: text/markdown
31
+
32
+ <!-- warning: Please don't edit this file. It was automatically generated. -->
33
+
34
+ # winrt-Windows.Security.Authentication.Web.Core
35
+
36
+ Windows Runtime (WinRT) APIs for the `Windows.Security.Authentication.Web.Core` namespace.
37
+
38
+ This package provides the `winrt.windows.security.authentication.web.core` module.
39
+
40
+ The WinRT APIs in it are those of version 10.0.28000.2705 of the
41
+ `Microsoft.Windows.SDK.CPP` NuGet package.
42
+
43
+ ```
44
+ pip install winrt-Windows.Security.Authentication.Web.Core
45
+ ```
46
+
47
+ Other WinRT namespaces are packages of their own, so install the package of
48
+ each namespace your code imports from.
@@ -0,0 +1,8 @@
1
+ winrt/windows/security/authentication/web/core/__init__.py,sha256=XcBXZSEB0nFLKiE7_n1v3uuGACuH3-uqTyDqnv6VZOo,1759
2
+ winrt/windows/security/authentication/web/core/__init__.pyi,sha256=m0hes9QnU72YlgIvChb80VRZ6k4lopdndL3BXQaqFAM,26004
3
+ winrt/windows/security/authentication/web/core/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
+ winrt/windows/security/authentication/web/core/_table.pywinrt,sha256=uZDSpA_UfOoiUuFkQV1HqN-cdQMx-cljsVsgqXdu41s,31616
5
+ winrt_windows_security_authentication_web_core-4!10.0.28000.2705.dist-info/METADATA,sha256=0IfA6jPpYE77Otw74BrPZ5V53Y9wLsvWSpqgUQSywpw,2215
6
+ winrt_windows_security_authentication_web_core-4!10.0.28000.2705.dist-info/WHEEL,sha256=W3fkpkm7-wf9vBI5Z-7s0eWkeM-spu78I8Neb98DeEg,87
7
+ winrt_windows_security_authentication_web_core-4!10.0.28000.2705.dist-info/licenses/LICENSE,sha256=dyVKOMqPV0fimbzMhqN3zpg6K6Y2OlekwrdfiZTBm8M,1225
8
+ winrt_windows_security_authentication_web_core-4!10.0.28000.2705.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: hatchling 1.32.4
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
@@ -0,0 +1,22 @@
1
+ MIT License
2
+
3
+ Copyright (c) Microsoft Corporation. All rights reserved.
4
+ Copyright (c) 2021-2026 David Lechner <david@pybricks.com>
5
+
6
+ Permission is hereby granted, free of charge, to any person obtaining a copy
7
+ of this software and associated documentation files (the "Software"), to deal
8
+ in the Software without restriction, including without limitation the rights
9
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
+ copies of the Software, and to permit persons to whom the Software is
11
+ furnished to do so, subject to the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be included in all
14
+ copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
+ SOFTWARE