An open API service indexing awesome lists of open source software.

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.

Awesome Lists containing this project

README

          

# HmacManager

[![NuGet Version](https://img.shields.io/nuget/v/HmacManager.svg)](https://www.nuget.org/packages/HmacManager/) [![NuGet Downloads](https://img.shields.io/nuget/dt/HmacManager.svg)](https://www.nuget.org/packages/HmacManager/) [![.NET](https://github.com/jzills/HmacManager/actions/workflows/dotnet.yml/badge.svg)](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)