winrt-Windows.Security.Authentication.Identity.Core 3.2.1__cp314-cp314-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.
- winrt/_winrt_windows_security_authentication_identity_core.cp314-win_amd64.pyd +0 -0
- winrt/_winrt_windows_security_authentication_identity_core.pyi +107 -0
- winrt/windows/security/authentication/identity/core/__init__.py +62 -0
- winrt/windows/security/authentication/identity/core/py.typed +0 -0
- winrt_windows_security_authentication_identity_core-3.2.1.dist-info/METADATA +26 -0
- winrt_windows_security_authentication_identity_core-3.2.1.dist-info/RECORD +8 -0
- winrt_windows_security_authentication_identity_core-3.2.1.dist-info/WHEEL +5 -0
- winrt_windows_security_authentication_identity_core-3.2.1.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v3.2.1
|
|
2
|
+
|
|
3
|
+
import datetime
|
|
4
|
+
import sys
|
|
5
|
+
import types
|
|
6
|
+
import typing
|
|
7
|
+
import uuid as _uuid
|
|
8
|
+
from builtins import property as _property
|
|
9
|
+
|
|
10
|
+
import winrt._winrt
|
|
11
|
+
import winrt.system
|
|
12
|
+
import winrt.windows.foundation as windows_foundation
|
|
13
|
+
import winrt.windows.foundation.collections as windows_foundation_collections
|
|
14
|
+
|
|
15
|
+
from winrt.windows.security.authentication.identity.core import MicrosoftAccountMultiFactorAuthenticationType, MicrosoftAccountMultiFactorServiceResponse, MicrosoftAccountMultiFactorSessionApprovalStatus, MicrosoftAccountMultiFactorSessionAuthenticationStatus
|
|
16
|
+
|
|
17
|
+
Self = typing.TypeVar('Self')
|
|
18
|
+
|
|
19
|
+
@typing.final
|
|
20
|
+
class MicrosoftAccountMultiFactorAuthenticationManager_Static(winrt._winrt.IInspectable_Static):
|
|
21
|
+
# Windows.Security.Authentication.Identity.Core.MicrosoftAccountMultiFactorAuthenticationManager Windows.Security.Authentication.Identity.Core.MicrosoftAccountMultiFactorAuthenticationManager::get_Current()
|
|
22
|
+
@_property
|
|
23
|
+
def current(cls) -> MicrosoftAccountMultiFactorAuthenticationManager: ...
|
|
24
|
+
|
|
25
|
+
@typing.final
|
|
26
|
+
class MicrosoftAccountMultiFactorAuthenticationManager(winrt.system.Object, metaclass=MicrosoftAccountMultiFactorAuthenticationManager_Static):
|
|
27
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.Security.Authentication.Identity.Core.MicrosoftAccountMultiFactorServiceResponse> Windows.Security.Authentication.Identity.Core.MicrosoftAccountMultiFactorAuthenticationManager::AddDeviceAsync(System.String,System.String,System.String)
|
|
28
|
+
def add_device_async(self, user_account_id: str, authentication_token: str, wns_channel_id: str, /) -> windows_foundation.IAsyncOperation[MicrosoftAccountMultiFactorServiceResponse]: ...
|
|
29
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.Security.Authentication.Identity.Core.MicrosoftAccountMultiFactorServiceResponse> Windows.Security.Authentication.Identity.Core.MicrosoftAccountMultiFactorAuthenticationManager::ApproveSessionAsync(Windows.Security.Authentication.Identity.Core.MicrosoftAccountMultiFactorSessionAuthenticationStatus,System.String,System.String,Windows.Security.Authentication.Identity.Core.MicrosoftAccountMultiFactorAuthenticationType)
|
|
30
|
+
def approve_session_async(self, session_authentiction_status: MicrosoftAccountMultiFactorSessionAuthenticationStatus, user_account_id: str, session_id: str, session_authentication_type: MicrosoftAccountMultiFactorAuthenticationType, /) -> windows_foundation.IAsyncOperation[MicrosoftAccountMultiFactorServiceResponse]: ...
|
|
31
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.Security.Authentication.Identity.Core.MicrosoftAccountMultiFactorServiceResponse> Windows.Security.Authentication.Identity.Core.MicrosoftAccountMultiFactorAuthenticationManager::ApproveSessionAsync(Windows.Security.Authentication.Identity.Core.MicrosoftAccountMultiFactorSessionAuthenticationStatus,Windows.Security.Authentication.Identity.Core.MicrosoftAccountMultiFactorSessionInfo)
|
|
32
|
+
def approve_session_using_auth_session_info_async(self, session_authentiction_status: MicrosoftAccountMultiFactorSessionAuthenticationStatus, authentication_session_info: MicrosoftAccountMultiFactorSessionInfo, /) -> windows_foundation.IAsyncOperation[MicrosoftAccountMultiFactorServiceResponse]: ...
|
|
33
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.Security.Authentication.Identity.Core.MicrosoftAccountMultiFactorServiceResponse> Windows.Security.Authentication.Identity.Core.MicrosoftAccountMultiFactorAuthenticationManager::DenySessionAsync(System.String,System.String,Windows.Security.Authentication.Identity.Core.MicrosoftAccountMultiFactorAuthenticationType)
|
|
34
|
+
def deny_session_async(self, user_account_id: str, session_id: str, session_authentication_type: MicrosoftAccountMultiFactorAuthenticationType, /) -> windows_foundation.IAsyncOperation[MicrosoftAccountMultiFactorServiceResponse]: ...
|
|
35
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.Security.Authentication.Identity.Core.MicrosoftAccountMultiFactorServiceResponse> Windows.Security.Authentication.Identity.Core.MicrosoftAccountMultiFactorAuthenticationManager::DenySessionAsync(Windows.Security.Authentication.Identity.Core.MicrosoftAccountMultiFactorSessionInfo)
|
|
36
|
+
def deny_session_using_auth_session_info_async(self, authentication_session_info: MicrosoftAccountMultiFactorSessionInfo, /) -> windows_foundation.IAsyncOperation[MicrosoftAccountMultiFactorServiceResponse]: ...
|
|
37
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.Security.Authentication.Identity.Core.MicrosoftAccountMultiFactorOneTimeCodedInfo> Windows.Security.Authentication.Identity.Core.MicrosoftAccountMultiFactorAuthenticationManager::GetOneTimePassCodeAsync(System.String,System.UInt32)
|
|
38
|
+
def get_one_time_pass_code_async(self, user_account_id: str, code_length: winrt.system.UInt32, /) -> windows_foundation.IAsyncOperation[MicrosoftAccountMultiFactorOneTimeCodedInfo]: ...
|
|
39
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.Security.Authentication.Identity.Core.MicrosoftAccountMultiFactorUnregisteredAccountsAndSessionInfo> Windows.Security.Authentication.Identity.Core.MicrosoftAccountMultiFactorAuthenticationManager::GetSessionsAndUnregisteredAccountsAsync(Windows.Foundation.Collections.IIterable`1<System.String>)
|
|
40
|
+
def get_sessions_and_unregistered_accounts_async(self, user_account_id_list: typing.Iterable[str], /) -> windows_foundation.IAsyncOperation[MicrosoftAccountMultiFactorUnregisteredAccountsAndSessionInfo]: ...
|
|
41
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.Security.Authentication.Identity.Core.MicrosoftAccountMultiFactorGetSessionsResult> Windows.Security.Authentication.Identity.Core.MicrosoftAccountMultiFactorAuthenticationManager::GetSessionsAsync(Windows.Foundation.Collections.IIterable`1<System.String>)
|
|
42
|
+
def get_sessions_async(self, user_account_id_list: typing.Iterable[str], /) -> windows_foundation.IAsyncOperation[MicrosoftAccountMultiFactorGetSessionsResult]: ...
|
|
43
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.Security.Authentication.Identity.Core.MicrosoftAccountMultiFactorServiceResponse> Windows.Security.Authentication.Identity.Core.MicrosoftAccountMultiFactorAuthenticationManager::RemoveDeviceAsync(System.String)
|
|
44
|
+
def remove_device_async(self, user_account_id: str, /) -> windows_foundation.IAsyncOperation[MicrosoftAccountMultiFactorServiceResponse]: ...
|
|
45
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.Security.Authentication.Identity.Core.MicrosoftAccountMultiFactorServiceResponse> Windows.Security.Authentication.Identity.Core.MicrosoftAccountMultiFactorAuthenticationManager::UpdateWnsChannelAsync(System.String,System.String)
|
|
46
|
+
def update_wns_channel_async(self, user_account_id: str, channel_uri: str, /) -> windows_foundation.IAsyncOperation[MicrosoftAccountMultiFactorServiceResponse]: ...
|
|
47
|
+
|
|
48
|
+
@typing.final
|
|
49
|
+
class MicrosoftAccountMultiFactorGetSessionsResult(winrt.system.Object):
|
|
50
|
+
# Windows.Security.Authentication.Identity.Core.MicrosoftAccountMultiFactorServiceResponse Windows.Security.Authentication.Identity.Core.MicrosoftAccountMultiFactorGetSessionsResult::get_ServiceResponse()
|
|
51
|
+
@_property
|
|
52
|
+
def service_response(self) -> MicrosoftAccountMultiFactorServiceResponse: ...
|
|
53
|
+
# Windows.Foundation.Collections.IVectorView`1<Windows.Security.Authentication.Identity.Core.MicrosoftAccountMultiFactorSessionInfo> Windows.Security.Authentication.Identity.Core.MicrosoftAccountMultiFactorGetSessionsResult::get_Sessions()
|
|
54
|
+
@_property
|
|
55
|
+
def sessions(self) -> typing.Sequence[MicrosoftAccountMultiFactorSessionInfo]: ...
|
|
56
|
+
|
|
57
|
+
@typing.final
|
|
58
|
+
class MicrosoftAccountMultiFactorOneTimeCodedInfo(winrt.system.Object):
|
|
59
|
+
# System.String Windows.Security.Authentication.Identity.Core.MicrosoftAccountMultiFactorOneTimeCodedInfo::get_Code()
|
|
60
|
+
@_property
|
|
61
|
+
def code(self) -> str: ...
|
|
62
|
+
# Windows.Security.Authentication.Identity.Core.MicrosoftAccountMultiFactorServiceResponse Windows.Security.Authentication.Identity.Core.MicrosoftAccountMultiFactorOneTimeCodedInfo::get_ServiceResponse()
|
|
63
|
+
@_property
|
|
64
|
+
def service_response(self) -> MicrosoftAccountMultiFactorServiceResponse: ...
|
|
65
|
+
# Windows.Foundation.TimeSpan Windows.Security.Authentication.Identity.Core.MicrosoftAccountMultiFactorOneTimeCodedInfo::get_TimeInterval()
|
|
66
|
+
@_property
|
|
67
|
+
def time_interval(self) -> datetime.timedelta: ...
|
|
68
|
+
# Windows.Foundation.TimeSpan Windows.Security.Authentication.Identity.Core.MicrosoftAccountMultiFactorOneTimeCodedInfo::get_TimeToLive()
|
|
69
|
+
@_property
|
|
70
|
+
def time_to_live(self) -> datetime.timedelta: ...
|
|
71
|
+
|
|
72
|
+
@typing.final
|
|
73
|
+
class MicrosoftAccountMultiFactorSessionInfo(winrt.system.Object):
|
|
74
|
+
# Windows.Security.Authentication.Identity.Core.MicrosoftAccountMultiFactorSessionApprovalStatus Windows.Security.Authentication.Identity.Core.MicrosoftAccountMultiFactorSessionInfo::get_ApprovalStatus()
|
|
75
|
+
@_property
|
|
76
|
+
def approval_status(self) -> MicrosoftAccountMultiFactorSessionApprovalStatus: ...
|
|
77
|
+
# Windows.Security.Authentication.Identity.Core.MicrosoftAccountMultiFactorAuthenticationType Windows.Security.Authentication.Identity.Core.MicrosoftAccountMultiFactorSessionInfo::get_AuthenticationType()
|
|
78
|
+
@_property
|
|
79
|
+
def authentication_type(self) -> MicrosoftAccountMultiFactorAuthenticationType: ...
|
|
80
|
+
# System.String Windows.Security.Authentication.Identity.Core.MicrosoftAccountMultiFactorSessionInfo::get_DisplaySessionId()
|
|
81
|
+
@_property
|
|
82
|
+
def display_session_id(self) -> str: ...
|
|
83
|
+
# Windows.Foundation.DateTime Windows.Security.Authentication.Identity.Core.MicrosoftAccountMultiFactorSessionInfo::get_ExpirationTime()
|
|
84
|
+
@_property
|
|
85
|
+
def expiration_time(self) -> datetime.datetime: ...
|
|
86
|
+
# Windows.Foundation.DateTime Windows.Security.Authentication.Identity.Core.MicrosoftAccountMultiFactorSessionInfo::get_RequestTime()
|
|
87
|
+
@_property
|
|
88
|
+
def request_time(self) -> datetime.datetime: ...
|
|
89
|
+
# System.String Windows.Security.Authentication.Identity.Core.MicrosoftAccountMultiFactorSessionInfo::get_SessionId()
|
|
90
|
+
@_property
|
|
91
|
+
def session_id(self) -> str: ...
|
|
92
|
+
# System.String Windows.Security.Authentication.Identity.Core.MicrosoftAccountMultiFactorSessionInfo::get_UserAccountId()
|
|
93
|
+
@_property
|
|
94
|
+
def user_account_id(self) -> str: ...
|
|
95
|
+
|
|
96
|
+
@typing.final
|
|
97
|
+
class MicrosoftAccountMultiFactorUnregisteredAccountsAndSessionInfo(winrt.system.Object):
|
|
98
|
+
# Windows.Security.Authentication.Identity.Core.MicrosoftAccountMultiFactorServiceResponse Windows.Security.Authentication.Identity.Core.MicrosoftAccountMultiFactorUnregisteredAccountsAndSessionInfo::get_ServiceResponse()
|
|
99
|
+
@_property
|
|
100
|
+
def service_response(self) -> MicrosoftAccountMultiFactorServiceResponse: ...
|
|
101
|
+
# Windows.Foundation.Collections.IVectorView`1<Windows.Security.Authentication.Identity.Core.MicrosoftAccountMultiFactorSessionInfo> Windows.Security.Authentication.Identity.Core.MicrosoftAccountMultiFactorUnregisteredAccountsAndSessionInfo::get_Sessions()
|
|
102
|
+
@_property
|
|
103
|
+
def sessions(self) -> typing.Sequence[MicrosoftAccountMultiFactorSessionInfo]: ...
|
|
104
|
+
# Windows.Foundation.Collections.IVectorView`1<System.String> Windows.Security.Authentication.Identity.Core.MicrosoftAccountMultiFactorUnregisteredAccountsAndSessionInfo::get_UnregisteredAccounts()
|
|
105
|
+
@_property
|
|
106
|
+
def unregistered_accounts(self) -> typing.Sequence[str]: ...
|
|
107
|
+
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v3.2.1
|
|
2
|
+
|
|
3
|
+
import enum
|
|
4
|
+
|
|
5
|
+
import winrt.system
|
|
6
|
+
from winrt._winrt_windows_security_authentication_identity_core import (
|
|
7
|
+
MicrosoftAccountMultiFactorAuthenticationManager,
|
|
8
|
+
MicrosoftAccountMultiFactorGetSessionsResult,
|
|
9
|
+
MicrosoftAccountMultiFactorOneTimeCodedInfo,
|
|
10
|
+
MicrosoftAccountMultiFactorSessionInfo,
|
|
11
|
+
MicrosoftAccountMultiFactorUnregisteredAccountsAndSessionInfo,
|
|
12
|
+
)
|
|
13
|
+
|
|
14
|
+
__all__ = [
|
|
15
|
+
"MicrosoftAccountMultiFactorAuthenticationType",
|
|
16
|
+
"MicrosoftAccountMultiFactorServiceResponse",
|
|
17
|
+
"MicrosoftAccountMultiFactorSessionApprovalStatus",
|
|
18
|
+
"MicrosoftAccountMultiFactorSessionAuthenticationStatus",
|
|
19
|
+
"MicrosoftAccountMultiFactorAuthenticationManager",
|
|
20
|
+
"MicrosoftAccountMultiFactorGetSessionsResult",
|
|
21
|
+
"MicrosoftAccountMultiFactorOneTimeCodedInfo",
|
|
22
|
+
"MicrosoftAccountMultiFactorSessionInfo",
|
|
23
|
+
"MicrosoftAccountMultiFactorUnregisteredAccountsAndSessionInfo",
|
|
24
|
+
]
|
|
25
|
+
|
|
26
|
+
class MicrosoftAccountMultiFactorAuthenticationType(enum.IntEnum):
|
|
27
|
+
USER = 0
|
|
28
|
+
DEVICE = 1
|
|
29
|
+
|
|
30
|
+
class MicrosoftAccountMultiFactorServiceResponse(enum.IntEnum):
|
|
31
|
+
SUCCESS = 0
|
|
32
|
+
ERROR = 1
|
|
33
|
+
NO_NETWORK_CONNECTION = 2
|
|
34
|
+
SERVICE_UNAVAILABLE = 3
|
|
35
|
+
TOTP_SETUP_DENIED = 4
|
|
36
|
+
NGC_NOT_SETUP = 5
|
|
37
|
+
SESSION_ALREADY_DENIED = 6
|
|
38
|
+
SESSION_ALREADY_APPROVED = 7
|
|
39
|
+
SESSION_EXPIRED = 8
|
|
40
|
+
NGC_NONCE_EXPIRED = 9
|
|
41
|
+
INVALID_SESSION_ID = 10
|
|
42
|
+
INVALID_SESSION_TYPE = 11
|
|
43
|
+
INVALID_OPERATION = 12
|
|
44
|
+
INVALID_STATE_TRANSITION = 13
|
|
45
|
+
DEVICE_NOT_FOUND = 14
|
|
46
|
+
FLOW_DISABLED = 15
|
|
47
|
+
SESSION_NOT_APPROVED = 16
|
|
48
|
+
OPERATION_CANCELED_BY_USER = 17
|
|
49
|
+
NGC_DISABLED_BY_SERVER = 18
|
|
50
|
+
NGC_KEY_NOT_FOUND_ON_SERVER = 19
|
|
51
|
+
UI_REQUIRED = 20
|
|
52
|
+
DEVICE_ID_CHANGED = 21
|
|
53
|
+
|
|
54
|
+
class MicrosoftAccountMultiFactorSessionApprovalStatus(enum.IntEnum):
|
|
55
|
+
PENDING = 0
|
|
56
|
+
APPROVED = 1
|
|
57
|
+
DENIED = 2
|
|
58
|
+
|
|
59
|
+
class MicrosoftAccountMultiFactorSessionAuthenticationStatus(enum.IntEnum):
|
|
60
|
+
AUTHENTICATED = 0
|
|
61
|
+
UNAUTHENTICATED = 1
|
|
62
|
+
|
|
File without changes
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: winrt-Windows.Security.Authentication.Identity.Core
|
|
3
|
+
Version: 3.2.1
|
|
4
|
+
Summary: Python projection of Windows Runtime (WinRT) APIs
|
|
5
|
+
License-Expression: 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.9
|
|
14
|
+
Description-Content-Type: text/markdown
|
|
15
|
+
Requires-Dist: winrt-runtime~=3.2.1.0
|
|
16
|
+
Provides-Extra: all
|
|
17
|
+
Requires-Dist: winrt-Windows.Foundation[all]~=3.2.1.0; extra == "all"
|
|
18
|
+
Requires-Dist: winrt-Windows.Foundation.Collections[all]~=3.2.1.0; extra == "all"
|
|
19
|
+
|
|
20
|
+
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
21
|
+
|
|
22
|
+
# winrt-Windows.Security.Authentication.Identity.Core
|
|
23
|
+
|
|
24
|
+
Windows Runtime (WinRT) APIs for for the `Windows.Security.Authentication.Identity.Core` namespace.
|
|
25
|
+
|
|
26
|
+
This package provides the `winrt.windows.security.authentication.identity.core` module.
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
winrt/_winrt_windows_security_authentication_identity_core.cp314-win_amd64.pyd,sha256=UoyZrkdk8A5NPx7DgmVybEeJPFhadMpHK8peFlpVgR8,167936
|
|
2
|
+
winrt/_winrt_windows_security_authentication_identity_core.pyi,sha256=ZruXEOKgKxrlsdw1586d2aDw0HZEd3E88Oe-SidSHrA,11241
|
|
3
|
+
winrt/windows/security/authentication/identity/core/__init__.py,sha256=A53FADNGa_E3cwODnyWJNiMm19JO3c6BrrG01cTkNe0,1968
|
|
4
|
+
winrt/windows/security/authentication/identity/core/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
5
|
+
winrt_windows_security_authentication_identity_core-3.2.1.dist-info/METADATA,sha256=rFNBC-k_imiTETrI6hZxQLvY4nVBMVJr-kVo44Pk3as,1220
|
|
6
|
+
winrt_windows_security_authentication_identity_core-3.2.1.dist-info/WHEEL,sha256=7k6Wcy588iJYe5lf5K095NLg-uoBTnE-T8eHJ92G4_4,101
|
|
7
|
+
winrt_windows_security_authentication_identity_core-3.2.1.dist-info/top_level.txt,sha256=BzwQb4dZRt0NxCXi10ARjWsox7Asmtf_lXrw_KR-D_E,6
|
|
8
|
+
winrt_windows_security_authentication_identity_core-3.2.1.dist-info/RECORD,,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
winrt
|