Giter Site home page Giter Site logo

codefork / idunno.authentication Goto Github PK

View Code? Open in Web Editor NEW

This project forked from blowdart/idunno.authentication

0.0 1.0 0.0 244 KB

A filled with self-loathing implementation of Basic Authentication, and Certificate Authentication to make me feel like a real security person, all for for ASP.NET Core

License: Apache License 2.0

C# 96.58% PowerShell 3.42%

idunno.authentication's Introduction

idunno.Authentication

Build status

This repository contains a collection of various authentication mechanisms for ASP.NET Core, including

Basic Authentication started as a demonstration of how to write authentication middleware and was not as something you would seriously consider using, but some people want Basic Authentication so here it is.

Certificate Authentication is a common request on the ASP.NET Core Security repo, so I wrote one for Core 2.x. ASP.NET Core 3.0 took that as a starting point and includes Certificate Authentication as a supported package.

Basic Authentication is available for ASP.NET Core 2.1, 3.0 and 3.1. Certification Authentication is only targeted at ASP.NET Core 2.1.

This is not an official Microsoft project, this is an "In my spare time, entirely unsupported"™ effort.

nuget packages

nuget packages are available for the ASP.NET Core 2.0 versions of the authentication handlers.

Authentication Type Package Name nuget link Current Version
Basic               idunno.Authentication.Basic https://www.nuget.org/packages/idunno.Authentication.Basic/       2.1.1          
Certificate         idunno.Authentication.Certificate https://www.nuget.org/packages/idunno.Authentication.Certificate/ 2.1.1          

Version History

Version Notes
2.2.2 Basic auth now multi-targets Core 2.1, 3.0 and 3.1
2.2.1 Basic auth now returns a 421 request when a request is issued over HTTP, unless AllowInsecureProtocol is set
2.2.0 Basic auth no longer throws exception when invalid base64 data sent in authentication header
Added property for suppressing the WWW-Authenticate header scheme
Updated nuget license and package icon
2.1.1 Added SourceLink
Changed library dependencies to remove demands for exact versions, following the .NET Core open-source library guidance
nuget package is now signed
2.1.0 Added Certificate Authentication
Fixed Basic Authentication event handling
Packages are now Authenticode signed

What about older versions of ASP.NET Core?

Older versions of Basic Authentication are available in the appropriate branch. No nuget packages are available for ASP.NET Core 1.x.

Certificate Authentication is only available for ASP.NET Core 2.0. It will not be back ported to 1.x.

ASP.NET Core MVC Version Branch
1.1 rel/1.1.1
1.0 rel/1.0.0

Notes

Each handler requires you to authenticate the credentials passed. You are responsible for hardening this authentication and ensuring it performs under load.

idunno.authentication's People

Contributors

blowdart avatar brockallen avatar kjbetz avatar leastprivilege avatar matthijskrempel avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.