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