resolveAllowRequestLetsEncryptCertificate static method

bool resolveAllowRequestLetsEncryptCertificate(
  1. bool? allowRequestLetsEncryptCertificate, {
  2. APIConfig? apiConfig,
})

Implementation

static bool resolveAllowRequestLetsEncryptCertificate(
    bool? allowRequestLetsEncryptCertificate,
    {APIConfig? apiConfig}) {
  allowRequestLetsEncryptCertificate ??=
      apiConfig?.getPath('letsencrypt', 'allow-request-certificate');
  allowRequestLetsEncryptCertificate ??= false;
  return allowRequestLetsEncryptCertificate;
}