CoreWebView2BasicAuthenticationRequestedEventArgs Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Event args for the BasicAuthenticationRequested event. Will contain the request that led to the HTTP authorization challenge, the challenge and allows the host to provide authentication response or cancel the request.
public class CoreWebView2BasicAuthenticationRequestedEventArgs : EventArgs
type CoreWebView2BasicAuthenticationRequestedEventArgs = class
inherit EventArgs
Public Class CoreWebView2BasicAuthenticationRequestedEventArgs
Inherits EventArgs
- Inheritance
-
CoreWebView2BasicAuthenticationRequestedEventArgs
Properties
Cancel |
Indicates whether to cancel the authentication request. |
Challenge |
The authentication challenge string. |
Response |
Response to the authentication request with credentials. This object will be populated by the app if the host would like to provide authentication credentials. |
Uri |
The URI that led to the authentication challenge. For proxy authentication requests, this will be the URI of the proxy server. |
Methods
GetDeferral() |
Gets a Deferral object. Use this Deferral to defer the decision to show the Basic Authentication dialog. |