Add IRequestContext.ClearHttpAuthCredentials (#2959)

Add IRequestContext.ClearHttpAuthCredentials
This commit is contained in:
Nick
2019-11-17 21:13:30 -05:00
committed by Alex Maitland
parent 73a39a8661
commit 876d3f9ecf
3 changed files with 25 additions and 0 deletions
+9
View File
@@ -145,6 +145,15 @@ namespace CefSharp
_requestContext->ClearCertificateExceptions(wrapper);
}
void RequestContext::ClearHttpAuthCredentials(ICompletionCallback^ callback)
{
ThrowIfDisposed();
CefRefPtr<CefCompletionCallback> wrapper = callback == nullptr ? NULL : new CefCompletionCallbackAdapter(callback);
_requestContext->ClearHttpAuthCredentials(wrapper);
}
void RequestContext::CloseAllConnections(ICompletionCallback^ callback)
{
ThrowIfDisposed();
+8
View File
@@ -284,6 +284,14 @@ namespace CefSharp
/// completion. This param is optional</param>
virtual void ClearCertificateExceptions(ICompletionCallback^ callback);
/// <summary>
/// Clears all HTTP authentication credentials that were added as part of handling
/// <see cref="IRequestHandler.GetAuthCredentials"/>.
/// </summary>
/// <param name="callback">If is non-NULL it will be executed on the CEF UI thread after
/// completion. This param is optional</param>
virtual void ClearHttpAuthCredentials(ICompletionCallback^ callback);
/// <summary>
/// Clears all active and idle connections that Chromium currently has.
/// This is only recommended if you have released all other CEF objects but
+8
View File
@@ -172,6 +172,14 @@ namespace CefSharp
/// completion. This param is optional</param>
void ClearCertificateExceptions(ICompletionCallback callback);
/// <summary>
/// Clears all HTTP authentication credentials that were added as part of handling
/// <see cref="IRequestHandler.GetAuthCredentials"/>.
/// </summary>
/// <param name="callback">If is non-NULL it will be executed on the CEF UI thread after
/// completion. This param is optional</param>
void ClearHttpAuthCredentials(ICompletionCallback callback);
/// <summary>
/// Clears all active and idle connections that Chromium currently has.
/// This is only recommended if you have released all other CEF objects but