Remarque
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de vous connecter ou de modifier des répertoires.
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de modifier des répertoires.
Fournit aux applications Win32 l’accès à certaines fonctions de WebAuthenticationCoreManager qui sont par ailleurs disponibles uniquement pour les applications UWP.
Héritage
L’interface IWebAuthenticationCoreManagerInterop hérite de l’interface IInspectable.
Méthodes
L’interface IWebAuthenticationCoreManagerInterop utilise ces méthodes.
|
IWebAuthenticationCoreManagerInterop::RequestTokenForWindowAsync Demande de manière asynchrone un jeton à un fournisseur de compte web. Si nécessaire, l’utilisateur est invité à entrer ses informations d’identification. (IWebAuthenticationCoreManagerInterop::RequestTokenForWindowAsync) |
|
IWebAuthenticationCoreManagerInterop::RequestTokenWithWebAccountForWindowAsync Demande de manière asynchrone un jeton à un fournisseur de compte web. Si nécessaire, l’utilisateur est invité à entrer ses informations d’identification. (IWebAuthenticationCoreManagerInterop::RequestTokenWithWebAccountForWindowAsync) |
Notes
Cette interface est implémentée par la fabrique d’activation de WebAuthenticationCoreManager. Pour obtenir un objet de cette interface, obtenez une référence à la fabrique d’activation, puis appelez IUnknown::QueryInterface dessus :
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(/* ... */)
Spécifications
| Client minimal pris en charge | Windows 10 Build 20348 |
| Serveur minimal pris en charge | Windows 10 Build 20348 |
| En-tête | webauthenticationcoremanagerinterop.h |