{"repo":"mihirdilip/aspnetcore-authentication-apikey","free":true,"listed":false,"github":"https://github.com/mihirdilip/aspnetcore-authentication-apikey","clone":"git clone https://github.com/mihirdilip/aspnetcore-authentication-apikey.git","description":"Easy to use and very light weight Microsoft style API Key Authentication Implementation for ASP.NET Core. It can be setup so that it can accept API Key in Header, Authorization Header, QueryParams or HeaderOrQueryParams.","language":"C#","stars":305,"topics":["asp-net-core","aspnetcore","netstandard","netstandard20","apikey-authentication","api-key-authentication","apikeyauthentication","asp-net-core-apikey-authentication","aspnetcore-apikey-authentication","security"],"license":"MIT","category":"security-tools","readme_excerpt":"AspNetCore.Authentication.ApiKey Easy to use and very light weight Microsoft style API Key Authentication Implementation for ASP.NET Core. It can be setup so that it can accept API Key either in Header, Authorization Header, QueryParams, HeaderOrQueryParams or RouteValues. View On GitHub .NET (Core) Frameworks Supported .NET Framework 4.6.1 and/or NetStandard 2.0 onwards Multi targeted: net9.0; net8.0; net7.0; net6.0; net5.0; netcoreapp3.1; netcoreapp3.0; netstandard2.0; net461 Installing This library is published on NuGet. So the NuGet package can be installed directly to your project if you wish to use it without making any custom changes to the code. Download directly from AspNetCore.Authentication.ApiKey. Or by running the below command on your project. Example Usage Samples are available under samples directory. Setting it up is quite simple. You will need basic working knowledge of ASP.NET Core 2.0 or newer to get started using this library. There are 2 different ways of using this library to do it's job. Both ways can be mixed if required. 1] Using the implementation of IApiKeyProvider 2] Using ApiKeyOptions.Events (OnValidateKey delegate) which is same approach you will find on Microsoft's authentication libraries Notes: - It requires Realm to be set in the options if SuppressWWWAuthenticateHeader is not set. - If an implementation of IApiKeyProvider interface is used as well as options.Events.OnValidateKey delegate is also set then this delegate will be used first. A","default_branch":null,"files":null,"tree":[],"storefront":"/r/mihirdilip","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/mihirdilip/aspnetcore-authentication-apikey/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}