Help for this page

Select Code to Download


  1. or download this
    package DigiCert::Automation;
    
    ...
      push @{ $ua->requests_redirectable }, 'POST';
      return $ua;
    }
    
  2. or download this
    # Shorthand for attaching the auth token and running an API request.
    sub _user_agent_request($self, $req) {
    ...
        croak "DigiCert ".$res->status_line." -- ".$res->decoded_content;
      }
    }
    
  3. or download this
    # Shorthand private method for GET request with URL parameters
    sub _api_get($self, $uri_tail, $query_params) {
    ...
      my $res= $self->_user_agent_request($req);
      return $self->_return_data_or_die_informatively($res, $req);
    }
    
  4. or download this
    perl -Ilib -MDDP -MDigicert::CertCentral -E '\
      my $d= Digicert::CertCentral->new(api_key => $ENV{DIGICERT_API_KEY})
    +; \
      my $data= $d->_api_post("automation/viewAutomationDetails", { accoun
    +tId => ... }); \
      p $data;'
    
  5. or download this
    =head2 api_viewAutomationDetails
    
    ...
      length $params{automationId} or croak "automationId required";
      $self->_api_post("automation/viewAutomationDetails", \%params);
    }
    
  6. or download this
    package Digicert::CertCentral;
    
    ...
      $self->data->{autoStatusResponse}{automationStatus};
    }