winrt-Windows.Security.Credentials.UI 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.
- winrt/windows/security/credentials/ui/__init__.py +21 -0
- winrt/windows/security/credentials/ui/__init__.pyi +183 -0
- winrt/windows/security/credentials/ui/_table.pywinrt +0 -0
- winrt/windows/security/credentials/ui/py.typed +0 -0
- winrt_windows_security_credentials_ui-4!10.0.28000.2705.dist-info/METADATA +46 -0
- winrt_windows_security_credentials_ui-4!10.0.28000.2705.dist-info/RECORD +8 -0
- winrt_windows_security_credentials_ui-4!10.0.28000.2705.dist-info/WHEEL +4 -0
- winrt_windows_security_credentials_ui-4!10.0.28000.2705.dist-info/licenses/LICENSE +22 -0
|
@@ -0,0 +1,21 @@
|
|
|
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
|
+
"AuthenticationProtocol",
|
|
10
|
+
"CredentialSaveOption",
|
|
11
|
+
"UserConsentVerificationResult",
|
|
12
|
+
"UserConsentVerifierAvailability",
|
|
13
|
+
"CredentialPicker",
|
|
14
|
+
"CredentialPickerOptions",
|
|
15
|
+
"CredentialPickerResults",
|
|
16
|
+
"UserConsentVerifier",
|
|
17
|
+
]
|
|
18
|
+
|
|
19
|
+
winrt.runtime._internals.alias_static_method(CredentialPicker, "pick_with_caption_async", "pick_async")
|
|
20
|
+
winrt.runtime._internals.alias_static_method(CredentialPicker, "pick_with_message_async", "pick_async")
|
|
21
|
+
winrt.runtime._internals.alias_static_method(CredentialPicker, "pick_with_options_async", "pick_async")
|
|
@@ -0,0 +1,183 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT
|
|
2
|
+
|
|
3
|
+
import enum
|
|
4
|
+
import typing
|
|
5
|
+
from builtins import property as _property
|
|
6
|
+
from typing_extensions import deprecated
|
|
7
|
+
|
|
8
|
+
import winrt.system
|
|
9
|
+
import winrt.windows.foundation as windows_foundation
|
|
10
|
+
import winrt.windows.storage.streams as windows_storage_streams
|
|
11
|
+
|
|
12
|
+
__all__ = [
|
|
13
|
+
"AuthenticationProtocol",
|
|
14
|
+
"CredentialSaveOption",
|
|
15
|
+
"UserConsentVerificationResult",
|
|
16
|
+
"UserConsentVerifierAvailability",
|
|
17
|
+
"CredentialPicker",
|
|
18
|
+
"CredentialPickerOptions",
|
|
19
|
+
"CredentialPickerResults",
|
|
20
|
+
"UserConsentVerifier",
|
|
21
|
+
]
|
|
22
|
+
|
|
23
|
+
class AuthenticationProtocol(enum.IntEnum):
|
|
24
|
+
BASIC = 0
|
|
25
|
+
DIGEST = 1
|
|
26
|
+
NTLM = 2
|
|
27
|
+
KERBEROS = 3
|
|
28
|
+
NEGOTIATE = 4
|
|
29
|
+
CRED_SSP = 5
|
|
30
|
+
CUSTOM = 6
|
|
31
|
+
|
|
32
|
+
class CredentialSaveOption(enum.IntEnum):
|
|
33
|
+
UNSELECTED = 0
|
|
34
|
+
SELECTED = 1
|
|
35
|
+
HIDDEN = 2
|
|
36
|
+
|
|
37
|
+
class UserConsentVerificationResult(enum.IntEnum):
|
|
38
|
+
VERIFIED = 0
|
|
39
|
+
DEVICE_NOT_PRESENT = 1
|
|
40
|
+
NOT_CONFIGURED_FOR_USER = 2
|
|
41
|
+
DISABLED_BY_POLICY = 3
|
|
42
|
+
DEVICE_BUSY = 4
|
|
43
|
+
RETRIES_EXHAUSTED = 5
|
|
44
|
+
CANCELED = 6
|
|
45
|
+
|
|
46
|
+
class UserConsentVerifierAvailability(enum.IntEnum):
|
|
47
|
+
AVAILABLE = 0
|
|
48
|
+
DEVICE_NOT_PRESENT = 1
|
|
49
|
+
NOT_CONFIGURED_FOR_USER = 2
|
|
50
|
+
DISABLED_BY_POLICY = 3
|
|
51
|
+
DEVICE_BUSY = 4
|
|
52
|
+
|
|
53
|
+
@typing.final
|
|
54
|
+
class CredentialPicker_Static(winrt.system.Object_Static):
|
|
55
|
+
@typing.overload
|
|
56
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.Security.Credentials.UI.CredentialPickerResults> Windows.Security.Credentials.UI.CredentialPicker::PickAsync(Windows.Security.Credentials.UI.CredentialPickerOptions)
|
|
57
|
+
def pick_async(cls, options: CredentialPickerOptions, /) -> windows_foundation.IAsyncOperation[CredentialPickerResults]: ...
|
|
58
|
+
@typing.overload
|
|
59
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.Security.Credentials.UI.CredentialPickerResults> Windows.Security.Credentials.UI.CredentialPicker::PickAsync(System.String,System.String)
|
|
60
|
+
def pick_async(cls, target_name: str, message: str, /) -> windows_foundation.IAsyncOperation[CredentialPickerResults]: ...
|
|
61
|
+
@typing.overload
|
|
62
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.Security.Credentials.UI.CredentialPickerResults> Windows.Security.Credentials.UI.CredentialPicker::PickAsync(System.String,System.String,System.String)
|
|
63
|
+
def pick_async(cls, target_name: str, message: str, caption: str, /) -> windows_foundation.IAsyncOperation[CredentialPickerResults]: ...
|
|
64
|
+
# Deprecated alias of pick_async() for pywinrt v3.x compatibility.
|
|
65
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.Security.Credentials.UI.CredentialPickerResults> Windows.Security.Credentials.UI.CredentialPicker::PickAsync(System.String,System.String,System.String)
|
|
66
|
+
@deprecated("Use pick_async() instead.")
|
|
67
|
+
def pick_with_caption_async(cls, target_name: str, message: str, caption: str, /) -> windows_foundation.IAsyncOperation[CredentialPickerResults]: ...
|
|
68
|
+
# Deprecated alias of pick_async() for pywinrt v3.x compatibility.
|
|
69
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.Security.Credentials.UI.CredentialPickerResults> Windows.Security.Credentials.UI.CredentialPicker::PickAsync(System.String,System.String)
|
|
70
|
+
@deprecated("Use pick_async() instead.")
|
|
71
|
+
def pick_with_message_async(cls, target_name: str, message: str, /) -> windows_foundation.IAsyncOperation[CredentialPickerResults]: ...
|
|
72
|
+
# Deprecated alias of pick_async() for pywinrt v3.x compatibility.
|
|
73
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.Security.Credentials.UI.CredentialPickerResults> Windows.Security.Credentials.UI.CredentialPicker::PickAsync(Windows.Security.Credentials.UI.CredentialPickerOptions)
|
|
74
|
+
@deprecated("Use pick_async() instead.")
|
|
75
|
+
def pick_with_options_async(cls, options: CredentialPickerOptions, /) -> windows_foundation.IAsyncOperation[CredentialPickerResults]: ...
|
|
76
|
+
|
|
77
|
+
@typing.final
|
|
78
|
+
class CredentialPicker(winrt.system.Object, metaclass=CredentialPicker_Static):
|
|
79
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
80
|
+
"""A class of static members only, so there is nothing to create."""
|
|
81
|
+
|
|
82
|
+
@typing.final
|
|
83
|
+
class CredentialPickerOptions(winrt.system.Object):
|
|
84
|
+
def __new__(cls) -> typing.Self: ...
|
|
85
|
+
# System.String Windows.Security.Credentials.UI.CredentialPickerOptions::get_TargetName()
|
|
86
|
+
@_property
|
|
87
|
+
def target_name(self) -> str: ...
|
|
88
|
+
# System.Void Windows.Security.Credentials.UI.CredentialPickerOptions::put_TargetName(System.String)
|
|
89
|
+
@target_name.setter
|
|
90
|
+
def target_name(self, value: str) -> None: ...
|
|
91
|
+
# Windows.Storage.Streams.IBuffer Windows.Security.Credentials.UI.CredentialPickerOptions::get_PreviousCredential()
|
|
92
|
+
@_property
|
|
93
|
+
def previous_credential(self) -> windows_storage_streams.IBuffer: ...
|
|
94
|
+
# System.Void Windows.Security.Credentials.UI.CredentialPickerOptions::put_PreviousCredential(Windows.Storage.Streams.IBuffer)
|
|
95
|
+
@previous_credential.setter
|
|
96
|
+
def previous_credential(self, value: winrt.system.ReadableBuffer) -> None: ...
|
|
97
|
+
# System.String Windows.Security.Credentials.UI.CredentialPickerOptions::get_Message()
|
|
98
|
+
@_property
|
|
99
|
+
def message(self) -> str: ...
|
|
100
|
+
# System.Void Windows.Security.Credentials.UI.CredentialPickerOptions::put_Message(System.String)
|
|
101
|
+
@message.setter
|
|
102
|
+
def message(self, value: str) -> None: ...
|
|
103
|
+
# System.UInt32 Windows.Security.Credentials.UI.CredentialPickerOptions::get_ErrorCode()
|
|
104
|
+
@_property
|
|
105
|
+
def error_code(self) -> winrt.system.UInt32: ...
|
|
106
|
+
# System.Void Windows.Security.Credentials.UI.CredentialPickerOptions::put_ErrorCode(System.UInt32)
|
|
107
|
+
@error_code.setter
|
|
108
|
+
def error_code(self, value: winrt.system.UInt32 | typing.SupportsIndex) -> None: ...
|
|
109
|
+
# System.String Windows.Security.Credentials.UI.CredentialPickerOptions::get_CustomAuthenticationProtocol()
|
|
110
|
+
@_property
|
|
111
|
+
def custom_authentication_protocol(self) -> str: ...
|
|
112
|
+
# System.Void Windows.Security.Credentials.UI.CredentialPickerOptions::put_CustomAuthenticationProtocol(System.String)
|
|
113
|
+
@custom_authentication_protocol.setter
|
|
114
|
+
def custom_authentication_protocol(self, value: str) -> None: ...
|
|
115
|
+
# Windows.Security.Credentials.UI.CredentialSaveOption Windows.Security.Credentials.UI.CredentialPickerOptions::get_CredentialSaveOption()
|
|
116
|
+
@_property
|
|
117
|
+
def credential_save_option(self) -> CredentialSaveOption: ...
|
|
118
|
+
# System.Void Windows.Security.Credentials.UI.CredentialPickerOptions::put_CredentialSaveOption(Windows.Security.Credentials.UI.CredentialSaveOption)
|
|
119
|
+
@credential_save_option.setter
|
|
120
|
+
def credential_save_option(self, value: CredentialSaveOption) -> None: ...
|
|
121
|
+
# System.String Windows.Security.Credentials.UI.CredentialPickerOptions::get_Caption()
|
|
122
|
+
@_property
|
|
123
|
+
def caption(self) -> str: ...
|
|
124
|
+
# System.Void Windows.Security.Credentials.UI.CredentialPickerOptions::put_Caption(System.String)
|
|
125
|
+
@caption.setter
|
|
126
|
+
def caption(self, value: str) -> None: ...
|
|
127
|
+
# System.Boolean Windows.Security.Credentials.UI.CredentialPickerOptions::get_CallerSavesCredential()
|
|
128
|
+
@_property
|
|
129
|
+
def caller_saves_credential(self) -> bool: ...
|
|
130
|
+
# System.Void Windows.Security.Credentials.UI.CredentialPickerOptions::put_CallerSavesCredential(System.Boolean)
|
|
131
|
+
@caller_saves_credential.setter
|
|
132
|
+
def caller_saves_credential(self, value: bool) -> None: ...
|
|
133
|
+
# Windows.Security.Credentials.UI.AuthenticationProtocol Windows.Security.Credentials.UI.CredentialPickerOptions::get_AuthenticationProtocol()
|
|
134
|
+
@_property
|
|
135
|
+
def authentication_protocol(self) -> AuthenticationProtocol: ...
|
|
136
|
+
# System.Void Windows.Security.Credentials.UI.CredentialPickerOptions::put_AuthenticationProtocol(Windows.Security.Credentials.UI.AuthenticationProtocol)
|
|
137
|
+
@authentication_protocol.setter
|
|
138
|
+
def authentication_protocol(self, value: AuthenticationProtocol) -> None: ...
|
|
139
|
+
# System.Boolean Windows.Security.Credentials.UI.CredentialPickerOptions::get_AlwaysDisplayDialog()
|
|
140
|
+
@_property
|
|
141
|
+
def always_display_dialog(self) -> bool: ...
|
|
142
|
+
# System.Void Windows.Security.Credentials.UI.CredentialPickerOptions::put_AlwaysDisplayDialog(System.Boolean)
|
|
143
|
+
@always_display_dialog.setter
|
|
144
|
+
def always_display_dialog(self, value: bool) -> None: ...
|
|
145
|
+
|
|
146
|
+
@typing.final
|
|
147
|
+
class CredentialPickerResults(winrt.system.Object):
|
|
148
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
149
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
150
|
+
# Windows.Storage.Streams.IBuffer Windows.Security.Credentials.UI.CredentialPickerResults::get_Credential()
|
|
151
|
+
@_property
|
|
152
|
+
def credential(self) -> windows_storage_streams.IBuffer: ...
|
|
153
|
+
# System.String Windows.Security.Credentials.UI.CredentialPickerResults::get_CredentialDomainName()
|
|
154
|
+
@_property
|
|
155
|
+
def credential_domain_name(self) -> str: ...
|
|
156
|
+
# System.String Windows.Security.Credentials.UI.CredentialPickerResults::get_CredentialPassword()
|
|
157
|
+
@_property
|
|
158
|
+
def credential_password(self) -> str: ...
|
|
159
|
+
# Windows.Security.Credentials.UI.CredentialSaveOption Windows.Security.Credentials.UI.CredentialPickerResults::get_CredentialSaveOption()
|
|
160
|
+
@_property
|
|
161
|
+
def credential_save_option(self) -> CredentialSaveOption: ...
|
|
162
|
+
# System.Boolean Windows.Security.Credentials.UI.CredentialPickerResults::get_CredentialSaved()
|
|
163
|
+
@_property
|
|
164
|
+
def credential_saved(self) -> bool: ...
|
|
165
|
+
# System.String Windows.Security.Credentials.UI.CredentialPickerResults::get_CredentialUserName()
|
|
166
|
+
@_property
|
|
167
|
+
def credential_user_name(self) -> str: ...
|
|
168
|
+
# System.UInt32 Windows.Security.Credentials.UI.CredentialPickerResults::get_ErrorCode()
|
|
169
|
+
@_property
|
|
170
|
+
def error_code(self) -> winrt.system.UInt32: ...
|
|
171
|
+
|
|
172
|
+
@typing.final
|
|
173
|
+
class UserConsentVerifier_Static(winrt.system.Object_Static):
|
|
174
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.Security.Credentials.UI.UserConsentVerifierAvailability> Windows.Security.Credentials.UI.UserConsentVerifier::CheckAvailabilityAsync()
|
|
175
|
+
def check_availability_async(cls) -> windows_foundation.IAsyncOperation[UserConsentVerifierAvailability]: ...
|
|
176
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.Security.Credentials.UI.UserConsentVerificationResult> Windows.Security.Credentials.UI.UserConsentVerifier::RequestVerificationAsync(System.String)
|
|
177
|
+
def request_verification_async(cls, message: str, /) -> windows_foundation.IAsyncOperation[UserConsentVerificationResult]: ...
|
|
178
|
+
|
|
179
|
+
@typing.final
|
|
180
|
+
class UserConsentVerifier(winrt.system.Object, metaclass=UserConsentVerifier_Static):
|
|
181
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
182
|
+
"""A class of static members only, so there is nothing to create."""
|
|
183
|
+
|
|
Binary file
|
|
File without changes
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
|
+
Name: winrt-Windows.Security.Credentials.UI
|
|
3
|
+
Version: 4!10.0.28000.2705
|
|
4
|
+
Summary: PyWinRT projection of the Windows.Security.Credentials.UI 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>=4!10.0.28000.2705
|
|
24
|
+
Requires-Dist: winrt-windows-storage-streams>=4!10.0.28000.2705
|
|
25
|
+
Provides-Extra: all
|
|
26
|
+
Requires-Dist: winrt-windows-foundation[all]>=4!10.0.28000.2705; extra == 'all'
|
|
27
|
+
Requires-Dist: winrt-windows-storage-streams[all]>=4!10.0.28000.2705; extra == 'all'
|
|
28
|
+
Description-Content-Type: text/markdown
|
|
29
|
+
|
|
30
|
+
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
31
|
+
|
|
32
|
+
# winrt-Windows.Security.Credentials.UI
|
|
33
|
+
|
|
34
|
+
Windows Runtime (WinRT) APIs for the `Windows.Security.Credentials.UI` namespace.
|
|
35
|
+
|
|
36
|
+
This package provides the `winrt.windows.security.credentials.ui` module.
|
|
37
|
+
|
|
38
|
+
The WinRT APIs in it are those of version 10.0.28000.2705 of the
|
|
39
|
+
`Microsoft.Windows.SDK.CPP` NuGet package.
|
|
40
|
+
|
|
41
|
+
```
|
|
42
|
+
pip install winrt-Windows.Security.Credentials.UI
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
Other WinRT namespaces are packages of their own, so install the package of
|
|
46
|
+
each namespace your code imports from.
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
winrt/windows/security/credentials/ui/__init__.py,sha256=QjCIZKudXhyJfN2PeBYIYVYeo5K40ZNpVqDpt8tWnOQ,753
|
|
2
|
+
winrt/windows/security/credentials/ui/__init__.pyi,sha256=AIMo8d2I57Fe_eulaeof22LjjlY6q5PMF3tqKKBjOkw,10479
|
|
3
|
+
winrt/windows/security/credentials/ui/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
|
+
winrt/windows/security/credentials/ui/_table.pywinrt,sha256=Vgn9vfSdSap0T6sXk2hSwpRuYK3A3vsK7ygidve5C00,10848
|
|
5
|
+
winrt_windows_security_credentials_ui-4!10.0.28000.2705.dist-info/METADATA,sha256=pXtx0Wb-29oy_Hz_dOZZGkpexHWYRv6l6dII2OkiW6I,1981
|
|
6
|
+
winrt_windows_security_credentials_ui-4!10.0.28000.2705.dist-info/WHEEL,sha256=W3fkpkm7-wf9vBI5Z-7s0eWkeM-spu78I8Neb98DeEg,87
|
|
7
|
+
winrt_windows_security_credentials_ui-4!10.0.28000.2705.dist-info/licenses/LICENSE,sha256=dyVKOMqPV0fimbzMhqN3zpg6K6Y2OlekwrdfiZTBm8M,1225
|
|
8
|
+
winrt_windows_security_credentials_ui-4!10.0.28000.2705.dist-info/RECORD,,
|
|
@@ -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
|