getAllAuthCredentials method
Gets a map list of all HTTP auth credentials saved.
Each map contains the key protectionSpace of type URLProtectionSpace
and the key credentials of type List<URLCredential> that contains all the HTTP auth credentials saved for that protectionSpace.
Officially Supported Platforms/Implementations:
- Android WebView
- iOS WKWebView (Official API - URLCredentialStorage.allCredentials)
- macOS WKWebView (Official API - URLCredentialStorage.allCredentials)
- Linux WPE WebKit:
- Implemented using libsecret for secure storage.
Use the PlatformHttpAuthCredentialDatabase.isMethodSupported method to check if this method is supported at runtime.
Implementation
Future<List<URLProtectionSpaceHttpAuthCredentials>> getAllAuthCredentials() =>
platform.getAllAuthCredentials();