SecondaryAuthenticationFactorAuthentication.StartAuthenticationAsync Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Starten Sie eine Authentifizierung mit einem Begleitgerät.
Hinweis
Diese API ist nicht für alle Apps verfügbar. Wenn Ihr Entwicklerkonto nicht speziell von Microsoft für die Verwendung der funktion secondaryAuthenticationFactor bereitgestellt wurde, schlagen Aufrufe dieser API fehl. Wenden Sie sich an cdfonboard@microsoft.com, um eine Genehmigung zu beantragen. Weitere Informationen zu Funktionen finden Sie unter App-Funktionsdeklarationen. Eine Übersicht über das Begleitgeräteframework finden Sie unter Windows Unlock with companion devices (IoT)-Geräte –Übersicht.
public:
static IAsyncOperation<SecondaryAuthenticationFactorAuthenticationResult ^> ^ StartAuthenticationAsync(Platform::String ^ deviceId, IBuffer ^ serviceAuthenticationNonce);
/// [Windows.Foundation.Metadata.RemoteAsync]
static IAsyncOperation<SecondaryAuthenticationFactorAuthenticationResult> StartAuthenticationAsync(winrt::hstring const& deviceId, IBuffer const& serviceAuthenticationNonce);
/// [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")]
static IAsyncOperation<SecondaryAuthenticationFactorAuthenticationResult> StartAuthenticationAsync(winrt::hstring const& deviceId, IBuffer const& serviceAuthenticationNonce);
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<SecondaryAuthenticationFactorAuthenticationResult> StartAuthenticationAsync(string deviceId, IBuffer serviceAuthenticationNonce);
[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 static IAsyncOperation<SecondaryAuthenticationFactorAuthenticationResult> StartAuthenticationAsync(string deviceId, IBuffer serviceAuthenticationNonce);
function startAuthenticationAsync(deviceId, serviceAuthenticationNonce)
Public Shared Function StartAuthenticationAsync (deviceId As String, serviceAuthenticationNonce As IBuffer) As IAsyncOperation(Of SecondaryAuthenticationFactorAuthenticationResult)
Parameter
- deviceId
-
String
Platform::String
winrt::hstring
Die ID des Geräts, bei dem die Authentifizierung durchgeführt werden soll.
- serviceAuthenticationNonce
- IBuffer
Die Dienstauthentifizierungs-Nonce.
Gibt zurück
Nach Abschluss dieser Methode werden die Ergebnisse der Authentifizierung zurückgegeben.
- Attribute