Netmash.Security.Authentication.Tuitio 2.3.0
Netmash.Security.Authentication.Tuitio
Tuitio is a simple identity server implementation focused strictly on the needs of my home lab.
Netmash.Security.Authentication.Tuitio is a NuGet package that configures authentication with a Tuitio instance in a .NET environment for a .NET API.
Once the package is installed, all the developer has to do is call the AddTuitioAuthentication
method at application startup. After this step, the [Authorize]
attribute can be added to any controller from application.
Code snippet:
public static void ConfigureServices(this IServiceCollection services, IConfiguration configuration)
{
services.AddTuitioAuthentication("httpe://<domain>/tuitio/api/");
}
Package repository
Netmash.Security.Authentication.Tuitio can be installed from my self hosted NuGet feed: https://lab.code-rove.com/public-nuget-server/
Installation
Visual Studio
NuGet.config file
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageSources>
<clear />
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" />
<add key="lab.nuget" value="https://lab.code-rove.com/public-nuget-server/v3/index.json" />
</packageSources>
</configuration>
Configure the above file in the Visual Studio solution or set the new NuGet feed in NuGet Package Manager. After one of this steps, Netmash.Security.Authentication.Tuitio can be installed using NuGet Package Manager.
CLI
dotnet add package Netmash.Security.Authentication.Tuitio --source https://lab.code-rove.com/public-nuget-server/v3/index.json
Run the above command in a console open in a .NET project directory.
No packages depend on Netmash.Security.Authentication.Tuitio.
2.3.0 release [2025-03-24 02:09] ◾ Tuitio nuget packages upgrade ◾ .NET 8 upgrade
2.2.1 release [2023-04-12 21:54] ◾ The authentication handler has been updated to skip the token validation if the method from controller is marked with [AllowAnonymous] attribute. ◾ Tuitio nuget packages upgrade ◾ Added authenticated user groups and roles in claims.
2.2.0 release [2023-04-01 22:24] ◾ Tuitio nuget packages upgrade ◾ Removed user profile picture url from authentication claims
2.1.0 release [2023-03-07 23:35] ◾ Tuitio nuget packages upgrade ◾ Tuitio refactoring
2.0.0 release [2023-02-01 19:29] ◾ Tuitio rebranding ◾ Initial release of Netmash.Security.Authentication.Tuitio
.NET 8.0
- Tuitio.Wrapper (>= 2.3.0)