winrt-Windows.Security.Credentials 2.0.0b1__cp39-cp39-win_arm64.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,175 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.0-beta.1
2
+
3
+ import datetime
4
+ import sys
5
+ import types
6
+ import typing
7
+ import uuid as _uuid
8
+ from builtins import property as _property
9
+
10
+ import winrt._winrt
11
+ import winrt.system
12
+ import winrt.windows.foundation
13
+ import winrt.windows.foundation.collections
14
+ import winrt.windows.security.cryptography.core
15
+ import winrt.windows.storage.streams
16
+ import winrt.windows.system
17
+
18
+ from winrt.windows.security.credentials import KeyCredentialAttestationStatus, KeyCredentialCreationOption, KeyCredentialStatus, WebAccountPictureSize, WebAccountState
19
+
20
+ Self = typing.TypeVar('Self')
21
+
22
+ class KeyCredential(winrt.system.Object):
23
+ @staticmethod
24
+ def _from(obj: winrt.system.Object, /) -> KeyCredential: ...
25
+ def get_attestation_async(self) -> winrt.windows.foundation.IAsyncOperation[KeyCredentialAttestationResult]: ...
26
+ def request_sign_async(self, data: typing.Optional[winrt.windows.storage.streams.IBuffer], /) -> winrt.windows.foundation.IAsyncOperation[KeyCredentialOperationResult]: ...
27
+ @typing.overload
28
+ def retrieve_public_key(self) -> typing.Optional[winrt.windows.storage.streams.IBuffer]: ...
29
+ @typing.overload
30
+ def retrieve_public_key(self, blob_type: winrt.windows.security.cryptography.core.CryptographicPublicKeyBlobType, /) -> typing.Optional[winrt.windows.storage.streams.IBuffer]: ...
31
+ @_property
32
+ def name(self) -> str: ...
33
+
34
+ class KeyCredentialAttestationResult(winrt.system.Object):
35
+ @staticmethod
36
+ def _from(obj: winrt.system.Object, /) -> KeyCredentialAttestationResult: ...
37
+ @_property
38
+ def attestation_buffer(self) -> typing.Optional[winrt.windows.storage.streams.IBuffer]: ...
39
+ @_property
40
+ def certificate_chain_buffer(self) -> typing.Optional[winrt.windows.storage.streams.IBuffer]: ...
41
+ @_property
42
+ def status(self) -> KeyCredentialAttestationStatus: ...
43
+
44
+ class KeyCredentialManager_Static(type):
45
+ def delete_async(cls, name: str, /) -> winrt.windows.foundation.IAsyncAction: ...
46
+ def is_supported_async(cls) -> winrt.windows.foundation.IAsyncOperation[bool]: ...
47
+ def open_async(cls, name: str, /) -> winrt.windows.foundation.IAsyncOperation[KeyCredentialRetrievalResult]: ...
48
+ def renew_attestation_async(cls) -> winrt.windows.foundation.IAsyncAction: ...
49
+ def request_create_async(cls, name: str, option: KeyCredentialCreationOption, /) -> winrt.windows.foundation.IAsyncOperation[KeyCredentialRetrievalResult]: ...
50
+
51
+ class KeyCredentialManager(winrt.system.Object, metaclass=KeyCredentialManager_Static):
52
+ @staticmethod
53
+ def _from(obj: winrt.system.Object, /) -> KeyCredentialManager: ...
54
+
55
+ class KeyCredentialOperationResult(winrt.system.Object):
56
+ @staticmethod
57
+ def _from(obj: winrt.system.Object, /) -> KeyCredentialOperationResult: ...
58
+ @_property
59
+ def result(self) -> typing.Optional[winrt.windows.storage.streams.IBuffer]: ...
60
+ @_property
61
+ def status(self) -> KeyCredentialStatus: ...
62
+
63
+ class KeyCredentialRetrievalResult(winrt.system.Object):
64
+ @staticmethod
65
+ def _from(obj: winrt.system.Object, /) -> KeyCredentialRetrievalResult: ...
66
+ @_property
67
+ def credential(self) -> typing.Optional[KeyCredential]: ...
68
+ @_property
69
+ def status(self) -> KeyCredentialStatus: ...
70
+
71
+ class PasswordCredential(winrt.system.Object):
72
+ @staticmethod
73
+ def _from(obj: winrt.system.Object, /) -> PasswordCredential: ...
74
+ @typing.overload
75
+ def __new__(cls: typing.Type[PasswordCredential], resource: str, user_name: str, password: str) -> PasswordCredential:...
76
+ @typing.overload
77
+ def __new__(cls: typing.Type[PasswordCredential]) -> PasswordCredential:...
78
+ def retrieve_password(self) -> None: ...
79
+ @_property
80
+ def user_name(self) -> str: ...
81
+ @user_name.setter
82
+ def user_name(self, value: str) -> None: ...
83
+ @_property
84
+ def resource(self) -> str: ...
85
+ @resource.setter
86
+ def resource(self, value: str) -> None: ...
87
+ @_property
88
+ def password(self) -> str: ...
89
+ @password.setter
90
+ def password(self, value: str) -> None: ...
91
+ @_property
92
+ def properties(self) -> typing.Optional[winrt.windows.foundation.collections.IPropertySet]: ...
93
+
94
+ class PasswordCredentialPropertyStore(winrt.system.Object, winrt._winrt.MutableMapping[str, winrt.system.Object]):
95
+ def __len__(self) -> int: ...
96
+ def __iter__(self) -> typing.Iterator[str]: ...
97
+ def __contains__(self, key: object) -> bool:...
98
+ def __setitem__(self, key: str, value: winrt.system.Object) -> None: ...
99
+ def __getitem__(self, key: str) -> winrt.system.Object: ...
100
+ def __delitem__(self, key: str) -> None: ...
101
+ @staticmethod
102
+ def _from(obj: winrt.system.Object, /) -> PasswordCredentialPropertyStore: ...
103
+ def __new__(cls: typing.Type[PasswordCredentialPropertyStore]) -> PasswordCredentialPropertyStore:...
104
+ def clear(self) -> None: ...
105
+ def first(self) -> typing.Optional[winrt.windows.foundation.collections.IIterator[winrt.windows.foundation.collections.IKeyValuePair[str, winrt.system.Object]]]: ...
106
+ def get_view(self) -> typing.Optional[winrt.windows.foundation.collections.IMapView[str, winrt.system.Object]]: ...
107
+ def has_key(self, key: str, /) -> bool: ...
108
+ def insert(self, key: str, value: typing.Optional[winrt.system.Object], /) -> bool: ...
109
+ def lookup(self, key: str, /) -> typing.Optional[winrt.system.Object]: ...
110
+ def remove(self, key: str, /) -> None: ...
111
+ def add_map_changed(self, vhnd: winrt.windows.foundation.collections.MapChangedEventHandler[str, winrt.system.Object], /) -> winrt.windows.foundation.EventRegistrationToken: ...
112
+ def remove_map_changed(self, token: winrt.windows.foundation.EventRegistrationToken, /) -> None: ...
113
+ @_property
114
+ def size(self) -> winrt.system.UInt32: ...
115
+
116
+ class PasswordVault(winrt.system.Object):
117
+ @staticmethod
118
+ def _from(obj: winrt.system.Object, /) -> PasswordVault: ...
119
+ def __new__(cls: typing.Type[PasswordVault]) -> PasswordVault:...
120
+ def add(self, credential: typing.Optional[PasswordCredential], /) -> None: ...
121
+ def find_all_by_resource(self, resource: str, /) -> typing.Optional[winrt.windows.foundation.collections.IVectorView[PasswordCredential]]: ...
122
+ def find_all_by_user_name(self, user_name: str, /) -> typing.Optional[winrt.windows.foundation.collections.IVectorView[PasswordCredential]]: ...
123
+ def remove(self, credential: typing.Optional[PasswordCredential], /) -> None: ...
124
+ def retrieve(self, resource: str, user_name: str, /) -> typing.Optional[PasswordCredential]: ...
125
+ def retrieve_all(self) -> typing.Optional[winrt.windows.foundation.collections.IVectorView[PasswordCredential]]: ...
126
+
127
+ class WebAccount(winrt.system.Object):
128
+ @staticmethod
129
+ def _from(obj: winrt.system.Object, /) -> WebAccount: ...
130
+ def __new__(cls: typing.Type[WebAccount], web_account_provider: typing.Optional[WebAccountProvider], user_name: str, state: WebAccountState) -> WebAccount:...
131
+ def get_picture_async(self, desized_size: WebAccountPictureSize, /) -> winrt.windows.foundation.IAsyncOperation[winrt.windows.storage.streams.IRandomAccessStream]: ...
132
+ @typing.overload
133
+ def sign_out_async(self) -> winrt.windows.foundation.IAsyncAction: ...
134
+ @typing.overload
135
+ def sign_out_async(self, client_id: str, /) -> winrt.windows.foundation.IAsyncAction: ...
136
+ @_property
137
+ def state(self) -> WebAccountState: ...
138
+ @_property
139
+ def user_name(self) -> str: ...
140
+ @_property
141
+ def web_account_provider(self) -> typing.Optional[WebAccountProvider]: ...
142
+ @_property
143
+ def id(self) -> str: ...
144
+ @_property
145
+ def properties(self) -> typing.Optional[winrt.windows.foundation.collections.IMapView[str, str]]: ...
146
+
147
+ class WebAccountProvider(winrt.system.Object):
148
+ @staticmethod
149
+ def _from(obj: winrt.system.Object, /) -> WebAccountProvider: ...
150
+ def __new__(cls: typing.Type[WebAccountProvider], id: str, display_name: str, icon_uri: typing.Optional[winrt.windows.foundation.Uri]) -> WebAccountProvider:...
151
+ @_property
152
+ def display_name(self) -> str: ...
153
+ @_property
154
+ def icon_uri(self) -> typing.Optional[winrt.windows.foundation.Uri]: ...
155
+ @_property
156
+ def id(self) -> str: ...
157
+ @_property
158
+ def authority(self) -> str: ...
159
+ @_property
160
+ def display_purpose(self) -> str: ...
161
+ @_property
162
+ def user(self) -> typing.Optional[winrt.windows.system.User]: ...
163
+ @_property
164
+ def is_system_provider(self) -> bool: ...
165
+
166
+ class IWebAccount(winrt.system.Object):
167
+ @staticmethod
168
+ def _from(obj: winrt.system.Object, /) -> IWebAccount: ...
169
+ @_property
170
+ def state(self) -> WebAccountState: ...
171
+ @_property
172
+ def user_name(self) -> str: ...
173
+ @_property
174
+ def web_account_provider(self) -> typing.Optional[WebAccountProvider]: ...
175
+
@@ -0,0 +1,68 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.0-beta.1
2
+
3
+ import enum
4
+
5
+ import winrt.system
6
+ from winrt import _winrt_windows_security_credentials
7
+
8
+ __all__ = [
9
+ "KeyCredentialAttestationStatus",
10
+ "KeyCredentialCreationOption",
11
+ "KeyCredentialStatus",
12
+ "WebAccountPictureSize",
13
+ "WebAccountState",
14
+ "KeyCredential",
15
+ "KeyCredentialAttestationResult",
16
+ "KeyCredentialManager",
17
+ "KeyCredentialOperationResult",
18
+ "KeyCredentialRetrievalResult",
19
+ "PasswordCredential",
20
+ "PasswordCredentialPropertyStore",
21
+ "PasswordVault",
22
+ "WebAccount",
23
+ "WebAccountProvider",
24
+ "IWebAccount",
25
+ ]
26
+
27
+ class KeyCredentialAttestationStatus(enum.IntEnum):
28
+ SUCCESS = 0
29
+ UNKNOWN_ERROR = 1
30
+ NOT_SUPPORTED = 2
31
+ TEMPORARY_FAILURE = 3
32
+
33
+ class KeyCredentialCreationOption(enum.IntEnum):
34
+ REPLACE_EXISTING = 0
35
+ FAIL_IF_EXISTS = 1
36
+
37
+ class KeyCredentialStatus(enum.IntEnum):
38
+ SUCCESS = 0
39
+ UNKNOWN_ERROR = 1
40
+ NOT_FOUND = 2
41
+ USER_CANCELED = 3
42
+ USER_PREFERS_PASSWORD = 4
43
+ CREDENTIAL_ALREADY_EXISTS = 5
44
+ SECURITY_DEVICE_LOCKED = 6
45
+
46
+ class WebAccountPictureSize(enum.IntEnum):
47
+ SIZE64X64 = 64
48
+ SIZE208X208 = 208
49
+ SIZE424X424 = 424
50
+ SIZE1080X1080 = 1080
51
+
52
+ class WebAccountState(enum.IntEnum):
53
+ NONE = 0
54
+ CONNECTED = 1
55
+ ERROR = 2
56
+
57
+ KeyCredential = _winrt_windows_security_credentials.KeyCredential
58
+ KeyCredentialAttestationResult = _winrt_windows_security_credentials.KeyCredentialAttestationResult
59
+ KeyCredentialManager = _winrt_windows_security_credentials.KeyCredentialManager
60
+ KeyCredentialOperationResult = _winrt_windows_security_credentials.KeyCredentialOperationResult
61
+ KeyCredentialRetrievalResult = _winrt_windows_security_credentials.KeyCredentialRetrievalResult
62
+ PasswordCredential = _winrt_windows_security_credentials.PasswordCredential
63
+ PasswordCredentialPropertyStore = _winrt_windows_security_credentials.PasswordCredentialPropertyStore
64
+ winrt.system._mixin_mutable_mapping(PasswordCredentialPropertyStore)
65
+ PasswordVault = _winrt_windows_security_credentials.PasswordVault
66
+ WebAccount = _winrt_windows_security_credentials.WebAccount
67
+ WebAccountProvider = _winrt_windows_security_credentials.WebAccountProvider
68
+ IWebAccount = _winrt_windows_security_credentials.IWebAccount
@@ -0,0 +1,28 @@
1
+ Metadata-Version: 2.1
2
+ Name: winrt-Windows.Security.Credentials
3
+ Version: 2.0.0b1
4
+ Summary: Python projection of Windows Runtime (WinRT) APIs
5
+ License: MIT
6
+ Project-URL: Repository, https://github.com/pywrint/pywrinrt
7
+ Project-URL: Changelog, https://github.com/pywinrt/pywinrt/blob/main/CHANGELOG.md
8
+ Classifier: Operating System :: Microsoft :: Windows
9
+ Classifier: Programming Language :: Python :: 3
10
+ Classifier: Programming Language :: Python :: Implementation :: CPython
11
+ Classifier: Intended Audience :: Developers
12
+ Requires-Python: <3.13,>=3.9
13
+ Description-Content-Type: text/markdown
14
+ Requires-Dist: winrt-runtime ==2.0.0-beta.1
15
+ Provides-Extra: all
16
+ Requires-Dist: winrt-Windows.Foundation[all] ==2.0.0-beta.1 ; extra == 'all'
17
+ Requires-Dist: winrt-Windows.Foundation.Collections[all] ==2.0.0-beta.1 ; extra == 'all'
18
+ Requires-Dist: winrt-Windows.Security.Cryptography.Core[all] ==2.0.0-beta.1 ; extra == 'all'
19
+ Requires-Dist: winrt-Windows.Storage.Streams[all] ==2.0.0-beta.1 ; extra == 'all'
20
+ Requires-Dist: winrt-Windows.System[all] ==2.0.0-beta.1 ; extra == 'all'
21
+
22
+ <!-- warning: Please don't edit this file. It was automatically generated. -->
23
+
24
+ # winrt-Windows.Security.Credentials
25
+
26
+ Windows Runtime (WinRT) APIs for for the `Windows.Security.Credentials` namespace.
27
+
28
+ This package provides the `winrt.windows.security.credentials` module.
@@ -0,0 +1,7 @@
1
+ winrt/_winrt_windows_security_credentials.cp39-win_arm64.pyd,sha256=klvAc7EJjquyn-RxBng6hBR8J78K9eNQSwrgYRl-4hM,331776
2
+ winrt/_winrt_windows_security_credentials.pyi,sha256=jgOJl2YDosMxPSyxuwyE69Tmhvt6prtQkGonm9H_bm4,8747
3
+ winrt/windows/security/credentials/__init__.py,sha256=1CTL4dNmtyvaFc6k1gi40X8mNvkrcPimrKzAPzCce7c,2267
4
+ winrt_Windows.Security.Credentials-2.0.0b1.dist-info/METADATA,sha256=7yF9sTyQCDm4GepjVpdMGqkVb3HJM28jQM2ntiy1X1c,1361
5
+ winrt_Windows.Security.Credentials-2.0.0b1.dist-info/WHEEL,sha256=PrHTG687fNsk7jS4Y-tLXN-3gpnf3wReNnzEPkeWHK0,100
6
+ winrt_Windows.Security.Credentials-2.0.0b1.dist-info/top_level.txt,sha256=BzwQb4dZRt0NxCXi10ARjWsox7Asmtf_lXrw_KR-D_E,6
7
+ winrt_Windows.Security.Credentials-2.0.0b1.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: bdist_wheel (0.41.1)
3
+ Root-Is-Purelib: false
4
+ Tag: cp39-cp39-win_arm64
5
+