MicrosoftAccountMultiFactorAuthenticationManager.ApproveSessionAsync 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
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 仅供内部使用,不应在代码中使用。
- 属性