Click or drag to resize

RequestContextExtensions.ClearHttpAuthCredentialsAsync Method

Version 130.1.90
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: 129.0.110.0 (129.0.110.0)
Syntax
public static Task<bool> ClearHttpAuthCredentialsAsync(
	this IRequestContext requestContext
)

Parameters

requestContext  IRequestContext
request context

Return Value

Task<Boolean>
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