removeHttpAuthCredentials method

Future<void> removeHttpAuthCredentials({
  1. required URLProtectionSpace protectionSpace,
})

Removes all the HTTP auth credentials saved for that protectionSpace.

Officially Supported Platforms/Implementations:

  • Android native WebView
  • iOS
  • MacOS

Implementation

Future<void> removeHttpAuthCredentials(
        {required URLProtectionSpace protectionSpace}) =>
    platform.removeHttpAuthCredentials(protectionSpace: protectionSpace);