CertificatePinningInterceptor constructor

CertificatePinningInterceptor({
  1. List<String>? allowedSHAFingerprints,
  2. int timeout = 0,
  3. bool callFollowingErrorInterceptor = false,
})

Implementation

CertificatePinningInterceptor({
  List<String>? allowedSHAFingerprints,
  int timeout = 0,
  this.callFollowingErrorInterceptor = false,
})  : _allowedSHAFingerprints = allowedSHAFingerprints != null
          ? allowedSHAFingerprints
          : <String>[],
      _timeout = timeout;