winrt-Windows.Security.Authentication.Identity.Provider 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_identity_provider-2.1.0 → winrt_windows_security_authentication_identity_provider-2.3.0}/PKG-INFO +6 -6
- winrt_windows_security_authentication_identity_provider-2.3.0/all-requirements.txt +5 -0
- {winrt_windows_security_authentication_identity_provider-2.1.0 → winrt_windows_security_authentication_identity_provider-2.3.0}/py.Windows.Security.Authentication.Identity.Provider.cpp +303 -44
- {winrt_windows_security_authentication_identity_provider-2.1.0 → winrt_windows_security_authentication_identity_provider-2.3.0}/pyproject.toml +3 -2
- winrt_windows_security_authentication_identity_provider-2.3.0/pywinrt-version.txt +1 -0
- {winrt_windows_security_authentication_identity_provider-2.1.0 → winrt_windows_security_authentication_identity_provider-2.3.0}/requirements.txt +2 -2
- {winrt_windows_security_authentication_identity_provider-2.1.0 → winrt_windows_security_authentication_identity_provider-2.3.0}/winrt/_winrt_windows_security_authentication_identity_provider.pyi +1 -1
- {winrt_windows_security_authentication_identity_provider-2.1.0 → winrt_windows_security_authentication_identity_provider-2.3.0}/winrt/windows/security/authentication/identity/provider/__init__.py +1 -1
- {winrt_windows_security_authentication_identity_provider-2.1.0 → winrt_windows_security_authentication_identity_provider-2.3.0}/winrt_Windows.Security.Authentication.Identity.Provider.egg-info/PKG-INFO +6 -6
- winrt_windows_security_authentication_identity_provider-2.3.0/winrt_Windows.Security.Authentication.Identity.Provider.egg-info/requires.txt +6 -0
- winrt_windows_security_authentication_identity_provider-2.1.0/all-requirements.txt +0 -5
- winrt_windows_security_authentication_identity_provider-2.1.0/pywinrt-version.txt +0 -1
- winrt_windows_security_authentication_identity_provider-2.1.0/winrt_Windows.Security.Authentication.Identity.Provider.egg-info/requires.txt +0 -6
- {winrt_windows_security_authentication_identity_provider-2.1.0 → winrt_windows_security_authentication_identity_provider-2.3.0}/README.md +0 -0
- {winrt_windows_security_authentication_identity_provider-2.1.0 → winrt_windows_security_authentication_identity_provider-2.3.0}/setup.cfg +0 -0
- {winrt_windows_security_authentication_identity_provider-2.1.0 → winrt_windows_security_authentication_identity_provider-2.3.0}/setup.py +0 -0
- {winrt_windows_security_authentication_identity_provider-2.1.0 → winrt_windows_security_authentication_identity_provider-2.3.0}/winrt/windows/security/authentication/identity/provider/py.typed +0 -0
- {winrt_windows_security_authentication_identity_provider-2.1.0 → winrt_windows_security_authentication_identity_provider-2.3.0}/winrt_Windows.Security.Authentication.Identity.Provider.egg-info/SOURCES.txt +0 -0
- {winrt_windows_security_authentication_identity_provider-2.1.0 → winrt_windows_security_authentication_identity_provider-2.3.0}/winrt_Windows.Security.Authentication.Identity.Provider.egg-info/dependency_links.txt +0 -0
- {winrt_windows_security_authentication_identity_provider-2.1.0 → winrt_windows_security_authentication_identity_provider-2.3.0}/winrt_Windows.Security.Authentication.Identity.Provider.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: winrt-Windows.Security.Authentication.Identity.Provider
|
|
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,13 +10,13 @@ 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.
|
|
19
|
-
Requires-Dist: winrt-Windows.Storage.Streams[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
|
+
Requires-Dist: winrt-Windows.Storage.Streams[all]==2.3.0; extra == "all"
|
|
20
20
|
|
|
21
21
|
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
22
22
|
|
|
@@ -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.Identity.Provider.h"
|
|
4
4
|
|
|
@@ -29,7 +29,14 @@ namespace py::cpp::Windows::Security::Authentication::Identity::Provider
|
|
|
29
29
|
{
|
|
30
30
|
try
|
|
31
31
|
{
|
|
32
|
-
|
|
32
|
+
static std::optional<bool> is_overload_present{};
|
|
33
|
+
|
|
34
|
+
if (!is_overload_present.has_value())
|
|
35
|
+
{
|
|
36
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Security.Authentication.Identity.Provider.SecondaryAuthenticationFactorAuthentication", L"AbortAuthenticationAsync", 1);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
if (!is_overload_present.value())
|
|
33
40
|
{
|
|
34
41
|
py::set_arg_count_version_error(1);
|
|
35
42
|
return nullptr;
|
|
@@ -60,7 +67,14 @@ namespace py::cpp::Windows::Security::Authentication::Identity::Provider
|
|
|
60
67
|
{
|
|
61
68
|
try
|
|
62
69
|
{
|
|
63
|
-
|
|
70
|
+
static std::optional<bool> is_overload_present{};
|
|
71
|
+
|
|
72
|
+
if (!is_overload_present.has_value())
|
|
73
|
+
{
|
|
74
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Security.Authentication.Identity.Provider.SecondaryAuthenticationFactorAuthentication", L"FinishAuthenticationAsync", 2);
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
if (!is_overload_present.value())
|
|
64
78
|
{
|
|
65
79
|
py::set_arg_count_version_error(2);
|
|
66
80
|
return nullptr;
|
|
@@ -92,7 +106,14 @@ namespace py::cpp::Windows::Security::Authentication::Identity::Provider
|
|
|
92
106
|
{
|
|
93
107
|
try
|
|
94
108
|
{
|
|
95
|
-
|
|
109
|
+
static std::optional<bool> is_overload_present{};
|
|
110
|
+
|
|
111
|
+
if (!is_overload_present.has_value())
|
|
112
|
+
{
|
|
113
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Security.Authentication.Identity.Provider.SecondaryAuthenticationFactorAuthentication", L"GetAuthenticationStageInfoAsync", 0);
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
if (!is_overload_present.value())
|
|
96
117
|
{
|
|
97
118
|
py::set_arg_count_version_error(0);
|
|
98
119
|
return nullptr;
|
|
@@ -121,7 +142,14 @@ namespace py::cpp::Windows::Security::Authentication::Identity::Provider
|
|
|
121
142
|
{
|
|
122
143
|
try
|
|
123
144
|
{
|
|
124
|
-
|
|
145
|
+
static std::optional<bool> is_overload_present{};
|
|
146
|
+
|
|
147
|
+
if (!is_overload_present.has_value())
|
|
148
|
+
{
|
|
149
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Security.Authentication.Identity.Provider.SecondaryAuthenticationFactorAuthentication", L"ShowNotificationMessageAsync", 2);
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
if (!is_overload_present.value())
|
|
125
153
|
{
|
|
126
154
|
py::set_arg_count_version_error(2);
|
|
127
155
|
return nullptr;
|
|
@@ -153,7 +181,14 @@ namespace py::cpp::Windows::Security::Authentication::Identity::Provider
|
|
|
153
181
|
{
|
|
154
182
|
try
|
|
155
183
|
{
|
|
156
|
-
|
|
184
|
+
static std::optional<bool> is_overload_present{};
|
|
185
|
+
|
|
186
|
+
if (!is_overload_present.has_value())
|
|
187
|
+
{
|
|
188
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Security.Authentication.Identity.Provider.SecondaryAuthenticationFactorAuthentication", L"StartAuthenticationAsync", 2);
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
if (!is_overload_present.value())
|
|
157
192
|
{
|
|
158
193
|
py::set_arg_count_version_error(2);
|
|
159
194
|
return nullptr;
|
|
@@ -181,7 +216,14 @@ namespace py::cpp::Windows::Security::Authentication::Identity::Provider
|
|
|
181
216
|
{
|
|
182
217
|
try
|
|
183
218
|
{
|
|
184
|
-
|
|
219
|
+
static std::optional<bool> is_property_present{};
|
|
220
|
+
|
|
221
|
+
if (!is_property_present.has_value())
|
|
222
|
+
{
|
|
223
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Security.Authentication.Identity.Provider.SecondaryAuthenticationFactorAuthentication", L"DeviceConfigurationData");
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
if (!is_property_present.value())
|
|
185
227
|
{
|
|
186
228
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
187
229
|
return nullptr;
|
|
@@ -200,7 +242,14 @@ namespace py::cpp::Windows::Security::Authentication::Identity::Provider
|
|
|
200
242
|
{
|
|
201
243
|
try
|
|
202
244
|
{
|
|
203
|
-
|
|
245
|
+
static std::optional<bool> is_property_present{};
|
|
246
|
+
|
|
247
|
+
if (!is_property_present.has_value())
|
|
248
|
+
{
|
|
249
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Security.Authentication.Identity.Provider.SecondaryAuthenticationFactorAuthentication", L"DeviceNonce");
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
if (!is_property_present.value())
|
|
204
253
|
{
|
|
205
254
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
206
255
|
return nullptr;
|
|
@@ -219,7 +268,14 @@ namespace py::cpp::Windows::Security::Authentication::Identity::Provider
|
|
|
219
268
|
{
|
|
220
269
|
try
|
|
221
270
|
{
|
|
222
|
-
|
|
271
|
+
static std::optional<bool> is_property_present{};
|
|
272
|
+
|
|
273
|
+
if (!is_property_present.has_value())
|
|
274
|
+
{
|
|
275
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Security.Authentication.Identity.Provider.SecondaryAuthenticationFactorAuthentication", L"ServiceAuthenticationHmac");
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
if (!is_property_present.value())
|
|
223
279
|
{
|
|
224
280
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
225
281
|
return nullptr;
|
|
@@ -238,7 +294,14 @@ namespace py::cpp::Windows::Security::Authentication::Identity::Provider
|
|
|
238
294
|
{
|
|
239
295
|
try
|
|
240
296
|
{
|
|
241
|
-
|
|
297
|
+
static std::optional<bool> is_property_present{};
|
|
298
|
+
|
|
299
|
+
if (!is_property_present.has_value())
|
|
300
|
+
{
|
|
301
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Security.Authentication.Identity.Provider.SecondaryAuthenticationFactorAuthentication", L"SessionNonce");
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
if (!is_property_present.value())
|
|
242
305
|
{
|
|
243
306
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
244
307
|
return nullptr;
|
|
@@ -257,7 +320,14 @@ namespace py::cpp::Windows::Security::Authentication::Identity::Provider
|
|
|
257
320
|
{
|
|
258
321
|
try
|
|
259
322
|
{
|
|
260
|
-
|
|
323
|
+
static std::optional<bool> is_event_present{};
|
|
324
|
+
|
|
325
|
+
if (!is_event_present.has_value())
|
|
326
|
+
{
|
|
327
|
+
is_event_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsEventPresent(L"Windows.Security.Authentication.Identity.Provider.SecondaryAuthenticationFactorAuthentication", L"AuthenticationStageChanged");
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
if (!is_event_present.value())
|
|
261
331
|
{
|
|
262
332
|
PyErr_SetString(PyExc_AttributeError, "event is not available in this version of Windows");
|
|
263
333
|
return nullptr;
|
|
@@ -278,7 +348,14 @@ namespace py::cpp::Windows::Security::Authentication::Identity::Provider
|
|
|
278
348
|
{
|
|
279
349
|
try
|
|
280
350
|
{
|
|
281
|
-
|
|
351
|
+
static std::optional<bool> is_event_present{};
|
|
352
|
+
|
|
353
|
+
if (!is_event_present.has_value())
|
|
354
|
+
{
|
|
355
|
+
is_event_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsEventPresent(L"Windows.Security.Authentication.Identity.Provider.SecondaryAuthenticationFactorAuthentication", L"AuthenticationStageChanged");
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
if (!is_event_present.value())
|
|
282
359
|
{
|
|
283
360
|
PyErr_SetString(PyExc_AttributeError, "event is not available in this version of Windows");
|
|
284
361
|
return nullptr;
|
|
@@ -402,7 +479,14 @@ namespace py::cpp::Windows::Security::Authentication::Identity::Provider
|
|
|
402
479
|
{
|
|
403
480
|
try
|
|
404
481
|
{
|
|
405
|
-
|
|
482
|
+
static std::optional<bool> is_property_present{};
|
|
483
|
+
|
|
484
|
+
if (!is_property_present.has_value())
|
|
485
|
+
{
|
|
486
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Security.Authentication.Identity.Provider.SecondaryAuthenticationFactorAuthenticationResult", L"Authentication");
|
|
487
|
+
}
|
|
488
|
+
|
|
489
|
+
if (!is_property_present.value())
|
|
406
490
|
{
|
|
407
491
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
408
492
|
return nullptr;
|
|
@@ -421,7 +505,14 @@ namespace py::cpp::Windows::Security::Authentication::Identity::Provider
|
|
|
421
505
|
{
|
|
422
506
|
try
|
|
423
507
|
{
|
|
424
|
-
|
|
508
|
+
static std::optional<bool> is_property_present{};
|
|
509
|
+
|
|
510
|
+
if (!is_property_present.has_value())
|
|
511
|
+
{
|
|
512
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Security.Authentication.Identity.Provider.SecondaryAuthenticationFactorAuthenticationResult", L"Status");
|
|
513
|
+
}
|
|
514
|
+
|
|
515
|
+
if (!is_property_present.value())
|
|
425
516
|
{
|
|
426
517
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
427
518
|
return nullptr;
|
|
@@ -508,7 +599,14 @@ namespace py::cpp::Windows::Security::Authentication::Identity::Provider
|
|
|
508
599
|
{
|
|
509
600
|
try
|
|
510
601
|
{
|
|
511
|
-
|
|
602
|
+
static std::optional<bool> is_property_present{};
|
|
603
|
+
|
|
604
|
+
if (!is_property_present.has_value())
|
|
605
|
+
{
|
|
606
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Security.Authentication.Identity.Provider.SecondaryAuthenticationFactorAuthenticationStageChangedEventArgs", L"StageInfo");
|
|
607
|
+
}
|
|
608
|
+
|
|
609
|
+
if (!is_property_present.value())
|
|
512
610
|
{
|
|
513
611
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
514
612
|
return nullptr;
|
|
@@ -594,7 +692,14 @@ namespace py::cpp::Windows::Security::Authentication::Identity::Provider
|
|
|
594
692
|
{
|
|
595
693
|
try
|
|
596
694
|
{
|
|
597
|
-
|
|
695
|
+
static std::optional<bool> is_property_present{};
|
|
696
|
+
|
|
697
|
+
if (!is_property_present.has_value())
|
|
698
|
+
{
|
|
699
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Security.Authentication.Identity.Provider.SecondaryAuthenticationFactorAuthenticationStageInfo", L"DeviceId");
|
|
700
|
+
}
|
|
701
|
+
|
|
702
|
+
if (!is_property_present.value())
|
|
598
703
|
{
|
|
599
704
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
600
705
|
return nullptr;
|
|
@@ -613,7 +718,14 @@ namespace py::cpp::Windows::Security::Authentication::Identity::Provider
|
|
|
613
718
|
{
|
|
614
719
|
try
|
|
615
720
|
{
|
|
616
|
-
|
|
721
|
+
static std::optional<bool> is_property_present{};
|
|
722
|
+
|
|
723
|
+
if (!is_property_present.has_value())
|
|
724
|
+
{
|
|
725
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Security.Authentication.Identity.Provider.SecondaryAuthenticationFactorAuthenticationStageInfo", L"Scenario");
|
|
726
|
+
}
|
|
727
|
+
|
|
728
|
+
if (!is_property_present.value())
|
|
617
729
|
{
|
|
618
730
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
619
731
|
return nullptr;
|
|
@@ -632,7 +744,14 @@ namespace py::cpp::Windows::Security::Authentication::Identity::Provider
|
|
|
632
744
|
{
|
|
633
745
|
try
|
|
634
746
|
{
|
|
635
|
-
|
|
747
|
+
static std::optional<bool> is_property_present{};
|
|
748
|
+
|
|
749
|
+
if (!is_property_present.has_value())
|
|
750
|
+
{
|
|
751
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Security.Authentication.Identity.Provider.SecondaryAuthenticationFactorAuthenticationStageInfo", L"Stage");
|
|
752
|
+
}
|
|
753
|
+
|
|
754
|
+
if (!is_property_present.value())
|
|
636
755
|
{
|
|
637
756
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
638
757
|
return nullptr;
|
|
@@ -724,7 +843,14 @@ namespace py::cpp::Windows::Security::Authentication::Identity::Provider
|
|
|
724
843
|
{
|
|
725
844
|
try
|
|
726
845
|
{
|
|
727
|
-
|
|
846
|
+
static std::optional<bool> is_overload_present{};
|
|
847
|
+
|
|
848
|
+
if (!is_overload_present.has_value())
|
|
849
|
+
{
|
|
850
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Security.Authentication.Identity.Provider.SecondaryAuthenticationFactorInfo", L"UpdateDevicePresenceAsync", 1);
|
|
851
|
+
}
|
|
852
|
+
|
|
853
|
+
if (!is_overload_present.value())
|
|
728
854
|
{
|
|
729
855
|
py::set_arg_count_version_error(1);
|
|
730
856
|
return nullptr;
|
|
@@ -751,7 +877,14 @@ namespace py::cpp::Windows::Security::Authentication::Identity::Provider
|
|
|
751
877
|
{
|
|
752
878
|
try
|
|
753
879
|
{
|
|
754
|
-
|
|
880
|
+
static std::optional<bool> is_property_present{};
|
|
881
|
+
|
|
882
|
+
if (!is_property_present.has_value())
|
|
883
|
+
{
|
|
884
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Security.Authentication.Identity.Provider.SecondaryAuthenticationFactorInfo", L"DeviceConfigurationData");
|
|
885
|
+
}
|
|
886
|
+
|
|
887
|
+
if (!is_property_present.value())
|
|
755
888
|
{
|
|
756
889
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
757
890
|
return nullptr;
|
|
@@ -770,7 +903,14 @@ namespace py::cpp::Windows::Security::Authentication::Identity::Provider
|
|
|
770
903
|
{
|
|
771
904
|
try
|
|
772
905
|
{
|
|
773
|
-
|
|
906
|
+
static std::optional<bool> is_property_present{};
|
|
907
|
+
|
|
908
|
+
if (!is_property_present.has_value())
|
|
909
|
+
{
|
|
910
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Security.Authentication.Identity.Provider.SecondaryAuthenticationFactorInfo", L"DeviceFriendlyName");
|
|
911
|
+
}
|
|
912
|
+
|
|
913
|
+
if (!is_property_present.value())
|
|
774
914
|
{
|
|
775
915
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
776
916
|
return nullptr;
|
|
@@ -789,7 +929,14 @@ namespace py::cpp::Windows::Security::Authentication::Identity::Provider
|
|
|
789
929
|
{
|
|
790
930
|
try
|
|
791
931
|
{
|
|
792
|
-
|
|
932
|
+
static std::optional<bool> is_property_present{};
|
|
933
|
+
|
|
934
|
+
if (!is_property_present.has_value())
|
|
935
|
+
{
|
|
936
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Security.Authentication.Identity.Provider.SecondaryAuthenticationFactorInfo", L"DeviceId");
|
|
937
|
+
}
|
|
938
|
+
|
|
939
|
+
if (!is_property_present.value())
|
|
793
940
|
{
|
|
794
941
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
795
942
|
return nullptr;
|
|
@@ -808,7 +955,14 @@ namespace py::cpp::Windows::Security::Authentication::Identity::Provider
|
|
|
808
955
|
{
|
|
809
956
|
try
|
|
810
957
|
{
|
|
811
|
-
|
|
958
|
+
static std::optional<bool> is_property_present{};
|
|
959
|
+
|
|
960
|
+
if (!is_property_present.has_value())
|
|
961
|
+
{
|
|
962
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Security.Authentication.Identity.Provider.SecondaryAuthenticationFactorInfo", L"DeviceModelNumber");
|
|
963
|
+
}
|
|
964
|
+
|
|
965
|
+
if (!is_property_present.value())
|
|
812
966
|
{
|
|
813
967
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
814
968
|
return nullptr;
|
|
@@ -827,7 +981,14 @@ namespace py::cpp::Windows::Security::Authentication::Identity::Provider
|
|
|
827
981
|
{
|
|
828
982
|
try
|
|
829
983
|
{
|
|
830
|
-
|
|
984
|
+
static std::optional<bool> is_property_present{};
|
|
985
|
+
|
|
986
|
+
if (!is_property_present.has_value())
|
|
987
|
+
{
|
|
988
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Security.Authentication.Identity.Provider.SecondaryAuthenticationFactorInfo", L"IsAuthenticationSupported");
|
|
989
|
+
}
|
|
990
|
+
|
|
991
|
+
if (!is_property_present.value())
|
|
831
992
|
{
|
|
832
993
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
833
994
|
return nullptr;
|
|
@@ -846,7 +1007,14 @@ namespace py::cpp::Windows::Security::Authentication::Identity::Provider
|
|
|
846
1007
|
{
|
|
847
1008
|
try
|
|
848
1009
|
{
|
|
849
|
-
|
|
1010
|
+
static std::optional<bool> is_property_present{};
|
|
1011
|
+
|
|
1012
|
+
if (!is_property_present.has_value())
|
|
1013
|
+
{
|
|
1014
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Security.Authentication.Identity.Provider.SecondaryAuthenticationFactorInfo", L"PresenceMonitoringMode");
|
|
1015
|
+
}
|
|
1016
|
+
|
|
1017
|
+
if (!is_property_present.value())
|
|
850
1018
|
{
|
|
851
1019
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
852
1020
|
return nullptr;
|
|
@@ -942,7 +1110,14 @@ namespace py::cpp::Windows::Security::Authentication::Identity::Provider
|
|
|
942
1110
|
{
|
|
943
1111
|
try
|
|
944
1112
|
{
|
|
945
|
-
|
|
1113
|
+
static std::optional<bool> is_overload_present{};
|
|
1114
|
+
|
|
1115
|
+
if (!is_overload_present.has_value())
|
|
1116
|
+
{
|
|
1117
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Security.Authentication.Identity.Provider.SecondaryAuthenticationFactorRegistration", L"AbortRegisteringDeviceAsync", 1);
|
|
1118
|
+
}
|
|
1119
|
+
|
|
1120
|
+
if (!is_overload_present.value())
|
|
946
1121
|
{
|
|
947
1122
|
py::set_arg_count_version_error(1);
|
|
948
1123
|
return nullptr;
|
|
@@ -973,7 +1148,14 @@ namespace py::cpp::Windows::Security::Authentication::Identity::Provider
|
|
|
973
1148
|
{
|
|
974
1149
|
try
|
|
975
1150
|
{
|
|
976
|
-
|
|
1151
|
+
static std::optional<bool> is_overload_present{};
|
|
1152
|
+
|
|
1153
|
+
if (!is_overload_present.has_value())
|
|
1154
|
+
{
|
|
1155
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Security.Authentication.Identity.Provider.SecondaryAuthenticationFactorRegistration", L"FindAllRegisteredDeviceInfoAsync", 1);
|
|
1156
|
+
}
|
|
1157
|
+
|
|
1158
|
+
if (!is_overload_present.value())
|
|
977
1159
|
{
|
|
978
1160
|
py::set_arg_count_version_error(1);
|
|
979
1161
|
return nullptr;
|
|
@@ -1004,7 +1186,14 @@ namespace py::cpp::Windows::Security::Authentication::Identity::Provider
|
|
|
1004
1186
|
{
|
|
1005
1187
|
try
|
|
1006
1188
|
{
|
|
1007
|
-
|
|
1189
|
+
static std::optional<bool> is_overload_present{};
|
|
1190
|
+
|
|
1191
|
+
if (!is_overload_present.has_value())
|
|
1192
|
+
{
|
|
1193
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Security.Authentication.Identity.Provider.SecondaryAuthenticationFactorRegistration", L"FinishRegisteringDeviceAsync", 1);
|
|
1194
|
+
}
|
|
1195
|
+
|
|
1196
|
+
if (!is_overload_present.value())
|
|
1008
1197
|
{
|
|
1009
1198
|
py::set_arg_count_version_error(1);
|
|
1010
1199
|
return nullptr;
|
|
@@ -1035,7 +1224,14 @@ namespace py::cpp::Windows::Security::Authentication::Identity::Provider
|
|
|
1035
1224
|
{
|
|
1036
1225
|
try
|
|
1037
1226
|
{
|
|
1038
|
-
|
|
1227
|
+
static std::optional<bool> is_overload_present{};
|
|
1228
|
+
|
|
1229
|
+
if (!is_overload_present.has_value())
|
|
1230
|
+
{
|
|
1231
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Security.Authentication.Identity.Provider.SecondaryAuthenticationFactorRegistration", L"IsDevicePresenceMonitoringSupported", 0);
|
|
1232
|
+
}
|
|
1233
|
+
|
|
1234
|
+
if (!is_overload_present.value())
|
|
1039
1235
|
{
|
|
1040
1236
|
py::set_arg_count_version_error(0);
|
|
1041
1237
|
return nullptr;
|
|
@@ -1064,7 +1260,14 @@ namespace py::cpp::Windows::Security::Authentication::Identity::Provider
|
|
|
1064
1260
|
{
|
|
1065
1261
|
try
|
|
1066
1262
|
{
|
|
1067
|
-
|
|
1263
|
+
static std::optional<bool> is_overload_present{};
|
|
1264
|
+
|
|
1265
|
+
if (!is_overload_present.has_value())
|
|
1266
|
+
{
|
|
1267
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Security.Authentication.Identity.Provider.SecondaryAuthenticationFactorRegistration", L"RegisterDevicePresenceMonitoringAsync", 3);
|
|
1268
|
+
}
|
|
1269
|
+
|
|
1270
|
+
if (!is_overload_present.value())
|
|
1068
1271
|
{
|
|
1069
1272
|
py::set_arg_count_version_error(3);
|
|
1070
1273
|
return nullptr;
|
|
@@ -1086,7 +1289,14 @@ namespace py::cpp::Windows::Security::Authentication::Identity::Provider
|
|
|
1086
1289
|
{
|
|
1087
1290
|
try
|
|
1088
1291
|
{
|
|
1089
|
-
|
|
1292
|
+
static std::optional<bool> is_overload_present{};
|
|
1293
|
+
|
|
1294
|
+
if (!is_overload_present.has_value())
|
|
1295
|
+
{
|
|
1296
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Security.Authentication.Identity.Provider.SecondaryAuthenticationFactorRegistration", L"RegisterDevicePresenceMonitoringAsync", 6);
|
|
1297
|
+
}
|
|
1298
|
+
|
|
1299
|
+
if (!is_overload_present.value())
|
|
1090
1300
|
{
|
|
1091
1301
|
py::set_arg_count_version_error(6);
|
|
1092
1302
|
return nullptr;
|
|
@@ -1122,7 +1332,14 @@ namespace py::cpp::Windows::Security::Authentication::Identity::Provider
|
|
|
1122
1332
|
{
|
|
1123
1333
|
try
|
|
1124
1334
|
{
|
|
1125
|
-
|
|
1335
|
+
static std::optional<bool> is_overload_present{};
|
|
1336
|
+
|
|
1337
|
+
if (!is_overload_present.has_value())
|
|
1338
|
+
{
|
|
1339
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Security.Authentication.Identity.Provider.SecondaryAuthenticationFactorRegistration", L"RequestStartRegisteringDeviceAsync", 6);
|
|
1340
|
+
}
|
|
1341
|
+
|
|
1342
|
+
if (!is_overload_present.value())
|
|
1126
1343
|
{
|
|
1127
1344
|
py::set_arg_count_version_error(6);
|
|
1128
1345
|
return nullptr;
|
|
@@ -1158,7 +1375,14 @@ namespace py::cpp::Windows::Security::Authentication::Identity::Provider
|
|
|
1158
1375
|
{
|
|
1159
1376
|
try
|
|
1160
1377
|
{
|
|
1161
|
-
|
|
1378
|
+
static std::optional<bool> is_overload_present{};
|
|
1379
|
+
|
|
1380
|
+
if (!is_overload_present.has_value())
|
|
1381
|
+
{
|
|
1382
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Security.Authentication.Identity.Provider.SecondaryAuthenticationFactorRegistration", L"UnregisterDeviceAsync", 1);
|
|
1383
|
+
}
|
|
1384
|
+
|
|
1385
|
+
if (!is_overload_present.value())
|
|
1162
1386
|
{
|
|
1163
1387
|
py::set_arg_count_version_error(1);
|
|
1164
1388
|
return nullptr;
|
|
@@ -1189,7 +1413,14 @@ namespace py::cpp::Windows::Security::Authentication::Identity::Provider
|
|
|
1189
1413
|
{
|
|
1190
1414
|
try
|
|
1191
1415
|
{
|
|
1192
|
-
|
|
1416
|
+
static std::optional<bool> is_overload_present{};
|
|
1417
|
+
|
|
1418
|
+
if (!is_overload_present.has_value())
|
|
1419
|
+
{
|
|
1420
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Security.Authentication.Identity.Provider.SecondaryAuthenticationFactorRegistration", L"UnregisterDevicePresenceMonitoringAsync", 1);
|
|
1421
|
+
}
|
|
1422
|
+
|
|
1423
|
+
if (!is_overload_present.value())
|
|
1193
1424
|
{
|
|
1194
1425
|
py::set_arg_count_version_error(1);
|
|
1195
1426
|
return nullptr;
|
|
@@ -1220,7 +1451,14 @@ namespace py::cpp::Windows::Security::Authentication::Identity::Provider
|
|
|
1220
1451
|
{
|
|
1221
1452
|
try
|
|
1222
1453
|
{
|
|
1223
|
-
|
|
1454
|
+
static std::optional<bool> is_overload_present{};
|
|
1455
|
+
|
|
1456
|
+
if (!is_overload_present.has_value())
|
|
1457
|
+
{
|
|
1458
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Security.Authentication.Identity.Provider.SecondaryAuthenticationFactorRegistration", L"UpdateDeviceConfigurationDataAsync", 2);
|
|
1459
|
+
}
|
|
1460
|
+
|
|
1461
|
+
if (!is_overload_present.value())
|
|
1224
1462
|
{
|
|
1225
1463
|
py::set_arg_count_version_error(2);
|
|
1226
1464
|
return nullptr;
|
|
@@ -1348,7 +1586,14 @@ namespace py::cpp::Windows::Security::Authentication::Identity::Provider
|
|
|
1348
1586
|
{
|
|
1349
1587
|
try
|
|
1350
1588
|
{
|
|
1351
|
-
|
|
1589
|
+
static std::optional<bool> is_property_present{};
|
|
1590
|
+
|
|
1591
|
+
if (!is_property_present.has_value())
|
|
1592
|
+
{
|
|
1593
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Security.Authentication.Identity.Provider.SecondaryAuthenticationFactorRegistrationResult", L"Registration");
|
|
1594
|
+
}
|
|
1595
|
+
|
|
1596
|
+
if (!is_property_present.value())
|
|
1352
1597
|
{
|
|
1353
1598
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
1354
1599
|
return nullptr;
|
|
@@ -1367,7 +1612,14 @@ namespace py::cpp::Windows::Security::Authentication::Identity::Provider
|
|
|
1367
1612
|
{
|
|
1368
1613
|
try
|
|
1369
1614
|
{
|
|
1370
|
-
|
|
1615
|
+
static std::optional<bool> is_property_present{};
|
|
1616
|
+
|
|
1617
|
+
if (!is_property_present.has_value())
|
|
1618
|
+
{
|
|
1619
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Security.Authentication.Identity.Provider.SecondaryAuthenticationFactorRegistrationResult", L"Status");
|
|
1620
|
+
}
|
|
1621
|
+
|
|
1622
|
+
if (!is_property_present.value())
|
|
1371
1623
|
{
|
|
1372
1624
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
1373
1625
|
return nullptr;
|
|
@@ -1484,27 +1736,32 @@ PyMODINIT_FUNC PyInit__winrt_windows_security_authentication_identity_provider(v
|
|
|
1484
1736
|
return nullptr;
|
|
1485
1737
|
}
|
|
1486
1738
|
|
|
1487
|
-
|
|
1739
|
+
py::pytype_handle SecondaryAuthenticationFactorAuthentication_type{py::register_python_type(module.get(), &type_spec_SecondaryAuthenticationFactorAuthentication, object_bases.get(), reinterpret_cast<PyTypeObject*>(type_SecondaryAuthenticationFactorAuthentication_Static.get()))};
|
|
1740
|
+
if (!SecondaryAuthenticationFactorAuthentication_type)
|
|
1488
1741
|
{
|
|
1489
1742
|
return nullptr;
|
|
1490
1743
|
}
|
|
1491
1744
|
|
|
1492
|
-
|
|
1745
|
+
py::pytype_handle SecondaryAuthenticationFactorAuthenticationResult_type{py::register_python_type(module.get(), &type_spec_SecondaryAuthenticationFactorAuthenticationResult, object_bases.get(), nullptr)};
|
|
1746
|
+
if (!SecondaryAuthenticationFactorAuthenticationResult_type)
|
|
1493
1747
|
{
|
|
1494
1748
|
return nullptr;
|
|
1495
1749
|
}
|
|
1496
1750
|
|
|
1497
|
-
|
|
1751
|
+
py::pytype_handle SecondaryAuthenticationFactorAuthenticationStageChangedEventArgs_type{py::register_python_type(module.get(), &type_spec_SecondaryAuthenticationFactorAuthenticationStageChangedEventArgs, object_bases.get(), nullptr)};
|
|
1752
|
+
if (!SecondaryAuthenticationFactorAuthenticationStageChangedEventArgs_type)
|
|
1498
1753
|
{
|
|
1499
1754
|
return nullptr;
|
|
1500
1755
|
}
|
|
1501
1756
|
|
|
1502
|
-
|
|
1757
|
+
py::pytype_handle SecondaryAuthenticationFactorAuthenticationStageInfo_type{py::register_python_type(module.get(), &type_spec_SecondaryAuthenticationFactorAuthenticationStageInfo, object_bases.get(), nullptr)};
|
|
1758
|
+
if (!SecondaryAuthenticationFactorAuthenticationStageInfo_type)
|
|
1503
1759
|
{
|
|
1504
1760
|
return nullptr;
|
|
1505
1761
|
}
|
|
1506
1762
|
|
|
1507
|
-
|
|
1763
|
+
py::pytype_handle SecondaryAuthenticationFactorInfo_type{py::register_python_type(module.get(), &type_spec_SecondaryAuthenticationFactorInfo, object_bases.get(), nullptr)};
|
|
1764
|
+
if (!SecondaryAuthenticationFactorInfo_type)
|
|
1508
1765
|
{
|
|
1509
1766
|
return nullptr;
|
|
1510
1767
|
}
|
|
@@ -1515,12 +1772,14 @@ PyMODINIT_FUNC PyInit__winrt_windows_security_authentication_identity_provider(v
|
|
|
1515
1772
|
return nullptr;
|
|
1516
1773
|
}
|
|
1517
1774
|
|
|
1518
|
-
|
|
1775
|
+
py::pytype_handle SecondaryAuthenticationFactorRegistration_type{py::register_python_type(module.get(), &type_spec_SecondaryAuthenticationFactorRegistration, object_bases.get(), reinterpret_cast<PyTypeObject*>(type_SecondaryAuthenticationFactorRegistration_Static.get()))};
|
|
1776
|
+
if (!SecondaryAuthenticationFactorRegistration_type)
|
|
1519
1777
|
{
|
|
1520
1778
|
return nullptr;
|
|
1521
1779
|
}
|
|
1522
1780
|
|
|
1523
|
-
|
|
1781
|
+
py::pytype_handle SecondaryAuthenticationFactorRegistrationResult_type{py::register_python_type(module.get(), &type_spec_SecondaryAuthenticationFactorRegistrationResult, object_bases.get(), nullptr)};
|
|
1782
|
+
if (!SecondaryAuthenticationFactorRegistrationResult_type)
|
|
1524
1783
|
{
|
|
1525
1784
|
return nullptr;
|
|
1526
1785
|
}
|
|
@@ -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.Identity.Provider
|
|
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,13 +10,13 @@ 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.
|
|
19
|
-
Requires-Dist: winrt-Windows.Storage.Streams[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
|
+
Requires-Dist: winrt-Windows.Storage.Streams[all]==2.3.0; extra == "all"
|
|
20
20
|
|
|
21
21
|
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
22
22
|
|
|
@@ -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
|