mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
19 lines
515 B
PHP
19 lines
515 B
PHP
<?php
|
|
|
|
namespace Appwrite\Certificates;
|
|
|
|
use Utopia\Logger\Log;
|
|
|
|
interface Adapter
|
|
{
|
|
public function issueCertificate(string $certName, string $domain, ?string $domainType): ?string;
|
|
|
|
public function isInstantGeneration(string $domain, ?string $domainType): bool;
|
|
|
|
public function getCertificateStatus(string $domain, ?string $domainType): string;
|
|
|
|
public function isRenewRequired(string $domain, ?string $domainType, Log $log): bool;
|
|
|
|
public function deleteCertificate(string $domain): void;
|
|
}
|