Share via


SecondaryAuthenticationFactorAuthenticationStageInfo.Scenario Property

Definition

Gets the authentication scenario (sign in versus credential prompt).

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:
 property SecondaryAuthenticationFactorAuthenticationScenario Scenario { SecondaryAuthenticationFactorAuthenticationScenario get(); };
SecondaryAuthenticationFactorAuthenticationScenario Scenario();
/// [get: Windows.Foundation.Metadata.Deprecated("SecondaryAuthenticationFactorAuthenticationStageInfo is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 655360, "Windows.Foundation.UniversalApiContract")]
SecondaryAuthenticationFactorAuthenticationScenario Scenario();
public SecondaryAuthenticationFactorAuthenticationScenario Scenario { get; }
public SecondaryAuthenticationFactorAuthenticationScenario Scenario { [Windows.Foundation.Metadata.Deprecated("SecondaryAuthenticationFactorAuthenticationStageInfo is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 655360, "Windows.Foundation.UniversalApiContract")] get; }
var secondaryAuthenticationFactorAuthenticationScenario = secondaryAuthenticationFactorAuthenticationStageInfo.scenario;
Public ReadOnly Property Scenario As SecondaryAuthenticationFactorAuthenticationScenario

Property Value

The authentication scenario.

Attributes

Applies to

See also