winrt-Windows.Security.Authentication.Identity 2.0.1__tar.gz → 2.1.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.
Files changed (20) hide show
  1. {winrt_windows_security_authentication_identity-2.0.1 → winrt_windows_security_authentication_identity-2.1.0}/PKG-INFO +4 -4
  2. winrt_windows_security_authentication_identity-2.1.0/all-requirements.txt +4 -0
  3. {winrt_windows_security_authentication_identity-2.0.1 → winrt_windows_security_authentication_identity-2.1.0}/py.Windows.Security.Authentication.Identity.cpp +62 -70
  4. winrt_windows_security_authentication_identity-2.1.0/pywinrt-version.txt +1 -0
  5. {winrt_windows_security_authentication_identity-2.0.1 → winrt_windows_security_authentication_identity-2.1.0}/requirements.txt +2 -2
  6. {winrt_windows_security_authentication_identity-2.0.1 → winrt_windows_security_authentication_identity-2.1.0}/winrt/_winrt_windows_security_authentication_identity.pyi +4 -4
  7. {winrt_windows_security_authentication_identity-2.0.1 → winrt_windows_security_authentication_identity-2.1.0}/winrt/windows/security/authentication/identity/__init__.py +1 -1
  8. {winrt_windows_security_authentication_identity-2.0.1 → winrt_windows_security_authentication_identity-2.1.0}/winrt_Windows.Security.Authentication.Identity.egg-info/PKG-INFO +4 -4
  9. winrt_windows_security_authentication_identity-2.1.0/winrt_Windows.Security.Authentication.Identity.egg-info/requires.txt +5 -0
  10. winrt_windows_security_authentication_identity-2.0.1/all-requirements.txt +0 -4
  11. winrt_windows_security_authentication_identity-2.0.1/pywinrt-version.txt +0 -1
  12. winrt_windows_security_authentication_identity-2.0.1/winrt_Windows.Security.Authentication.Identity.egg-info/requires.txt +0 -5
  13. {winrt_windows_security_authentication_identity-2.0.1 → winrt_windows_security_authentication_identity-2.1.0}/README.md +0 -0
  14. {winrt_windows_security_authentication_identity-2.0.1 → winrt_windows_security_authentication_identity-2.1.0}/pyproject.toml +0 -0
  15. {winrt_windows_security_authentication_identity-2.0.1 → winrt_windows_security_authentication_identity-2.1.0}/setup.cfg +0 -0
  16. {winrt_windows_security_authentication_identity-2.0.1 → winrt_windows_security_authentication_identity-2.1.0}/setup.py +0 -0
  17. {winrt_windows_security_authentication_identity-2.0.1 → winrt_windows_security_authentication_identity-2.1.0}/winrt/windows/security/authentication/identity/py.typed +0 -0
  18. {winrt_windows_security_authentication_identity-2.0.1 → winrt_windows_security_authentication_identity-2.1.0}/winrt_Windows.Security.Authentication.Identity.egg-info/SOURCES.txt +0 -0
  19. {winrt_windows_security_authentication_identity-2.0.1 → winrt_windows_security_authentication_identity-2.1.0}/winrt_Windows.Security.Authentication.Identity.egg-info/dependency_links.txt +0 -0
  20. {winrt_windows_security_authentication_identity-2.0.1 → winrt_windows_security_authentication_identity-2.1.0}/winrt_Windows.Security.Authentication.Identity.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
3
- Version: 2.0.1
3
+ Version: 2.1.0
4
4
  Summary: Python projection of Windows Runtime (WinRT) APIs
5
5
  License: MIT
6
6
  Project-URL: Documentation, https://pywinrt.readthedocs.io
@@ -12,10 +12,10 @@ Classifier: Programming Language :: Python :: Implementation :: CPython
12
12
  Classifier: Intended Audience :: Developers
13
13
  Requires-Python: <3.13,>=3.9
14
14
  Description-Content-Type: text/markdown
15
- Requires-Dist: winrt-runtime==2.0.1
15
+ Requires-Dist: winrt-runtime==2.1.0
16
16
  Provides-Extra: all
17
- Requires-Dist: winrt-Windows.Foundation[all]==2.0.1; extra == "all"
18
- Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.0.1; extra == "all"
17
+ Requires-Dist: winrt-Windows.Foundation[all]==2.1.0; extra == "all"
18
+ Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.1.0; extra == "all"
19
19
 
20
20
  <!-- warning: Please don't edit this file. It was automatically generated. -->
21
21
 
@@ -0,0 +1,4 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.1.0
2
+
3
+ winrt-Windows.Foundation[all]==2.1.0
4
+ winrt-Windows.Foundation.Collections[all]==2.1.0
@@ -1,8 +1,7 @@
1
- // WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.1
1
+ // WARNING: Please don't edit this file. It was generated by Python/WinRT v2.1.0
2
2
 
3
3
  #include "py.Windows.Security.Authentication.Identity.h"
4
4
 
5
-
6
5
  namespace py::cpp::Windows::Security::Authentication::Identity
7
6
  {
8
7
  // ----- EnterpriseKeyCredentialRegistrationInfo class --------------------
@@ -24,14 +23,14 @@ namespace py::cpp::Windows::Security::Authentication::Identity
24
23
 
25
24
  static PyObject* EnterpriseKeyCredentialRegistrationInfo_get_KeyId(py::wrapper::Windows::Security::Authentication::Identity::EnterpriseKeyCredentialRegistrationInfo* self, void* /*unused*/) noexcept
26
25
  {
27
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Security.Authentication.Identity.EnterpriseKeyCredentialRegistrationInfo", L"KeyId"))
28
- {
29
- PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
30
- return nullptr;
31
- }
32
-
33
26
  try
34
27
  {
28
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Security.Authentication.Identity.EnterpriseKeyCredentialRegistrationInfo", L"KeyId"))
29
+ {
30
+ PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
31
+ return nullptr;
32
+ }
33
+
35
34
  return py::convert(self->obj.KeyId());
36
35
  }
37
36
  catch (...)
@@ -43,14 +42,14 @@ namespace py::cpp::Windows::Security::Authentication::Identity
43
42
 
44
43
  static PyObject* EnterpriseKeyCredentialRegistrationInfo_get_KeyName(py::wrapper::Windows::Security::Authentication::Identity::EnterpriseKeyCredentialRegistrationInfo* self, void* /*unused*/) noexcept
45
44
  {
46
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Security.Authentication.Identity.EnterpriseKeyCredentialRegistrationInfo", L"KeyName"))
47
- {
48
- PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
49
- return nullptr;
50
- }
51
-
52
45
  try
53
46
  {
47
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Security.Authentication.Identity.EnterpriseKeyCredentialRegistrationInfo", L"KeyName"))
48
+ {
49
+ PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
50
+ return nullptr;
51
+ }
52
+
54
53
  return py::convert(self->obj.KeyName());
55
54
  }
56
55
  catch (...)
@@ -62,14 +61,14 @@ namespace py::cpp::Windows::Security::Authentication::Identity
62
61
 
63
62
  static PyObject* EnterpriseKeyCredentialRegistrationInfo_get_Subject(py::wrapper::Windows::Security::Authentication::Identity::EnterpriseKeyCredentialRegistrationInfo* self, void* /*unused*/) noexcept
64
63
  {
65
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Security.Authentication.Identity.EnterpriseKeyCredentialRegistrationInfo", L"Subject"))
66
- {
67
- PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
68
- return nullptr;
69
- }
70
-
71
64
  try
72
65
  {
66
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Security.Authentication.Identity.EnterpriseKeyCredentialRegistrationInfo", L"Subject"))
67
+ {
68
+ PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
69
+ return nullptr;
70
+ }
71
+
73
72
  return py::convert(self->obj.Subject());
74
73
  }
75
74
  catch (...)
@@ -81,14 +80,14 @@ namespace py::cpp::Windows::Security::Authentication::Identity
81
80
 
82
81
  static PyObject* EnterpriseKeyCredentialRegistrationInfo_get_TenantId(py::wrapper::Windows::Security::Authentication::Identity::EnterpriseKeyCredentialRegistrationInfo* self, void* /*unused*/) noexcept
83
82
  {
84
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Security.Authentication.Identity.EnterpriseKeyCredentialRegistrationInfo", L"TenantId"))
85
- {
86
- PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
87
- return nullptr;
88
- }
89
-
90
83
  try
91
84
  {
85
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Security.Authentication.Identity.EnterpriseKeyCredentialRegistrationInfo", L"TenantId"))
86
+ {
87
+ PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
88
+ return nullptr;
89
+ }
90
+
92
91
  return py::convert(self->obj.TenantId());
93
92
  }
94
93
  catch (...)
@@ -100,14 +99,14 @@ namespace py::cpp::Windows::Security::Authentication::Identity
100
99
 
101
100
  static PyObject* EnterpriseKeyCredentialRegistrationInfo_get_TenantName(py::wrapper::Windows::Security::Authentication::Identity::EnterpriseKeyCredentialRegistrationInfo* self, void* /*unused*/) noexcept
102
101
  {
103
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Security.Authentication.Identity.EnterpriseKeyCredentialRegistrationInfo", L"TenantName"))
104
- {
105
- PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
106
- return nullptr;
107
- }
108
-
109
102
  try
110
103
  {
104
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Security.Authentication.Identity.EnterpriseKeyCredentialRegistrationInfo", L"TenantName"))
105
+ {
106
+ PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
107
+ return nullptr;
108
+ }
109
+
111
110
  return py::convert(self->obj.TenantName());
112
111
  }
113
112
  catch (...)
@@ -156,23 +155,20 @@ namespace py::cpp::Windows::Security::Authentication::Identity
156
155
  { }
157
156
  };
158
157
 
159
- static PyType_Slot _type_slots_EnterpriseKeyCredentialRegistrationInfo[] =
160
- {
158
+ static PyType_Slot _type_slots_EnterpriseKeyCredentialRegistrationInfo[] = {
161
159
  { Py_tp_new, reinterpret_cast<void*>(_new_EnterpriseKeyCredentialRegistrationInfo) },
162
160
  { Py_tp_dealloc, reinterpret_cast<void*>(_dealloc_EnterpriseKeyCredentialRegistrationInfo) },
163
161
  { Py_tp_methods, reinterpret_cast<void*>(_methods_EnterpriseKeyCredentialRegistrationInfo) },
164
162
  { Py_tp_getset, reinterpret_cast<void*>(_getset_EnterpriseKeyCredentialRegistrationInfo) },
165
- { },
163
+ { }
166
164
  };
167
165
 
168
- static PyType_Spec type_spec_EnterpriseKeyCredentialRegistrationInfo =
169
- {
166
+ static PyType_Spec type_spec_EnterpriseKeyCredentialRegistrationInfo = {
170
167
  "winrt._winrt_windows_security_authentication_identity.EnterpriseKeyCredentialRegistrationInfo",
171
168
  sizeof(py::wrapper::Windows::Security::Authentication::Identity::EnterpriseKeyCredentialRegistrationInfo),
172
169
  0,
173
170
  Py_TPFLAGS_DEFAULT,
174
- _type_slots_EnterpriseKeyCredentialRegistrationInfo
175
- };
171
+ _type_slots_EnterpriseKeyCredentialRegistrationInfo};
176
172
 
177
173
  // ----- EnterpriseKeyCredentialRegistrationManager class --------------------
178
174
 
@@ -197,14 +193,14 @@ namespace py::cpp::Windows::Security::Authentication::Identity
197
193
 
198
194
  if (arg_count == 0)
199
195
  {
200
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Security.Authentication.Identity.EnterpriseKeyCredentialRegistrationManager", L"GetRegistrationsAsync", 0))
201
- {
202
- py::set_arg_count_version_error(0);
203
- return nullptr;
204
- }
205
-
206
196
  try
207
197
  {
198
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Security.Authentication.Identity.EnterpriseKeyCredentialRegistrationManager", L"GetRegistrationsAsync", 0))
199
+ {
200
+ py::set_arg_count_version_error(0);
201
+ return nullptr;
202
+ }
203
+
208
204
  return py::convert(self->obj.GetRegistrationsAsync());
209
205
  }
210
206
  catch (...)
@@ -222,14 +218,14 @@ namespace py::cpp::Windows::Security::Authentication::Identity
222
218
 
223
219
  static PyObject* EnterpriseKeyCredentialRegistrationManager_get_Current(PyObject* /*unused*/, void* /*unused*/) noexcept
224
220
  {
225
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Security.Authentication.Identity.EnterpriseKeyCredentialRegistrationManager", L"Current"))
226
- {
227
- PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
228
- return nullptr;
229
- }
230
-
231
221
  try
232
222
  {
223
+ if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Security.Authentication.Identity.EnterpriseKeyCredentialRegistrationManager", L"Current"))
224
+ {
225
+ PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
226
+ return nullptr;
227
+ }
228
+
233
229
  return py::convert(winrt::Windows::Security::Authentication::Identity::EnterpriseKeyCredentialRegistrationManager::Current());
234
230
  }
235
231
  catch (...)
@@ -274,23 +270,20 @@ namespace py::cpp::Windows::Security::Authentication::Identity
274
270
  { }
275
271
  };
276
272
 
277
- static PyType_Slot _type_slots_EnterpriseKeyCredentialRegistrationManager[] =
278
- {
273
+ static PyType_Slot _type_slots_EnterpriseKeyCredentialRegistrationManager[] = {
279
274
  { Py_tp_new, reinterpret_cast<void*>(_new_EnterpriseKeyCredentialRegistrationManager) },
280
275
  { Py_tp_dealloc, reinterpret_cast<void*>(_dealloc_EnterpriseKeyCredentialRegistrationManager) },
281
276
  { Py_tp_methods, reinterpret_cast<void*>(_methods_EnterpriseKeyCredentialRegistrationManager) },
282
277
  { Py_tp_getset, reinterpret_cast<void*>(_getset_EnterpriseKeyCredentialRegistrationManager) },
283
- { },
278
+ { }
284
279
  };
285
280
 
286
- static PyType_Spec type_spec_EnterpriseKeyCredentialRegistrationManager =
287
- {
281
+ static PyType_Spec type_spec_EnterpriseKeyCredentialRegistrationManager = {
288
282
  "winrt._winrt_windows_security_authentication_identity.EnterpriseKeyCredentialRegistrationManager",
289
283
  sizeof(py::wrapper::Windows::Security::Authentication::Identity::EnterpriseKeyCredentialRegistrationManager),
290
284
  0,
291
285
  Py_TPFLAGS_DEFAULT,
292
- _type_slots_EnterpriseKeyCredentialRegistrationManager
293
- };
286
+ _type_slots_EnterpriseKeyCredentialRegistrationManager};
294
287
 
295
288
  static PyGetSetDef getset_EnterpriseKeyCredentialRegistrationManager_Static[] = {
296
289
  { "current", reinterpret_cast<getter>(EnterpriseKeyCredentialRegistrationManager_get_Current), nullptr, nullptr, nullptr },
@@ -319,20 +312,19 @@ namespace py::cpp::Windows::Security::Authentication::Identity
319
312
  };
320
313
 
321
314
  // ----- Windows.Security.Authentication.Identity Initialization --------------------
322
- PyDoc_STRVAR(module_doc, "Windows::Security::Authentication::Identity");
323
315
 
316
+ PyDoc_STRVAR(module_doc, "Windows.Security.Authentication.Identity");
324
317
 
325
- static PyModuleDef module_def
326
- = {PyModuleDef_HEAD_INIT,
327
- "_winrt_windows_security_authentication_identity",
328
- module_doc,
329
- 0,
330
- nullptr,
331
- nullptr,
332
- nullptr,
333
- nullptr,
334
- nullptr};
335
-
318
+ static PyModuleDef module_def = {
319
+ PyModuleDef_HEAD_INIT,
320
+ "_winrt_windows_security_authentication_identity",
321
+ module_doc,
322
+ 0,
323
+ nullptr,
324
+ nullptr,
325
+ nullptr,
326
+ nullptr,
327
+ nullptr};
336
328
  } // py::cpp::Windows::Security::Authentication::Identity
337
329
 
338
330
  PyMODINIT_FUNC PyInit__winrt_windows_security_authentication_identity(void) noexcept
@@ -1,3 +1,3 @@
1
- # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.1
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.1.0
2
2
 
3
- winrt-runtime==2.0.1
3
+ winrt-runtime==2.1.0
@@ -1,4 +1,4 @@
1
- # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.1
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.1.0
2
2
 
3
3
  import datetime
4
4
  import sys
@@ -9,8 +9,8 @@ from builtins import property as _property
9
9
 
10
10
  import winrt._winrt
11
11
  import winrt.system
12
- import winrt.windows.foundation
13
- import winrt.windows.foundation.collections
12
+ import winrt.windows.foundation as windows_foundation
13
+ import winrt.windows.foundation.collections as windows_foundation_collections
14
14
 
15
15
  Self = typing.TypeVar('Self')
16
16
 
@@ -38,5 +38,5 @@ class EnterpriseKeyCredentialRegistrationManager_Static(type):
38
38
  class EnterpriseKeyCredentialRegistrationManager(winrt.system.Object, metaclass=EnterpriseKeyCredentialRegistrationManager_Static):
39
39
  @staticmethod
40
40
  def _from(obj: winrt.system.Object, /) -> EnterpriseKeyCredentialRegistrationManager: ...
41
- def get_registrations_async(self) -> winrt.windows.foundation.IAsyncOperation[winrt.windows.foundation.collections.IVectorView[EnterpriseKeyCredentialRegistrationInfo]]: ...
41
+ def get_registrations_async(self) -> windows_foundation.IAsyncOperation[windows_foundation_collections.IVectorView[EnterpriseKeyCredentialRegistrationInfo]]: ...
42
42
 
@@ -1,4 +1,4 @@
1
- # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.1
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.1.0
2
2
 
3
3
  import winrt.system
4
4
  from winrt import _winrt_windows_security_authentication_identity
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: winrt-Windows.Security.Authentication.Identity
3
- Version: 2.0.1
3
+ Version: 2.1.0
4
4
  Summary: Python projection of Windows Runtime (WinRT) APIs
5
5
  License: MIT
6
6
  Project-URL: Documentation, https://pywinrt.readthedocs.io
@@ -12,10 +12,10 @@ Classifier: Programming Language :: Python :: Implementation :: CPython
12
12
  Classifier: Intended Audience :: Developers
13
13
  Requires-Python: <3.13,>=3.9
14
14
  Description-Content-Type: text/markdown
15
- Requires-Dist: winrt-runtime==2.0.1
15
+ Requires-Dist: winrt-runtime==2.1.0
16
16
  Provides-Extra: all
17
- Requires-Dist: winrt-Windows.Foundation[all]==2.0.1; extra == "all"
18
- Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.0.1; extra == "all"
17
+ Requires-Dist: winrt-Windows.Foundation[all]==2.1.0; extra == "all"
18
+ Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.1.0; extra == "all"
19
19
 
20
20
  <!-- warning: Please don't edit this file. It was automatically generated. -->
21
21
 
@@ -0,0 +1,5 @@
1
+ winrt-runtime==2.1.0
2
+
3
+ [all]
4
+ winrt-Windows.Foundation[all]==2.1.0
5
+ winrt-Windows.Foundation.Collections[all]==2.1.0
@@ -1,4 +0,0 @@
1
- # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.1
2
-
3
- winrt-Windows.Foundation[all]==2.0.1
4
- winrt-Windows.Foundation.Collections[all]==2.0.1
@@ -1,5 +0,0 @@
1
- winrt-runtime==2.0.1
2
-
3
- [all]
4
- winrt-Windows.Foundation[all]==2.0.1
5
- winrt-Windows.Foundation.Collections[all]==2.0.1