• File: Challenge.php
  • Full Path: /home/docteuh/www/Struct/Challenge.php
  • Date Modified: 06/18/2026 4:25 PM
  • File size: 557 bytes
  • MIME-type: text/x-php
  • Charset: utf-8
<?php

namespace LE_ACME2\Response\Authorization\Struct;
defined('ABSPATH') or die();

class Challenge {

    const STATUS_PROGRESSING = 'processing';
    const STATUS_PENDING = 'pending';
    const STATUS_VALID = 'valid';
    const STATUS_INVALID = 'invalid';

    public $type;
    public $status;
    public $url;
    public $token;

    public function __construct(string $type, string $status, string $url, string $token) {

        $this->type = $type;
        $this->status = $status;
        $this->url = $url;
        $this->token = $token;
    }
}