maykinmedia / django-digid-eherkenning

Django library to use DigiD or eHerkenning to authenticate users
MIT License
2 stars 0 forks source link

Add the possibilty to set the minmal levels of assurance in the view. #34

Closed CharString closed 1 year ago

CharString commented 1 year ago

This PR allows for the a login view to override the LoA from the default/global config based on information in the request.

codecov[bot] commented 1 year ago

Codecov Report

Merging #34 (3c46132) into master (bad7a69) will increase coverage by 0.05%. The diff coverage is 100.00%.

:exclamation: Current head 3c46132 differs from pull request most recent head 085d31a. Consider uploading reports for the commit 085d31a to get more accurate results

@@            Coverage Diff             @@
##           master      #34      +/-   ##
==========================================
+ Coverage   96.09%   96.15%   +0.05%     
==========================================
  Files          62       62              
  Lines        2948     2992      +44     
==========================================
+ Hits         2833     2877      +44     
  Misses        115      115              
Impacted Files Coverage Δ
digid_eherkenning/admin.py 100.00% <ø> (ø)
digid_eherkenning/saml2/base.py 95.03% <ø> (ø)
digid_eherkenning/choices.py 100.00% <100.00%> (ø)
digid_eherkenning/saml2/digid.py 100.00% <100.00%> (ø)
digid_eherkenning/saml2/eherkenning.py 98.39% <100.00%> (+0.03%) :arrow_up:
digid_eherkenning/views/digid.py 94.87% <100.00%> (+0.08%) :arrow_up:
digid_eherkenning/views/eherkenning.py 94.82% <100.00%> (+0.48%) :arrow_up:
tests/test_digid_auth_views.py 93.51% <100.00%> (+0.44%) :arrow_up:
tests/test_eherkenning_views.py 100.00% <100.00%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more