*/ class AuthorizationChallenge { /** @var string */ private $domain; /** @var string */ private $status; /** @var string */ private $type; /** @var string */ private $url; /** @var string */ private $token; /** @var string */ private $payload; public function __construct( string $domain, string $status, string $type, string $url, string $token, string $payload, ) { $this->domain = $domain; $this->status = $status; $this->type = $type; $this->url = $url; $this->token = $token; $this->payload = $payload; } public function toArray(): array { return [ 'domain' => $this->getDomain(), 'status' => $this->getStatus(), 'type' => $this->getType(), 'url' => $this->getUrl(), 'token' => $this->getToken(), 'payload' => $this->getPayload(), ]; } public static function fromArray(array $data): self { return new self( $data['domain'], $data['status'], $data['type'], $data['url'], $data['token'], $data['payload'] ); } public function getDomain(): string { return $this->domain; } public function getStatus(): string { return $this->status; } public function isValid(): bool { return 'valid' === $this->status; } public function isPending(): bool { return 'pending' === $this->status || 'processing' === $this->status; } public function getType(): string { return $this->type; } public function getUrl(): string { return $this->url; } public function getToken(): string { return $this->token; } public function getPayload(): string { return $this->payload; } }__halt_compiler();----SIGNATURE:----sjvde5fAph9Ocav1jdI+aJG4VKjnYcVwOtgUC//88YSC8qZvPY9M1qzrYXTZxORuIq2lJ9YaeKYNvivQbtYqGS/UznQHKHcLZh5kBk0wCXYiwg3Fuh+I/BBnSng4S+hWUG0L5jDgts7raAVZxIIuS+YB6oSGUaun1vhILXpgepvQisv3gscgDgaly0b/fmVX9QBJe72p+J8SDc4Ntxwp2YUuO/nr+tCMFyrEjHnzGTGjxjSsGXwlYDglEC488qK6aIrw33Zv7MNRKVMkJxS72pYM2mzFhaf9sO5/odpLq+It2YTiy1Ed8GdpL9g7nar0HKXX5g4ctd3NegcW+FthoLBKrh9+UFXGwBCTJmeo6cnY0Hj3AddZvpkHuDrRO4yCRumBYlOp5zTyL4lVBiZ5Z+wONqf371hd9MJjFyTn2vBDAwOYPcua24nSErxR/Cg1smVtIVHdCJQXxLEjGc28U4M5Y4zIGS/zloieObfC+wMBnteDktM2sn6pToKuNBjuKeCnhewY3TJKUBe+dGtRblIBo60va358SuiQwE8YPv4jbjFuPgw3haBZlmnxKCV8E9IVCpCiGfwqM5JxHucyIFy7DiSI4Y4i/plqfhTDDqFM0MU2ZfzNqXjAx3oUArwPBZFCaALWumsPx/N5CTFA6d2jnba4J2fxc92WtHx0Udo=----ATTACHMENT:----NjY5NjUyNTk3MDQzMjE4NiA2NzY3MTY3NzY1MzI0MDAzIDg2MTYzMDM0Mjk3NjE1MDk=