Consolidate some webauthn-framework logic between handlers using a BaseHandlerTrait, add more tests
Files | Complexity | Coverage |
---|---|---|
client/src/components/Icons/CircleTick.js | 0 | 0.00% |
client/src/components/Icons/CircleWarning.js | 0 | 0.00% |
client/src/components/LoadingIndicator.js | 0 | 0.00% |
client/src/components/WebAuthn/Register.js | 0 | 45.05% |
client/src/components/WebAuthn/Verify.js | 0 | 0.00% |
client/src/lib/auth.js | 0 | 9.09% |
client/src/lib/convert.js | 0 | 50.00% |
client/src/state/webauthnAvailableReducer.js | 0 | 100.00% |
client/src/types/publicKey.js | 0 | 0.00% |
src/BaseHandlerTrait.php | 4 | 0.00% |
src/CredentialRepository.php | 12 | 96.77% |
src/Method.php | 7 | 100.00% |
src/RegisterHandler.php | 19 | 61.97% |
src/VerifyHandler.php | 12 | 6.12% |
Project Totals (14 files) | 54 | 44.24% |