Compartir a través de


interface ICoreWebView2BasicAuthenticationResponse

interface ICoreWebView2BasicAuthenticationResponse
  : public IUnknown

Represents a Basic HTTP authentication response that contains a user name and a password as according to RFC7617 (https://tools.ietf.org/html/rfc7617)

Summary

Members Descriptions
get_Password Password provided for authentication.
get_UserName User name provided for authentication.
put_Password Set password property.
put_UserName Set user name property.

Applies to

Product Introduced
WebView2 Win32 1.0.1150.38
WebView2 Win32 Prerelease 1.0.1133

Members

get_Password

Password provided for authentication.

public HRESULT get_Password(LPWSTR * password)

The caller must free the returned string with CoTaskMemFree. See API Conventions.

get_UserName

User name provided for authentication.

public HRESULT get_UserName(LPWSTR * userName)

The caller must free the returned string with CoTaskMemFree. See API Conventions.

put_Password

Set password property.

public HRESULT put_Password(LPCWSTR password)

put_UserName

Set user name property.

public HRESULT put_UserName(LPCWSTR userName)