You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Multi targeted: net5.0; netcoreapp3.1; netcoreapp3.0; netstandard2.0; net461
9
11
12
+
<br/>
13
+
10
14
## Installing
11
15
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.
12
16
@@ -18,6 +22,8 @@ Or by running the below command on your project.
- <SCHEME_NAME> == The authentication scheme name. But, if *ApiKeyOptions.ForLegacyUseKeyNameAsSchemeNameOnWWWAuthenticateHeader* is set to true then it will be *ApiKeyOptions.KeyName*
276
+
277
+
-<REALM> == *ApiKeyOptions.Realm*
278
+
279
+
- <IN_PARAMERTER> == Depending on the [extension method](#extension-methods) used, it could be either of *header*, *authorization_header*, *query_params*, *header_or_query_params*
280
+
281
+
- <KEY_NAME> == *ApiKeyOptions.KeyName*
282
+
283
+
<br/>
284
+
<br/>
253
285
254
286
## Additional Notes
255
287
@@ -342,16 +374,20 @@ public void ConfigureServices(IServiceCollection services)
342
374
}
343
375
```
344
376
345
-
377
+
<br/>
378
+
<br/>
346
379
347
380
## Release Notes
348
381
| Version | Notes |
349
382
|---------|-------|
350
-
|5.1.0 | <ul><li>WWW-Authenticate challenge header now returns SchemeName as scheme part instead of ApiKeyOptions.KeyName</li><li>WWW-Authenticate challenge header now has 2 new parameters 'in' and 'key_name' in value part</li><li>ForLegacyUseKeyNameAsSchemeNameOnWWWAuthenticateHeader added to the ApiKeyOptions</li><li>In Authorization Header now able to use either SchemeName or ApiKeyOptions.KeyName when matching AuthorizationHeader Scheme</li><li>Visibility of all the handlers changed to public</li><li>Tests added</li><li>Readme updated</li><li>Copyright year updated on License</li></ul> |
351
-
|5.0.0 | <ul><li>Net 5.0 target framework added</li><li>IgnoreAuthenticationIfAllowAnonymous added to the ApiKeyOptions from netcoreapp3.0 onwards</li></ul> |
352
-
|3.1.1 | <ul><li>Ability to have ApiKey in Authorization header added</li><li>Fixed extensions methods to use correct handler</li><li>Fixed issue with resolving of IApiKeyProvider implementation when using multiple schemes</li></ul> |
383
+
|5.1.0 | <ul><li>WWW-Authenticate challenge header now returns SchemeName as scheme part instead of ApiKeyOptions.KeyName</li><li>WWW-Authenticate challenge header now has 2 new parameters 'in' and 'key_name' in value part</li><li>ForLegacyUseKeyNameAsSchemeNameOnWWWAuthenticateHeader added to the ApiKeyOptions</li><li>In Authorization Header now able to use either SchemeName or ApiKeyOptions.KeyName when matching AuthorizationHeader Scheme</li><li>Visibility of all the handlers changed to public[#21](https://github.com/mihirdilip/aspnetcore-authentication-apikey/issues/21)</li><li>Tests added</li><li>Readme updated</li><li>Copyright year updated on License</li></ul> |
384
+
|5.0.0 | <ul><li>Net 5.0 target framework added</li><li>IgnoreAuthenticationIfAllowAnonymous added to the ApiKeyOptions from netcoreapp3.0 onwards[#15](https://github.com/mihirdilip/aspnetcore-authentication-apikey/issues/15)</li></ul> |
385
+
|3.1.1 | <ul><li>Ability to have ApiKey in Authorization header added</li><li>Fixed extensions methods to use correct handler[#13](https://github.com/mihirdilip/aspnetcore-authentication-apikey/issues/13)</li><li>Fixed issue with resolving of IApiKeyProvider implementation when using multiple schemes[#12](https://github.com/mihirdilip/aspnetcore-authentication-apikey/issues/12)</li></ul> |
353
386
|3.1.0 | <ul><li>Multitarget framework support added</li><li>Strong Name Key support added</li><li>Source Link support added</li><li>SuppressWWWAuthenticateHeader added to configure options</li><li>ForLegacyIgnoreExtraValidatedApiKeyCheck added to configure options</li><li>Events added to configure options</li></ul> |
354
387
|2.2.0 | <ul><li>API Key Authentication Implementation for ASP.NET Core. It can be setup so that it can accept API Key in Header, QueryParams or HeaderOrQueryParams.</li></ul> |
0 commit comments