winrt-Windows.Security.ExchangeActiveSyncProvisioning 2.2.0__tar.gz → 3.0.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_exchangeactivesyncprovisioning-2.2.0 → winrt_windows_security_exchangeactivesyncprovisioning-3.0.0}/PKG-INFO +4 -4
- {winrt_windows_security_exchangeactivesyncprovisioning-2.2.0 → winrt_windows_security_exchangeactivesyncprovisioning-3.0.0}/all-requirements.txt +2 -2
- {winrt_windows_security_exchangeactivesyncprovisioning-2.2.0 → winrt_windows_security_exchangeactivesyncprovisioning-3.0.0}/py.Windows.Security.ExchangeActiveSyncProvisioning.cpp +213 -72
- {winrt_windows_security_exchangeactivesyncprovisioning-2.2.0 → winrt_windows_security_exchangeactivesyncprovisioning-3.0.0}/pyproject.toml +2 -2
- winrt_windows_security_exchangeactivesyncprovisioning-3.0.0/pywinrt-version.txt +1 -0
- {winrt_windows_security_exchangeactivesyncprovisioning-2.2.0 → winrt_windows_security_exchangeactivesyncprovisioning-3.0.0}/requirements.txt +2 -2
- {winrt_windows_security_exchangeactivesyncprovisioning-2.2.0 → winrt_windows_security_exchangeactivesyncprovisioning-3.0.0}/setup.py +1 -1
- winrt_windows_security_exchangeactivesyncprovisioning-3.0.0/winrt/_winrt_windows_security_exchangeactivesyncprovisioning.pyi +134 -0
- {winrt_windows_security_exchangeactivesyncprovisioning-2.2.0 → winrt_windows_security_exchangeactivesyncprovisioning-3.0.0}/winrt/windows/security/exchangeactivesyncprovisioning/__init__.py +6 -5
- {winrt_windows_security_exchangeactivesyncprovisioning-2.2.0 → winrt_windows_security_exchangeactivesyncprovisioning-3.0.0}/winrt_Windows.Security.ExchangeActiveSyncProvisioning.egg-info/PKG-INFO +4 -4
- winrt_windows_security_exchangeactivesyncprovisioning-3.0.0/winrt_Windows.Security.ExchangeActiveSyncProvisioning.egg-info/requires.txt +4 -0
- winrt_windows_security_exchangeactivesyncprovisioning-2.2.0/pywinrt-version.txt +0 -1
- winrt_windows_security_exchangeactivesyncprovisioning-2.2.0/winrt/_winrt_windows_security_exchangeactivesyncprovisioning.pyi +0 -104
- winrt_windows_security_exchangeactivesyncprovisioning-2.2.0/winrt_Windows.Security.ExchangeActiveSyncProvisioning.egg-info/requires.txt +0 -4
- {winrt_windows_security_exchangeactivesyncprovisioning-2.2.0 → winrt_windows_security_exchangeactivesyncprovisioning-3.0.0}/README.md +0 -0
- {winrt_windows_security_exchangeactivesyncprovisioning-2.2.0 → winrt_windows_security_exchangeactivesyncprovisioning-3.0.0}/setup.cfg +0 -0
- {winrt_windows_security_exchangeactivesyncprovisioning-2.2.0 → winrt_windows_security_exchangeactivesyncprovisioning-3.0.0}/winrt/windows/security/exchangeactivesyncprovisioning/py.typed +0 -0
- {winrt_windows_security_exchangeactivesyncprovisioning-2.2.0 → winrt_windows_security_exchangeactivesyncprovisioning-3.0.0}/winrt_Windows.Security.ExchangeActiveSyncProvisioning.egg-info/SOURCES.txt +0 -0
- {winrt_windows_security_exchangeactivesyncprovisioning-2.2.0 → winrt_windows_security_exchangeactivesyncprovisioning-3.0.0}/winrt_Windows.Security.ExchangeActiveSyncProvisioning.egg-info/dependency_links.txt +0 -0
- {winrt_windows_security_exchangeactivesyncprovisioning-2.2.0 → winrt_windows_security_exchangeactivesyncprovisioning-3.0.0}/winrt_Windows.Security.ExchangeActiveSyncProvisioning.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: winrt-Windows.Security.ExchangeActiveSyncProvisioning
|
|
3
|
-
Version:
|
|
3
|
+
Version: 3.0.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,11 +10,11 @@ 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:
|
|
13
|
+
Requires-Python: >=3.9
|
|
14
14
|
Description-Content-Type: text/markdown
|
|
15
|
-
Requires-Dist: winrt-runtime==
|
|
15
|
+
Requires-Dist: winrt-runtime==3.0.0
|
|
16
16
|
Provides-Extra: all
|
|
17
|
-
Requires-Dist: winrt-Windows.Foundation[all]==
|
|
17
|
+
Requires-Dist: winrt-Windows.Foundation[all]==3.0.0; extra == "all"
|
|
18
18
|
|
|
19
19
|
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
20
20
|
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
# WARNING: Please don't edit this file. It was generated by Python/WinRT
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v3.0.0
|
|
2
2
|
|
|
3
|
-
winrt-Windows.Foundation[all]==
|
|
3
|
+
winrt-Windows.Foundation[all]==3.0.0
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// WARNING: Please don't edit this file. It was generated by Python/WinRT
|
|
1
|
+
// WARNING: Please don't edit this file. It was generated by Python/WinRT v3.0.0
|
|
2
2
|
|
|
3
3
|
#include "py.Windows.Security.ExchangeActiveSyncProvisioning.h"
|
|
4
4
|
|
|
@@ -8,13 +8,13 @@ namespace py::cpp::Windows::Security::ExchangeActiveSyncProvisioning
|
|
|
8
8
|
|
|
9
9
|
static PyObject* _new_EasClientDeviceInformation(PyTypeObject* type, PyObject* args, PyObject* kwds) noexcept
|
|
10
10
|
{
|
|
11
|
-
if (kwds
|
|
11
|
+
if (kwds)
|
|
12
12
|
{
|
|
13
13
|
py::set_invalid_kwd_args_error();
|
|
14
14
|
return nullptr;
|
|
15
15
|
}
|
|
16
16
|
|
|
17
|
-
auto arg_count =
|
|
17
|
+
auto arg_count = PyTuple_GET_SIZE(args);
|
|
18
18
|
if (arg_count == 0)
|
|
19
19
|
{
|
|
20
20
|
try
|
|
@@ -60,7 +60,11 @@ namespace py::cpp::Windows::Security::ExchangeActiveSyncProvisioning
|
|
|
60
60
|
return nullptr;
|
|
61
61
|
}
|
|
62
62
|
|
|
63
|
-
return py::convert(
|
|
63
|
+
return py::convert([&]()
|
|
64
|
+
{
|
|
65
|
+
auto _gil = release_gil();
|
|
66
|
+
return self->obj.FriendlyName();
|
|
67
|
+
}());
|
|
64
68
|
}
|
|
65
69
|
catch (...)
|
|
66
70
|
{
|
|
@@ -86,7 +90,11 @@ namespace py::cpp::Windows::Security::ExchangeActiveSyncProvisioning
|
|
|
86
90
|
return nullptr;
|
|
87
91
|
}
|
|
88
92
|
|
|
89
|
-
return py::convert(
|
|
93
|
+
return py::convert([&]()
|
|
94
|
+
{
|
|
95
|
+
auto _gil = release_gil();
|
|
96
|
+
return self->obj.Id();
|
|
97
|
+
}());
|
|
90
98
|
}
|
|
91
99
|
catch (...)
|
|
92
100
|
{
|
|
@@ -112,7 +120,11 @@ namespace py::cpp::Windows::Security::ExchangeActiveSyncProvisioning
|
|
|
112
120
|
return nullptr;
|
|
113
121
|
}
|
|
114
122
|
|
|
115
|
-
return py::convert(
|
|
123
|
+
return py::convert([&]()
|
|
124
|
+
{
|
|
125
|
+
auto _gil = release_gil();
|
|
126
|
+
return self->obj.OperatingSystem();
|
|
127
|
+
}());
|
|
116
128
|
}
|
|
117
129
|
catch (...)
|
|
118
130
|
{
|
|
@@ -138,7 +150,11 @@ namespace py::cpp::Windows::Security::ExchangeActiveSyncProvisioning
|
|
|
138
150
|
return nullptr;
|
|
139
151
|
}
|
|
140
152
|
|
|
141
|
-
return py::convert(
|
|
153
|
+
return py::convert([&]()
|
|
154
|
+
{
|
|
155
|
+
auto _gil = release_gil();
|
|
156
|
+
return self->obj.SystemManufacturer();
|
|
157
|
+
}());
|
|
142
158
|
}
|
|
143
159
|
catch (...)
|
|
144
160
|
{
|
|
@@ -164,7 +180,11 @@ namespace py::cpp::Windows::Security::ExchangeActiveSyncProvisioning
|
|
|
164
180
|
return nullptr;
|
|
165
181
|
}
|
|
166
182
|
|
|
167
|
-
return py::convert(
|
|
183
|
+
return py::convert([&]()
|
|
184
|
+
{
|
|
185
|
+
auto _gil = release_gil();
|
|
186
|
+
return self->obj.SystemProductName();
|
|
187
|
+
}());
|
|
168
188
|
}
|
|
169
189
|
catch (...)
|
|
170
190
|
{
|
|
@@ -190,7 +210,11 @@ namespace py::cpp::Windows::Security::ExchangeActiveSyncProvisioning
|
|
|
190
210
|
return nullptr;
|
|
191
211
|
}
|
|
192
212
|
|
|
193
|
-
return py::convert(
|
|
213
|
+
return py::convert([&]()
|
|
214
|
+
{
|
|
215
|
+
auto _gil = release_gil();
|
|
216
|
+
return self->obj.SystemSku();
|
|
217
|
+
}());
|
|
194
218
|
}
|
|
195
219
|
catch (...)
|
|
196
220
|
{
|
|
@@ -216,7 +240,11 @@ namespace py::cpp::Windows::Security::ExchangeActiveSyncProvisioning
|
|
|
216
240
|
return nullptr;
|
|
217
241
|
}
|
|
218
242
|
|
|
219
|
-
return py::convert(
|
|
243
|
+
return py::convert([&]()
|
|
244
|
+
{
|
|
245
|
+
auto _gil = release_gil();
|
|
246
|
+
return self->obj.SystemFirmwareVersion();
|
|
247
|
+
}());
|
|
220
248
|
}
|
|
221
249
|
catch (...)
|
|
222
250
|
{
|
|
@@ -242,7 +270,11 @@ namespace py::cpp::Windows::Security::ExchangeActiveSyncProvisioning
|
|
|
242
270
|
return nullptr;
|
|
243
271
|
}
|
|
244
272
|
|
|
245
|
-
return py::convert(
|
|
273
|
+
return py::convert([&]()
|
|
274
|
+
{
|
|
275
|
+
auto _gil = release_gil();
|
|
276
|
+
return self->obj.SystemHardwareVersion();
|
|
277
|
+
}());
|
|
246
278
|
}
|
|
247
279
|
catch (...)
|
|
248
280
|
{
|
|
@@ -278,8 +310,7 @@ namespace py::cpp::Windows::Security::ExchangeActiveSyncProvisioning
|
|
|
278
310
|
static PyMethodDef _methods_EasClientDeviceInformation[] = {
|
|
279
311
|
{ "_assign_array_", _assign_array_EasClientDeviceInformation, METH_O | METH_STATIC, nullptr },
|
|
280
312
|
{ "_from", reinterpret_cast<PyCFunction>(_from_EasClientDeviceInformation), METH_O | METH_STATIC, nullptr },
|
|
281
|
-
{ }
|
|
282
|
-
};
|
|
313
|
+
{ }};
|
|
283
314
|
|
|
284
315
|
static PyGetSetDef _getset_EasClientDeviceInformation[] = {
|
|
285
316
|
{ "friendly_name", reinterpret_cast<getter>(EasClientDeviceInformation_get_FriendlyName), nullptr, nullptr, nullptr },
|
|
@@ -290,16 +321,14 @@ namespace py::cpp::Windows::Security::ExchangeActiveSyncProvisioning
|
|
|
290
321
|
{ "system_sku", reinterpret_cast<getter>(EasClientDeviceInformation_get_SystemSku), nullptr, nullptr, nullptr },
|
|
291
322
|
{ "system_firmware_version", reinterpret_cast<getter>(EasClientDeviceInformation_get_SystemFirmwareVersion), nullptr, nullptr, nullptr },
|
|
292
323
|
{ "system_hardware_version", reinterpret_cast<getter>(EasClientDeviceInformation_get_SystemHardwareVersion), nullptr, nullptr, nullptr },
|
|
293
|
-
{ }
|
|
294
|
-
};
|
|
324
|
+
{ }};
|
|
295
325
|
|
|
296
326
|
static PyType_Slot _type_slots_EasClientDeviceInformation[] = {
|
|
297
327
|
{ Py_tp_new, reinterpret_cast<void*>(_new_EasClientDeviceInformation) },
|
|
298
328
|
{ Py_tp_dealloc, reinterpret_cast<void*>(_dealloc_EasClientDeviceInformation) },
|
|
299
329
|
{ Py_tp_methods, reinterpret_cast<void*>(_methods_EasClientDeviceInformation) },
|
|
300
330
|
{ Py_tp_getset, reinterpret_cast<void*>(_getset_EasClientDeviceInformation) },
|
|
301
|
-
{ }
|
|
302
|
-
};
|
|
331
|
+
{ }};
|
|
303
332
|
|
|
304
333
|
static PyType_Spec type_spec_EasClientDeviceInformation = {
|
|
305
334
|
"winrt._winrt_windows_security_exchangeactivesyncprovisioning.EasClientDeviceInformation",
|
|
@@ -312,13 +341,13 @@ namespace py::cpp::Windows::Security::ExchangeActiveSyncProvisioning
|
|
|
312
341
|
|
|
313
342
|
static PyObject* _new_EasClientSecurityPolicy(PyTypeObject* type, PyObject* args, PyObject* kwds) noexcept
|
|
314
343
|
{
|
|
315
|
-
if (kwds
|
|
344
|
+
if (kwds)
|
|
316
345
|
{
|
|
317
346
|
py::set_invalid_kwd_args_error();
|
|
318
347
|
return nullptr;
|
|
319
348
|
}
|
|
320
349
|
|
|
321
|
-
auto arg_count =
|
|
350
|
+
auto arg_count = PyTuple_GET_SIZE(args);
|
|
322
351
|
if (arg_count == 0)
|
|
323
352
|
{
|
|
324
353
|
try
|
|
@@ -349,7 +378,7 @@ namespace py::cpp::Windows::Security::ExchangeActiveSyncProvisioning
|
|
|
349
378
|
|
|
350
379
|
static PyObject* EasClientSecurityPolicy_ApplyAsync(py::wrapper::Windows::Security::ExchangeActiveSyncProvisioning::EasClientSecurityPolicy* self, PyObject* args) noexcept
|
|
351
380
|
{
|
|
352
|
-
auto arg_count =
|
|
381
|
+
auto arg_count = PyTuple_GET_SIZE(args);
|
|
353
382
|
|
|
354
383
|
if (arg_count == 0)
|
|
355
384
|
{
|
|
@@ -368,7 +397,11 @@ namespace py::cpp::Windows::Security::ExchangeActiveSyncProvisioning
|
|
|
368
397
|
return nullptr;
|
|
369
398
|
}
|
|
370
399
|
|
|
371
|
-
return py::convert(
|
|
400
|
+
return py::convert([&]()
|
|
401
|
+
{
|
|
402
|
+
auto _gil = release_gil();
|
|
403
|
+
return self->obj.ApplyAsync();
|
|
404
|
+
}());
|
|
372
405
|
}
|
|
373
406
|
catch (...)
|
|
374
407
|
{
|
|
@@ -385,7 +418,7 @@ namespace py::cpp::Windows::Security::ExchangeActiveSyncProvisioning
|
|
|
385
418
|
|
|
386
419
|
static PyObject* EasClientSecurityPolicy_CheckCompliance(py::wrapper::Windows::Security::ExchangeActiveSyncProvisioning::EasClientSecurityPolicy* self, PyObject* args) noexcept
|
|
387
420
|
{
|
|
388
|
-
auto arg_count =
|
|
421
|
+
auto arg_count = PyTuple_GET_SIZE(args);
|
|
389
422
|
|
|
390
423
|
if (arg_count == 0)
|
|
391
424
|
{
|
|
@@ -404,7 +437,11 @@ namespace py::cpp::Windows::Security::ExchangeActiveSyncProvisioning
|
|
|
404
437
|
return nullptr;
|
|
405
438
|
}
|
|
406
439
|
|
|
407
|
-
return py::convert(
|
|
440
|
+
return py::convert([&]()
|
|
441
|
+
{
|
|
442
|
+
auto _gil = release_gil();
|
|
443
|
+
return self->obj.CheckCompliance();
|
|
444
|
+
}());
|
|
408
445
|
}
|
|
409
446
|
catch (...)
|
|
410
447
|
{
|
|
@@ -436,7 +473,11 @@ namespace py::cpp::Windows::Security::ExchangeActiveSyncProvisioning
|
|
|
436
473
|
return nullptr;
|
|
437
474
|
}
|
|
438
475
|
|
|
439
|
-
return py::convert(
|
|
476
|
+
return py::convert([&]()
|
|
477
|
+
{
|
|
478
|
+
auto _gil = release_gil();
|
|
479
|
+
return self->obj.RequireEncryption();
|
|
480
|
+
}());
|
|
440
481
|
}
|
|
441
482
|
catch (...)
|
|
442
483
|
{
|
|
@@ -447,7 +488,7 @@ namespace py::cpp::Windows::Security::ExchangeActiveSyncProvisioning
|
|
|
447
488
|
|
|
448
489
|
static int EasClientSecurityPolicy_put_RequireEncryption(py::wrapper::Windows::Security::ExchangeActiveSyncProvisioning::EasClientSecurityPolicy* self, PyObject* arg, void* /*unused*/) noexcept
|
|
449
490
|
{
|
|
450
|
-
if (arg
|
|
491
|
+
if (!arg)
|
|
451
492
|
{
|
|
452
493
|
PyErr_SetString(PyExc_AttributeError, "can't delete attribute");
|
|
453
494
|
return -1;
|
|
@@ -470,7 +511,11 @@ namespace py::cpp::Windows::Security::ExchangeActiveSyncProvisioning
|
|
|
470
511
|
|
|
471
512
|
auto param0 = py::convert_to<bool>(arg);
|
|
472
513
|
|
|
473
|
-
|
|
514
|
+
{
|
|
515
|
+
auto _gil = release_gil();
|
|
516
|
+
self->obj.RequireEncryption(param0);
|
|
517
|
+
}
|
|
518
|
+
|
|
474
519
|
return 0;
|
|
475
520
|
}
|
|
476
521
|
catch (...)
|
|
@@ -497,7 +542,11 @@ namespace py::cpp::Windows::Security::ExchangeActiveSyncProvisioning
|
|
|
497
542
|
return nullptr;
|
|
498
543
|
}
|
|
499
544
|
|
|
500
|
-
return py::convert(
|
|
545
|
+
return py::convert([&]()
|
|
546
|
+
{
|
|
547
|
+
auto _gil = release_gil();
|
|
548
|
+
return self->obj.PasswordHistory();
|
|
549
|
+
}());
|
|
501
550
|
}
|
|
502
551
|
catch (...)
|
|
503
552
|
{
|
|
@@ -508,7 +557,7 @@ namespace py::cpp::Windows::Security::ExchangeActiveSyncProvisioning
|
|
|
508
557
|
|
|
509
558
|
static int EasClientSecurityPolicy_put_PasswordHistory(py::wrapper::Windows::Security::ExchangeActiveSyncProvisioning::EasClientSecurityPolicy* self, PyObject* arg, void* /*unused*/) noexcept
|
|
510
559
|
{
|
|
511
|
-
if (arg
|
|
560
|
+
if (!arg)
|
|
512
561
|
{
|
|
513
562
|
PyErr_SetString(PyExc_AttributeError, "can't delete attribute");
|
|
514
563
|
return -1;
|
|
@@ -531,7 +580,11 @@ namespace py::cpp::Windows::Security::ExchangeActiveSyncProvisioning
|
|
|
531
580
|
|
|
532
581
|
auto param0 = py::convert_to<uint32_t>(arg);
|
|
533
582
|
|
|
534
|
-
|
|
583
|
+
{
|
|
584
|
+
auto _gil = release_gil();
|
|
585
|
+
self->obj.PasswordHistory(param0);
|
|
586
|
+
}
|
|
587
|
+
|
|
535
588
|
return 0;
|
|
536
589
|
}
|
|
537
590
|
catch (...)
|
|
@@ -558,7 +611,11 @@ namespace py::cpp::Windows::Security::ExchangeActiveSyncProvisioning
|
|
|
558
611
|
return nullptr;
|
|
559
612
|
}
|
|
560
613
|
|
|
561
|
-
return py::convert(
|
|
614
|
+
return py::convert([&]()
|
|
615
|
+
{
|
|
616
|
+
auto _gil = release_gil();
|
|
617
|
+
return self->obj.PasswordExpiration();
|
|
618
|
+
}());
|
|
562
619
|
}
|
|
563
620
|
catch (...)
|
|
564
621
|
{
|
|
@@ -569,7 +626,7 @@ namespace py::cpp::Windows::Security::ExchangeActiveSyncProvisioning
|
|
|
569
626
|
|
|
570
627
|
static int EasClientSecurityPolicy_put_PasswordExpiration(py::wrapper::Windows::Security::ExchangeActiveSyncProvisioning::EasClientSecurityPolicy* self, PyObject* arg, void* /*unused*/) noexcept
|
|
571
628
|
{
|
|
572
|
-
if (arg
|
|
629
|
+
if (!arg)
|
|
573
630
|
{
|
|
574
631
|
PyErr_SetString(PyExc_AttributeError, "can't delete attribute");
|
|
575
632
|
return -1;
|
|
@@ -592,7 +649,11 @@ namespace py::cpp::Windows::Security::ExchangeActiveSyncProvisioning
|
|
|
592
649
|
|
|
593
650
|
auto param0 = py::convert_to<winrt::Windows::Foundation::TimeSpan>(arg);
|
|
594
651
|
|
|
595
|
-
|
|
652
|
+
{
|
|
653
|
+
auto _gil = release_gil();
|
|
654
|
+
self->obj.PasswordExpiration(param0);
|
|
655
|
+
}
|
|
656
|
+
|
|
596
657
|
return 0;
|
|
597
658
|
}
|
|
598
659
|
catch (...)
|
|
@@ -619,7 +680,11 @@ namespace py::cpp::Windows::Security::ExchangeActiveSyncProvisioning
|
|
|
619
680
|
return nullptr;
|
|
620
681
|
}
|
|
621
682
|
|
|
622
|
-
return py::convert(
|
|
683
|
+
return py::convert([&]()
|
|
684
|
+
{
|
|
685
|
+
auto _gil = release_gil();
|
|
686
|
+
return self->obj.MinPasswordLength();
|
|
687
|
+
}());
|
|
623
688
|
}
|
|
624
689
|
catch (...)
|
|
625
690
|
{
|
|
@@ -630,7 +695,7 @@ namespace py::cpp::Windows::Security::ExchangeActiveSyncProvisioning
|
|
|
630
695
|
|
|
631
696
|
static int EasClientSecurityPolicy_put_MinPasswordLength(py::wrapper::Windows::Security::ExchangeActiveSyncProvisioning::EasClientSecurityPolicy* self, PyObject* arg, void* /*unused*/) noexcept
|
|
632
697
|
{
|
|
633
|
-
if (arg
|
|
698
|
+
if (!arg)
|
|
634
699
|
{
|
|
635
700
|
PyErr_SetString(PyExc_AttributeError, "can't delete attribute");
|
|
636
701
|
return -1;
|
|
@@ -653,7 +718,11 @@ namespace py::cpp::Windows::Security::ExchangeActiveSyncProvisioning
|
|
|
653
718
|
|
|
654
719
|
auto param0 = py::convert_to<uint8_t>(arg);
|
|
655
720
|
|
|
656
|
-
|
|
721
|
+
{
|
|
722
|
+
auto _gil = release_gil();
|
|
723
|
+
self->obj.MinPasswordLength(param0);
|
|
724
|
+
}
|
|
725
|
+
|
|
657
726
|
return 0;
|
|
658
727
|
}
|
|
659
728
|
catch (...)
|
|
@@ -680,7 +749,11 @@ namespace py::cpp::Windows::Security::ExchangeActiveSyncProvisioning
|
|
|
680
749
|
return nullptr;
|
|
681
750
|
}
|
|
682
751
|
|
|
683
|
-
return py::convert(
|
|
752
|
+
return py::convert([&]()
|
|
753
|
+
{
|
|
754
|
+
auto _gil = release_gil();
|
|
755
|
+
return self->obj.MinPasswordComplexCharacters();
|
|
756
|
+
}());
|
|
684
757
|
}
|
|
685
758
|
catch (...)
|
|
686
759
|
{
|
|
@@ -691,7 +764,7 @@ namespace py::cpp::Windows::Security::ExchangeActiveSyncProvisioning
|
|
|
691
764
|
|
|
692
765
|
static int EasClientSecurityPolicy_put_MinPasswordComplexCharacters(py::wrapper::Windows::Security::ExchangeActiveSyncProvisioning::EasClientSecurityPolicy* self, PyObject* arg, void* /*unused*/) noexcept
|
|
693
766
|
{
|
|
694
|
-
if (arg
|
|
767
|
+
if (!arg)
|
|
695
768
|
{
|
|
696
769
|
PyErr_SetString(PyExc_AttributeError, "can't delete attribute");
|
|
697
770
|
return -1;
|
|
@@ -714,7 +787,11 @@ namespace py::cpp::Windows::Security::ExchangeActiveSyncProvisioning
|
|
|
714
787
|
|
|
715
788
|
auto param0 = py::convert_to<uint8_t>(arg);
|
|
716
789
|
|
|
717
|
-
|
|
790
|
+
{
|
|
791
|
+
auto _gil = release_gil();
|
|
792
|
+
self->obj.MinPasswordComplexCharacters(param0);
|
|
793
|
+
}
|
|
794
|
+
|
|
718
795
|
return 0;
|
|
719
796
|
}
|
|
720
797
|
catch (...)
|
|
@@ -741,7 +818,11 @@ namespace py::cpp::Windows::Security::ExchangeActiveSyncProvisioning
|
|
|
741
818
|
return nullptr;
|
|
742
819
|
}
|
|
743
820
|
|
|
744
|
-
return py::convert(
|
|
821
|
+
return py::convert([&]()
|
|
822
|
+
{
|
|
823
|
+
auto _gil = release_gil();
|
|
824
|
+
return self->obj.MaxPasswordFailedAttempts();
|
|
825
|
+
}());
|
|
745
826
|
}
|
|
746
827
|
catch (...)
|
|
747
828
|
{
|
|
@@ -752,7 +833,7 @@ namespace py::cpp::Windows::Security::ExchangeActiveSyncProvisioning
|
|
|
752
833
|
|
|
753
834
|
static int EasClientSecurityPolicy_put_MaxPasswordFailedAttempts(py::wrapper::Windows::Security::ExchangeActiveSyncProvisioning::EasClientSecurityPolicy* self, PyObject* arg, void* /*unused*/) noexcept
|
|
754
835
|
{
|
|
755
|
-
if (arg
|
|
836
|
+
if (!arg)
|
|
756
837
|
{
|
|
757
838
|
PyErr_SetString(PyExc_AttributeError, "can't delete attribute");
|
|
758
839
|
return -1;
|
|
@@ -775,7 +856,11 @@ namespace py::cpp::Windows::Security::ExchangeActiveSyncProvisioning
|
|
|
775
856
|
|
|
776
857
|
auto param0 = py::convert_to<uint8_t>(arg);
|
|
777
858
|
|
|
778
|
-
|
|
859
|
+
{
|
|
860
|
+
auto _gil = release_gil();
|
|
861
|
+
self->obj.MaxPasswordFailedAttempts(param0);
|
|
862
|
+
}
|
|
863
|
+
|
|
779
864
|
return 0;
|
|
780
865
|
}
|
|
781
866
|
catch (...)
|
|
@@ -802,7 +887,11 @@ namespace py::cpp::Windows::Security::ExchangeActiveSyncProvisioning
|
|
|
802
887
|
return nullptr;
|
|
803
888
|
}
|
|
804
889
|
|
|
805
|
-
return py::convert(
|
|
890
|
+
return py::convert([&]()
|
|
891
|
+
{
|
|
892
|
+
auto _gil = release_gil();
|
|
893
|
+
return self->obj.MaxInactivityTimeLock();
|
|
894
|
+
}());
|
|
806
895
|
}
|
|
807
896
|
catch (...)
|
|
808
897
|
{
|
|
@@ -813,7 +902,7 @@ namespace py::cpp::Windows::Security::ExchangeActiveSyncProvisioning
|
|
|
813
902
|
|
|
814
903
|
static int EasClientSecurityPolicy_put_MaxInactivityTimeLock(py::wrapper::Windows::Security::ExchangeActiveSyncProvisioning::EasClientSecurityPolicy* self, PyObject* arg, void* /*unused*/) noexcept
|
|
815
904
|
{
|
|
816
|
-
if (arg
|
|
905
|
+
if (!arg)
|
|
817
906
|
{
|
|
818
907
|
PyErr_SetString(PyExc_AttributeError, "can't delete attribute");
|
|
819
908
|
return -1;
|
|
@@ -836,7 +925,11 @@ namespace py::cpp::Windows::Security::ExchangeActiveSyncProvisioning
|
|
|
836
925
|
|
|
837
926
|
auto param0 = py::convert_to<winrt::Windows::Foundation::TimeSpan>(arg);
|
|
838
927
|
|
|
839
|
-
|
|
928
|
+
{
|
|
929
|
+
auto _gil = release_gil();
|
|
930
|
+
self->obj.MaxInactivityTimeLock(param0);
|
|
931
|
+
}
|
|
932
|
+
|
|
840
933
|
return 0;
|
|
841
934
|
}
|
|
842
935
|
catch (...)
|
|
@@ -863,7 +956,11 @@ namespace py::cpp::Windows::Security::ExchangeActiveSyncProvisioning
|
|
|
863
956
|
return nullptr;
|
|
864
957
|
}
|
|
865
958
|
|
|
866
|
-
return py::convert(
|
|
959
|
+
return py::convert([&]()
|
|
960
|
+
{
|
|
961
|
+
auto _gil = release_gil();
|
|
962
|
+
return self->obj.DisallowConvenienceLogon();
|
|
963
|
+
}());
|
|
867
964
|
}
|
|
868
965
|
catch (...)
|
|
869
966
|
{
|
|
@@ -874,7 +971,7 @@ namespace py::cpp::Windows::Security::ExchangeActiveSyncProvisioning
|
|
|
874
971
|
|
|
875
972
|
static int EasClientSecurityPolicy_put_DisallowConvenienceLogon(py::wrapper::Windows::Security::ExchangeActiveSyncProvisioning::EasClientSecurityPolicy* self, PyObject* arg, void* /*unused*/) noexcept
|
|
876
973
|
{
|
|
877
|
-
if (arg
|
|
974
|
+
if (!arg)
|
|
878
975
|
{
|
|
879
976
|
PyErr_SetString(PyExc_AttributeError, "can't delete attribute");
|
|
880
977
|
return -1;
|
|
@@ -897,7 +994,11 @@ namespace py::cpp::Windows::Security::ExchangeActiveSyncProvisioning
|
|
|
897
994
|
|
|
898
995
|
auto param0 = py::convert_to<bool>(arg);
|
|
899
996
|
|
|
900
|
-
|
|
997
|
+
{
|
|
998
|
+
auto _gil = release_gil();
|
|
999
|
+
self->obj.DisallowConvenienceLogon(param0);
|
|
1000
|
+
}
|
|
1001
|
+
|
|
901
1002
|
return 0;
|
|
902
1003
|
}
|
|
903
1004
|
catch (...)
|
|
@@ -936,8 +1037,7 @@ namespace py::cpp::Windows::Security::ExchangeActiveSyncProvisioning
|
|
|
936
1037
|
{ "check_compliance", reinterpret_cast<PyCFunction>(EasClientSecurityPolicy_CheckCompliance), METH_VARARGS, nullptr },
|
|
937
1038
|
{ "_assign_array_", _assign_array_EasClientSecurityPolicy, METH_O | METH_STATIC, nullptr },
|
|
938
1039
|
{ "_from", reinterpret_cast<PyCFunction>(_from_EasClientSecurityPolicy), METH_O | METH_STATIC, nullptr },
|
|
939
|
-
{ }
|
|
940
|
-
};
|
|
1040
|
+
{ }};
|
|
941
1041
|
|
|
942
1042
|
static PyGetSetDef _getset_EasClientSecurityPolicy[] = {
|
|
943
1043
|
{ "require_encryption", reinterpret_cast<getter>(EasClientSecurityPolicy_get_RequireEncryption), reinterpret_cast<setter>(EasClientSecurityPolicy_put_RequireEncryption), nullptr, nullptr },
|
|
@@ -948,16 +1048,14 @@ namespace py::cpp::Windows::Security::ExchangeActiveSyncProvisioning
|
|
|
948
1048
|
{ "max_password_failed_attempts", reinterpret_cast<getter>(EasClientSecurityPolicy_get_MaxPasswordFailedAttempts), reinterpret_cast<setter>(EasClientSecurityPolicy_put_MaxPasswordFailedAttempts), nullptr, nullptr },
|
|
949
1049
|
{ "max_inactivity_time_lock", reinterpret_cast<getter>(EasClientSecurityPolicy_get_MaxInactivityTimeLock), reinterpret_cast<setter>(EasClientSecurityPolicy_put_MaxInactivityTimeLock), nullptr, nullptr },
|
|
950
1050
|
{ "disallow_convenience_logon", reinterpret_cast<getter>(EasClientSecurityPolicy_get_DisallowConvenienceLogon), reinterpret_cast<setter>(EasClientSecurityPolicy_put_DisallowConvenienceLogon), nullptr, nullptr },
|
|
951
|
-
{ }
|
|
952
|
-
};
|
|
1051
|
+
{ }};
|
|
953
1052
|
|
|
954
1053
|
static PyType_Slot _type_slots_EasClientSecurityPolicy[] = {
|
|
955
1054
|
{ Py_tp_new, reinterpret_cast<void*>(_new_EasClientSecurityPolicy) },
|
|
956
1055
|
{ Py_tp_dealloc, reinterpret_cast<void*>(_dealloc_EasClientSecurityPolicy) },
|
|
957
1056
|
{ Py_tp_methods, reinterpret_cast<void*>(_methods_EasClientSecurityPolicy) },
|
|
958
1057
|
{ Py_tp_getset, reinterpret_cast<void*>(_getset_EasClientSecurityPolicy) },
|
|
959
|
-
{ }
|
|
960
|
-
};
|
|
1058
|
+
{ }};
|
|
961
1059
|
|
|
962
1060
|
static PyType_Spec type_spec_EasClientSecurityPolicy = {
|
|
963
1061
|
"winrt._winrt_windows_security_exchangeactivesyncprovisioning.EasClientSecurityPolicy",
|
|
@@ -1000,7 +1098,11 @@ namespace py::cpp::Windows::Security::ExchangeActiveSyncProvisioning
|
|
|
1000
1098
|
return nullptr;
|
|
1001
1099
|
}
|
|
1002
1100
|
|
|
1003
|
-
return py::convert(
|
|
1101
|
+
return py::convert([&]()
|
|
1102
|
+
{
|
|
1103
|
+
auto _gil = release_gil();
|
|
1104
|
+
return self->obj.Compliant();
|
|
1105
|
+
}());
|
|
1004
1106
|
}
|
|
1005
1107
|
catch (...)
|
|
1006
1108
|
{
|
|
@@ -1026,7 +1128,11 @@ namespace py::cpp::Windows::Security::ExchangeActiveSyncProvisioning
|
|
|
1026
1128
|
return nullptr;
|
|
1027
1129
|
}
|
|
1028
1130
|
|
|
1029
|
-
return py::convert(
|
|
1131
|
+
return py::convert([&]()
|
|
1132
|
+
{
|
|
1133
|
+
auto _gil = release_gil();
|
|
1134
|
+
return self->obj.DisallowConvenienceLogonResult();
|
|
1135
|
+
}());
|
|
1030
1136
|
}
|
|
1031
1137
|
catch (...)
|
|
1032
1138
|
{
|
|
@@ -1052,7 +1158,11 @@ namespace py::cpp::Windows::Security::ExchangeActiveSyncProvisioning
|
|
|
1052
1158
|
return nullptr;
|
|
1053
1159
|
}
|
|
1054
1160
|
|
|
1055
|
-
return py::convert(
|
|
1161
|
+
return py::convert([&]()
|
|
1162
|
+
{
|
|
1163
|
+
auto _gil = release_gil();
|
|
1164
|
+
return self->obj.MaxInactivityTimeLockResult();
|
|
1165
|
+
}());
|
|
1056
1166
|
}
|
|
1057
1167
|
catch (...)
|
|
1058
1168
|
{
|
|
@@ -1078,7 +1188,11 @@ namespace py::cpp::Windows::Security::ExchangeActiveSyncProvisioning
|
|
|
1078
1188
|
return nullptr;
|
|
1079
1189
|
}
|
|
1080
1190
|
|
|
1081
|
-
return py::convert(
|
|
1191
|
+
return py::convert([&]()
|
|
1192
|
+
{
|
|
1193
|
+
auto _gil = release_gil();
|
|
1194
|
+
return self->obj.MaxPasswordFailedAttemptsResult();
|
|
1195
|
+
}());
|
|
1082
1196
|
}
|
|
1083
1197
|
catch (...)
|
|
1084
1198
|
{
|
|
@@ -1104,7 +1218,11 @@ namespace py::cpp::Windows::Security::ExchangeActiveSyncProvisioning
|
|
|
1104
1218
|
return nullptr;
|
|
1105
1219
|
}
|
|
1106
1220
|
|
|
1107
|
-
return py::convert(
|
|
1221
|
+
return py::convert([&]()
|
|
1222
|
+
{
|
|
1223
|
+
auto _gil = release_gil();
|
|
1224
|
+
return self->obj.MinPasswordComplexCharactersResult();
|
|
1225
|
+
}());
|
|
1108
1226
|
}
|
|
1109
1227
|
catch (...)
|
|
1110
1228
|
{
|
|
@@ -1130,7 +1248,11 @@ namespace py::cpp::Windows::Security::ExchangeActiveSyncProvisioning
|
|
|
1130
1248
|
return nullptr;
|
|
1131
1249
|
}
|
|
1132
1250
|
|
|
1133
|
-
return py::convert(
|
|
1251
|
+
return py::convert([&]()
|
|
1252
|
+
{
|
|
1253
|
+
auto _gil = release_gil();
|
|
1254
|
+
return self->obj.MinPasswordLengthResult();
|
|
1255
|
+
}());
|
|
1134
1256
|
}
|
|
1135
1257
|
catch (...)
|
|
1136
1258
|
{
|
|
@@ -1156,7 +1278,11 @@ namespace py::cpp::Windows::Security::ExchangeActiveSyncProvisioning
|
|
|
1156
1278
|
return nullptr;
|
|
1157
1279
|
}
|
|
1158
1280
|
|
|
1159
|
-
return py::convert(
|
|
1281
|
+
return py::convert([&]()
|
|
1282
|
+
{
|
|
1283
|
+
auto _gil = release_gil();
|
|
1284
|
+
return self->obj.PasswordExpirationResult();
|
|
1285
|
+
}());
|
|
1160
1286
|
}
|
|
1161
1287
|
catch (...)
|
|
1162
1288
|
{
|
|
@@ -1182,7 +1308,11 @@ namespace py::cpp::Windows::Security::ExchangeActiveSyncProvisioning
|
|
|
1182
1308
|
return nullptr;
|
|
1183
1309
|
}
|
|
1184
1310
|
|
|
1185
|
-
return py::convert(
|
|
1311
|
+
return py::convert([&]()
|
|
1312
|
+
{
|
|
1313
|
+
auto _gil = release_gil();
|
|
1314
|
+
return self->obj.PasswordHistoryResult();
|
|
1315
|
+
}());
|
|
1186
1316
|
}
|
|
1187
1317
|
catch (...)
|
|
1188
1318
|
{
|
|
@@ -1208,7 +1338,11 @@ namespace py::cpp::Windows::Security::ExchangeActiveSyncProvisioning
|
|
|
1208
1338
|
return nullptr;
|
|
1209
1339
|
}
|
|
1210
1340
|
|
|
1211
|
-
return py::convert(
|
|
1341
|
+
return py::convert([&]()
|
|
1342
|
+
{
|
|
1343
|
+
auto _gil = release_gil();
|
|
1344
|
+
return self->obj.RequireEncryptionResult();
|
|
1345
|
+
}());
|
|
1212
1346
|
}
|
|
1213
1347
|
catch (...)
|
|
1214
1348
|
{
|
|
@@ -1234,7 +1368,11 @@ namespace py::cpp::Windows::Security::ExchangeActiveSyncProvisioning
|
|
|
1234
1368
|
return nullptr;
|
|
1235
1369
|
}
|
|
1236
1370
|
|
|
1237
|
-
return py::convert(
|
|
1371
|
+
return py::convert([&]()
|
|
1372
|
+
{
|
|
1373
|
+
auto _gil = release_gil();
|
|
1374
|
+
return self->obj.EncryptionProviderType();
|
|
1375
|
+
}());
|
|
1238
1376
|
}
|
|
1239
1377
|
catch (...)
|
|
1240
1378
|
{
|
|
@@ -1270,8 +1408,7 @@ namespace py::cpp::Windows::Security::ExchangeActiveSyncProvisioning
|
|
|
1270
1408
|
static PyMethodDef _methods_EasComplianceResults[] = {
|
|
1271
1409
|
{ "_assign_array_", _assign_array_EasComplianceResults, METH_O | METH_STATIC, nullptr },
|
|
1272
1410
|
{ "_from", reinterpret_cast<PyCFunction>(_from_EasComplianceResults), METH_O | METH_STATIC, nullptr },
|
|
1273
|
-
{ }
|
|
1274
|
-
};
|
|
1411
|
+
{ }};
|
|
1275
1412
|
|
|
1276
1413
|
static PyGetSetDef _getset_EasComplianceResults[] = {
|
|
1277
1414
|
{ "compliant", reinterpret_cast<getter>(EasComplianceResults_get_Compliant), nullptr, nullptr, nullptr },
|
|
@@ -1284,16 +1421,14 @@ namespace py::cpp::Windows::Security::ExchangeActiveSyncProvisioning
|
|
|
1284
1421
|
{ "password_history_result", reinterpret_cast<getter>(EasComplianceResults_get_PasswordHistoryResult), nullptr, nullptr, nullptr },
|
|
1285
1422
|
{ "require_encryption_result", reinterpret_cast<getter>(EasComplianceResults_get_RequireEncryptionResult), nullptr, nullptr, nullptr },
|
|
1286
1423
|
{ "encryption_provider_type", reinterpret_cast<getter>(EasComplianceResults_get_EncryptionProviderType), nullptr, nullptr, nullptr },
|
|
1287
|
-
{ }
|
|
1288
|
-
};
|
|
1424
|
+
{ }};
|
|
1289
1425
|
|
|
1290
1426
|
static PyType_Slot _type_slots_EasComplianceResults[] = {
|
|
1291
1427
|
{ Py_tp_new, reinterpret_cast<void*>(_new_EasComplianceResults) },
|
|
1292
1428
|
{ Py_tp_dealloc, reinterpret_cast<void*>(_dealloc_EasComplianceResults) },
|
|
1293
1429
|
{ Py_tp_methods, reinterpret_cast<void*>(_methods_EasComplianceResults) },
|
|
1294
1430
|
{ Py_tp_getset, reinterpret_cast<void*>(_getset_EasComplianceResults) },
|
|
1295
|
-
{ }
|
|
1296
|
-
};
|
|
1431
|
+
{ }};
|
|
1297
1432
|
|
|
1298
1433
|
static PyType_Spec type_spec_EasComplianceResults = {
|
|
1299
1434
|
"winrt._winrt_windows_security_exchangeactivesyncprovisioning.EasComplianceResults",
|
|
@@ -1334,6 +1469,12 @@ PyMODINIT_FUNC PyInit__winrt_windows_security_exchangeactivesyncprovisioning(voi
|
|
|
1334
1469
|
return nullptr;
|
|
1335
1470
|
}
|
|
1336
1471
|
|
|
1472
|
+
auto inspectable_meta_type = py::get_inspectable_meta_type();
|
|
1473
|
+
if (!inspectable_meta_type)
|
|
1474
|
+
{
|
|
1475
|
+
return nullptr;
|
|
1476
|
+
}
|
|
1477
|
+
|
|
1337
1478
|
auto object_type = py::get_object_type();
|
|
1338
1479
|
if (!object_type)
|
|
1339
1480
|
{
|
|
@@ -1347,19 +1488,19 @@ PyMODINIT_FUNC PyInit__winrt_windows_security_exchangeactivesyncprovisioning(voi
|
|
|
1347
1488
|
return nullptr;
|
|
1348
1489
|
}
|
|
1349
1490
|
|
|
1350
|
-
py::pytype_handle EasClientDeviceInformation_type{py::register_python_type(module.get(), &type_spec_EasClientDeviceInformation, object_bases.get(),
|
|
1491
|
+
py::pytype_handle EasClientDeviceInformation_type{py::register_python_type(module.get(), &type_spec_EasClientDeviceInformation, object_bases.get(), inspectable_meta_type)};
|
|
1351
1492
|
if (!EasClientDeviceInformation_type)
|
|
1352
1493
|
{
|
|
1353
1494
|
return nullptr;
|
|
1354
1495
|
}
|
|
1355
1496
|
|
|
1356
|
-
py::pytype_handle EasClientSecurityPolicy_type{py::register_python_type(module.get(), &type_spec_EasClientSecurityPolicy, object_bases.get(),
|
|
1497
|
+
py::pytype_handle EasClientSecurityPolicy_type{py::register_python_type(module.get(), &type_spec_EasClientSecurityPolicy, object_bases.get(), inspectable_meta_type)};
|
|
1357
1498
|
if (!EasClientSecurityPolicy_type)
|
|
1358
1499
|
{
|
|
1359
1500
|
return nullptr;
|
|
1360
1501
|
}
|
|
1361
1502
|
|
|
1362
|
-
py::pytype_handle EasComplianceResults_type{py::register_python_type(module.get(), &type_spec_EasComplianceResults, object_bases.get(),
|
|
1503
|
+
py::pytype_handle EasComplianceResults_type{py::register_python_type(module.get(), &type_spec_EasComplianceResults, object_bases.get(), inspectable_meta_type)};
|
|
1363
1504
|
if (!EasComplianceResults_type)
|
|
1364
1505
|
{
|
|
1365
1506
|
return nullptr;
|
|
@@ -16,7 +16,7 @@ classifiers = [
|
|
|
16
16
|
"Intended Audience :: Developers",
|
|
17
17
|
]
|
|
18
18
|
dynamic = ["version", "dependencies", "optional-dependencies"]
|
|
19
|
-
requires-python = ">=3.9
|
|
19
|
+
requires-python = ">=3.9"
|
|
20
20
|
|
|
21
21
|
[project.urls]
|
|
22
22
|
# Homepage = "https://github.com/pywinrt/pywinrt"
|
|
@@ -34,7 +34,7 @@ optional-dependencies.all = { file = "all-requirements.txt" }
|
|
|
34
34
|
|
|
35
35
|
[tool.cibuildwheel]
|
|
36
36
|
# use local winrt-sdk build dependency
|
|
37
|
-
environment = { PYTHONPATH="
|
|
37
|
+
environment = { PYTHONPATH="../../winrt-sdk/src" }
|
|
38
38
|
# don't install winrt-sdk from PyPI
|
|
39
39
|
build-frontend = { name = "build[uv]", args = ["--skip-dependency-check", "--no-isolation"] }
|
|
40
40
|
before-build = "uv pip install setuptools"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
3.0.0
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
# WARNING: Please don't edit this file. It was generated by Python/WinRT
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v3.0.0
|
|
2
2
|
|
|
3
|
-
winrt-runtime==
|
|
3
|
+
winrt-runtime==3.0.0
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v3.0.0
|
|
2
|
+
|
|
3
|
+
import datetime
|
|
4
|
+
import sys
|
|
5
|
+
import types
|
|
6
|
+
import typing
|
|
7
|
+
import uuid as _uuid
|
|
8
|
+
from builtins import property as _property
|
|
9
|
+
|
|
10
|
+
import winrt._winrt
|
|
11
|
+
import winrt.system
|
|
12
|
+
import winrt.windows.foundation as windows_foundation
|
|
13
|
+
|
|
14
|
+
from winrt.windows.security.exchangeactivesyncprovisioning import EasDisallowConvenienceLogonResult, EasEncryptionProviderType, EasMaxInactivityTimeLockResult, EasMaxPasswordFailedAttemptsResult, EasMinPasswordComplexCharactersResult, EasMinPasswordLengthResult, EasPasswordExpirationResult, EasPasswordHistoryResult, EasRequireEncryptionResult
|
|
15
|
+
|
|
16
|
+
Self = typing.TypeVar('Self')
|
|
17
|
+
|
|
18
|
+
@typing.final
|
|
19
|
+
class EasClientDeviceInformation(winrt.system.Object):
|
|
20
|
+
def __new__(cls: typing.Type[Self]) -> Self: ...
|
|
21
|
+
# System.String Windows.Security.ExchangeActiveSyncProvisioning.EasClientDeviceInformation::get_FriendlyName()
|
|
22
|
+
@_property
|
|
23
|
+
def friendly_name(self) -> str: ...
|
|
24
|
+
# System.Guid Windows.Security.ExchangeActiveSyncProvisioning.EasClientDeviceInformation::get_Id()
|
|
25
|
+
@_property
|
|
26
|
+
def id(self) -> _uuid.UUID: ...
|
|
27
|
+
# System.String Windows.Security.ExchangeActiveSyncProvisioning.EasClientDeviceInformation::get_OperatingSystem()
|
|
28
|
+
@_property
|
|
29
|
+
def operating_system(self) -> str: ...
|
|
30
|
+
# System.String Windows.Security.ExchangeActiveSyncProvisioning.EasClientDeviceInformation::get_SystemManufacturer()
|
|
31
|
+
@_property
|
|
32
|
+
def system_manufacturer(self) -> str: ...
|
|
33
|
+
# System.String Windows.Security.ExchangeActiveSyncProvisioning.EasClientDeviceInformation::get_SystemProductName()
|
|
34
|
+
@_property
|
|
35
|
+
def system_product_name(self) -> str: ...
|
|
36
|
+
# System.String Windows.Security.ExchangeActiveSyncProvisioning.EasClientDeviceInformation::get_SystemSku()
|
|
37
|
+
@_property
|
|
38
|
+
def system_sku(self) -> str: ...
|
|
39
|
+
# System.String Windows.Security.ExchangeActiveSyncProvisioning.EasClientDeviceInformation::get_SystemFirmwareVersion()
|
|
40
|
+
@_property
|
|
41
|
+
def system_firmware_version(self) -> str: ...
|
|
42
|
+
# System.String Windows.Security.ExchangeActiveSyncProvisioning.EasClientDeviceInformation::get_SystemHardwareVersion()
|
|
43
|
+
@_property
|
|
44
|
+
def system_hardware_version(self) -> str: ...
|
|
45
|
+
|
|
46
|
+
@typing.final
|
|
47
|
+
class EasClientSecurityPolicy(winrt.system.Object):
|
|
48
|
+
def __new__(cls: typing.Type[Self]) -> Self: ...
|
|
49
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.Security.ExchangeActiveSyncProvisioning.EasComplianceResults> Windows.Security.ExchangeActiveSyncProvisioning.EasClientSecurityPolicy::ApplyAsync()
|
|
50
|
+
def apply_async(self) -> windows_foundation.IAsyncOperation[EasComplianceResults]: ...
|
|
51
|
+
# Windows.Security.ExchangeActiveSyncProvisioning.EasComplianceResults Windows.Security.ExchangeActiveSyncProvisioning.EasClientSecurityPolicy::CheckCompliance()
|
|
52
|
+
def check_compliance(self) -> EasComplianceResults: ...
|
|
53
|
+
# System.Boolean Windows.Security.ExchangeActiveSyncProvisioning.EasClientSecurityPolicy::get_RequireEncryption()
|
|
54
|
+
@_property
|
|
55
|
+
def require_encryption(self) -> bool: ...
|
|
56
|
+
# System.Void Windows.Security.ExchangeActiveSyncProvisioning.EasClientSecurityPolicy::put_RequireEncryption(System.Boolean)
|
|
57
|
+
@require_encryption.setter
|
|
58
|
+
def require_encryption(self, value: bool) -> None: ...
|
|
59
|
+
# System.UInt32 Windows.Security.ExchangeActiveSyncProvisioning.EasClientSecurityPolicy::get_PasswordHistory()
|
|
60
|
+
@_property
|
|
61
|
+
def password_history(self) -> winrt.system.UInt32: ...
|
|
62
|
+
# System.Void Windows.Security.ExchangeActiveSyncProvisioning.EasClientSecurityPolicy::put_PasswordHistory(System.UInt32)
|
|
63
|
+
@password_history.setter
|
|
64
|
+
def password_history(self, value: winrt.system.UInt32) -> None: ...
|
|
65
|
+
# Windows.Foundation.TimeSpan Windows.Security.ExchangeActiveSyncProvisioning.EasClientSecurityPolicy::get_PasswordExpiration()
|
|
66
|
+
@_property
|
|
67
|
+
def password_expiration(self) -> datetime.timedelta: ...
|
|
68
|
+
# System.Void Windows.Security.ExchangeActiveSyncProvisioning.EasClientSecurityPolicy::put_PasswordExpiration(Windows.Foundation.TimeSpan)
|
|
69
|
+
@password_expiration.setter
|
|
70
|
+
def password_expiration(self, value: datetime.timedelta) -> None: ...
|
|
71
|
+
# System.Byte Windows.Security.ExchangeActiveSyncProvisioning.EasClientSecurityPolicy::get_MinPasswordLength()
|
|
72
|
+
@_property
|
|
73
|
+
def min_password_length(self) -> winrt.system.UInt8: ...
|
|
74
|
+
# System.Void Windows.Security.ExchangeActiveSyncProvisioning.EasClientSecurityPolicy::put_MinPasswordLength(System.Byte)
|
|
75
|
+
@min_password_length.setter
|
|
76
|
+
def min_password_length(self, value: winrt.system.UInt8) -> None: ...
|
|
77
|
+
# System.Byte Windows.Security.ExchangeActiveSyncProvisioning.EasClientSecurityPolicy::get_MinPasswordComplexCharacters()
|
|
78
|
+
@_property
|
|
79
|
+
def min_password_complex_characters(self) -> winrt.system.UInt8: ...
|
|
80
|
+
# System.Void Windows.Security.ExchangeActiveSyncProvisioning.EasClientSecurityPolicy::put_MinPasswordComplexCharacters(System.Byte)
|
|
81
|
+
@min_password_complex_characters.setter
|
|
82
|
+
def min_password_complex_characters(self, value: winrt.system.UInt8) -> None: ...
|
|
83
|
+
# System.Byte Windows.Security.ExchangeActiveSyncProvisioning.EasClientSecurityPolicy::get_MaxPasswordFailedAttempts()
|
|
84
|
+
@_property
|
|
85
|
+
def max_password_failed_attempts(self) -> winrt.system.UInt8: ...
|
|
86
|
+
# System.Void Windows.Security.ExchangeActiveSyncProvisioning.EasClientSecurityPolicy::put_MaxPasswordFailedAttempts(System.Byte)
|
|
87
|
+
@max_password_failed_attempts.setter
|
|
88
|
+
def max_password_failed_attempts(self, value: winrt.system.UInt8) -> None: ...
|
|
89
|
+
# Windows.Foundation.TimeSpan Windows.Security.ExchangeActiveSyncProvisioning.EasClientSecurityPolicy::get_MaxInactivityTimeLock()
|
|
90
|
+
@_property
|
|
91
|
+
def max_inactivity_time_lock(self) -> datetime.timedelta: ...
|
|
92
|
+
# System.Void Windows.Security.ExchangeActiveSyncProvisioning.EasClientSecurityPolicy::put_MaxInactivityTimeLock(Windows.Foundation.TimeSpan)
|
|
93
|
+
@max_inactivity_time_lock.setter
|
|
94
|
+
def max_inactivity_time_lock(self, value: datetime.timedelta) -> None: ...
|
|
95
|
+
# System.Boolean Windows.Security.ExchangeActiveSyncProvisioning.EasClientSecurityPolicy::get_DisallowConvenienceLogon()
|
|
96
|
+
@_property
|
|
97
|
+
def disallow_convenience_logon(self) -> bool: ...
|
|
98
|
+
# System.Void Windows.Security.ExchangeActiveSyncProvisioning.EasClientSecurityPolicy::put_DisallowConvenienceLogon(System.Boolean)
|
|
99
|
+
@disallow_convenience_logon.setter
|
|
100
|
+
def disallow_convenience_logon(self, value: bool) -> None: ...
|
|
101
|
+
|
|
102
|
+
@typing.final
|
|
103
|
+
class EasComplianceResults(winrt.system.Object):
|
|
104
|
+
# System.Boolean Windows.Security.ExchangeActiveSyncProvisioning.EasComplianceResults::get_Compliant()
|
|
105
|
+
@_property
|
|
106
|
+
def compliant(self) -> bool: ...
|
|
107
|
+
# Windows.Security.ExchangeActiveSyncProvisioning.EasDisallowConvenienceLogonResult Windows.Security.ExchangeActiveSyncProvisioning.EasComplianceResults::get_DisallowConvenienceLogonResult()
|
|
108
|
+
@_property
|
|
109
|
+
def disallow_convenience_logon_result(self) -> EasDisallowConvenienceLogonResult: ...
|
|
110
|
+
# Windows.Security.ExchangeActiveSyncProvisioning.EasMaxInactivityTimeLockResult Windows.Security.ExchangeActiveSyncProvisioning.EasComplianceResults::get_MaxInactivityTimeLockResult()
|
|
111
|
+
@_property
|
|
112
|
+
def max_inactivity_time_lock_result(self) -> EasMaxInactivityTimeLockResult: ...
|
|
113
|
+
# Windows.Security.ExchangeActiveSyncProvisioning.EasMaxPasswordFailedAttemptsResult Windows.Security.ExchangeActiveSyncProvisioning.EasComplianceResults::get_MaxPasswordFailedAttemptsResult()
|
|
114
|
+
@_property
|
|
115
|
+
def max_password_failed_attempts_result(self) -> EasMaxPasswordFailedAttemptsResult: ...
|
|
116
|
+
# Windows.Security.ExchangeActiveSyncProvisioning.EasMinPasswordComplexCharactersResult Windows.Security.ExchangeActiveSyncProvisioning.EasComplianceResults::get_MinPasswordComplexCharactersResult()
|
|
117
|
+
@_property
|
|
118
|
+
def min_password_complex_characters_result(self) -> EasMinPasswordComplexCharactersResult: ...
|
|
119
|
+
# Windows.Security.ExchangeActiveSyncProvisioning.EasMinPasswordLengthResult Windows.Security.ExchangeActiveSyncProvisioning.EasComplianceResults::get_MinPasswordLengthResult()
|
|
120
|
+
@_property
|
|
121
|
+
def min_password_length_result(self) -> EasMinPasswordLengthResult: ...
|
|
122
|
+
# Windows.Security.ExchangeActiveSyncProvisioning.EasPasswordExpirationResult Windows.Security.ExchangeActiveSyncProvisioning.EasComplianceResults::get_PasswordExpirationResult()
|
|
123
|
+
@_property
|
|
124
|
+
def password_expiration_result(self) -> EasPasswordExpirationResult: ...
|
|
125
|
+
# Windows.Security.ExchangeActiveSyncProvisioning.EasPasswordHistoryResult Windows.Security.ExchangeActiveSyncProvisioning.EasComplianceResults::get_PasswordHistoryResult()
|
|
126
|
+
@_property
|
|
127
|
+
def password_history_result(self) -> EasPasswordHistoryResult: ...
|
|
128
|
+
# Windows.Security.ExchangeActiveSyncProvisioning.EasRequireEncryptionResult Windows.Security.ExchangeActiveSyncProvisioning.EasComplianceResults::get_RequireEncryptionResult()
|
|
129
|
+
@_property
|
|
130
|
+
def require_encryption_result(self) -> EasRequireEncryptionResult: ...
|
|
131
|
+
# Windows.Security.ExchangeActiveSyncProvisioning.EasEncryptionProviderType Windows.Security.ExchangeActiveSyncProvisioning.EasComplianceResults::get_EncryptionProviderType()
|
|
132
|
+
@_property
|
|
133
|
+
def encryption_provider_type(self) -> EasEncryptionProviderType: ...
|
|
134
|
+
|
|
@@ -1,9 +1,13 @@
|
|
|
1
|
-
# WARNING: Please don't edit this file. It was generated by Python/WinRT
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v3.0.0
|
|
2
2
|
|
|
3
3
|
import enum
|
|
4
4
|
|
|
5
5
|
import winrt.system
|
|
6
|
-
from winrt import
|
|
6
|
+
from winrt._winrt_windows_security_exchangeactivesyncprovisioning import (
|
|
7
|
+
EasClientDeviceInformation,
|
|
8
|
+
EasClientSecurityPolicy,
|
|
9
|
+
EasComplianceResults,
|
|
10
|
+
)
|
|
7
11
|
|
|
8
12
|
__all__ = [
|
|
9
13
|
"EasDisallowConvenienceLogonResult",
|
|
@@ -118,6 +122,3 @@ class EasRequireEncryptionResult(enum.IntEnum):
|
|
|
118
122
|
OS_NOT_PROTECTED = 11
|
|
119
123
|
UNEXPECTED_FAILURE = 12
|
|
120
124
|
|
|
121
|
-
EasClientDeviceInformation = _winrt_windows_security_exchangeactivesyncprovisioning.EasClientDeviceInformation
|
|
122
|
-
EasClientSecurityPolicy = _winrt_windows_security_exchangeactivesyncprovisioning.EasClientSecurityPolicy
|
|
123
|
-
EasComplianceResults = _winrt_windows_security_exchangeactivesyncprovisioning.EasComplianceResults
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: winrt-Windows.Security.ExchangeActiveSyncProvisioning
|
|
3
|
-
Version:
|
|
3
|
+
Version: 3.0.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,11 +10,11 @@ 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:
|
|
13
|
+
Requires-Python: >=3.9
|
|
14
14
|
Description-Content-Type: text/markdown
|
|
15
|
-
Requires-Dist: winrt-runtime==
|
|
15
|
+
Requires-Dist: winrt-runtime==3.0.0
|
|
16
16
|
Provides-Extra: all
|
|
17
|
-
Requires-Dist: winrt-Windows.Foundation[all]==
|
|
17
|
+
Requires-Dist: winrt-Windows.Foundation[all]==3.0.0; extra == "all"
|
|
18
18
|
|
|
19
19
|
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
20
20
|
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
2.2.0
|
|
@@ -1,104 +0,0 @@
|
|
|
1
|
-
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
|
|
2
|
-
|
|
3
|
-
import datetime
|
|
4
|
-
import sys
|
|
5
|
-
import types
|
|
6
|
-
import typing
|
|
7
|
-
import uuid as _uuid
|
|
8
|
-
from builtins import property as _property
|
|
9
|
-
|
|
10
|
-
import winrt._winrt
|
|
11
|
-
import winrt.system
|
|
12
|
-
import winrt.windows.foundation as windows_foundation
|
|
13
|
-
|
|
14
|
-
from winrt.windows.security.exchangeactivesyncprovisioning import EasDisallowConvenienceLogonResult, EasEncryptionProviderType, EasMaxInactivityTimeLockResult, EasMaxPasswordFailedAttemptsResult, EasMinPasswordComplexCharactersResult, EasMinPasswordLengthResult, EasPasswordExpirationResult, EasPasswordHistoryResult, EasRequireEncryptionResult
|
|
15
|
-
|
|
16
|
-
Self = typing.TypeVar('Self')
|
|
17
|
-
|
|
18
|
-
@typing.final
|
|
19
|
-
class EasClientDeviceInformation(winrt.system.Object):
|
|
20
|
-
@staticmethod
|
|
21
|
-
def _from(obj: winrt.system.Object, /) -> EasClientDeviceInformation: ...
|
|
22
|
-
def __new__(cls: typing.Type[EasClientDeviceInformation]) -> EasClientDeviceInformation: ...
|
|
23
|
-
@_property
|
|
24
|
-
def friendly_name(self) -> str: ...
|
|
25
|
-
@_property
|
|
26
|
-
def id(self) -> _uuid.UUID: ...
|
|
27
|
-
@_property
|
|
28
|
-
def operating_system(self) -> str: ...
|
|
29
|
-
@_property
|
|
30
|
-
def system_manufacturer(self) -> str: ...
|
|
31
|
-
@_property
|
|
32
|
-
def system_product_name(self) -> str: ...
|
|
33
|
-
@_property
|
|
34
|
-
def system_sku(self) -> str: ...
|
|
35
|
-
@_property
|
|
36
|
-
def system_firmware_version(self) -> str: ...
|
|
37
|
-
@_property
|
|
38
|
-
def system_hardware_version(self) -> str: ...
|
|
39
|
-
|
|
40
|
-
@typing.final
|
|
41
|
-
class EasClientSecurityPolicy(winrt.system.Object):
|
|
42
|
-
@staticmethod
|
|
43
|
-
def _from(obj: winrt.system.Object, /) -> EasClientSecurityPolicy: ...
|
|
44
|
-
def __new__(cls: typing.Type[EasClientSecurityPolicy]) -> EasClientSecurityPolicy: ...
|
|
45
|
-
def apply_async(self) -> windows_foundation.IAsyncOperation[EasComplianceResults]: ...
|
|
46
|
-
def check_compliance(self) -> typing.Optional[EasComplianceResults]: ...
|
|
47
|
-
@_property
|
|
48
|
-
def require_encryption(self) -> bool: ...
|
|
49
|
-
@require_encryption.setter
|
|
50
|
-
def require_encryption(self, value: bool) -> None: ...
|
|
51
|
-
@_property
|
|
52
|
-
def password_history(self) -> winrt.system.UInt32: ...
|
|
53
|
-
@password_history.setter
|
|
54
|
-
def password_history(self, value: winrt.system.UInt32) -> None: ...
|
|
55
|
-
@_property
|
|
56
|
-
def password_expiration(self) -> datetime.timedelta: ...
|
|
57
|
-
@password_expiration.setter
|
|
58
|
-
def password_expiration(self, value: datetime.timedelta) -> None: ...
|
|
59
|
-
@_property
|
|
60
|
-
def min_password_length(self) -> winrt.system.UInt8: ...
|
|
61
|
-
@min_password_length.setter
|
|
62
|
-
def min_password_length(self, value: winrt.system.UInt8) -> None: ...
|
|
63
|
-
@_property
|
|
64
|
-
def min_password_complex_characters(self) -> winrt.system.UInt8: ...
|
|
65
|
-
@min_password_complex_characters.setter
|
|
66
|
-
def min_password_complex_characters(self, value: winrt.system.UInt8) -> None: ...
|
|
67
|
-
@_property
|
|
68
|
-
def max_password_failed_attempts(self) -> winrt.system.UInt8: ...
|
|
69
|
-
@max_password_failed_attempts.setter
|
|
70
|
-
def max_password_failed_attempts(self, value: winrt.system.UInt8) -> None: ...
|
|
71
|
-
@_property
|
|
72
|
-
def max_inactivity_time_lock(self) -> datetime.timedelta: ...
|
|
73
|
-
@max_inactivity_time_lock.setter
|
|
74
|
-
def max_inactivity_time_lock(self, value: datetime.timedelta) -> None: ...
|
|
75
|
-
@_property
|
|
76
|
-
def disallow_convenience_logon(self) -> bool: ...
|
|
77
|
-
@disallow_convenience_logon.setter
|
|
78
|
-
def disallow_convenience_logon(self, value: bool) -> None: ...
|
|
79
|
-
|
|
80
|
-
@typing.final
|
|
81
|
-
class EasComplianceResults(winrt.system.Object):
|
|
82
|
-
@staticmethod
|
|
83
|
-
def _from(obj: winrt.system.Object, /) -> EasComplianceResults: ...
|
|
84
|
-
@_property
|
|
85
|
-
def compliant(self) -> bool: ...
|
|
86
|
-
@_property
|
|
87
|
-
def disallow_convenience_logon_result(self) -> EasDisallowConvenienceLogonResult: ...
|
|
88
|
-
@_property
|
|
89
|
-
def max_inactivity_time_lock_result(self) -> EasMaxInactivityTimeLockResult: ...
|
|
90
|
-
@_property
|
|
91
|
-
def max_password_failed_attempts_result(self) -> EasMaxPasswordFailedAttemptsResult: ...
|
|
92
|
-
@_property
|
|
93
|
-
def min_password_complex_characters_result(self) -> EasMinPasswordComplexCharactersResult: ...
|
|
94
|
-
@_property
|
|
95
|
-
def min_password_length_result(self) -> EasMinPasswordLengthResult: ...
|
|
96
|
-
@_property
|
|
97
|
-
def password_expiration_result(self) -> EasPasswordExpirationResult: ...
|
|
98
|
-
@_property
|
|
99
|
-
def password_history_result(self) -> EasPasswordHistoryResult: ...
|
|
100
|
-
@_property
|
|
101
|
-
def require_encryption_result(self) -> EasRequireEncryptionResult: ...
|
|
102
|
-
@_property
|
|
103
|
-
def encryption_provider_type(self) -> EasEncryptionProviderType: ...
|
|
104
|
-
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|