//
// Copyright (c) Microsoft Corporation. All rights reserved.
// 
//
// File generated by WinMDIDL version 8.00.0021
//

import "inspectable.idl";
import "AsyncInfo.idl";
import "EventToken.idl";
import "windowscontracts.idl";
import "Windows.Foundation.idl";
import "Windows.Storage.Streams.idl";

// Forward Declare
namespace Windows
{
    namespace Foundation
    {
        interface IAsyncAction;

        apicontract UniversalApiContract;
    }
}
namespace Windows
{
    namespace Storage
    {
        namespace Streams
        {
            interface IBuffer;
        }
    }
}
namespace Windows
{
    namespace Security
    {
        namespace Authentication
        {
            namespace Identity
            {
                namespace Provider
                {
                    typedef enum SecondaryAuthenticationFactorAuthenticationMessage SecondaryAuthenticationFactorAuthenticationMessage;

                    typedef enum SecondaryAuthenticationFactorAuthenticationScenario SecondaryAuthenticationFactorAuthenticationScenario;

                    typedef enum SecondaryAuthenticationFactorAuthenticationStage SecondaryAuthenticationFactorAuthenticationStage;

                    typedef enum SecondaryAuthenticationFactorAuthenticationStatus SecondaryAuthenticationFactorAuthenticationStatus;

                    typedef enum SecondaryAuthenticationFactorDeviceCapabilities SecondaryAuthenticationFactorDeviceCapabilities;

                    typedef enum SecondaryAuthenticationFactorDeviceFindScope SecondaryAuthenticationFactorDeviceFindScope;

                    typedef enum SecondaryAuthenticationFactorDevicePresence SecondaryAuthenticationFactorDevicePresence;

                    typedef enum SecondaryAuthenticationFactorDevicePresenceMonitoringMode SecondaryAuthenticationFactorDevicePresenceMonitoringMode;

                    typedef enum SecondaryAuthenticationFactorDevicePresenceMonitoringRegistrationStatus SecondaryAuthenticationFactorDevicePresenceMonitoringRegistrationStatus;

                    typedef enum SecondaryAuthenticationFactorFinishAuthenticationStatus SecondaryAuthenticationFactorFinishAuthenticationStatus;

                    typedef enum SecondaryAuthenticationFactorRegistrationStatus SecondaryAuthenticationFactorRegistrationStatus;

                    interface ISecondaryAuthenticationFactorAuthentication;

                    interface ISecondaryAuthenticationFactorAuthenticationResult;

                    interface ISecondaryAuthenticationFactorAuthenticationStageChangedEventArgs;

                    interface ISecondaryAuthenticationFactorAuthenticationStageInfo;

                    interface ISecondaryAuthenticationFactorAuthenticationStatics;

                    interface ISecondaryAuthenticationFactorDevicePresenceMonitoringRegistrationStatics;

                    interface ISecondaryAuthenticationFactorInfo;

                    interface ISecondaryAuthenticationFactorInfo2;

                    interface ISecondaryAuthenticationFactorRegistration;

                    interface ISecondaryAuthenticationFactorRegistrationResult;

                    interface ISecondaryAuthenticationFactorRegistrationStatics;

                    runtimeclass SecondaryAuthenticationFactorAuthentication;

                    runtimeclass SecondaryAuthenticationFactorAuthenticationResult;

                    runtimeclass SecondaryAuthenticationFactorAuthenticationStageChangedEventArgs;

                    runtimeclass SecondaryAuthenticationFactorAuthenticationStageInfo;

                    runtimeclass SecondaryAuthenticationFactorInfo;

                    runtimeclass SecondaryAuthenticationFactorRegistration;

                    runtimeclass SecondaryAuthenticationFactorRegistrationResult;
                }
            }
        }
    }
}

// Generic instantiations
namespace Windows
{
    namespace Security
    {
        namespace Authentication
        {
            namespace Identity
            {
                namespace Provider
                {
                    declare
                    {
                        interface Windows.Foundation.Collections.IIterable<Windows.Security.Authentication.Identity.Provider.SecondaryAuthenticationFactorInfo*>;

                        interface Windows.Foundation.Collections.IIterator<Windows.Security.Authentication.Identity.Provider.SecondaryAuthenticationFactorInfo*>;

                        interface Windows.Foundation.Collections.IVectorView<Windows.Security.Authentication.Identity.Provider.SecondaryAuthenticationFactorInfo*>;

                        interface Windows.Foundation.EventHandler<Windows.Security.Authentication.Identity.Provider.SecondaryAuthenticationFactorAuthenticationStageChangedEventArgs*>;

                        interface Windows.Foundation.IAsyncOperation<Windows.Foundation.Collections.IVectorView<Windows.Security.Authentication.Identity.Provider.SecondaryAuthenticationFactorInfo*>*>;

                        interface Windows.Foundation.IAsyncOperation<Windows.Security.Authentication.Identity.Provider.SecondaryAuthenticationFactorAuthenticationResult*>;

                        interface Windows.Foundation.IAsyncOperation<Windows.Security.Authentication.Identity.Provider.SecondaryAuthenticationFactorAuthenticationStageInfo*>;

                        interface Windows.Foundation.IAsyncOperation<Windows.Security.Authentication.Identity.Provider.SecondaryAuthenticationFactorDevicePresenceMonitoringRegistrationStatus>;

                        interface Windows.Foundation.IAsyncOperation<Windows.Security.Authentication.Identity.Provider.SecondaryAuthenticationFactorFinishAuthenticationStatus>;

                        interface Windows.Foundation.IAsyncOperation<Windows.Security.Authentication.Identity.Provider.SecondaryAuthenticationFactorRegistrationResult*>;
                    }
                }
            }
        }
    }
}

// Type definition
namespace Windows
{
    namespace Security
    {
        namespace Authentication
        {
            namespace Identity
            {
                namespace Provider
                {
                    [contract(Windows.Foundation.UniversalApiContract, 3.0)]
                    [deprecated("SecondaryAuthenticationFactorAuthenticationMessage is deprecated and might not work on all platforms. For more info, see MSDN.", deprecate, Windows.Foundation.UniversalApiContract, 10.0)]
                    enum SecondaryAuthenticationFactorAuthenticationMessage
                    {
                        Invalid                   = 0,
                        SwipeUpWelcome            = 1,
                        TapWelcome                = 2,
                        DeviceNeedsAttention      = 3,
                        LookingForDevice          = 4,
                        LookingForDevicePluggedin = 5,
                        BluetoothIsDisabled       = 6,
                        NfcIsDisabled             = 7,
                        WiFiIsDisabled            = 8,
                        ExtraTapIsRequired        = 9,
                        DisabledByPolicy          = 10,
                        TapOnDeviceRequired       = 11,
                        HoldFinger                = 12,
                        ScanFinger                = 13,
                        UnauthorizedUser          = 14,
                        ReregisterRequired        = 15,
                        TryAgain                  = 16,
                        SayPassphrase             = 17,
                        ReadyToSignIn             = 18,
                        UseAnotherSignInOption    = 19,
                        [contract(Windows.Foundation.UniversalApiContract, 6.0)]
                        ConnectionRequired        = 20,
                        [contract(Windows.Foundation.UniversalApiContract, 6.0)]
                        TimeLimitExceeded         = 21,
                        [contract(Windows.Foundation.UniversalApiContract, 6.0)]
                        CanceledByUser            = 22,
                        [contract(Windows.Foundation.UniversalApiContract, 6.0)]
                        CenterHand                = 23,
                        [contract(Windows.Foundation.UniversalApiContract, 6.0)]
                        MoveHandCloser            = 24,
                        [contract(Windows.Foundation.UniversalApiContract, 6.0)]
                        MoveHandFarther           = 25,
                        [contract(Windows.Foundation.UniversalApiContract, 6.0)]
                        PlaceHandAbove            = 26,
                        [contract(Windows.Foundation.UniversalApiContract, 6.0)]
                        RecognitionFailed         = 27,
                        [contract(Windows.Foundation.UniversalApiContract, 6.0)]
                        DeviceUnavailable         = 28
                    };

                    [contract(Windows.Foundation.UniversalApiContract, 3.0)]
                    [deprecated("SecondaryAuthenticationFactorAuthenticationScenario is deprecated and might not work on all platforms. For more info, see MSDN.", deprecate, Windows.Foundation.UniversalApiContract, 10.0)]
                    enum SecondaryAuthenticationFactorAuthenticationScenario
                    {
                        SignIn           = 0,
                        CredentialPrompt = 1
                    };

                    [contract(Windows.Foundation.UniversalApiContract, 3.0)]
                    [deprecated("SecondaryAuthenticationFactorAuthenticationStage is deprecated and might not work on all platforms. For more info, see MSDN.", deprecate, Windows.Foundation.UniversalApiContract, 10.0)]
                    enum SecondaryAuthenticationFactorAuthenticationStage
                    {
                        NotStarted                 = 0,
                        WaitingForUserConfirmation = 1,
                        CollectingCredential       = 2,
                        SuspendingAuthentication   = 3,
                        CredentialCollected        = 4,
                        CredentialAuthenticated    = 5,
                        StoppingAuthentication     = 6,
                        ReadyForLock               = 7,
                        [contract(Windows.Foundation.UniversalApiContract, 4.0)]
                        [deprecated("CheckingDevicePresence is deprecated and might not work on all platforms. For more info, see MSDN.", deprecate, Windows.Foundation.UniversalApiContract, 7.0)]
                        CheckingDevicePresence     = 8
                    };

                    [contract(Windows.Foundation.UniversalApiContract, 3.0)]
                    [deprecated("SecondaryAuthenticationFactorAuthenticationStatus is deprecated and might not work on all platforms. For more info, see MSDN.", deprecate, Windows.Foundation.UniversalApiContract, 10.0)]
                    enum SecondaryAuthenticationFactorAuthenticationStatus
                    {
                        Failed                     = 0,
                        Started                    = 1,
                        UnknownDevice              = 2,
                        DisabledByPolicy           = 3,
                        InvalidAuthenticationStage = 4
                    };

                    [contract(Windows.Foundation.UniversalApiContract, 3.0)]
                    [deprecated("SecondaryAuthenticationFactorDeviceCapabilities is deprecated and might not work on all platforms. For more info, see MSDN.", deprecate, Windows.Foundation.UniversalApiContract, 10.0)]
                    [flags]
                    enum SecondaryAuthenticationFactorDeviceCapabilities
                    {
                        None                            = 0x0,
                        SecureStorage                   = 0x1,
                        StoreKeys                       = 0x2,
                        ConfirmUserIntentToAuthenticate = 0x4,
                        [deprecated("SupportSecureUserPresenceCheck is deprecated and might not work on all platforms. For more info, see MSDN.", deprecate, Windows.Foundation.UniversalApiContract, 7.0)]
                        SupportSecureUserPresenceCheck  = 0x8,
                        TransmittedDataIsEncrypted      = 0x10,
                        HMacSha256                      = 0x20,
                        [contract(Windows.Foundation.UniversalApiContract, 4.0)]
                        CloseRangeDataTransmission      = 0x40
                    };

                    [contract(Windows.Foundation.UniversalApiContract, 3.0)]
                    [deprecated("SecondaryAuthenticationFactorDeviceFindScope is deprecated and might not work on all platforms. For more info, see MSDN.", deprecate, Windows.Foundation.UniversalApiContract, 10.0)]
                    enum SecondaryAuthenticationFactorDeviceFindScope
                    {
                        User     = 0,
                        AllUsers = 1
                    };

                    [contract(Windows.Foundation.UniversalApiContract, 4.0)]
                    [deprecated("SecondaryAuthenticationFactorDevicePresence is deprecated and might not work on all platforms. For more info, see MSDN.", deprecate, Windows.Foundation.UniversalApiContract, 7.0)]
                    enum SecondaryAuthenticationFactorDevicePresence
                    {
                        Absent  = 0,
                        Present = 1
                    };

                    [contract(Windows.Foundation.UniversalApiContract, 4.0)]
                    [deprecated("SecondaryAuthenticationFactorDevicePresenceMonitoringMode is deprecated and might not work on all platforms. For more info, see MSDN.", deprecate, Windows.Foundation.UniversalApiContract, 7.0)]
                    enum SecondaryAuthenticationFactorDevicePresenceMonitoringMode
                    {
                        Unsupported   = 0,
                        AppManaged    = 1,
                        SystemManaged = 2
                    };

                    [contract(Windows.Foundation.UniversalApiContract, 4.0)]
                    [deprecated("SecondaryAuthenticationFactorDevicePresenceMonitoringRegistrationStatus is deprecated and might not work on all platforms. For more info, see MSDN.", deprecate, Windows.Foundation.UniversalApiContract, 7.0)]
                    enum SecondaryAuthenticationFactorDevicePresenceMonitoringRegistrationStatus
                    {
                        Unsupported      = 0,
                        Succeeded        = 1,
                        DisabledByPolicy = 2
                    };

                    [contract(Windows.Foundation.UniversalApiContract, 3.0)]
                    [deprecated("SecondaryAuthenticationFactorFinishAuthenticationStatus is deprecated and might not work on all platforms. For more info, see MSDN.", deprecate, Windows.Foundation.UniversalApiContract, 10.0)]
                    enum SecondaryAuthenticationFactorFinishAuthenticationStatus
                    {
                        Failed       = 0,
                        Completed    = 1,
                        NonceExpired = 2
                    };

                    [contract(Windows.Foundation.UniversalApiContract, 3.0)]
                    [deprecated("SecondaryAuthenticationFactorRegistrationStatus is deprecated and might not work on all platforms. For more info, see MSDN.", deprecate, Windows.Foundation.UniversalApiContract, 10.0)]
                    enum SecondaryAuthenticationFactorRegistrationStatus
                    {
                        Failed           = 0,
                        Started          = 1,
                        CanceledByUser   = 2,
                        PinSetupRequired = 3,
                        DisabledByPolicy = 4
                    };

                    [contract(Windows.Foundation.UniversalApiContract, 3.0)]
                    [deprecated("SecondaryAuthenticationFactorAuthentication is deprecated and might not work on all platforms. For more info, see MSDN.", deprecate, Windows.Foundation.UniversalApiContract, 10.0)]
                    [exclusiveto(Windows.Security.Authentication.Identity.Provider.SecondaryAuthenticationFactorAuthentication)]
                    [uuid(020A16E5-6A25-40A3-8C00-50A023F619D1)]
                    interface ISecondaryAuthenticationFactorAuthentication : IInspectable
                    {
                        [deprecated("SecondaryAuthenticationFactorAuthentication is deprecated and might not work on all platforms. For more info, see MSDN.", deprecate, Windows.Foundation.UniversalApiContract, 10.0)] [propget] HRESULT ServiceAuthenticationHmac([out] [retval] Windows.Storage.Streams.IBuffer** value);
                        [deprecated("SecondaryAuthenticationFactorAuthentication is deprecated and might not work on all platforms. For more info, see MSDN.", deprecate, Windows.Foundation.UniversalApiContract, 10.0)] [propget] HRESULT SessionNonce([out] [retval] Windows.Storage.Streams.IBuffer** value);
                        [deprecated("SecondaryAuthenticationFactorAuthentication is deprecated and might not work on all platforms. For more info, see MSDN.", deprecate, Windows.Foundation.UniversalApiContract, 10.0)] [propget] HRESULT DeviceNonce([out] [retval] Windows.Storage.Streams.IBuffer** value);
                        [deprecated("SecondaryAuthenticationFactorAuthentication is deprecated and might not work on all platforms. For more info, see MSDN.", deprecate, Windows.Foundation.UniversalApiContract, 10.0)] [propget] HRESULT DeviceConfigurationData([out] [retval] Windows.Storage.Streams.IBuffer** value);
                        [deprecated("SecondaryAuthenticationFactorAuthentication is deprecated and might not work on all platforms. For more info, see MSDN.", deprecate, Windows.Foundation.UniversalApiContract, 10.0)] HRESULT FinishAuthenticationAsync([in] Windows.Storage.Streams.IBuffer* deviceHmac, [in] Windows.Storage.Streams.IBuffer* sessionHmac, [out] [retval] Windows.Foundation.IAsyncOperation<Windows.Security.Authentication.Identity.Provider.SecondaryAuthenticationFactorFinishAuthenticationStatus>** result);
                        [deprecated("SecondaryAuthenticationFactorAuthentication is deprecated and might not work on all platforms. For more info, see MSDN.", deprecate, Windows.Foundation.UniversalApiContract, 10.0)] HRESULT AbortAuthenticationAsync([in] HSTRING errorLogMessage, [out] [retval] Windows.Foundation.IAsyncAction** result);
                    }

                    [contract(Windows.Foundation.UniversalApiContract, 3.0)]
                    [deprecated("SecondaryAuthenticationFactorAuthenticationResult is deprecated and might not work on all platforms. For more info, see MSDN.", deprecate, Windows.Foundation.UniversalApiContract, 10.0)]
                    [exclusiveto(Windows.Security.Authentication.Identity.Provider.SecondaryAuthenticationFactorAuthenticationResult)]
                    [uuid(9CBB5987-EF6D-4BC2-BF49-4617515A0F9A)]
                    interface ISecondaryAuthenticationFactorAuthenticationResult : IInspectable
                    {
                        [deprecated("SecondaryAuthenticationFactorAuthenticationResult is deprecated and might not work on all platforms. For more info, see MSDN.", deprecate, Windows.Foundation.UniversalApiContract, 10.0)] [propget] HRESULT Status([out] [retval] Windows.Security.Authentication.Identity.Provider.SecondaryAuthenticationFactorAuthenticationStatus* value);
                        [deprecated("SecondaryAuthenticationFactorAuthenticationResult is deprecated and might not work on all platforms. For more info, see MSDN.", deprecate, Windows.Foundation.UniversalApiContract, 10.0)] [propget] HRESULT Authentication([out] [retval] Windows.Security.Authentication.Identity.Provider.SecondaryAuthenticationFactorAuthentication** value);
                    }

                    [contract(Windows.Foundation.UniversalApiContract, 3.0)]
                    [deprecated("SecondaryAuthenticationFactorAuthenticationStageChangedEventArgs is deprecated and might not work on all platforms. For more info, see MSDN.", deprecate, Windows.Foundation.UniversalApiContract, 10.0)]
                    [exclusiveto(Windows.Security.Authentication.Identity.Provider.SecondaryAuthenticationFactorAuthenticationStageChangedEventArgs)]
                    [uuid(D4A5EE56-7291-4073-BC1F-CCB8F5AFDF96)]
                    interface ISecondaryAuthenticationFactorAuthenticationStageChangedEventArgs : IInspectable
                    {
                        [deprecated("SecondaryAuthenticationFactorAuthenticationStageChangedEventArgs is deprecated and might not work on all platforms. For more info, see MSDN.", deprecate, Windows.Foundation.UniversalApiContract, 10.0)] [propget] HRESULT StageInfo([out] [retval] Windows.Security.Authentication.Identity.Provider.SecondaryAuthenticationFactorAuthenticationStageInfo** value);
                    }

                    [contract(Windows.Foundation.UniversalApiContract, 3.0)]
                    [deprecated("SecondaryAuthenticationFactorAuthenticationStageInfo is deprecated and might not work on all platforms. For more info, see MSDN.", deprecate, Windows.Foundation.UniversalApiContract, 10.0)]
                    [exclusiveto(Windows.Security.Authentication.Identity.Provider.SecondaryAuthenticationFactorAuthenticationStageInfo)]
                    [uuid(56FEC28B-E8AA-4C0F-8E4C-A559E73ADD88)]
                    interface ISecondaryAuthenticationFactorAuthenticationStageInfo : IInspectable
                    {
                        [deprecated("SecondaryAuthenticationFactorAuthenticationStageInfo is deprecated and might not work on all platforms. For more info, see MSDN.", deprecate, Windows.Foundation.UniversalApiContract, 10.0)] [propget] HRESULT Stage([out] [retval] Windows.Security.Authentication.Identity.Provider.SecondaryAuthenticationFactorAuthenticationStage* value);
                        [deprecated("SecondaryAuthenticationFactorAuthenticationStageInfo is deprecated and might not work on all platforms. For more info, see MSDN.", deprecate, Windows.Foundation.UniversalApiContract, 10.0)] [propget] HRESULT Scenario([out] [retval] Windows.Security.Authentication.Identity.Provider.SecondaryAuthenticationFactorAuthenticationScenario* value);
                        [deprecated("SecondaryAuthenticationFactorAuthenticationStageInfo is deprecated and might not work on all platforms. For more info, see MSDN.", deprecate, Windows.Foundation.UniversalApiContract, 10.0)] [propget] HRESULT DeviceId([out] [retval] HSTRING* value);
                    }

                    [contract(Windows.Foundation.UniversalApiContract, 3.0)]
                    [deprecated("SecondaryAuthenticationFactorAuthentication is deprecated and might not work on all platforms. For more info, see MSDN.", deprecate, Windows.Foundation.UniversalApiContract, 10.0)]
                    [exclusiveto(Windows.Security.Authentication.Identity.Provider.SecondaryAuthenticationFactorAuthentication)]
                    [uuid(3F582656-28F8-4E0F-AE8C-5898B9AE2469)]
                    interface ISecondaryAuthenticationFactorAuthenticationStatics : IInspectable
                    {
                        [deprecated("SecondaryAuthenticationFactorAuthentication is deprecated and might not work on all platforms. For more info, see MSDN.", deprecate, Windows.Foundation.UniversalApiContract, 10.0)] HRESULT ShowNotificationMessageAsync([in] HSTRING deviceName, [in] Windows.Security.Authentication.Identity.Provider.SecondaryAuthenticationFactorAuthenticationMessage message, [out] [retval] Windows.Foundation.IAsyncAction** result);
                        [deprecated("SecondaryAuthenticationFactorAuthentication is deprecated and might not work on all platforms. For more info, see MSDN.", deprecate, Windows.Foundation.UniversalApiContract, 10.0)] HRESULT StartAuthenticationAsync([in] HSTRING deviceId, [in] Windows.Storage.Streams.IBuffer* serviceAuthenticationNonce, [out] [retval] Windows.Foundation.IAsyncOperation<Windows.Security.Authentication.Identity.Provider.SecondaryAuthenticationFactorAuthenticationResult*>** operation);
                        [deprecated("SecondaryAuthenticationFactorAuthentication is deprecated and might not work on all platforms. For more info, see MSDN.", deprecate, Windows.Foundation.UniversalApiContract, 10.0)] [eventadd] HRESULT AuthenticationStageChanged([in] Windows.Foundation.EventHandler<Windows.Security.Authentication.Identity.Provider.SecondaryAuthenticationFactorAuthenticationStageChangedEventArgs*>* handler, [out] [retval] EventRegistrationToken* token);
                        [deprecated("SecondaryAuthenticationFactorAuthentication is deprecated and might not work on all platforms. For more info, see MSDN.", deprecate, Windows.Foundation.UniversalApiContract, 10.0)] [eventremove] HRESULT AuthenticationStageChanged([in] EventRegistrationToken token);
                        [deprecated("SecondaryAuthenticationFactorAuthentication is deprecated and might not work on all platforms. For more info, see MSDN.", deprecate, Windows.Foundation.UniversalApiContract, 10.0)] HRESULT GetAuthenticationStageInfoAsync([out] [retval] Windows.Foundation.IAsyncOperation<Windows.Security.Authentication.Identity.Provider.SecondaryAuthenticationFactorAuthenticationStageInfo*>** result);
                    }

                    [contract(Windows.Foundation.UniversalApiContract, 4.0)]
                    [deprecated("SecondaryAuthenticationFactorDevicePresenceMonitoringRegistration is deprecated and might not work on all platforms. For more info, see MSDN.", deprecate, Windows.Foundation.UniversalApiContract, 10.0)]
                    [exclusiveto(Windows.Security.Authentication.Identity.Provider.SecondaryAuthenticationFactorRegistration)]
                    [uuid(90499A19-7EF2-4523-951C-A417A24ACF93)]
                    interface ISecondaryAuthenticationFactorDevicePresenceMonitoringRegistrationStatics : IInspectable
                    {
                        [deprecated("RegisterDevicePresenceMonitoringAsync is deprecated and might not work on all platforms. For more info, see MSDN.", deprecate, Windows.Foundation.UniversalApiContract, 7.0)] [overload("RegisterDevicePresenceMonitoringAsync")] HRESULT RegisterDevicePresenceMonitoringAsync([in] HSTRING deviceId, [in] HSTRING deviceInstancePath, [in] Windows.Security.Authentication.Identity.Provider.SecondaryAuthenticationFactorDevicePresenceMonitoringMode monitoringMode, [out] [retval] Windows.Foundation.IAsyncOperation<Windows.Security.Authentication.Identity.Provider.SecondaryAuthenticationFactorDevicePresenceMonitoringRegistrationStatus>** operation);
                        [deprecated("RegisterDevicePresenceMonitoringWithNewDeviceAsync is deprecated and might not work on all platforms. For more info, see MSDN.", deprecate, Windows.Foundation.UniversalApiContract, 7.0)] [overload("RegisterDevicePresenceMonitoringAsync")] HRESULT RegisterDevicePresenceMonitoringWithNewDeviceAsync([in] HSTRING deviceId, [in] HSTRING deviceInstancePath, [in] Windows.Security.Authentication.Identity.Provider.SecondaryAuthenticationFactorDevicePresenceMonitoringMode monitoringMode, [in] HSTRING deviceFriendlyName, [in] HSTRING deviceModelNumber, [in] Windows.Storage.Streams.IBuffer* deviceConfigurationData, [out] [retval] Windows.Foundation.IAsyncOperation<Windows.Security.Authentication.Identity.Provider.SecondaryAuthenticationFactorDevicePresenceMonitoringRegistrationStatus>** operation);
                        [deprecated("UnregisterDevicePresenceMonitoringAsync is deprecated and might not work on all platforms. For more info, see MSDN.", deprecate, Windows.Foundation.UniversalApiContract, 7.0)] HRESULT UnregisterDevicePresenceMonitoringAsync([in] HSTRING deviceId, [out] [retval] Windows.Foundation.IAsyncAction** result);
                        [deprecated("IsDevicePresenceMonitoringSupported is deprecated and might not work on all platforms. For more info, see MSDN.", deprecate, Windows.Foundation.UniversalApiContract, 7.0)] HRESULT IsDevicePresenceMonitoringSupported([out] [retval] boolean* value);
                    }

                    [contract(Windows.Foundation.UniversalApiContract, 3.0)]
                    [deprecated("SecondaryAuthenticationFactorInfo is deprecated and might not work on all platforms. For more info, see MSDN.", deprecate, Windows.Foundation.UniversalApiContract, 10.0)]
                    [exclusiveto(Windows.Security.Authentication.Identity.Provider.SecondaryAuthenticationFactorInfo)]
                    [uuid(1E2BA861-8533-4FCE-839B-ECB72410AC14)]
                    interface ISecondaryAuthenticationFactorInfo : IInspectable
                    {
                        [deprecated("SecondaryAuthenticationFactorInfo is deprecated and might not work on all platforms. For more info, see MSDN.", deprecate, Windows.Foundation.UniversalApiContract, 10.0)] [propget] HRESULT DeviceId([out] [retval] HSTRING* deviceId);
                        [deprecated("SecondaryAuthenticationFactorInfo is deprecated and might not work on all platforms. For more info, see MSDN.", deprecate, Windows.Foundation.UniversalApiContract, 10.0)] [propget] HRESULT DeviceFriendlyName([out] [retval] HSTRING* value);
                        [deprecated("SecondaryAuthenticationFactorInfo is deprecated and might not work on all platforms. For more info, see MSDN.", deprecate, Windows.Foundation.UniversalApiContract, 10.0)] [propget] HRESULT DeviceModelNumber([out] [retval] HSTRING* value);
                        [deprecated("SecondaryAuthenticationFactorInfo is deprecated and might not work on all platforms. For more info, see MSDN.", deprecate, Windows.Foundation.UniversalApiContract, 10.0)] [propget] HRESULT DeviceConfigurationData([out] [retval] Windows.Storage.Streams.IBuffer** value);
                    }

                    [contract(Windows.Foundation.UniversalApiContract, 4.0)]
                    [deprecated("SecondaryAuthenticationFactorInfo is deprecated and might not work on all platforms. For more info, see MSDN.", deprecate, Windows.Foundation.UniversalApiContract, 10.0)]
                    [exclusiveto(Windows.Security.Authentication.Identity.Provider.SecondaryAuthenticationFactorInfo)]
                    [uuid(14D981A3-FC26-4FF7-ABC3-48E82A512A0A)]
                    interface ISecondaryAuthenticationFactorInfo2 : IInspectable
                        requires
                            Windows.Security.Authentication.Identity.Provider.ISecondaryAuthenticationFactorInfo
                    {
                        [deprecated("PresenceMonitoringMode is deprecated and might not work on all platforms. For more info, see MSDN.", deprecate, Windows.Foundation.UniversalApiContract, 7.0)] [propget] HRESULT PresenceMonitoringMode([out] [retval] Windows.Security.Authentication.Identity.Provider.SecondaryAuthenticationFactorDevicePresenceMonitoringMode* value);
                        [deprecated("UpdateDevicePresenceAsync is deprecated and might not work on all platforms. For more info, see MSDN.", deprecate, Windows.Foundation.UniversalApiContract, 7.0)] HRESULT UpdateDevicePresenceAsync([in] Windows.Security.Authentication.Identity.Provider.SecondaryAuthenticationFactorDevicePresence presenceState, [out] [retval] Windows.Foundation.IAsyncAction** result);
                        [deprecated("IsAuthenticationSupported is deprecated and might not work on all platforms. For more info, see MSDN.", deprecate, Windows.Foundation.UniversalApiContract, 7.0)] [propget] HRESULT IsAuthenticationSupported([out] [retval] boolean* value);
                    }

                    [contract(Windows.Foundation.UniversalApiContract, 3.0)]
                    [deprecated("SecondaryAuthenticationFactorRegistration is deprecated and might not work on all platforms. For more info, see MSDN.", deprecate, Windows.Foundation.UniversalApiContract, 10.0)]
                    [exclusiveto(Windows.Security.Authentication.Identity.Provider.SecondaryAuthenticationFactorRegistration)]
                    [uuid(9F4CBBB4-8CBA-48B0-840D-DBB22A54C678)]
                    interface ISecondaryAuthenticationFactorRegistration : IInspectable
                    {
                        [deprecated("SecondaryAuthenticationFactorRegistration is deprecated and might not work on all platforms. For more info, see MSDN.", deprecate, Windows.Foundation.UniversalApiContract, 10.0)] HRESULT FinishRegisteringDeviceAsync([in] Windows.Storage.Streams.IBuffer* deviceConfigurationData, [out] [retval] Windows.Foundation.IAsyncAction** result);
                        [deprecated("SecondaryAuthenticationFactorRegistration is deprecated and might not work on all platforms. For more info, see MSDN.", deprecate, Windows.Foundation.UniversalApiContract, 10.0)] HRESULT AbortRegisteringDeviceAsync([in] HSTRING errorLogMessage, [out] [retval] Windows.Foundation.IAsyncAction** result);
                    }

                    [contract(Windows.Foundation.UniversalApiContract, 3.0)]
                    [deprecated("SecondaryAuthenticationFactorRegistrationResult is deprecated and might not work on all platforms. For more info, see MSDN.", deprecate, Windows.Foundation.UniversalApiContract, 10.0)]
                    [exclusiveto(Windows.Security.Authentication.Identity.Provider.SecondaryAuthenticationFactorRegistrationResult)]
                    [uuid(A4FE35F0-ADE3-4981-AF6B-EC195921682A)]
                    interface ISecondaryAuthenticationFactorRegistrationResult : IInspectable
                    {
                        [deprecated("SecondaryAuthenticationFactorRegistrationResult is deprecated and might not work on all platforms. For more info, see MSDN.", deprecate, Windows.Foundation.UniversalApiContract, 10.0)] [propget] HRESULT Status([out] [retval] Windows.Security.Authentication.Identity.Provider.SecondaryAuthenticationFactorRegistrationStatus* value);
                        [deprecated("SecondaryAuthenticationFactorRegistrationResult is deprecated and might not work on all platforms. For more info, see MSDN.", deprecate, Windows.Foundation.UniversalApiContract, 10.0)] [propget] HRESULT Registration([out] [retval] Windows.Security.Authentication.Identity.Provider.SecondaryAuthenticationFactorRegistration** value);
                    }

                    [contract(Windows.Foundation.UniversalApiContract, 3.0)]
                    [deprecated("SecondaryAuthenticationFactorRegistration is deprecated and might not work on all platforms. For more info, see MSDN.", deprecate, Windows.Foundation.UniversalApiContract, 10.0)]
                    [exclusiveto(Windows.Security.Authentication.Identity.Provider.SecondaryAuthenticationFactorRegistration)]
                    [uuid(1ADF0F65-E3B7-4155-997F-B756EF65BEBA)]
                    interface ISecondaryAuthenticationFactorRegistrationStatics : IInspectable
                    {
                        [deprecated("SecondaryAuthenticationFactorRegistration is deprecated and might not work on all platforms. For more info, see MSDN.", deprecate, Windows.Foundation.UniversalApiContract, 10.0)] HRESULT RequestStartRegisteringDeviceAsync([in] HSTRING deviceId, [in] Windows.Security.Authentication.Identity.Provider.SecondaryAuthenticationFactorDeviceCapabilities capabilities, [in] HSTRING deviceFriendlyName, [in] HSTRING deviceModelNumber, [in] Windows.Storage.Streams.IBuffer* deviceKey, [in] Windows.Storage.Streams.IBuffer* mutualAuthenticationKey, [out] [retval] Windows.Foundation.IAsyncOperation<Windows.Security.Authentication.Identity.Provider.SecondaryAuthenticationFactorRegistrationResult*>** operation);
                        [deprecated("SecondaryAuthenticationFactorRegistration is deprecated and might not work on all platforms. For more info, see MSDN.", deprecate, Windows.Foundation.UniversalApiContract, 10.0)] HRESULT FindAllRegisteredDeviceInfoAsync([in] Windows.Security.Authentication.Identity.Provider.SecondaryAuthenticationFactorDeviceFindScope queryType, [out] [retval] Windows.Foundation.IAsyncOperation<Windows.Foundation.Collections.IVectorView<Windows.Security.Authentication.Identity.Provider.SecondaryAuthenticationFactorInfo*>*>** deviceInfoList);
                        [deprecated("SecondaryAuthenticationFactorRegistration is deprecated and might not work on all platforms. For more info, see MSDN.", deprecate, Windows.Foundation.UniversalApiContract, 10.0)] HRESULT UnregisterDeviceAsync([in] HSTRING deviceId, [out] [retval] Windows.Foundation.IAsyncAction** result);
                        [deprecated("SecondaryAuthenticationFactorRegistration is deprecated and might not work on all platforms. For more info, see MSDN.", deprecate, Windows.Foundation.UniversalApiContract, 10.0)] HRESULT UpdateDeviceConfigurationDataAsync([in] HSTRING deviceId, [in] Windows.Storage.Streams.IBuffer* deviceConfigurationData, [out] [retval] Windows.Foundation.IAsyncAction** result);
                    }

                    [contract(Windows.Foundation.UniversalApiContract, 3.0)]
                    [deprecated("SecondaryAuthenticationFactorAuthentication is deprecated and might not work on all platforms. For more info, see MSDN.", deprecate, Windows.Foundation.UniversalApiContract, 10.0)]
                    [marshaling_behavior(agile)]
                    [static(Windows.Security.Authentication.Identity.Provider.ISecondaryAuthenticationFactorAuthenticationStatics, Windows.Foundation.UniversalApiContract, 3.0)]
                    [threading(both)]
                    runtimeclass SecondaryAuthenticationFactorAuthentication
                    {
                        [default] interface Windows.Security.Authentication.Identity.Provider.ISecondaryAuthenticationFactorAuthentication;
                    }

                    [contract(Windows.Foundation.UniversalApiContract, 3.0)]
                    [deprecated("SecondaryAuthenticationFactorAuthenticationResult is deprecated and might not work on all platforms. For more info, see MSDN.", deprecate, Windows.Foundation.UniversalApiContract, 10.0)]
                    [marshaling_behavior(agile)]
                    [threading(both)]
                    runtimeclass SecondaryAuthenticationFactorAuthenticationResult
                    {
                        [default] interface Windows.Security.Authentication.Identity.Provider.ISecondaryAuthenticationFactorAuthenticationResult;
                    }

                    [contract(Windows.Foundation.UniversalApiContract, 3.0)]
                    [deprecated("SecondaryAuthenticationFactorAuthenticationStageChangedEventArgs is deprecated and might not work on all platforms. For more info, see MSDN.", deprecate, Windows.Foundation.UniversalApiContract, 10.0)]
                    [marshaling_behavior(agile)]
                    [threading(both)]
                    runtimeclass SecondaryAuthenticationFactorAuthenticationStageChangedEventArgs
                    {
                        [default] interface Windows.Security.Authentication.Identity.Provider.ISecondaryAuthenticationFactorAuthenticationStageChangedEventArgs;
                    }

                    [contract(Windows.Foundation.UniversalApiContract, 3.0)]
                    [deprecated("SecondaryAuthenticationFactorAuthenticationStageInfo is deprecated and might not work on all platforms. For more info, see MSDN.", deprecate, Windows.Foundation.UniversalApiContract, 10.0)]
                    [marshaling_behavior(agile)]
                    [threading(both)]
                    runtimeclass SecondaryAuthenticationFactorAuthenticationStageInfo
                    {
                        [default] interface Windows.Security.Authentication.Identity.Provider.ISecondaryAuthenticationFactorAuthenticationStageInfo;
                    }

                    [contract(Windows.Foundation.UniversalApiContract, 3.0)]
                    [deprecated("SecondaryAuthenticationFactorInfo is deprecated and might not work on all platforms. For more info, see MSDN.", deprecate, Windows.Foundation.UniversalApiContract, 10.0)]
                    [marshaling_behavior(agile)]
                    [threading(both)]
                    runtimeclass SecondaryAuthenticationFactorInfo
                    {
                        [default] interface Windows.Security.Authentication.Identity.Provider.ISecondaryAuthenticationFactorInfo;
                        [contract(Windows.Foundation.UniversalApiContract, 4.0)] interface Windows.Security.Authentication.Identity.Provider.ISecondaryAuthenticationFactorInfo2;
                    }

                    [contract(Windows.Foundation.UniversalApiContract, 3.0)]
                    [deprecated("SecondaryAuthenticationFactorRegistration is deprecated and might not work on all platforms. For more info, see MSDN.", deprecate, Windows.Foundation.UniversalApiContract, 10.0)]
                    [marshaling_behavior(agile)]
                    [static(Windows.Security.Authentication.Identity.Provider.ISecondaryAuthenticationFactorDevicePresenceMonitoringRegistrationStatics, Windows.Foundation.UniversalApiContract, 4.0)]
                    [static(Windows.Security.Authentication.Identity.Provider.ISecondaryAuthenticationFactorRegistrationStatics, Windows.Foundation.UniversalApiContract, 3.0)]
                    [threading(both)]
                    runtimeclass SecondaryAuthenticationFactorRegistration
                    {
                        [default] interface Windows.Security.Authentication.Identity.Provider.ISecondaryAuthenticationFactorRegistration;
                    }

                    [contract(Windows.Foundation.UniversalApiContract, 3.0)]
                    [deprecated("SecondaryAuthenticationFactorRegistrationResult is deprecated and might not work on all platforms. For more info, see MSDN.", deprecate, Windows.Foundation.UniversalApiContract, 10.0)]
                    [marshaling_behavior(agile)]
                    [threading(both)]
                    runtimeclass SecondaryAuthenticationFactorRegistrationResult
                    {
                        [default] interface Windows.Security.Authentication.Identity.Provider.ISecondaryAuthenticationFactorRegistrationResult;
                    }
                }
            }
        }
    }
}
