winrt-Windows.Security.Authentication.OnlineId 2.2.0__cp313-cp313-win_amd64.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.
@@ -0,0 +1,163 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
2
+
3
+ import datetime
4
+ import sys
5
+ import types
6
+ import typing
7
+ import uuid as _uuid
8
+ from builtins import property as _property
9
+
10
+ import winrt._winrt
11
+ import winrt.system
12
+ import winrt.windows.foundation as windows_foundation
13
+ import winrt.windows.foundation.collections as windows_foundation_collections
14
+ import winrt.windows.system as windows_system
15
+
16
+ from winrt.windows.security.authentication.onlineid import CredentialPromptType, OnlineIdSystemTicketStatus
17
+
18
+ Self = typing.TypeVar('Self')
19
+
20
+ @typing.final
21
+ class OnlineIdAuthenticator(winrt.system.Object):
22
+ @staticmethod
23
+ def _from(obj: winrt.system.Object, /) -> OnlineIdAuthenticator: ...
24
+ def __new__(cls: typing.Type[OnlineIdAuthenticator]) -> OnlineIdAuthenticator: ...
25
+ @typing.overload
26
+ def authenticate_user_async(self, request: typing.Optional[OnlineIdServiceTicketRequest], /) -> UserAuthenticationOperation: ...
27
+ @typing.overload
28
+ def authenticate_user_async(self, requests: typing.Iterable[OnlineIdServiceTicketRequest], credential_prompt_type: CredentialPromptType, /) -> UserAuthenticationOperation: ...
29
+ def sign_out_user_async(self) -> SignOutUserOperation: ...
30
+ @_property
31
+ def application_id(self) -> _uuid.UUID: ...
32
+ @application_id.setter
33
+ def application_id(self, value: _uuid.UUID) -> None: ...
34
+ @_property
35
+ def authenticated_safe_customer_id(self) -> str: ...
36
+ @_property
37
+ def can_sign_out(self) -> bool: ...
38
+
39
+ @typing.final
40
+ class OnlineIdServiceTicket(winrt.system.Object):
41
+ @staticmethod
42
+ def _from(obj: winrt.system.Object, /) -> OnlineIdServiceTicket: ...
43
+ @_property
44
+ def error_code(self) -> winrt.system.Int32: ...
45
+ @_property
46
+ def request(self) -> typing.Optional[OnlineIdServiceTicketRequest]: ...
47
+ @_property
48
+ def value(self) -> str: ...
49
+
50
+ @typing.final
51
+ class OnlineIdServiceTicketRequest(winrt.system.Object):
52
+ @staticmethod
53
+ def _from(obj: winrt.system.Object, /) -> OnlineIdServiceTicketRequest: ...
54
+ @typing.overload
55
+ def __new__(cls: typing.Type[OnlineIdServiceTicketRequest], service: str, policy: str) -> OnlineIdServiceTicketRequest: ...
56
+ @typing.overload
57
+ def __new__(cls: typing.Type[OnlineIdServiceTicketRequest], service: str) -> OnlineIdServiceTicketRequest: ...
58
+ @_property
59
+ def policy(self) -> str: ...
60
+ @_property
61
+ def service(self) -> str: ...
62
+
63
+ @typing.final
64
+ class OnlineIdSystemAuthenticator_Static(type):
65
+ def get_for_user(cls, user: typing.Optional[windows_system.User], /) -> typing.Optional[OnlineIdSystemAuthenticatorForUser]: ...
66
+ @_property
67
+ def default(cls) -> typing.Optional[OnlineIdSystemAuthenticatorForUser]: ...
68
+
69
+ @typing.final
70
+ class OnlineIdSystemAuthenticator(winrt.system.Object, metaclass=OnlineIdSystemAuthenticator_Static):
71
+ pass
72
+
73
+ @typing.final
74
+ class OnlineIdSystemAuthenticatorForUser(winrt.system.Object):
75
+ @staticmethod
76
+ def _from(obj: winrt.system.Object, /) -> OnlineIdSystemAuthenticatorForUser: ...
77
+ def get_ticket_async(self, request: typing.Optional[OnlineIdServiceTicketRequest], /) -> windows_foundation.IAsyncOperation[OnlineIdSystemTicketResult]: ...
78
+ @_property
79
+ def application_id(self) -> _uuid.UUID: ...
80
+ @application_id.setter
81
+ def application_id(self, value: _uuid.UUID) -> None: ...
82
+ @_property
83
+ def user(self) -> typing.Optional[windows_system.User]: ...
84
+
85
+ @typing.final
86
+ class OnlineIdSystemIdentity(winrt.system.Object):
87
+ @staticmethod
88
+ def _from(obj: winrt.system.Object, /) -> OnlineIdSystemIdentity: ...
89
+ @_property
90
+ def id(self) -> str: ...
91
+ @_property
92
+ def ticket(self) -> typing.Optional[OnlineIdServiceTicket]: ...
93
+
94
+ @typing.final
95
+ class OnlineIdSystemTicketResult(winrt.system.Object):
96
+ @staticmethod
97
+ def _from(obj: winrt.system.Object, /) -> OnlineIdSystemTicketResult: ...
98
+ @_property
99
+ def extended_error(self) -> windows_foundation.HResult: ...
100
+ @_property
101
+ def identity(self) -> typing.Optional[OnlineIdSystemIdentity]: ...
102
+ @_property
103
+ def status(self) -> OnlineIdSystemTicketStatus: ...
104
+
105
+ @typing.final
106
+ class SignOutUserOperation(winrt.system.Object):
107
+ def __await__(self) -> typing.Generator[typing.Any, None, None]: ...
108
+ @staticmethod
109
+ def _from(obj: winrt.system.Object, /) -> SignOutUserOperation: ...
110
+ def cancel(self) -> None: ...
111
+ def close(self) -> None: ...
112
+ def get_results(self) -> None: ...
113
+ @_property
114
+ def error_code(self) -> windows_foundation.HResult: ...
115
+ @_property
116
+ def id(self) -> winrt.system.UInt32: ...
117
+ @_property
118
+ def status(self) -> windows_foundation.AsyncStatus: ...
119
+ @_property
120
+ def completed(self) -> typing.Optional[windows_foundation.AsyncActionCompletedHandler]: ...
121
+ @completed.setter
122
+ def completed(self, value: typing.Optional[windows_foundation.AsyncActionCompletedHandler]) -> None: ...
123
+
124
+ @typing.final
125
+ class UserAuthenticationOperation(winrt.system.Object):
126
+ def __await__(self) -> typing.Generator[typing.Any, None, typing.Optional[UserIdentity]]: ...
127
+ @staticmethod
128
+ def _from(obj: winrt.system.Object, /) -> UserAuthenticationOperation: ...
129
+ def cancel(self) -> None: ...
130
+ def close(self) -> None: ...
131
+ def get_results(self) -> typing.Optional[UserIdentity]: ...
132
+ @_property
133
+ def error_code(self) -> windows_foundation.HResult: ...
134
+ @_property
135
+ def id(self) -> winrt.system.UInt32: ...
136
+ @_property
137
+ def status(self) -> windows_foundation.AsyncStatus: ...
138
+ @_property
139
+ def completed(self) -> typing.Optional[windows_foundation.AsyncOperationCompletedHandler[UserIdentity]]: ...
140
+ @completed.setter
141
+ def completed(self, value: typing.Optional[windows_foundation.AsyncOperationCompletedHandler[UserIdentity]]) -> None: ...
142
+
143
+ @typing.final
144
+ class UserIdentity(winrt.system.Object):
145
+ @staticmethod
146
+ def _from(obj: winrt.system.Object, /) -> UserIdentity: ...
147
+ @_property
148
+ def first_name(self) -> str: ...
149
+ @_property
150
+ def id(self) -> str: ...
151
+ @_property
152
+ def is_beta_account(self) -> bool: ...
153
+ @_property
154
+ def is_confirmed_p_c(self) -> bool: ...
155
+ @_property
156
+ def last_name(self) -> str: ...
157
+ @_property
158
+ def safe_customer_id(self) -> str: ...
159
+ @_property
160
+ def sign_in_name(self) -> str: ...
161
+ @_property
162
+ def tickets(self) -> typing.Optional[windows_foundation_collections.IVectorView[OnlineIdServiceTicket]]: ...
163
+
@@ -0,0 +1,42 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
2
+
3
+ import enum
4
+
5
+ import winrt.system
6
+ from winrt import _winrt_windows_security_authentication_onlineid
7
+
8
+ __all__ = [
9
+ "CredentialPromptType",
10
+ "OnlineIdSystemTicketStatus",
11
+ "OnlineIdAuthenticator",
12
+ "OnlineIdServiceTicket",
13
+ "OnlineIdServiceTicketRequest",
14
+ "OnlineIdSystemAuthenticator",
15
+ "OnlineIdSystemAuthenticatorForUser",
16
+ "OnlineIdSystemIdentity",
17
+ "OnlineIdSystemTicketResult",
18
+ "SignOutUserOperation",
19
+ "UserAuthenticationOperation",
20
+ "UserIdentity",
21
+ ]
22
+
23
+ class CredentialPromptType(enum.IntEnum):
24
+ PROMPT_IF_NEEDED = 0
25
+ RETYPE_CREDENTIALS = 1
26
+ DO_NOT_PROMPT = 2
27
+
28
+ class OnlineIdSystemTicketStatus(enum.IntEnum):
29
+ SUCCESS = 0
30
+ ERROR = 1
31
+ SERVICE_CONNECTION_ERROR = 2
32
+
33
+ OnlineIdAuthenticator = _winrt_windows_security_authentication_onlineid.OnlineIdAuthenticator
34
+ OnlineIdServiceTicket = _winrt_windows_security_authentication_onlineid.OnlineIdServiceTicket
35
+ OnlineIdServiceTicketRequest = _winrt_windows_security_authentication_onlineid.OnlineIdServiceTicketRequest
36
+ OnlineIdSystemAuthenticator = _winrt_windows_security_authentication_onlineid.OnlineIdSystemAuthenticator
37
+ OnlineIdSystemAuthenticatorForUser = _winrt_windows_security_authentication_onlineid.OnlineIdSystemAuthenticatorForUser
38
+ OnlineIdSystemIdentity = _winrt_windows_security_authentication_onlineid.OnlineIdSystemIdentity
39
+ OnlineIdSystemTicketResult = _winrt_windows_security_authentication_onlineid.OnlineIdSystemTicketResult
40
+ SignOutUserOperation = _winrt_windows_security_authentication_onlineid.SignOutUserOperation
41
+ UserAuthenticationOperation = _winrt_windows_security_authentication_onlineid.UserAuthenticationOperation
42
+ UserIdentity = _winrt_windows_security_authentication_onlineid.UserIdentity
@@ -0,0 +1,27 @@
1
+ Metadata-Version: 2.1
2
+ Name: winrt-Windows.Security.Authentication.OnlineId
3
+ Version: 2.2.0
4
+ Summary: Python projection of Windows Runtime (WinRT) APIs
5
+ License: MIT
6
+ Project-URL: Documentation, https://pywinrt.readthedocs.io
7
+ Project-URL: Repository, https://github.com/pywinrt/pywinrt
8
+ Project-URL: Changelog, https://github.com/pywinrt/pywinrt/blob/main/CHANGELOG.md
9
+ Classifier: Operating System :: Microsoft :: Windows
10
+ Classifier: Programming Language :: Python :: 3
11
+ Classifier: Programming Language :: Python :: Implementation :: CPython
12
+ Classifier: Intended Audience :: Developers
13
+ Requires-Python: <3.14,>=3.9
14
+ Description-Content-Type: text/markdown
15
+ Requires-Dist: winrt-runtime ==2.2.0
16
+ Provides-Extra: all
17
+ Requires-Dist: winrt-Windows.Foundation[all] ==2.2.0 ; extra == 'all'
18
+ Requires-Dist: winrt-Windows.Foundation.Collections[all] ==2.2.0 ; extra == 'all'
19
+ Requires-Dist: winrt-Windows.System[all] ==2.2.0 ; extra == 'all'
20
+
21
+ <!-- warning: Please don't edit this file. It was automatically generated. -->
22
+
23
+ # winrt-Windows.Security.Authentication.OnlineId
24
+
25
+ Windows Runtime (WinRT) APIs for for the `Windows.Security.Authentication.OnlineId` namespace.
26
+
27
+ This package provides the `winrt.windows.security.authentication.onlineid` module.
@@ -0,0 +1,8 @@
1
+ winrt/_winrt_windows_security_authentication_onlineid.cp313-win_amd64.pyd,sha256=ELmsvyMDWLYUCTp8nzerp8_fOEnbsgWozHBsE0kpZ2g,156672
2
+ winrt/_winrt_windows_security_authentication_onlineid.pyi,sha256=z4UK5q1M5NsT2ag4gvxVAhG0OCX7fAi21XWDGVNFie4,6399
3
+ winrt/windows/security/authentication/onlineid/__init__.py,sha256=mll1njwCXYJDrFZZXDWm9905npRzgy339XeX71iwvVU,1801
4
+ winrt/windows/security/authentication/onlineid/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
+ winrt_Windows.Security.Authentication.OnlineId-2.2.0.dist-info/METADATA,sha256=HLLorLY3JJOg1eUW_VE5R2t-TlNiGh9Z1b0AOz6zmBk,1261
6
+ winrt_Windows.Security.Authentication.OnlineId-2.2.0.dist-info/WHEEL,sha256=CdxowNJ2RPRCxUxJWAQ4R_o8uA51cjotGywc47Ht6wA,101
7
+ winrt_Windows.Security.Authentication.OnlineId-2.2.0.dist-info/top_level.txt,sha256=BzwQb4dZRt0NxCXi10ARjWsox7Asmtf_lXrw_KR-D_E,6
8
+ winrt_Windows.Security.Authentication.OnlineId-2.2.0.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (73.0.0)
3
+ Root-Is-Purelib: false
4
+ Tag: cp313-cp313-win_amd64
5
+