| 1 |
<?php |
| 2 |
|
| 3 |
declare(strict_types=1); |
| 4 |
|
| 5 |
namespace Facile\OpenIDClient\AuthMethod; |
| 6 |
|
| 7 |
use Facile\OpenIDClient\Client\ClientInterface as OpenIDClient; |
| 8 |
use Psr\Http\Message\RequestInterface; |
| 9 |
|
| 10 |
interface AuthMethodInterface |
| 11 |
{ |
| 12 |
public const TLS_METHODS = [ |
| 13 |
'self_signed_tls_client_auth', |
| 14 |
'tls_client_auth', |
| 15 |
]; |
| 16 |
|
| 17 |
public function getSupportedMethod(): string; |
| 18 |
|
| 19 |
|
| 20 |
|
| 21 |
|
| 22 |
public function createRequest(RequestInterface $request, OpenIDClient $client, array $claims): RequestInterface; |
| 23 |
} |