winrt-Windows.Security.Authorization.AppCapabilityAccess 4!10.0.28000.2705__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,13 @@
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
+ "AppCapabilityAccessStatus",
10
+ "AppCapability",
11
+ "AppCapabilityAccessChangedEventArgs",
12
+ ]
13
+
@@ -0,0 +1,66 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT
2
+
3
+ import collections.abc as _cabc
4
+ import enum
5
+ import typing
6
+ from builtins import property as _property
7
+
8
+ import winrt.system
9
+ import winrt.windows.foundation as windows_foundation
10
+ import winrt.windows.foundation.collections as windows_foundation_collections
11
+ import winrt.windows.system as windows_system
12
+
13
+ __all__ = [
14
+ "AppCapabilityAccessStatus",
15
+ "AppCapability",
16
+ "AppCapabilityAccessChangedEventArgs",
17
+ ]
18
+
19
+ class AppCapabilityAccessStatus(enum.IntEnum):
20
+ DENIED_BY_SYSTEM = 0
21
+ NOT_DECLARED_BY_APP = 1
22
+ DENIED_BY_USER = 2
23
+ USER_PROMPT_REQUIRED = 3
24
+ ALLOWED = 4
25
+
26
+ @typing.final
27
+ class AppCapability_Static(winrt.system.Object_Static):
28
+ # Windows.Security.Authorization.AppCapabilityAccess.AppCapability Windows.Security.Authorization.AppCapabilityAccess.AppCapability::Create(System.String)
29
+ def create(cls, capability_name: str, /) -> AppCapability: ...
30
+ # Windows.Security.Authorization.AppCapabilityAccess.AppCapability Windows.Security.Authorization.AppCapabilityAccess.AppCapability::CreateWithProcessIdForUser(Windows.System.User,System.String,System.UInt32)
31
+ def create_with_process_id_for_user(cls, user: windows_system.User, capability_name: str, pid: winrt.system.UInt32 | typing.SupportsIndex, /) -> AppCapability: ...
32
+ # Windows.Foundation.IAsyncOperation`1<Windows.Foundation.Collections.IMapView`2<System.String,Windows.Security.Authorization.AppCapabilityAccess.AppCapabilityAccessStatus>> Windows.Security.Authorization.AppCapabilityAccess.AppCapability::RequestAccessForCapabilitiesAsync(Windows.Foundation.Collections.IIterable`1<System.String>)
33
+ def request_access_for_capabilities_async(cls, capability_names: _cabc.Iterable[str], /) -> windows_foundation.IAsyncOperation[_cabc.Mapping[str, AppCapabilityAccessStatus]]: ...
34
+ # Windows.Foundation.IAsyncOperation`1<Windows.Foundation.Collections.IMapView`2<System.String,Windows.Security.Authorization.AppCapabilityAccess.AppCapabilityAccessStatus>> Windows.Security.Authorization.AppCapabilityAccess.AppCapability::RequestAccessForCapabilitiesForUserAsync(Windows.System.User,Windows.Foundation.Collections.IIterable`1<System.String>)
35
+ def request_access_for_capabilities_for_user_async(cls, user: windows_system.User, capability_names: _cabc.Iterable[str], /) -> windows_foundation.IAsyncOperation[_cabc.Mapping[str, AppCapabilityAccessStatus]]: ...
36
+
37
+ @typing.final
38
+ class AppCapability(winrt.system.Object, metaclass=AppCapability_Static):
39
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
40
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
41
+ # Windows.Security.Authorization.AppCapabilityAccess.AppCapabilityAccessStatus Windows.Security.Authorization.AppCapabilityAccess.AppCapability::CheckAccess()
42
+ def check_access(self) -> AppCapabilityAccessStatus: ...
43
+ # Windows.Foundation.IAsyncOperation`1<Windows.Security.Authorization.AppCapabilityAccess.AppCapabilityAccessStatus> Windows.Security.Authorization.AppCapabilityAccess.AppCapability::RequestAccessAsync()
44
+ def request_access_async(self) -> windows_foundation.IAsyncOperation[AppCapabilityAccessStatus]: ...
45
+ # Windows.Foundation.EventRegistrationToken Windows.Security.Authorization.AppCapabilityAccess.AppCapability::add_AccessChanged(Windows.Foundation.TypedEventHandler`2<Windows.Security.Authorization.AppCapabilityAccess.AppCapability,Windows.Security.Authorization.AppCapabilityAccess.AppCapabilityAccessChangedEventArgs>)
46
+ def add_access_changed(self, handler: windows_foundation.TypedEventHandler[AppCapability, AppCapabilityAccessChangedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
47
+ # System.Void Windows.Security.Authorization.AppCapabilityAccess.AppCapability::remove_AccessChanged(Windows.Foundation.EventRegistrationToken)
48
+ def remove_access_changed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
49
+ # System.String Windows.Security.Authorization.AppCapabilityAccess.AppCapability::get_CapabilityName()
50
+ @_property
51
+ def capability_name(self) -> str: ...
52
+ # Windows.System.User Windows.Security.Authorization.AppCapabilityAccess.AppCapability::get_User()
53
+ @_property
54
+ def user(self) -> windows_system.User: ...
55
+ # System.String Windows.Security.Authorization.AppCapabilityAccess.AppCapability::get_DisplayMessage()
56
+ @_property
57
+ def display_message(self) -> str: ...
58
+ # System.Void Windows.Security.Authorization.AppCapabilityAccess.AppCapability::put_DisplayMessage(System.String)
59
+ @display_message.setter
60
+ def display_message(self, value: str) -> None: ...
61
+
62
+ @typing.final
63
+ class AppCapabilityAccessChangedEventArgs(winrt.system.Object):
64
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
65
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
66
+
@@ -0,0 +1,47 @@
1
+ Metadata-Version: 2.5
2
+ Name: winrt-Windows.Security.Authorization.AppCapabilityAccess
3
+ Version: 4!10.0.28000.2705
4
+ Summary: PyWinRT projection of the Windows.Security.Authorization.AppCapabilityAccess namespace
5
+ Project-URL: Documentation, https://pywinrt.readthedocs.io
6
+ Project-URL: Repository, https://github.com/pywinrt/pywinrt
7
+ Project-URL: Changelog, https://github.com/pywinrt/pywinrt/blob/main/projection/winrt/CHANGELOG.md
8
+ License-Expression: MIT
9
+ License-File: LICENSE
10
+ Classifier: Intended Audience :: Developers
11
+ Classifier: Operating System :: Microsoft :: Windows
12
+ Classifier: Programming Language :: Python :: 3
13
+ Classifier: Programming Language :: Python :: 3.11
14
+ Classifier: Programming Language :: Python :: 3.12
15
+ Classifier: Programming Language :: Python :: 3.13
16
+ Classifier: Programming Language :: Python :: 3.14
17
+ Classifier: Programming Language :: Python :: 3.15
18
+ Classifier: Programming Language :: Python :: Free Threading :: 2 - Beta
19
+ Classifier: Programming Language :: Python :: Implementation :: CPython
20
+ Classifier: Typing :: Typed
21
+ Requires-Python: >=3.11
22
+ Requires-Dist: winrt-runtime<5,>=4.0.0
23
+ Requires-Dist: winrt-windows-foundation-collections>=4!10.0.28000.2705
24
+ Requires-Dist: winrt-windows-foundation>=4!10.0.28000.2705
25
+ Provides-Extra: all
26
+ Requires-Dist: winrt-windows-foundation-collections[all]>=4!10.0.28000.2705; extra == 'all'
27
+ Requires-Dist: winrt-windows-foundation[all]>=4!10.0.28000.2705; extra == 'all'
28
+ Requires-Dist: winrt-windows-system[all]>=4!10.0.28000.2705; extra == 'all'
29
+ Description-Content-Type: text/markdown
30
+
31
+ <!-- warning: Please don't edit this file. It was automatically generated. -->
32
+
33
+ # winrt-Windows.Security.Authorization.AppCapabilityAccess
34
+
35
+ Windows Runtime (WinRT) APIs for the `Windows.Security.Authorization.AppCapabilityAccess` namespace.
36
+
37
+ This package provides the `winrt.windows.security.authorization.appcapabilityaccess` module.
38
+
39
+ The WinRT APIs in it are those of version 10.0.28000.2705 of the
40
+ `Microsoft.Windows.SDK.CPP` NuGet package.
41
+
42
+ ```
43
+ pip install winrt-Windows.Security.Authorization.AppCapabilityAccess
44
+ ```
45
+
46
+ Other WinRT namespaces are packages of their own, so install the package of
47
+ each namespace your code imports from.
@@ -0,0 +1,8 @@
1
+ winrt/windows/security/authorization/appcapabilityaccess/__init__.py,sha256=uEUvJVthpp3rmYIUaRc19sVYq5OaMc16TLsW7_6BBOk,291
2
+ winrt/windows/security/authorization/appcapabilityaccess/__init__.pyi,sha256=afNIqC9pUFJ_b0KuhK-B5vFG4eeYQJo_tn_gnOThdDQ,4940
3
+ winrt/windows/security/authorization/appcapabilityaccess/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
+ winrt/windows/security/authorization/appcapabilityaccess/_table.pywinrt,sha256=Li0sd3bhTCs4mCb03UUiSXiHtKyW1hO4iKviv_IMIE0,12200
5
+ winrt_windows_security_authorization_appcapabilityaccess-4!10.0.28000.2705.dist-info/METADATA,sha256=hC7R8LK51XxpVXbC13lsM2Mwv3PvBNb1m6VOhjJzz_c,2185
6
+ winrt_windows_security_authorization_appcapabilityaccess-4!10.0.28000.2705.dist-info/WHEEL,sha256=W3fkpkm7-wf9vBI5Z-7s0eWkeM-spu78I8Neb98DeEg,87
7
+ winrt_windows_security_authorization_appcapabilityaccess-4!10.0.28000.2705.dist-info/licenses/LICENSE,sha256=dyVKOMqPV0fimbzMhqN3zpg6K6Y2OlekwrdfiZTBm8M,1225
8
+ winrt_windows_security_authorization_appcapabilityaccess-4!10.0.28000.2705.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: hatchling 1.32.4
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
@@ -0,0 +1,22 @@
1
+ MIT License
2
+
3
+ Copyright (c) Microsoft Corporation. All rights reserved.
4
+ Copyright (c) 2021-2026 David Lechner <david@pybricks.com>
5
+
6
+ Permission is hereby granted, free of charge, to any person obtaining a copy
7
+ of this software and associated documentation files (the "Software"), to deal
8
+ in the Software without restriction, including without limitation the rights
9
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
+ copies of the Software, and to permit persons to whom the Software is
11
+ furnished to do so, subject to the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be included in all
14
+ copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
+ SOFTWARE