From 00341e0ac80f4cd4dfb8d980f8593bcc4eede98d Mon Sep 17 00:00:00 2001 From: Scott Jones Date: Wed, 21 Jul 2021 14:48:21 -0700 Subject: [PATCH] fixed typo in IWebAuthenticationCoreManagerInterop --- src/cswinrt/strings/ComInteropHelpers.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/cswinrt/strings/ComInteropHelpers.cs b/src/cswinrt/strings/ComInteropHelpers.cs index cf417b398..1e9319c22 100644 --- a/src/cswinrt/strings/ComInteropHelpers.cs +++ b/src/cswinrt/strings/ComInteropHelpers.cs @@ -190,16 +190,16 @@ public static class WebAuthenticationCoreManagerInterop { private static IWebAuthenticationCoreManagerInterop webAuthenticationCoreManagerInterop = WebAuthenticationCoreManager.As(); - public static IAsyncInfo RequestTokenForWindowAsync(IntPtr appWindow, WebTokenRequest request) + public static IAsyncOperation RequestTokenForWindowAsync(IntPtr appWindow, WebTokenRequest request) { var iid = GuidGenerator.CreateIID(typeof(IAsyncOperation)); - return (IAsyncInfo)webAuthenticationCoreManagerInterop.RequestTokenForWindowAsync(appWindow, request, iid); + return (IAsyncOperation)webAuthenticationCoreManagerInterop.RequestTokenForWindowAsync(appWindow, request, iid); } - public static IAsyncInfo RequestTokenWithWebAccountForWindowAsync(IntPtr appWindow, WebTokenRequest request, WebAccount webAccount) + public static IAsyncOperation RequestTokenWithWebAccountForWindowAsync(IntPtr appWindow, WebTokenRequest request, WebAccount webAccount) { var iid = GuidGenerator.CreateIID(typeof(IAsyncOperation)); - return (IAsyncInfo)webAuthenticationCoreManagerInterop.RequestTokenWithWebAccountForWindowAsync(appWindow, request, webAccount, iid); + return (IAsyncOperation)webAuthenticationCoreManagerInterop.RequestTokenWithWebAccountForWindowAsync(appWindow, request, webAccount, iid); } } #endif