https://github.com/jzills/hmacmanager
Integrate hmac authentication seamlessly into ASP.NET Core applications, fortifying security measures and ensuring robust authentication protocols.
https://github.com/jzills/hmacmanager
authentication hmac mvc net
Last synced: 10 months ago
JSON representation
Integrate hmac authentication seamlessly into ASP.NET Core applications, fortifying security measures and ensuring robust authentication protocols.
- Host: GitHub
- URL: https://github.com/jzills/hmacmanager
- Owner: jzills
- License: mit
- Created: 2023-06-29T22:56:41.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2025-07-14T02:51:13.000Z (12 months ago)
- Last Synced: 2025-08-09T07:54:18.394Z (11 months ago)
- Topics: authentication, hmac, mvc, net
- Language: C#
- Homepage:
- Size: 1.41 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# HmacManager
[](https://www.nuget.org/packages/HmacManager/) [](https://www.nuget.org/packages/HmacManager/) [](https://github.com/jzills/HmacManager/actions/workflows/dotnet.yml)
- [Summary](#summary)
- [Features](#features)
- [Installation](#installation)
- [Documentation](./src/README.md)
- [Client Library](./client/)
- [Resources](#resources)
- [Further Reading](#further-reading)
## Summary
Integrate hmac authentication seamlessly into your ASP.NET Core applications, fortifying security measures and ensuring robust authentication protocols.
## Features
- Facilitates detailed policy configuration, enabling applications to sign and verify Hmacs against multiple policy criteria.
- Each policy can optionally define specific schemes, outlining the required header values for a request.
- Including automatic claims mapping from header values defined in a scheme.
- Supports policy modification at runtime.
- Including both an option to use a singleton or the preferred approach to use an accessor that can pull policies dynamically from a database or some other data store.
- Incorporates automatic nonce management to protect against replay attacks.
- Integrates with ASP.NET Core authorization mechanisms.
## Installation
`HmacManager` is available on [NuGet](https://www.nuget.org/packages/HmacManager/).
dotnet add package HmacManager
## Resources
- [Documentation](src/README.md)
- [Samples](samples/README.md)
## Further Reading
- [Hmac](https://en.wikipedia.org/wiki/Hmac)
- [Sign an Http Request](https://learn.microsoft.com/en-us/azure/communication-services/tutorials/Hmac-header-tutorial?pivots=programming-language-csharp)