lib/3rdParty/composer/facile-it/php-openid-client/src/Claims/DistributedParserInterface.php
raw symbols SCIP| 1 | <?php |
| 2 | |
| 3 | declare(strict_types=1); |
| 4 | |
| 5 | namespace Facile\OpenIDClient\Claims; |
| 6 | |
| 7 | use Facile\OpenIDClient\Client\ClientInterface; |
| 8 | |
| 9 | /** |
| 10 | * @psalm-api |
| 11 | * |
| 12 | * @psalm-import-type TokenSetClaimsType from \Facile\OpenIDClient\Token\TokenSetInterface |
| 13 | */ |
| 14 | interface DistributedParserInterface |
| 15 | { |
| 16 | /** |
| 17 | * @param array<string, mixed> $claims |
| 18 | * @param string[] $accessTokens |
| 19 | * |
| 20 | * @psalm-param TokenSetClaimsType $claims |
| 21 | * |
| 22 | * @return array<string, mixed> |
| 23 | * |
| 24 | * @psalm-return TokenSetClaimsType |
| 25 | */ |
| 26 | public function fetch(ClientInterface $client, array $claims, array $accessTokens = []): array; |
| 27 | } |