winrt-Windows.Security.Authentication.Web 2.3.0__tar.gz → 3.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.3.0 → winrt_windows_security_authentication_web-3.1.0}/PKG-INFO +7 -7
- winrt_windows_security_authentication_web-3.1.0/all-requirements.txt +4 -0
- {winrt_windows_security_authentication_web-2.3.0 → winrt_windows_security_authentication_web-3.1.0}/py.Windows.Security.Authentication.Web.cpp +157 -63
- {winrt_windows_security_authentication_web-2.3.0 → winrt_windows_security_authentication_web-3.1.0}/pyproject.toml +4 -4
- winrt_windows_security_authentication_web-3.1.0/pywinrt-version.txt +1 -0
- {winrt_windows_security_authentication_web-2.3.0 → winrt_windows_security_authentication_web-3.1.0}/requirements.txt +2 -2
- {winrt_windows_security_authentication_web-2.3.0 → winrt_windows_security_authentication_web-3.1.0}/setup.py +1 -1
- winrt_windows_security_authentication_web-3.1.0/winrt/_winrt_windows_security_authentication_web.pyi +53 -0
- {winrt_windows_security_authentication_web-2.3.0 → winrt_windows_security_authentication_web-3.1.0}/winrt/windows/security/authentication/web/__init__.py +5 -4
- {winrt_windows_security_authentication_web-2.3.0 → winrt_windows_security_authentication_web-3.1.0}/winrt_Windows.Security.Authentication.Web.egg-info/PKG-INFO +7 -7
- winrt_windows_security_authentication_web-3.1.0/winrt_Windows.Security.Authentication.Web.egg-info/requires.txt +5 -0
- winrt_windows_security_authentication_web-2.3.0/all-requirements.txt +0 -4
- winrt_windows_security_authentication_web-2.3.0/pywinrt-version.txt +0 -1
- winrt_windows_security_authentication_web-2.3.0/winrt/_winrt_windows_security_authentication_web.pyi +0 -51
- winrt_windows_security_authentication_web-2.3.0/winrt_Windows.Security.Authentication.Web.egg-info/requires.txt +0 -5
- {winrt_windows_security_authentication_web-2.3.0 → winrt_windows_security_authentication_web-3.1.0}/README.md +0 -0
- {winrt_windows_security_authentication_web-2.3.0 → winrt_windows_security_authentication_web-3.1.0}/setup.cfg +0 -0
- {winrt_windows_security_authentication_web-2.3.0 → winrt_windows_security_authentication_web-3.1.0}/winrt/windows/security/authentication/web/py.typed +0 -0
- {winrt_windows_security_authentication_web-2.3.0 → winrt_windows_security_authentication_web-3.1.0}/winrt_Windows.Security.Authentication.Web.egg-info/SOURCES.txt +0 -0
- {winrt_windows_security_authentication_web-2.3.0 → winrt_windows_security_authentication_web-3.1.0}/winrt_Windows.Security.Authentication.Web.egg-info/dependency_links.txt +0 -0
- {winrt_windows_security_authentication_web-2.3.0 → winrt_windows_security_authentication_web-3.1.0}/winrt_Windows.Security.Authentication.Web.egg-info/top_level.txt +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: winrt-Windows.Security.Authentication.Web
|
|
3
|
-
Version:
|
|
3
|
+
Version: 3.1.0
|
|
4
4
|
Summary: Python projection of Windows Runtime (WinRT) APIs
|
|
5
|
-
License: MIT
|
|
5
|
+
License-Expression: MIT
|
|
6
6
|
Project-URL: Documentation, https://pywinrt.readthedocs.io
|
|
7
7
|
Project-URL: Repository, https://github.com/pywinrt/pywinrt
|
|
8
8
|
Project-URL: Changelog, https://github.com/pywinrt/pywinrt/blob/main/CHANGELOG.md
|
|
@@ -10,12 +10,12 @@ 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.1.0
|
|
16
16
|
Provides-Extra: all
|
|
17
|
-
Requires-Dist: winrt-Windows.Foundation[all]==
|
|
18
|
-
Requires-Dist: winrt-Windows.Foundation.Collections[all]==
|
|
17
|
+
Requires-Dist: winrt-Windows.Foundation[all]==3.1.0; extra == "all"
|
|
18
|
+
Requires-Dist: winrt-Windows.Foundation.Collections[all]==3.1.0; extra == "all"
|
|
19
19
|
|
|
20
20
|
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
21
21
|
|
|
@@ -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.1.0
|
|
2
2
|
|
|
3
3
|
#include "py.Windows.Security.Authentication.Web.h"
|
|
4
4
|
|
|
@@ -15,7 +15,7 @@ namespace py::cpp::Windows::Security::Authentication::Web
|
|
|
15
15
|
|
|
16
16
|
static PyObject* WebAuthenticationBroker_AuthenticateAndContinue(PyObject* /*unused*/, PyObject* args) noexcept
|
|
17
17
|
{
|
|
18
|
-
auto arg_count =
|
|
18
|
+
auto arg_count = PyTuple_GET_SIZE(args);
|
|
19
19
|
|
|
20
20
|
if (arg_count == 1)
|
|
21
21
|
{
|
|
@@ -36,7 +36,11 @@ namespace py::cpp::Windows::Security::Authentication::Web
|
|
|
36
36
|
|
|
37
37
|
auto param0 = py::convert_to<winrt::Windows::Foundation::Uri>(args, 0);
|
|
38
38
|
|
|
39
|
-
|
|
39
|
+
{
|
|
40
|
+
auto _gil = release_gil();
|
|
41
|
+
winrt::Windows::Security::Authentication::Web::WebAuthenticationBroker::AuthenticateAndContinue(param0);
|
|
42
|
+
}
|
|
43
|
+
|
|
40
44
|
Py_RETURN_NONE;
|
|
41
45
|
}
|
|
42
46
|
catch (...)
|
|
@@ -45,7 +49,18 @@ namespace py::cpp::Windows::Security::Authentication::Web
|
|
|
45
49
|
return nullptr;
|
|
46
50
|
}
|
|
47
51
|
}
|
|
48
|
-
else
|
|
52
|
+
else
|
|
53
|
+
{
|
|
54
|
+
py::set_invalid_arg_count_error(arg_count);
|
|
55
|
+
return nullptr;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
static PyObject* WebAuthenticationBroker_AuthenticateSilentlyAsync(PyObject* /*unused*/, PyObject* args) noexcept
|
|
60
|
+
{
|
|
61
|
+
auto arg_count = PyTuple_GET_SIZE(args);
|
|
62
|
+
|
|
63
|
+
if (arg_count == 1)
|
|
49
64
|
{
|
|
50
65
|
try
|
|
51
66
|
{
|
|
@@ -53,20 +68,22 @@ namespace py::cpp::Windows::Security::Authentication::Web
|
|
|
53
68
|
|
|
54
69
|
if (!is_overload_present.has_value())
|
|
55
70
|
{
|
|
56
|
-
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Security.Authentication.Web.WebAuthenticationBroker", L"
|
|
71
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Security.Authentication.Web.WebAuthenticationBroker", L"AuthenticateSilentlyAsync", 1);
|
|
57
72
|
}
|
|
58
73
|
|
|
59
74
|
if (!is_overload_present.value())
|
|
60
75
|
{
|
|
61
|
-
py::set_arg_count_version_error(
|
|
76
|
+
py::set_arg_count_version_error(1);
|
|
62
77
|
return nullptr;
|
|
63
78
|
}
|
|
64
79
|
|
|
65
80
|
auto param0 = py::convert_to<winrt::Windows::Foundation::Uri>(args, 0);
|
|
66
|
-
auto param1 = py::convert_to<winrt::Windows::Foundation::Uri>(args, 1);
|
|
67
81
|
|
|
68
|
-
|
|
69
|
-
|
|
82
|
+
return py::convert([&]()
|
|
83
|
+
{
|
|
84
|
+
auto _gil = release_gil();
|
|
85
|
+
return winrt::Windows::Security::Authentication::Web::WebAuthenticationBroker::AuthenticateSilentlyAsync(param0);
|
|
86
|
+
}());
|
|
70
87
|
}
|
|
71
88
|
catch (...)
|
|
72
89
|
{
|
|
@@ -74,7 +91,18 @@ namespace py::cpp::Windows::Security::Authentication::Web
|
|
|
74
91
|
return nullptr;
|
|
75
92
|
}
|
|
76
93
|
}
|
|
77
|
-
else
|
|
94
|
+
else
|
|
95
|
+
{
|
|
96
|
+
py::set_invalid_arg_count_error(arg_count);
|
|
97
|
+
return nullptr;
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
static PyObject* WebAuthenticationBroker_AuthenticateSilentlyWithOptionsAsync(PyObject* /*unused*/, PyObject* args) noexcept
|
|
102
|
+
{
|
|
103
|
+
auto arg_count = PyTuple_GET_SIZE(args);
|
|
104
|
+
|
|
105
|
+
if (arg_count == 2)
|
|
78
106
|
{
|
|
79
107
|
try
|
|
80
108
|
{
|
|
@@ -82,22 +110,23 @@ namespace py::cpp::Windows::Security::Authentication::Web
|
|
|
82
110
|
|
|
83
111
|
if (!is_overload_present.has_value())
|
|
84
112
|
{
|
|
85
|
-
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Security.Authentication.Web.WebAuthenticationBroker", L"
|
|
113
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Security.Authentication.Web.WebAuthenticationBroker", L"AuthenticateSilentlyAsync", 2);
|
|
86
114
|
}
|
|
87
115
|
|
|
88
116
|
if (!is_overload_present.value())
|
|
89
117
|
{
|
|
90
|
-
py::set_arg_count_version_error(
|
|
118
|
+
py::set_arg_count_version_error(2);
|
|
91
119
|
return nullptr;
|
|
92
120
|
}
|
|
93
121
|
|
|
94
122
|
auto param0 = py::convert_to<winrt::Windows::Foundation::Uri>(args, 0);
|
|
95
|
-
auto param1 = py::convert_to<winrt::Windows::
|
|
96
|
-
auto param2 = py::convert_to<winrt::Windows::Foundation::Collections::ValueSet>(args, 2);
|
|
97
|
-
auto param3 = py::convert_to<winrt::Windows::Security::Authentication::Web::WebAuthenticationOptions>(args, 3);
|
|
123
|
+
auto param1 = py::convert_to<winrt::Windows::Security::Authentication::Web::WebAuthenticationOptions>(args, 1);
|
|
98
124
|
|
|
99
|
-
|
|
100
|
-
|
|
125
|
+
return py::convert([&]()
|
|
126
|
+
{
|
|
127
|
+
auto _gil = release_gil();
|
|
128
|
+
return winrt::Windows::Security::Authentication::Web::WebAuthenticationBroker::AuthenticateSilentlyAsync(param0, param1);
|
|
129
|
+
}());
|
|
101
130
|
}
|
|
102
131
|
catch (...)
|
|
103
132
|
{
|
|
@@ -112,9 +141,9 @@ namespace py::cpp::Windows::Security::Authentication::Web
|
|
|
112
141
|
}
|
|
113
142
|
}
|
|
114
143
|
|
|
115
|
-
static PyObject*
|
|
144
|
+
static PyObject* WebAuthenticationBroker_AuthenticateWithCallbackUriAndContinue(PyObject* /*unused*/, PyObject* args) noexcept
|
|
116
145
|
{
|
|
117
|
-
auto arg_count =
|
|
146
|
+
auto arg_count = PyTuple_GET_SIZE(args);
|
|
118
147
|
|
|
119
148
|
if (arg_count == 2)
|
|
120
149
|
{
|
|
@@ -124,7 +153,7 @@ namespace py::cpp::Windows::Security::Authentication::Web
|
|
|
124
153
|
|
|
125
154
|
if (!is_overload_present.has_value())
|
|
126
155
|
{
|
|
127
|
-
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Security.Authentication.Web.WebAuthenticationBroker", L"
|
|
156
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Security.Authentication.Web.WebAuthenticationBroker", L"AuthenticateAndContinue", 2);
|
|
128
157
|
}
|
|
129
158
|
|
|
130
159
|
if (!is_overload_present.value())
|
|
@@ -133,10 +162,15 @@ namespace py::cpp::Windows::Security::Authentication::Web
|
|
|
133
162
|
return nullptr;
|
|
134
163
|
}
|
|
135
164
|
|
|
136
|
-
auto param0 = py::convert_to<winrt::Windows::
|
|
165
|
+
auto param0 = py::convert_to<winrt::Windows::Foundation::Uri>(args, 0);
|
|
137
166
|
auto param1 = py::convert_to<winrt::Windows::Foundation::Uri>(args, 1);
|
|
138
167
|
|
|
139
|
-
|
|
168
|
+
{
|
|
169
|
+
auto _gil = release_gil();
|
|
170
|
+
winrt::Windows::Security::Authentication::Web::WebAuthenticationBroker::AuthenticateAndContinue(param0, param1);
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
Py_RETURN_NONE;
|
|
140
174
|
}
|
|
141
175
|
catch (...)
|
|
142
176
|
{
|
|
@@ -144,7 +178,18 @@ namespace py::cpp::Windows::Security::Authentication::Web
|
|
|
144
178
|
return nullptr;
|
|
145
179
|
}
|
|
146
180
|
}
|
|
147
|
-
else
|
|
181
|
+
else
|
|
182
|
+
{
|
|
183
|
+
py::set_invalid_arg_count_error(arg_count);
|
|
184
|
+
return nullptr;
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
static PyObject* WebAuthenticationBroker_AuthenticateWithCallbackUriAsync(PyObject* /*unused*/, PyObject* args) noexcept
|
|
189
|
+
{
|
|
190
|
+
auto arg_count = PyTuple_GET_SIZE(args);
|
|
191
|
+
|
|
192
|
+
if (arg_count == 3)
|
|
148
193
|
{
|
|
149
194
|
try
|
|
150
195
|
{
|
|
@@ -165,7 +210,11 @@ namespace py::cpp::Windows::Security::Authentication::Web
|
|
|
165
210
|
auto param1 = py::convert_to<winrt::Windows::Foundation::Uri>(args, 1);
|
|
166
211
|
auto param2 = py::convert_to<winrt::Windows::Foundation::Uri>(args, 2);
|
|
167
212
|
|
|
168
|
-
return py::convert(
|
|
213
|
+
return py::convert([&]()
|
|
214
|
+
{
|
|
215
|
+
auto _gil = release_gil();
|
|
216
|
+
return winrt::Windows::Security::Authentication::Web::WebAuthenticationBroker::AuthenticateAsync(param0, param1, param2);
|
|
217
|
+
}());
|
|
169
218
|
}
|
|
170
219
|
catch (...)
|
|
171
220
|
{
|
|
@@ -180,11 +229,11 @@ namespace py::cpp::Windows::Security::Authentication::Web
|
|
|
180
229
|
}
|
|
181
230
|
}
|
|
182
231
|
|
|
183
|
-
static PyObject*
|
|
232
|
+
static PyObject* WebAuthenticationBroker_AuthenticateWithCallbackUriContinuationDataAndOptionsAndContinue(PyObject* /*unused*/, PyObject* args) noexcept
|
|
184
233
|
{
|
|
185
|
-
auto arg_count =
|
|
234
|
+
auto arg_count = PyTuple_GET_SIZE(args);
|
|
186
235
|
|
|
187
|
-
if (arg_count ==
|
|
236
|
+
if (arg_count == 4)
|
|
188
237
|
{
|
|
189
238
|
try
|
|
190
239
|
{
|
|
@@ -192,18 +241,26 @@ namespace py::cpp::Windows::Security::Authentication::Web
|
|
|
192
241
|
|
|
193
242
|
if (!is_overload_present.has_value())
|
|
194
243
|
{
|
|
195
|
-
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Security.Authentication.Web.WebAuthenticationBroker", L"
|
|
244
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Security.Authentication.Web.WebAuthenticationBroker", L"AuthenticateAndContinue", 4);
|
|
196
245
|
}
|
|
197
246
|
|
|
198
247
|
if (!is_overload_present.value())
|
|
199
248
|
{
|
|
200
|
-
py::set_arg_count_version_error(
|
|
249
|
+
py::set_arg_count_version_error(4);
|
|
201
250
|
return nullptr;
|
|
202
251
|
}
|
|
203
252
|
|
|
204
253
|
auto param0 = py::convert_to<winrt::Windows::Foundation::Uri>(args, 0);
|
|
254
|
+
auto param1 = py::convert_to<winrt::Windows::Foundation::Uri>(args, 1);
|
|
255
|
+
auto param2 = py::convert_to<winrt::Windows::Foundation::Collections::ValueSet>(args, 2);
|
|
256
|
+
auto param3 = py::convert_to<winrt::Windows::Security::Authentication::Web::WebAuthenticationOptions>(args, 3);
|
|
205
257
|
|
|
206
|
-
|
|
258
|
+
{
|
|
259
|
+
auto _gil = release_gil();
|
|
260
|
+
winrt::Windows::Security::Authentication::Web::WebAuthenticationBroker::AuthenticateAndContinue(param0, param1, param2, param3);
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
Py_RETURN_NONE;
|
|
207
264
|
}
|
|
208
265
|
catch (...)
|
|
209
266
|
{
|
|
@@ -211,7 +268,18 @@ namespace py::cpp::Windows::Security::Authentication::Web
|
|
|
211
268
|
return nullptr;
|
|
212
269
|
}
|
|
213
270
|
}
|
|
214
|
-
else
|
|
271
|
+
else
|
|
272
|
+
{
|
|
273
|
+
py::set_invalid_arg_count_error(arg_count);
|
|
274
|
+
return nullptr;
|
|
275
|
+
}
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
static PyObject* WebAuthenticationBroker_AuthenticateWithoutCallbackUriAsync(PyObject* /*unused*/, PyObject* args) noexcept
|
|
279
|
+
{
|
|
280
|
+
auto arg_count = PyTuple_GET_SIZE(args);
|
|
281
|
+
|
|
282
|
+
if (arg_count == 2)
|
|
215
283
|
{
|
|
216
284
|
try
|
|
217
285
|
{
|
|
@@ -219,7 +287,7 @@ namespace py::cpp::Windows::Security::Authentication::Web
|
|
|
219
287
|
|
|
220
288
|
if (!is_overload_present.has_value())
|
|
221
289
|
{
|
|
222
|
-
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Security.Authentication.Web.WebAuthenticationBroker", L"
|
|
290
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Security.Authentication.Web.WebAuthenticationBroker", L"AuthenticateAsync", 2);
|
|
223
291
|
}
|
|
224
292
|
|
|
225
293
|
if (!is_overload_present.value())
|
|
@@ -228,10 +296,14 @@ namespace py::cpp::Windows::Security::Authentication::Web
|
|
|
228
296
|
return nullptr;
|
|
229
297
|
}
|
|
230
298
|
|
|
231
|
-
auto param0 = py::convert_to<winrt::Windows::
|
|
232
|
-
auto param1 = py::convert_to<winrt::Windows::
|
|
299
|
+
auto param0 = py::convert_to<winrt::Windows::Security::Authentication::Web::WebAuthenticationOptions>(args, 0);
|
|
300
|
+
auto param1 = py::convert_to<winrt::Windows::Foundation::Uri>(args, 1);
|
|
233
301
|
|
|
234
|
-
return py::convert(
|
|
302
|
+
return py::convert([&]()
|
|
303
|
+
{
|
|
304
|
+
auto _gil = release_gil();
|
|
305
|
+
return winrt::Windows::Security::Authentication::Web::WebAuthenticationBroker::AuthenticateAsync(param0, param1);
|
|
306
|
+
}());
|
|
235
307
|
}
|
|
236
308
|
catch (...)
|
|
237
309
|
{
|
|
@@ -248,7 +320,7 @@ namespace py::cpp::Windows::Security::Authentication::Web
|
|
|
248
320
|
|
|
249
321
|
static PyObject* WebAuthenticationBroker_GetCurrentApplicationCallbackUri(PyObject* /*unused*/, PyObject* args) noexcept
|
|
250
322
|
{
|
|
251
|
-
auto arg_count =
|
|
323
|
+
auto arg_count = PyTuple_GET_SIZE(args);
|
|
252
324
|
|
|
253
325
|
if (arg_count == 0)
|
|
254
326
|
{
|
|
@@ -267,7 +339,11 @@ namespace py::cpp::Windows::Security::Authentication::Web
|
|
|
267
339
|
return nullptr;
|
|
268
340
|
}
|
|
269
341
|
|
|
270
|
-
return py::convert(
|
|
342
|
+
return py::convert([&]()
|
|
343
|
+
{
|
|
344
|
+
auto _gil = release_gil();
|
|
345
|
+
return winrt::Windows::Security::Authentication::Web::WebAuthenticationBroker::GetCurrentApplicationCallbackUri();
|
|
346
|
+
}());
|
|
271
347
|
}
|
|
272
348
|
catch (...)
|
|
273
349
|
{
|
|
@@ -283,19 +359,16 @@ namespace py::cpp::Windows::Security::Authentication::Web
|
|
|
283
359
|
}
|
|
284
360
|
|
|
285
361
|
static PyMethodDef _methods_WebAuthenticationBroker[] = {
|
|
286
|
-
{ }
|
|
287
|
-
};
|
|
362
|
+
{ }};
|
|
288
363
|
|
|
289
364
|
static PyGetSetDef _getset_WebAuthenticationBroker[] = {
|
|
290
|
-
{ }
|
|
291
|
-
};
|
|
365
|
+
{ }};
|
|
292
366
|
|
|
293
367
|
static PyType_Slot _type_slots_WebAuthenticationBroker[] = {
|
|
294
368
|
{ Py_tp_new, reinterpret_cast<void*>(_new_WebAuthenticationBroker) },
|
|
295
369
|
{ Py_tp_methods, reinterpret_cast<void*>(_methods_WebAuthenticationBroker) },
|
|
296
370
|
{ Py_tp_getset, reinterpret_cast<void*>(_getset_WebAuthenticationBroker) },
|
|
297
|
-
{ }
|
|
298
|
-
};
|
|
371
|
+
{ }};
|
|
299
372
|
|
|
300
373
|
static PyType_Spec type_spec_WebAuthenticationBroker = {
|
|
301
374
|
"winrt._winrt_windows_security_authentication_web.WebAuthenticationBroker",
|
|
@@ -305,16 +378,18 @@ namespace py::cpp::Windows::Security::Authentication::Web
|
|
|
305
378
|
_type_slots_WebAuthenticationBroker};
|
|
306
379
|
|
|
307
380
|
static PyGetSetDef getset_WebAuthenticationBroker_Static[] = {
|
|
308
|
-
{ }
|
|
309
|
-
};
|
|
381
|
+
{ }};
|
|
310
382
|
|
|
311
383
|
static PyMethodDef methods_WebAuthenticationBroker_Static[] = {
|
|
312
384
|
{ "authenticate_and_continue", reinterpret_cast<PyCFunction>(WebAuthenticationBroker_AuthenticateAndContinue), METH_VARARGS, nullptr },
|
|
313
|
-
{ "authenticate_async", reinterpret_cast<PyCFunction>(WebAuthenticationBroker_AuthenticateAsync), METH_VARARGS, nullptr },
|
|
314
385
|
{ "authenticate_silently_async", reinterpret_cast<PyCFunction>(WebAuthenticationBroker_AuthenticateSilentlyAsync), METH_VARARGS, nullptr },
|
|
386
|
+
{ "authenticate_silently_with_options_async", reinterpret_cast<PyCFunction>(WebAuthenticationBroker_AuthenticateSilentlyWithOptionsAsync), METH_VARARGS, nullptr },
|
|
387
|
+
{ "authenticate_with_callback_uri_and_continue", reinterpret_cast<PyCFunction>(WebAuthenticationBroker_AuthenticateWithCallbackUriAndContinue), METH_VARARGS, nullptr },
|
|
388
|
+
{ "authenticate_with_callback_uri_async", reinterpret_cast<PyCFunction>(WebAuthenticationBroker_AuthenticateWithCallbackUriAsync), METH_VARARGS, nullptr },
|
|
389
|
+
{ "authenticate_with_callback_uri_continuation_data_and_options_and_continue", reinterpret_cast<PyCFunction>(WebAuthenticationBroker_AuthenticateWithCallbackUriContinuationDataAndOptionsAndContinue), METH_VARARGS, nullptr },
|
|
390
|
+
{ "authenticate_without_callback_uri_async", reinterpret_cast<PyCFunction>(WebAuthenticationBroker_AuthenticateWithoutCallbackUriAsync), METH_VARARGS, nullptr },
|
|
315
391
|
{ "get_current_application_callback_uri", reinterpret_cast<PyCFunction>(WebAuthenticationBroker_GetCurrentApplicationCallbackUri), METH_VARARGS, nullptr },
|
|
316
|
-
{ }
|
|
317
|
-
};
|
|
392
|
+
{ }};
|
|
318
393
|
|
|
319
394
|
static PyType_Slot type_slots_WebAuthenticationBroker_Static[] =
|
|
320
395
|
{
|
|
@@ -324,14 +399,12 @@ namespace py::cpp::Windows::Security::Authentication::Web
|
|
|
324
399
|
{ }
|
|
325
400
|
};
|
|
326
401
|
|
|
327
|
-
static PyType_Spec type_spec_WebAuthenticationBroker_Static =
|
|
328
|
-
{
|
|
402
|
+
static PyType_Spec type_spec_WebAuthenticationBroker_Static = {
|
|
329
403
|
"winrt._winrt_windows_security_authentication_web.WebAuthenticationBroker_Static",
|
|
330
404
|
static_cast<int>(PyType_Type.tp_basicsize),
|
|
331
405
|
static_cast<int>(PyType_Type.tp_itemsize),
|
|
332
406
|
Py_TPFLAGS_DEFAULT,
|
|
333
|
-
type_slots_WebAuthenticationBroker_Static
|
|
334
|
-
};
|
|
407
|
+
type_slots_WebAuthenticationBroker_Static};
|
|
335
408
|
|
|
336
409
|
// ----- WebAuthenticationResult class --------------------
|
|
337
410
|
|
|
@@ -367,7 +440,11 @@ namespace py::cpp::Windows::Security::Authentication::Web
|
|
|
367
440
|
return nullptr;
|
|
368
441
|
}
|
|
369
442
|
|
|
370
|
-
return py::convert(
|
|
443
|
+
return py::convert([&]()
|
|
444
|
+
{
|
|
445
|
+
auto _gil = release_gil();
|
|
446
|
+
return self->obj.ResponseData();
|
|
447
|
+
}());
|
|
371
448
|
}
|
|
372
449
|
catch (...)
|
|
373
450
|
{
|
|
@@ -393,7 +470,11 @@ namespace py::cpp::Windows::Security::Authentication::Web
|
|
|
393
470
|
return nullptr;
|
|
394
471
|
}
|
|
395
472
|
|
|
396
|
-
return py::convert(
|
|
473
|
+
return py::convert([&]()
|
|
474
|
+
{
|
|
475
|
+
auto _gil = release_gil();
|
|
476
|
+
return self->obj.ResponseErrorDetail();
|
|
477
|
+
}());
|
|
397
478
|
}
|
|
398
479
|
catch (...)
|
|
399
480
|
{
|
|
@@ -419,7 +500,11 @@ namespace py::cpp::Windows::Security::Authentication::Web
|
|
|
419
500
|
return nullptr;
|
|
420
501
|
}
|
|
421
502
|
|
|
422
|
-
return py::convert(
|
|
503
|
+
return py::convert([&]()
|
|
504
|
+
{
|
|
505
|
+
auto _gil = release_gil();
|
|
506
|
+
return self->obj.ResponseStatus();
|
|
507
|
+
}());
|
|
423
508
|
}
|
|
424
509
|
catch (...)
|
|
425
510
|
{
|
|
@@ -455,23 +540,20 @@ namespace py::cpp::Windows::Security::Authentication::Web
|
|
|
455
540
|
static PyMethodDef _methods_WebAuthenticationResult[] = {
|
|
456
541
|
{ "_assign_array_", _assign_array_WebAuthenticationResult, METH_O | METH_STATIC, nullptr },
|
|
457
542
|
{ "_from", reinterpret_cast<PyCFunction>(_from_WebAuthenticationResult), METH_O | METH_STATIC, nullptr },
|
|
458
|
-
{ }
|
|
459
|
-
};
|
|
543
|
+
{ }};
|
|
460
544
|
|
|
461
545
|
static PyGetSetDef _getset_WebAuthenticationResult[] = {
|
|
462
546
|
{ "response_data", reinterpret_cast<getter>(WebAuthenticationResult_get_ResponseData), nullptr, nullptr, nullptr },
|
|
463
547
|
{ "response_error_detail", reinterpret_cast<getter>(WebAuthenticationResult_get_ResponseErrorDetail), nullptr, nullptr, nullptr },
|
|
464
548
|
{ "response_status", reinterpret_cast<getter>(WebAuthenticationResult_get_ResponseStatus), nullptr, nullptr, nullptr },
|
|
465
|
-
{ }
|
|
466
|
-
};
|
|
549
|
+
{ }};
|
|
467
550
|
|
|
468
551
|
static PyType_Slot _type_slots_WebAuthenticationResult[] = {
|
|
469
552
|
{ Py_tp_new, reinterpret_cast<void*>(_new_WebAuthenticationResult) },
|
|
470
553
|
{ Py_tp_dealloc, reinterpret_cast<void*>(_dealloc_WebAuthenticationResult) },
|
|
471
554
|
{ Py_tp_methods, reinterpret_cast<void*>(_methods_WebAuthenticationResult) },
|
|
472
555
|
{ Py_tp_getset, reinterpret_cast<void*>(_getset_WebAuthenticationResult) },
|
|
473
|
-
{ }
|
|
474
|
-
};
|
|
556
|
+
{ }};
|
|
475
557
|
|
|
476
558
|
static PyType_Spec type_spec_WebAuthenticationResult = {
|
|
477
559
|
"winrt._winrt_windows_security_authentication_web.WebAuthenticationResult",
|
|
@@ -512,6 +594,12 @@ PyMODINIT_FUNC PyInit__winrt_windows_security_authentication_web(void) noexcept
|
|
|
512
594
|
return nullptr;
|
|
513
595
|
}
|
|
514
596
|
|
|
597
|
+
auto inspectable_meta_type = py::get_inspectable_meta_type();
|
|
598
|
+
if (!inspectable_meta_type)
|
|
599
|
+
{
|
|
600
|
+
return nullptr;
|
|
601
|
+
}
|
|
602
|
+
|
|
515
603
|
auto object_type = py::get_object_type();
|
|
516
604
|
if (!object_type)
|
|
517
605
|
{
|
|
@@ -525,7 +613,13 @@ PyMODINIT_FUNC PyInit__winrt_windows_security_authentication_web(void) noexcept
|
|
|
525
613
|
return nullptr;
|
|
526
614
|
}
|
|
527
615
|
|
|
528
|
-
py::pyobj_handle
|
|
616
|
+
py::pyobj_handle WebAuthenticationBroker_Static_bases{PyTuple_Pack(1, reinterpret_cast<PyObject*>(inspectable_meta_type))};
|
|
617
|
+
if (!WebAuthenticationBroker_Static_bases)
|
|
618
|
+
{
|
|
619
|
+
return nullptr;
|
|
620
|
+
}
|
|
621
|
+
|
|
622
|
+
py::pyobj_handle type_WebAuthenticationBroker_Static{PyType_FromSpecWithBases(&type_spec_WebAuthenticationBroker_Static, WebAuthenticationBroker_Static_bases.get())};
|
|
529
623
|
if (!type_WebAuthenticationBroker_Static)
|
|
530
624
|
{
|
|
531
625
|
return nullptr;
|
|
@@ -537,7 +631,7 @@ PyMODINIT_FUNC PyInit__winrt_windows_security_authentication_web(void) noexcept
|
|
|
537
631
|
return nullptr;
|
|
538
632
|
}
|
|
539
633
|
|
|
540
|
-
py::pytype_handle WebAuthenticationResult_type{py::register_python_type(module.get(), &type_spec_WebAuthenticationResult, object_bases.get(),
|
|
634
|
+
py::pytype_handle WebAuthenticationResult_type{py::register_python_type(module.get(), &type_spec_WebAuthenticationResult, object_bases.get(), inspectable_meta_type)};
|
|
541
635
|
if (!WebAuthenticationResult_type)
|
|
542
636
|
{
|
|
543
637
|
return nullptr;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
# WARNING: Please don't edit this file. It was automatically generated.
|
|
2
2
|
|
|
3
3
|
[build-system]
|
|
4
|
-
requires = ["setuptools", "winrt-sdk"]
|
|
4
|
+
requires = ["setuptools>=78", "winrt-sdk"]
|
|
5
5
|
build-backend = "setuptools.build_meta"
|
|
6
6
|
|
|
7
7
|
[project]
|
|
8
8
|
name = "winrt-Windows.Security.Authentication.Web"
|
|
9
9
|
description = "Python projection of Windows Runtime (WinRT) APIs"
|
|
10
10
|
readme = "README.md"
|
|
11
|
-
license =
|
|
11
|
+
license = "MIT"
|
|
12
12
|
classifiers = [
|
|
13
13
|
"Operating System :: Microsoft :: Windows",
|
|
14
14
|
"Programming Language :: Python :: 3",
|
|
@@ -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.1.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.1.0
|
|
2
2
|
|
|
3
|
-
winrt-runtime==
|
|
3
|
+
winrt-runtime==3.1.0
|
winrt_windows_security_authentication_web-3.1.0/winrt/_winrt_windows_security_authentication_web.pyi
ADDED
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v3.1.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
|
+
import winrt.windows.foundation.collections as windows_foundation_collections
|
|
14
|
+
|
|
15
|
+
from winrt.windows.security.authentication.web import TokenBindingKeyType, WebAuthenticationOptions, WebAuthenticationStatus
|
|
16
|
+
|
|
17
|
+
Self = typing.TypeVar('Self')
|
|
18
|
+
|
|
19
|
+
@typing.final
|
|
20
|
+
class WebAuthenticationBroker_Static(winrt._winrt.IInspectable_Static):
|
|
21
|
+
# System.Void Windows.Security.Authentication.Web.WebAuthenticationBroker::AuthenticateAndContinue(Windows.Foundation.Uri)
|
|
22
|
+
def authenticate_and_continue(cls, request_uri: windows_foundation.Uri, /) -> None: ...
|
|
23
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.Security.Authentication.Web.WebAuthenticationResult> Windows.Security.Authentication.Web.WebAuthenticationBroker::AuthenticateSilentlyAsync(Windows.Foundation.Uri)
|
|
24
|
+
def authenticate_silently_async(cls, request_uri: windows_foundation.Uri, /) -> windows_foundation.IAsyncOperation[WebAuthenticationResult]: ...
|
|
25
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.Security.Authentication.Web.WebAuthenticationResult> Windows.Security.Authentication.Web.WebAuthenticationBroker::AuthenticateSilentlyAsync(Windows.Foundation.Uri,Windows.Security.Authentication.Web.WebAuthenticationOptions)
|
|
26
|
+
def authenticate_silently_with_options_async(cls, request_uri: windows_foundation.Uri, options: WebAuthenticationOptions, /) -> windows_foundation.IAsyncOperation[WebAuthenticationResult]: ...
|
|
27
|
+
# System.Void Windows.Security.Authentication.Web.WebAuthenticationBroker::AuthenticateAndContinue(Windows.Foundation.Uri,Windows.Foundation.Uri)
|
|
28
|
+
def authenticate_with_callback_uri_and_continue(cls, request_uri: windows_foundation.Uri, callback_uri: windows_foundation.Uri, /) -> None: ...
|
|
29
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.Security.Authentication.Web.WebAuthenticationResult> Windows.Security.Authentication.Web.WebAuthenticationBroker::AuthenticateAsync(Windows.Security.Authentication.Web.WebAuthenticationOptions,Windows.Foundation.Uri,Windows.Foundation.Uri)
|
|
30
|
+
def authenticate_with_callback_uri_async(cls, options: WebAuthenticationOptions, request_uri: windows_foundation.Uri, callback_uri: windows_foundation.Uri, /) -> windows_foundation.IAsyncOperation[WebAuthenticationResult]: ...
|
|
31
|
+
# System.Void Windows.Security.Authentication.Web.WebAuthenticationBroker::AuthenticateAndContinue(Windows.Foundation.Uri,Windows.Foundation.Uri,Windows.Foundation.Collections.ValueSet,Windows.Security.Authentication.Web.WebAuthenticationOptions)
|
|
32
|
+
def authenticate_with_callback_uri_continuation_data_and_options_and_continue(cls, request_uri: windows_foundation.Uri, callback_uri: windows_foundation.Uri, continuation_data: windows_foundation_collections.ValueSet, options: WebAuthenticationOptions, /) -> None: ...
|
|
33
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.Security.Authentication.Web.WebAuthenticationResult> Windows.Security.Authentication.Web.WebAuthenticationBroker::AuthenticateAsync(Windows.Security.Authentication.Web.WebAuthenticationOptions,Windows.Foundation.Uri)
|
|
34
|
+
def authenticate_without_callback_uri_async(cls, options: WebAuthenticationOptions, request_uri: windows_foundation.Uri, /) -> windows_foundation.IAsyncOperation[WebAuthenticationResult]: ...
|
|
35
|
+
# Windows.Foundation.Uri Windows.Security.Authentication.Web.WebAuthenticationBroker::GetCurrentApplicationCallbackUri()
|
|
36
|
+
def get_current_application_callback_uri(cls) -> windows_foundation.Uri: ...
|
|
37
|
+
|
|
38
|
+
@typing.final
|
|
39
|
+
class WebAuthenticationBroker(winrt.system.Object, metaclass=WebAuthenticationBroker_Static):
|
|
40
|
+
pass
|
|
41
|
+
|
|
42
|
+
@typing.final
|
|
43
|
+
class WebAuthenticationResult(winrt.system.Object):
|
|
44
|
+
# System.String Windows.Security.Authentication.Web.WebAuthenticationResult::get_ResponseData()
|
|
45
|
+
@_property
|
|
46
|
+
def response_data(self) -> str: ...
|
|
47
|
+
# System.UInt32 Windows.Security.Authentication.Web.WebAuthenticationResult::get_ResponseErrorDetail()
|
|
48
|
+
@_property
|
|
49
|
+
def response_error_detail(self) -> winrt.system.UInt32: ...
|
|
50
|
+
# Windows.Security.Authentication.Web.WebAuthenticationStatus Windows.Security.Authentication.Web.WebAuthenticationResult::get_ResponseStatus()
|
|
51
|
+
@_property
|
|
52
|
+
def response_status(self) -> WebAuthenticationStatus: ...
|
|
53
|
+
|
|
@@ -1,9 +1,12 @@
|
|
|
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.1.0
|
|
2
2
|
|
|
3
3
|
import enum
|
|
4
4
|
|
|
5
5
|
import winrt.system
|
|
6
|
-
from winrt import
|
|
6
|
+
from winrt._winrt_windows_security_authentication_web import (
|
|
7
|
+
WebAuthenticationBroker,
|
|
8
|
+
WebAuthenticationResult,
|
|
9
|
+
)
|
|
7
10
|
|
|
8
11
|
__all__ = [
|
|
9
12
|
"TokenBindingKeyType",
|
|
@@ -30,5 +33,3 @@ class WebAuthenticationStatus(enum.IntEnum):
|
|
|
30
33
|
USER_CANCEL = 1
|
|
31
34
|
ERROR_HTTP = 2
|
|
32
35
|
|
|
33
|
-
WebAuthenticationBroker = _winrt_windows_security_authentication_web.WebAuthenticationBroker
|
|
34
|
-
WebAuthenticationResult = _winrt_windows_security_authentication_web.WebAuthenticationResult
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: winrt-Windows.Security.Authentication.Web
|
|
3
|
-
Version:
|
|
3
|
+
Version: 3.1.0
|
|
4
4
|
Summary: Python projection of Windows Runtime (WinRT) APIs
|
|
5
|
-
License: MIT
|
|
5
|
+
License-Expression: MIT
|
|
6
6
|
Project-URL: Documentation, https://pywinrt.readthedocs.io
|
|
7
7
|
Project-URL: Repository, https://github.com/pywinrt/pywinrt
|
|
8
8
|
Project-URL: Changelog, https://github.com/pywinrt/pywinrt/blob/main/CHANGELOG.md
|
|
@@ -10,12 +10,12 @@ 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.1.0
|
|
16
16
|
Provides-Extra: all
|
|
17
|
-
Requires-Dist: winrt-Windows.Foundation[all]==
|
|
18
|
-
Requires-Dist: winrt-Windows.Foundation.Collections[all]==
|
|
17
|
+
Requires-Dist: winrt-Windows.Foundation[all]==3.1.0; extra == "all"
|
|
18
|
+
Requires-Dist: winrt-Windows.Foundation.Collections[all]==3.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.3.0
|
winrt_windows_security_authentication_web-2.3.0/winrt/_winrt_windows_security_authentication_web.pyi
DELETED
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.3.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
|
-
import winrt.windows.foundation.collections as windows_foundation_collections
|
|
14
|
-
|
|
15
|
-
from winrt.windows.security.authentication.web import TokenBindingKeyType, WebAuthenticationOptions, WebAuthenticationStatus
|
|
16
|
-
|
|
17
|
-
Self = typing.TypeVar('Self')
|
|
18
|
-
|
|
19
|
-
@typing.final
|
|
20
|
-
class WebAuthenticationBroker_Static(type):
|
|
21
|
-
@typing.overload
|
|
22
|
-
def authenticate_and_continue(cls, request_uri: typing.Optional[windows_foundation.Uri], /) -> None: ...
|
|
23
|
-
@typing.overload
|
|
24
|
-
def authenticate_and_continue(cls, request_uri: typing.Optional[windows_foundation.Uri], callback_uri: typing.Optional[windows_foundation.Uri], /) -> None: ...
|
|
25
|
-
@typing.overload
|
|
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
|
-
@typing.overload
|
|
28
|
-
def authenticate_async(cls, options: WebAuthenticationOptions, request_uri: typing.Optional[windows_foundation.Uri], /) -> windows_foundation.IAsyncOperation[WebAuthenticationResult]: ...
|
|
29
|
-
@typing.overload
|
|
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
|
-
@typing.overload
|
|
32
|
-
def authenticate_silently_async(cls, request_uri: typing.Optional[windows_foundation.Uri], /) -> windows_foundation.IAsyncOperation[WebAuthenticationResult]: ...
|
|
33
|
-
@typing.overload
|
|
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
|
-
|
|
37
|
-
@typing.final
|
|
38
|
-
class WebAuthenticationBroker(winrt.system.Object, metaclass=WebAuthenticationBroker_Static):
|
|
39
|
-
pass
|
|
40
|
-
|
|
41
|
-
@typing.final
|
|
42
|
-
class WebAuthenticationResult(winrt.system.Object):
|
|
43
|
-
@staticmethod
|
|
44
|
-
def _from(obj: winrt.system.Object, /) -> WebAuthenticationResult: ...
|
|
45
|
-
@_property
|
|
46
|
-
def response_data(self) -> str: ...
|
|
47
|
-
@_property
|
|
48
|
-
def response_error_detail(self) -> winrt.system.UInt32: ...
|
|
49
|
-
@_property
|
|
50
|
-
def response_status(self) -> WebAuthenticationStatus: ...
|
|
51
|
-
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|