Debian Codegraph @

lib/3rdParty/composer/facile-it/php-jose-verifier/src/JWTVerifier.php

raw symbols SCIP
1 <?php
2
3 declare(strict_types=1);
4
5 namespace Facile\JoseVerifier;
6
7 final class JWTVerifier extends AbstractTokenVerifier
8 {
9 public function verify(string $jwt): array
10 {
11 $jwt = $this->decrypt($jwt);
12 $validator = $this->create($jwt)
13 ->withMandatory(['iss', 'sub', 'aud', 'exp', 'iat']);
14
15 return $validator->run();
16 }
17 }