winrt-Windows.Security.Authentication.Web 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,20 @@
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
+ "TokenBindingKeyType",
10
+ "WebAuthenticationOptions",
11
+ "WebAuthenticationStatus",
12
+ "WebAuthenticationBroker",
13
+ "WebAuthenticationResult",
14
+ ]
15
+
16
+ winrt.runtime._internals.alias_static_method(WebAuthenticationBroker, "authenticate_with_callback_uri_and_continue", "authenticate_and_continue")
17
+ winrt.runtime._internals.alias_static_method(WebAuthenticationBroker, "authenticate_with_callback_uri_continuation_data_and_options_and_continue", "authenticate_and_continue")
18
+ winrt.runtime._internals.alias_static_method(WebAuthenticationBroker, "authenticate_with_callback_uri_async", "authenticate_async")
19
+ winrt.runtime._internals.alias_static_method(WebAuthenticationBroker, "authenticate_without_callback_uri_async", "authenticate_async")
20
+ winrt.runtime._internals.alias_static_method(WebAuthenticationBroker, "authenticate_silently_with_options_async", "authenticate_silently_async")
@@ -0,0 +1,101 @@
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.foundation.collections as windows_foundation_collections
11
+
12
+ __all__ = [
13
+ "TokenBindingKeyType",
14
+ "WebAuthenticationOptions",
15
+ "WebAuthenticationStatus",
16
+ "WebAuthenticationBroker",
17
+ "WebAuthenticationResult",
18
+ ]
19
+
20
+ class TokenBindingKeyType(enum.IntEnum):
21
+ RSA2048 = 0
22
+ ECDSA_P256 = 1
23
+ ANY_EXISTING = 2
24
+
25
+ class WebAuthenticationOptions(enum.IntFlag):
26
+ NONE = 0x0
27
+ SILENT_MODE = 0x1
28
+ USE_TITLE = 0x2
29
+ USE_HTTP_POST = 0x4
30
+ USE_CORPORATE_NETWORK = 0x8
31
+
32
+ class WebAuthenticationStatus(enum.IntEnum):
33
+ SUCCESS = 0
34
+ USER_CANCEL = 1
35
+ ERROR_HTTP = 2
36
+
37
+ @typing.final
38
+ class WebAuthenticationBroker_Static(winrt.system.Object_Static):
39
+ @typing.overload
40
+ # System.Void Windows.Security.Authentication.Web.WebAuthenticationBroker::AuthenticateAndContinue(Windows.Foundation.Uri)
41
+ def authenticate_and_continue(cls, request_uri: windows_foundation.Uri, /) -> None: ...
42
+ @typing.overload
43
+ # System.Void Windows.Security.Authentication.Web.WebAuthenticationBroker::AuthenticateAndContinue(Windows.Foundation.Uri,Windows.Foundation.Uri)
44
+ def authenticate_and_continue(cls, request_uri: windows_foundation.Uri, callback_uri: windows_foundation.Uri, /) -> None: ...
45
+ @typing.overload
46
+ # System.Void Windows.Security.Authentication.Web.WebAuthenticationBroker::AuthenticateAndContinue(Windows.Foundation.Uri,Windows.Foundation.Uri,Windows.Foundation.Collections.ValueSet,Windows.Security.Authentication.Web.WebAuthenticationOptions)
47
+ def authenticate_and_continue(cls, request_uri: windows_foundation.Uri, callback_uri: windows_foundation.Uri, continuation_data: windows_foundation_collections.ValueSet, options: WebAuthenticationOptions, /) -> None: ...
48
+ # Deprecated alias of authenticate_and_continue() for pywinrt v3.x compatibility.
49
+ # System.Void Windows.Security.Authentication.Web.WebAuthenticationBroker::AuthenticateAndContinue(Windows.Foundation.Uri,Windows.Foundation.Uri)
50
+ @deprecated("Use authenticate_and_continue() instead.")
51
+ def authenticate_with_callback_uri_and_continue(cls, request_uri: windows_foundation.Uri, callback_uri: windows_foundation.Uri, /) -> None: ...
52
+ # Deprecated alias of authenticate_and_continue() for pywinrt v3.x compatibility.
53
+ # System.Void Windows.Security.Authentication.Web.WebAuthenticationBroker::AuthenticateAndContinue(Windows.Foundation.Uri,Windows.Foundation.Uri,Windows.Foundation.Collections.ValueSet,Windows.Security.Authentication.Web.WebAuthenticationOptions)
54
+ @deprecated("Use authenticate_and_continue() instead.")
55
+ def authenticate_with_callback_uri_continuation_data_and_options_and_continue(cls, request_uri: windows_foundation.Uri, callback_uri: windows_foundation.Uri, continuation_data: windows_foundation_collections.ValueSet, options: WebAuthenticationOptions, /) -> None: ...
56
+ @typing.overload
57
+ # Windows.Foundation.IAsyncOperation`1<Windows.Security.Authentication.Web.WebAuthenticationResult> Windows.Security.Authentication.Web.WebAuthenticationBroker::AuthenticateAsync(Windows.Security.Authentication.Web.WebAuthenticationOptions,Windows.Foundation.Uri)
58
+ def authenticate_async(cls, options: WebAuthenticationOptions, request_uri: windows_foundation.Uri, /) -> windows_foundation.IAsyncOperation[WebAuthenticationResult]: ...
59
+ @typing.overload
60
+ # Windows.Foundation.IAsyncOperation`1<Windows.Security.Authentication.Web.WebAuthenticationResult> Windows.Security.Authentication.Web.WebAuthenticationBroker::AuthenticateAsync(Windows.Security.Authentication.Web.WebAuthenticationOptions,Windows.Foundation.Uri,Windows.Foundation.Uri)
61
+ def authenticate_async(cls, options: WebAuthenticationOptions, request_uri: windows_foundation.Uri, callback_uri: windows_foundation.Uri, /) -> windows_foundation.IAsyncOperation[WebAuthenticationResult]: ...
62
+ # Deprecated alias of authenticate_async() for pywinrt v3.x compatibility.
63
+ # Windows.Foundation.IAsyncOperation`1<Windows.Security.Authentication.Web.WebAuthenticationResult> Windows.Security.Authentication.Web.WebAuthenticationBroker::AuthenticateAsync(Windows.Security.Authentication.Web.WebAuthenticationOptions,Windows.Foundation.Uri,Windows.Foundation.Uri)
64
+ @deprecated("Use authenticate_async() instead.")
65
+ def authenticate_with_callback_uri_async(cls, options: WebAuthenticationOptions, request_uri: windows_foundation.Uri, callback_uri: windows_foundation.Uri, /) -> windows_foundation.IAsyncOperation[WebAuthenticationResult]: ...
66
+ # Deprecated alias of authenticate_async() for pywinrt v3.x compatibility.
67
+ # Windows.Foundation.IAsyncOperation`1<Windows.Security.Authentication.Web.WebAuthenticationResult> Windows.Security.Authentication.Web.WebAuthenticationBroker::AuthenticateAsync(Windows.Security.Authentication.Web.WebAuthenticationOptions,Windows.Foundation.Uri)
68
+ @deprecated("Use authenticate_async() instead.")
69
+ def authenticate_without_callback_uri_async(cls, options: WebAuthenticationOptions, request_uri: windows_foundation.Uri, /) -> windows_foundation.IAsyncOperation[WebAuthenticationResult]: ...
70
+ @typing.overload
71
+ # Windows.Foundation.IAsyncOperation`1<Windows.Security.Authentication.Web.WebAuthenticationResult> Windows.Security.Authentication.Web.WebAuthenticationBroker::AuthenticateSilentlyAsync(Windows.Foundation.Uri)
72
+ def authenticate_silently_async(cls, request_uri: windows_foundation.Uri, /) -> windows_foundation.IAsyncOperation[WebAuthenticationResult]: ...
73
+ @typing.overload
74
+ # Windows.Foundation.IAsyncOperation`1<Windows.Security.Authentication.Web.WebAuthenticationResult> Windows.Security.Authentication.Web.WebAuthenticationBroker::AuthenticateSilentlyAsync(Windows.Foundation.Uri,Windows.Security.Authentication.Web.WebAuthenticationOptions)
75
+ def authenticate_silently_async(cls, request_uri: windows_foundation.Uri, options: WebAuthenticationOptions, /) -> windows_foundation.IAsyncOperation[WebAuthenticationResult]: ...
76
+ # Deprecated alias of authenticate_silently_async() for pywinrt v3.x compatibility.
77
+ # Windows.Foundation.IAsyncOperation`1<Windows.Security.Authentication.Web.WebAuthenticationResult> Windows.Security.Authentication.Web.WebAuthenticationBroker::AuthenticateSilentlyAsync(Windows.Foundation.Uri,Windows.Security.Authentication.Web.WebAuthenticationOptions)
78
+ @deprecated("Use authenticate_silently_async() instead.")
79
+ def authenticate_silently_with_options_async(cls, request_uri: windows_foundation.Uri, options: WebAuthenticationOptions, /) -> windows_foundation.IAsyncOperation[WebAuthenticationResult]: ...
80
+ # Windows.Foundation.Uri Windows.Security.Authentication.Web.WebAuthenticationBroker::GetCurrentApplicationCallbackUri()
81
+ def get_current_application_callback_uri(cls) -> windows_foundation.Uri: ...
82
+
83
+ @typing.final
84
+ class WebAuthenticationBroker(winrt.system.Object, metaclass=WebAuthenticationBroker_Static):
85
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
86
+ """A class of static members only, so there is nothing to create."""
87
+
88
+ @typing.final
89
+ class WebAuthenticationResult(winrt.system.Object):
90
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
91
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
92
+ # System.String Windows.Security.Authentication.Web.WebAuthenticationResult::get_ResponseData()
93
+ @_property
94
+ def response_data(self) -> str: ...
95
+ # System.UInt32 Windows.Security.Authentication.Web.WebAuthenticationResult::get_ResponseErrorDetail()
96
+ @_property
97
+ def response_error_detail(self) -> winrt.system.UInt32: ...
98
+ # Windows.Security.Authentication.Web.WebAuthenticationStatus Windows.Security.Authentication.Web.WebAuthenticationResult::get_ResponseStatus()
99
+ @_property
100
+ def response_status(self) -> WebAuthenticationStatus: ...
101
+
File without changes
@@ -0,0 +1,46 @@
1
+ Metadata-Version: 2.5
2
+ Name: winrt-Windows.Security.Authentication.Web
3
+ Version: 4!10.0.28000.2705
4
+ Summary: PyWinRT projection of the Windows.Security.Authentication.Web 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
+ Description-Content-Type: text/markdown
29
+
30
+ <!-- warning: Please don't edit this file. It was automatically generated. -->
31
+
32
+ # winrt-Windows.Security.Authentication.Web
33
+
34
+ Windows Runtime (WinRT) APIs for the `Windows.Security.Authentication.Web` namespace.
35
+
36
+ This package provides the `winrt.windows.security.authentication.web` 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.Authentication.Web
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/authentication/web/__init__.py,sha256=S2Tmgf2GQi6qsf49FAfrP4esI8OXinVHHEaFuh6F4wo,1080
2
+ winrt/windows/security/authentication/web/__init__.pyi,sha256=wOhE9OxJyJDPz6MhxBcYQwKb09Nwbepe1pDRO4Yt8XQ,8079
3
+ winrt/windows/security/authentication/web/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
+ winrt/windows/security/authentication/web/_table.pywinrt,sha256=0TpP1n37pYzJG6MoquJdKhp1JHQNmSLpUruiiDfq34Q,5720
5
+ winrt_windows_security_authentication_web-4!10.0.28000.2705.dist-info/METADATA,sha256=8lAwrCsPhcHXvALQ-kyX9rHi6WkOdlfLj2hq5VDGE0I,2019
6
+ winrt_windows_security_authentication_web-4!10.0.28000.2705.dist-info/WHEEL,sha256=W3fkpkm7-wf9vBI5Z-7s0eWkeM-spu78I8Neb98DeEg,87
7
+ winrt_windows_security_authentication_web-4!10.0.28000.2705.dist-info/licenses/LICENSE,sha256=dyVKOMqPV0fimbzMhqN3zpg6K6Y2OlekwrdfiZTBm8M,1225
8
+ winrt_windows_security_authentication_web-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