Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
|||
| 1 | <?php |
| 2 | |
| 3 | declare(strict_types=1); |
| 4 | |
| 5 | namespace App\Identity\Application\Port; |
| 6 | |
| 7 | interface GoogleIdTokenVerifier |
| 8 | { |
| 9 | /** |
| 10 | * Null when the token is absent, malformed, expired, issued for another |
| 11 | * client, or carries an unverified email. A reason is not modelled: the only |
| 12 | * caller is the authenticator, and lexik's failure handler answers a generic |
| 13 | * 401 regardless. |
| 14 | */ |
| 15 | public function verify(string $idToken): ?GoogleIdentity; |
| 16 | } |