Closed michalkrzyz closed 1 month ago
Please also add the passing of the Authentication information as context to the Application.
So on the Application Layer we are later on able to access e.g. the "username"
Here is some example how to do it: https://blog.meain.io/2024/golang-context/#context.withvalue
Please also make sure you merge the commits from main
into this branch as well (before squash&merge into main
).
Add middleware layer for API access. Token auth can be set by AUTH_TYPE=token, when token base authentication is used then AUTH_TOKEN_MAP has to be provided with scaner names and their secrets.