clearAllAuthCredentials method

  1. @SupportedPlatforms.new(platforms: [AndroidPlatform(), IOSPlatform(), MacOSPlatform(), LinuxPlatform()])
Future<void> clearAllAuthCredentials()

Removes all the HTTP auth credentials saved in the database.

Officially Supported Platforms/Implementations:

  • Android WebView
  • iOS WKWebView
  • macOS WKWebView
  • Linux WPE WebKit

Use the PlatformHttpAuthCredentialDatabase.isMethodSupported method to check if this method is supported at runtime.

Implementation

@SupportedPlatforms(
  platforms: [
    AndroidPlatform(),
    IOSPlatform(),
    MacOSPlatform(),
    LinuxPlatform(),
  ],
)
Future<void> clearAllAuthCredentials() {
  throw UnimplementedError(
    'clearAllAuthCredentials is not implemented on the current platform',
  );
}