The Server of SecureWebApi.
This is project contains a secure web api auth library and sample.
You can modify it to suit your business logic.
Server language is C#.Using .Net Framework 4.6.1,And IIS host it.
Attention Please:
"SecureWebApiServer/ConsoleApp/WebApi/AppKeySecret.cs" is a key/secret generator.
You can give it to your client which will invoke your api,please remember secret don't tranfer on Internet. Client and Server shoudl keep it safely.
Now,You have a secure web api. Server will verify every request before perform it.If the request is wrong ,server will return unauthorized msg to client.