winrt-Windows.Security.Authentication.Web 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.
- {winrt_windows_security_authentication_web-2.0.1 → winrt_windows_security_authentication_web-2.1.0}/PKG-INFO +4 -4
- winrt_windows_security_authentication_web-2.1.0/all-requirements.txt +4 -0
- {winrt_windows_security_authentication_web-2.0.1 → winrt_windows_security_authentication_web-2.1.0}/py.Windows.Security.Authentication.Web.cpp +86 -94
- winrt_windows_security_authentication_web-2.1.0/pywinrt-version.txt +1 -0
- {winrt_windows_security_authentication_web-2.0.1 → winrt_windows_security_authentication_web-2.1.0}/requirements.txt +2 -2
- {winrt_windows_security_authentication_web-2.0.1 → winrt_windows_security_authentication_web-2.1.0}/winrt/_winrt_windows_security_authentication_web.pyi +12 -13
- {winrt_windows_security_authentication_web-2.0.1 → winrt_windows_security_authentication_web-2.1.0}/winrt/windows/security/authentication/web/__init__.py +2 -2
- {winrt_windows_security_authentication_web-2.0.1 → winrt_windows_security_authentication_web-2.1.0}/winrt_Windows.Security.Authentication.Web.egg-info/PKG-INFO +4 -4
- winrt_windows_security_authentication_web-2.1.0/winrt_Windows.Security.Authentication.Web.egg-info/requires.txt +5 -0
- winrt_windows_security_authentication_web-2.0.1/all-requirements.txt +0 -4
- winrt_windows_security_authentication_web-2.0.1/pywinrt-version.txt +0 -1
- winrt_windows_security_authentication_web-2.0.1/winrt_Windows.Security.Authentication.Web.egg-info/requires.txt +0 -5
- {winrt_windows_security_authentication_web-2.0.1 → winrt_windows_security_authentication_web-2.1.0}/README.md +0 -0
- {winrt_windows_security_authentication_web-2.0.1 → winrt_windows_security_authentication_web-2.1.0}/pyproject.toml +0 -0
- {winrt_windows_security_authentication_web-2.0.1 → winrt_windows_security_authentication_web-2.1.0}/setup.cfg +0 -0
- {winrt_windows_security_authentication_web-2.0.1 → winrt_windows_security_authentication_web-2.1.0}/setup.py +0 -0
- {winrt_windows_security_authentication_web-2.0.1 → winrt_windows_security_authentication_web-2.1.0}/winrt/windows/security/authentication/web/py.typed +0 -0
- {winrt_windows_security_authentication_web-2.0.1 → winrt_windows_security_authentication_web-2.1.0}/winrt_Windows.Security.Authentication.Web.egg-info/SOURCES.txt +0 -0
- {winrt_windows_security_authentication_web-2.0.1 → winrt_windows_security_authentication_web-2.1.0}/winrt_Windows.Security.Authentication.Web.egg-info/dependency_links.txt +0 -0
- {winrt_windows_security_authentication_web-2.0.1 → winrt_windows_security_authentication_web-2.1.0}/winrt_Windows.Security.Authentication.Web.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: winrt-Windows.Security.Authentication.Web
|
|
3
|
-
Version: 2.0
|
|
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
|
|
15
|
+
Requires-Dist: winrt-runtime==2.1.0
|
|
16
16
|
Provides-Extra: all
|
|
17
|
-
Requires-Dist: winrt-Windows.Foundation[all]==2.0
|
|
18
|
-
Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.0
|
|
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
|
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
// WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0
|
|
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.Web.h"
|
|
4
4
|
|
|
5
|
-
|
|
6
5
|
namespace py::cpp::Windows::Security::Authentication::Web
|
|
7
6
|
{
|
|
8
7
|
// ----- WebAuthenticationBroker class --------------------
|
|
@@ -20,14 +19,14 @@ namespace py::cpp::Windows::Security::Authentication::Web
|
|
|
20
19
|
|
|
21
20
|
if (arg_count == 1)
|
|
22
21
|
{
|
|
23
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Security.Authentication.Web.WebAuthenticationBroker", L"AuthenticateAndContinue", 1))
|
|
24
|
-
{
|
|
25
|
-
py::set_arg_count_version_error(1);
|
|
26
|
-
return nullptr;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
22
|
try
|
|
30
23
|
{
|
|
24
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Security.Authentication.Web.WebAuthenticationBroker", L"AuthenticateAndContinue", 1))
|
|
25
|
+
{
|
|
26
|
+
py::set_arg_count_version_error(1);
|
|
27
|
+
return nullptr;
|
|
28
|
+
}
|
|
29
|
+
|
|
31
30
|
auto param0 = py::convert_to<winrt::Windows::Foundation::Uri>(args, 0);
|
|
32
31
|
|
|
33
32
|
winrt::Windows::Security::Authentication::Web::WebAuthenticationBroker::AuthenticateAndContinue(param0);
|
|
@@ -41,14 +40,14 @@ namespace py::cpp::Windows::Security::Authentication::Web
|
|
|
41
40
|
}
|
|
42
41
|
else if (arg_count == 2)
|
|
43
42
|
{
|
|
44
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Security.Authentication.Web.WebAuthenticationBroker", L"AuthenticateAndContinue", 2))
|
|
45
|
-
{
|
|
46
|
-
py::set_arg_count_version_error(2);
|
|
47
|
-
return nullptr;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
43
|
try
|
|
51
44
|
{
|
|
45
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Security.Authentication.Web.WebAuthenticationBroker", L"AuthenticateAndContinue", 2))
|
|
46
|
+
{
|
|
47
|
+
py::set_arg_count_version_error(2);
|
|
48
|
+
return nullptr;
|
|
49
|
+
}
|
|
50
|
+
|
|
52
51
|
auto param0 = py::convert_to<winrt::Windows::Foundation::Uri>(args, 0);
|
|
53
52
|
auto param1 = py::convert_to<winrt::Windows::Foundation::Uri>(args, 1);
|
|
54
53
|
|
|
@@ -63,14 +62,14 @@ namespace py::cpp::Windows::Security::Authentication::Web
|
|
|
63
62
|
}
|
|
64
63
|
else if (arg_count == 4)
|
|
65
64
|
{
|
|
66
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Security.Authentication.Web.WebAuthenticationBroker", L"AuthenticateAndContinue", 4))
|
|
67
|
-
{
|
|
68
|
-
py::set_arg_count_version_error(4);
|
|
69
|
-
return nullptr;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
65
|
try
|
|
73
66
|
{
|
|
67
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Security.Authentication.Web.WebAuthenticationBroker", L"AuthenticateAndContinue", 4))
|
|
68
|
+
{
|
|
69
|
+
py::set_arg_count_version_error(4);
|
|
70
|
+
return nullptr;
|
|
71
|
+
}
|
|
72
|
+
|
|
74
73
|
auto param0 = py::convert_to<winrt::Windows::Foundation::Uri>(args, 0);
|
|
75
74
|
auto param1 = py::convert_to<winrt::Windows::Foundation::Uri>(args, 1);
|
|
76
75
|
auto param2 = py::convert_to<winrt::Windows::Foundation::Collections::ValueSet>(args, 2);
|
|
@@ -98,14 +97,14 @@ namespace py::cpp::Windows::Security::Authentication::Web
|
|
|
98
97
|
|
|
99
98
|
if (arg_count == 2)
|
|
100
99
|
{
|
|
101
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Security.Authentication.Web.WebAuthenticationBroker", L"AuthenticateAsync", 2))
|
|
102
|
-
{
|
|
103
|
-
py::set_arg_count_version_error(2);
|
|
104
|
-
return nullptr;
|
|
105
|
-
}
|
|
106
|
-
|
|
107
100
|
try
|
|
108
101
|
{
|
|
102
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Security.Authentication.Web.WebAuthenticationBroker", L"AuthenticateAsync", 2))
|
|
103
|
+
{
|
|
104
|
+
py::set_arg_count_version_error(2);
|
|
105
|
+
return nullptr;
|
|
106
|
+
}
|
|
107
|
+
|
|
109
108
|
auto param0 = py::convert_to<winrt::Windows::Security::Authentication::Web::WebAuthenticationOptions>(args, 0);
|
|
110
109
|
auto param1 = py::convert_to<winrt::Windows::Foundation::Uri>(args, 1);
|
|
111
110
|
|
|
@@ -119,14 +118,14 @@ namespace py::cpp::Windows::Security::Authentication::Web
|
|
|
119
118
|
}
|
|
120
119
|
else if (arg_count == 3)
|
|
121
120
|
{
|
|
122
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Security.Authentication.Web.WebAuthenticationBroker", L"AuthenticateAsync", 3))
|
|
123
|
-
{
|
|
124
|
-
py::set_arg_count_version_error(3);
|
|
125
|
-
return nullptr;
|
|
126
|
-
}
|
|
127
|
-
|
|
128
121
|
try
|
|
129
122
|
{
|
|
123
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Security.Authentication.Web.WebAuthenticationBroker", L"AuthenticateAsync", 3))
|
|
124
|
+
{
|
|
125
|
+
py::set_arg_count_version_error(3);
|
|
126
|
+
return nullptr;
|
|
127
|
+
}
|
|
128
|
+
|
|
130
129
|
auto param0 = py::convert_to<winrt::Windows::Security::Authentication::Web::WebAuthenticationOptions>(args, 0);
|
|
131
130
|
auto param1 = py::convert_to<winrt::Windows::Foundation::Uri>(args, 1);
|
|
132
131
|
auto param2 = py::convert_to<winrt::Windows::Foundation::Uri>(args, 2);
|
|
@@ -152,14 +151,14 @@ namespace py::cpp::Windows::Security::Authentication::Web
|
|
|
152
151
|
|
|
153
152
|
if (arg_count == 1)
|
|
154
153
|
{
|
|
155
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Security.Authentication.Web.WebAuthenticationBroker", L"AuthenticateSilentlyAsync", 1))
|
|
156
|
-
{
|
|
157
|
-
py::set_arg_count_version_error(1);
|
|
158
|
-
return nullptr;
|
|
159
|
-
}
|
|
160
|
-
|
|
161
154
|
try
|
|
162
155
|
{
|
|
156
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Security.Authentication.Web.WebAuthenticationBroker", L"AuthenticateSilentlyAsync", 1))
|
|
157
|
+
{
|
|
158
|
+
py::set_arg_count_version_error(1);
|
|
159
|
+
return nullptr;
|
|
160
|
+
}
|
|
161
|
+
|
|
163
162
|
auto param0 = py::convert_to<winrt::Windows::Foundation::Uri>(args, 0);
|
|
164
163
|
|
|
165
164
|
return py::convert(winrt::Windows::Security::Authentication::Web::WebAuthenticationBroker::AuthenticateSilentlyAsync(param0));
|
|
@@ -172,14 +171,14 @@ namespace py::cpp::Windows::Security::Authentication::Web
|
|
|
172
171
|
}
|
|
173
172
|
else if (arg_count == 2)
|
|
174
173
|
{
|
|
175
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Security.Authentication.Web.WebAuthenticationBroker", L"AuthenticateSilentlyAsync", 2))
|
|
176
|
-
{
|
|
177
|
-
py::set_arg_count_version_error(2);
|
|
178
|
-
return nullptr;
|
|
179
|
-
}
|
|
180
|
-
|
|
181
174
|
try
|
|
182
175
|
{
|
|
176
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Security.Authentication.Web.WebAuthenticationBroker", L"AuthenticateSilentlyAsync", 2))
|
|
177
|
+
{
|
|
178
|
+
py::set_arg_count_version_error(2);
|
|
179
|
+
return nullptr;
|
|
180
|
+
}
|
|
181
|
+
|
|
183
182
|
auto param0 = py::convert_to<winrt::Windows::Foundation::Uri>(args, 0);
|
|
184
183
|
auto param1 = py::convert_to<winrt::Windows::Security::Authentication::Web::WebAuthenticationOptions>(args, 1);
|
|
185
184
|
|
|
@@ -204,14 +203,14 @@ namespace py::cpp::Windows::Security::Authentication::Web
|
|
|
204
203
|
|
|
205
204
|
if (arg_count == 0)
|
|
206
205
|
{
|
|
207
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Security.Authentication.Web.WebAuthenticationBroker", L"GetCurrentApplicationCallbackUri", 0))
|
|
208
|
-
{
|
|
209
|
-
py::set_arg_count_version_error(0);
|
|
210
|
-
return nullptr;
|
|
211
|
-
}
|
|
212
|
-
|
|
213
206
|
try
|
|
214
207
|
{
|
|
208
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Security.Authentication.Web.WebAuthenticationBroker", L"GetCurrentApplicationCallbackUri", 0))
|
|
209
|
+
{
|
|
210
|
+
py::set_arg_count_version_error(0);
|
|
211
|
+
return nullptr;
|
|
212
|
+
}
|
|
213
|
+
|
|
215
214
|
return py::convert(winrt::Windows::Security::Authentication::Web::WebAuthenticationBroker::GetCurrentApplicationCallbackUri());
|
|
216
215
|
}
|
|
217
216
|
catch (...)
|
|
@@ -235,22 +234,19 @@ namespace py::cpp::Windows::Security::Authentication::Web
|
|
|
235
234
|
{ }
|
|
236
235
|
};
|
|
237
236
|
|
|
238
|
-
static PyType_Slot _type_slots_WebAuthenticationBroker[] =
|
|
239
|
-
{
|
|
237
|
+
static PyType_Slot _type_slots_WebAuthenticationBroker[] = {
|
|
240
238
|
{ Py_tp_new, reinterpret_cast<void*>(_new_WebAuthenticationBroker) },
|
|
241
239
|
{ Py_tp_methods, reinterpret_cast<void*>(_methods_WebAuthenticationBroker) },
|
|
242
240
|
{ Py_tp_getset, reinterpret_cast<void*>(_getset_WebAuthenticationBroker) },
|
|
243
|
-
{ }
|
|
241
|
+
{ }
|
|
244
242
|
};
|
|
245
243
|
|
|
246
|
-
static PyType_Spec type_spec_WebAuthenticationBroker =
|
|
247
|
-
{
|
|
244
|
+
static PyType_Spec type_spec_WebAuthenticationBroker = {
|
|
248
245
|
"winrt._winrt_windows_security_authentication_web.WebAuthenticationBroker",
|
|
249
246
|
0,
|
|
250
247
|
0,
|
|
251
248
|
Py_TPFLAGS_DEFAULT,
|
|
252
|
-
_type_slots_WebAuthenticationBroker
|
|
253
|
-
};
|
|
249
|
+
_type_slots_WebAuthenticationBroker};
|
|
254
250
|
|
|
255
251
|
static PyGetSetDef getset_WebAuthenticationBroker_Static[] = {
|
|
256
252
|
{ }
|
|
@@ -300,14 +296,14 @@ namespace py::cpp::Windows::Security::Authentication::Web
|
|
|
300
296
|
|
|
301
297
|
static PyObject* WebAuthenticationResult_get_ResponseData(py::wrapper::Windows::Security::Authentication::Web::WebAuthenticationResult* self, void* /*unused*/) noexcept
|
|
302
298
|
{
|
|
303
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Security.Authentication.Web.WebAuthenticationResult", L"ResponseData"))
|
|
304
|
-
{
|
|
305
|
-
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
306
|
-
return nullptr;
|
|
307
|
-
}
|
|
308
|
-
|
|
309
299
|
try
|
|
310
300
|
{
|
|
301
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Security.Authentication.Web.WebAuthenticationResult", L"ResponseData"))
|
|
302
|
+
{
|
|
303
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
304
|
+
return nullptr;
|
|
305
|
+
}
|
|
306
|
+
|
|
311
307
|
return py::convert(self->obj.ResponseData());
|
|
312
308
|
}
|
|
313
309
|
catch (...)
|
|
@@ -319,14 +315,14 @@ namespace py::cpp::Windows::Security::Authentication::Web
|
|
|
319
315
|
|
|
320
316
|
static PyObject* WebAuthenticationResult_get_ResponseErrorDetail(py::wrapper::Windows::Security::Authentication::Web::WebAuthenticationResult* self, void* /*unused*/) noexcept
|
|
321
317
|
{
|
|
322
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Security.Authentication.Web.WebAuthenticationResult", L"ResponseErrorDetail"))
|
|
323
|
-
{
|
|
324
|
-
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
325
|
-
return nullptr;
|
|
326
|
-
}
|
|
327
|
-
|
|
328
318
|
try
|
|
329
319
|
{
|
|
320
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Security.Authentication.Web.WebAuthenticationResult", L"ResponseErrorDetail"))
|
|
321
|
+
{
|
|
322
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
323
|
+
return nullptr;
|
|
324
|
+
}
|
|
325
|
+
|
|
330
326
|
return py::convert(self->obj.ResponseErrorDetail());
|
|
331
327
|
}
|
|
332
328
|
catch (...)
|
|
@@ -338,14 +334,14 @@ namespace py::cpp::Windows::Security::Authentication::Web
|
|
|
338
334
|
|
|
339
335
|
static PyObject* WebAuthenticationResult_get_ResponseStatus(py::wrapper::Windows::Security::Authentication::Web::WebAuthenticationResult* self, void* /*unused*/) noexcept
|
|
340
336
|
{
|
|
341
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Security.Authentication.Web.WebAuthenticationResult", L"ResponseStatus"))
|
|
342
|
-
{
|
|
343
|
-
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
344
|
-
return nullptr;
|
|
345
|
-
}
|
|
346
|
-
|
|
347
337
|
try
|
|
348
338
|
{
|
|
339
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Security.Authentication.Web.WebAuthenticationResult", L"ResponseStatus"))
|
|
340
|
+
{
|
|
341
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
342
|
+
return nullptr;
|
|
343
|
+
}
|
|
344
|
+
|
|
349
345
|
return py::convert(self->obj.ResponseStatus());
|
|
350
346
|
}
|
|
351
347
|
catch (...)
|
|
@@ -392,39 +388,35 @@ namespace py::cpp::Windows::Security::Authentication::Web
|
|
|
392
388
|
{ }
|
|
393
389
|
};
|
|
394
390
|
|
|
395
|
-
static PyType_Slot _type_slots_WebAuthenticationResult[] =
|
|
396
|
-
{
|
|
391
|
+
static PyType_Slot _type_slots_WebAuthenticationResult[] = {
|
|
397
392
|
{ Py_tp_new, reinterpret_cast<void*>(_new_WebAuthenticationResult) },
|
|
398
393
|
{ Py_tp_dealloc, reinterpret_cast<void*>(_dealloc_WebAuthenticationResult) },
|
|
399
394
|
{ Py_tp_methods, reinterpret_cast<void*>(_methods_WebAuthenticationResult) },
|
|
400
395
|
{ Py_tp_getset, reinterpret_cast<void*>(_getset_WebAuthenticationResult) },
|
|
401
|
-
{ }
|
|
396
|
+
{ }
|
|
402
397
|
};
|
|
403
398
|
|
|
404
|
-
static PyType_Spec type_spec_WebAuthenticationResult =
|
|
405
|
-
{
|
|
399
|
+
static PyType_Spec type_spec_WebAuthenticationResult = {
|
|
406
400
|
"winrt._winrt_windows_security_authentication_web.WebAuthenticationResult",
|
|
407
401
|
sizeof(py::wrapper::Windows::Security::Authentication::Web::WebAuthenticationResult),
|
|
408
402
|
0,
|
|
409
403
|
Py_TPFLAGS_DEFAULT,
|
|
410
|
-
_type_slots_WebAuthenticationResult
|
|
411
|
-
};
|
|
404
|
+
_type_slots_WebAuthenticationResult};
|
|
412
405
|
|
|
413
406
|
// ----- Windows.Security.Authentication.Web Initialization --------------------
|
|
414
|
-
PyDoc_STRVAR(module_doc, "Windows::Security::Authentication::Web");
|
|
415
407
|
|
|
408
|
+
PyDoc_STRVAR(module_doc, "Windows.Security.Authentication.Web");
|
|
416
409
|
|
|
417
|
-
static PyModuleDef module_def
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
410
|
+
static PyModuleDef module_def = {
|
|
411
|
+
PyModuleDef_HEAD_INIT,
|
|
412
|
+
"_winrt_windows_security_authentication_web",
|
|
413
|
+
module_doc,
|
|
414
|
+
0,
|
|
415
|
+
nullptr,
|
|
416
|
+
nullptr,
|
|
417
|
+
nullptr,
|
|
418
|
+
nullptr,
|
|
419
|
+
nullptr};
|
|
428
420
|
} // py::cpp::Windows::Security::Authentication::Web
|
|
429
421
|
|
|
430
422
|
PyMODINIT_FUNC PyInit__winrt_windows_security_authentication_web(void) noexcept
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
2.1.0
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.1.0
|
|
2
2
|
|
|
3
|
-
winrt-runtime==2.0
|
|
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
|
+
# 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
|
from winrt.windows.security.authentication.web import TokenBindingKeyType, WebAuthenticationOptions, WebAuthenticationStatus
|
|
16
16
|
|
|
@@ -19,25 +19,24 @@ Self = typing.TypeVar('Self')
|
|
|
19
19
|
@typing.final
|
|
20
20
|
class WebAuthenticationBroker_Static(type):
|
|
21
21
|
@typing.overload
|
|
22
|
-
def authenticate_and_continue(cls, request_uri: typing.Optional[
|
|
22
|
+
def authenticate_and_continue(cls, request_uri: typing.Optional[windows_foundation.Uri], /) -> None: ...
|
|
23
23
|
@typing.overload
|
|
24
|
-
def authenticate_and_continue(cls, request_uri: typing.Optional[
|
|
24
|
+
def authenticate_and_continue(cls, request_uri: typing.Optional[windows_foundation.Uri], callback_uri: typing.Optional[windows_foundation.Uri], /) -> None: ...
|
|
25
25
|
@typing.overload
|
|
26
|
-
def authenticate_and_continue(cls, request_uri: typing.Optional[
|
|
26
|
+
def authenticate_and_continue(cls, request_uri: typing.Optional[windows_foundation.Uri], callback_uri: typing.Optional[windows_foundation.Uri], continuation_data: typing.Optional[windows_foundation_collections.ValueSet], options: WebAuthenticationOptions, /) -> None: ...
|
|
27
27
|
@typing.overload
|
|
28
|
-
def authenticate_async(cls, options: WebAuthenticationOptions, request_uri: typing.Optional[
|
|
28
|
+
def authenticate_async(cls, options: WebAuthenticationOptions, request_uri: typing.Optional[windows_foundation.Uri], /) -> windows_foundation.IAsyncOperation[WebAuthenticationResult]: ...
|
|
29
29
|
@typing.overload
|
|
30
|
-
def authenticate_async(cls, options: WebAuthenticationOptions, request_uri: typing.Optional[
|
|
30
|
+
def authenticate_async(cls, options: WebAuthenticationOptions, request_uri: typing.Optional[windows_foundation.Uri], callback_uri: typing.Optional[windows_foundation.Uri], /) -> windows_foundation.IAsyncOperation[WebAuthenticationResult]: ...
|
|
31
31
|
@typing.overload
|
|
32
|
-
def authenticate_silently_async(cls, request_uri: typing.Optional[
|
|
32
|
+
def authenticate_silently_async(cls, request_uri: typing.Optional[windows_foundation.Uri], /) -> windows_foundation.IAsyncOperation[WebAuthenticationResult]: ...
|
|
33
33
|
@typing.overload
|
|
34
|
-
def authenticate_silently_async(cls, request_uri: typing.Optional[
|
|
35
|
-
def get_current_application_callback_uri(cls) -> typing.Optional[
|
|
34
|
+
def authenticate_silently_async(cls, request_uri: typing.Optional[windows_foundation.Uri], options: WebAuthenticationOptions, /) -> windows_foundation.IAsyncOperation[WebAuthenticationResult]: ...
|
|
35
|
+
def get_current_application_callback_uri(cls) -> typing.Optional[windows_foundation.Uri]: ...
|
|
36
36
|
|
|
37
37
|
@typing.final
|
|
38
38
|
class WebAuthenticationBroker(winrt.system.Object, metaclass=WebAuthenticationBroker_Static):
|
|
39
|
-
|
|
40
|
-
def _from(obj: winrt.system.Object, /) -> WebAuthenticationBroker: ...
|
|
39
|
+
pass
|
|
41
40
|
|
|
42
41
|
@typing.final
|
|
43
42
|
class WebAuthenticationResult(winrt.system.Object):
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.1.0
|
|
2
2
|
|
|
3
3
|
import enum
|
|
4
4
|
|
|
@@ -19,7 +19,7 @@ class TokenBindingKeyType(enum.IntEnum):
|
|
|
19
19
|
ANY_EXISTING = 2
|
|
20
20
|
|
|
21
21
|
class WebAuthenticationOptions(enum.IntFlag):
|
|
22
|
-
NONE =
|
|
22
|
+
NONE = 0x0
|
|
23
23
|
SILENT_MODE = 0x1
|
|
24
24
|
USE_TITLE = 0x2
|
|
25
25
|
USE_HTTP_POST = 0x4
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: winrt-Windows.Security.Authentication.Web
|
|
3
|
-
Version: 2.0
|
|
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
|
|
15
|
+
Requires-Dist: winrt-runtime==2.1.0
|
|
16
16
|
Provides-Extra: all
|
|
17
|
-
Requires-Dist: winrt-Windows.Foundation[all]==2.0
|
|
18
|
-
Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.0
|
|
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
|
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
2.0.1
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|