Partager via


CoreWebView2BasicAuthenticationRequestedEventArgs Class

Definition

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.

Applies to