removeHttpAuthCredential method
Future<void>
removeHttpAuthCredential({
- required URLProtectionSpace protectionSpace,
- required URLCredential credential,
Removes an HTTP auth credential
for that protectionSpace
.
Officially Supported Platforms/Implementations:
- Android native WebView
- iOS (Official API - URLCredentialStorage.remove)
- MacOS (Official API - URLCredentialStorage.remove)
Implementation
Future<void> removeHttpAuthCredential(
{required URLProtectionSpace protectionSpace,
required URLCredential credential}) =>
platform.removeHttpAuthCredential(
protectionSpace: protectionSpace, credential: credential);