updated ProtectionSpaceHttpAuthCredentials doc

This commit is contained in:
Lorenzo Pichilli 2020-06-20 22:05:16 +02:00
parent 9743687ede
commit e0b384bcf6
2 changed files with 5 additions and 2 deletions

View File

@ -35,8 +35,6 @@ public class InAppWebViewFlutterPlugin implements FlutterPlugin, ActivityAware {
public InAppWebViewFlutterPlugin() {}
public static void registerWith(PluginRegistry.Registrar registrar) {
Log.d(LOG_TAG, "\n\n\nregisterWith\n\n\n");
final InAppWebViewFlutterPlugin instance = new InAppWebViewFlutterPlugin();
Shared.registrar = registrar;
instance.onAttachedToEngine(

View File

@ -874,8 +874,13 @@ class HttpAuthCredential {
}
}
///Class that represents a [ProtectionSpace] with all of its [HttpAuthCredential]s.
///It used by [HttpAuthCredentialDatabase.getAllAuthCredentials].
class ProtectionSpaceHttpAuthCredentials {
///The protection space.
ProtectionSpace protectionSpace;
///The list of all its http authentication credentials.
List<HttpAuthCredential> credentials;
ProtectionSpaceHttpAuthCredentials({this.protectionSpace, this.credentials});