Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/duosecurity/duo_universal_csharp
Duo OIDC-based two-factor authentication for .NET web applications
https://github.com/duosecurity/duo_universal_csharp
csharp dotnet duo mfa
Last synced: 10 days ago
JSON representation
Duo OIDC-based two-factor authentication for .NET web applications
- Host: GitHub
- URL: https://github.com/duosecurity/duo_universal_csharp
- Owner: duosecurity
- Created: 2021-09-20T13:33:03.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-04-15T14:20:42.000Z (7 months ago)
- Last Synced: 2024-04-16T18:14:23.383Z (7 months ago)
- Topics: csharp, dotnet, duo, mfa
- Language: C#
- Homepage: https://duo.com/docs/duoweb
- Size: 149 KB
- Stars: 17
- Watchers: 22
- Forks: 7
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSES/BSD-3-Clause.txt
- Security: SECURITY.md
Awesome Lists containing this project
README
# Duo Universal Prompt C# Client
[![Build Status](https://github.com/duosecurity/duo_universal_csharp/workflows/.NET%20CI/badge.svg)](https://github.com/duosecurity/duo_universal_csharp/actions)
[![Issues](https://img.shields.io/github/issues/duosecurity/duo_universal_csharp)](https://github.com/duosecurity/duo_universal_csharp/issues)
[![Forks](https://img.shields.io/github/forks/duosecurity/duo_universal_csharp)](https://github.com/duosecurity/duo_universal_csharp/network/members)
[![Stars](https://img.shields.io/github/stars/duosecurity/duo_universal_csharp)](https://github.com/duosecurity/duo_universal_csharp/stargazers)
[![License](https://img.shields.io/badge/License-View%20License-orange)](https://github.com/duosecurity/duo_universal_csharp/blob/master/LICENSES/BSD-3-Clause.txt)This library allows a web developer to quickly add Duo's interactive, self-service, two-factor authentication to any .NET web login form.
See our developer documentation at https://www.duosecurity.com/docs/duoweb for guidance on integrating Duo 2FA into your web application.
What's here:
* `DuoUniversal` - The Duo SDK for interacting with the Duo Universal Prompt
* `DuoUniversal.Example` - An example web application with Duo integratedThe example application has a dedicated README with further instructions on how to build and run it.
# Usage
This library requires .NET Core 3.1 or higher, or .NET Framework 4.7.1 or higherThe library is available on NuGet at https://www.nuget.org/packages/DuoUniversal/1.2.5
Include it in your .NET project with:
`dotnet add package DuoUniversal --version 1.2.5`
## TLS 1.2 and 1.3 Support
Duo_universal_csharp uses the .NET libraries for TLS operations. .NET 4.7 or later is required for TLS 1.2; .NET 4.8 or later is required for TLS 1.3.
## Building with the .NET CLI
Run `dotnet build` to generate the assemblies.# Testing
The tests require .NET Core 6.0.
## With the .NET CLI
From the root directory run:`dotnet test`
# Linting
## With the .NET CLI
Check the code format with:`dotnet format --verify-no-changes`
# Support
Please report any bugs, feature requests, or issues to us directly at [email protected].
Thank you for using Duo!
https://duo.com/