WVBrowser1BasicAuthenticationRequested
Posted: Mon Aug 15, 2022 6:05 pm
Hello. Where can I find out more about the WVBrowser1BasicAuthenticationRequested event. Can I pass the parameters for authorization on the site?
The forum for BriskBard users and CEF4Delphi / WebView4Delphi / WebUI4Delphi / WebUI4CSharp developers
https://www.briskbard.com/forum/
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.