다음을 통해 공유


SecondaryAuthenticationFactorAuthentication.StartAuthenticationAsync 메서드

정의

도우미 디바이스를 사용하여 인증을 시작합니다.

참고

이 API는 모든 앱에서 사용할 수 없습니다. 개발자 계정이 secondaryAuthenticationFactor 기능을 사용하도록 Microsoft에서 특별히 프로비전하지 않는 한 이 API에 대한 호출은 실패합니다. 승인을 신청하려면 에 문의하세요 cdfonboard@microsoft.com. 기능에 대한 자세한 내용은 앱 기능 선언을 참조하세요. 도우미 디바이스 프레임워크에 대한 개요는 IoT(도우미를 사용하여 Windows 잠금 해제) 디바이스 개요를 참조하세요.

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)

매개 변수

deviceId
String

Platform::String

winrt::hstring

인증할 디바이스의 ID입니다.

serviceAuthenticationNonce
IBuffer

서비스 인증 nonce입니다.

반환

이 메서드가 완료되면 인증 결과를 반환합니다.

특성

적용 대상

추가 정보