Click or drag to resize

RequestContextExtensionsClearHttpAuthCredentialsAsync Method

Version 104.4.240
Clears all HTTP authentication credentials that were added as part of handling GetAuthCredentials(IWebBrowser, IBrowser, String, Boolean, String, Int32, String, String, IAuthCallback).

Namespace:  CefSharp
Assembly:  CefSharp (in CefSharp.dll) Version: 104.4.240.0 (104.4.240.0)
Syntax
public static Task<bool> ClearHttpAuthCredentialsAsync(
	this IRequestContext requestContext
)

Parameters

requestContext
Type: CefSharpIRequestContext
request context

Return Value

Type: TaskBoolean
A task that represents the ClearHttpAuthCredentials operation. Result indicates if the credentials cleared successfully.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IRequestContext. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also