共用方式為


MicrosoftAccountMultiFactorAuthenticationManager.ApproveSessionAsync 方法

定義

多載

ApproveSessionAsync(MicrosoftAccountMultiFactorSessionAuthenticationStatus, MicrosoftAccountMultiFactorSessionInfo)

此 API 僅供內部使用,不應在您的程式碼中使用。

ApproveSessionAsync(MicrosoftAccountMultiFactorSessionAuthenticationStatus, String, String, MicrosoftAccountMultiFactorAuthenticationType)

此 API 僅供內部使用,不應在您的程式碼中使用。

ApproveSessionAsync(MicrosoftAccountMultiFactorSessionAuthenticationStatus, MicrosoftAccountMultiFactorSessionInfo)

此 API 僅供內部使用,不應在您的程式碼中使用。

public:
 virtual IAsyncOperation<MicrosoftAccountMultiFactorServiceResponse> ^ ApproveSessionAsync(MicrosoftAccountMultiFactorSessionAuthenticationStatus sessionAuthentictionStatus, MicrosoftAccountMultiFactorSessionInfo ^ authenticationSessionInfo) = ApproveSessionAsync;
/// [Windows.Foundation.Metadata.Overload("ApproveSessionUsingAuthSessionInfoAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<MicrosoftAccountMultiFactorServiceResponse> ApproveSessionAsync(MicrosoftAccountMultiFactorSessionAuthenticationStatus const& sessionAuthentictionStatus, MicrosoftAccountMultiFactorSessionInfo const& authenticationSessionInfo);
[Windows.Foundation.Metadata.Overload("ApproveSessionUsingAuthSessionInfoAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<MicrosoftAccountMultiFactorServiceResponse> ApproveSessionAsync(MicrosoftAccountMultiFactorSessionAuthenticationStatus sessionAuthentictionStatus, MicrosoftAccountMultiFactorSessionInfo authenticationSessionInfo);
function approveSessionAsync(sessionAuthentictionStatus, authenticationSessionInfo)
Public Function ApproveSessionAsync (sessionAuthentictionStatus As MicrosoftAccountMultiFactorSessionAuthenticationStatus, authenticationSessionInfo As MicrosoftAccountMultiFactorSessionInfo) As IAsyncOperation(Of MicrosoftAccountMultiFactorServiceResponse)

參數

sessionAuthentictionStatus
MicrosoftAccountMultiFactorSessionAuthenticationStatus

此 API 僅供內部使用,不應在您的程式碼中使用。

authenticationSessionInfo
MicrosoftAccountMultiFactorSessionInfo

此 API 僅供內部使用,不應在您的程式碼中使用。

傳回

此 API 僅供內部使用,不應在您的程式碼中使用。

屬性

另請參閱

適用於

ApproveSessionAsync(MicrosoftAccountMultiFactorSessionAuthenticationStatus, String, String, MicrosoftAccountMultiFactorAuthenticationType)

此 API 僅供內部使用,不應在您的程式碼中使用。

public:
 virtual IAsyncOperation<MicrosoftAccountMultiFactorServiceResponse> ^ ApproveSessionAsync(MicrosoftAccountMultiFactorSessionAuthenticationStatus sessionAuthentictionStatus, Platform::String ^ userAccountId, Platform::String ^ sessionId, MicrosoftAccountMultiFactorAuthenticationType sessionAuthenticationType) = ApproveSessionAsync;
/// [Windows.Foundation.Metadata.Overload("ApproveSessionAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<MicrosoftAccountMultiFactorServiceResponse> ApproveSessionAsync(MicrosoftAccountMultiFactorSessionAuthenticationStatus const& sessionAuthentictionStatus, winrt::hstring const& userAccountId, winrt::hstring const& sessionId, MicrosoftAccountMultiFactorAuthenticationType const& sessionAuthenticationType);
[Windows.Foundation.Metadata.Overload("ApproveSessionAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<MicrosoftAccountMultiFactorServiceResponse> ApproveSessionAsync(MicrosoftAccountMultiFactorSessionAuthenticationStatus sessionAuthentictionStatus, string userAccountId, string sessionId, MicrosoftAccountMultiFactorAuthenticationType sessionAuthenticationType);
function approveSessionAsync(sessionAuthentictionStatus, userAccountId, sessionId, sessionAuthenticationType)
Public Function ApproveSessionAsync (sessionAuthentictionStatus As MicrosoftAccountMultiFactorSessionAuthenticationStatus, userAccountId As String, sessionId As String, sessionAuthenticationType As MicrosoftAccountMultiFactorAuthenticationType) As IAsyncOperation(Of MicrosoftAccountMultiFactorServiceResponse)

參數

sessionAuthentictionStatus
MicrosoftAccountMultiFactorSessionAuthenticationStatus

此 API 僅供內部使用,不應在您的程式碼中使用。

userAccountId
String

Platform::String

winrt::hstring

此 API 僅供內部使用,不應在您的程式碼中使用。

sessionId
String

Platform::String

winrt::hstring

此 API 僅供內部使用,不應在您的程式碼中使用。

sessionAuthenticationType
MicrosoftAccountMultiFactorAuthenticationType

此 API 僅供內部使用,不應在您的程式碼中使用。

傳回

此 API 僅供內部使用,不應在您的程式碼中使用。

屬性

另請參閱

適用於