Interface IWebAuthenticationCoreManagerInterop (webauthenticationcoremanagerinterop.h)
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 |
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour