403Webshell
Server IP : 127.0.0.1  /  Your IP : 192.168.99.1
Web Server : Apache/2.4.35 (Win64) OpenSSL/1.1.1b mod_fcgid/2.3.9
System : Windows NT WIN-JEJMB9EN0L0 10.0 build 14393 (Windows Server 2016) AMD64
User : Administrator ( 0)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /laragon4/www/wa-gateway/vendor/tomcan/acmeclient/src/Objects/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /laragon4/www/wa-gateway/vendor/tomcan/acmeclient/src/Objects/Authorization.php
<?php

namespace TomCan\AcmeClient\Objects;

use TomCan\AcmeClient\Interfaces\AuthorizationInterface;
use TomCan\AcmeClient\Interfaces\ChallengeInterface;

class Authorization implements AuthorizationInterface
{
    private string $url;
    private string $identifier;
    private string $status;
    private \DateTime $expires;
    /**
     * @var ChallengeInterface[]
     */
    private array $challenges;

    /**
     * @param ChallengeInterface[] $challenges
     */
    public function __construct(string $url, string $identifier, string $status, \DateTime $expires, array $challenges)
    {
        $this->url = $url;
        $this->identifier = $identifier;
        $this->status = $status;
        $this->expires = $expires;
        $this->challenges = $challenges;
    }

    /**
     * @param ChallengeInterface[] $challenges
     */
    public static function create(string $url, string $identifier, string $status, \DateTime $expires, array $challenges): AuthorizationInterface
    {
        return new Authorization($url, $identifier, $status, $expires, $challenges);
    }

    public function getUrl(): string
    {
        return $this->url;
    }

    public function getIdentifier(): string
    {
        return $this->identifier;
    }

    public function getStatus(): string
    {
        return $this->status;
    }

    public function setStatus(string $status): void
    {
        $this->status = $status;
    }

    public function getExpires(): \DateTime
    {
        return $this->expires;
    }

    /**
     * @return ChallengeInterface[]
     */
    public function getChallenges(): array
    {
        return $this->challenges;
    }
}

Youez - 2016 - github.com/yon3zu
LinuXploit