Freigeben über


SecondaryAuthenticationFactorAuthentication.FinishAuthenticationAsync Methode

Definition

Beendet eine Authentifizierung mit einem Begleitgerät.

Hinweis

Diese API ist nicht für alle Apps verfügbar. Wenn Ihr Entwicklerkonto nicht speziell von Microsoft bereitgestellt wird, um die funktion secondaryAuthenticationFactor zu verwenden, schlagen Aufrufe dieser API fehl. Wenden Sie sich an , cdfonboard@microsoft.comum die Genehmigung zu beantragen. Weitere Informationen zu Funktionen finden Sie unter App-Funktionsdeklarationen. Eine Übersicht über das Companion Device Framework finden Sie in der Übersicht über Windows Unlock with Companion(IoT)-Geräte .

public:
 virtual IAsyncOperation<SecondaryAuthenticationFactorFinishAuthenticationStatus> ^ FinishAuthenticationAsync(IBuffer ^ deviceHmac, IBuffer ^ sessionHmac) = FinishAuthenticationAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<SecondaryAuthenticationFactorFinishAuthenticationStatus> FinishAuthenticationAsync(IBuffer const& deviceHmac, IBuffer const& sessionHmac);
/// [Windows.Foundation.Metadata.RemoteAsync]
/// [Windows.Foundation.Metadata.Deprecated("SecondaryAuthenticationFactorAuthentication is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 655360, "Windows.Foundation.UniversalApiContract")]
IAsyncOperation<SecondaryAuthenticationFactorFinishAuthenticationStatus> FinishAuthenticationAsync(IBuffer const& deviceHmac, IBuffer const& sessionHmac);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<SecondaryAuthenticationFactorFinishAuthenticationStatus> FinishAuthenticationAsync(IBuffer deviceHmac, IBuffer sessionHmac);
[Windows.Foundation.Metadata.RemoteAsync]
[Windows.Foundation.Metadata.Deprecated("SecondaryAuthenticationFactorAuthentication is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 655360, "Windows.Foundation.UniversalApiContract")]
public IAsyncOperation<SecondaryAuthenticationFactorFinishAuthenticationStatus> FinishAuthenticationAsync(IBuffer deviceHmac, IBuffer sessionHmac);
function finishAuthenticationAsync(deviceHmac, sessionHmac)
Public Function FinishAuthenticationAsync (deviceHmac As IBuffer, sessionHmac As IBuffer) As IAsyncOperation(Of SecondaryAuthenticationFactorFinishAuthenticationStatus)

Parameter

deviceHmac
IBuffer

Das Authentifizierungsgerät HMAC.

sessionHmac
IBuffer

Der Sitzungs-HMAC.

Gibt zurück

Wenn diese Methode abgeschlossen ist, gibt sie den status des Vorgangsabschlusses zurück.

Attribute

Gilt für:

Weitere Informationen