win32more-Microsoft.WindowsAppSDK 0.7.1.6.250602001__py2.py3-none-any.whl → 0.7.1.7.250310001__py2.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.
Potentially problematic release.
This version of win32more-Microsoft.WindowsAppSDK might be problematic. Click here for more details.
- win32more/Microsoft/Foundation/__init__.py +1 -1
- win32more/Microsoft/Security/Authentication/OAuth/__init__.py +591 -0
- win32more/Microsoft/UI/Composition/Core/__init__.py +4 -4
- win32more/Microsoft/UI/Composition/Diagnostics/__init__.py +4 -4
- win32more/Microsoft/UI/Composition/Effects/__init__.py +10 -10
- win32more/Microsoft/UI/Composition/Interactions/__init__.py +93 -93
- win32more/Microsoft/UI/Composition/Scenes/__init__.py +78 -78
- win32more/Microsoft/UI/Composition/SystemBackdrops/__init__.py +42 -42
- win32more/Microsoft/UI/Composition/__init__.py +125 -125
- win32more/Microsoft/UI/Content/__init__.py +676 -35
- win32more/Microsoft/UI/Dispatching/__init__.py +4 -4
- win32more/Microsoft/UI/Input/DragDrop/__init__.py +9 -9
- win32more/Microsoft/UI/Input/__init__.py +53 -45
- win32more/Microsoft/UI/Text/__init__.py +21 -0
- win32more/Microsoft/UI/Windowing/__init__.py +104 -21
- win32more/Microsoft/UI/Xaml/Controls/__init__.py +274 -0
- win32more/Microsoft/UI/Xaml/__init__.py +64 -2
- win32more/Microsoft/Windows/AppNotifications/Builder/__init__.py +1 -1
- win32more/Microsoft/Windows/AppNotifications/__init__.py +1 -1
- win32more/Microsoft/Windows/ApplicationModel/Background/UniversalBGTask/__init__.py +29 -0
- win32more/Microsoft/Windows/ApplicationModel/Background/__init__.py +65 -0
- win32more/Microsoft/Windows/ApplicationModel/WindowsAppRuntime/__init__.py +118 -0
- win32more/Microsoft/Windows/BadgeNotifications/__init__.py +53 -0
- win32more/Microsoft/Windows/Media/Capture/__init__.py +196 -0
- win32more/appsdk/versioninfo.py +2 -2
- win32more/dll/arm64/Microsoft.Windows.ApplicationModel.Background.UniversalBGTask.dll +0 -0
- win32more/dll/arm64/Microsoft.WindowsAppRuntime.Bootstrap.dll +0 -0
- win32more/dll/x64/Microsoft.Windows.ApplicationModel.Background.UniversalBGTask.dll +0 -0
- win32more/dll/x64/Microsoft.WindowsAppRuntime.Bootstrap.dll +0 -0
- win32more/dll/x86/Microsoft.Windows.ApplicationModel.Background.UniversalBGTask.dll +0 -0
- win32more/dll/x86/Microsoft.WindowsAppRuntime.Bootstrap.dll +0 -0
- {win32more_microsoft_windowsappsdk-0.7.1.6.250602001.dist-info → win32more_microsoft_windowsappsdk-0.7.1.7.250310001.dist-info}/METADATA +2 -2
- {win32more_microsoft_windowsappsdk-0.7.1.6.250602001.dist-info → win32more_microsoft_windowsappsdk-0.7.1.7.250310001.dist-info}/RECORD +35 -27
- {win32more_microsoft_windowsappsdk-0.7.1.6.250602001.dist-info → win32more_microsoft_windowsappsdk-0.7.1.7.250310001.dist-info}/WHEEL +0 -0
- {win32more_microsoft_windowsappsdk-0.7.1.6.250602001.dist-info → win32more_microsoft_windowsappsdk-0.7.1.7.250310001.dist-info}/licenses/LICENSE (Microsoft.WindowsAppSDK).txt +0 -0
|
@@ -0,0 +1,591 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
from win32more._prelude import *
|
|
3
|
+
import win32more.Microsoft.Security.Authentication.OAuth
|
|
4
|
+
import win32more.Microsoft.UI
|
|
5
|
+
import win32more.Windows.Data.Json
|
|
6
|
+
import win32more.Windows.Foundation
|
|
7
|
+
import win32more.Windows.Foundation.Collections
|
|
8
|
+
import win32more.Windows.Web.Http
|
|
9
|
+
import win32more.Windows.Web.Http.Headers
|
|
10
|
+
class AuthFailure(ComPtr):
|
|
11
|
+
extends: IInspectable
|
|
12
|
+
default_interface: win32more.Microsoft.Security.Authentication.OAuth.IAuthFailure
|
|
13
|
+
_classid_ = 'Microsoft.Security.Authentication.OAuth.AuthFailure'
|
|
14
|
+
@winrt_mixinmethod
|
|
15
|
+
def get_Error(self: win32more.Microsoft.Security.Authentication.OAuth.IAuthFailure) -> hstr: ...
|
|
16
|
+
@winrt_mixinmethod
|
|
17
|
+
def get_ErrorDescription(self: win32more.Microsoft.Security.Authentication.OAuth.IAuthFailure) -> hstr: ...
|
|
18
|
+
@winrt_mixinmethod
|
|
19
|
+
def get_ErrorUri(self: win32more.Microsoft.Security.Authentication.OAuth.IAuthFailure) -> win32more.Windows.Foundation.Uri: ...
|
|
20
|
+
@winrt_mixinmethod
|
|
21
|
+
def get_State(self: win32more.Microsoft.Security.Authentication.OAuth.IAuthFailure) -> hstr: ...
|
|
22
|
+
@winrt_mixinmethod
|
|
23
|
+
def get_AdditionalParams(self: win32more.Microsoft.Security.Authentication.OAuth.IAuthFailure) -> win32more.Windows.Foundation.Collections.IMapView[hstr, hstr]: ...
|
|
24
|
+
AdditionalParams = property(get_AdditionalParams, None)
|
|
25
|
+
Error = property(get_Error, None)
|
|
26
|
+
ErrorDescription = property(get_ErrorDescription, None)
|
|
27
|
+
ErrorUri = property(get_ErrorUri, None)
|
|
28
|
+
State = property(get_State, None)
|
|
29
|
+
class AuthRequestParams(ComPtr):
|
|
30
|
+
extends: IInspectable
|
|
31
|
+
default_interface: win32more.Microsoft.Security.Authentication.OAuth.IAuthRequestParams
|
|
32
|
+
_classid_ = 'Microsoft.Security.Authentication.OAuth.AuthRequestParams'
|
|
33
|
+
def __init__(self, *args, **kwargs):
|
|
34
|
+
if kwargs:
|
|
35
|
+
super().__init__(**kwargs)
|
|
36
|
+
elif len(args) == 2:
|
|
37
|
+
super().__init__(move=win32more.Microsoft.Security.Authentication.OAuth.AuthRequestParams.CreateInstance(*args))
|
|
38
|
+
elif len(args) == 3:
|
|
39
|
+
super().__init__(move=win32more.Microsoft.Security.Authentication.OAuth.AuthRequestParams.CreateInstance2(*args))
|
|
40
|
+
else:
|
|
41
|
+
raise ValueError('no matched constructor')
|
|
42
|
+
@winrt_factorymethod
|
|
43
|
+
def CreateInstance(cls: win32more.Microsoft.Security.Authentication.OAuth.IAuthRequestParamsFactory, responseType: hstr, clientId: hstr) -> win32more.Microsoft.Security.Authentication.OAuth.AuthRequestParams: ...
|
|
44
|
+
@winrt_factorymethod
|
|
45
|
+
def CreateInstance2(cls: win32more.Microsoft.Security.Authentication.OAuth.IAuthRequestParamsFactory, responseType: hstr, clientId: hstr, redirectUri: win32more.Windows.Foundation.Uri) -> win32more.Microsoft.Security.Authentication.OAuth.AuthRequestParams: ...
|
|
46
|
+
@winrt_mixinmethod
|
|
47
|
+
def get_ResponseType(self: win32more.Microsoft.Security.Authentication.OAuth.IAuthRequestParams) -> hstr: ...
|
|
48
|
+
@winrt_mixinmethod
|
|
49
|
+
def put_ResponseType(self: win32more.Microsoft.Security.Authentication.OAuth.IAuthRequestParams, value: hstr) -> Void: ...
|
|
50
|
+
@winrt_mixinmethod
|
|
51
|
+
def get_ClientId(self: win32more.Microsoft.Security.Authentication.OAuth.IAuthRequestParams) -> hstr: ...
|
|
52
|
+
@winrt_mixinmethod
|
|
53
|
+
def put_ClientId(self: win32more.Microsoft.Security.Authentication.OAuth.IAuthRequestParams, value: hstr) -> Void: ...
|
|
54
|
+
@winrt_mixinmethod
|
|
55
|
+
def get_RedirectUri(self: win32more.Microsoft.Security.Authentication.OAuth.IAuthRequestParams) -> win32more.Windows.Foundation.Uri: ...
|
|
56
|
+
@winrt_mixinmethod
|
|
57
|
+
def put_RedirectUri(self: win32more.Microsoft.Security.Authentication.OAuth.IAuthRequestParams, value: win32more.Windows.Foundation.Uri) -> Void: ...
|
|
58
|
+
@winrt_mixinmethod
|
|
59
|
+
def get_State(self: win32more.Microsoft.Security.Authentication.OAuth.IAuthRequestParams) -> hstr: ...
|
|
60
|
+
@winrt_mixinmethod
|
|
61
|
+
def put_State(self: win32more.Microsoft.Security.Authentication.OAuth.IAuthRequestParams, value: hstr) -> Void: ...
|
|
62
|
+
@winrt_mixinmethod
|
|
63
|
+
def get_Scope(self: win32more.Microsoft.Security.Authentication.OAuth.IAuthRequestParams) -> hstr: ...
|
|
64
|
+
@winrt_mixinmethod
|
|
65
|
+
def put_Scope(self: win32more.Microsoft.Security.Authentication.OAuth.IAuthRequestParams, value: hstr) -> Void: ...
|
|
66
|
+
@winrt_mixinmethod
|
|
67
|
+
def get_CodeChallenge(self: win32more.Microsoft.Security.Authentication.OAuth.IAuthRequestParams) -> hstr: ...
|
|
68
|
+
@winrt_mixinmethod
|
|
69
|
+
def put_CodeChallenge(self: win32more.Microsoft.Security.Authentication.OAuth.IAuthRequestParams, value: hstr) -> Void: ...
|
|
70
|
+
@winrt_mixinmethod
|
|
71
|
+
def get_CodeChallengeMethod(self: win32more.Microsoft.Security.Authentication.OAuth.IAuthRequestParams) -> win32more.Microsoft.Security.Authentication.OAuth.CodeChallengeMethodKind: ...
|
|
72
|
+
@winrt_mixinmethod
|
|
73
|
+
def put_CodeChallengeMethod(self: win32more.Microsoft.Security.Authentication.OAuth.IAuthRequestParams, value: win32more.Microsoft.Security.Authentication.OAuth.CodeChallengeMethodKind) -> Void: ...
|
|
74
|
+
@winrt_mixinmethod
|
|
75
|
+
def get_AdditionalParams(self: win32more.Microsoft.Security.Authentication.OAuth.IAuthRequestParams) -> win32more.Windows.Foundation.Collections.IMap[hstr, hstr]: ...
|
|
76
|
+
@winrt_classmethod
|
|
77
|
+
def CreateForAuthorizationCodeRequest(cls: win32more.Microsoft.Security.Authentication.OAuth.IAuthRequestParamsStatics, clientId: hstr) -> win32more.Microsoft.Security.Authentication.OAuth.AuthRequestParams: ...
|
|
78
|
+
@winrt_classmethod
|
|
79
|
+
def CreateForAuthorizationCodeRequest2(cls: win32more.Microsoft.Security.Authentication.OAuth.IAuthRequestParamsStatics, clientId: hstr, redirectUri: win32more.Windows.Foundation.Uri) -> win32more.Microsoft.Security.Authentication.OAuth.AuthRequestParams: ...
|
|
80
|
+
AdditionalParams = property(get_AdditionalParams, None)
|
|
81
|
+
ClientId = property(get_ClientId, put_ClientId)
|
|
82
|
+
CodeChallenge = property(get_CodeChallenge, put_CodeChallenge)
|
|
83
|
+
CodeChallengeMethod = property(get_CodeChallengeMethod, put_CodeChallengeMethod)
|
|
84
|
+
RedirectUri = property(get_RedirectUri, put_RedirectUri)
|
|
85
|
+
ResponseType = property(get_ResponseType, put_ResponseType)
|
|
86
|
+
Scope = property(get_Scope, put_Scope)
|
|
87
|
+
State = property(get_State, put_State)
|
|
88
|
+
class AuthRequestResult(ComPtr):
|
|
89
|
+
extends: IInspectable
|
|
90
|
+
default_interface: win32more.Microsoft.Security.Authentication.OAuth.IAuthRequestResult
|
|
91
|
+
_classid_ = 'Microsoft.Security.Authentication.OAuth.AuthRequestResult'
|
|
92
|
+
@winrt_mixinmethod
|
|
93
|
+
def get_ResponseUri(self: win32more.Microsoft.Security.Authentication.OAuth.IAuthRequestResult) -> win32more.Windows.Foundation.Uri: ...
|
|
94
|
+
@winrt_mixinmethod
|
|
95
|
+
def get_Response(self: win32more.Microsoft.Security.Authentication.OAuth.IAuthRequestResult) -> win32more.Microsoft.Security.Authentication.OAuth.AuthResponse: ...
|
|
96
|
+
@winrt_mixinmethod
|
|
97
|
+
def get_Failure(self: win32more.Microsoft.Security.Authentication.OAuth.IAuthRequestResult) -> win32more.Microsoft.Security.Authentication.OAuth.AuthFailure: ...
|
|
98
|
+
Failure = property(get_Failure, None)
|
|
99
|
+
Response = property(get_Response, None)
|
|
100
|
+
ResponseUri = property(get_ResponseUri, None)
|
|
101
|
+
class AuthResponse(ComPtr):
|
|
102
|
+
extends: IInspectable
|
|
103
|
+
default_interface: win32more.Microsoft.Security.Authentication.OAuth.IAuthResponse
|
|
104
|
+
_classid_ = 'Microsoft.Security.Authentication.OAuth.AuthResponse'
|
|
105
|
+
@winrt_mixinmethod
|
|
106
|
+
def get_State(self: win32more.Microsoft.Security.Authentication.OAuth.IAuthResponse) -> hstr: ...
|
|
107
|
+
@winrt_mixinmethod
|
|
108
|
+
def get_Code(self: win32more.Microsoft.Security.Authentication.OAuth.IAuthResponse) -> hstr: ...
|
|
109
|
+
@winrt_mixinmethod
|
|
110
|
+
def get_AccessToken(self: win32more.Microsoft.Security.Authentication.OAuth.IAuthResponse) -> hstr: ...
|
|
111
|
+
@winrt_mixinmethod
|
|
112
|
+
def get_TokenType(self: win32more.Microsoft.Security.Authentication.OAuth.IAuthResponse) -> hstr: ...
|
|
113
|
+
@winrt_mixinmethod
|
|
114
|
+
def get_ExpiresIn(self: win32more.Microsoft.Security.Authentication.OAuth.IAuthResponse) -> hstr: ...
|
|
115
|
+
@winrt_mixinmethod
|
|
116
|
+
def get_Scope(self: win32more.Microsoft.Security.Authentication.OAuth.IAuthResponse) -> hstr: ...
|
|
117
|
+
@winrt_mixinmethod
|
|
118
|
+
def get_AdditionalParams(self: win32more.Microsoft.Security.Authentication.OAuth.IAuthResponse) -> win32more.Windows.Foundation.Collections.IMapView[hstr, hstr]: ...
|
|
119
|
+
AccessToken = property(get_AccessToken, None)
|
|
120
|
+
AdditionalParams = property(get_AdditionalParams, None)
|
|
121
|
+
Code = property(get_Code, None)
|
|
122
|
+
ExpiresIn = property(get_ExpiresIn, None)
|
|
123
|
+
Scope = property(get_Scope, None)
|
|
124
|
+
State = property(get_State, None)
|
|
125
|
+
TokenType = property(get_TokenType, None)
|
|
126
|
+
class ClientAuthentication(ComPtr):
|
|
127
|
+
extends: IInspectable
|
|
128
|
+
default_interface: win32more.Microsoft.Security.Authentication.OAuth.IClientAuthentication
|
|
129
|
+
_classid_ = 'Microsoft.Security.Authentication.OAuth.ClientAuthentication'
|
|
130
|
+
def __init__(self, *args, **kwargs):
|
|
131
|
+
if kwargs:
|
|
132
|
+
super().__init__(**kwargs)
|
|
133
|
+
elif len(args) == 0:
|
|
134
|
+
super().__init__(move=win32more.Microsoft.Security.Authentication.OAuth.ClientAuthentication.CreateInstance(*args))
|
|
135
|
+
elif len(args) == 1:
|
|
136
|
+
super().__init__(move=win32more.Microsoft.Security.Authentication.OAuth.ClientAuthentication.CreateInstance(*args))
|
|
137
|
+
else:
|
|
138
|
+
raise ValueError('no matched constructor')
|
|
139
|
+
@winrt_overload
|
|
140
|
+
@winrt_activatemethod
|
|
141
|
+
def CreateInstance(cls) -> win32more.Microsoft.Security.Authentication.OAuth.ClientAuthentication: ...
|
|
142
|
+
@CreateInstance.register
|
|
143
|
+
@winrt_factorymethod
|
|
144
|
+
def CreateInstance(cls: win32more.Microsoft.Security.Authentication.OAuth.IClientAuthenticationFactory, authorization: win32more.Windows.Web.Http.Headers.HttpCredentialsHeaderValue) -> win32more.Microsoft.Security.Authentication.OAuth.ClientAuthentication: ...
|
|
145
|
+
@winrt_mixinmethod
|
|
146
|
+
def get_Authorization(self: win32more.Microsoft.Security.Authentication.OAuth.IClientAuthentication) -> win32more.Windows.Web.Http.Headers.HttpCredentialsHeaderValue: ...
|
|
147
|
+
@winrt_mixinmethod
|
|
148
|
+
def put_Authorization(self: win32more.Microsoft.Security.Authentication.OAuth.IClientAuthentication, value: win32more.Windows.Web.Http.Headers.HttpCredentialsHeaderValue) -> Void: ...
|
|
149
|
+
@winrt_mixinmethod
|
|
150
|
+
def get_ProxyAuthorization(self: win32more.Microsoft.Security.Authentication.OAuth.IClientAuthentication) -> win32more.Windows.Web.Http.Headers.HttpCredentialsHeaderValue: ...
|
|
151
|
+
@winrt_mixinmethod
|
|
152
|
+
def put_ProxyAuthorization(self: win32more.Microsoft.Security.Authentication.OAuth.IClientAuthentication, value: win32more.Windows.Web.Http.Headers.HttpCredentialsHeaderValue) -> Void: ...
|
|
153
|
+
@winrt_mixinmethod
|
|
154
|
+
def get_AdditionalHeaders(self: win32more.Microsoft.Security.Authentication.OAuth.IClientAuthentication) -> win32more.Windows.Foundation.Collections.IMap[hstr, hstr]: ...
|
|
155
|
+
@winrt_classmethod
|
|
156
|
+
def CreateForBasicAuthorization(cls: win32more.Microsoft.Security.Authentication.OAuth.IClientAuthenticationStatics, clientId: hstr, clientSecret: hstr) -> win32more.Microsoft.Security.Authentication.OAuth.ClientAuthentication: ...
|
|
157
|
+
AdditionalHeaders = property(get_AdditionalHeaders, None)
|
|
158
|
+
Authorization = property(get_Authorization, put_Authorization)
|
|
159
|
+
ProxyAuthorization = property(get_ProxyAuthorization, put_ProxyAuthorization)
|
|
160
|
+
class CodeChallengeMethodKind(Enum, Int32):
|
|
161
|
+
None_ = 0
|
|
162
|
+
S256 = 1
|
|
163
|
+
Plain = 2
|
|
164
|
+
class IAuthFailure(ComPtr):
|
|
165
|
+
extends: IInspectable
|
|
166
|
+
_classid_ = 'Microsoft.Security.Authentication.OAuth.IAuthFailure'
|
|
167
|
+
_iid_ = Guid('{ec55ed5f-0497-53cb-976b-abd146350175}')
|
|
168
|
+
@winrt_commethod(6)
|
|
169
|
+
def get_Error(self) -> hstr: ...
|
|
170
|
+
@winrt_commethod(7)
|
|
171
|
+
def get_ErrorDescription(self) -> hstr: ...
|
|
172
|
+
@winrt_commethod(8)
|
|
173
|
+
def get_ErrorUri(self) -> win32more.Windows.Foundation.Uri: ...
|
|
174
|
+
@winrt_commethod(9)
|
|
175
|
+
def get_State(self) -> hstr: ...
|
|
176
|
+
@winrt_commethod(10)
|
|
177
|
+
def get_AdditionalParams(self) -> win32more.Windows.Foundation.Collections.IMapView[hstr, hstr]: ...
|
|
178
|
+
AdditionalParams = property(get_AdditionalParams, None)
|
|
179
|
+
Error = property(get_Error, None)
|
|
180
|
+
ErrorDescription = property(get_ErrorDescription, None)
|
|
181
|
+
ErrorUri = property(get_ErrorUri, None)
|
|
182
|
+
State = property(get_State, None)
|
|
183
|
+
class IAuthRequestParams(ComPtr):
|
|
184
|
+
extends: IInspectable
|
|
185
|
+
_classid_ = 'Microsoft.Security.Authentication.OAuth.IAuthRequestParams'
|
|
186
|
+
_iid_ = Guid('{aac61e23-9155-551a-ac37-cdb2995f88d2}')
|
|
187
|
+
@winrt_commethod(6)
|
|
188
|
+
def get_ResponseType(self) -> hstr: ...
|
|
189
|
+
@winrt_commethod(7)
|
|
190
|
+
def put_ResponseType(self, value: hstr) -> Void: ...
|
|
191
|
+
@winrt_commethod(8)
|
|
192
|
+
def get_ClientId(self) -> hstr: ...
|
|
193
|
+
@winrt_commethod(9)
|
|
194
|
+
def put_ClientId(self, value: hstr) -> Void: ...
|
|
195
|
+
@winrt_commethod(10)
|
|
196
|
+
def get_RedirectUri(self) -> win32more.Windows.Foundation.Uri: ...
|
|
197
|
+
@winrt_commethod(11)
|
|
198
|
+
def put_RedirectUri(self, value: win32more.Windows.Foundation.Uri) -> Void: ...
|
|
199
|
+
@winrt_commethod(12)
|
|
200
|
+
def get_State(self) -> hstr: ...
|
|
201
|
+
@winrt_commethod(13)
|
|
202
|
+
def put_State(self, value: hstr) -> Void: ...
|
|
203
|
+
@winrt_commethod(14)
|
|
204
|
+
def get_Scope(self) -> hstr: ...
|
|
205
|
+
@winrt_commethod(15)
|
|
206
|
+
def put_Scope(self, value: hstr) -> Void: ...
|
|
207
|
+
@winrt_commethod(16)
|
|
208
|
+
def get_CodeChallenge(self) -> hstr: ...
|
|
209
|
+
@winrt_commethod(17)
|
|
210
|
+
def put_CodeChallenge(self, value: hstr) -> Void: ...
|
|
211
|
+
@winrt_commethod(18)
|
|
212
|
+
def get_CodeChallengeMethod(self) -> win32more.Microsoft.Security.Authentication.OAuth.CodeChallengeMethodKind: ...
|
|
213
|
+
@winrt_commethod(19)
|
|
214
|
+
def put_CodeChallengeMethod(self, value: win32more.Microsoft.Security.Authentication.OAuth.CodeChallengeMethodKind) -> Void: ...
|
|
215
|
+
@winrt_commethod(20)
|
|
216
|
+
def get_AdditionalParams(self) -> win32more.Windows.Foundation.Collections.IMap[hstr, hstr]: ...
|
|
217
|
+
AdditionalParams = property(get_AdditionalParams, None)
|
|
218
|
+
ClientId = property(get_ClientId, put_ClientId)
|
|
219
|
+
CodeChallenge = property(get_CodeChallenge, put_CodeChallenge)
|
|
220
|
+
CodeChallengeMethod = property(get_CodeChallengeMethod, put_CodeChallengeMethod)
|
|
221
|
+
RedirectUri = property(get_RedirectUri, put_RedirectUri)
|
|
222
|
+
ResponseType = property(get_ResponseType, put_ResponseType)
|
|
223
|
+
Scope = property(get_Scope, put_Scope)
|
|
224
|
+
State = property(get_State, put_State)
|
|
225
|
+
class IAuthRequestParamsFactory(ComPtr):
|
|
226
|
+
extends: IInspectable
|
|
227
|
+
_classid_ = 'Microsoft.Security.Authentication.OAuth.IAuthRequestParamsFactory'
|
|
228
|
+
_iid_ = Guid('{539bdca7-bde4-5a63-85d1-33403f6e3452}')
|
|
229
|
+
@winrt_commethod(6)
|
|
230
|
+
def CreateInstance(self, responseType: hstr, clientId: hstr) -> win32more.Microsoft.Security.Authentication.OAuth.AuthRequestParams: ...
|
|
231
|
+
@winrt_commethod(7)
|
|
232
|
+
def CreateInstance2(self, responseType: hstr, clientId: hstr, redirectUri: win32more.Windows.Foundation.Uri) -> win32more.Microsoft.Security.Authentication.OAuth.AuthRequestParams: ...
|
|
233
|
+
class IAuthRequestParamsStatics(ComPtr):
|
|
234
|
+
extends: IInspectable
|
|
235
|
+
_classid_ = 'Microsoft.Security.Authentication.OAuth.IAuthRequestParamsStatics'
|
|
236
|
+
_iid_ = Guid('{0befd4f0-6864-5bf4-bd8e-2f3bf98906b5}')
|
|
237
|
+
@winrt_commethod(6)
|
|
238
|
+
def CreateForAuthorizationCodeRequest(self, clientId: hstr) -> win32more.Microsoft.Security.Authentication.OAuth.AuthRequestParams: ...
|
|
239
|
+
@winrt_commethod(7)
|
|
240
|
+
def CreateForAuthorizationCodeRequest2(self, clientId: hstr, redirectUri: win32more.Windows.Foundation.Uri) -> win32more.Microsoft.Security.Authentication.OAuth.AuthRequestParams: ...
|
|
241
|
+
class IAuthRequestResult(ComPtr):
|
|
242
|
+
extends: IInspectable
|
|
243
|
+
_classid_ = 'Microsoft.Security.Authentication.OAuth.IAuthRequestResult'
|
|
244
|
+
_iid_ = Guid('{10f8b804-04cf-5651-bd52-7da9346debc1}')
|
|
245
|
+
@winrt_commethod(6)
|
|
246
|
+
def get_ResponseUri(self) -> win32more.Windows.Foundation.Uri: ...
|
|
247
|
+
@winrt_commethod(7)
|
|
248
|
+
def get_Response(self) -> win32more.Microsoft.Security.Authentication.OAuth.AuthResponse: ...
|
|
249
|
+
@winrt_commethod(8)
|
|
250
|
+
def get_Failure(self) -> win32more.Microsoft.Security.Authentication.OAuth.AuthFailure: ...
|
|
251
|
+
Failure = property(get_Failure, None)
|
|
252
|
+
Response = property(get_Response, None)
|
|
253
|
+
ResponseUri = property(get_ResponseUri, None)
|
|
254
|
+
class IAuthResponse(ComPtr):
|
|
255
|
+
extends: IInspectable
|
|
256
|
+
_classid_ = 'Microsoft.Security.Authentication.OAuth.IAuthResponse'
|
|
257
|
+
_iid_ = Guid('{5bc1fa62-fded-5769-9d40-ded1eea90d72}')
|
|
258
|
+
@winrt_commethod(6)
|
|
259
|
+
def get_State(self) -> hstr: ...
|
|
260
|
+
@winrt_commethod(7)
|
|
261
|
+
def get_Code(self) -> hstr: ...
|
|
262
|
+
@winrt_commethod(8)
|
|
263
|
+
def get_AccessToken(self) -> hstr: ...
|
|
264
|
+
@winrt_commethod(9)
|
|
265
|
+
def get_TokenType(self) -> hstr: ...
|
|
266
|
+
@winrt_commethod(10)
|
|
267
|
+
def get_ExpiresIn(self) -> hstr: ...
|
|
268
|
+
@winrt_commethod(11)
|
|
269
|
+
def get_Scope(self) -> hstr: ...
|
|
270
|
+
@winrt_commethod(12)
|
|
271
|
+
def get_AdditionalParams(self) -> win32more.Windows.Foundation.Collections.IMapView[hstr, hstr]: ...
|
|
272
|
+
AccessToken = property(get_AccessToken, None)
|
|
273
|
+
AdditionalParams = property(get_AdditionalParams, None)
|
|
274
|
+
Code = property(get_Code, None)
|
|
275
|
+
ExpiresIn = property(get_ExpiresIn, None)
|
|
276
|
+
Scope = property(get_Scope, None)
|
|
277
|
+
State = property(get_State, None)
|
|
278
|
+
TokenType = property(get_TokenType, None)
|
|
279
|
+
class IClientAuthentication(ComPtr):
|
|
280
|
+
extends: IInspectable
|
|
281
|
+
_classid_ = 'Microsoft.Security.Authentication.OAuth.IClientAuthentication'
|
|
282
|
+
_iid_ = Guid('{ef99342d-d597-5eff-878a-8de0cb597172}')
|
|
283
|
+
@winrt_commethod(6)
|
|
284
|
+
def get_Authorization(self) -> win32more.Windows.Web.Http.Headers.HttpCredentialsHeaderValue: ...
|
|
285
|
+
@winrt_commethod(7)
|
|
286
|
+
def put_Authorization(self, value: win32more.Windows.Web.Http.Headers.HttpCredentialsHeaderValue) -> Void: ...
|
|
287
|
+
@winrt_commethod(8)
|
|
288
|
+
def get_ProxyAuthorization(self) -> win32more.Windows.Web.Http.Headers.HttpCredentialsHeaderValue: ...
|
|
289
|
+
@winrt_commethod(9)
|
|
290
|
+
def put_ProxyAuthorization(self, value: win32more.Windows.Web.Http.Headers.HttpCredentialsHeaderValue) -> Void: ...
|
|
291
|
+
@winrt_commethod(10)
|
|
292
|
+
def get_AdditionalHeaders(self) -> win32more.Windows.Foundation.Collections.IMap[hstr, hstr]: ...
|
|
293
|
+
AdditionalHeaders = property(get_AdditionalHeaders, None)
|
|
294
|
+
Authorization = property(get_Authorization, put_Authorization)
|
|
295
|
+
ProxyAuthorization = property(get_ProxyAuthorization, put_ProxyAuthorization)
|
|
296
|
+
class IClientAuthenticationFactory(ComPtr):
|
|
297
|
+
extends: IInspectable
|
|
298
|
+
_classid_ = 'Microsoft.Security.Authentication.OAuth.IClientAuthenticationFactory'
|
|
299
|
+
_iid_ = Guid('{0d50e9f5-c37f-57cc-b9ec-2b193b0f9cec}')
|
|
300
|
+
@winrt_commethod(6)
|
|
301
|
+
def CreateInstance(self, authorization: win32more.Windows.Web.Http.Headers.HttpCredentialsHeaderValue) -> win32more.Microsoft.Security.Authentication.OAuth.ClientAuthentication: ...
|
|
302
|
+
class IClientAuthenticationStatics(ComPtr):
|
|
303
|
+
extends: IInspectable
|
|
304
|
+
_classid_ = 'Microsoft.Security.Authentication.OAuth.IClientAuthenticationStatics'
|
|
305
|
+
_iid_ = Guid('{65613560-2b6f-52fd-a479-3a96624682ae}')
|
|
306
|
+
@winrt_commethod(6)
|
|
307
|
+
def CreateForBasicAuthorization(self, clientId: hstr, clientSecret: hstr) -> win32more.Microsoft.Security.Authentication.OAuth.ClientAuthentication: ...
|
|
308
|
+
class IOAuth2ManagerStatics(ComPtr):
|
|
309
|
+
extends: IInspectable
|
|
310
|
+
_classid_ = 'Microsoft.Security.Authentication.OAuth.IOAuth2ManagerStatics'
|
|
311
|
+
_iid_ = Guid('{ac9d0dd1-c07e-5302-8150-199c7d343f57}')
|
|
312
|
+
@winrt_commethod(6)
|
|
313
|
+
def RequestAuthWithParamsAsync(self, parentWindowId: win32more.Microsoft.UI.WindowId, authEndpoint: win32more.Windows.Foundation.Uri, params: win32more.Microsoft.Security.Authentication.OAuth.AuthRequestParams) -> win32more.Windows.Foundation.IAsyncOperation[win32more.Microsoft.Security.Authentication.OAuth.AuthRequestResult]: ...
|
|
314
|
+
@winrt_commethod(7)
|
|
315
|
+
def CompleteAuthRequest(self, responseUri: win32more.Windows.Foundation.Uri) -> Boolean: ...
|
|
316
|
+
@winrt_commethod(8)
|
|
317
|
+
def RequestTokenAsync(self, tokenEndpoint: win32more.Windows.Foundation.Uri, params: win32more.Microsoft.Security.Authentication.OAuth.TokenRequestParams) -> win32more.Windows.Foundation.IAsyncOperation[win32more.Microsoft.Security.Authentication.OAuth.TokenRequestResult]: ...
|
|
318
|
+
@winrt_commethod(9)
|
|
319
|
+
def RequestTokenAsync2(self, tokenEndpoint: win32more.Windows.Foundation.Uri, params: win32more.Microsoft.Security.Authentication.OAuth.TokenRequestParams, clientAuth: win32more.Microsoft.Security.Authentication.OAuth.ClientAuthentication) -> win32more.Windows.Foundation.IAsyncOperation[win32more.Microsoft.Security.Authentication.OAuth.TokenRequestResult]: ...
|
|
320
|
+
class ITokenFailure(ComPtr):
|
|
321
|
+
extends: IInspectable
|
|
322
|
+
_classid_ = 'Microsoft.Security.Authentication.OAuth.ITokenFailure'
|
|
323
|
+
_iid_ = Guid('{60f8d417-ea6a-51d2-8ad7-f0e5177aef0a}')
|
|
324
|
+
@winrt_commethod(6)
|
|
325
|
+
def get_Kind(self) -> win32more.Microsoft.Security.Authentication.OAuth.TokenFailureKind: ...
|
|
326
|
+
@winrt_commethod(7)
|
|
327
|
+
def get_ErrorCode(self) -> win32more.Windows.Foundation.HResult: ...
|
|
328
|
+
@winrt_commethod(8)
|
|
329
|
+
def get_Error(self) -> hstr: ...
|
|
330
|
+
@winrt_commethod(9)
|
|
331
|
+
def get_ErrorDescription(self) -> hstr: ...
|
|
332
|
+
@winrt_commethod(10)
|
|
333
|
+
def get_ErrorUri(self) -> win32more.Windows.Foundation.Uri: ...
|
|
334
|
+
@winrt_commethod(11)
|
|
335
|
+
def get_AdditionalParams(self) -> win32more.Windows.Foundation.Collections.IMapView[hstr, win32more.Windows.Data.Json.IJsonValue]: ...
|
|
336
|
+
AdditionalParams = property(get_AdditionalParams, None)
|
|
337
|
+
Error = property(get_Error, None)
|
|
338
|
+
ErrorCode = property(get_ErrorCode, None)
|
|
339
|
+
ErrorDescription = property(get_ErrorDescription, None)
|
|
340
|
+
ErrorUri = property(get_ErrorUri, None)
|
|
341
|
+
Kind = property(get_Kind, None)
|
|
342
|
+
class ITokenRequestParams(ComPtr):
|
|
343
|
+
extends: IInspectable
|
|
344
|
+
_classid_ = 'Microsoft.Security.Authentication.OAuth.ITokenRequestParams'
|
|
345
|
+
_iid_ = Guid('{49134dbc-aab5-5ba4-bcdf-950214d81182}')
|
|
346
|
+
@winrt_commethod(6)
|
|
347
|
+
def get_GrantType(self) -> hstr: ...
|
|
348
|
+
@winrt_commethod(7)
|
|
349
|
+
def put_GrantType(self, value: hstr) -> Void: ...
|
|
350
|
+
@winrt_commethod(8)
|
|
351
|
+
def get_Code(self) -> hstr: ...
|
|
352
|
+
@winrt_commethod(9)
|
|
353
|
+
def put_Code(self, value: hstr) -> Void: ...
|
|
354
|
+
@winrt_commethod(10)
|
|
355
|
+
def get_RedirectUri(self) -> win32more.Windows.Foundation.Uri: ...
|
|
356
|
+
@winrt_commethod(11)
|
|
357
|
+
def put_RedirectUri(self, value: win32more.Windows.Foundation.Uri) -> Void: ...
|
|
358
|
+
@winrt_commethod(12)
|
|
359
|
+
def get_CodeVerifier(self) -> hstr: ...
|
|
360
|
+
@winrt_commethod(13)
|
|
361
|
+
def put_CodeVerifier(self, value: hstr) -> Void: ...
|
|
362
|
+
@winrt_commethod(14)
|
|
363
|
+
def get_ClientId(self) -> hstr: ...
|
|
364
|
+
@winrt_commethod(15)
|
|
365
|
+
def put_ClientId(self, value: hstr) -> Void: ...
|
|
366
|
+
@winrt_commethod(16)
|
|
367
|
+
def get_Username(self) -> hstr: ...
|
|
368
|
+
@winrt_commethod(17)
|
|
369
|
+
def put_Username(self, value: hstr) -> Void: ...
|
|
370
|
+
@winrt_commethod(18)
|
|
371
|
+
def get_Password(self) -> hstr: ...
|
|
372
|
+
@winrt_commethod(19)
|
|
373
|
+
def put_Password(self, value: hstr) -> Void: ...
|
|
374
|
+
@winrt_commethod(20)
|
|
375
|
+
def get_Scope(self) -> hstr: ...
|
|
376
|
+
@winrt_commethod(21)
|
|
377
|
+
def put_Scope(self, value: hstr) -> Void: ...
|
|
378
|
+
@winrt_commethod(22)
|
|
379
|
+
def get_RefreshToken(self) -> hstr: ...
|
|
380
|
+
@winrt_commethod(23)
|
|
381
|
+
def put_RefreshToken(self, value: hstr) -> Void: ...
|
|
382
|
+
@winrt_commethod(24)
|
|
383
|
+
def get_AdditionalParams(self) -> win32more.Windows.Foundation.Collections.IMap[hstr, hstr]: ...
|
|
384
|
+
AdditionalParams = property(get_AdditionalParams, None)
|
|
385
|
+
ClientId = property(get_ClientId, put_ClientId)
|
|
386
|
+
Code = property(get_Code, put_Code)
|
|
387
|
+
CodeVerifier = property(get_CodeVerifier, put_CodeVerifier)
|
|
388
|
+
GrantType = property(get_GrantType, put_GrantType)
|
|
389
|
+
Password = property(get_Password, put_Password)
|
|
390
|
+
RedirectUri = property(get_RedirectUri, put_RedirectUri)
|
|
391
|
+
RefreshToken = property(get_RefreshToken, put_RefreshToken)
|
|
392
|
+
Scope = property(get_Scope, put_Scope)
|
|
393
|
+
Username = property(get_Username, put_Username)
|
|
394
|
+
class ITokenRequestParamsFactory(ComPtr):
|
|
395
|
+
extends: IInspectable
|
|
396
|
+
_classid_ = 'Microsoft.Security.Authentication.OAuth.ITokenRequestParamsFactory'
|
|
397
|
+
_iid_ = Guid('{2bf39c30-2f30-5788-98d2-a8ba622be809}')
|
|
398
|
+
@winrt_commethod(6)
|
|
399
|
+
def CreateInstance(self, grantType: hstr) -> win32more.Microsoft.Security.Authentication.OAuth.TokenRequestParams: ...
|
|
400
|
+
class ITokenRequestParamsStatics(ComPtr):
|
|
401
|
+
extends: IInspectable
|
|
402
|
+
_classid_ = 'Microsoft.Security.Authentication.OAuth.ITokenRequestParamsStatics'
|
|
403
|
+
_iid_ = Guid('{68b7af65-4381-5593-8820-f74a605b9f3b}')
|
|
404
|
+
@winrt_commethod(6)
|
|
405
|
+
def CreateForAuthorizationCodeRequest(self, authResponse: win32more.Microsoft.Security.Authentication.OAuth.AuthResponse) -> win32more.Microsoft.Security.Authentication.OAuth.TokenRequestParams: ...
|
|
406
|
+
@winrt_commethod(7)
|
|
407
|
+
def CreateForClientCredentials(self) -> win32more.Microsoft.Security.Authentication.OAuth.TokenRequestParams: ...
|
|
408
|
+
@winrt_commethod(8)
|
|
409
|
+
def CreateForExtension(self, extensionUri: win32more.Windows.Foundation.Uri) -> win32more.Microsoft.Security.Authentication.OAuth.TokenRequestParams: ...
|
|
410
|
+
@winrt_commethod(9)
|
|
411
|
+
def CreateForRefreshToken(self, refreshToken: hstr) -> win32more.Microsoft.Security.Authentication.OAuth.TokenRequestParams: ...
|
|
412
|
+
class ITokenRequestResult(ComPtr):
|
|
413
|
+
extends: IInspectable
|
|
414
|
+
_classid_ = 'Microsoft.Security.Authentication.OAuth.ITokenRequestResult'
|
|
415
|
+
_iid_ = Guid('{35b31f77-f166-50df-a837-ec0460215166}')
|
|
416
|
+
@winrt_commethod(6)
|
|
417
|
+
def get_ResponseMessage(self) -> win32more.Windows.Web.Http.HttpResponseMessage: ...
|
|
418
|
+
@winrt_commethod(7)
|
|
419
|
+
def get_Response(self) -> win32more.Microsoft.Security.Authentication.OAuth.TokenResponse: ...
|
|
420
|
+
@winrt_commethod(8)
|
|
421
|
+
def get_Failure(self) -> win32more.Microsoft.Security.Authentication.OAuth.TokenFailure: ...
|
|
422
|
+
Failure = property(get_Failure, None)
|
|
423
|
+
Response = property(get_Response, None)
|
|
424
|
+
ResponseMessage = property(get_ResponseMessage, None)
|
|
425
|
+
class ITokenResponse(ComPtr):
|
|
426
|
+
extends: IInspectable
|
|
427
|
+
_classid_ = 'Microsoft.Security.Authentication.OAuth.ITokenResponse'
|
|
428
|
+
_iid_ = Guid('{9d9d8cd3-04b2-5df6-bfd2-e8a6859745da}')
|
|
429
|
+
@winrt_commethod(6)
|
|
430
|
+
def get_AccessToken(self) -> hstr: ...
|
|
431
|
+
@winrt_commethod(7)
|
|
432
|
+
def get_TokenType(self) -> hstr: ...
|
|
433
|
+
@winrt_commethod(8)
|
|
434
|
+
def get_ExpiresIn(self) -> Double: ...
|
|
435
|
+
@winrt_commethod(9)
|
|
436
|
+
def get_RefreshToken(self) -> hstr: ...
|
|
437
|
+
@winrt_commethod(10)
|
|
438
|
+
def get_Scope(self) -> hstr: ...
|
|
439
|
+
@winrt_commethod(11)
|
|
440
|
+
def get_AdditionalParams(self) -> win32more.Windows.Foundation.Collections.IMapView[hstr, win32more.Windows.Data.Json.IJsonValue]: ...
|
|
441
|
+
AccessToken = property(get_AccessToken, None)
|
|
442
|
+
AdditionalParams = property(get_AdditionalParams, None)
|
|
443
|
+
ExpiresIn = property(get_ExpiresIn, None)
|
|
444
|
+
RefreshToken = property(get_RefreshToken, None)
|
|
445
|
+
Scope = property(get_Scope, None)
|
|
446
|
+
TokenType = property(get_TokenType, None)
|
|
447
|
+
class OAuth2Manager(ComPtr):
|
|
448
|
+
extends: IInspectable
|
|
449
|
+
_classid_ = 'Microsoft.Security.Authentication.OAuth.OAuth2Manager'
|
|
450
|
+
@winrt_classmethod
|
|
451
|
+
def RequestAuthWithParamsAsync(cls: win32more.Microsoft.Security.Authentication.OAuth.IOAuth2ManagerStatics, parentWindowId: win32more.Microsoft.UI.WindowId, authEndpoint: win32more.Windows.Foundation.Uri, params: win32more.Microsoft.Security.Authentication.OAuth.AuthRequestParams) -> win32more.Windows.Foundation.IAsyncOperation[win32more.Microsoft.Security.Authentication.OAuth.AuthRequestResult]: ...
|
|
452
|
+
@winrt_classmethod
|
|
453
|
+
def CompleteAuthRequest(cls: win32more.Microsoft.Security.Authentication.OAuth.IOAuth2ManagerStatics, responseUri: win32more.Windows.Foundation.Uri) -> Boolean: ...
|
|
454
|
+
@winrt_classmethod
|
|
455
|
+
def RequestTokenAsync(cls: win32more.Microsoft.Security.Authentication.OAuth.IOAuth2ManagerStatics, tokenEndpoint: win32more.Windows.Foundation.Uri, params: win32more.Microsoft.Security.Authentication.OAuth.TokenRequestParams) -> win32more.Windows.Foundation.IAsyncOperation[win32more.Microsoft.Security.Authentication.OAuth.TokenRequestResult]: ...
|
|
456
|
+
@winrt_classmethod
|
|
457
|
+
def RequestTokenAsync2(cls: win32more.Microsoft.Security.Authentication.OAuth.IOAuth2ManagerStatics, tokenEndpoint: win32more.Windows.Foundation.Uri, params: win32more.Microsoft.Security.Authentication.OAuth.TokenRequestParams, clientAuth: win32more.Microsoft.Security.Authentication.OAuth.ClientAuthentication) -> win32more.Windows.Foundation.IAsyncOperation[win32more.Microsoft.Security.Authentication.OAuth.TokenRequestResult]: ...
|
|
458
|
+
OAuthContract: UInt32 = 65536
|
|
459
|
+
class TokenFailure(ComPtr):
|
|
460
|
+
extends: IInspectable
|
|
461
|
+
default_interface: win32more.Microsoft.Security.Authentication.OAuth.ITokenFailure
|
|
462
|
+
_classid_ = 'Microsoft.Security.Authentication.OAuth.TokenFailure'
|
|
463
|
+
@winrt_mixinmethod
|
|
464
|
+
def get_Kind(self: win32more.Microsoft.Security.Authentication.OAuth.ITokenFailure) -> win32more.Microsoft.Security.Authentication.OAuth.TokenFailureKind: ...
|
|
465
|
+
@winrt_mixinmethod
|
|
466
|
+
def get_ErrorCode(self: win32more.Microsoft.Security.Authentication.OAuth.ITokenFailure) -> win32more.Windows.Foundation.HResult: ...
|
|
467
|
+
@winrt_mixinmethod
|
|
468
|
+
def get_Error(self: win32more.Microsoft.Security.Authentication.OAuth.ITokenFailure) -> hstr: ...
|
|
469
|
+
@winrt_mixinmethod
|
|
470
|
+
def get_ErrorDescription(self: win32more.Microsoft.Security.Authentication.OAuth.ITokenFailure) -> hstr: ...
|
|
471
|
+
@winrt_mixinmethod
|
|
472
|
+
def get_ErrorUri(self: win32more.Microsoft.Security.Authentication.OAuth.ITokenFailure) -> win32more.Windows.Foundation.Uri: ...
|
|
473
|
+
@winrt_mixinmethod
|
|
474
|
+
def get_AdditionalParams(self: win32more.Microsoft.Security.Authentication.OAuth.ITokenFailure) -> win32more.Windows.Foundation.Collections.IMapView[hstr, win32more.Windows.Data.Json.IJsonValue]: ...
|
|
475
|
+
AdditionalParams = property(get_AdditionalParams, None)
|
|
476
|
+
Error = property(get_Error, None)
|
|
477
|
+
ErrorCode = property(get_ErrorCode, None)
|
|
478
|
+
ErrorDescription = property(get_ErrorDescription, None)
|
|
479
|
+
ErrorUri = property(get_ErrorUri, None)
|
|
480
|
+
Kind = property(get_Kind, None)
|
|
481
|
+
class TokenFailureKind(Enum, Int32):
|
|
482
|
+
ErrorResponse = 0
|
|
483
|
+
HttpFailure = 1
|
|
484
|
+
InvalidResponse = 2
|
|
485
|
+
class TokenRequestParams(ComPtr):
|
|
486
|
+
extends: IInspectable
|
|
487
|
+
default_interface: win32more.Microsoft.Security.Authentication.OAuth.ITokenRequestParams
|
|
488
|
+
_classid_ = 'Microsoft.Security.Authentication.OAuth.TokenRequestParams'
|
|
489
|
+
def __init__(self, *args, **kwargs):
|
|
490
|
+
if kwargs:
|
|
491
|
+
super().__init__(**kwargs)
|
|
492
|
+
elif len(args) == 1:
|
|
493
|
+
super().__init__(move=win32more.Microsoft.Security.Authentication.OAuth.TokenRequestParams.CreateInstance(*args))
|
|
494
|
+
else:
|
|
495
|
+
raise ValueError('no matched constructor')
|
|
496
|
+
@winrt_factorymethod
|
|
497
|
+
def CreateInstance(cls: win32more.Microsoft.Security.Authentication.OAuth.ITokenRequestParamsFactory, grantType: hstr) -> win32more.Microsoft.Security.Authentication.OAuth.TokenRequestParams: ...
|
|
498
|
+
@winrt_mixinmethod
|
|
499
|
+
def get_GrantType(self: win32more.Microsoft.Security.Authentication.OAuth.ITokenRequestParams) -> hstr: ...
|
|
500
|
+
@winrt_mixinmethod
|
|
501
|
+
def put_GrantType(self: win32more.Microsoft.Security.Authentication.OAuth.ITokenRequestParams, value: hstr) -> Void: ...
|
|
502
|
+
@winrt_mixinmethod
|
|
503
|
+
def get_Code(self: win32more.Microsoft.Security.Authentication.OAuth.ITokenRequestParams) -> hstr: ...
|
|
504
|
+
@winrt_mixinmethod
|
|
505
|
+
def put_Code(self: win32more.Microsoft.Security.Authentication.OAuth.ITokenRequestParams, value: hstr) -> Void: ...
|
|
506
|
+
@winrt_mixinmethod
|
|
507
|
+
def get_RedirectUri(self: win32more.Microsoft.Security.Authentication.OAuth.ITokenRequestParams) -> win32more.Windows.Foundation.Uri: ...
|
|
508
|
+
@winrt_mixinmethod
|
|
509
|
+
def put_RedirectUri(self: win32more.Microsoft.Security.Authentication.OAuth.ITokenRequestParams, value: win32more.Windows.Foundation.Uri) -> Void: ...
|
|
510
|
+
@winrt_mixinmethod
|
|
511
|
+
def get_CodeVerifier(self: win32more.Microsoft.Security.Authentication.OAuth.ITokenRequestParams) -> hstr: ...
|
|
512
|
+
@winrt_mixinmethod
|
|
513
|
+
def put_CodeVerifier(self: win32more.Microsoft.Security.Authentication.OAuth.ITokenRequestParams, value: hstr) -> Void: ...
|
|
514
|
+
@winrt_mixinmethod
|
|
515
|
+
def get_ClientId(self: win32more.Microsoft.Security.Authentication.OAuth.ITokenRequestParams) -> hstr: ...
|
|
516
|
+
@winrt_mixinmethod
|
|
517
|
+
def put_ClientId(self: win32more.Microsoft.Security.Authentication.OAuth.ITokenRequestParams, value: hstr) -> Void: ...
|
|
518
|
+
@winrt_mixinmethod
|
|
519
|
+
def get_Username(self: win32more.Microsoft.Security.Authentication.OAuth.ITokenRequestParams) -> hstr: ...
|
|
520
|
+
@winrt_mixinmethod
|
|
521
|
+
def put_Username(self: win32more.Microsoft.Security.Authentication.OAuth.ITokenRequestParams, value: hstr) -> Void: ...
|
|
522
|
+
@winrt_mixinmethod
|
|
523
|
+
def get_Password(self: win32more.Microsoft.Security.Authentication.OAuth.ITokenRequestParams) -> hstr: ...
|
|
524
|
+
@winrt_mixinmethod
|
|
525
|
+
def put_Password(self: win32more.Microsoft.Security.Authentication.OAuth.ITokenRequestParams, value: hstr) -> Void: ...
|
|
526
|
+
@winrt_mixinmethod
|
|
527
|
+
def get_Scope(self: win32more.Microsoft.Security.Authentication.OAuth.ITokenRequestParams) -> hstr: ...
|
|
528
|
+
@winrt_mixinmethod
|
|
529
|
+
def put_Scope(self: win32more.Microsoft.Security.Authentication.OAuth.ITokenRequestParams, value: hstr) -> Void: ...
|
|
530
|
+
@winrt_mixinmethod
|
|
531
|
+
def get_RefreshToken(self: win32more.Microsoft.Security.Authentication.OAuth.ITokenRequestParams) -> hstr: ...
|
|
532
|
+
@winrt_mixinmethod
|
|
533
|
+
def put_RefreshToken(self: win32more.Microsoft.Security.Authentication.OAuth.ITokenRequestParams, value: hstr) -> Void: ...
|
|
534
|
+
@winrt_mixinmethod
|
|
535
|
+
def get_AdditionalParams(self: win32more.Microsoft.Security.Authentication.OAuth.ITokenRequestParams) -> win32more.Windows.Foundation.Collections.IMap[hstr, hstr]: ...
|
|
536
|
+
@winrt_classmethod
|
|
537
|
+
def CreateForAuthorizationCodeRequest(cls: win32more.Microsoft.Security.Authentication.OAuth.ITokenRequestParamsStatics, authResponse: win32more.Microsoft.Security.Authentication.OAuth.AuthResponse) -> win32more.Microsoft.Security.Authentication.OAuth.TokenRequestParams: ...
|
|
538
|
+
@winrt_classmethod
|
|
539
|
+
def CreateForClientCredentials(cls: win32more.Microsoft.Security.Authentication.OAuth.ITokenRequestParamsStatics) -> win32more.Microsoft.Security.Authentication.OAuth.TokenRequestParams: ...
|
|
540
|
+
@winrt_classmethod
|
|
541
|
+
def CreateForExtension(cls: win32more.Microsoft.Security.Authentication.OAuth.ITokenRequestParamsStatics, extensionUri: win32more.Windows.Foundation.Uri) -> win32more.Microsoft.Security.Authentication.OAuth.TokenRequestParams: ...
|
|
542
|
+
@winrt_classmethod
|
|
543
|
+
def CreateForRefreshToken(cls: win32more.Microsoft.Security.Authentication.OAuth.ITokenRequestParamsStatics, refreshToken: hstr) -> win32more.Microsoft.Security.Authentication.OAuth.TokenRequestParams: ...
|
|
544
|
+
AdditionalParams = property(get_AdditionalParams, None)
|
|
545
|
+
ClientId = property(get_ClientId, put_ClientId)
|
|
546
|
+
Code = property(get_Code, put_Code)
|
|
547
|
+
CodeVerifier = property(get_CodeVerifier, put_CodeVerifier)
|
|
548
|
+
GrantType = property(get_GrantType, put_GrantType)
|
|
549
|
+
Password = property(get_Password, put_Password)
|
|
550
|
+
RedirectUri = property(get_RedirectUri, put_RedirectUri)
|
|
551
|
+
RefreshToken = property(get_RefreshToken, put_RefreshToken)
|
|
552
|
+
Scope = property(get_Scope, put_Scope)
|
|
553
|
+
Username = property(get_Username, put_Username)
|
|
554
|
+
class TokenRequestResult(ComPtr):
|
|
555
|
+
extends: IInspectable
|
|
556
|
+
default_interface: win32more.Microsoft.Security.Authentication.OAuth.ITokenRequestResult
|
|
557
|
+
_classid_ = 'Microsoft.Security.Authentication.OAuth.TokenRequestResult'
|
|
558
|
+
@winrt_mixinmethod
|
|
559
|
+
def get_ResponseMessage(self: win32more.Microsoft.Security.Authentication.OAuth.ITokenRequestResult) -> win32more.Windows.Web.Http.HttpResponseMessage: ...
|
|
560
|
+
@winrt_mixinmethod
|
|
561
|
+
def get_Response(self: win32more.Microsoft.Security.Authentication.OAuth.ITokenRequestResult) -> win32more.Microsoft.Security.Authentication.OAuth.TokenResponse: ...
|
|
562
|
+
@winrt_mixinmethod
|
|
563
|
+
def get_Failure(self: win32more.Microsoft.Security.Authentication.OAuth.ITokenRequestResult) -> win32more.Microsoft.Security.Authentication.OAuth.TokenFailure: ...
|
|
564
|
+
Failure = property(get_Failure, None)
|
|
565
|
+
Response = property(get_Response, None)
|
|
566
|
+
ResponseMessage = property(get_ResponseMessage, None)
|
|
567
|
+
class TokenResponse(ComPtr):
|
|
568
|
+
extends: IInspectable
|
|
569
|
+
default_interface: win32more.Microsoft.Security.Authentication.OAuth.ITokenResponse
|
|
570
|
+
_classid_ = 'Microsoft.Security.Authentication.OAuth.TokenResponse'
|
|
571
|
+
@winrt_mixinmethod
|
|
572
|
+
def get_AccessToken(self: win32more.Microsoft.Security.Authentication.OAuth.ITokenResponse) -> hstr: ...
|
|
573
|
+
@winrt_mixinmethod
|
|
574
|
+
def get_TokenType(self: win32more.Microsoft.Security.Authentication.OAuth.ITokenResponse) -> hstr: ...
|
|
575
|
+
@winrt_mixinmethod
|
|
576
|
+
def get_ExpiresIn(self: win32more.Microsoft.Security.Authentication.OAuth.ITokenResponse) -> Double: ...
|
|
577
|
+
@winrt_mixinmethod
|
|
578
|
+
def get_RefreshToken(self: win32more.Microsoft.Security.Authentication.OAuth.ITokenResponse) -> hstr: ...
|
|
579
|
+
@winrt_mixinmethod
|
|
580
|
+
def get_Scope(self: win32more.Microsoft.Security.Authentication.OAuth.ITokenResponse) -> hstr: ...
|
|
581
|
+
@winrt_mixinmethod
|
|
582
|
+
def get_AdditionalParams(self: win32more.Microsoft.Security.Authentication.OAuth.ITokenResponse) -> win32more.Windows.Foundation.Collections.IMapView[hstr, win32more.Windows.Data.Json.IJsonValue]: ...
|
|
583
|
+
AccessToken = property(get_AccessToken, None)
|
|
584
|
+
AdditionalParams = property(get_AdditionalParams, None)
|
|
585
|
+
ExpiresIn = property(get_ExpiresIn, None)
|
|
586
|
+
RefreshToken = property(get_RefreshToken, None)
|
|
587
|
+
Scope = property(get_Scope, None)
|
|
588
|
+
TokenType = property(get_TokenType, None)
|
|
589
|
+
|
|
590
|
+
|
|
591
|
+
make_ready(__name__)
|
|
@@ -20,15 +20,15 @@ class CompositorController(ComPtr):
|
|
|
20
20
|
@winrt_mixinmethod
|
|
21
21
|
def get_Compositor(self: win32more.Microsoft.UI.Composition.Core.ICompositorController) -> win32more.Microsoft.UI.Composition.Compositor: ...
|
|
22
22
|
@winrt_mixinmethod
|
|
23
|
+
def Commit(self: win32more.Microsoft.UI.Composition.Core.ICompositorController) -> Void: ...
|
|
24
|
+
@winrt_mixinmethod
|
|
23
25
|
def EnsurePreviousCommitCompletedAsync(self: win32more.Microsoft.UI.Composition.Core.ICompositorController) -> win32more.Windows.Foundation.IAsyncAction: ...
|
|
24
26
|
@winrt_mixinmethod
|
|
27
|
+
def add_CommitNeeded(self: win32more.Microsoft.UI.Composition.Core.ICompositorController, handler: win32more.Windows.Foundation.TypedEventHandler[win32more.Microsoft.UI.Composition.Core.CompositorController, IInspectable]) -> win32more.Windows.Foundation.EventRegistrationToken: ...
|
|
28
|
+
@winrt_mixinmethod
|
|
25
29
|
def remove_CommitNeeded(self: win32more.Microsoft.UI.Composition.Core.ICompositorController, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
|
|
26
30
|
@winrt_mixinmethod
|
|
27
31
|
def Close(self: win32more.Windows.Foundation.IClosable) -> Void: ...
|
|
28
|
-
@winrt_mixinmethod
|
|
29
|
-
def add_CommitNeeded(self: win32more.Microsoft.UI.Composition.Core.ICompositorController, handler: win32more.Windows.Foundation.TypedEventHandler[win32more.Microsoft.UI.Composition.Core.CompositorController, IInspectable]) -> win32more.Windows.Foundation.EventRegistrationToken: ...
|
|
30
|
-
@winrt_mixinmethod
|
|
31
|
-
def Commit(self: win32more.Microsoft.UI.Composition.Core.ICompositorController) -> Void: ...
|
|
32
32
|
Compositor = property(get_Compositor, None)
|
|
33
33
|
CommitNeeded = event(add_CommitNeeded, remove_CommitNeeded)
|
|
34
34
|
class ICompositorController(ComPtr):
|
|
@@ -7,13 +7,13 @@ class CompositionDebugHeatMaps(ComPtr):
|
|
|
7
7
|
default_interface: win32more.Microsoft.UI.Composition.Diagnostics.ICompositionDebugHeatMaps
|
|
8
8
|
_classid_ = 'Microsoft.UI.Composition.Diagnostics.CompositionDebugHeatMaps'
|
|
9
9
|
@winrt_mixinmethod
|
|
10
|
-
def
|
|
11
|
-
@winrt_mixinmethod
|
|
12
|
-
def ShowMemoryUsage(self: win32more.Microsoft.UI.Composition.Diagnostics.ICompositionDebugHeatMaps, subtree: win32more.Microsoft.UI.Composition.Visual) -> Void: ...
|
|
10
|
+
def ShowRedraw(self: win32more.Microsoft.UI.Composition.Diagnostics.ICompositionDebugHeatMaps, subtree: win32more.Microsoft.UI.Composition.Visual) -> Void: ...
|
|
13
11
|
@winrt_mixinmethod
|
|
14
12
|
def Hide(self: win32more.Microsoft.UI.Composition.Diagnostics.ICompositionDebugHeatMaps, subtree: win32more.Microsoft.UI.Composition.Visual) -> Void: ...
|
|
15
13
|
@winrt_mixinmethod
|
|
16
|
-
def
|
|
14
|
+
def ShowMemoryUsage(self: win32more.Microsoft.UI.Composition.Diagnostics.ICompositionDebugHeatMaps, subtree: win32more.Microsoft.UI.Composition.Visual) -> Void: ...
|
|
15
|
+
@winrt_mixinmethod
|
|
16
|
+
def ShowOverdraw(self: win32more.Microsoft.UI.Composition.Diagnostics.ICompositionDebugHeatMaps, subtree: win32more.Microsoft.UI.Composition.Visual, contentKinds: win32more.Microsoft.UI.Composition.Diagnostics.CompositionDebugOverdrawContentKinds) -> Void: ...
|
|
17
17
|
class CompositionDebugOverdrawContentKinds(Enum, UInt32):
|
|
18
18
|
None_ = 0
|
|
19
19
|
OffscreenRendered = 1
|