IWebAuthenticationCoreManagerInterop 인터페이스(webauthenticationcoremanagerinterop.h)

UWP 앱에서만 사용할 수 있는 WebAuthenticationCoreManager 의 특정 기능에 액세스할 수 있는 Win32 앱을 제공합니다.

상속

IWebAuthenticationCoreManagerInterop 인터페이스는 IInspectable 인터페이스에서 상속됩니다.

메서드

IWebAuthenticationCoreManagerInterop 인터페이스에는 이러한 메서드가 있습니다.

 
IWebAuthenticationCoreManagerInterop::RequestTokenForWindowAsync

웹 계정 공급자로부터 토큰을 비동기적으로 요청합니다. 필요한 경우 사용자에게 자격 증명을 입력하라는 메시지가 표시됩니다. (IWebAuthenticationCoreManagerInterop::RequestTokenForWindowAsync)
IWebAuthenticationCoreManagerInterop::RequestTokenWithWebAccountForWindowAsync

웹 계정 공급자로부터 토큰을 비동기적으로 요청합니다. 필요한 경우 사용자에게 자격 증명을 입력하라는 메시지가 표시됩니다. (IWebAuthenticationCoreManagerInterop::RequestTokenWithWebAccountForWindowAsync)

설명

이 인터페이스는 WebAuthenticationCoreManager의 정품 인증 팩터리에 의해 구현됩니다. 이 인터페이스의 개체를 얻으려면 활성화 팩터리에 대한 참조를 가져와서 IUnknown::QueryInterface 를 호출합니다.

using winrt::Windows::Security::Authentication::Web::Core::WebAuthenticationCoreManager;

auto managerFactory = winrt::get_activation_factory<WebAuthenticationCoreManager>();
winrt::com_ptr<IWebAuthenticationCoreManagerInterop> managerInterop{ managerFactory.as<IWebAuthenticationCoreManagerInterop>() };

managerInterop->RequestTokenForWindowAsync(/* ... */)

요구 사항

   
지원되는 최소 클라이언트 Windows 10 빌드 20348
지원되는 최소 서버 Windows 10 빌드 20348
머리글 webauthenticationcoremanagerinterop.h