src/django_otp_webauthn/__init__.py |
(no function) |
1 |
0 |
0 |
0 |
0 |
100% |
src/django_otp_webauthn/admin.py |
WebAuthnCredentialAdmin.has_add_permission |
1 |
1 |
0 |
0 |
0 |
0% |
src/django_otp_webauthn/admin.py |
WebAuthnCredentialAdmin.credential_id_hex |
1 |
1 |
0 |
0 |
0 |
0% |
src/django_otp_webauthn/admin.py |
WebAuthnCredentialAdmin.credential_id_hex_display |
1 |
1 |
0 |
0 |
0 |
0% |
src/django_otp_webauthn/admin.py |
WebAuthnCredentialAdmin.public_key_hex |
1 |
1 |
0 |
0 |
0 |
0% |
src/django_otp_webauthn/admin.py |
WebAuthnCredentialAdmin.get_fieldsets |
7 |
7 |
0 |
2 |
0 |
0% |
src/django_otp_webauthn/admin.py |
WebAuthnCredentialAdmin.get_queryset |
3 |
3 |
0 |
0 |
0 |
0% |
src/django_otp_webauthn/admin.py |
(no function) |
22 |
0 |
0 |
2 |
1 |
96% |
src/django_otp_webauthn/apps.py |
OtpWebauthnConfig.ready |
5 |
0 |
0 |
0 |
0 |
100% |
src/django_otp_webauthn/apps.py |
(no function) |
9 |
0 |
0 |
0 |
0 |
100% |
src/django_otp_webauthn/checks.py |
check_settings_relying_party |
6 |
6 |
0 |
4 |
0 |
0% |
src/django_otp_webauthn/checks.py |
check_settings_supported_cose_algorithms |
11 |
11 |
0 |
8 |
0 |
0% |
src/django_otp_webauthn/checks.py |
check_settings_allowed_origins_missing |
5 |
5 |
0 |
2 |
0 |
0% |
src/django_otp_webauthn/checks.py |
check_settings_allowed_origins_misconfigured |
11 |
11 |
0 |
8 |
0 |
0% |
src/django_otp_webauthn/checks.py |
check_settings_dangerous_session_backend_used |
5 |
5 |
0 |
2 |
0 |
0% |
src/django_otp_webauthn/checks.py |
(no function) |
15 |
0 |
0 |
0 |
0 |
100% |
src/django_otp_webauthn/exceptions.py |
(no function) |
40 |
0 |
0 |
0 |
0 |
100% |
src/django_otp_webauthn/helpers.py |
WebAuthnHelper.__init__ |
1 |
1 |
0 |
0 |
0 |
0% |
src/django_otp_webauthn/helpers.py |
WebAuthnHelper.generate_challenge |
1 |
1 |
0 |
0 |
0 |
0% |
src/django_otp_webauthn/helpers.py |
WebAuthnHelper.get_relying_party_domain |
4 |
4 |
0 |
2 |
0 |
0% |
src/django_otp_webauthn/helpers.py |
WebAuthnHelper.get_relying_party_name |
4 |
4 |
0 |
2 |
0 |
0% |
src/django_otp_webauthn/helpers.py |
WebAuthnHelper.get_relying_party |
1 |
1 |
0 |
0 |
0 |
0% |
src/django_otp_webauthn/helpers.py |
WebAuthnHelper.get_discoverable_credentials_preference |
3 |
3 |
0 |
2 |
0 |
0% |
src/django_otp_webauthn/helpers.py |
WebAuthnHelper.get_attestation_conveyance_preference |
1 |
1 |
0 |
0 |
0 |
0% |
src/django_otp_webauthn/helpers.py |
WebAuthnHelper.get_authenticator_attachment_preference |
1 |
1 |
0 |
0 |
0 |
0% |
src/django_otp_webauthn/helpers.py |
WebAuthnHelper.get_credential_display_name |
3 |
3 |
0 |
2 |
0 |
0% |
src/django_otp_webauthn/helpers.py |
WebAuthnHelper.get_credential_name |
1 |
1 |
0 |
0 |
0 |
0% |
src/django_otp_webauthn/helpers.py |
WebAuthnHelper.get_unique_anonymous_user_id |
1 |
1 |
0 |
0 |
0 |
0% |
src/django_otp_webauthn/helpers.py |
WebAuthnHelper.get_user_entity |
1 |
1 |
0 |
0 |
0 |
0% |
src/django_otp_webauthn/helpers.py |
WebAuthnHelper.get_supported_key_algorithms |
5 |
5 |
0 |
2 |
0 |
0% |
src/django_otp_webauthn/helpers.py |
WebAuthnHelper.get_generate_registration_options_kwargs |
13 |
13 |
0 |
2 |
0 |
0% |
src/django_otp_webauthn/helpers.py |
WebAuthnHelper.get_registration_extensions |
1 |
1 |
0 |
0 |
0 |
0% |
src/django_otp_webauthn/helpers.py |
WebAuthnHelper.get_registration_state |
1 |
1 |
0 |
0 |
0 |
0% |
src/django_otp_webauthn/helpers.py |
WebAuthnHelper.register_begin |
8 |
8 |
0 |
0 |
0 |
0% |
src/django_otp_webauthn/helpers.py |
WebAuthnHelper.get_allowed_origins |
2 |
2 |
0 |
0 |
0 |
0% |
src/django_otp_webauthn/helpers.py |
WebAuthnHelper.register_complete |
14 |
14 |
0 |
2 |
0 |
0% |
src/django_otp_webauthn/helpers.py |
WebAuthnHelper._check_discoverable |
3 |
3 |
0 |
2 |
0 |
0% |
src/django_otp_webauthn/helpers.py |
WebAuthnHelper.create_credential |
6 |
6 |
0 |
0 |
0 |
0% |
src/django_otp_webauthn/helpers.py |
WebAuthnHelper.create_attestation |
2 |
2 |
0 |
0 |
0 |
0% |
src/django_otp_webauthn/helpers.py |
WebAuthnHelper.get_authentication_extensions |
1 |
1 |
0 |
0 |
0 |
0% |
src/django_otp_webauthn/helpers.py |
WebAuthnHelper.get_generate_authentication_options_kwargs |
4 |
4 |
0 |
2 |
0 |
0% |
src/django_otp_webauthn/helpers.py |
WebAuthnHelper.get_authentication_state |
1 |
1 |
0 |
0 |
0 |
0% |
src/django_otp_webauthn/helpers.py |
WebAuthnHelper.authenticate_begin |
8 |
8 |
0 |
0 |
0 |
0% |
src/django_otp_webauthn/helpers.py |
WebAuthnHelper.authenticate_complete |
19 |
19 |
0 |
2 |
0 |
0% |
src/django_otp_webauthn/helpers.py |
(no function) |
45 |
45 |
0 |
0 |
0 |
0% |
src/django_otp_webauthn/migrations/0001_initial.py |
(no function) |
7 |
0 |
0 |
0 |
0 |
100% |
src/django_otp_webauthn/migrations/0002_timestamps.py |
(no function) |
4 |
0 |
0 |
0 |
0 |
100% |
src/django_otp_webauthn/migrations/__init__.py |
(no function) |
0 |
0 |
0 |
0 |
0 |
100% |
src/django_otp_webauthn/models.py |
as_credential_descriptors |
8 |
0 |
0 |
6 |
0 |
100% |
src/django_otp_webauthn/models.py |
WebAuthnAttestationManager.get_by_natural_key |
1 |
0 |
0 |
0 |
0 |
100% |
src/django_otp_webauthn/models.py |
WebAuthnCredentialManager.get_by_natural_key |
1 |
0 |
0 |
0 |
0 |
100% |
src/django_otp_webauthn/models.py |
WebAuthnCredentialQuerySet.as_credential_descriptors |
1 |
0 |
0 |
0 |
0 |
100% |
src/django_otp_webauthn/models.py |
AbstractWebAuthnAttestation.__str__ |
1 |
0 |
0 |
0 |
0 |
100% |
src/django_otp_webauthn/models.py |
AbstractWebAuthnAttestation.natural_key |
1 |
0 |
0 |
0 |
0 |
100% |
src/django_otp_webauthn/models.py |
AbstractWebAuthnAttestation.attestation_object |
1 |
1 |
0 |
0 |
0 |
0% |
src/django_otp_webauthn/models.py |
AbstractWebAuthnCredential.natural_key |
1 |
0 |
0 |
0 |
0 |
100% |
src/django_otp_webauthn/models.py |
AbstractWebAuthnCredential.save |
3 |
0 |
0 |
2 |
0 |
100% |
src/django_otp_webauthn/models.py |
AbstractWebAuthnCredential.get_by_credential_id |
2 |
0 |
0 |
0 |
0 |
100% |
src/django_otp_webauthn/models.py |
AbstractWebAuthnCredential.get_credential_id_sha256 |
1 |
0 |
0 |
0 |
0 |
100% |
src/django_otp_webauthn/models.py |
AbstractWebAuthnCredential.get_credential_descriptors_for_user |
2 |
0 |
0 |
0 |
0 |
100% |
src/django_otp_webauthn/models.py |
AbstractWebAuthnCredential.get_webauthn_helper |
2 |
2 |
0 |
0 |
0 |
0% |
src/django_otp_webauthn/models.py |
(no function) |
88 |
0 |
0 |
10 |
0 |
100% |
src/django_otp_webauthn/settings.py |
AppSettings.__getattribute__ |
3 |
1 |
0 |
2 |
1 |
60% |
src/django_otp_webauthn/settings.py |
AppSettings._get_callable_setting |
5 |
5 |
0 |
2 |
0 |
0% |
src/django_otp_webauthn/settings.py |
(no function) |
36 |
0 |
0 |
2 |
0 |
100% |
src/django_otp_webauthn/templatetags/__init__.py |
(no function) |
0 |
0 |
0 |
0 |
0 |
100% |
src/django_otp_webauthn/templatetags/otp_webauthn.py |
get_configuration |
3 |
3 |
0 |
0 |
0 |
0% |
src/django_otp_webauthn/templatetags/otp_webauthn.py |
render_otp_webauthn_auth_scripts |
5 |
5 |
0 |
2 |
0 |
0% |
src/django_otp_webauthn/templatetags/otp_webauthn.py |
render_otp_webauthn_register_scripts |
2 |
2 |
0 |
0 |
0 |
0% |
src/django_otp_webauthn/templatetags/otp_webauthn.py |
(no function) |
12 |
12 |
0 |
4 |
0 |
0% |
src/django_otp_webauthn/urls.py |
(no function) |
5 |
5 |
0 |
0 |
0 |
0% |
src/django_otp_webauthn/utils.py |
rewrite_exceptions.__init__ |
1 |
1 |
0 |
0 |
0 |
0% |
src/django_otp_webauthn/utils.py |
rewrite_exceptions.log_exception |
2 |
2 |
0 |
2 |
0 |
0% |
src/django_otp_webauthn/utils.py |
rewrite_exceptions.__enter__ |
1 |
1 |
0 |
0 |
0 |
0% |
src/django_otp_webauthn/utils.py |
rewrite_exceptions.__exit__ |
22 |
22 |
0 |
20 |
0 |
0% |
src/django_otp_webauthn/utils.py |
get_exempt_urls |
1 |
1 |
0 |
0 |
0 |
0% |
src/django_otp_webauthn/utils.py |
get_credential_model |
6 |
4 |
0 |
2 |
0 |
25% |
src/django_otp_webauthn/utils.py |
get_attestation_model |
6 |
6 |
0 |
2 |
0 |
0% |
src/django_otp_webauthn/utils.py |
get_credential_model_string |
1 |
0 |
0 |
0 |
0 |
100% |
src/django_otp_webauthn/utils.py |
get_attestation_model_string |
1 |
1 |
0 |
0 |
0 |
0% |
src/django_otp_webauthn/utils.py |
(no function) |
18 |
0 |
2 |
0 |
0 |
100% |
src/django_otp_webauthn/views.py |
_get_pywebauthn_logger |
3 |
3 |
0 |
2 |
0 |
0% |
src/django_otp_webauthn/views.py |
RegistrationCeremonyMixin.dispatch |
6 |
6 |
0 |
4 |
0 |
0% |
src/django_otp_webauthn/views.py |
RegistrationCeremonyMixin.get_user |
3 |
3 |
0 |
2 |
0 |
0% |
src/django_otp_webauthn/views.py |
RegistrationCeremonyMixin.can_register |
3 |
3 |
0 |
2 |
0 |
0% |
src/django_otp_webauthn/views.py |
AuthenticationCeremonyMixin.dispatch |
4 |
4 |
0 |
2 |
0 |
0% |
src/django_otp_webauthn/views.py |
AuthenticationCeremonyMixin.get_user |
3 |
3 |
0 |
2 |
0 |
0% |
src/django_otp_webauthn/views.py |
AuthenticationCeremonyMixin.can_authenticate |
3 |
3 |
0 |
2 |
0 |
0% |
src/django_otp_webauthn/views.py |
BeginCredentialRegistrationView.post |
5 |
5 |
0 |
0 |
0 |
0% |
src/django_otp_webauthn/views.py |
CompleteCredentialRegistrationView.get_state |
5 |
5 |
0 |
2 |
0 |
0% |
src/django_otp_webauthn/views.py |
CompleteCredentialRegistrationView.post |
8 |
8 |
0 |
2 |
0 |
0% |
src/django_otp_webauthn/views.py |
BeginCredentialAuthenticationView.post |
6 |
6 |
0 |
0 |
0 |
0% |
src/django_otp_webauthn/views.py |
CompleteCredentialAuthenticationView.get_state |
5 |
5 |
0 |
2 |
0 |
0% |
src/django_otp_webauthn/views.py |
CompleteCredentialAuthenticationView.check_login_allowed |
7 |
7 |
0 |
6 |
0 |
0% |
src/django_otp_webauthn/views.py |
CompleteCredentialAuthenticationView.complete_auth |
4 |
4 |
0 |
2 |
0 |
0% |
src/django_otp_webauthn/views.py |
CompleteCredentialAuthenticationView.get_success_data |
2 |
2 |
0 |
0 |
0 |
0% |
src/django_otp_webauthn/views.py |
CompleteCredentialAuthenticationView.get_success_url_allowed_hosts |
1 |
1 |
0 |
0 |
0 |
0% |
src/django_otp_webauthn/views.py |
CompleteCredentialAuthenticationView.get_redirect_url |
3 |
3 |
0 |
0 |
0 |
0% |
src/django_otp_webauthn/views.py |
CompleteCredentialAuthenticationView.get_success_url |
1 |
1 |
0 |
0 |
0 |
0% |
src/django_otp_webauthn/views.py |
CompleteCredentialAuthenticationView.post |
10 |
10 |
0 |
2 |
0 |
0% |
src/django_otp_webauthn/views.py |
(no function) |
50 |
50 |
0 |
10 |
0 |
0% |
tests/__init__.py |
(no function) |
0 |
0 |
0 |
0 |
0 |
100% |
tests/conftest.py |
credential_model |
1 |
1 |
0 |
0 |
0 |
0% |
tests/conftest.py |
attestations_model |
1 |
1 |
0 |
0 |
0 |
0% |
tests/conftest.py |
credential |
1 |
1 |
0 |
0 |
0 |
0% |
tests/conftest.py |
user |
1 |
0 |
0 |
0 |
0 |
100% |
tests/conftest.py |
(no function) |
11 |
0 |
0 |
8 |
0 |
100% |
tests/factories.py |
WebAuthnCredentialFactory.name |
1 |
0 |
0 |
0 |
0 |
100% |
tests/factories.py |
WebAuthnCredentialFactory.backup_state |
1 |
0 |
0 |
0 |
0 |
100% |
tests/factories.py |
(no function) |
39 |
0 |
0 |
4 |
0 |
100% |
tests/fixtures/__init__.py |
(no function) |
0 |
0 |
0 |
0 |
0 |
100% |
tests/fixtures/authenticators.py |
Authenticator.as_credential |
1 |
1 |
0 |
0 |
0 |
0% |
tests/fixtures/authenticators.py |
(no function) |
28 |
28 |
0 |
4 |
0 |
0% |
tests/fuzzy.py |
FuzzyBytes.__init__ |
2 |
0 |
0 |
0 |
0 |
100% |
tests/fuzzy.py |
FuzzyBytes.fuzz |
1 |
0 |
0 |
0 |
0 |
100% |
tests/fuzzy.py |
(no function) |
5 |
0 |
0 |
0 |
0 |
100% |
tests/unit/__init__.py |
(no function) |
0 |
0 |
0 |
0 |
0 |
100% |
tests/unit/test_models.py |
test_as_credential_descriptors |
7 |
0 |
0 |
0 |
0 |
100% |
tests/unit/test_models.py |
test_attestation_str |
3 |
0 |
0 |
0 |
0 |
100% |
tests/unit/test_models.py |
test_attestation_natural_key |
2 |
0 |
0 |
0 |
0 |
100% |
tests/unit/test_models.py |
test_attestation_manager |
3 |
0 |
0 |
0 |
0 |
100% |
tests/unit/test_models.py |
test_credential_hash_created_on_save |
5 |
0 |
0 |
0 |
0 |
100% |
tests/unit/test_models.py |
test_credentials_are_unique |
8 |
0 |
0 |
2 |
0 |
100% |
tests/unit/test_models.py |
test_get_by_credential_id |
6 |
0 |
0 |
4 |
0 |
100% |
tests/unit/test_models.py |
test_get_credential_id_sha256 |
3 |
0 |
0 |
0 |
0 |
100% |
tests/unit/test_models.py |
test_credential_natural_key |
3 |
0 |
0 |
0 |
0 |
100% |
tests/unit/test_models.py |
test_credential_get_credential_descriptors_for_user |
13 |
0 |
0 |
0 |
0 |
100% |
tests/unit/test_models.py |
test_credential_manager |
1 |
0 |
0 |
0 |
0 |
100% |
tests/unit/test_models.py |
test_credential_manager_get_by_natural_key |
4 |
0 |
0 |
0 |
0 |
100% |
tests/unit/test_models.py |
test_credential_queryset_as_credential_descriptors |
8 |
0 |
0 |
0 |
0 |
100% |
tests/unit/test_models.py |
(no function) |
32 |
0 |
0 |
22 |
0 |
100% |