winrt-Windows.Security.Authentication.Web 2.1.0__tar.gz → 2.3.0__tar.gz
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_authentication_web-2.1.0 → winrt_windows_security_authentication_web-2.3.0}/PKG-INFO +5 -5
- winrt_windows_security_authentication_web-2.3.0/all-requirements.txt +4 -0
- {winrt_windows_security_authentication_web-2.1.0 → winrt_windows_security_authentication_web-2.3.0}/py.Windows.Security.Authentication.Web.cpp +93 -14
- {winrt_windows_security_authentication_web-2.1.0 → winrt_windows_security_authentication_web-2.3.0}/pyproject.toml +3 -2
- winrt_windows_security_authentication_web-2.3.0/pywinrt-version.txt +1 -0
- {winrt_windows_security_authentication_web-2.1.0 → winrt_windows_security_authentication_web-2.3.0}/requirements.txt +2 -2
- {winrt_windows_security_authentication_web-2.1.0 → winrt_windows_security_authentication_web-2.3.0}/winrt/_winrt_windows_security_authentication_web.pyi +1 -1
- {winrt_windows_security_authentication_web-2.1.0 → winrt_windows_security_authentication_web-2.3.0}/winrt/windows/security/authentication/web/__init__.py +1 -1
- {winrt_windows_security_authentication_web-2.1.0 → winrt_windows_security_authentication_web-2.3.0}/winrt_Windows.Security.Authentication.Web.egg-info/PKG-INFO +5 -5
- winrt_windows_security_authentication_web-2.3.0/winrt_Windows.Security.Authentication.Web.egg-info/requires.txt +5 -0
- winrt_windows_security_authentication_web-2.1.0/all-requirements.txt +0 -4
- winrt_windows_security_authentication_web-2.1.0/pywinrt-version.txt +0 -1
- winrt_windows_security_authentication_web-2.1.0/winrt_Windows.Security.Authentication.Web.egg-info/requires.txt +0 -5
- {winrt_windows_security_authentication_web-2.1.0 → winrt_windows_security_authentication_web-2.3.0}/README.md +0 -0
- {winrt_windows_security_authentication_web-2.1.0 → winrt_windows_security_authentication_web-2.3.0}/setup.cfg +0 -0
- {winrt_windows_security_authentication_web-2.1.0 → winrt_windows_security_authentication_web-2.3.0}/setup.py +0 -0
- {winrt_windows_security_authentication_web-2.1.0 → winrt_windows_security_authentication_web-2.3.0}/winrt/windows/security/authentication/web/py.typed +0 -0
- {winrt_windows_security_authentication_web-2.1.0 → winrt_windows_security_authentication_web-2.3.0}/winrt_Windows.Security.Authentication.Web.egg-info/SOURCES.txt +0 -0
- {winrt_windows_security_authentication_web-2.1.0 → winrt_windows_security_authentication_web-2.3.0}/winrt_Windows.Security.Authentication.Web.egg-info/dependency_links.txt +0 -0
- {winrt_windows_security_authentication_web-2.1.0 → winrt_windows_security_authentication_web-2.3.0}/winrt_Windows.Security.Authentication.Web.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: winrt-Windows.Security.Authentication.Web
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.3.0
|
|
4
4
|
Summary: Python projection of Windows Runtime (WinRT) APIs
|
|
5
5
|
License: MIT
|
|
6
6
|
Project-URL: Documentation, https://pywinrt.readthedocs.io
|
|
@@ -10,12 +10,12 @@ Classifier: Operating System :: Microsoft :: Windows
|
|
|
10
10
|
Classifier: Programming Language :: Python :: 3
|
|
11
11
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
12
12
|
Classifier: Intended Audience :: Developers
|
|
13
|
-
Requires-Python: <3.
|
|
13
|
+
Requires-Python: <3.14,>=3.9
|
|
14
14
|
Description-Content-Type: text/markdown
|
|
15
|
-
Requires-Dist: winrt-runtime==2.
|
|
15
|
+
Requires-Dist: winrt-runtime==2.3.0
|
|
16
16
|
Provides-Extra: all
|
|
17
|
-
Requires-Dist: winrt-Windows.Foundation[all]==2.
|
|
18
|
-
Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.
|
|
17
|
+
Requires-Dist: winrt-Windows.Foundation[all]==2.3.0; extra == "all"
|
|
18
|
+
Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.3.0; extra == "all"
|
|
19
19
|
|
|
20
20
|
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
21
21
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// WARNING: Please don't edit this file. It was generated by Python/WinRT v2.
|
|
1
|
+
// WARNING: Please don't edit this file. It was generated by Python/WinRT v2.3.0
|
|
2
2
|
|
|
3
3
|
#include "py.Windows.Security.Authentication.Web.h"
|
|
4
4
|
|
|
@@ -21,7 +21,14 @@ namespace py::cpp::Windows::Security::Authentication::Web
|
|
|
21
21
|
{
|
|
22
22
|
try
|
|
23
23
|
{
|
|
24
|
-
|
|
24
|
+
static std::optional<bool> is_overload_present{};
|
|
25
|
+
|
|
26
|
+
if (!is_overload_present.has_value())
|
|
27
|
+
{
|
|
28
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Security.Authentication.Web.WebAuthenticationBroker", L"AuthenticateAndContinue", 1);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
if (!is_overload_present.value())
|
|
25
32
|
{
|
|
26
33
|
py::set_arg_count_version_error(1);
|
|
27
34
|
return nullptr;
|
|
@@ -42,7 +49,14 @@ namespace py::cpp::Windows::Security::Authentication::Web
|
|
|
42
49
|
{
|
|
43
50
|
try
|
|
44
51
|
{
|
|
45
|
-
|
|
52
|
+
static std::optional<bool> is_overload_present{};
|
|
53
|
+
|
|
54
|
+
if (!is_overload_present.has_value())
|
|
55
|
+
{
|
|
56
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Security.Authentication.Web.WebAuthenticationBroker", L"AuthenticateAndContinue", 2);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
if (!is_overload_present.value())
|
|
46
60
|
{
|
|
47
61
|
py::set_arg_count_version_error(2);
|
|
48
62
|
return nullptr;
|
|
@@ -64,7 +78,14 @@ namespace py::cpp::Windows::Security::Authentication::Web
|
|
|
64
78
|
{
|
|
65
79
|
try
|
|
66
80
|
{
|
|
67
|
-
|
|
81
|
+
static std::optional<bool> is_overload_present{};
|
|
82
|
+
|
|
83
|
+
if (!is_overload_present.has_value())
|
|
84
|
+
{
|
|
85
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Security.Authentication.Web.WebAuthenticationBroker", L"AuthenticateAndContinue", 4);
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
if (!is_overload_present.value())
|
|
68
89
|
{
|
|
69
90
|
py::set_arg_count_version_error(4);
|
|
70
91
|
return nullptr;
|
|
@@ -99,7 +120,14 @@ namespace py::cpp::Windows::Security::Authentication::Web
|
|
|
99
120
|
{
|
|
100
121
|
try
|
|
101
122
|
{
|
|
102
|
-
|
|
123
|
+
static std::optional<bool> is_overload_present{};
|
|
124
|
+
|
|
125
|
+
if (!is_overload_present.has_value())
|
|
126
|
+
{
|
|
127
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Security.Authentication.Web.WebAuthenticationBroker", L"AuthenticateAsync", 2);
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
if (!is_overload_present.value())
|
|
103
131
|
{
|
|
104
132
|
py::set_arg_count_version_error(2);
|
|
105
133
|
return nullptr;
|
|
@@ -120,7 +148,14 @@ namespace py::cpp::Windows::Security::Authentication::Web
|
|
|
120
148
|
{
|
|
121
149
|
try
|
|
122
150
|
{
|
|
123
|
-
|
|
151
|
+
static std::optional<bool> is_overload_present{};
|
|
152
|
+
|
|
153
|
+
if (!is_overload_present.has_value())
|
|
154
|
+
{
|
|
155
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Security.Authentication.Web.WebAuthenticationBroker", L"AuthenticateAsync", 3);
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
if (!is_overload_present.value())
|
|
124
159
|
{
|
|
125
160
|
py::set_arg_count_version_error(3);
|
|
126
161
|
return nullptr;
|
|
@@ -153,7 +188,14 @@ namespace py::cpp::Windows::Security::Authentication::Web
|
|
|
153
188
|
{
|
|
154
189
|
try
|
|
155
190
|
{
|
|
156
|
-
|
|
191
|
+
static std::optional<bool> is_overload_present{};
|
|
192
|
+
|
|
193
|
+
if (!is_overload_present.has_value())
|
|
194
|
+
{
|
|
195
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Security.Authentication.Web.WebAuthenticationBroker", L"AuthenticateSilentlyAsync", 1);
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
if (!is_overload_present.value())
|
|
157
199
|
{
|
|
158
200
|
py::set_arg_count_version_error(1);
|
|
159
201
|
return nullptr;
|
|
@@ -173,7 +215,14 @@ namespace py::cpp::Windows::Security::Authentication::Web
|
|
|
173
215
|
{
|
|
174
216
|
try
|
|
175
217
|
{
|
|
176
|
-
|
|
218
|
+
static std::optional<bool> is_overload_present{};
|
|
219
|
+
|
|
220
|
+
if (!is_overload_present.has_value())
|
|
221
|
+
{
|
|
222
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Security.Authentication.Web.WebAuthenticationBroker", L"AuthenticateSilentlyAsync", 2);
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
if (!is_overload_present.value())
|
|
177
226
|
{
|
|
178
227
|
py::set_arg_count_version_error(2);
|
|
179
228
|
return nullptr;
|
|
@@ -205,7 +254,14 @@ namespace py::cpp::Windows::Security::Authentication::Web
|
|
|
205
254
|
{
|
|
206
255
|
try
|
|
207
256
|
{
|
|
208
|
-
|
|
257
|
+
static std::optional<bool> is_overload_present{};
|
|
258
|
+
|
|
259
|
+
if (!is_overload_present.has_value())
|
|
260
|
+
{
|
|
261
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Security.Authentication.Web.WebAuthenticationBroker", L"GetCurrentApplicationCallbackUri", 0);
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
if (!is_overload_present.value())
|
|
209
265
|
{
|
|
210
266
|
py::set_arg_count_version_error(0);
|
|
211
267
|
return nullptr;
|
|
@@ -298,7 +354,14 @@ namespace py::cpp::Windows::Security::Authentication::Web
|
|
|
298
354
|
{
|
|
299
355
|
try
|
|
300
356
|
{
|
|
301
|
-
|
|
357
|
+
static std::optional<bool> is_property_present{};
|
|
358
|
+
|
|
359
|
+
if (!is_property_present.has_value())
|
|
360
|
+
{
|
|
361
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Security.Authentication.Web.WebAuthenticationResult", L"ResponseData");
|
|
362
|
+
}
|
|
363
|
+
|
|
364
|
+
if (!is_property_present.value())
|
|
302
365
|
{
|
|
303
366
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
304
367
|
return nullptr;
|
|
@@ -317,7 +380,14 @@ namespace py::cpp::Windows::Security::Authentication::Web
|
|
|
317
380
|
{
|
|
318
381
|
try
|
|
319
382
|
{
|
|
320
|
-
|
|
383
|
+
static std::optional<bool> is_property_present{};
|
|
384
|
+
|
|
385
|
+
if (!is_property_present.has_value())
|
|
386
|
+
{
|
|
387
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Security.Authentication.Web.WebAuthenticationResult", L"ResponseErrorDetail");
|
|
388
|
+
}
|
|
389
|
+
|
|
390
|
+
if (!is_property_present.value())
|
|
321
391
|
{
|
|
322
392
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
323
393
|
return nullptr;
|
|
@@ -336,7 +406,14 @@ namespace py::cpp::Windows::Security::Authentication::Web
|
|
|
336
406
|
{
|
|
337
407
|
try
|
|
338
408
|
{
|
|
339
|
-
|
|
409
|
+
static std::optional<bool> is_property_present{};
|
|
410
|
+
|
|
411
|
+
if (!is_property_present.has_value())
|
|
412
|
+
{
|
|
413
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Security.Authentication.Web.WebAuthenticationResult", L"ResponseStatus");
|
|
414
|
+
}
|
|
415
|
+
|
|
416
|
+
if (!is_property_present.value())
|
|
340
417
|
{
|
|
341
418
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
342
419
|
return nullptr;
|
|
@@ -454,12 +531,14 @@ PyMODINIT_FUNC PyInit__winrt_windows_security_authentication_web(void) noexcept
|
|
|
454
531
|
return nullptr;
|
|
455
532
|
}
|
|
456
533
|
|
|
457
|
-
|
|
534
|
+
py::pytype_handle WebAuthenticationBroker_type{py::register_python_type(module.get(), &type_spec_WebAuthenticationBroker, object_bases.get(), reinterpret_cast<PyTypeObject*>(type_WebAuthenticationBroker_Static.get()))};
|
|
535
|
+
if (!WebAuthenticationBroker_type)
|
|
458
536
|
{
|
|
459
537
|
return nullptr;
|
|
460
538
|
}
|
|
461
539
|
|
|
462
|
-
|
|
540
|
+
py::pytype_handle WebAuthenticationResult_type{py::register_python_type(module.get(), &type_spec_WebAuthenticationResult, object_bases.get(), nullptr)};
|
|
541
|
+
if (!WebAuthenticationResult_type)
|
|
463
542
|
{
|
|
464
543
|
return nullptr;
|
|
465
544
|
}
|
|
@@ -16,7 +16,7 @@ classifiers = [
|
|
|
16
16
|
"Intended Audience :: Developers",
|
|
17
17
|
]
|
|
18
18
|
dynamic = ["version", "dependencies", "optional-dependencies"]
|
|
19
|
-
requires-python = ">=3.9,<3.
|
|
19
|
+
requires-python = ">=3.9,<3.14"
|
|
20
20
|
|
|
21
21
|
[project.urls]
|
|
22
22
|
# Homepage = "https://github.com/pywinrt/pywinrt"
|
|
@@ -36,7 +36,8 @@ optional-dependencies.all = { file = "all-requirements.txt" }
|
|
|
36
36
|
# use local winrt-sdk build dependency
|
|
37
37
|
environment = { PYTHONPATH="../winrt-sdk/src" }
|
|
38
38
|
# don't install winrt-sdk from PyPI
|
|
39
|
-
build-frontend = { name = "build", args = ["--skip-dependency-check", "--no-isolation"] }
|
|
39
|
+
build-frontend = { name = "build[uv]", args = ["--skip-dependency-check", "--no-isolation"] }
|
|
40
|
+
before-build = "uv pip install setuptools"
|
|
40
41
|
# don't build for PyPy
|
|
41
42
|
skip = "pp*"
|
|
42
43
|
# suppress warnings about ARM64 testing
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
2.3.0
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.3.0
|
|
2
2
|
|
|
3
|
-
winrt-runtime==2.
|
|
3
|
+
winrt-runtime==2.3.0
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: winrt-Windows.Security.Authentication.Web
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.3.0
|
|
4
4
|
Summary: Python projection of Windows Runtime (WinRT) APIs
|
|
5
5
|
License: MIT
|
|
6
6
|
Project-URL: Documentation, https://pywinrt.readthedocs.io
|
|
@@ -10,12 +10,12 @@ Classifier: Operating System :: Microsoft :: Windows
|
|
|
10
10
|
Classifier: Programming Language :: Python :: 3
|
|
11
11
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
12
12
|
Classifier: Intended Audience :: Developers
|
|
13
|
-
Requires-Python: <3.
|
|
13
|
+
Requires-Python: <3.14,>=3.9
|
|
14
14
|
Description-Content-Type: text/markdown
|
|
15
|
-
Requires-Dist: winrt-runtime==2.
|
|
15
|
+
Requires-Dist: winrt-runtime==2.3.0
|
|
16
16
|
Provides-Extra: all
|
|
17
|
-
Requires-Dist: winrt-Windows.Foundation[all]==2.
|
|
18
|
-
Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.
|
|
17
|
+
Requires-Dist: winrt-Windows.Foundation[all]==2.3.0; extra == "all"
|
|
18
|
+
Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.3.0; extra == "all"
|
|
19
19
|
|
|
20
20
|
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
21
21
|
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
2.1.0
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|