Disclosure Statement: This site contains affiliate links, which means that I may receive a commission if you make a purchase using these links. As an eBay Partner, I earn from qualifying purchases.
WVBrowser1BasicAuthenticationRequested
WVBrowser1BasicAuthenticationRequested
Hello. Where can I find out more about the WVBrowser1BasicAuthenticationRequested event. Can I pass the parameters for authorization on the site?
- salvadordf
- Posts: 4564
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
Re: WVBrowser1BasicAuthenticationRequested
Hi,
The MiniBrowser demo has an example of that event.
You can read more information about that event in the ICoreWebView2_10 documentation :
https://docs.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2_10?view=webview2-1.0.1293.44
The documentation about ICoreWebView2BasicAuthenticationRequestedEventArgs is here :
https://docs.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2basicauthenticationrequestedeventargs?view=webview2-1.0.1293.44
The documentation about ICoreWebView2BasicAuthenticationResponse is here :
https://docs.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2basicauthenticationresponse?view=webview2-1.0.1293.44
The MiniBrowser demo uses a "Deferral" to show a custom authentication form but you should be able to set the username and password automatically too.
The MiniBrowser demo has an example of that event.
You can read more information about that event in the ICoreWebView2_10 documentation :
https://docs.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2_10?view=webview2-1.0.1293.44
The documentation about ICoreWebView2BasicAuthenticationRequestedEventArgs is here :
https://docs.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2basicauthenticationrequestedeventargs?view=webview2-1.0.1293.44
The documentation about ICoreWebView2BasicAuthenticationResponse is here :
https://docs.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2basicauthenticationresponse?view=webview2-1.0.1293.44
The MiniBrowser demo uses a "Deferral" to show a custom authentication form but you should be able to set the username and password automatically too.
Re: WVBrowser1BasicAuthenticationRequested
Thanks! You're the best!salvadordf wrote: Mon Aug 15, 2022 8:18 pm Hi,
The MiniBrowser demo has an example of that event.
You can read more information about that event in the ICoreWebView2_10 documentation :
https://docs.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2_10?view=webview2-1.0.1293.44
The documentation about ICoreWebView2BasicAuthenticationRequestedEventArgs is here :
https://docs.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2basicauthenticationrequestedeventargs?view=webview2-1.0.1293.44
The documentation about ICoreWebView2BasicAuthenticationResponse is here :
https://docs.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2basicauthenticationresponse?view=webview2-1.0.1293.44
The MiniBrowser demo uses a "Deferral" to show a custom authentication form but you should be able to set the username and password automatically too.