Contained in this repository is an example of implementing API Key Authentication through middleware. However this example applies the API Key Authentication to all of the API actions.
Contained in this repository is an example of implementing API Key Authentication through attributes. This attribute can be applied at both the class and method levels as [APIKey].
The API Key is defined in the appsettings.json file as APIKey.
