accounts/common/components/OAuth2/Keys/EmptyKey.php

23 lines
391 B
PHP

<?php
declare(strict_types=1);
namespace common\components\OAuth2\Keys;
use League\OAuth2\Server\CryptKeyInterface;
final class EmptyKey implements CryptKeyInterface {
public function getKeyPath(): string {
return '';
}
public function getPassPhrase(): ?string {
return null;
}
public function getKeyContents(): string {
return '';
}
}