| 1 |
<?php |
| 2 |
|
| 3 |
declare(strict_types=1); |
| 4 |
|
| 5 |
namespace Facile\JoseVerifier\Builder; |
| 6 |
|
| 7 |
use Facile\JoseVerifier\JWK\JwksProviderInterface; |
| 8 |
use Facile\JoseVerifier\TokenVerifierInterface; |
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
interface TokenVerifierBuilderInterface |
| 19 |
{ |
| 20 |
|
| 21 |
|
| 22 |
|
| 23 |
public function withClockTolerance(int $clockTolerance): TokenVerifierBuilderInterface; |
| 24 |
|
| 25 |
|
| 26 |
|
| 27 |
|
| 28 |
public function withAadIssValidation(bool $aadIssValidation): TokenVerifierBuilderInterface; |
| 29 |
|
| 30 |
|
| 31 |
|
| 32 |
|
| 33 |
public function withJwksProvider(JwksProviderInterface $jwksProvider): TokenVerifierBuilderInterface; |
| 34 |
|
| 35 |
|
| 36 |
|
| 37 |
|
| 38 |
public function withClientJwksProvider(JwksProviderInterface $clientJwksProvider): TokenVerifierBuilderInterface; |
| 39 |
|
| 40 |
|
| 41 |
|
| 42 |
|
| 43 |
public function build(): TokenVerifierInterface; |
| 44 |
} |