mirror of
https://github.com/elyby/accounts.git
synced 2024-10-29 23:13:12 +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;
|
|
}
|
|
|
|
}
|