winrt-Microsoft.WindowsAppSDK.Foundation 4!2.5.1__py3-none-any.whl
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/microsoft/security/authentication/oauth/__init__.py +22 -0
- winrt/microsoft/security/authentication/oauth/__init__.pyi +338 -0
- winrt/microsoft/security/authentication/oauth/_table.pywinrt +0 -0
- winrt/microsoft/security/authentication/oauth/py.typed +0 -0
- winrt/microsoft/windows/applicationmodel/background/__init__.py +11 -0
- winrt/microsoft/windows/applicationmodel/background/__init__.pyi +41 -0
- winrt/microsoft/windows/applicationmodel/background/_table.pywinrt +0 -0
- winrt/microsoft/windows/applicationmodel/background/py.typed +0 -0
- winrt/microsoft/windows/applicationmodel/background/universalbgtask/__init__.py +11 -0
- winrt/microsoft/windows/applicationmodel/background/universalbgtask/__init__.pyi +17 -0
- winrt/microsoft/windows/applicationmodel/background/universalbgtask/_table.pywinrt +0 -0
- winrt/microsoft/windows/applicationmodel/background/universalbgtask/py.typed +0 -0
- winrt/microsoft/windows/applicationmodel/dynamicdependency/__init__.py +18 -0
- winrt/microsoft/windows/applicationmodel/dynamicdependency/__init__.pyi +149 -0
- winrt/microsoft/windows/applicationmodel/dynamicdependency/_table.pywinrt +0 -0
- winrt/microsoft/windows/applicationmodel/dynamicdependency/py.typed +0 -0
- winrt/microsoft/windows/applicationmodel/resources/__init__.py +20 -0
- winrt/microsoft/windows/applicationmodel/resources/__init__.pyi +191 -0
- winrt/microsoft/windows/applicationmodel/resources/_table.pywinrt +0 -0
- winrt/microsoft/windows/applicationmodel/resources/py.typed +0 -0
- winrt/microsoft/windows/applicationmodel/windowsappruntime/__init__.py +19 -0
- winrt/microsoft/windows/applicationmodel/windowsappruntime/__init__.pyi +227 -0
- winrt/microsoft/windows/applicationmodel/windowsappruntime/_table.pywinrt +0 -0
- winrt/microsoft/windows/applicationmodel/windowsappruntime/py.typed +0 -0
- winrt/microsoft/windows/applifecycle/__init__.py +14 -0
- winrt/microsoft/windows/applifecycle/__init__.pyi +133 -0
- winrt/microsoft/windows/applifecycle/_table.pywinrt +0 -0
- winrt/microsoft/windows/applifecycle/py.typed +0 -0
- winrt/microsoft/windows/appnotifications/__init__.py +17 -0
- winrt/microsoft/windows/appnotifications/__init__.pyi +189 -0
- winrt/microsoft/windows/appnotifications/_table.pywinrt +0 -0
- winrt/microsoft/windows/appnotifications/builder/__init__.py +21 -0
- winrt/microsoft/windows/appnotifications/builder/__init__.pyi +349 -0
- winrt/microsoft/windows/appnotifications/builder/_table.pywinrt +0 -0
- winrt/microsoft/windows/appnotifications/builder/py.typed +0 -0
- winrt/microsoft/windows/appnotifications/py.typed +0 -0
- winrt/microsoft/windows/badgenotifications/__init__.py +12 -0
- winrt/microsoft/windows/badgenotifications/__init__.pyi +45 -0
- winrt/microsoft/windows/badgenotifications/_table.pywinrt +0 -0
- winrt/microsoft/windows/badgenotifications/py.typed +0 -0
- winrt/microsoft/windows/foundation/__init__.py +12 -0
- winrt/microsoft/windows/foundation/__init__.pyi +143 -0
- winrt/microsoft/windows/foundation/_table.pywinrt +0 -0
- winrt/microsoft/windows/foundation/py.typed +0 -0
- winrt/microsoft/windows/globalization/__init__.py +11 -0
- winrt/microsoft/windows/globalization/__init__.pyi +33 -0
- winrt/microsoft/windows/globalization/_table.pywinrt +0 -0
- winrt/microsoft/windows/globalization/py.typed +0 -0
- winrt/microsoft/windows/management/deployment/__init__.py +38 -0
- winrt/microsoft/windows/management/deployment/__init__.pyi +764 -0
- winrt/microsoft/windows/management/deployment/_table.pywinrt +0 -0
- winrt/microsoft/windows/management/deployment/py.typed +0 -0
- winrt/microsoft/windows/media/capture/__init__.py +18 -0
- winrt/microsoft/windows/media/capture/__init__.pyi +124 -0
- winrt/microsoft/windows/media/capture/_table.pywinrt +0 -0
- winrt/microsoft/windows/media/capture/py.typed +0 -0
- winrt/microsoft/windows/pushnotifications/__init__.py +16 -0
- winrt/microsoft/windows/pushnotifications/__init__.pyi +106 -0
- winrt/microsoft/windows/pushnotifications/_table.pywinrt +0 -0
- winrt/microsoft/windows/pushnotifications/py.typed +0 -0
- winrt/microsoft/windows/security/accesscontrol/__init__.py +12 -0
- winrt/microsoft/windows/security/accesscontrol/__init__.pyi +35 -0
- winrt/microsoft/windows/security/accesscontrol/_table.pywinrt +0 -0
- winrt/microsoft/windows/security/accesscontrol/py.typed +0 -0
- winrt/microsoft/windows/storage/__init__.py +14 -0
- winrt/microsoft/windows/storage/__init__.pyi +121 -0
- winrt/microsoft/windows/storage/_table.pywinrt +0 -0
- winrt/microsoft/windows/storage/pickers/__init__.py +17 -0
- winrt/microsoft/windows/storage/pickers/__init__.pyi +234 -0
- winrt/microsoft/windows/storage/pickers/_table.pywinrt +0 -0
- winrt/microsoft/windows/storage/pickers/py.typed +0 -0
- winrt/microsoft/windows/storage/py.typed +0 -0
- winrt/microsoft/windows/system/__init__.py +11 -0
- winrt/microsoft/windows/system/__init__.pyi +47 -0
- winrt/microsoft/windows/system/_table.pywinrt +0 -0
- winrt/microsoft/windows/system/power/__init__.py +19 -0
- winrt/microsoft/windows/system/power/__init__.pyi +152 -0
- winrt/microsoft/windows/system/power/_table.pywinrt +0 -0
- winrt/microsoft/windows/system/power/py.typed +0 -0
- winrt/microsoft/windows/system/py.typed +0 -0
- winrt_microsoft_windowsappsdk_foundation-4!2.5.1.dist-info/METADATA +85 -0
- winrt_microsoft_windowsappsdk_foundation-4!2.5.1.dist-info/RECORD +84 -0
- winrt_microsoft_windowsappsdk_foundation-4!2.5.1.dist-info/WHEEL +4 -0
- winrt_microsoft_windowsappsdk_foundation-4!2.5.1.dist-info/licenses/LICENSE +22 -0
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT
|
|
2
|
+
|
|
3
|
+
import winrt.runtime._internals
|
|
4
|
+
import winrt.system
|
|
5
|
+
|
|
6
|
+
winrt.runtime._internals.load_projection(__spec__)
|
|
7
|
+
|
|
8
|
+
__all__ = [
|
|
9
|
+
"CodeChallengeMethodKind",
|
|
10
|
+
"TokenFailureKind",
|
|
11
|
+
"AuthFailure",
|
|
12
|
+
"AuthRequestParams",
|
|
13
|
+
"AuthRequestResult",
|
|
14
|
+
"AuthResponse",
|
|
15
|
+
"ClientAuthentication",
|
|
16
|
+
"OAuth2Manager",
|
|
17
|
+
"TokenFailure",
|
|
18
|
+
"TokenRequestParams",
|
|
19
|
+
"TokenRequestResult",
|
|
20
|
+
"TokenResponse",
|
|
21
|
+
]
|
|
22
|
+
|
|
@@ -0,0 +1,338 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT
|
|
2
|
+
|
|
3
|
+
import collections.abc as _cabc
|
|
4
|
+
import enum
|
|
5
|
+
import typing
|
|
6
|
+
from builtins import property as _property
|
|
7
|
+
|
|
8
|
+
import winrt.system
|
|
9
|
+
import winrt.microsoft.ui as microsoft_ui
|
|
10
|
+
import winrt.windows.data.json as windows_data_json
|
|
11
|
+
import winrt.windows.foundation as windows_foundation
|
|
12
|
+
import winrt.windows.foundation.collections as windows_foundation_collections
|
|
13
|
+
import winrt.windows.web.http as windows_web_http
|
|
14
|
+
import winrt.windows.web.http.headers as windows_web_http_headers
|
|
15
|
+
|
|
16
|
+
__all__ = [
|
|
17
|
+
"CodeChallengeMethodKind",
|
|
18
|
+
"TokenFailureKind",
|
|
19
|
+
"AuthFailure",
|
|
20
|
+
"AuthRequestParams",
|
|
21
|
+
"AuthRequestResult",
|
|
22
|
+
"AuthResponse",
|
|
23
|
+
"ClientAuthentication",
|
|
24
|
+
"OAuth2Manager",
|
|
25
|
+
"TokenFailure",
|
|
26
|
+
"TokenRequestParams",
|
|
27
|
+
"TokenRequestResult",
|
|
28
|
+
"TokenResponse",
|
|
29
|
+
]
|
|
30
|
+
|
|
31
|
+
class CodeChallengeMethodKind(enum.IntEnum):
|
|
32
|
+
NONE = 0
|
|
33
|
+
S256 = 1
|
|
34
|
+
PLAIN = 2
|
|
35
|
+
|
|
36
|
+
class TokenFailureKind(enum.IntEnum):
|
|
37
|
+
ERROR_RESPONSE = 0
|
|
38
|
+
HTTP_FAILURE = 1
|
|
39
|
+
INVALID_RESPONSE = 2
|
|
40
|
+
|
|
41
|
+
@typing.final
|
|
42
|
+
class AuthFailure(winrt.system.Object):
|
|
43
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
44
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
45
|
+
# Windows.Foundation.Collections.IMapView`2<System.String,System.String> Microsoft.Security.Authentication.OAuth.AuthFailure::get_AdditionalParams()
|
|
46
|
+
@_property
|
|
47
|
+
def additional_params(self) -> _cabc.Mapping[str, str]: ...
|
|
48
|
+
# System.String Microsoft.Security.Authentication.OAuth.AuthFailure::get_Error()
|
|
49
|
+
@_property
|
|
50
|
+
def error(self) -> str: ...
|
|
51
|
+
# System.String Microsoft.Security.Authentication.OAuth.AuthFailure::get_ErrorDescription()
|
|
52
|
+
@_property
|
|
53
|
+
def error_description(self) -> str: ...
|
|
54
|
+
# Windows.Foundation.Uri Microsoft.Security.Authentication.OAuth.AuthFailure::get_ErrorUri()
|
|
55
|
+
@_property
|
|
56
|
+
def error_uri(self) -> windows_foundation.Uri: ...
|
|
57
|
+
# System.String Microsoft.Security.Authentication.OAuth.AuthFailure::get_State()
|
|
58
|
+
@_property
|
|
59
|
+
def state(self) -> str: ...
|
|
60
|
+
|
|
61
|
+
@typing.final
|
|
62
|
+
class AuthRequestParams_Static(winrt.system.Object_Static):
|
|
63
|
+
@typing.overload
|
|
64
|
+
# Microsoft.Security.Authentication.OAuth.AuthRequestParams Microsoft.Security.Authentication.OAuth.AuthRequestParams::CreateForAuthorizationCodeRequest(System.String)
|
|
65
|
+
def create_for_authorization_code_request(cls, client_id: str, /) -> AuthRequestParams: ...
|
|
66
|
+
@typing.overload
|
|
67
|
+
# Microsoft.Security.Authentication.OAuth.AuthRequestParams Microsoft.Security.Authentication.OAuth.AuthRequestParams::CreateForAuthorizationCodeRequest(System.String,Windows.Foundation.Uri)
|
|
68
|
+
def create_for_authorization_code_request(cls, client_id: str, redirect_uri: windows_foundation.Uri, /) -> AuthRequestParams: ...
|
|
69
|
+
|
|
70
|
+
@typing.final
|
|
71
|
+
class AuthRequestParams(winrt.system.Object, metaclass=AuthRequestParams_Static):
|
|
72
|
+
@typing.overload
|
|
73
|
+
def __new__(cls, response_type: str, client_id: str, /) -> typing.Self: ...
|
|
74
|
+
@typing.overload
|
|
75
|
+
def __new__(cls, response_type: str, client_id: str, redirect_uri: windows_foundation.Uri, /) -> typing.Self: ...
|
|
76
|
+
# System.String Microsoft.Security.Authentication.OAuth.AuthRequestParams::get_State()
|
|
77
|
+
@_property
|
|
78
|
+
def state(self) -> str: ...
|
|
79
|
+
# System.Void Microsoft.Security.Authentication.OAuth.AuthRequestParams::put_State(System.String)
|
|
80
|
+
@state.setter
|
|
81
|
+
def state(self, value: str) -> None: ...
|
|
82
|
+
# System.String Microsoft.Security.Authentication.OAuth.AuthRequestParams::get_Scope()
|
|
83
|
+
@_property
|
|
84
|
+
def scope(self) -> str: ...
|
|
85
|
+
# System.Void Microsoft.Security.Authentication.OAuth.AuthRequestParams::put_Scope(System.String)
|
|
86
|
+
@scope.setter
|
|
87
|
+
def scope(self, value: str) -> None: ...
|
|
88
|
+
# System.String Microsoft.Security.Authentication.OAuth.AuthRequestParams::get_ResponseType()
|
|
89
|
+
@_property
|
|
90
|
+
def response_type(self) -> str: ...
|
|
91
|
+
# System.Void Microsoft.Security.Authentication.OAuth.AuthRequestParams::put_ResponseType(System.String)
|
|
92
|
+
@response_type.setter
|
|
93
|
+
def response_type(self, value: str) -> None: ...
|
|
94
|
+
# Windows.Foundation.Uri Microsoft.Security.Authentication.OAuth.AuthRequestParams::get_RedirectUri()
|
|
95
|
+
@_property
|
|
96
|
+
def redirect_uri(self) -> windows_foundation.Uri: ...
|
|
97
|
+
# System.Void Microsoft.Security.Authentication.OAuth.AuthRequestParams::put_RedirectUri(Windows.Foundation.Uri)
|
|
98
|
+
@redirect_uri.setter
|
|
99
|
+
def redirect_uri(self, value: windows_foundation.Uri) -> None: ...
|
|
100
|
+
# Microsoft.Security.Authentication.OAuth.CodeChallengeMethodKind Microsoft.Security.Authentication.OAuth.AuthRequestParams::get_CodeChallengeMethod()
|
|
101
|
+
@_property
|
|
102
|
+
def code_challenge_method(self) -> CodeChallengeMethodKind: ...
|
|
103
|
+
# System.Void Microsoft.Security.Authentication.OAuth.AuthRequestParams::put_CodeChallengeMethod(Microsoft.Security.Authentication.OAuth.CodeChallengeMethodKind)
|
|
104
|
+
@code_challenge_method.setter
|
|
105
|
+
def code_challenge_method(self, value: CodeChallengeMethodKind) -> None: ...
|
|
106
|
+
# System.String Microsoft.Security.Authentication.OAuth.AuthRequestParams::get_CodeChallenge()
|
|
107
|
+
@_property
|
|
108
|
+
def code_challenge(self) -> str: ...
|
|
109
|
+
# System.Void Microsoft.Security.Authentication.OAuth.AuthRequestParams::put_CodeChallenge(System.String)
|
|
110
|
+
@code_challenge.setter
|
|
111
|
+
def code_challenge(self, value: str) -> None: ...
|
|
112
|
+
# System.String Microsoft.Security.Authentication.OAuth.AuthRequestParams::get_ClientId()
|
|
113
|
+
@_property
|
|
114
|
+
def client_id(self) -> str: ...
|
|
115
|
+
# System.Void Microsoft.Security.Authentication.OAuth.AuthRequestParams::put_ClientId(System.String)
|
|
116
|
+
@client_id.setter
|
|
117
|
+
def client_id(self, value: str) -> None: ...
|
|
118
|
+
# Windows.Foundation.Collections.IMap`2<System.String,System.String> Microsoft.Security.Authentication.OAuth.AuthRequestParams::get_AdditionalParams()
|
|
119
|
+
@_property
|
|
120
|
+
def additional_params(self) -> _cabc.MutableMapping[str, str]: ...
|
|
121
|
+
|
|
122
|
+
@typing.final
|
|
123
|
+
class AuthRequestResult(winrt.system.Object):
|
|
124
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
125
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
126
|
+
# Microsoft.Security.Authentication.OAuth.AuthFailure Microsoft.Security.Authentication.OAuth.AuthRequestResult::get_Failure()
|
|
127
|
+
@_property
|
|
128
|
+
def failure(self) -> AuthFailure: ...
|
|
129
|
+
# Microsoft.Security.Authentication.OAuth.AuthResponse Microsoft.Security.Authentication.OAuth.AuthRequestResult::get_Response()
|
|
130
|
+
@_property
|
|
131
|
+
def response(self) -> AuthResponse: ...
|
|
132
|
+
# Windows.Foundation.Uri Microsoft.Security.Authentication.OAuth.AuthRequestResult::get_ResponseUri()
|
|
133
|
+
@_property
|
|
134
|
+
def response_uri(self) -> windows_foundation.Uri: ...
|
|
135
|
+
|
|
136
|
+
@typing.final
|
|
137
|
+
class AuthResponse(winrt.system.Object):
|
|
138
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
139
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
140
|
+
# System.String Microsoft.Security.Authentication.OAuth.AuthResponse::get_AccessToken()
|
|
141
|
+
@_property
|
|
142
|
+
def access_token(self) -> str: ...
|
|
143
|
+
# Windows.Foundation.Collections.IMapView`2<System.String,System.String> Microsoft.Security.Authentication.OAuth.AuthResponse::get_AdditionalParams()
|
|
144
|
+
@_property
|
|
145
|
+
def additional_params(self) -> _cabc.Mapping[str, str]: ...
|
|
146
|
+
# System.String Microsoft.Security.Authentication.OAuth.AuthResponse::get_Code()
|
|
147
|
+
@_property
|
|
148
|
+
def code(self) -> str: ...
|
|
149
|
+
# System.String Microsoft.Security.Authentication.OAuth.AuthResponse::get_ExpiresIn()
|
|
150
|
+
@_property
|
|
151
|
+
def expires_in(self) -> str: ...
|
|
152
|
+
# System.String Microsoft.Security.Authentication.OAuth.AuthResponse::get_Scope()
|
|
153
|
+
@_property
|
|
154
|
+
def scope(self) -> str: ...
|
|
155
|
+
# System.String Microsoft.Security.Authentication.OAuth.AuthResponse::get_State()
|
|
156
|
+
@_property
|
|
157
|
+
def state(self) -> str: ...
|
|
158
|
+
# System.String Microsoft.Security.Authentication.OAuth.AuthResponse::get_TokenType()
|
|
159
|
+
@_property
|
|
160
|
+
def token_type(self) -> str: ...
|
|
161
|
+
|
|
162
|
+
@typing.final
|
|
163
|
+
class ClientAuthentication_Static(winrt.system.Object_Static):
|
|
164
|
+
# Microsoft.Security.Authentication.OAuth.ClientAuthentication Microsoft.Security.Authentication.OAuth.ClientAuthentication::CreateForBasicAuthorization(System.String,System.String)
|
|
165
|
+
def create_for_basic_authorization(cls, client_id: str, client_secret: str, /) -> ClientAuthentication: ...
|
|
166
|
+
|
|
167
|
+
@typing.final
|
|
168
|
+
class ClientAuthentication(winrt.system.Object, metaclass=ClientAuthentication_Static):
|
|
169
|
+
@typing.overload
|
|
170
|
+
def __new__(cls, authorization: windows_web_http_headers.HttpCredentialsHeaderValue, /) -> typing.Self: ...
|
|
171
|
+
@typing.overload
|
|
172
|
+
def __new__(cls) -> typing.Self: ...
|
|
173
|
+
# Windows.Web.Http.Headers.HttpCredentialsHeaderValue Microsoft.Security.Authentication.OAuth.ClientAuthentication::get_ProxyAuthorization()
|
|
174
|
+
@_property
|
|
175
|
+
def proxy_authorization(self) -> windows_web_http_headers.HttpCredentialsHeaderValue: ...
|
|
176
|
+
# System.Void Microsoft.Security.Authentication.OAuth.ClientAuthentication::put_ProxyAuthorization(Windows.Web.Http.Headers.HttpCredentialsHeaderValue)
|
|
177
|
+
@proxy_authorization.setter
|
|
178
|
+
def proxy_authorization(self, value: windows_web_http_headers.HttpCredentialsHeaderValue) -> None: ...
|
|
179
|
+
# Windows.Web.Http.Headers.HttpCredentialsHeaderValue Microsoft.Security.Authentication.OAuth.ClientAuthentication::get_Authorization()
|
|
180
|
+
@_property
|
|
181
|
+
def authorization(self) -> windows_web_http_headers.HttpCredentialsHeaderValue: ...
|
|
182
|
+
# System.Void Microsoft.Security.Authentication.OAuth.ClientAuthentication::put_Authorization(Windows.Web.Http.Headers.HttpCredentialsHeaderValue)
|
|
183
|
+
@authorization.setter
|
|
184
|
+
def authorization(self, value: windows_web_http_headers.HttpCredentialsHeaderValue) -> None: ...
|
|
185
|
+
# Windows.Foundation.Collections.IMap`2<System.String,System.String> Microsoft.Security.Authentication.OAuth.ClientAuthentication::get_AdditionalHeaders()
|
|
186
|
+
@_property
|
|
187
|
+
def additional_headers(self) -> _cabc.MutableMapping[str, str]: ...
|
|
188
|
+
|
|
189
|
+
@typing.final
|
|
190
|
+
class OAuth2Manager_Static(winrt.system.Object_Static):
|
|
191
|
+
# System.Boolean Microsoft.Security.Authentication.OAuth.OAuth2Manager::CompleteAuthRequest(Windows.Foundation.Uri)
|
|
192
|
+
def complete_auth_request(cls, response_uri: windows_foundation.Uri, /) -> bool: ...
|
|
193
|
+
# Windows.Foundation.IAsyncOperation`1<Microsoft.Security.Authentication.OAuth.AuthRequestResult> Microsoft.Security.Authentication.OAuth.OAuth2Manager::RequestAuthWithParamsAsync(Microsoft.UI.WindowId,Windows.Foundation.Uri,Microsoft.Security.Authentication.OAuth.AuthRequestParams)
|
|
194
|
+
def request_auth_with_params_async(cls, parent_window_id: microsoft_ui.WindowId | tuple[winrt.system.UInt64 | typing.SupportsIndex], auth_endpoint: windows_foundation.Uri, params: AuthRequestParams, /) -> windows_foundation.IAsyncOperation[AuthRequestResult]: ...
|
|
195
|
+
@typing.overload
|
|
196
|
+
# Windows.Foundation.IAsyncOperation`1<Microsoft.Security.Authentication.OAuth.TokenRequestResult> Microsoft.Security.Authentication.OAuth.OAuth2Manager::RequestTokenAsync(Windows.Foundation.Uri,Microsoft.Security.Authentication.OAuth.TokenRequestParams)
|
|
197
|
+
def request_token_async(cls, token_endpoint: windows_foundation.Uri, params: TokenRequestParams, /) -> windows_foundation.IAsyncOperation[TokenRequestResult]: ...
|
|
198
|
+
@typing.overload
|
|
199
|
+
# Windows.Foundation.IAsyncOperation`1<Microsoft.Security.Authentication.OAuth.TokenRequestResult> Microsoft.Security.Authentication.OAuth.OAuth2Manager::RequestTokenAsync(Windows.Foundation.Uri,Microsoft.Security.Authentication.OAuth.TokenRequestParams,Microsoft.Security.Authentication.OAuth.ClientAuthentication)
|
|
200
|
+
def request_token_async(cls, token_endpoint: windows_foundation.Uri, params: TokenRequestParams, client_auth: ClientAuthentication, /) -> windows_foundation.IAsyncOperation[TokenRequestResult]: ...
|
|
201
|
+
|
|
202
|
+
@typing.final
|
|
203
|
+
class OAuth2Manager(winrt.system.Object, metaclass=OAuth2Manager_Static):
|
|
204
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
205
|
+
"""A class of static members only, so there is nothing to create."""
|
|
206
|
+
|
|
207
|
+
@typing.final
|
|
208
|
+
class TokenFailure(winrt.system.Object):
|
|
209
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
210
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
211
|
+
# Windows.Foundation.Collections.IMapView`2<System.String,Windows.Data.Json.IJsonValue> Microsoft.Security.Authentication.OAuth.TokenFailure::get_AdditionalParams()
|
|
212
|
+
@_property
|
|
213
|
+
def additional_params(self) -> _cabc.Mapping[str, windows_data_json.IJsonValue]: ...
|
|
214
|
+
# System.String Microsoft.Security.Authentication.OAuth.TokenFailure::get_Error()
|
|
215
|
+
@_property
|
|
216
|
+
def error(self) -> str: ...
|
|
217
|
+
# Windows.Foundation.HResult Microsoft.Security.Authentication.OAuth.TokenFailure::get_ErrorCode()
|
|
218
|
+
@_property
|
|
219
|
+
def error_code(self) -> windows_foundation.HResult: ...
|
|
220
|
+
# System.String Microsoft.Security.Authentication.OAuth.TokenFailure::get_ErrorDescription()
|
|
221
|
+
@_property
|
|
222
|
+
def error_description(self) -> str: ...
|
|
223
|
+
# Windows.Foundation.Uri Microsoft.Security.Authentication.OAuth.TokenFailure::get_ErrorUri()
|
|
224
|
+
@_property
|
|
225
|
+
def error_uri(self) -> windows_foundation.Uri: ...
|
|
226
|
+
# Microsoft.Security.Authentication.OAuth.TokenFailureKind Microsoft.Security.Authentication.OAuth.TokenFailure::get_Kind()
|
|
227
|
+
@_property
|
|
228
|
+
def kind(self) -> TokenFailureKind: ...
|
|
229
|
+
|
|
230
|
+
@typing.final
|
|
231
|
+
class TokenRequestParams_Static(winrt.system.Object_Static):
|
|
232
|
+
# Microsoft.Security.Authentication.OAuth.TokenRequestParams Microsoft.Security.Authentication.OAuth.TokenRequestParams::CreateForAuthorizationCodeRequest(Microsoft.Security.Authentication.OAuth.AuthResponse)
|
|
233
|
+
def create_for_authorization_code_request(cls, auth_response: AuthResponse, /) -> TokenRequestParams: ...
|
|
234
|
+
# Microsoft.Security.Authentication.OAuth.TokenRequestParams Microsoft.Security.Authentication.OAuth.TokenRequestParams::CreateForClientCredentials()
|
|
235
|
+
def create_for_client_credentials(cls) -> TokenRequestParams: ...
|
|
236
|
+
# Microsoft.Security.Authentication.OAuth.TokenRequestParams Microsoft.Security.Authentication.OAuth.TokenRequestParams::CreateForExtension(Windows.Foundation.Uri)
|
|
237
|
+
def create_for_extension(cls, extension_uri: windows_foundation.Uri, /) -> TokenRequestParams: ...
|
|
238
|
+
# Microsoft.Security.Authentication.OAuth.TokenRequestParams Microsoft.Security.Authentication.OAuth.TokenRequestParams::CreateForRefreshToken(System.String)
|
|
239
|
+
def create_for_refresh_token(cls, refresh_token: str, /) -> TokenRequestParams: ...
|
|
240
|
+
|
|
241
|
+
@typing.final
|
|
242
|
+
class TokenRequestParams(winrt.system.Object, metaclass=TokenRequestParams_Static):
|
|
243
|
+
def __new__(cls, grant_type: str, /) -> typing.Self: ...
|
|
244
|
+
# System.String Microsoft.Security.Authentication.OAuth.TokenRequestParams::get_Username()
|
|
245
|
+
@_property
|
|
246
|
+
def username(self) -> str: ...
|
|
247
|
+
# System.Void Microsoft.Security.Authentication.OAuth.TokenRequestParams::put_Username(System.String)
|
|
248
|
+
@username.setter
|
|
249
|
+
def username(self, value: str) -> None: ...
|
|
250
|
+
# System.String Microsoft.Security.Authentication.OAuth.TokenRequestParams::get_Scope()
|
|
251
|
+
@_property
|
|
252
|
+
def scope(self) -> str: ...
|
|
253
|
+
# System.Void Microsoft.Security.Authentication.OAuth.TokenRequestParams::put_Scope(System.String)
|
|
254
|
+
@scope.setter
|
|
255
|
+
def scope(self, value: str) -> None: ...
|
|
256
|
+
# System.String Microsoft.Security.Authentication.OAuth.TokenRequestParams::get_RefreshToken()
|
|
257
|
+
@_property
|
|
258
|
+
def refresh_token(self) -> str: ...
|
|
259
|
+
# System.Void Microsoft.Security.Authentication.OAuth.TokenRequestParams::put_RefreshToken(System.String)
|
|
260
|
+
@refresh_token.setter
|
|
261
|
+
def refresh_token(self, value: str) -> None: ...
|
|
262
|
+
# Windows.Foundation.Uri Microsoft.Security.Authentication.OAuth.TokenRequestParams::get_RedirectUri()
|
|
263
|
+
@_property
|
|
264
|
+
def redirect_uri(self) -> windows_foundation.Uri: ...
|
|
265
|
+
# System.Void Microsoft.Security.Authentication.OAuth.TokenRequestParams::put_RedirectUri(Windows.Foundation.Uri)
|
|
266
|
+
@redirect_uri.setter
|
|
267
|
+
def redirect_uri(self, value: windows_foundation.Uri) -> None: ...
|
|
268
|
+
# System.String Microsoft.Security.Authentication.OAuth.TokenRequestParams::get_Password()
|
|
269
|
+
@_property
|
|
270
|
+
def password(self) -> str: ...
|
|
271
|
+
# System.Void Microsoft.Security.Authentication.OAuth.TokenRequestParams::put_Password(System.String)
|
|
272
|
+
@password.setter
|
|
273
|
+
def password(self, value: str) -> None: ...
|
|
274
|
+
# System.String Microsoft.Security.Authentication.OAuth.TokenRequestParams::get_GrantType()
|
|
275
|
+
@_property
|
|
276
|
+
def grant_type(self) -> str: ...
|
|
277
|
+
# System.Void Microsoft.Security.Authentication.OAuth.TokenRequestParams::put_GrantType(System.String)
|
|
278
|
+
@grant_type.setter
|
|
279
|
+
def grant_type(self, value: str) -> None: ...
|
|
280
|
+
# System.String Microsoft.Security.Authentication.OAuth.TokenRequestParams::get_CodeVerifier()
|
|
281
|
+
@_property
|
|
282
|
+
def code_verifier(self) -> str: ...
|
|
283
|
+
# System.Void Microsoft.Security.Authentication.OAuth.TokenRequestParams::put_CodeVerifier(System.String)
|
|
284
|
+
@code_verifier.setter
|
|
285
|
+
def code_verifier(self, value: str) -> None: ...
|
|
286
|
+
# System.String Microsoft.Security.Authentication.OAuth.TokenRequestParams::get_Code()
|
|
287
|
+
@_property
|
|
288
|
+
def code(self) -> str: ...
|
|
289
|
+
# System.Void Microsoft.Security.Authentication.OAuth.TokenRequestParams::put_Code(System.String)
|
|
290
|
+
@code.setter
|
|
291
|
+
def code(self, value: str) -> None: ...
|
|
292
|
+
# System.String Microsoft.Security.Authentication.OAuth.TokenRequestParams::get_ClientId()
|
|
293
|
+
@_property
|
|
294
|
+
def client_id(self) -> str: ...
|
|
295
|
+
# System.Void Microsoft.Security.Authentication.OAuth.TokenRequestParams::put_ClientId(System.String)
|
|
296
|
+
@client_id.setter
|
|
297
|
+
def client_id(self, value: str) -> None: ...
|
|
298
|
+
# Windows.Foundation.Collections.IMap`2<System.String,System.String> Microsoft.Security.Authentication.OAuth.TokenRequestParams::get_AdditionalParams()
|
|
299
|
+
@_property
|
|
300
|
+
def additional_params(self) -> _cabc.MutableMapping[str, str]: ...
|
|
301
|
+
|
|
302
|
+
@typing.final
|
|
303
|
+
class TokenRequestResult(winrt.system.Object):
|
|
304
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
305
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
306
|
+
# Microsoft.Security.Authentication.OAuth.TokenFailure Microsoft.Security.Authentication.OAuth.TokenRequestResult::get_Failure()
|
|
307
|
+
@_property
|
|
308
|
+
def failure(self) -> TokenFailure: ...
|
|
309
|
+
# Microsoft.Security.Authentication.OAuth.TokenResponse Microsoft.Security.Authentication.OAuth.TokenRequestResult::get_Response()
|
|
310
|
+
@_property
|
|
311
|
+
def response(self) -> TokenResponse: ...
|
|
312
|
+
# Windows.Web.Http.HttpResponseMessage Microsoft.Security.Authentication.OAuth.TokenRequestResult::get_ResponseMessage()
|
|
313
|
+
@_property
|
|
314
|
+
def response_message(self) -> windows_web_http.HttpResponseMessage: ...
|
|
315
|
+
|
|
316
|
+
@typing.final
|
|
317
|
+
class TokenResponse(winrt.system.Object):
|
|
318
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
319
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
320
|
+
# System.String Microsoft.Security.Authentication.OAuth.TokenResponse::get_AccessToken()
|
|
321
|
+
@_property
|
|
322
|
+
def access_token(self) -> str: ...
|
|
323
|
+
# Windows.Foundation.Collections.IMapView`2<System.String,Windows.Data.Json.IJsonValue> Microsoft.Security.Authentication.OAuth.TokenResponse::get_AdditionalParams()
|
|
324
|
+
@_property
|
|
325
|
+
def additional_params(self) -> _cabc.Mapping[str, windows_data_json.IJsonValue]: ...
|
|
326
|
+
# System.Double Microsoft.Security.Authentication.OAuth.TokenResponse::get_ExpiresIn()
|
|
327
|
+
@_property
|
|
328
|
+
def expires_in(self) -> winrt.system.Double: ...
|
|
329
|
+
# System.String Microsoft.Security.Authentication.OAuth.TokenResponse::get_RefreshToken()
|
|
330
|
+
@_property
|
|
331
|
+
def refresh_token(self) -> str: ...
|
|
332
|
+
# System.String Microsoft.Security.Authentication.OAuth.TokenResponse::get_Scope()
|
|
333
|
+
@_property
|
|
334
|
+
def scope(self) -> str: ...
|
|
335
|
+
# System.String Microsoft.Security.Authentication.OAuth.TokenResponse::get_TokenType()
|
|
336
|
+
@_property
|
|
337
|
+
def token_type(self) -> str: ...
|
|
338
|
+
|
|
Binary file
|
|
File without changes
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT
|
|
2
|
+
|
|
3
|
+
import typing
|
|
4
|
+
import uuid as _uuid
|
|
5
|
+
from builtins import property as _property
|
|
6
|
+
|
|
7
|
+
import winrt.system
|
|
8
|
+
import winrt.windows.applicationmodel.background as windows_applicationmodel_background
|
|
9
|
+
|
|
10
|
+
__all__ = [
|
|
11
|
+
"BackgroundTaskBuilder",
|
|
12
|
+
]
|
|
13
|
+
|
|
14
|
+
@typing.final
|
|
15
|
+
class BackgroundTaskBuilder(winrt.system.Object):
|
|
16
|
+
def __new__(cls) -> typing.Self: ...
|
|
17
|
+
# System.Void Microsoft.Windows.ApplicationModel.Background.BackgroundTaskBuilder::AddCondition(Windows.ApplicationModel.Background.IBackgroundCondition)
|
|
18
|
+
def add_condition(self, condition: windows_applicationmodel_background.IBackgroundCondition, /) -> None: ...
|
|
19
|
+
@typing.overload
|
|
20
|
+
# Windows.ApplicationModel.Background.BackgroundTaskRegistration Microsoft.Windows.ApplicationModel.Background.BackgroundTaskBuilder::Register()
|
|
21
|
+
def register(self) -> windows_applicationmodel_background.BackgroundTaskRegistration: ...
|
|
22
|
+
@typing.overload
|
|
23
|
+
# Windows.ApplicationModel.Background.BackgroundTaskRegistration Microsoft.Windows.ApplicationModel.Background.BackgroundTaskBuilder::Register(System.String)
|
|
24
|
+
def register(self, name: str, /) -> windows_applicationmodel_background.BackgroundTaskRegistration: ...
|
|
25
|
+
# System.Void Microsoft.Windows.ApplicationModel.Background.BackgroundTaskBuilder::SetTaskEntryPointClsid(System.Guid)
|
|
26
|
+
def set_task_entry_point_clsid(self, cls_id: _uuid.UUID, /) -> None: ...
|
|
27
|
+
# System.Void Microsoft.Windows.ApplicationModel.Background.BackgroundTaskBuilder::SetTrigger(Windows.ApplicationModel.Background.IBackgroundTrigger)
|
|
28
|
+
def set_trigger(self, trigger: windows_applicationmodel_background.IBackgroundTrigger, /) -> None: ...
|
|
29
|
+
# Windows.ApplicationModel.Background.BackgroundTaskRegistrationGroup Microsoft.Windows.ApplicationModel.Background.BackgroundTaskBuilder::get_TaskGroup()
|
|
30
|
+
@_property
|
|
31
|
+
def task_group(self) -> windows_applicationmodel_background.BackgroundTaskRegistrationGroup: ...
|
|
32
|
+
# System.Void Microsoft.Windows.ApplicationModel.Background.BackgroundTaskBuilder::put_TaskGroup(Windows.ApplicationModel.Background.BackgroundTaskRegistrationGroup)
|
|
33
|
+
@task_group.setter
|
|
34
|
+
def task_group(self, value: windows_applicationmodel_background.BackgroundTaskRegistrationGroup) -> None: ...
|
|
35
|
+
# System.String Microsoft.Windows.ApplicationModel.Background.BackgroundTaskBuilder::get_Name()
|
|
36
|
+
@_property
|
|
37
|
+
def name(self) -> str: ...
|
|
38
|
+
# System.Void Microsoft.Windows.ApplicationModel.Background.BackgroundTaskBuilder::put_Name(System.String)
|
|
39
|
+
@name.setter
|
|
40
|
+
def name(self, value: str) -> None: ...
|
|
41
|
+
|
|
Binary file
|
|
File without changes
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT
|
|
2
|
+
|
|
3
|
+
import typing
|
|
4
|
+
|
|
5
|
+
import winrt.system
|
|
6
|
+
import winrt.windows.applicationmodel.background as windows_applicationmodel_background
|
|
7
|
+
|
|
8
|
+
__all__ = [
|
|
9
|
+
"Task",
|
|
10
|
+
]
|
|
11
|
+
|
|
12
|
+
@typing.final
|
|
13
|
+
class Task(windows_applicationmodel_background.IBackgroundTask, winrt.system.Object):
|
|
14
|
+
def __new__(cls) -> typing.Self: ...
|
|
15
|
+
# System.Void Microsoft.Windows.ApplicationModel.Background.UniversalBGTask.Task::Run(Windows.ApplicationModel.Background.IBackgroundTaskInstance)
|
|
16
|
+
def run(self, task_instance: windows_applicationmodel_background.IBackgroundTaskInstance, /) -> None: ...
|
|
17
|
+
|
|
Binary file
|
|
File without changes
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT
|
|
2
|
+
|
|
3
|
+
import winrt.runtime._internals
|
|
4
|
+
import winrt.system
|
|
5
|
+
|
|
6
|
+
winrt.runtime._internals.load_projection(__spec__)
|
|
7
|
+
|
|
8
|
+
__all__ = [
|
|
9
|
+
"PackageDependencyLifetimeArtifactKind",
|
|
10
|
+
"PackageDependencyProcessorArchitectures",
|
|
11
|
+
"PackageDependencyContextId",
|
|
12
|
+
"AddPackageDependencyOptions",
|
|
13
|
+
"CreatePackageDependencyOptions",
|
|
14
|
+
"PackageDependency",
|
|
15
|
+
"PackageDependencyContext",
|
|
16
|
+
"PackageDependencyRank",
|
|
17
|
+
]
|
|
18
|
+
|
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT
|
|
2
|
+
|
|
3
|
+
import enum
|
|
4
|
+
import typing
|
|
5
|
+
from builtins import property as _property
|
|
6
|
+
|
|
7
|
+
import winrt.system
|
|
8
|
+
import winrt.windows.applicationmodel as windows_applicationmodel
|
|
9
|
+
|
|
10
|
+
__all__ = [
|
|
11
|
+
"PackageDependencyLifetimeArtifactKind",
|
|
12
|
+
"PackageDependencyProcessorArchitectures",
|
|
13
|
+
"PackageDependencyContextId",
|
|
14
|
+
"AddPackageDependencyOptions",
|
|
15
|
+
"CreatePackageDependencyOptions",
|
|
16
|
+
"PackageDependency",
|
|
17
|
+
"PackageDependencyContext",
|
|
18
|
+
"PackageDependencyRank",
|
|
19
|
+
]
|
|
20
|
+
|
|
21
|
+
class PackageDependencyLifetimeArtifactKind(enum.IntEnum):
|
|
22
|
+
PROCESS = 0
|
|
23
|
+
FILE_PATH = 1
|
|
24
|
+
REGISTRY_KEY = 2
|
|
25
|
+
|
|
26
|
+
class PackageDependencyProcessorArchitectures(enum.IntFlag):
|
|
27
|
+
NONE = 0x0
|
|
28
|
+
NEUTRAL = 0x1
|
|
29
|
+
X86 = 0x2
|
|
30
|
+
X64 = 0x4
|
|
31
|
+
ARM = 0x8
|
|
32
|
+
ARM64 = 0x10
|
|
33
|
+
X86_ON_ARM64 = 0x20
|
|
34
|
+
|
|
35
|
+
@typing.final
|
|
36
|
+
class PackageDependencyContextId:
|
|
37
|
+
__match_args__ = ("id",)
|
|
38
|
+
@_property
|
|
39
|
+
def id(self) -> winrt.system.UInt64: ...
|
|
40
|
+
def __new__(cls, id: winrt.system.UInt64 | typing.SupportsIndex = 0) -> PackageDependencyContextId: ...
|
|
41
|
+
def __replace__(self, /, **changes: typing.Any) -> PackageDependencyContextId: ...
|
|
42
|
+
|
|
43
|
+
@typing.final
|
|
44
|
+
class AddPackageDependencyOptions(winrt.system.Object):
|
|
45
|
+
def __new__(cls) -> typing.Self: ...
|
|
46
|
+
# System.Int32 Microsoft.Windows.ApplicationModel.DynamicDependency.AddPackageDependencyOptions::get_Rank()
|
|
47
|
+
@_property
|
|
48
|
+
def rank(self) -> winrt.system.Int32: ...
|
|
49
|
+
# System.Void Microsoft.Windows.ApplicationModel.DynamicDependency.AddPackageDependencyOptions::put_Rank(System.Int32)
|
|
50
|
+
@rank.setter
|
|
51
|
+
def rank(self, value: winrt.system.Int32 | typing.SupportsIndex) -> None: ...
|
|
52
|
+
# System.Boolean Microsoft.Windows.ApplicationModel.DynamicDependency.AddPackageDependencyOptions::get_PrependIfRankCollision()
|
|
53
|
+
@_property
|
|
54
|
+
def prepend_if_rank_collision(self) -> bool: ...
|
|
55
|
+
# System.Void Microsoft.Windows.ApplicationModel.DynamicDependency.AddPackageDependencyOptions::put_PrependIfRankCollision(System.Boolean)
|
|
56
|
+
@prepend_if_rank_collision.setter
|
|
57
|
+
def prepend_if_rank_collision(self, value: bool) -> None: ...
|
|
58
|
+
|
|
59
|
+
@typing.final
|
|
60
|
+
class CreatePackageDependencyOptions(winrt.system.Object):
|
|
61
|
+
def __new__(cls) -> typing.Self: ...
|
|
62
|
+
# System.Boolean Microsoft.Windows.ApplicationModel.DynamicDependency.CreatePackageDependencyOptions::get_VerifyDependencyResolution()
|
|
63
|
+
@_property
|
|
64
|
+
def verify_dependency_resolution(self) -> bool: ...
|
|
65
|
+
# System.Void Microsoft.Windows.ApplicationModel.DynamicDependency.CreatePackageDependencyOptions::put_VerifyDependencyResolution(System.Boolean)
|
|
66
|
+
@verify_dependency_resolution.setter
|
|
67
|
+
def verify_dependency_resolution(self, value: bool) -> None: ...
|
|
68
|
+
# Microsoft.Windows.ApplicationModel.DynamicDependency.PackageDependencyLifetimeArtifactKind Microsoft.Windows.ApplicationModel.DynamicDependency.CreatePackageDependencyOptions::get_LifetimeArtifactKind()
|
|
69
|
+
@_property
|
|
70
|
+
def lifetime_artifact_kind(self) -> PackageDependencyLifetimeArtifactKind: ...
|
|
71
|
+
# System.Void Microsoft.Windows.ApplicationModel.DynamicDependency.CreatePackageDependencyOptions::put_LifetimeArtifactKind(Microsoft.Windows.ApplicationModel.DynamicDependency.PackageDependencyLifetimeArtifactKind)
|
|
72
|
+
@lifetime_artifact_kind.setter
|
|
73
|
+
def lifetime_artifact_kind(self, value: PackageDependencyLifetimeArtifactKind) -> None: ...
|
|
74
|
+
# System.String Microsoft.Windows.ApplicationModel.DynamicDependency.CreatePackageDependencyOptions::get_LifetimeArtifact()
|
|
75
|
+
@_property
|
|
76
|
+
def lifetime_artifact(self) -> str: ...
|
|
77
|
+
# System.Void Microsoft.Windows.ApplicationModel.DynamicDependency.CreatePackageDependencyOptions::put_LifetimeArtifact(System.String)
|
|
78
|
+
@lifetime_artifact.setter
|
|
79
|
+
def lifetime_artifact(self, value: str) -> None: ...
|
|
80
|
+
# Microsoft.Windows.ApplicationModel.DynamicDependency.PackageDependencyProcessorArchitectures Microsoft.Windows.ApplicationModel.DynamicDependency.CreatePackageDependencyOptions::get_Architectures()
|
|
81
|
+
@_property
|
|
82
|
+
def architectures(self) -> PackageDependencyProcessorArchitectures: ...
|
|
83
|
+
# System.Void Microsoft.Windows.ApplicationModel.DynamicDependency.CreatePackageDependencyOptions::put_Architectures(Microsoft.Windows.ApplicationModel.DynamicDependency.PackageDependencyProcessorArchitectures)
|
|
84
|
+
@architectures.setter
|
|
85
|
+
def architectures(self, value: PackageDependencyProcessorArchitectures) -> None: ...
|
|
86
|
+
|
|
87
|
+
@typing.final
|
|
88
|
+
class PackageDependency_Static(winrt.system.Object_Static):
|
|
89
|
+
@typing.overload
|
|
90
|
+
# Microsoft.Windows.ApplicationModel.DynamicDependency.PackageDependency Microsoft.Windows.ApplicationModel.DynamicDependency.PackageDependency::Create(System.String,Windows.ApplicationModel.PackageVersion)
|
|
91
|
+
def create(cls, package_family_name: str, min_version: windows_applicationmodel.PackageVersion | tuple[winrt.system.UInt16 | typing.SupportsIndex, winrt.system.UInt16 | typing.SupportsIndex, winrt.system.UInt16 | typing.SupportsIndex, winrt.system.UInt16 | typing.SupportsIndex], /) -> PackageDependency: ...
|
|
92
|
+
@typing.overload
|
|
93
|
+
# Microsoft.Windows.ApplicationModel.DynamicDependency.PackageDependency Microsoft.Windows.ApplicationModel.DynamicDependency.PackageDependency::Create(System.String,Windows.ApplicationModel.PackageVersion,Microsoft.Windows.ApplicationModel.DynamicDependency.CreatePackageDependencyOptions)
|
|
94
|
+
def create(cls, package_family_name: str, min_version: windows_applicationmodel.PackageVersion | tuple[winrt.system.UInt16 | typing.SupportsIndex, winrt.system.UInt16 | typing.SupportsIndex, winrt.system.UInt16 | typing.SupportsIndex, winrt.system.UInt16 | typing.SupportsIndex], options: CreatePackageDependencyOptions, /) -> PackageDependency: ...
|
|
95
|
+
# Microsoft.Windows.ApplicationModel.DynamicDependency.PackageDependency Microsoft.Windows.ApplicationModel.DynamicDependency.PackageDependency::CreateForSystem(System.String,Windows.ApplicationModel.PackageVersion,Microsoft.Windows.ApplicationModel.DynamicDependency.CreatePackageDependencyOptions)
|
|
96
|
+
def create_for_system(cls, package_family_name: str, min_version: windows_applicationmodel.PackageVersion | tuple[winrt.system.UInt16 | typing.SupportsIndex, winrt.system.UInt16 | typing.SupportsIndex, winrt.system.UInt16 | typing.SupportsIndex, winrt.system.UInt16 | typing.SupportsIndex], options: CreatePackageDependencyOptions, /) -> PackageDependency: ...
|
|
97
|
+
# Microsoft.Windows.ApplicationModel.DynamicDependency.PackageDependency Microsoft.Windows.ApplicationModel.DynamicDependency.PackageDependency::GetFromId(System.String)
|
|
98
|
+
def get_from_id(cls, id: str, /) -> PackageDependency: ...
|
|
99
|
+
# Microsoft.Windows.ApplicationModel.DynamicDependency.PackageDependency Microsoft.Windows.ApplicationModel.DynamicDependency.PackageDependency::GetFromIdForSystem(System.String)
|
|
100
|
+
def get_from_id_for_system(cls, id: str, /) -> PackageDependency: ...
|
|
101
|
+
# System.UInt32 Microsoft.Windows.ApplicationModel.DynamicDependency.PackageDependency::get_GenerationId()
|
|
102
|
+
@_property
|
|
103
|
+
def generation_id(cls) -> winrt.system.UInt32: ...
|
|
104
|
+
# System.UInt32 Microsoft.Windows.ApplicationModel.DynamicDependency.PackageDependency::get_PackageGraphRevisionId()
|
|
105
|
+
@_property
|
|
106
|
+
def package_graph_revision_id(cls) -> winrt.system.UInt32: ...
|
|
107
|
+
|
|
108
|
+
@typing.final
|
|
109
|
+
class PackageDependency(winrt.system.Object, metaclass=PackageDependency_Static):
|
|
110
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
111
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
112
|
+
@typing.overload
|
|
113
|
+
# Microsoft.Windows.ApplicationModel.DynamicDependency.PackageDependencyContext Microsoft.Windows.ApplicationModel.DynamicDependency.PackageDependency::Add()
|
|
114
|
+
def add(self) -> PackageDependencyContext: ...
|
|
115
|
+
@typing.overload
|
|
116
|
+
# Microsoft.Windows.ApplicationModel.DynamicDependency.PackageDependencyContext Microsoft.Windows.ApplicationModel.DynamicDependency.PackageDependency::Add(Microsoft.Windows.ApplicationModel.DynamicDependency.AddPackageDependencyOptions)
|
|
117
|
+
def add(self, options: AddPackageDependencyOptions, /) -> PackageDependencyContext: ...
|
|
118
|
+
# System.Void Microsoft.Windows.ApplicationModel.DynamicDependency.PackageDependency::Delete()
|
|
119
|
+
def delete(self) -> None: ...
|
|
120
|
+
# System.String Microsoft.Windows.ApplicationModel.DynamicDependency.PackageDependency::get_Id()
|
|
121
|
+
@_property
|
|
122
|
+
def id(self) -> str: ...
|
|
123
|
+
|
|
124
|
+
@typing.final
|
|
125
|
+
class PackageDependencyContext(winrt.system.Object):
|
|
126
|
+
def __new__(cls, context_id: PackageDependencyContextId | tuple[winrt.system.UInt64 | typing.SupportsIndex], /) -> typing.Self: ...
|
|
127
|
+
# System.Void Microsoft.Windows.ApplicationModel.DynamicDependency.PackageDependencyContext::Remove()
|
|
128
|
+
def remove(self) -> None: ...
|
|
129
|
+
# Microsoft.Windows.ApplicationModel.DynamicDependency.PackageDependencyContextId Microsoft.Windows.ApplicationModel.DynamicDependency.PackageDependencyContext::get_ContextId()
|
|
130
|
+
@_property
|
|
131
|
+
def context_id(self) -> PackageDependencyContextId: ...
|
|
132
|
+
# System.String Microsoft.Windows.ApplicationModel.DynamicDependency.PackageDependencyContext::get_PackageDependencyId()
|
|
133
|
+
@_property
|
|
134
|
+
def package_dependency_id(self) -> str: ...
|
|
135
|
+
# System.String Microsoft.Windows.ApplicationModel.DynamicDependency.PackageDependencyContext::get_PackageFullName()
|
|
136
|
+
@_property
|
|
137
|
+
def package_full_name(self) -> str: ...
|
|
138
|
+
|
|
139
|
+
@typing.final
|
|
140
|
+
class PackageDependencyRank_Static(winrt.system.Object_Static):
|
|
141
|
+
# System.Int32 Microsoft.Windows.ApplicationModel.DynamicDependency.PackageDependencyRank::get_Default()
|
|
142
|
+
@_property
|
|
143
|
+
def default(cls) -> winrt.system.Int32: ...
|
|
144
|
+
|
|
145
|
+
@typing.final
|
|
146
|
+
class PackageDependencyRank(winrt.system.Object, metaclass=PackageDependencyRank_Static):
|
|
147
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
148
|
+
"""A class of static members only, so there is nothing to create."""
|
|
149
|
+
|
|
File without changes
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT
|
|
2
|
+
|
|
3
|
+
import winrt.runtime._internals
|
|
4
|
+
import winrt.system
|
|
5
|
+
|
|
6
|
+
winrt.runtime._internals.load_projection(__spec__)
|
|
7
|
+
|
|
8
|
+
__all__ = [
|
|
9
|
+
"ResourceCandidateKind",
|
|
10
|
+
"KnownResourceQualifierName",
|
|
11
|
+
"ResourceCandidate",
|
|
12
|
+
"ResourceContext",
|
|
13
|
+
"ResourceLoader",
|
|
14
|
+
"ResourceManager",
|
|
15
|
+
"ResourceMap",
|
|
16
|
+
"ResourceNotFoundEventArgs",
|
|
17
|
+
"IResourceContext",
|
|
18
|
+
"IResourceManager",
|
|
19
|
+
]
|
|
20
|
+
|