Conditions | 2 |
Paths | 2 |
Total Lines | 6 |
Code Lines | 3 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 6 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
14 | public function verify(AttestationStatementInterface $attStmt, AuthenticatorData $authenticatorData, string $clientDataHash): VerificationResult |
||
15 | { |
||
16 | if (!($attStmt instanceof UnsupportedAttestationStatement)) { |
||
17 | throw new VerificationException('Expecting UnsupportedAttestationStatement.'); |
||
18 | } |
||
19 | return new VerificationResult(AttestationType::NONE, new EmptyTrustPath()); |
||
20 | } |
||
22 |