IncaTechnologies.SimpleAuthentication 1.1.0

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package IncaTechnologies.SimpleAuthentication --version 1.1.0                
NuGet\Install-Package IncaTechnologies.SimpleAuthentication -Version 1.1.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="IncaTechnologies.SimpleAuthentication" Version="1.1.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add IncaTechnologies.SimpleAuthentication --version 1.1.0                
#r "nuget: IncaTechnologies.SimpleAuthentication, 1.1.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install IncaTechnologies.SimpleAuthentication as a Cake Addin
#addin nuget:?package=IncaTechnologies.SimpleAuthentication&version=1.1.0

// Install IncaTechnologies.SimpleAuthentication as a Cake Tool
#tool nuget:?package=IncaTechnologies.SimpleAuthentication&version=1.1.0                

Simple Authentication Framework

Simple framework to manage authentication and authorization in your project.

Why did I create this?

I was working on a WPF project and I needed a way to manage authorization and authentication.

Asking to internet for a solution I found that the most suggested to use ASP.NET authentication and authorization framework.

I soon got lost into all the configurations and the details of this huge framework so I decided to make one of my own with only the few features that i really needed.

What does it do?

It provides the basics of user management:

  • Register/Unregister a user;
  • Login/Logout management;
  • User authentication;
  • Authorization based on roles;
  • Validation of key inputs like username and password.

How to get started?

Simply implement IUser and IRole and then use UserManagerBuilder to get an instance of IUserManager.

The framework comes with extension methods to deal with Dependency Injection and Entity Framework Core.

Image

Example

Check out the example project to see the framework in action and the different ways to configure it.

Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.1.1 89 10/1/2024
1.1.0 133 4/5/2024
1.0.1 239 3/2/2023
1.0.0 277 11/29/2022

1.0.0 - First release
1.0.1 - Included documentation
1.1.0 - Supported asyncronous operations