winrt-Windows.Security.Authentication.Web.Core 2.1.0__tar.gz → 2.2.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_core-2.1.0 → winrt_windows_security_authentication_web_core-2.2.0}/PKG-INFO +7 -7
- winrt_windows_security_authentication_web_core-2.2.0/all-requirements.txt +6 -0
- {winrt_windows_security_authentication_web_core-2.1.0 → winrt_windows_security_authentication_web_core-2.2.0}/py.Windows.Security.Authentication.Web.Core.cpp +386 -63
- {winrt_windows_security_authentication_web_core-2.1.0 → winrt_windows_security_authentication_web_core-2.2.0}/pyproject.toml +3 -2
- winrt_windows_security_authentication_web_core-2.2.0/pywinrt-version.txt +1 -0
- {winrt_windows_security_authentication_web_core-2.1.0 → winrt_windows_security_authentication_web_core-2.2.0}/requirements.txt +2 -2
- {winrt_windows_security_authentication_web_core-2.1.0 → winrt_windows_security_authentication_web_core-2.2.0}/winrt/_winrt_windows_security_authentication_web_core.pyi +1 -1
- {winrt_windows_security_authentication_web_core-2.1.0 → winrt_windows_security_authentication_web_core-2.2.0}/winrt/windows/security/authentication/web/core/__init__.py +1 -1
- {winrt_windows_security_authentication_web_core-2.1.0 → winrt_windows_security_authentication_web_core-2.2.0}/winrt_Windows.Security.Authentication.Web.Core.egg-info/PKG-INFO +7 -7
- winrt_windows_security_authentication_web_core-2.2.0/winrt_Windows.Security.Authentication.Web.Core.egg-info/requires.txt +7 -0
- winrt_windows_security_authentication_web_core-2.1.0/all-requirements.txt +0 -6
- winrt_windows_security_authentication_web_core-2.1.0/pywinrt-version.txt +0 -1
- winrt_windows_security_authentication_web_core-2.1.0/winrt_Windows.Security.Authentication.Web.Core.egg-info/requires.txt +0 -7
- {winrt_windows_security_authentication_web_core-2.1.0 → winrt_windows_security_authentication_web_core-2.2.0}/README.md +0 -0
- {winrt_windows_security_authentication_web_core-2.1.0 → winrt_windows_security_authentication_web_core-2.2.0}/setup.cfg +0 -0
- {winrt_windows_security_authentication_web_core-2.1.0 → winrt_windows_security_authentication_web_core-2.2.0}/setup.py +0 -0
- {winrt_windows_security_authentication_web_core-2.1.0 → winrt_windows_security_authentication_web_core-2.2.0}/winrt/windows/security/authentication/web/core/py.typed +0 -0
- {winrt_windows_security_authentication_web_core-2.1.0 → winrt_windows_security_authentication_web_core-2.2.0}/winrt_Windows.Security.Authentication.Web.Core.egg-info/SOURCES.txt +0 -0
- {winrt_windows_security_authentication_web_core-2.1.0 → winrt_windows_security_authentication_web_core-2.2.0}/winrt_Windows.Security.Authentication.Web.Core.egg-info/dependency_links.txt +0 -0
- {winrt_windows_security_authentication_web_core-2.1.0 → winrt_windows_security_authentication_web_core-2.2.0}/winrt_Windows.Security.Authentication.Web.Core.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.Core
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.2.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,14 +10,14 @@ 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.2.0
|
|
16
16
|
Provides-Extra: all
|
|
17
|
-
Requires-Dist: winrt-Windows.Foundation[all]==2.
|
|
18
|
-
Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.
|
|
19
|
-
Requires-Dist: winrt-Windows.Security.Credentials[all]==2.
|
|
20
|
-
Requires-Dist: winrt-Windows.System[all]==2.
|
|
17
|
+
Requires-Dist: winrt-Windows.Foundation[all]==2.2.0; extra == "all"
|
|
18
|
+
Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.2.0; extra == "all"
|
|
19
|
+
Requires-Dist: winrt-Windows.Security.Credentials[all]==2.2.0; extra == "all"
|
|
20
|
+
Requires-Dist: winrt-Windows.System[all]==2.2.0; extra == "all"
|
|
21
21
|
|
|
22
22
|
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
23
23
|
|
|
@@ -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.2.0
|
|
2
2
|
|
|
3
3
|
#include "py.Windows.Security.Authentication.Web.Core.h"
|
|
4
4
|
|
|
@@ -25,7 +25,14 @@ namespace py::cpp::Windows::Security::Authentication::Web::Core
|
|
|
25
25
|
{
|
|
26
26
|
try
|
|
27
27
|
{
|
|
28
|
-
|
|
28
|
+
static std::optional<bool> is_property_present{};
|
|
29
|
+
|
|
30
|
+
if (!is_property_present.has_value())
|
|
31
|
+
{
|
|
32
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Security.Authentication.Web.Core.FindAllAccountsResult", L"Accounts");
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
if (!is_property_present.value())
|
|
29
36
|
{
|
|
30
37
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
31
38
|
return nullptr;
|
|
@@ -44,7 +51,14 @@ namespace py::cpp::Windows::Security::Authentication::Web::Core
|
|
|
44
51
|
{
|
|
45
52
|
try
|
|
46
53
|
{
|
|
47
|
-
|
|
54
|
+
static std::optional<bool> is_property_present{};
|
|
55
|
+
|
|
56
|
+
if (!is_property_present.has_value())
|
|
57
|
+
{
|
|
58
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Security.Authentication.Web.Core.FindAllAccountsResult", L"ProviderError");
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
if (!is_property_present.value())
|
|
48
62
|
{
|
|
49
63
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
50
64
|
return nullptr;
|
|
@@ -63,7 +77,14 @@ namespace py::cpp::Windows::Security::Authentication::Web::Core
|
|
|
63
77
|
{
|
|
64
78
|
try
|
|
65
79
|
{
|
|
66
|
-
|
|
80
|
+
static std::optional<bool> is_property_present{};
|
|
81
|
+
|
|
82
|
+
if (!is_property_present.has_value())
|
|
83
|
+
{
|
|
84
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Security.Authentication.Web.Core.FindAllAccountsResult", L"Status");
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
if (!is_property_present.value())
|
|
67
88
|
{
|
|
68
89
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
69
90
|
return nullptr;
|
|
@@ -151,7 +172,14 @@ namespace py::cpp::Windows::Security::Authentication::Web::Core
|
|
|
151
172
|
{
|
|
152
173
|
try
|
|
153
174
|
{
|
|
154
|
-
|
|
175
|
+
static std::optional<bool> is_property_present{};
|
|
176
|
+
|
|
177
|
+
if (!is_property_present.has_value())
|
|
178
|
+
{
|
|
179
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Security.Authentication.Web.Core.WebAccountEventArgs", L"Account");
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
if (!is_property_present.value())
|
|
155
183
|
{
|
|
156
184
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
157
185
|
return nullptr;
|
|
@@ -237,7 +265,14 @@ namespace py::cpp::Windows::Security::Authentication::Web::Core
|
|
|
237
265
|
{
|
|
238
266
|
try
|
|
239
267
|
{
|
|
240
|
-
|
|
268
|
+
static std::optional<bool> is_event_present{};
|
|
269
|
+
|
|
270
|
+
if (!is_event_present.has_value())
|
|
271
|
+
{
|
|
272
|
+
is_event_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsEventPresent(L"Windows.Security.Authentication.Web.Core.WebAccountMonitor", L"DefaultSignInAccountChanged");
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
if (!is_event_present.value())
|
|
241
276
|
{
|
|
242
277
|
PyErr_SetString(PyExc_AttributeError, "event is not available in this version of Windows");
|
|
243
278
|
return nullptr;
|
|
@@ -258,7 +293,14 @@ namespace py::cpp::Windows::Security::Authentication::Web::Core
|
|
|
258
293
|
{
|
|
259
294
|
try
|
|
260
295
|
{
|
|
261
|
-
|
|
296
|
+
static std::optional<bool> is_event_present{};
|
|
297
|
+
|
|
298
|
+
if (!is_event_present.has_value())
|
|
299
|
+
{
|
|
300
|
+
is_event_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsEventPresent(L"Windows.Security.Authentication.Web.Core.WebAccountMonitor", L"DefaultSignInAccountChanged");
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
if (!is_event_present.value())
|
|
262
304
|
{
|
|
263
305
|
PyErr_SetString(PyExc_AttributeError, "event is not available in this version of Windows");
|
|
264
306
|
return nullptr;
|
|
@@ -280,7 +322,14 @@ namespace py::cpp::Windows::Security::Authentication::Web::Core
|
|
|
280
322
|
{
|
|
281
323
|
try
|
|
282
324
|
{
|
|
283
|
-
|
|
325
|
+
static std::optional<bool> is_event_present{};
|
|
326
|
+
|
|
327
|
+
if (!is_event_present.has_value())
|
|
328
|
+
{
|
|
329
|
+
is_event_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsEventPresent(L"Windows.Security.Authentication.Web.Core.WebAccountMonitor", L"Removed");
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
if (!is_event_present.value())
|
|
284
333
|
{
|
|
285
334
|
PyErr_SetString(PyExc_AttributeError, "event is not available in this version of Windows");
|
|
286
335
|
return nullptr;
|
|
@@ -301,7 +350,14 @@ namespace py::cpp::Windows::Security::Authentication::Web::Core
|
|
|
301
350
|
{
|
|
302
351
|
try
|
|
303
352
|
{
|
|
304
|
-
|
|
353
|
+
static std::optional<bool> is_event_present{};
|
|
354
|
+
|
|
355
|
+
if (!is_event_present.has_value())
|
|
356
|
+
{
|
|
357
|
+
is_event_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsEventPresent(L"Windows.Security.Authentication.Web.Core.WebAccountMonitor", L"Removed");
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
if (!is_event_present.value())
|
|
305
361
|
{
|
|
306
362
|
PyErr_SetString(PyExc_AttributeError, "event is not available in this version of Windows");
|
|
307
363
|
return nullptr;
|
|
@@ -323,7 +379,14 @@ namespace py::cpp::Windows::Security::Authentication::Web::Core
|
|
|
323
379
|
{
|
|
324
380
|
try
|
|
325
381
|
{
|
|
326
|
-
|
|
382
|
+
static std::optional<bool> is_event_present{};
|
|
383
|
+
|
|
384
|
+
if (!is_event_present.has_value())
|
|
385
|
+
{
|
|
386
|
+
is_event_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsEventPresent(L"Windows.Security.Authentication.Web.Core.WebAccountMonitor", L"Updated");
|
|
387
|
+
}
|
|
388
|
+
|
|
389
|
+
if (!is_event_present.value())
|
|
327
390
|
{
|
|
328
391
|
PyErr_SetString(PyExc_AttributeError, "event is not available in this version of Windows");
|
|
329
392
|
return nullptr;
|
|
@@ -344,7 +407,14 @@ namespace py::cpp::Windows::Security::Authentication::Web::Core
|
|
|
344
407
|
{
|
|
345
408
|
try
|
|
346
409
|
{
|
|
347
|
-
|
|
410
|
+
static std::optional<bool> is_event_present{};
|
|
411
|
+
|
|
412
|
+
if (!is_event_present.has_value())
|
|
413
|
+
{
|
|
414
|
+
is_event_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsEventPresent(L"Windows.Security.Authentication.Web.Core.WebAccountMonitor", L"Updated");
|
|
415
|
+
}
|
|
416
|
+
|
|
417
|
+
if (!is_event_present.value())
|
|
348
418
|
{
|
|
349
419
|
PyErr_SetString(PyExc_AttributeError, "event is not available in this version of Windows");
|
|
350
420
|
return nullptr;
|
|
@@ -366,7 +436,14 @@ namespace py::cpp::Windows::Security::Authentication::Web::Core
|
|
|
366
436
|
{
|
|
367
437
|
try
|
|
368
438
|
{
|
|
369
|
-
|
|
439
|
+
static std::optional<bool> is_event_present{};
|
|
440
|
+
|
|
441
|
+
if (!is_event_present.has_value())
|
|
442
|
+
{
|
|
443
|
+
is_event_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsEventPresent(L"Windows.Security.Authentication.Web.Core.WebAccountMonitor", L"AccountPictureUpdated");
|
|
444
|
+
}
|
|
445
|
+
|
|
446
|
+
if (!is_event_present.value())
|
|
370
447
|
{
|
|
371
448
|
PyErr_SetString(PyExc_AttributeError, "event is not available in this version of Windows");
|
|
372
449
|
return nullptr;
|
|
@@ -387,7 +464,14 @@ namespace py::cpp::Windows::Security::Authentication::Web::Core
|
|
|
387
464
|
{
|
|
388
465
|
try
|
|
389
466
|
{
|
|
390
|
-
|
|
467
|
+
static std::optional<bool> is_event_present{};
|
|
468
|
+
|
|
469
|
+
if (!is_event_present.has_value())
|
|
470
|
+
{
|
|
471
|
+
is_event_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsEventPresent(L"Windows.Security.Authentication.Web.Core.WebAccountMonitor", L"AccountPictureUpdated");
|
|
472
|
+
}
|
|
473
|
+
|
|
474
|
+
if (!is_event_present.value())
|
|
391
475
|
{
|
|
392
476
|
PyErr_SetString(PyExc_AttributeError, "event is not available in this version of Windows");
|
|
393
477
|
return nullptr;
|
|
@@ -479,7 +563,14 @@ namespace py::cpp::Windows::Security::Authentication::Web::Core
|
|
|
479
563
|
{
|
|
480
564
|
try
|
|
481
565
|
{
|
|
482
|
-
|
|
566
|
+
static std::optional<bool> is_overload_present{};
|
|
567
|
+
|
|
568
|
+
if (!is_overload_present.has_value())
|
|
569
|
+
{
|
|
570
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Security.Authentication.Web.Core.WebAuthenticationCoreManager", L"CreateWebAccountMonitor", 1);
|
|
571
|
+
}
|
|
572
|
+
|
|
573
|
+
if (!is_overload_present.value())
|
|
483
574
|
{
|
|
484
575
|
py::set_arg_count_version_error(1);
|
|
485
576
|
return nullptr;
|
|
@@ -510,7 +601,14 @@ namespace py::cpp::Windows::Security::Authentication::Web::Core
|
|
|
510
601
|
{
|
|
511
602
|
try
|
|
512
603
|
{
|
|
513
|
-
|
|
604
|
+
static std::optional<bool> is_overload_present{};
|
|
605
|
+
|
|
606
|
+
if (!is_overload_present.has_value())
|
|
607
|
+
{
|
|
608
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Security.Authentication.Web.Core.WebAuthenticationCoreManager", L"FindAccountAsync", 2);
|
|
609
|
+
}
|
|
610
|
+
|
|
611
|
+
if (!is_overload_present.value())
|
|
514
612
|
{
|
|
515
613
|
py::set_arg_count_version_error(2);
|
|
516
614
|
return nullptr;
|
|
@@ -542,7 +640,14 @@ namespace py::cpp::Windows::Security::Authentication::Web::Core
|
|
|
542
640
|
{
|
|
543
641
|
try
|
|
544
642
|
{
|
|
545
|
-
|
|
643
|
+
static std::optional<bool> is_overload_present{};
|
|
644
|
+
|
|
645
|
+
if (!is_overload_present.has_value())
|
|
646
|
+
{
|
|
647
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Security.Authentication.Web.Core.WebAuthenticationCoreManager", L"FindAccountProviderAsync", 1);
|
|
648
|
+
}
|
|
649
|
+
|
|
650
|
+
if (!is_overload_present.value())
|
|
546
651
|
{
|
|
547
652
|
py::set_arg_count_version_error(1);
|
|
548
653
|
return nullptr;
|
|
@@ -562,7 +667,14 @@ namespace py::cpp::Windows::Security::Authentication::Web::Core
|
|
|
562
667
|
{
|
|
563
668
|
try
|
|
564
669
|
{
|
|
565
|
-
|
|
670
|
+
static std::optional<bool> is_overload_present{};
|
|
671
|
+
|
|
672
|
+
if (!is_overload_present.has_value())
|
|
673
|
+
{
|
|
674
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Security.Authentication.Web.Core.WebAuthenticationCoreManager", L"FindAccountProviderAsync", 2);
|
|
675
|
+
}
|
|
676
|
+
|
|
677
|
+
if (!is_overload_present.value())
|
|
566
678
|
{
|
|
567
679
|
py::set_arg_count_version_error(2);
|
|
568
680
|
return nullptr;
|
|
@@ -583,7 +695,14 @@ namespace py::cpp::Windows::Security::Authentication::Web::Core
|
|
|
583
695
|
{
|
|
584
696
|
try
|
|
585
697
|
{
|
|
586
|
-
|
|
698
|
+
static std::optional<bool> is_overload_present{};
|
|
699
|
+
|
|
700
|
+
if (!is_overload_present.has_value())
|
|
701
|
+
{
|
|
702
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Security.Authentication.Web.Core.WebAuthenticationCoreManager", L"FindAccountProviderAsync", 3);
|
|
703
|
+
}
|
|
704
|
+
|
|
705
|
+
if (!is_overload_present.value())
|
|
587
706
|
{
|
|
588
707
|
py::set_arg_count_version_error(3);
|
|
589
708
|
return nullptr;
|
|
@@ -616,7 +735,14 @@ namespace py::cpp::Windows::Security::Authentication::Web::Core
|
|
|
616
735
|
{
|
|
617
736
|
try
|
|
618
737
|
{
|
|
619
|
-
|
|
738
|
+
static std::optional<bool> is_overload_present{};
|
|
739
|
+
|
|
740
|
+
if (!is_overload_present.has_value())
|
|
741
|
+
{
|
|
742
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Security.Authentication.Web.Core.WebAuthenticationCoreManager", L"FindAllAccountsAsync", 1);
|
|
743
|
+
}
|
|
744
|
+
|
|
745
|
+
if (!is_overload_present.value())
|
|
620
746
|
{
|
|
621
747
|
py::set_arg_count_version_error(1);
|
|
622
748
|
return nullptr;
|
|
@@ -636,7 +762,14 @@ namespace py::cpp::Windows::Security::Authentication::Web::Core
|
|
|
636
762
|
{
|
|
637
763
|
try
|
|
638
764
|
{
|
|
639
|
-
|
|
765
|
+
static std::optional<bool> is_overload_present{};
|
|
766
|
+
|
|
767
|
+
if (!is_overload_present.has_value())
|
|
768
|
+
{
|
|
769
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Security.Authentication.Web.Core.WebAuthenticationCoreManager", L"FindAllAccountsAsync", 2);
|
|
770
|
+
}
|
|
771
|
+
|
|
772
|
+
if (!is_overload_present.value())
|
|
640
773
|
{
|
|
641
774
|
py::set_arg_count_version_error(2);
|
|
642
775
|
return nullptr;
|
|
@@ -668,7 +801,14 @@ namespace py::cpp::Windows::Security::Authentication::Web::Core
|
|
|
668
801
|
{
|
|
669
802
|
try
|
|
670
803
|
{
|
|
671
|
-
|
|
804
|
+
static std::optional<bool> is_overload_present{};
|
|
805
|
+
|
|
806
|
+
if (!is_overload_present.has_value())
|
|
807
|
+
{
|
|
808
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Security.Authentication.Web.Core.WebAuthenticationCoreManager", L"FindSystemAccountProviderAsync", 1);
|
|
809
|
+
}
|
|
810
|
+
|
|
811
|
+
if (!is_overload_present.value())
|
|
672
812
|
{
|
|
673
813
|
py::set_arg_count_version_error(1);
|
|
674
814
|
return nullptr;
|
|
@@ -688,7 +828,14 @@ namespace py::cpp::Windows::Security::Authentication::Web::Core
|
|
|
688
828
|
{
|
|
689
829
|
try
|
|
690
830
|
{
|
|
691
|
-
|
|
831
|
+
static std::optional<bool> is_overload_present{};
|
|
832
|
+
|
|
833
|
+
if (!is_overload_present.has_value())
|
|
834
|
+
{
|
|
835
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Security.Authentication.Web.Core.WebAuthenticationCoreManager", L"FindSystemAccountProviderAsync", 2);
|
|
836
|
+
}
|
|
837
|
+
|
|
838
|
+
if (!is_overload_present.value())
|
|
692
839
|
{
|
|
693
840
|
py::set_arg_count_version_error(2);
|
|
694
841
|
return nullptr;
|
|
@@ -709,7 +856,14 @@ namespace py::cpp::Windows::Security::Authentication::Web::Core
|
|
|
709
856
|
{
|
|
710
857
|
try
|
|
711
858
|
{
|
|
712
|
-
|
|
859
|
+
static std::optional<bool> is_overload_present{};
|
|
860
|
+
|
|
861
|
+
if (!is_overload_present.has_value())
|
|
862
|
+
{
|
|
863
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Security.Authentication.Web.Core.WebAuthenticationCoreManager", L"FindSystemAccountProviderAsync", 3);
|
|
864
|
+
}
|
|
865
|
+
|
|
866
|
+
if (!is_overload_present.value())
|
|
713
867
|
{
|
|
714
868
|
py::set_arg_count_version_error(3);
|
|
715
869
|
return nullptr;
|
|
@@ -742,7 +896,14 @@ namespace py::cpp::Windows::Security::Authentication::Web::Core
|
|
|
742
896
|
{
|
|
743
897
|
try
|
|
744
898
|
{
|
|
745
|
-
|
|
899
|
+
static std::optional<bool> is_overload_present{};
|
|
900
|
+
|
|
901
|
+
if (!is_overload_present.has_value())
|
|
902
|
+
{
|
|
903
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Security.Authentication.Web.Core.WebAuthenticationCoreManager", L"GetTokenSilentlyAsync", 1);
|
|
904
|
+
}
|
|
905
|
+
|
|
906
|
+
if (!is_overload_present.value())
|
|
746
907
|
{
|
|
747
908
|
py::set_arg_count_version_error(1);
|
|
748
909
|
return nullptr;
|
|
@@ -762,7 +923,14 @@ namespace py::cpp::Windows::Security::Authentication::Web::Core
|
|
|
762
923
|
{
|
|
763
924
|
try
|
|
764
925
|
{
|
|
765
|
-
|
|
926
|
+
static std::optional<bool> is_overload_present{};
|
|
927
|
+
|
|
928
|
+
if (!is_overload_present.has_value())
|
|
929
|
+
{
|
|
930
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Security.Authentication.Web.Core.WebAuthenticationCoreManager", L"GetTokenSilentlyAsync", 2);
|
|
931
|
+
}
|
|
932
|
+
|
|
933
|
+
if (!is_overload_present.value())
|
|
766
934
|
{
|
|
767
935
|
py::set_arg_count_version_error(2);
|
|
768
936
|
return nullptr;
|
|
@@ -794,7 +962,14 @@ namespace py::cpp::Windows::Security::Authentication::Web::Core
|
|
|
794
962
|
{
|
|
795
963
|
try
|
|
796
964
|
{
|
|
797
|
-
|
|
965
|
+
static std::optional<bool> is_overload_present{};
|
|
966
|
+
|
|
967
|
+
if (!is_overload_present.has_value())
|
|
968
|
+
{
|
|
969
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Security.Authentication.Web.Core.WebAuthenticationCoreManager", L"RequestTokenAsync", 1);
|
|
970
|
+
}
|
|
971
|
+
|
|
972
|
+
if (!is_overload_present.value())
|
|
798
973
|
{
|
|
799
974
|
py::set_arg_count_version_error(1);
|
|
800
975
|
return nullptr;
|
|
@@ -814,7 +989,14 @@ namespace py::cpp::Windows::Security::Authentication::Web::Core
|
|
|
814
989
|
{
|
|
815
990
|
try
|
|
816
991
|
{
|
|
817
|
-
|
|
992
|
+
static std::optional<bool> is_overload_present{};
|
|
993
|
+
|
|
994
|
+
if (!is_overload_present.has_value())
|
|
995
|
+
{
|
|
996
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Security.Authentication.Web.Core.WebAuthenticationCoreManager", L"RequestTokenAsync", 2);
|
|
997
|
+
}
|
|
998
|
+
|
|
999
|
+
if (!is_overload_present.value())
|
|
818
1000
|
{
|
|
819
1001
|
py::set_arg_count_version_error(2);
|
|
820
1002
|
return nullptr;
|
|
@@ -910,7 +1092,7 @@ namespace py::cpp::Windows::Security::Authentication::Web::Core
|
|
|
910
1092
|
auto param0 = py::convert_to<uint32_t>(args, 0);
|
|
911
1093
|
auto param1 = py::convert_to<winrt::hstring>(args, 1);
|
|
912
1094
|
|
|
913
|
-
winrt::Windows::Security::Authentication::Web::Core::WebProviderError instance{
|
|
1095
|
+
winrt::Windows::Security::Authentication::Web::Core::WebProviderError instance{param0, param1};
|
|
914
1096
|
return py::wrap(instance, type);
|
|
915
1097
|
}
|
|
916
1098
|
catch (...)
|
|
@@ -938,7 +1120,14 @@ namespace py::cpp::Windows::Security::Authentication::Web::Core
|
|
|
938
1120
|
{
|
|
939
1121
|
try
|
|
940
1122
|
{
|
|
941
|
-
|
|
1123
|
+
static std::optional<bool> is_property_present{};
|
|
1124
|
+
|
|
1125
|
+
if (!is_property_present.has_value())
|
|
1126
|
+
{
|
|
1127
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Security.Authentication.Web.Core.WebProviderError", L"ErrorCode");
|
|
1128
|
+
}
|
|
1129
|
+
|
|
1130
|
+
if (!is_property_present.value())
|
|
942
1131
|
{
|
|
943
1132
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
944
1133
|
return nullptr;
|
|
@@ -957,7 +1146,14 @@ namespace py::cpp::Windows::Security::Authentication::Web::Core
|
|
|
957
1146
|
{
|
|
958
1147
|
try
|
|
959
1148
|
{
|
|
960
|
-
|
|
1149
|
+
static std::optional<bool> is_property_present{};
|
|
1150
|
+
|
|
1151
|
+
if (!is_property_present.has_value())
|
|
1152
|
+
{
|
|
1153
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Security.Authentication.Web.Core.WebProviderError", L"ErrorMessage");
|
|
1154
|
+
}
|
|
1155
|
+
|
|
1156
|
+
if (!is_property_present.value())
|
|
961
1157
|
{
|
|
962
1158
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
963
1159
|
return nullptr;
|
|
@@ -976,7 +1172,14 @@ namespace py::cpp::Windows::Security::Authentication::Web::Core
|
|
|
976
1172
|
{
|
|
977
1173
|
try
|
|
978
1174
|
{
|
|
979
|
-
|
|
1175
|
+
static std::optional<bool> is_property_present{};
|
|
1176
|
+
|
|
1177
|
+
if (!is_property_present.has_value())
|
|
1178
|
+
{
|
|
1179
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Security.Authentication.Web.Core.WebProviderError", L"Properties");
|
|
1180
|
+
}
|
|
1181
|
+
|
|
1182
|
+
if (!is_property_present.value())
|
|
980
1183
|
{
|
|
981
1184
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
982
1185
|
return nullptr;
|
|
@@ -1062,7 +1265,7 @@ namespace py::cpp::Windows::Security::Authentication::Web::Core
|
|
|
1062
1265
|
auto param1 = py::convert_to<winrt::hstring>(args, 1);
|
|
1063
1266
|
auto param2 = py::convert_to<winrt::hstring>(args, 2);
|
|
1064
1267
|
|
|
1065
|
-
winrt::Windows::Security::Authentication::Web::Core::WebTokenRequest instance{
|
|
1268
|
+
winrt::Windows::Security::Authentication::Web::Core::WebTokenRequest instance{param0, param1, param2};
|
|
1066
1269
|
return py::wrap(instance, type);
|
|
1067
1270
|
}
|
|
1068
1271
|
catch (...)
|
|
@@ -1080,7 +1283,7 @@ namespace py::cpp::Windows::Security::Authentication::Web::Core
|
|
|
1080
1283
|
auto param2 = py::convert_to<winrt::hstring>(args, 2);
|
|
1081
1284
|
auto param3 = py::convert_to<winrt::Windows::Security::Authentication::Web::Core::WebTokenRequestPromptType>(args, 3);
|
|
1082
1285
|
|
|
1083
|
-
winrt::Windows::Security::Authentication::Web::Core::WebTokenRequest instance{
|
|
1286
|
+
winrt::Windows::Security::Authentication::Web::Core::WebTokenRequest instance{param0, param1, param2, param3};
|
|
1084
1287
|
return py::wrap(instance, type);
|
|
1085
1288
|
}
|
|
1086
1289
|
catch (...)
|
|
@@ -1095,7 +1298,7 @@ namespace py::cpp::Windows::Security::Authentication::Web::Core
|
|
|
1095
1298
|
{
|
|
1096
1299
|
auto param0 = py::convert_to<winrt::Windows::Security::Credentials::WebAccountProvider>(args, 0);
|
|
1097
1300
|
|
|
1098
|
-
winrt::Windows::Security::Authentication::Web::Core::WebTokenRequest instance{
|
|
1301
|
+
winrt::Windows::Security::Authentication::Web::Core::WebTokenRequest instance{param0};
|
|
1099
1302
|
return py::wrap(instance, type);
|
|
1100
1303
|
}
|
|
1101
1304
|
catch (...)
|
|
@@ -1111,7 +1314,7 @@ namespace py::cpp::Windows::Security::Authentication::Web::Core
|
|
|
1111
1314
|
auto param0 = py::convert_to<winrt::Windows::Security::Credentials::WebAccountProvider>(args, 0);
|
|
1112
1315
|
auto param1 = py::convert_to<winrt::hstring>(args, 1);
|
|
1113
1316
|
|
|
1114
|
-
winrt::Windows::Security::Authentication::Web::Core::WebTokenRequest instance{
|
|
1317
|
+
winrt::Windows::Security::Authentication::Web::Core::WebTokenRequest instance{param0, param1};
|
|
1115
1318
|
return py::wrap(instance, type);
|
|
1116
1319
|
}
|
|
1117
1320
|
catch (...)
|
|
@@ -1139,7 +1342,14 @@ namespace py::cpp::Windows::Security::Authentication::Web::Core
|
|
|
1139
1342
|
{
|
|
1140
1343
|
try
|
|
1141
1344
|
{
|
|
1142
|
-
|
|
1345
|
+
static std::optional<bool> is_property_present{};
|
|
1346
|
+
|
|
1347
|
+
if (!is_property_present.has_value())
|
|
1348
|
+
{
|
|
1349
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Security.Authentication.Web.Core.WebTokenRequest", L"ClientId");
|
|
1350
|
+
}
|
|
1351
|
+
|
|
1352
|
+
if (!is_property_present.value())
|
|
1143
1353
|
{
|
|
1144
1354
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
1145
1355
|
return nullptr;
|
|
@@ -1158,7 +1368,14 @@ namespace py::cpp::Windows::Security::Authentication::Web::Core
|
|
|
1158
1368
|
{
|
|
1159
1369
|
try
|
|
1160
1370
|
{
|
|
1161
|
-
|
|
1371
|
+
static std::optional<bool> is_property_present{};
|
|
1372
|
+
|
|
1373
|
+
if (!is_property_present.has_value())
|
|
1374
|
+
{
|
|
1375
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Security.Authentication.Web.Core.WebTokenRequest", L"PromptType");
|
|
1376
|
+
}
|
|
1377
|
+
|
|
1378
|
+
if (!is_property_present.value())
|
|
1162
1379
|
{
|
|
1163
1380
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
1164
1381
|
return nullptr;
|
|
@@ -1177,7 +1394,14 @@ namespace py::cpp::Windows::Security::Authentication::Web::Core
|
|
|
1177
1394
|
{
|
|
1178
1395
|
try
|
|
1179
1396
|
{
|
|
1180
|
-
|
|
1397
|
+
static std::optional<bool> is_property_present{};
|
|
1398
|
+
|
|
1399
|
+
if (!is_property_present.has_value())
|
|
1400
|
+
{
|
|
1401
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Security.Authentication.Web.Core.WebTokenRequest", L"Properties");
|
|
1402
|
+
}
|
|
1403
|
+
|
|
1404
|
+
if (!is_property_present.value())
|
|
1181
1405
|
{
|
|
1182
1406
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
1183
1407
|
return nullptr;
|
|
@@ -1196,7 +1420,14 @@ namespace py::cpp::Windows::Security::Authentication::Web::Core
|
|
|
1196
1420
|
{
|
|
1197
1421
|
try
|
|
1198
1422
|
{
|
|
1199
|
-
|
|
1423
|
+
static std::optional<bool> is_property_present{};
|
|
1424
|
+
|
|
1425
|
+
if (!is_property_present.has_value())
|
|
1426
|
+
{
|
|
1427
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Security.Authentication.Web.Core.WebTokenRequest", L"Scope");
|
|
1428
|
+
}
|
|
1429
|
+
|
|
1430
|
+
if (!is_property_present.value())
|
|
1200
1431
|
{
|
|
1201
1432
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
1202
1433
|
return nullptr;
|
|
@@ -1215,7 +1446,14 @@ namespace py::cpp::Windows::Security::Authentication::Web::Core
|
|
|
1215
1446
|
{
|
|
1216
1447
|
try
|
|
1217
1448
|
{
|
|
1218
|
-
|
|
1449
|
+
static std::optional<bool> is_property_present{};
|
|
1450
|
+
|
|
1451
|
+
if (!is_property_present.has_value())
|
|
1452
|
+
{
|
|
1453
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Security.Authentication.Web.Core.WebTokenRequest", L"WebAccountProvider");
|
|
1454
|
+
}
|
|
1455
|
+
|
|
1456
|
+
if (!is_property_present.value())
|
|
1219
1457
|
{
|
|
1220
1458
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
1221
1459
|
return nullptr;
|
|
@@ -1234,7 +1472,14 @@ namespace py::cpp::Windows::Security::Authentication::Web::Core
|
|
|
1234
1472
|
{
|
|
1235
1473
|
try
|
|
1236
1474
|
{
|
|
1237
|
-
|
|
1475
|
+
static std::optional<bool> is_property_present{};
|
|
1476
|
+
|
|
1477
|
+
if (!is_property_present.has_value())
|
|
1478
|
+
{
|
|
1479
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Security.Authentication.Web.Core.WebTokenRequest", L"AppProperties");
|
|
1480
|
+
}
|
|
1481
|
+
|
|
1482
|
+
if (!is_property_present.value())
|
|
1238
1483
|
{
|
|
1239
1484
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
1240
1485
|
return nullptr;
|
|
@@ -1253,7 +1498,14 @@ namespace py::cpp::Windows::Security::Authentication::Web::Core
|
|
|
1253
1498
|
{
|
|
1254
1499
|
try
|
|
1255
1500
|
{
|
|
1256
|
-
|
|
1501
|
+
static std::optional<bool> is_property_present{};
|
|
1502
|
+
|
|
1503
|
+
if (!is_property_present.has_value())
|
|
1504
|
+
{
|
|
1505
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Security.Authentication.Web.Core.WebTokenRequest", L"CorrelationId");
|
|
1506
|
+
}
|
|
1507
|
+
|
|
1508
|
+
if (!is_property_present.value())
|
|
1257
1509
|
{
|
|
1258
1510
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
1259
1511
|
return nullptr;
|
|
@@ -1278,7 +1530,14 @@ namespace py::cpp::Windows::Security::Authentication::Web::Core
|
|
|
1278
1530
|
|
|
1279
1531
|
try
|
|
1280
1532
|
{
|
|
1281
|
-
|
|
1533
|
+
static std::optional<bool> is_property_present{};
|
|
1534
|
+
|
|
1535
|
+
if (!is_property_present.has_value())
|
|
1536
|
+
{
|
|
1537
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Security.Authentication.Web.Core.WebTokenRequest", L"CorrelationId");
|
|
1538
|
+
}
|
|
1539
|
+
|
|
1540
|
+
if (!is_property_present.value())
|
|
1282
1541
|
{
|
|
1283
1542
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
1284
1543
|
return -1;
|
|
@@ -1377,7 +1636,14 @@ namespace py::cpp::Windows::Security::Authentication::Web::Core
|
|
|
1377
1636
|
{
|
|
1378
1637
|
try
|
|
1379
1638
|
{
|
|
1380
|
-
|
|
1639
|
+
static std::optional<bool> is_overload_present{};
|
|
1640
|
+
|
|
1641
|
+
if (!is_overload_present.has_value())
|
|
1642
|
+
{
|
|
1643
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Security.Authentication.Web.Core.WebTokenRequestResult", L"InvalidateCacheAsync", 0);
|
|
1644
|
+
}
|
|
1645
|
+
|
|
1646
|
+
if (!is_overload_present.value())
|
|
1381
1647
|
{
|
|
1382
1648
|
py::set_arg_count_version_error(0);
|
|
1383
1649
|
return nullptr;
|
|
@@ -1402,7 +1668,14 @@ namespace py::cpp::Windows::Security::Authentication::Web::Core
|
|
|
1402
1668
|
{
|
|
1403
1669
|
try
|
|
1404
1670
|
{
|
|
1405
|
-
|
|
1671
|
+
static std::optional<bool> is_property_present{};
|
|
1672
|
+
|
|
1673
|
+
if (!is_property_present.has_value())
|
|
1674
|
+
{
|
|
1675
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Security.Authentication.Web.Core.WebTokenRequestResult", L"ResponseData");
|
|
1676
|
+
}
|
|
1677
|
+
|
|
1678
|
+
if (!is_property_present.value())
|
|
1406
1679
|
{
|
|
1407
1680
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
1408
1681
|
return nullptr;
|
|
@@ -1421,7 +1694,14 @@ namespace py::cpp::Windows::Security::Authentication::Web::Core
|
|
|
1421
1694
|
{
|
|
1422
1695
|
try
|
|
1423
1696
|
{
|
|
1424
|
-
|
|
1697
|
+
static std::optional<bool> is_property_present{};
|
|
1698
|
+
|
|
1699
|
+
if (!is_property_present.has_value())
|
|
1700
|
+
{
|
|
1701
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Security.Authentication.Web.Core.WebTokenRequestResult", L"ResponseError");
|
|
1702
|
+
}
|
|
1703
|
+
|
|
1704
|
+
if (!is_property_present.value())
|
|
1425
1705
|
{
|
|
1426
1706
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
1427
1707
|
return nullptr;
|
|
@@ -1440,7 +1720,14 @@ namespace py::cpp::Windows::Security::Authentication::Web::Core
|
|
|
1440
1720
|
{
|
|
1441
1721
|
try
|
|
1442
1722
|
{
|
|
1443
|
-
|
|
1723
|
+
static std::optional<bool> is_property_present{};
|
|
1724
|
+
|
|
1725
|
+
if (!is_property_present.has_value())
|
|
1726
|
+
{
|
|
1727
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Security.Authentication.Web.Core.WebTokenRequestResult", L"ResponseStatus");
|
|
1728
|
+
}
|
|
1729
|
+
|
|
1730
|
+
if (!is_property_present.value())
|
|
1444
1731
|
{
|
|
1445
1732
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
1446
1733
|
return nullptr;
|
|
@@ -1525,7 +1812,7 @@ namespace py::cpp::Windows::Security::Authentication::Web::Core
|
|
|
1525
1812
|
{
|
|
1526
1813
|
auto param0 = py::convert_to<winrt::hstring>(args, 0);
|
|
1527
1814
|
|
|
1528
|
-
winrt::Windows::Security::Authentication::Web::Core::WebTokenResponse instance{
|
|
1815
|
+
winrt::Windows::Security::Authentication::Web::Core::WebTokenResponse instance{param0};
|
|
1529
1816
|
return py::wrap(instance, type);
|
|
1530
1817
|
}
|
|
1531
1818
|
catch (...)
|
|
@@ -1541,7 +1828,7 @@ namespace py::cpp::Windows::Security::Authentication::Web::Core
|
|
|
1541
1828
|
auto param0 = py::convert_to<winrt::hstring>(args, 0);
|
|
1542
1829
|
auto param1 = py::convert_to<winrt::Windows::Security::Credentials::WebAccount>(args, 1);
|
|
1543
1830
|
|
|
1544
|
-
winrt::Windows::Security::Authentication::Web::Core::WebTokenResponse instance{
|
|
1831
|
+
winrt::Windows::Security::Authentication::Web::Core::WebTokenResponse instance{param0, param1};
|
|
1545
1832
|
return py::wrap(instance, type);
|
|
1546
1833
|
}
|
|
1547
1834
|
catch (...)
|
|
@@ -1558,7 +1845,7 @@ namespace py::cpp::Windows::Security::Authentication::Web::Core
|
|
|
1558
1845
|
auto param1 = py::convert_to<winrt::Windows::Security::Credentials::WebAccount>(args, 1);
|
|
1559
1846
|
auto param2 = py::convert_to<winrt::Windows::Security::Authentication::Web::Core::WebProviderError>(args, 2);
|
|
1560
1847
|
|
|
1561
|
-
winrt::Windows::Security::Authentication::Web::Core::WebTokenResponse instance{
|
|
1848
|
+
winrt::Windows::Security::Authentication::Web::Core::WebTokenResponse instance{param0, param1, param2};
|
|
1562
1849
|
return py::wrap(instance, type);
|
|
1563
1850
|
}
|
|
1564
1851
|
catch (...)
|
|
@@ -1571,7 +1858,7 @@ namespace py::cpp::Windows::Security::Authentication::Web::Core
|
|
|
1571
1858
|
{
|
|
1572
1859
|
try
|
|
1573
1860
|
{
|
|
1574
|
-
winrt::Windows::Security::Authentication::Web::Core::WebTokenResponse instance{
|
|
1861
|
+
winrt::Windows::Security::Authentication::Web::Core::WebTokenResponse instance{};
|
|
1575
1862
|
return py::wrap(instance, type);
|
|
1576
1863
|
}
|
|
1577
1864
|
catch (...)
|
|
@@ -1599,7 +1886,14 @@ namespace py::cpp::Windows::Security::Authentication::Web::Core
|
|
|
1599
1886
|
{
|
|
1600
1887
|
try
|
|
1601
1888
|
{
|
|
1602
|
-
|
|
1889
|
+
static std::optional<bool> is_property_present{};
|
|
1890
|
+
|
|
1891
|
+
if (!is_property_present.has_value())
|
|
1892
|
+
{
|
|
1893
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Security.Authentication.Web.Core.WebTokenResponse", L"Properties");
|
|
1894
|
+
}
|
|
1895
|
+
|
|
1896
|
+
if (!is_property_present.value())
|
|
1603
1897
|
{
|
|
1604
1898
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
1605
1899
|
return nullptr;
|
|
@@ -1618,7 +1912,14 @@ namespace py::cpp::Windows::Security::Authentication::Web::Core
|
|
|
1618
1912
|
{
|
|
1619
1913
|
try
|
|
1620
1914
|
{
|
|
1621
|
-
|
|
1915
|
+
static std::optional<bool> is_property_present{};
|
|
1916
|
+
|
|
1917
|
+
if (!is_property_present.has_value())
|
|
1918
|
+
{
|
|
1919
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Security.Authentication.Web.Core.WebTokenResponse", L"ProviderError");
|
|
1920
|
+
}
|
|
1921
|
+
|
|
1922
|
+
if (!is_property_present.value())
|
|
1622
1923
|
{
|
|
1623
1924
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
1624
1925
|
return nullptr;
|
|
@@ -1637,7 +1938,14 @@ namespace py::cpp::Windows::Security::Authentication::Web::Core
|
|
|
1637
1938
|
{
|
|
1638
1939
|
try
|
|
1639
1940
|
{
|
|
1640
|
-
|
|
1941
|
+
static std::optional<bool> is_property_present{};
|
|
1942
|
+
|
|
1943
|
+
if (!is_property_present.has_value())
|
|
1944
|
+
{
|
|
1945
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Security.Authentication.Web.Core.WebTokenResponse", L"Token");
|
|
1946
|
+
}
|
|
1947
|
+
|
|
1948
|
+
if (!is_property_present.value())
|
|
1641
1949
|
{
|
|
1642
1950
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
1643
1951
|
return nullptr;
|
|
@@ -1656,7 +1964,14 @@ namespace py::cpp::Windows::Security::Authentication::Web::Core
|
|
|
1656
1964
|
{
|
|
1657
1965
|
try
|
|
1658
1966
|
{
|
|
1659
|
-
|
|
1967
|
+
static std::optional<bool> is_property_present{};
|
|
1968
|
+
|
|
1969
|
+
if (!is_property_present.has_value())
|
|
1970
|
+
{
|
|
1971
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Security.Authentication.Web.Core.WebTokenResponse", L"WebAccount");
|
|
1972
|
+
}
|
|
1973
|
+
|
|
1974
|
+
if (!is_property_present.value())
|
|
1660
1975
|
{
|
|
1661
1976
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
1662
1977
|
return nullptr;
|
|
@@ -1769,17 +2084,20 @@ PyMODINIT_FUNC PyInit__winrt_windows_security_authentication_web_core(void) noex
|
|
|
1769
2084
|
return nullptr;
|
|
1770
2085
|
}
|
|
1771
2086
|
|
|
1772
|
-
|
|
2087
|
+
py::pytype_handle FindAllAccountsResult_type{py::register_python_type(module.get(), &type_spec_FindAllAccountsResult, object_bases.get(), nullptr)};
|
|
2088
|
+
if (!FindAllAccountsResult_type)
|
|
1773
2089
|
{
|
|
1774
2090
|
return nullptr;
|
|
1775
2091
|
}
|
|
1776
2092
|
|
|
1777
|
-
|
|
2093
|
+
py::pytype_handle WebAccountEventArgs_type{py::register_python_type(module.get(), &type_spec_WebAccountEventArgs, object_bases.get(), nullptr)};
|
|
2094
|
+
if (!WebAccountEventArgs_type)
|
|
1778
2095
|
{
|
|
1779
2096
|
return nullptr;
|
|
1780
2097
|
}
|
|
1781
2098
|
|
|
1782
|
-
|
|
2099
|
+
py::pytype_handle WebAccountMonitor_type{py::register_python_type(module.get(), &type_spec_WebAccountMonitor, object_bases.get(), nullptr)};
|
|
2100
|
+
if (!WebAccountMonitor_type)
|
|
1783
2101
|
{
|
|
1784
2102
|
return nullptr;
|
|
1785
2103
|
}
|
|
@@ -1790,27 +2108,32 @@ PyMODINIT_FUNC PyInit__winrt_windows_security_authentication_web_core(void) noex
|
|
|
1790
2108
|
return nullptr;
|
|
1791
2109
|
}
|
|
1792
2110
|
|
|
1793
|
-
|
|
2111
|
+
py::pytype_handle WebAuthenticationCoreManager_type{py::register_python_type(module.get(), &type_spec_WebAuthenticationCoreManager, object_bases.get(), reinterpret_cast<PyTypeObject*>(type_WebAuthenticationCoreManager_Static.get()))};
|
|
2112
|
+
if (!WebAuthenticationCoreManager_type)
|
|
1794
2113
|
{
|
|
1795
2114
|
return nullptr;
|
|
1796
2115
|
}
|
|
1797
2116
|
|
|
1798
|
-
|
|
2117
|
+
py::pytype_handle WebProviderError_type{py::register_python_type(module.get(), &type_spec_WebProviderError, object_bases.get(), nullptr)};
|
|
2118
|
+
if (!WebProviderError_type)
|
|
1799
2119
|
{
|
|
1800
2120
|
return nullptr;
|
|
1801
2121
|
}
|
|
1802
2122
|
|
|
1803
|
-
|
|
2123
|
+
py::pytype_handle WebTokenRequest_type{py::register_python_type(module.get(), &type_spec_WebTokenRequest, object_bases.get(), nullptr)};
|
|
2124
|
+
if (!WebTokenRequest_type)
|
|
1804
2125
|
{
|
|
1805
2126
|
return nullptr;
|
|
1806
2127
|
}
|
|
1807
2128
|
|
|
1808
|
-
|
|
2129
|
+
py::pytype_handle WebTokenRequestResult_type{py::register_python_type(module.get(), &type_spec_WebTokenRequestResult, object_bases.get(), nullptr)};
|
|
2130
|
+
if (!WebTokenRequestResult_type)
|
|
1809
2131
|
{
|
|
1810
2132
|
return nullptr;
|
|
1811
2133
|
}
|
|
1812
2134
|
|
|
1813
|
-
|
|
2135
|
+
py::pytype_handle WebTokenResponse_type{py::register_python_type(module.get(), &type_spec_WebTokenResponse, object_bases.get(), nullptr)};
|
|
2136
|
+
if (!WebTokenResponse_type)
|
|
1814
2137
|
{
|
|
1815
2138
|
return nullptr;
|
|
1816
2139
|
}
|
|
@@ -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.2.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.2.0
|
|
2
2
|
|
|
3
|
-
winrt-runtime==2.
|
|
3
|
+
winrt-runtime==2.2.0
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: winrt-Windows.Security.Authentication.Web.Core
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.2.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,14 +10,14 @@ 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.2.0
|
|
16
16
|
Provides-Extra: all
|
|
17
|
-
Requires-Dist: winrt-Windows.Foundation[all]==2.
|
|
18
|
-
Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.
|
|
19
|
-
Requires-Dist: winrt-Windows.Security.Credentials[all]==2.
|
|
20
|
-
Requires-Dist: winrt-Windows.System[all]==2.
|
|
17
|
+
Requires-Dist: winrt-Windows.Foundation[all]==2.2.0; extra == "all"
|
|
18
|
+
Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.2.0; extra == "all"
|
|
19
|
+
Requires-Dist: winrt-Windows.Security.Credentials[all]==2.2.0; extra == "all"
|
|
20
|
+
Requires-Dist: winrt-Windows.System[all]==2.2.0; extra == "all"
|
|
21
21
|
|
|
22
22
|
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
23
23
|
|
|
@@ -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
|