# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.1

import datetime
import sys
import types
import typing
import uuid as _uuid
from builtins import property as _property

import winrt._winrt
import winrt.system
import winrt.windows.foundation
import winrt.windows.foundation.collections

from winrt.windows.security.authentication.identity.core import MicrosoftAccountMultiFactorAuthenticationType, MicrosoftAccountMultiFactorServiceResponse, MicrosoftAccountMultiFactorSessionApprovalStatus, MicrosoftAccountMultiFactorSessionAuthenticationStatus

Self = typing.TypeVar('Self')

@typing.final
class MicrosoftAccountMultiFactorAuthenticationManager_Static(type):
    @_property
    def current(cls) -> typing.Optional[MicrosoftAccountMultiFactorAuthenticationManager]: ...

@typing.final
class MicrosoftAccountMultiFactorAuthenticationManager(winrt.system.Object, metaclass=MicrosoftAccountMultiFactorAuthenticationManager_Static):
    @staticmethod
    def _from(obj: winrt.system.Object, /) -> MicrosoftAccountMultiFactorAuthenticationManager: ...
    def add_device_async(self, user_account_id: str, authentication_token: str, wns_channel_id: str, /) -> winrt.windows.foundation.IAsyncOperation[MicrosoftAccountMultiFactorServiceResponse]: ...
    @typing.overload
    def approve_session_async(self, session_authentiction_status: MicrosoftAccountMultiFactorSessionAuthenticationStatus, authentication_session_info: typing.Optional[MicrosoftAccountMultiFactorSessionInfo], /) -> winrt.windows.foundation.IAsyncOperation[MicrosoftAccountMultiFactorServiceResponse]: ...
    @typing.overload
    def approve_session_async(self, session_authentiction_status: MicrosoftAccountMultiFactorSessionAuthenticationStatus, user_account_id: str, session_id: str, session_authentication_type: MicrosoftAccountMultiFactorAuthenticationType, /) -> winrt.windows.foundation.IAsyncOperation[MicrosoftAccountMultiFactorServiceResponse]: ...
    @typing.overload
    def deny_session_async(self, authentication_session_info: typing.Optional[MicrosoftAccountMultiFactorSessionInfo], /) -> winrt.windows.foundation.IAsyncOperation[MicrosoftAccountMultiFactorServiceResponse]: ...
    @typing.overload
    def deny_session_async(self, user_account_id: str, session_id: str, session_authentication_type: MicrosoftAccountMultiFactorAuthenticationType, /) -> winrt.windows.foundation.IAsyncOperation[MicrosoftAccountMultiFactorServiceResponse]: ...
    def get_one_time_pass_code_async(self, user_account_id: str, code_length: winrt.system.UInt32, /) -> winrt.windows.foundation.IAsyncOperation[MicrosoftAccountMultiFactorOneTimeCodedInfo]: ...
    def get_sessions_and_unregistered_accounts_async(self, user_account_id_list: typing.Iterable[str], /) -> winrt.windows.foundation.IAsyncOperation[MicrosoftAccountMultiFactorUnregisteredAccountsAndSessionInfo]: ...
    def get_sessions_async(self, user_account_id_list: typing.Iterable[str], /) -> winrt.windows.foundation.IAsyncOperation[MicrosoftAccountMultiFactorGetSessionsResult]: ...
    def remove_device_async(self, user_account_id: str, /) -> winrt.windows.foundation.IAsyncOperation[MicrosoftAccountMultiFactorServiceResponse]: ...
    def update_wns_channel_async(self, user_account_id: str, channel_uri: str, /) -> winrt.windows.foundation.IAsyncOperation[MicrosoftAccountMultiFactorServiceResponse]: ...

@typing.final
class MicrosoftAccountMultiFactorGetSessionsResult(winrt.system.Object):
    @staticmethod
    def _from(obj: winrt.system.Object, /) -> MicrosoftAccountMultiFactorGetSessionsResult: ...
    @_property
    def service_response(self) -> MicrosoftAccountMultiFactorServiceResponse: ...
    @_property
    def sessions(self) -> typing.Optional[winrt.windows.foundation.collections.IVectorView[MicrosoftAccountMultiFactorSessionInfo]]: ...

@typing.final
class MicrosoftAccountMultiFactorOneTimeCodedInfo(winrt.system.Object):
    @staticmethod
    def _from(obj: winrt.system.Object, /) -> MicrosoftAccountMultiFactorOneTimeCodedInfo: ...
    @_property
    def code(self) -> str: ...
    @_property
    def service_response(self) -> MicrosoftAccountMultiFactorServiceResponse: ...
    @_property
    def time_interval(self) -> datetime.timedelta: ...
    @_property
    def time_to_live(self) -> datetime.timedelta: ...

@typing.final
class MicrosoftAccountMultiFactorSessionInfo(winrt.system.Object):
    @staticmethod
    def _from(obj: winrt.system.Object, /) -> MicrosoftAccountMultiFactorSessionInfo: ...
    @_property
    def approval_status(self) -> MicrosoftAccountMultiFactorSessionApprovalStatus: ...
    @_property
    def authentication_type(self) -> MicrosoftAccountMultiFactorAuthenticationType: ...
    @_property
    def display_session_id(self) -> str: ...
    @_property
    def expiration_time(self) -> datetime.datetime: ...
    @_property
    def request_time(self) -> datetime.datetime: ...
    @_property
    def session_id(self) -> str: ...
    @_property
    def user_account_id(self) -> str: ...

@typing.final
class MicrosoftAccountMultiFactorUnregisteredAccountsAndSessionInfo(winrt.system.Object):
    @staticmethod
    def _from(obj: winrt.system.Object, /) -> MicrosoftAccountMultiFactorUnregisteredAccountsAndSessionInfo: ...
    @_property
    def service_response(self) -> MicrosoftAccountMultiFactorServiceResponse: ...
    @_property
    def sessions(self) -> typing.Optional[winrt.windows.foundation.collections.IVectorView[MicrosoftAccountMultiFactorSessionInfo]]: ...
    @_property
    def unregistered_accounts(self) -> typing.Optional[winrt.windows.foundation.collections.IVectorView[str]]: ...

