winrt-Windows.Security.Authentication.Web.Core 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.
- winrt/_winrt_windows_security_authentication_web_core.cp314-win_arm64.pyd +0 -0
- winrt/_winrt_windows_security_authentication_web_core.pyi +226 -0
- winrt/windows/security/authentication/web/core/__init__.py +62 -0
- winrt/windows/security/authentication/web/core/py.typed +0 -0
- winrt_windows_security_authentication_web_core-3.2.1.dist-info/METADATA +28 -0
- winrt_windows_security_authentication_web_core-3.2.1.dist-info/RECORD +8 -0
- winrt_windows_security_authentication_web_core-3.2.1.dist-info/WHEEL +5 -0
- winrt_windows_security_authentication_web_core-3.2.1.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,226 @@
|
|
|
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
|
+
|
|
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, WebAuthenticationAddAccountStatus, WebTokenRequestPromptType, WebTokenRequestStatus
|
|
18
|
+
|
|
19
|
+
Self = typing.TypeVar('Self')
|
|
20
|
+
|
|
21
|
+
@typing.final
|
|
22
|
+
class FindAllAccountsResult(winrt.system.Object):
|
|
23
|
+
# Windows.Foundation.Collections.IVectorView`1<Windows.Security.Credentials.WebAccount> Windows.Security.Authentication.Web.Core.FindAllAccountsResult::get_Accounts()
|
|
24
|
+
@_property
|
|
25
|
+
def accounts(self) -> typing.Sequence[windows_security_credentials.WebAccount]: ...
|
|
26
|
+
# Windows.Security.Authentication.Web.Core.WebProviderError Windows.Security.Authentication.Web.Core.FindAllAccountsResult::get_ProviderError()
|
|
27
|
+
@_property
|
|
28
|
+
def provider_error(self) -> WebProviderError: ...
|
|
29
|
+
# Windows.Security.Authentication.Web.Core.FindAllWebAccountsStatus Windows.Security.Authentication.Web.Core.FindAllAccountsResult::get_Status()
|
|
30
|
+
@_property
|
|
31
|
+
def status(self) -> FindAllWebAccountsStatus: ...
|
|
32
|
+
|
|
33
|
+
@typing.final
|
|
34
|
+
class WebAccountEventArgs(winrt.system.Object):
|
|
35
|
+
# Windows.Security.Credentials.WebAccount Windows.Security.Authentication.Web.Core.WebAccountEventArgs::get_Account()
|
|
36
|
+
@_property
|
|
37
|
+
def account(self) -> windows_security_credentials.WebAccount: ...
|
|
38
|
+
|
|
39
|
+
@typing.final
|
|
40
|
+
class WebAccountMonitor(winrt.system.Object):
|
|
41
|
+
# Windows.Foundation.EventRegistrationToken Windows.Security.Authentication.Web.Core.WebAccountMonitor::add_DefaultSignInAccountChanged(Windows.Foundation.TypedEventHandler`2<Windows.Security.Authentication.Web.Core.WebAccountMonitor,System.Object>)
|
|
42
|
+
def add_default_sign_in_account_changed(self, handler: windows_foundation.TypedEventHandler[WebAccountMonitor, winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
|
|
43
|
+
# System.Void Windows.Security.Authentication.Web.Core.WebAccountMonitor::remove_DefaultSignInAccountChanged(Windows.Foundation.EventRegistrationToken)
|
|
44
|
+
def remove_default_sign_in_account_changed(self, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
|
|
45
|
+
# 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>)
|
|
46
|
+
def add_removed(self, handler: windows_foundation.TypedEventHandler[WebAccountMonitor, WebAccountEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
47
|
+
# System.Void Windows.Security.Authentication.Web.Core.WebAccountMonitor::remove_Removed(Windows.Foundation.EventRegistrationToken)
|
|
48
|
+
def remove_removed(self, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
|
|
49
|
+
# 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>)
|
|
50
|
+
def add_updated(self, handler: windows_foundation.TypedEventHandler[WebAccountMonitor, WebAccountEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
51
|
+
# System.Void Windows.Security.Authentication.Web.Core.WebAccountMonitor::remove_Updated(Windows.Foundation.EventRegistrationToken)
|
|
52
|
+
def remove_updated(self, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
|
|
53
|
+
# 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>)
|
|
54
|
+
def add_account_picture_updated(self, handler: windows_foundation.TypedEventHandler[WebAccountMonitor, WebAccountEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
55
|
+
# System.Void Windows.Security.Authentication.Web.Core.WebAccountMonitor::remove_AccountPictureUpdated(Windows.Foundation.EventRegistrationToken)
|
|
56
|
+
def remove_account_picture_updated(self, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
|
|
57
|
+
|
|
58
|
+
@typing.final
|
|
59
|
+
class WebAuthenticationAddAccountResponse(winrt.system.Object):
|
|
60
|
+
def __new__(cls: typing.Type[Self], web_account: windows_security_credentials.WebAccount) -> Self: ...
|
|
61
|
+
# Windows.Foundation.Collections.IMap`2<System.String,System.String> Windows.Security.Authentication.Web.Core.WebAuthenticationAddAccountResponse::get_Properties()
|
|
62
|
+
@_property
|
|
63
|
+
def properties(self) -> typing.MutableMapping[str, str]: ...
|
|
64
|
+
# Windows.Security.Credentials.WebAccount Windows.Security.Authentication.Web.Core.WebAuthenticationAddAccountResponse::get_WebAccount()
|
|
65
|
+
@_property
|
|
66
|
+
def web_account(self) -> windows_security_credentials.WebAccount: ...
|
|
67
|
+
|
|
68
|
+
@typing.final
|
|
69
|
+
class WebAuthenticationAddAccountResult(winrt.system.Object):
|
|
70
|
+
# Windows.Security.Authentication.Web.Core.WebAuthenticationAddAccountResponse Windows.Security.Authentication.Web.Core.WebAuthenticationAddAccountResult::get_ResponseData()
|
|
71
|
+
@_property
|
|
72
|
+
def response_data(self) -> WebAuthenticationAddAccountResponse: ...
|
|
73
|
+
# Windows.Security.Authentication.Web.Core.WebProviderError Windows.Security.Authentication.Web.Core.WebAuthenticationAddAccountResult::get_ResponseError()
|
|
74
|
+
@_property
|
|
75
|
+
def response_error(self) -> WebProviderError: ...
|
|
76
|
+
# Windows.Security.Authentication.Web.Core.WebAuthenticationAddAccountStatus Windows.Security.Authentication.Web.Core.WebAuthenticationAddAccountResult::get_ResponseStatus()
|
|
77
|
+
@_property
|
|
78
|
+
def response_status(self) -> WebAuthenticationAddAccountStatus: ...
|
|
79
|
+
|
|
80
|
+
@typing.final
|
|
81
|
+
class WebAuthenticationCoreManager_Static(winrt._winrt.IInspectable_Static):
|
|
82
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.Security.Authentication.Web.Core.WebAuthenticationAddAccountResult> Windows.Security.Authentication.Web.Core.WebAuthenticationCoreManager::AddAccountWithTransferTokenAsync(Windows.Security.Authentication.Web.Core.WebAuthenticationTransferTokenRequest)
|
|
83
|
+
def add_account_with_transfer_token_async(cls, request: WebAuthenticationTransferTokenRequest, /) -> windows_foundation.IAsyncOperation[WebAuthenticationAddAccountResult]: ...
|
|
84
|
+
# Windows.Security.Authentication.Web.Core.WebAccountMonitor Windows.Security.Authentication.Web.Core.WebAuthenticationCoreManager::CreateWebAccountMonitor(Windows.Foundation.Collections.IIterable`1<Windows.Security.Credentials.WebAccount>)
|
|
85
|
+
def create_web_account_monitor(cls, web_accounts: typing.Iterable[windows_security_credentials.WebAccount], /) -> WebAccountMonitor: ...
|
|
86
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.Security.Credentials.WebAccount> Windows.Security.Authentication.Web.Core.WebAuthenticationCoreManager::FindAccountAsync(Windows.Security.Credentials.WebAccountProvider,System.String)
|
|
87
|
+
def find_account_async(cls, provider: windows_security_credentials.WebAccountProvider, web_account_id: str, /) -> windows_foundation.IAsyncOperation[windows_security_credentials.WebAccount]: ...
|
|
88
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.Security.Credentials.WebAccountProvider> Windows.Security.Authentication.Web.Core.WebAuthenticationCoreManager::FindAccountProviderAsync(System.String)
|
|
89
|
+
def find_account_provider_async(cls, web_account_provider_id: str, /) -> windows_foundation.IAsyncOperation[windows_security_credentials.WebAccountProvider]: ...
|
|
90
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.Security.Credentials.WebAccountProvider> Windows.Security.Authentication.Web.Core.WebAuthenticationCoreManager::FindAccountProviderAsync(System.String,System.String)
|
|
91
|
+
def find_account_provider_with_authority_async(cls, web_account_provider_id: str, authority: str, /) -> windows_foundation.IAsyncOperation[windows_security_credentials.WebAccountProvider]: ...
|
|
92
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.Security.Credentials.WebAccountProvider> Windows.Security.Authentication.Web.Core.WebAuthenticationCoreManager::FindAccountProviderAsync(System.String,System.String,Windows.System.User)
|
|
93
|
+
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]: ...
|
|
94
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.Security.Authentication.Web.Core.FindAllAccountsResult> Windows.Security.Authentication.Web.Core.WebAuthenticationCoreManager::FindAllAccountsAsync(Windows.Security.Credentials.WebAccountProvider)
|
|
95
|
+
def find_all_accounts_async(cls, provider: windows_security_credentials.WebAccountProvider, /) -> windows_foundation.IAsyncOperation[FindAllAccountsResult]: ...
|
|
96
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.Security.Authentication.Web.Core.FindAllAccountsResult> Windows.Security.Authentication.Web.Core.WebAuthenticationCoreManager::FindAllAccountsAsync(Windows.Security.Credentials.WebAccountProvider,System.String)
|
|
97
|
+
def find_all_accounts_with_client_id_async(cls, provider: windows_security_credentials.WebAccountProvider, client_id: str, /) -> windows_foundation.IAsyncOperation[FindAllAccountsResult]: ...
|
|
98
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.Security.Credentials.WebAccountProvider> Windows.Security.Authentication.Web.Core.WebAuthenticationCoreManager::FindSystemAccountProviderAsync(System.String)
|
|
99
|
+
def find_system_account_provider_async(cls, web_account_provider_id: str, /) -> windows_foundation.IAsyncOperation[windows_security_credentials.WebAccountProvider]: ...
|
|
100
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.Security.Credentials.WebAccountProvider> Windows.Security.Authentication.Web.Core.WebAuthenticationCoreManager::FindSystemAccountProviderAsync(System.String,System.String)
|
|
101
|
+
def find_system_account_provider_with_authority_async(cls, web_account_provider_id: str, authority: str, /) -> windows_foundation.IAsyncOperation[windows_security_credentials.WebAccountProvider]: ...
|
|
102
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.Security.Credentials.WebAccountProvider> Windows.Security.Authentication.Web.Core.WebAuthenticationCoreManager::FindSystemAccountProviderAsync(System.String,System.String,Windows.System.User)
|
|
103
|
+
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]: ...
|
|
104
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.Security.Authentication.Web.Core.WebTokenRequestResult> Windows.Security.Authentication.Web.Core.WebAuthenticationCoreManager::GetTokenSilentlyAsync(Windows.Security.Authentication.Web.Core.WebTokenRequest)
|
|
105
|
+
def get_token_silently_async(cls, request: WebTokenRequest, /) -> windows_foundation.IAsyncOperation[WebTokenRequestResult]: ...
|
|
106
|
+
# 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)
|
|
107
|
+
def get_token_silently_with_web_account_async(cls, request: WebTokenRequest, web_account: windows_security_credentials.WebAccount, /) -> windows_foundation.IAsyncOperation[WebTokenRequestResult]: ...
|
|
108
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.Security.Authentication.Web.Core.WebTokenRequestResult> Windows.Security.Authentication.Web.Core.WebAuthenticationCoreManager::RequestTokenAsync(Windows.Security.Authentication.Web.Core.WebTokenRequest)
|
|
109
|
+
def request_token_async(cls, request: WebTokenRequest, /) -> windows_foundation.IAsyncOperation[WebTokenRequestResult]: ...
|
|
110
|
+
# 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)
|
|
111
|
+
def request_token_with_web_account_async(cls, request: WebTokenRequest, web_account: windows_security_credentials.WebAccount, /) -> windows_foundation.IAsyncOperation[WebTokenRequestResult]: ...
|
|
112
|
+
|
|
113
|
+
@typing.final
|
|
114
|
+
class WebAuthenticationCoreManager(winrt.system.Object, metaclass=WebAuthenticationCoreManager_Static):
|
|
115
|
+
pass
|
|
116
|
+
|
|
117
|
+
@typing.final
|
|
118
|
+
class WebAuthenticationTransferTokenRequest(winrt.system.Object):
|
|
119
|
+
@typing.overload
|
|
120
|
+
def __new__(cls: typing.Type[Self], provider: windows_security_credentials.WebAccountProvider, transfer_token: str) -> Self: ...
|
|
121
|
+
@typing.overload
|
|
122
|
+
def __new__(cls: typing.Type[Self], provider: windows_security_credentials.WebAccountProvider, transfer_token: str, correlation_id: str) -> Self: ...
|
|
123
|
+
# System.String Windows.Security.Authentication.Web.Core.WebAuthenticationTransferTokenRequest::get_TransferToken()
|
|
124
|
+
@_property
|
|
125
|
+
def transfer_token(self) -> str: ...
|
|
126
|
+
# System.Void Windows.Security.Authentication.Web.Core.WebAuthenticationTransferTokenRequest::put_TransferToken(System.String)
|
|
127
|
+
@transfer_token.setter
|
|
128
|
+
def transfer_token(self, value: str) -> None: ...
|
|
129
|
+
# System.String Windows.Security.Authentication.Web.Core.WebAuthenticationTransferTokenRequest::get_CorrelationId()
|
|
130
|
+
@_property
|
|
131
|
+
def correlation_id(self) -> str: ...
|
|
132
|
+
# System.Void Windows.Security.Authentication.Web.Core.WebAuthenticationTransferTokenRequest::put_CorrelationId(System.String)
|
|
133
|
+
@correlation_id.setter
|
|
134
|
+
def correlation_id(self, value: str) -> None: ...
|
|
135
|
+
# Windows.Foundation.Collections.IMap`2<System.String,System.String> Windows.Security.Authentication.Web.Core.WebAuthenticationTransferTokenRequest::get_Properties()
|
|
136
|
+
@_property
|
|
137
|
+
def properties(self) -> typing.MutableMapping[str, str]: ...
|
|
138
|
+
# Windows.Security.Credentials.WebAccountProvider Windows.Security.Authentication.Web.Core.WebAuthenticationTransferTokenRequest::get_WebAccountProvider()
|
|
139
|
+
@_property
|
|
140
|
+
def web_account_provider(self) -> windows_security_credentials.WebAccountProvider: ...
|
|
141
|
+
|
|
142
|
+
@typing.final
|
|
143
|
+
class WebProviderError(winrt.system.Object):
|
|
144
|
+
def __new__(cls: typing.Type[Self], error_code: winrt.system.UInt32, error_message: str) -> Self: ...
|
|
145
|
+
# System.UInt32 Windows.Security.Authentication.Web.Core.WebProviderError::get_ErrorCode()
|
|
146
|
+
@_property
|
|
147
|
+
def error_code(self) -> winrt.system.UInt32: ...
|
|
148
|
+
# System.String Windows.Security.Authentication.Web.Core.WebProviderError::get_ErrorMessage()
|
|
149
|
+
@_property
|
|
150
|
+
def error_message(self) -> str: ...
|
|
151
|
+
# Windows.Foundation.Collections.IMap`2<System.String,System.String> Windows.Security.Authentication.Web.Core.WebProviderError::get_Properties()
|
|
152
|
+
@_property
|
|
153
|
+
def properties(self) -> typing.MutableMapping[str, str]: ...
|
|
154
|
+
|
|
155
|
+
@typing.final
|
|
156
|
+
class WebTokenRequest(winrt.system.Object):
|
|
157
|
+
@typing.overload
|
|
158
|
+
def __new__(cls: typing.Type[Self], provider: windows_security_credentials.WebAccountProvider, scope: str, client_id: str) -> Self: ...
|
|
159
|
+
@typing.overload
|
|
160
|
+
def __new__(cls: typing.Type[Self], provider: windows_security_credentials.WebAccountProvider, scope: str, client_id: str, prompt_type: WebTokenRequestPromptType) -> Self: ...
|
|
161
|
+
@typing.overload
|
|
162
|
+
def __new__(cls: typing.Type[Self], provider: windows_security_credentials.WebAccountProvider) -> Self: ...
|
|
163
|
+
@typing.overload
|
|
164
|
+
def __new__(cls: typing.Type[Self], provider: windows_security_credentials.WebAccountProvider, scope: str) -> Self: ...
|
|
165
|
+
# System.String Windows.Security.Authentication.Web.Core.WebTokenRequest::get_ClientId()
|
|
166
|
+
@_property
|
|
167
|
+
def client_id(self) -> str: ...
|
|
168
|
+
# Windows.Security.Authentication.Web.Core.WebTokenRequestPromptType Windows.Security.Authentication.Web.Core.WebTokenRequest::get_PromptType()
|
|
169
|
+
@_property
|
|
170
|
+
def prompt_type(self) -> WebTokenRequestPromptType: ...
|
|
171
|
+
# Windows.Foundation.Collections.IMap`2<System.String,System.String> Windows.Security.Authentication.Web.Core.WebTokenRequest::get_Properties()
|
|
172
|
+
@_property
|
|
173
|
+
def properties(self) -> typing.MutableMapping[str, str]: ...
|
|
174
|
+
# System.String Windows.Security.Authentication.Web.Core.WebTokenRequest::get_Scope()
|
|
175
|
+
@_property
|
|
176
|
+
def scope(self) -> str: ...
|
|
177
|
+
# Windows.Security.Credentials.WebAccountProvider Windows.Security.Authentication.Web.Core.WebTokenRequest::get_WebAccountProvider()
|
|
178
|
+
@_property
|
|
179
|
+
def web_account_provider(self) -> windows_security_credentials.WebAccountProvider: ...
|
|
180
|
+
# Windows.Foundation.Collections.IMap`2<System.String,System.String> Windows.Security.Authentication.Web.Core.WebTokenRequest::get_AppProperties()
|
|
181
|
+
@_property
|
|
182
|
+
def app_properties(self) -> typing.MutableMapping[str, str]: ...
|
|
183
|
+
# System.String Windows.Security.Authentication.Web.Core.WebTokenRequest::get_CorrelationId()
|
|
184
|
+
@_property
|
|
185
|
+
def correlation_id(self) -> str: ...
|
|
186
|
+
# System.Void Windows.Security.Authentication.Web.Core.WebTokenRequest::put_CorrelationId(System.String)
|
|
187
|
+
@correlation_id.setter
|
|
188
|
+
def correlation_id(self, value: str) -> None: ...
|
|
189
|
+
|
|
190
|
+
@typing.final
|
|
191
|
+
class WebTokenRequestResult(winrt.system.Object):
|
|
192
|
+
# Windows.Foundation.IAsyncAction Windows.Security.Authentication.Web.Core.WebTokenRequestResult::InvalidateCacheAsync()
|
|
193
|
+
def invalidate_cache_async(self) -> windows_foundation.IAsyncAction: ...
|
|
194
|
+
# Windows.Foundation.Collections.IVectorView`1<Windows.Security.Authentication.Web.Core.WebTokenResponse> Windows.Security.Authentication.Web.Core.WebTokenRequestResult::get_ResponseData()
|
|
195
|
+
@_property
|
|
196
|
+
def response_data(self) -> typing.Sequence[WebTokenResponse]: ...
|
|
197
|
+
# Windows.Security.Authentication.Web.Core.WebProviderError Windows.Security.Authentication.Web.Core.WebTokenRequestResult::get_ResponseError()
|
|
198
|
+
@_property
|
|
199
|
+
def response_error(self) -> WebProviderError: ...
|
|
200
|
+
# Windows.Security.Authentication.Web.Core.WebTokenRequestStatus Windows.Security.Authentication.Web.Core.WebTokenRequestResult::get_ResponseStatus()
|
|
201
|
+
@_property
|
|
202
|
+
def response_status(self) -> WebTokenRequestStatus: ...
|
|
203
|
+
|
|
204
|
+
@typing.final
|
|
205
|
+
class WebTokenResponse(winrt.system.Object):
|
|
206
|
+
@typing.overload
|
|
207
|
+
def __new__(cls: typing.Type[Self], token: str) -> Self: ...
|
|
208
|
+
@typing.overload
|
|
209
|
+
def __new__(cls: typing.Type[Self], token: str, web_account: windows_security_credentials.WebAccount) -> Self: ...
|
|
210
|
+
@typing.overload
|
|
211
|
+
def __new__(cls: typing.Type[Self], token: str, web_account: windows_security_credentials.WebAccount, error: WebProviderError) -> Self: ...
|
|
212
|
+
@typing.overload
|
|
213
|
+
def __new__(cls: typing.Type[Self]) -> Self: ...
|
|
214
|
+
# Windows.Foundation.Collections.IMap`2<System.String,System.String> Windows.Security.Authentication.Web.Core.WebTokenResponse::get_Properties()
|
|
215
|
+
@_property
|
|
216
|
+
def properties(self) -> typing.MutableMapping[str, str]: ...
|
|
217
|
+
# Windows.Security.Authentication.Web.Core.WebProviderError Windows.Security.Authentication.Web.Core.WebTokenResponse::get_ProviderError()
|
|
218
|
+
@_property
|
|
219
|
+
def provider_error(self) -> WebProviderError: ...
|
|
220
|
+
# System.String Windows.Security.Authentication.Web.Core.WebTokenResponse::get_Token()
|
|
221
|
+
@_property
|
|
222
|
+
def token(self) -> str: ...
|
|
223
|
+
# Windows.Security.Credentials.WebAccount Windows.Security.Authentication.Web.Core.WebTokenResponse::get_WebAccount()
|
|
224
|
+
@_property
|
|
225
|
+
def web_account(self) -> windows_security_credentials.WebAccount: ...
|
|
226
|
+
|
|
@@ -0,0 +1,62 @@
|
|
|
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_core import (
|
|
7
|
+
FindAllAccountsResult,
|
|
8
|
+
WebAccountEventArgs,
|
|
9
|
+
WebAccountMonitor,
|
|
10
|
+
WebAuthenticationAddAccountResponse,
|
|
11
|
+
WebAuthenticationAddAccountResult,
|
|
12
|
+
WebAuthenticationCoreManager,
|
|
13
|
+
WebAuthenticationTransferTokenRequest,
|
|
14
|
+
WebProviderError,
|
|
15
|
+
WebTokenRequest,
|
|
16
|
+
WebTokenRequestResult,
|
|
17
|
+
WebTokenResponse,
|
|
18
|
+
)
|
|
19
|
+
|
|
20
|
+
__all__ = [
|
|
21
|
+
"FindAllWebAccountsStatus",
|
|
22
|
+
"WebAuthenticationAddAccountStatus",
|
|
23
|
+
"WebTokenRequestPromptType",
|
|
24
|
+
"WebTokenRequestStatus",
|
|
25
|
+
"FindAllAccountsResult",
|
|
26
|
+
"WebAccountEventArgs",
|
|
27
|
+
"WebAccountMonitor",
|
|
28
|
+
"WebAuthenticationAddAccountResponse",
|
|
29
|
+
"WebAuthenticationAddAccountResult",
|
|
30
|
+
"WebAuthenticationCoreManager",
|
|
31
|
+
"WebAuthenticationTransferTokenRequest",
|
|
32
|
+
"WebProviderError",
|
|
33
|
+
"WebTokenRequest",
|
|
34
|
+
"WebTokenRequestResult",
|
|
35
|
+
"WebTokenResponse",
|
|
36
|
+
]
|
|
37
|
+
|
|
38
|
+
class FindAllWebAccountsStatus(enum.IntEnum):
|
|
39
|
+
SUCCESS = 0
|
|
40
|
+
NOT_ALLOWED_BY_PROVIDER = 1
|
|
41
|
+
NOT_SUPPORTED_BY_PROVIDER = 2
|
|
42
|
+
PROVIDER_ERROR = 3
|
|
43
|
+
|
|
44
|
+
class WebAuthenticationAddAccountStatus(enum.IntEnum):
|
|
45
|
+
SUCCESS = 0
|
|
46
|
+
ERROR = 1
|
|
47
|
+
NOT_SUPPORTED_BY_PROVIDER = 2
|
|
48
|
+
SERVICE_CONNECTION_ERROR = 3
|
|
49
|
+
PROVIDER_ERROR = 4
|
|
50
|
+
|
|
51
|
+
class WebTokenRequestPromptType(enum.IntEnum):
|
|
52
|
+
DEFAULT = 0
|
|
53
|
+
FORCE_AUTHENTICATION = 1
|
|
54
|
+
|
|
55
|
+
class WebTokenRequestStatus(enum.IntEnum):
|
|
56
|
+
SUCCESS = 0
|
|
57
|
+
USER_CANCEL = 1
|
|
58
|
+
ACCOUNT_SWITCH = 2
|
|
59
|
+
USER_INTERACTION_REQUIRED = 3
|
|
60
|
+
ACCOUNT_PROVIDER_NOT_AVAILABLE = 4
|
|
61
|
+
PROVIDER_ERROR = 5
|
|
62
|
+
|
|
File without changes
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: winrt-Windows.Security.Authentication.Web.Core
|
|
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.Credentials[all]~=3.2.1.0; extra == "all"
|
|
20
|
+
Requires-Dist: winrt-Windows.System[all]~=3.2.1.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.cp314-win_arm64.pyd,sha256=Am86lReL2oODOFlIiqRAaN4bZ9VX2S4__-a-hUgkPp0,304640
|
|
2
|
+
winrt/_winrt_windows_security_authentication_web_core.pyi,sha256=s8_w6cwrnZ_lz7hMcl-fwVD0bfohpY4jrlZoLydTXAg,19982
|
|
3
|
+
winrt/windows/security/authentication/web/core/__init__.py,sha256=vRP7mEB4JpTo4ytuNxZAaIusF-3TE2FKrbr6aC8yt4Q,1625
|
|
4
|
+
winrt/windows/security/authentication/web/core/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
5
|
+
winrt_windows_security_authentication_web_core-3.2.1.dist-info/METADATA,sha256=N90A8OKpZCyMNrYRxl-beujRisY90hvCzfjoHlZb7tY,1348
|
|
6
|
+
winrt_windows_security_authentication_web_core-3.2.1.dist-info/WHEEL,sha256=bMXkUWfr_3hlaRObp_pv9_U0ksvQo0T0Mwq6lQkXaZc,101
|
|
7
|
+
winrt_windows_security_authentication_web_core-3.2.1.dist-info/top_level.txt,sha256=BzwQb4dZRt0NxCXi10ARjWsox7Asmtf_lXrw_KR-D_E,6
|
|
8
|
+
winrt_windows_security_authentication_web_core-3.2.1.dist-info/RECORD,,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
winrt
|