mirror of
https://github.com/elyby/accounts.git
synced 2024-11-06 16:21:08 +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;
|
|
}
|
|
|
|
}
|