winrt-Windows.Security.Authentication.Web.Provider 3.2.1__cp314-cp314-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,344 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v3.2.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
+ from abc import abstractmethod
10
+
11
+ import winrt._winrt
12
+ import winrt.system
13
+ import winrt.windows.foundation as windows_foundation
14
+ import winrt.windows.foundation.collections as windows_foundation_collections
15
+ import winrt.windows.security.authentication.web as windows_security_authentication_web
16
+ import winrt.windows.security.authentication.web.core as windows_security_authentication_web_core
17
+ import winrt.windows.security.credentials as windows_security_credentials
18
+ import winrt.windows.security.cryptography.core as windows_security_cryptography_core
19
+ import winrt.windows.storage.streams as windows_storage_streams
20
+ import winrt.windows.system as windows_system
21
+ import winrt.windows.web.http as windows_web_http
22
+
23
+ from winrt.windows.security.authentication.web.provider import WebAccountClientViewType, WebAccountProviderOperationKind, WebAccountScope, WebAccountSelectionOptions
24
+
25
+ Self = typing.TypeVar('Self')
26
+
27
+ @typing.final
28
+ class WebAccountClientView(winrt.system.Object):
29
+ @typing.overload
30
+ def __new__(cls: typing.Type[Self], view_type: WebAccountClientViewType, application_callback_uri: windows_foundation.Uri) -> Self: ...
31
+ @typing.overload
32
+ def __new__(cls: typing.Type[Self], view_type: WebAccountClientViewType, application_callback_uri: windows_foundation.Uri, account_pairwise_id: str) -> Self: ...
33
+ # System.String Windows.Security.Authentication.Web.Provider.WebAccountClientView::get_AccountPairwiseId()
34
+ @_property
35
+ def account_pairwise_id(self) -> str: ...
36
+ # Windows.Foundation.Uri Windows.Security.Authentication.Web.Provider.WebAccountClientView::get_ApplicationCallbackUri()
37
+ @_property
38
+ def application_callback_uri(self) -> windows_foundation.Uri: ...
39
+ # Windows.Security.Authentication.Web.Provider.WebAccountClientViewType Windows.Security.Authentication.Web.Provider.WebAccountClientView::get_Type()
40
+ @_property
41
+ def type(self) -> WebAccountClientViewType: ...
42
+
43
+ @typing.final
44
+ class WebAccountManager_Static(winrt._winrt.IInspectable_Static):
45
+ # Windows.Foundation.IAsyncOperation`1<Windows.Security.Credentials.WebAccount> Windows.Security.Authentication.Web.Provider.WebAccountManager::AddWebAccountAsync(System.String,System.String,Windows.Foundation.Collections.IMapView`2<System.String,System.String>)
46
+ def add_web_account_async(cls, web_account_id: str, web_account_user_name: str, props: typing.Mapping[str, str], /) -> windows_foundation.IAsyncOperation[windows_security_credentials.WebAccount]: ...
47
+ # Windows.Foundation.IAsyncOperation`1<Windows.Security.Credentials.WebAccount> Windows.Security.Authentication.Web.Provider.WebAccountManager::AddWebAccountForUserAsync(Windows.System.User,System.String,System.String,Windows.Foundation.Collections.IMapView`2<System.String,System.String>)
48
+ def add_web_account_for_user_async(cls, user: windows_system.User, web_account_id: str, web_account_user_name: str, props: typing.Mapping[str, str], /) -> windows_foundation.IAsyncOperation[windows_security_credentials.WebAccount]: ...
49
+ # Windows.Foundation.IAsyncOperation`1<Windows.Security.Credentials.WebAccount> Windows.Security.Authentication.Web.Provider.WebAccountManager::AddWebAccountAsync(System.String,System.String,Windows.Foundation.Collections.IMapView`2<System.String,System.String>,Windows.Security.Authentication.Web.Provider.WebAccountScope,System.String)
50
+ def add_web_account_with_scope_and_map_async(cls, web_account_id: str, web_account_user_name: str, props: typing.Mapping[str, str], scope: WebAccountScope, per_user_web_account_id: str, /) -> windows_foundation.IAsyncOperation[windows_security_credentials.WebAccount]: ...
51
+ # Windows.Foundation.IAsyncOperation`1<Windows.Security.Credentials.WebAccount> Windows.Security.Authentication.Web.Provider.WebAccountManager::AddWebAccountForUserAsync(Windows.System.User,System.String,System.String,Windows.Foundation.Collections.IMapView`2<System.String,System.String>,Windows.Security.Authentication.Web.Provider.WebAccountScope,System.String)
52
+ def add_web_account_with_scope_and_map_for_user_async(cls, user: windows_system.User, web_account_id: str, web_account_user_name: str, props: typing.Mapping[str, str], scope: WebAccountScope, per_user_web_account_id: str, /) -> windows_foundation.IAsyncOperation[windows_security_credentials.WebAccount]: ...
53
+ # Windows.Foundation.IAsyncOperation`1<Windows.Security.Credentials.WebAccount> Windows.Security.Authentication.Web.Provider.WebAccountManager::AddWebAccountAsync(System.String,System.String,Windows.Foundation.Collections.IMapView`2<System.String,System.String>,Windows.Security.Authentication.Web.Provider.WebAccountScope)
54
+ def add_web_account_with_scope_async(cls, web_account_id: str, web_account_user_name: str, props: typing.Mapping[str, str], scope: WebAccountScope, /) -> windows_foundation.IAsyncOperation[windows_security_credentials.WebAccount]: ...
55
+ # Windows.Foundation.IAsyncOperation`1<Windows.Security.Credentials.WebAccount> Windows.Security.Authentication.Web.Provider.WebAccountManager::AddWebAccountForUserAsync(Windows.System.User,System.String,System.String,Windows.Foundation.Collections.IMapView`2<System.String,System.String>,Windows.Security.Authentication.Web.Provider.WebAccountScope)
56
+ def add_web_account_with_scope_for_user_async(cls, user: windows_system.User, web_account_id: str, web_account_user_name: str, props: typing.Mapping[str, str], scope: WebAccountScope, /) -> windows_foundation.IAsyncOperation[windows_security_credentials.WebAccount]: ...
57
+ # Windows.Foundation.IAsyncAction Windows.Security.Authentication.Web.Provider.WebAccountManager::ClearPerUserFromPerAppAccountAsync(Windows.Security.Credentials.WebAccount)
58
+ def clear_per_user_from_per_app_account_async(cls, per_app_account: windows_security_credentials.WebAccount, /) -> windows_foundation.IAsyncAction: ...
59
+ # Windows.Foundation.IAsyncAction Windows.Security.Authentication.Web.Provider.WebAccountManager::ClearViewAsync(Windows.Security.Credentials.WebAccount,Windows.Foundation.Uri)
60
+ def clear_view_async(cls, web_account: windows_security_credentials.WebAccount, application_callback_uri: windows_foundation.Uri, /) -> windows_foundation.IAsyncAction: ...
61
+ # Windows.Foundation.IAsyncAction Windows.Security.Authentication.Web.Provider.WebAccountManager::ClearWebAccountPictureAsync(Windows.Security.Credentials.WebAccount)
62
+ def clear_web_account_picture_async(cls, web_account: windows_security_credentials.WebAccount, /) -> windows_foundation.IAsyncAction: ...
63
+ # Windows.Foundation.IAsyncAction Windows.Security.Authentication.Web.Provider.WebAccountManager::DeleteWebAccountAsync(Windows.Security.Credentials.WebAccount)
64
+ def delete_web_account_async(cls, web_account: windows_security_credentials.WebAccount, /) -> windows_foundation.IAsyncAction: ...
65
+ # Windows.Foundation.IAsyncOperation`1<Windows.Foundation.Collections.IVectorView`1<Windows.Security.Credentials.WebAccount>> Windows.Security.Authentication.Web.Provider.WebAccountManager::FindAllProviderWebAccountsAsync()
66
+ def find_all_provider_web_accounts_async(cls) -> windows_foundation.IAsyncOperation[typing.Sequence[windows_security_credentials.WebAccount]]: ...
67
+ # Windows.Foundation.IAsyncOperation`1<Windows.Foundation.Collections.IVectorView`1<Windows.Security.Credentials.WebAccount>> Windows.Security.Authentication.Web.Provider.WebAccountManager::FindAllProviderWebAccountsForUserAsync(Windows.System.User)
68
+ def find_all_provider_web_accounts_for_user_async(cls, user: windows_system.User, /) -> windows_foundation.IAsyncOperation[typing.Sequence[windows_security_credentials.WebAccount]]: ...
69
+ # Windows.Foundation.IAsyncOperation`1<Windows.Security.Credentials.WebAccount> Windows.Security.Authentication.Web.Provider.WebAccountManager::GetPerUserFromPerAppAccountAsync(Windows.Security.Credentials.WebAccount)
70
+ def get_per_user_from_per_app_account_async(cls, per_app_account: windows_security_credentials.WebAccount, /) -> windows_foundation.IAsyncOperation[windows_security_credentials.WebAccount]: ...
71
+ # Windows.Security.Authentication.Web.Provider.WebAccountScope Windows.Security.Authentication.Web.Provider.WebAccountManager::GetScope(Windows.Security.Credentials.WebAccount)
72
+ def get_scope(cls, web_account: windows_security_credentials.WebAccount, /) -> WebAccountScope: ...
73
+ # Windows.Foundation.IAsyncOperation`1<Windows.Foundation.Collections.IVectorView`1<Windows.Security.Authentication.Web.Provider.WebAccountClientView>> Windows.Security.Authentication.Web.Provider.WebAccountManager::GetViewsAsync(Windows.Security.Credentials.WebAccount)
74
+ def get_views_async(cls, web_account: windows_security_credentials.WebAccount, /) -> windows_foundation.IAsyncOperation[typing.Sequence[WebAccountClientView]]: ...
75
+ # Windows.Foundation.IAsyncAction Windows.Security.Authentication.Web.Provider.WebAccountManager::InvalidateAppCacheForAccountAsync(Windows.Security.Credentials.WebAccount)
76
+ def invalidate_app_cache_for_account_async(cls, web_account: windows_security_credentials.WebAccount, /) -> windows_foundation.IAsyncAction: ...
77
+ # Windows.Foundation.IAsyncAction Windows.Security.Authentication.Web.Provider.WebAccountManager::InvalidateAppCacheForAllAccountsAsync()
78
+ def invalidate_app_cache_for_all_accounts_async(cls) -> windows_foundation.IAsyncAction: ...
79
+ # Windows.Foundation.IAsyncAction Windows.Security.Authentication.Web.Provider.WebAccountManager::PullCookiesAsync(System.String,System.String)
80
+ def pull_cookies_async(cls, uri_string: str, caller_p_f_n: str, /) -> windows_foundation.IAsyncAction: ...
81
+ # Windows.Foundation.IAsyncAction Windows.Security.Authentication.Web.Provider.WebAccountManager::PushCookiesAsync(Windows.Foundation.Uri,Windows.Foundation.Collections.IVectorView`1<Windows.Web.Http.HttpCookie>)
82
+ def push_cookies_async(cls, uri: windows_foundation.Uri, cookies: typing.Sequence[windows_web_http.HttpCookie], /) -> windows_foundation.IAsyncAction: ...
83
+ # Windows.Foundation.IAsyncAction Windows.Security.Authentication.Web.Provider.WebAccountManager::SetPerAppToPerUserAccountAsync(Windows.Security.Credentials.WebAccount,System.String)
84
+ def set_per_app_to_per_user_account_async(cls, per_app_account: windows_security_credentials.WebAccount, per_user_web_account_id: str, /) -> windows_foundation.IAsyncAction: ...
85
+ # Windows.Foundation.IAsyncAction Windows.Security.Authentication.Web.Provider.WebAccountManager::SetScopeAsync(Windows.Security.Credentials.WebAccount,Windows.Security.Authentication.Web.Provider.WebAccountScope)
86
+ def set_scope_async(cls, web_account: windows_security_credentials.WebAccount, scope: WebAccountScope, /) -> windows_foundation.IAsyncAction: ...
87
+ # Windows.Foundation.IAsyncAction Windows.Security.Authentication.Web.Provider.WebAccountManager::SetViewAsync(Windows.Security.Credentials.WebAccount,Windows.Security.Authentication.Web.Provider.WebAccountClientView)
88
+ def set_view_async(cls, web_account: windows_security_credentials.WebAccount, view: WebAccountClientView, /) -> windows_foundation.IAsyncAction: ...
89
+ # Windows.Foundation.IAsyncAction Windows.Security.Authentication.Web.Provider.WebAccountManager::SetWebAccountPictureAsync(Windows.Security.Credentials.WebAccount,Windows.Storage.Streams.IRandomAccessStream)
90
+ def set_web_account_picture_async(cls, web_account: windows_security_credentials.WebAccount, web_account_picture: windows_storage_streams.IRandomAccessStream, /) -> windows_foundation.IAsyncAction: ...
91
+ # Windows.Foundation.IAsyncAction Windows.Security.Authentication.Web.Provider.WebAccountManager::UpdateWebAccountPropertiesAsync(Windows.Security.Credentials.WebAccount,System.String,Windows.Foundation.Collections.IMapView`2<System.String,System.String>)
92
+ def update_web_account_properties_async(cls, web_account: windows_security_credentials.WebAccount, web_account_user_name: str, additional_properties: typing.Mapping[str, str], /) -> windows_foundation.IAsyncAction: ...
93
+
94
+ @typing.final
95
+ class WebAccountManager(winrt.system.Object, metaclass=WebAccountManager_Static):
96
+ pass
97
+
98
+ @typing.final
99
+ class WebAccountProviderAddAccountOperation(winrt.system.Object, IWebAccountProviderOperation):
100
+ # System.Void Windows.Security.Authentication.Web.Provider.WebAccountProviderAddAccountOperation::ReportCompleted()
101
+ def report_completed(self) -> None: ...
102
+ # Windows.Security.Authentication.Web.Provider.WebAccountProviderOperationKind Windows.Security.Authentication.Web.Provider.WebAccountProviderAddAccountOperation::get_Kind()
103
+ @_property
104
+ def kind(self) -> WebAccountProviderOperationKind: ...
105
+
106
+ @typing.final
107
+ class WebAccountProviderDeleteAccountOperation(winrt.system.Object, IWebAccountProviderBaseReportOperation, IWebAccountProviderOperation):
108
+ # System.Void Windows.Security.Authentication.Web.Provider.WebAccountProviderDeleteAccountOperation::ReportCompleted()
109
+ def report_completed(self) -> None: ...
110
+ # System.Void Windows.Security.Authentication.Web.Provider.WebAccountProviderDeleteAccountOperation::ReportError(Windows.Security.Authentication.Web.Core.WebProviderError)
111
+ def report_error(self, value: windows_security_authentication_web_core.WebProviderError, /) -> None: ...
112
+ # Windows.Security.Credentials.WebAccount Windows.Security.Authentication.Web.Provider.WebAccountProviderDeleteAccountOperation::get_WebAccount()
113
+ @_property
114
+ def web_account(self) -> windows_security_credentials.WebAccount: ...
115
+ # Windows.Security.Authentication.Web.Provider.WebAccountProviderOperationKind Windows.Security.Authentication.Web.Provider.WebAccountProviderDeleteAccountOperation::get_Kind()
116
+ @_property
117
+ def kind(self) -> WebAccountProviderOperationKind: ...
118
+
119
+ @typing.final
120
+ class WebAccountProviderGetTokenSilentOperation(winrt.system.Object, IWebAccountProviderSilentReportOperation, IWebAccountProviderBaseReportOperation, IWebAccountProviderTokenOperation, IWebAccountProviderOperation):
121
+ # System.Void Windows.Security.Authentication.Web.Provider.WebAccountProviderGetTokenSilentOperation::ReportCompleted()
122
+ def report_completed(self) -> None: ...
123
+ # System.Void Windows.Security.Authentication.Web.Provider.WebAccountProviderGetTokenSilentOperation::ReportError(Windows.Security.Authentication.Web.Core.WebProviderError)
124
+ def report_error(self, value: windows_security_authentication_web_core.WebProviderError, /) -> None: ...
125
+ # System.Void Windows.Security.Authentication.Web.Provider.WebAccountProviderGetTokenSilentOperation::ReportUserInteractionRequired()
126
+ def report_user_interaction_required(self) -> None: ...
127
+ # System.Void Windows.Security.Authentication.Web.Provider.WebAccountProviderGetTokenSilentOperation::ReportUserInteractionRequired(Windows.Security.Authentication.Web.Core.WebProviderError)
128
+ def report_user_interaction_required_with_error(self, value: windows_security_authentication_web_core.WebProviderError, /) -> None: ...
129
+ # Windows.Security.Authentication.Web.Provider.WebAccountProviderOperationKind Windows.Security.Authentication.Web.Provider.WebAccountProviderGetTokenSilentOperation::get_Kind()
130
+ @_property
131
+ def kind(self) -> WebAccountProviderOperationKind: ...
132
+ # Windows.Foundation.DateTime Windows.Security.Authentication.Web.Provider.WebAccountProviderGetTokenSilentOperation::get_CacheExpirationTime()
133
+ @_property
134
+ def cache_expiration_time(self) -> datetime.datetime: ...
135
+ # System.Void Windows.Security.Authentication.Web.Provider.WebAccountProviderGetTokenSilentOperation::put_CacheExpirationTime(Windows.Foundation.DateTime)
136
+ @cache_expiration_time.setter
137
+ def cache_expiration_time(self, value: datetime.datetime) -> None: ...
138
+ # Windows.Security.Authentication.Web.Provider.WebProviderTokenRequest Windows.Security.Authentication.Web.Provider.WebAccountProviderGetTokenSilentOperation::get_ProviderRequest()
139
+ @_property
140
+ def provider_request(self) -> WebProviderTokenRequest: ...
141
+ # Windows.Foundation.Collections.IVector`1<Windows.Security.Authentication.Web.Provider.WebProviderTokenResponse> Windows.Security.Authentication.Web.Provider.WebAccountProviderGetTokenSilentOperation::get_ProviderResponses()
142
+ @_property
143
+ def provider_responses(self) -> typing.MutableSequence[WebProviderTokenResponse]: ...
144
+
145
+ @typing.final
146
+ class WebAccountProviderManageAccountOperation(winrt.system.Object, IWebAccountProviderOperation):
147
+ # System.Void Windows.Security.Authentication.Web.Provider.WebAccountProviderManageAccountOperation::ReportCompleted()
148
+ def report_completed(self) -> None: ...
149
+ # Windows.Security.Credentials.WebAccount Windows.Security.Authentication.Web.Provider.WebAccountProviderManageAccountOperation::get_WebAccount()
150
+ @_property
151
+ def web_account(self) -> windows_security_credentials.WebAccount: ...
152
+ # Windows.Security.Authentication.Web.Provider.WebAccountProviderOperationKind Windows.Security.Authentication.Web.Provider.WebAccountProviderManageAccountOperation::get_Kind()
153
+ @_property
154
+ def kind(self) -> WebAccountProviderOperationKind: ...
155
+
156
+ @typing.final
157
+ class WebAccountProviderRequestTokenOperation(winrt.system.Object, IWebAccountProviderUIReportOperation, IWebAccountProviderBaseReportOperation, IWebAccountProviderTokenOperation, IWebAccountProviderOperation):
158
+ # System.Void Windows.Security.Authentication.Web.Provider.WebAccountProviderRequestTokenOperation::ReportCompleted()
159
+ def report_completed(self) -> None: ...
160
+ # System.Void Windows.Security.Authentication.Web.Provider.WebAccountProviderRequestTokenOperation::ReportError(Windows.Security.Authentication.Web.Core.WebProviderError)
161
+ def report_error(self, value: windows_security_authentication_web_core.WebProviderError, /) -> None: ...
162
+ # System.Void Windows.Security.Authentication.Web.Provider.WebAccountProviderRequestTokenOperation::ReportUserCanceled()
163
+ def report_user_canceled(self) -> None: ...
164
+ # Windows.Security.Authentication.Web.Provider.WebAccountProviderOperationKind Windows.Security.Authentication.Web.Provider.WebAccountProviderRequestTokenOperation::get_Kind()
165
+ @_property
166
+ def kind(self) -> WebAccountProviderOperationKind: ...
167
+ # Windows.Foundation.DateTime Windows.Security.Authentication.Web.Provider.WebAccountProviderRequestTokenOperation::get_CacheExpirationTime()
168
+ @_property
169
+ def cache_expiration_time(self) -> datetime.datetime: ...
170
+ # System.Void Windows.Security.Authentication.Web.Provider.WebAccountProviderRequestTokenOperation::put_CacheExpirationTime(Windows.Foundation.DateTime)
171
+ @cache_expiration_time.setter
172
+ def cache_expiration_time(self, value: datetime.datetime) -> None: ...
173
+ # Windows.Security.Authentication.Web.Provider.WebProviderTokenRequest Windows.Security.Authentication.Web.Provider.WebAccountProviderRequestTokenOperation::get_ProviderRequest()
174
+ @_property
175
+ def provider_request(self) -> WebProviderTokenRequest: ...
176
+ # Windows.Foundation.Collections.IVector`1<Windows.Security.Authentication.Web.Provider.WebProviderTokenResponse> Windows.Security.Authentication.Web.Provider.WebAccountProviderRequestTokenOperation::get_ProviderResponses()
177
+ @_property
178
+ def provider_responses(self) -> typing.MutableSequence[WebProviderTokenResponse]: ...
179
+
180
+ @typing.final
181
+ class WebAccountProviderRetrieveCookiesOperation(winrt.system.Object, IWebAccountProviderBaseReportOperation, IWebAccountProviderOperation):
182
+ # System.Void Windows.Security.Authentication.Web.Provider.WebAccountProviderRetrieveCookiesOperation::ReportCompleted()
183
+ def report_completed(self) -> None: ...
184
+ # System.Void Windows.Security.Authentication.Web.Provider.WebAccountProviderRetrieveCookiesOperation::ReportError(Windows.Security.Authentication.Web.Core.WebProviderError)
185
+ def report_error(self, value: windows_security_authentication_web_core.WebProviderError, /) -> None: ...
186
+ # Windows.Security.Authentication.Web.Provider.WebAccountProviderOperationKind Windows.Security.Authentication.Web.Provider.WebAccountProviderRetrieveCookiesOperation::get_Kind()
187
+ @_property
188
+ def kind(self) -> WebAccountProviderOperationKind: ...
189
+ # Windows.Foundation.Uri Windows.Security.Authentication.Web.Provider.WebAccountProviderRetrieveCookiesOperation::get_Uri()
190
+ @_property
191
+ def uri(self) -> windows_foundation.Uri: ...
192
+ # System.Void Windows.Security.Authentication.Web.Provider.WebAccountProviderRetrieveCookiesOperation::put_Uri(Windows.Foundation.Uri)
193
+ @uri.setter
194
+ def uri(self, value: windows_foundation.Uri) -> None: ...
195
+ # Windows.Foundation.Uri Windows.Security.Authentication.Web.Provider.WebAccountProviderRetrieveCookiesOperation::get_ApplicationCallbackUri()
196
+ @_property
197
+ def application_callback_uri(self) -> windows_foundation.Uri: ...
198
+ # Windows.Foundation.Uri Windows.Security.Authentication.Web.Provider.WebAccountProviderRetrieveCookiesOperation::get_Context()
199
+ @_property
200
+ def context(self) -> windows_foundation.Uri: ...
201
+ # Windows.Foundation.Collections.IVector`1<Windows.Web.Http.HttpCookie> Windows.Security.Authentication.Web.Provider.WebAccountProviderRetrieveCookiesOperation::get_Cookies()
202
+ @_property
203
+ def cookies(self) -> typing.MutableSequence[windows_web_http.HttpCookie]: ...
204
+
205
+ @typing.final
206
+ class WebAccountProviderSignOutAccountOperation(winrt.system.Object, IWebAccountProviderBaseReportOperation, IWebAccountProviderOperation):
207
+ # System.Void Windows.Security.Authentication.Web.Provider.WebAccountProviderSignOutAccountOperation::ReportCompleted()
208
+ def report_completed(self) -> None: ...
209
+ # System.Void Windows.Security.Authentication.Web.Provider.WebAccountProviderSignOutAccountOperation::ReportError(Windows.Security.Authentication.Web.Core.WebProviderError)
210
+ def report_error(self, value: windows_security_authentication_web_core.WebProviderError, /) -> None: ...
211
+ # Windows.Security.Authentication.Web.Provider.WebAccountProviderOperationKind Windows.Security.Authentication.Web.Provider.WebAccountProviderSignOutAccountOperation::get_Kind()
212
+ @_property
213
+ def kind(self) -> WebAccountProviderOperationKind: ...
214
+ # Windows.Foundation.Uri Windows.Security.Authentication.Web.Provider.WebAccountProviderSignOutAccountOperation::get_ApplicationCallbackUri()
215
+ @_property
216
+ def application_callback_uri(self) -> windows_foundation.Uri: ...
217
+ # System.String Windows.Security.Authentication.Web.Provider.WebAccountProviderSignOutAccountOperation::get_ClientId()
218
+ @_property
219
+ def client_id(self) -> str: ...
220
+ # Windows.Security.Credentials.WebAccount Windows.Security.Authentication.Web.Provider.WebAccountProviderSignOutAccountOperation::get_WebAccount()
221
+ @_property
222
+ def web_account(self) -> windows_security_credentials.WebAccount: ...
223
+
224
+ @typing.final
225
+ class WebAccountProviderTriggerDetails(winrt.system.Object, IWebAccountProviderTokenObjects2, IWebAccountProviderTokenObjects):
226
+ # Windows.Security.Authentication.Web.Provider.IWebAccountProviderOperation Windows.Security.Authentication.Web.Provider.WebAccountProviderTriggerDetails::get_Operation()
227
+ @_property
228
+ def operation(self) -> IWebAccountProviderOperation: ...
229
+ # Windows.System.User Windows.Security.Authentication.Web.Provider.WebAccountProviderTriggerDetails::get_User()
230
+ @_property
231
+ def user(self) -> windows_system.User: ...
232
+
233
+ @typing.final
234
+ class WebProviderTokenRequest(winrt.system.Object):
235
+ # Windows.Foundation.IAsyncOperation`1<System.Boolean> Windows.Security.Authentication.Web.Provider.WebProviderTokenRequest::CheckApplicationForCapabilityAsync(System.String)
236
+ def check_application_for_capability_async(self, capability_name: str, /) -> windows_foundation.IAsyncOperation[bool]: ...
237
+ # Windows.Foundation.IAsyncOperation`1<Windows.Security.Cryptography.Core.CryptographicKey> Windows.Security.Authentication.Web.Provider.WebProviderTokenRequest::GetApplicationTokenBindingKeyAsync(Windows.Security.Authentication.Web.TokenBindingKeyType,Windows.Foundation.Uri)
238
+ def get_application_token_binding_key_async(self, key_type: windows_security_authentication_web.TokenBindingKeyType, target: windows_foundation.Uri, /) -> windows_foundation.IAsyncOperation[windows_security_cryptography_core.CryptographicKey]: ...
239
+ # Windows.Foundation.IAsyncOperation`1<Windows.Storage.Streams.IBuffer> Windows.Security.Authentication.Web.Provider.WebProviderTokenRequest::GetApplicationTokenBindingKeyIdAsync(Windows.Security.Authentication.Web.TokenBindingKeyType,Windows.Foundation.Uri)
240
+ def get_application_token_binding_key_id_async(self, key_type: windows_security_authentication_web.TokenBindingKeyType, target: windows_foundation.Uri, /) -> windows_foundation.IAsyncOperation[winrt.system.Buffer]: ...
241
+ # Windows.Foundation.Uri Windows.Security.Authentication.Web.Provider.WebProviderTokenRequest::get_ApplicationCallbackUri()
242
+ @_property
243
+ def application_callback_uri(self) -> windows_foundation.Uri: ...
244
+ # Windows.Security.Authentication.Web.Core.WebTokenRequest Windows.Security.Authentication.Web.Provider.WebProviderTokenRequest::get_ClientRequest()
245
+ @_property
246
+ def client_request(self) -> windows_security_authentication_web_core.WebTokenRequest: ...
247
+ # Windows.Security.Authentication.Web.Provider.WebAccountSelectionOptions Windows.Security.Authentication.Web.Provider.WebProviderTokenRequest::get_WebAccountSelectionOptions()
248
+ @_property
249
+ def web_account_selection_options(self) -> WebAccountSelectionOptions: ...
250
+ # Windows.Foundation.Collections.IVectorView`1<Windows.Security.Credentials.WebAccount> Windows.Security.Authentication.Web.Provider.WebProviderTokenRequest::get_WebAccounts()
251
+ @_property
252
+ def web_accounts(self) -> typing.Sequence[windows_security_credentials.WebAccount]: ...
253
+ # System.String Windows.Security.Authentication.Web.Provider.WebProviderTokenRequest::get_ApplicationPackageFamilyName()
254
+ @_property
255
+ def application_package_family_name(self) -> str: ...
256
+ # System.String Windows.Security.Authentication.Web.Provider.WebProviderTokenRequest::get_ApplicationProcessName()
257
+ @_property
258
+ def application_process_name(self) -> str: ...
259
+
260
+ @typing.final
261
+ class WebProviderTokenResponse(winrt.system.Object):
262
+ def __new__(cls: typing.Type[Self], web_token_response: windows_security_authentication_web_core.WebTokenResponse) -> Self: ...
263
+ # Windows.Security.Authentication.Web.Core.WebTokenResponse Windows.Security.Authentication.Web.Provider.WebProviderTokenResponse::get_ClientResponse()
264
+ @_property
265
+ def client_response(self) -> windows_security_authentication_web_core.WebTokenResponse: ...
266
+
267
+ @typing.final
268
+ class _IWebAccountProviderBaseReportOperation: ...
269
+
270
+ class IWebAccountProviderBaseReportOperation(winrt._winrt.IInspectable):
271
+ # System.Void Windows.Security.Authentication.Web.Provider.IWebAccountProviderBaseReportOperation::ReportCompleted()
272
+ @abstractmethod
273
+ def report_completed(self) -> None: ...
274
+ # System.Void Windows.Security.Authentication.Web.Provider.IWebAccountProviderBaseReportOperation::ReportError(Windows.Security.Authentication.Web.Core.WebProviderError)
275
+ @abstractmethod
276
+ def report_error(self, value: windows_security_authentication_web_core.WebProviderError, /) -> None: ...
277
+
278
+ @typing.final
279
+ class _IWebAccountProviderOperation: ...
280
+
281
+ class IWebAccountProviderOperation(winrt._winrt.IInspectable):
282
+ # Windows.Security.Authentication.Web.Provider.WebAccountProviderOperationKind Windows.Security.Authentication.Web.Provider.IWebAccountProviderOperation::get_Kind()
283
+ @_property
284
+ @abstractmethod
285
+ def kind(self) -> WebAccountProviderOperationKind: ...
286
+
287
+ @typing.final
288
+ class _IWebAccountProviderSilentReportOperation: ...
289
+
290
+ class IWebAccountProviderSilentReportOperation(IWebAccountProviderBaseReportOperation, winrt._winrt.IInspectable):
291
+ # System.Void Windows.Security.Authentication.Web.Provider.IWebAccountProviderSilentReportOperation::ReportUserInteractionRequired()
292
+ @abstractmethod
293
+ def report_user_interaction_required(self) -> None: ...
294
+ # System.Void Windows.Security.Authentication.Web.Provider.IWebAccountProviderSilentReportOperation::ReportUserInteractionRequired(Windows.Security.Authentication.Web.Core.WebProviderError)
295
+ @abstractmethod
296
+ def report_user_interaction_required_with_error(self, value: windows_security_authentication_web_core.WebProviderError, /) -> None: ...
297
+
298
+ @typing.final
299
+ class _IWebAccountProviderTokenObjects: ...
300
+
301
+ class IWebAccountProviderTokenObjects(winrt._winrt.IInspectable):
302
+ # Windows.Security.Authentication.Web.Provider.IWebAccountProviderOperation Windows.Security.Authentication.Web.Provider.IWebAccountProviderTokenObjects::get_Operation()
303
+ @_property
304
+ @abstractmethod
305
+ def operation(self) -> IWebAccountProviderOperation: ...
306
+
307
+ @typing.final
308
+ class _IWebAccountProviderTokenObjects2: ...
309
+
310
+ class IWebAccountProviderTokenObjects2(IWebAccountProviderTokenObjects, winrt._winrt.IInspectable):
311
+ # Windows.System.User Windows.Security.Authentication.Web.Provider.IWebAccountProviderTokenObjects2::get_User()
312
+ @_property
313
+ @abstractmethod
314
+ def user(self) -> windows_system.User: ...
315
+
316
+ @typing.final
317
+ class _IWebAccountProviderTokenOperation: ...
318
+
319
+ class IWebAccountProviderTokenOperation(IWebAccountProviderOperation, winrt._winrt.IInspectable):
320
+ # Windows.Foundation.DateTime Windows.Security.Authentication.Web.Provider.IWebAccountProviderTokenOperation::get_CacheExpirationTime()
321
+ @_property
322
+ @abstractmethod
323
+ def cache_expiration_time(self) -> datetime.datetime: ...
324
+ # System.Void Windows.Security.Authentication.Web.Provider.IWebAccountProviderTokenOperation::put_CacheExpirationTime(Windows.Foundation.DateTime)
325
+ @cache_expiration_time.setter
326
+ @abstractmethod
327
+ def cache_expiration_time(self, value: datetime.datetime) -> None: ...
328
+ # Windows.Security.Authentication.Web.Provider.WebProviderTokenRequest Windows.Security.Authentication.Web.Provider.IWebAccountProviderTokenOperation::get_ProviderRequest()
329
+ @_property
330
+ @abstractmethod
331
+ def provider_request(self) -> WebProviderTokenRequest: ...
332
+ # Windows.Foundation.Collections.IVector`1<Windows.Security.Authentication.Web.Provider.WebProviderTokenResponse> Windows.Security.Authentication.Web.Provider.IWebAccountProviderTokenOperation::get_ProviderResponses()
333
+ @_property
334
+ @abstractmethod
335
+ def provider_responses(self) -> typing.MutableSequence[WebProviderTokenResponse]: ...
336
+
337
+ @typing.final
338
+ class _IWebAccountProviderUIReportOperation: ...
339
+
340
+ class IWebAccountProviderUIReportOperation(IWebAccountProviderBaseReportOperation, winrt._winrt.IInspectable):
341
+ # System.Void Windows.Security.Authentication.Web.Provider.IWebAccountProviderUIReportOperation::ReportUserCanceled()
342
+ @abstractmethod
343
+ def report_user_canceled(self) -> None: ...
344
+
@@ -0,0 +1,81 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v3.2.1
2
+
3
+ import enum
4
+
5
+ import winrt.system
6
+ from winrt._winrt_windows_security_authentication_web_provider import (
7
+ WebAccountClientView,
8
+ WebAccountManager,
9
+ WebAccountProviderAddAccountOperation,
10
+ WebAccountProviderDeleteAccountOperation,
11
+ WebAccountProviderGetTokenSilentOperation,
12
+ WebAccountProviderManageAccountOperation,
13
+ WebAccountProviderRequestTokenOperation,
14
+ WebAccountProviderRetrieveCookiesOperation,
15
+ WebAccountProviderSignOutAccountOperation,
16
+ WebAccountProviderTriggerDetails,
17
+ WebProviderTokenRequest,
18
+ WebProviderTokenResponse,
19
+ _IWebAccountProviderBaseReportOperation,
20
+ IWebAccountProviderBaseReportOperation,
21
+ _IWebAccountProviderOperation,
22
+ IWebAccountProviderOperation,
23
+ _IWebAccountProviderSilentReportOperation,
24
+ IWebAccountProviderSilentReportOperation,
25
+ _IWebAccountProviderTokenObjects,
26
+ IWebAccountProviderTokenObjects,
27
+ _IWebAccountProviderTokenObjects2,
28
+ IWebAccountProviderTokenObjects2,
29
+ _IWebAccountProviderTokenOperation,
30
+ IWebAccountProviderTokenOperation,
31
+ _IWebAccountProviderUIReportOperation,
32
+ IWebAccountProviderUIReportOperation,
33
+ )
34
+
35
+ __all__ = [
36
+ "WebAccountClientViewType",
37
+ "WebAccountProviderOperationKind",
38
+ "WebAccountScope",
39
+ "WebAccountSelectionOptions",
40
+ "WebAccountClientView",
41
+ "WebAccountManager",
42
+ "WebAccountProviderAddAccountOperation",
43
+ "WebAccountProviderDeleteAccountOperation",
44
+ "WebAccountProviderGetTokenSilentOperation",
45
+ "WebAccountProviderManageAccountOperation",
46
+ "WebAccountProviderRequestTokenOperation",
47
+ "WebAccountProviderRetrieveCookiesOperation",
48
+ "WebAccountProviderSignOutAccountOperation",
49
+ "WebAccountProviderTriggerDetails",
50
+ "WebProviderTokenRequest",
51
+ "WebProviderTokenResponse",
52
+ "IWebAccountProviderBaseReportOperation",
53
+ "IWebAccountProviderOperation",
54
+ "IWebAccountProviderSilentReportOperation",
55
+ "IWebAccountProviderTokenObjects",
56
+ "IWebAccountProviderTokenObjects2",
57
+ "IWebAccountProviderTokenOperation",
58
+ "IWebAccountProviderUIReportOperation",
59
+ ]
60
+
61
+ class WebAccountClientViewType(enum.IntEnum):
62
+ ID_ONLY = 0
63
+ ID_AND_PROPERTIES = 1
64
+
65
+ class WebAccountProviderOperationKind(enum.IntEnum):
66
+ REQUEST_TOKEN = 0
67
+ GET_TOKEN_SILENTLY = 1
68
+ ADD_ACCOUNT = 2
69
+ MANAGE_ACCOUNT = 3
70
+ DELETE_ACCOUNT = 4
71
+ RETRIEVE_COOKIES = 5
72
+ SIGN_OUT_ACCOUNT = 6
73
+
74
+ class WebAccountScope(enum.IntEnum):
75
+ PER_USER = 0
76
+ PER_APPLICATION = 1
77
+
78
+ class WebAccountSelectionOptions(enum.IntFlag):
79
+ DEFAULT = 0x0
80
+ NEW = 0x1
81
+
@@ -0,0 +1,33 @@
1
+ Metadata-Version: 2.4
2
+ Name: winrt-Windows.Security.Authentication.Web.Provider
3
+ Version: 3.2.1
4
+ Summary: Python projection of Windows Runtime (WinRT) APIs
5
+ License-Expression: 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.9
14
+ Description-Content-Type: text/markdown
15
+ Requires-Dist: winrt-runtime~=3.2.1.0
16
+ Provides-Extra: all
17
+ Requires-Dist: winrt-Windows.Foundation[all]~=3.2.1.0; extra == "all"
18
+ Requires-Dist: winrt-Windows.Foundation.Collections[all]~=3.2.1.0; extra == "all"
19
+ Requires-Dist: winrt-Windows.Security.Authentication.Web[all]~=3.2.1.0; extra == "all"
20
+ Requires-Dist: winrt-Windows.Security.Authentication.Web.Core[all]~=3.2.1.0; extra == "all"
21
+ Requires-Dist: winrt-Windows.Security.Credentials[all]~=3.2.1.0; extra == "all"
22
+ Requires-Dist: winrt-Windows.Security.Cryptography.Core[all]~=3.2.1.0; extra == "all"
23
+ Requires-Dist: winrt-Windows.Storage.Streams[all]~=3.2.1.0; extra == "all"
24
+ Requires-Dist: winrt-Windows.System[all]~=3.2.1.0; extra == "all"
25
+ Requires-Dist: winrt-Windows.Web.Http[all]~=3.2.1.0; extra == "all"
26
+
27
+ <!-- warning: Please don't edit this file. It was automatically generated. -->
28
+
29
+ # winrt-Windows.Security.Authentication.Web.Provider
30
+
31
+ Windows Runtime (WinRT) APIs for for the `Windows.Security.Authentication.Web.Provider` namespace.
32
+
33
+ This package provides the `winrt.windows.security.authentication.web.provider` module.
@@ -0,0 +1,8 @@
1
+ winrt/_winrt_windows_security_authentication_web_provider.cp314-win_arm64.pyd,sha256=tKq7AspUWwhzri1hFIKbIQq6J4a8xe0-DFWocppm-uE,488960
2
+ winrt/_winrt_windows_security_authentication_web_provider.pyi,sha256=Ea6vCi_Fa0X20s2FoZkBKQzK1VkOukYGt-bPWVS3rkw,30991
3
+ winrt/windows/security/authentication/web/provider/__init__.py,sha256=aD5EXnpjmSn33aG-_Uyg0FHl7EnbwrXVsQi4B-GOA8c,2621
4
+ winrt/windows/security/authentication/web/provider/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
+ winrt_windows_security_authentication_web_provider-3.2.1.dist-info/METADATA,sha256=m-ktJ3TbVQe4Kl1WL-GQA4v6y9rfky1sOPrpTbsAwSU,1777
6
+ winrt_windows_security_authentication_web_provider-3.2.1.dist-info/WHEEL,sha256=bMXkUWfr_3hlaRObp_pv9_U0ksvQo0T0Mwq6lQkXaZc,101
7
+ winrt_windows_security_authentication_web_provider-3.2.1.dist-info/top_level.txt,sha256=BzwQb4dZRt0NxCXi10ARjWsox7Asmtf_lXrw_KR-D_E,6
8
+ winrt_windows_security_authentication_web_provider-3.2.1.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (80.9.0)
3
+ Root-Is-Purelib: false
4
+ Tag: cp314-cp314-win_arm64
5
+