public __construct ( stdClass $challenge, string $location, |
||
$challenge | stdClass | Challenge properties from ACME |
$location | string | Location |
$domain | Main Domain object | |
$challengeDomain | string | Domain or subdomain to be challenged |
function __construct($challenge, $location, $domain, $challengeDomain)
{
$this->type = $challenge->type;
$this->status = $challenge->status;
$this->uri = $challenge->uri;
$this->token = $challenge->token;
$this->location = $location;
$this->domain = $domain;
$this->challengeDomain = $challengeDomain;
}