mirror of
https://github.com/elyby/accounts.git
synced 2024-12-12 08:29:01 +05:30
19 lines
309 B
PHP
19 lines
309 B
PHP
<?php
|
|
declare(strict_types=1);
|
|
|
|
namespace api\components\OAuth2\Keys;
|
|
|
|
use League\OAuth2\Server\CryptKeyInterface;
|
|
|
|
class EmptyKey implements CryptKeyInterface {
|
|
|
|
public function getKeyPath(): string {
|
|
return '';
|
|
}
|
|
|
|
public function getPassPhrase(): ?string {
|
|
return null;
|
|
}
|
|
|
|
}
|