SecondaryAuthenticationFactorAuthenticationStatus Enum

Definition

Represents the status of an authentication operation using a companion device.

Note

This API is not available to all apps. Unless your developer account is specially provisioned by Microsoft to use the secondaryAuthenticationFactor capability, calls to this API will fail. To apply for approval, contact cdfonboard@microsoft.com. For more information on capabilities, see App capability declarations. For an overview of the Companion Device Framework, see the Windows Unlock with companion (IoT) devices overview.

public enum class SecondaryAuthenticationFactorAuthenticationStatus
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 196608)]
enum class SecondaryAuthenticationFactorAuthenticationStatus
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 196608)]
/// [Windows.Foundation.Metadata.Deprecated("SecondaryAuthenticationFactorAuthenticationStatus is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 655360, "Windows.Foundation.UniversalApiContract")]
enum class SecondaryAuthenticationFactorAuthenticationStatus
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 196608)]
public enum SecondaryAuthenticationFactorAuthenticationStatus
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 196608)]
[Windows.Foundation.Metadata.Deprecated("SecondaryAuthenticationFactorAuthenticationStatus is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 655360, "Windows.Foundation.UniversalApiContract")]
public enum SecondaryAuthenticationFactorAuthenticationStatus
var value = Windows.Security.Authentication.Identity.Provider.SecondaryAuthenticationFactorAuthenticationStatus.failed
Public Enum SecondaryAuthenticationFactorAuthenticationStatus
Inheritance
SecondaryAuthenticationFactorAuthenticationStatus
Attributes

Windows requirements

Device family
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v3.0)

Fields

DisabledByPolicy 3

Companion device framework disabled by policy.

Failed 0

Authentication failed.

InvalidAuthenticationStage 4

Not a valid authentication stage.

Started 1

Authentication started.

UnknownDevice 2

Unknown companion device.

Applies to

See also