Share via


SecondaryAuthenticationFactorAuthenticationTrigger Class

Definition

Represents a trigger that launches a background task on behalf of a companion device.

public ref class SecondaryAuthenticationFactorAuthenticationTrigger sealed
/// [Windows.Foundation.Metadata.Activatable(196608, "Windows.Foundation.UniversalApiContract")]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 196608)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Standard)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.MTA)]
class SecondaryAuthenticationFactorAuthenticationTrigger final
/// [Windows.Foundation.Metadata.Activatable(196608, "Windows.Foundation.UniversalApiContract")]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 196608)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Standard)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.MTA)]
/// [Windows.Foundation.Metadata.Deprecated("SecondaryAuthenticationFactorAuthenticationTrigger is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 655360, "Windows.Foundation.UniversalApiContract")]
class SecondaryAuthenticationFactorAuthenticationTrigger final
[Windows.Foundation.Metadata.Activatable(196608, "Windows.Foundation.UniversalApiContract")]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 196608)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Standard)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.MTA)]
public sealed class SecondaryAuthenticationFactorAuthenticationTrigger
[Windows.Foundation.Metadata.Activatable(196608, "Windows.Foundation.UniversalApiContract")]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 196608)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Standard)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.MTA)]
[Windows.Foundation.Metadata.Deprecated("SecondaryAuthenticationFactorAuthenticationTrigger is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 655360, "Windows.Foundation.UniversalApiContract")]
public sealed class SecondaryAuthenticationFactorAuthenticationTrigger
function SecondaryAuthenticationFactorAuthenticationTrigger()
Public NotInheritable Class SecondaryAuthenticationFactorAuthenticationTrigger
Inheritance
Object Platform::Object IInspectable SecondaryAuthenticationFactorAuthenticationTrigger
Attributes
Implements

Windows requirements

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

Remarks

A companion device acts in conjunction with your Windows 10 for desktop editions (Home, Pro, Enterprise, and Education) or Windows 10 Mobile device to enhance the user authentication experience. For instance, a user may attach their companion device to PC via USB, touch the fingerprint reader on the companion device, which automatically unlocks their PC.

When the companion device app registers the first companion device, it should also register its background task component which will pass authentication information between device and companion device authentication service.

Constructors

SecondaryAuthenticationFactorAuthenticationTrigger()

Initializes a new instance of the SecondaryAuthenticationFactorAuthenticationTrigger class.

Applies to

See also