shouldAllowDeprecatedTLS method

  1. @override
Future<ShouldAllowDeprecatedTLSAction?>? shouldAllowDeprecatedTLS(
  1. URLAuthenticationChallenge challenge
)
override

Called when a web view asks whether to continue with a connection that uses a deprecated version of TLS (v1.0 and v1.1).

challenge represents the authentication challenge.

NOTE for iOS: available only on iOS 14.0+.

NOTE for MacOS: available only on MacOS 11.0+.

Officially Supported Platforms/Implementations:

Implementation

@override
Future<ShouldAllowDeprecatedTLSAction?>? shouldAllowDeprecatedTLS(
    URLAuthenticationChallenge challenge) {
  return null;
}