SecondaryAuthenticationFactorAuthenticationMessage Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents standard error messages.
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 SecondaryAuthenticationFactorAuthenticationMessage
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 196608)]
enum class SecondaryAuthenticationFactorAuthenticationMessage
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 196608)]
/// [Windows.Foundation.Metadata.Deprecated("SecondaryAuthenticationFactorAuthenticationMessage 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 SecondaryAuthenticationFactorAuthenticationMessage
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 196608)]
public enum SecondaryAuthenticationFactorAuthenticationMessage
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 196608)]
[Windows.Foundation.Metadata.Deprecated("SecondaryAuthenticationFactorAuthenticationMessage 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 SecondaryAuthenticationFactorAuthenticationMessage
var value = Windows.Security.Authentication.Identity.Provider.SecondaryAuthenticationFactorAuthenticationMessage.invalid
Public Enum SecondaryAuthenticationFactorAuthenticationMessage
- Inheritance
-
SecondaryAuthenticationFactorAuthenticationMessage
- 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 |
---|---|---|
Invalid | 0 | Invalid message. |
SwipeUpWelcome | 1 | Swipe up or press space bar to sign in with device name. |
TapWelcome | 2 | Tap device name to the NFC reader to sign in. |
DeviceNeedsAttention | 3 | See device name for sign-in instructions. |
LookingForDevice | 4 | Looking for device name... |
LookingForDevicePluggedin | 5 | Plug device name into a USB port to sign in. |
BluetoothIsDisabled | 6 | Turn on Bluetooth to use device name to sign in. |
NfcIsDisabled | 7 | Turn on NFC to use device name to sign in. |
WiFiIsDisabled | 8 | Connect to a Wi-Fi network to use device name to sign in. |
ExtraTapIsRequired | 9 | Tap device name again. |
DisabledByPolicy | 10 | Your enterprise prevents sign in with device name. Use another sign-in option. |
TapOnDeviceRequired | 11 | Tap device name to sign in. |
HoldFinger | 12 | Rest your finger on device name to sign in. |
ScanFinger | 13 | Swipe your finger on device name to sign in. |
UnauthorizedUser | 14 | Couldn’t sign in with device name. Use another sign-in option. |
ReregisterRequired | 15 | Something went wrong. Use another sign-in option, and then set up device name again. |
TryAgain | 16 | Try again. |
SayPassphrase | 17 | Say your Spoken Passphrase into device name. |
ReadyToSignIn | 18 | Ready to sign in with device name. |
UseAnotherSignInOption | 19 | Use another sign-in option first, then you can use device name to sign in. |
ConnectionRequired | 20 | Could not connect to companion device. Try again. |
TimeLimitExceeded | 21 | The authentication process exceeded the time limit. Try again. |
CanceledByUser | 22 | The authentication process was cancelled. Try again. |
CenterHand | 23 | Instruct the user to center their hand over the companion device. |
MoveHandCloser | 24 | Instruct the user to move their hand closer to the companion device. |
MoveHandFarther | 25 | Instruct the user to move their hand farther from the companion device. |
PlaceHandAbove | 26 | Instruct the user to move their hand above the companion device. |
RecognitionFailed | 27 | The companion device failed to recognize the user. |
DeviceUnavailable | 28 | The companion device is unavailable. Use another sign-in option. |
Remarks
Version history
Windows version | SDK version | Value added |
---|---|---|
1803 | 17134 | CanceledByUser |
1803 | 17134 | CenterHand |
1803 | 17134 | ConnectionRequired |
1803 | 17134 | DeviceUnavailable |
1803 | 17134 | MoveHandCloser |
1803 | 17134 | MoveHandFarther |
1803 | 17134 | PlaceHandAbove |
1803 | 17134 | RecognitionFailed |
1803 | 17134 | TimeLimitExceeded |