maykinmedia / django-digid-eherkenning

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

Added command to show eHerkenning services. #57

Open joeribekker opened 8 months ago

joeribekker commented 8 months ago

Running this command will download the service catalog and shows all services for given organisation number.

Example:

$ python manage.py show_services preprod 00000001002564440000

Service provider organization: Gemeente Amsterdam
+-- Service definition: Portal (Portal)
    +-- Service ID: urn:etoegang:DV:00000001002564440000:services:0000
+-- Service definition: Milieuzone (Uw zaken regelen met de gemeente Amsterdam via Mijn Amsterdam)
    +-- Service ID: urn:etoegang:DV:00000001002564440000:services:9017
+-- Service definition: Online aanvragen en wijzigingen (ACC) (Online aanvragen en wijzigingen (ACC))
    +-- Service ID: urn:etoegang:DV:00000001002564440000:services:9016
+-- Service definition: Online aanvragen en wijzigingen - Niveau 2+ (ACC) (Online aanvragen en wijzigingen - Niveau 2+ (ACC))
    +-- Service ID: urn:etoegang:DV:00000001002564440000:services:9015
+-- Service definition: Online aanvragen en wijzigingen - Niveau 2 (ACC) (Online aanvragen en wijzigingen - Niveau 2 (ACC))
    +-- Service ID: urn:etoegang:DV:00000001002564440000:services:9014
+-- Service definition: mijnErfpacht Zakelijk gebruik (mijnErfpacht Zakelijk gebruik)
    +-- Service ID: urn:etoegang:DV:00000001002564440000:services:9018
+-- Service definition: Mijn Erfpacht  professional (Mijn Erfpacht  professional)
    +-- Service ID: urn:etoegang:DV:00000001002564440000:services:9019
+-- Service definition: Formulier voor niet ingezetenen (Form for non-NL citizens)
    +-- Service ID: urn:etoegang:DV:00000001002564440000:services:9111
+-- Service definition: Parkeervergunningen (Parkeervergunningen)
    +-- Service ID: urn:etoegang:DV:00000001002564440000:services:9020
+-- Service definition: Autoluw Oudezijde Acc (Autoluw Oudezijde Acc)
    +-- Service ID: urn:etoegang:DV:00000001002564440000:services:9021
+-- Service definition: TPAC Acc (TPAC Acc)
    +-- Service ID: urn:etoegang:DV:00000001002564440000:services:9022
+-- Service definition: iBurgerzaken Preproductie (Direct uw burgerzaken regelen)
    +-- Service ID: urn:etoegang:DV:00000001002564440000:services:9023
+-- Service definition: Mijn Subsidies (ACC) (Mijn Subsidies (ACC))
    +-- Service ID: urn:etoegang:DV:00000001002564440000:services:9024
+-- Service definition: Mijn Parkeren (Weesp) (ACC) (Mijn Parkeren (Weesp) (ACC))
    +-- Service ID: urn:etoegang:DV:00000001002564440000:services:9026
+-- Service definition: Wonenportaal (ACC) (Wonenportaal (ACC))
    +-- Service ID: urn:etoegang:DV:00000001002564440000:services:9025
codecov[bot] commented 8 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 96.10%. Comparing base (970d3ed) to head (c72b175). Report is 20 commits behind head on master.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #57 +/- ## ========================================== + Coverage 96.01% 96.10% +0.08% ========================================== Files 72 73 +1 Lines 3216 3260 +44 ========================================== + Hits 3088 3133 +45 + Misses 128 127 -1 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.