Share via


SecondaryAuthenticationFactorRegistrationStatus Enum

Definition

Represents the status of a companion device registration.

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 SecondaryAuthenticationFactorRegistrationStatus
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 196608)]
enum class SecondaryAuthenticationFactorRegistrationStatus
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 196608)]
/// [Windows.Foundation.Metadata.Deprecated("SecondaryAuthenticationFactorRegistrationStatus 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 SecondaryAuthenticationFactorRegistrationStatus
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 196608)]
public enum SecondaryAuthenticationFactorRegistrationStatus
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 196608)]
[Windows.Foundation.Metadata.Deprecated("SecondaryAuthenticationFactorRegistrationStatus 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 SecondaryAuthenticationFactorRegistrationStatus
var value = Windows.Security.Authentication.Identity.Provider.SecondaryAuthenticationFactorRegistrationStatus.failed
Public Enum SecondaryAuthenticationFactorRegistrationStatus
Inheritance
SecondaryAuthenticationFactorRegistrationStatus
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

Name Value Description
Failed 0

Registration failed.

Started 1

Registration started.

CanceledByUser 2

Registration cancelled by the user.

PinSetupRequired 3

PIN setup is required before registration can occur.

DisabledByPolicy 4

Registration is disabled by policy.

Applies to

See also