2019-08-23 13:58:04 +05:30
|
|
|
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
|
2024-12-06 06:04:09 +05:30
|
|
|
namespace common\components\OAuth2\Keys;
|
2019-08-23 13:58:04 +05:30
|
|
|
|
|
|
|
use League\OAuth2\Server\CryptKeyInterface;
|
|
|
|
|
2024-12-06 06:04:09 +05:30
|
|
|
final class EmptyKey implements CryptKeyInterface {
|
2019-08-23 13:58:04 +05:30
|
|
|
|
|
|
|
public function getKeyPath(): string {
|
|
|
|
return '';
|
|
|
|
}
|
|
|
|
|
|
|
|
public function getPassPhrase(): ?string {
|
2019-09-22 02:47:21 +05:30
|
|
|
return null;
|
2019-08-23 13:58:04 +05:30
|
|
|
}
|
|
|
|
|
2024-12-02 15:40:55 +05:30
|
|
|
public function getKeyContents(): string {
|
|
|
|
return '';
|
|
|
|
}
|
|
|
|
|
2019-08-23 13:58:04 +05:30
|
|
|
}
|