tuitio/src/Tuitio.Wrapper
Tudor Stanciu 40539b3a69 Published new versions of Tuitio's nuget packages 2023-03-29 08:10:32 +03:00
..
Constants Tuitio refactoring 2023-03-08 15:08:12 +02:00
Models license 2023-02-14 01:23:13 +02:00
Properties Added Tuitio.Wrapper.Tests 2023-03-14 01:06:09 +02:00
Services Tuitio refactoring 2023-03-08 16:38:52 +02:00
DependencyInjectionExtension.cs Tuitio refactoring and account logout implementation 2023-03-07 19:44:55 +02:00
README.md Tuitio refactoring and account logout implementation 2023-03-07 19:44:55 +02:00
ReleaseNotes.txt Tuitio refactoring 2023-03-08 15:08:12 +02:00
Tuitio.Wrapper.csproj Published new versions of Tuitio's nuget packages 2023-03-29 08:10:32 +03:00
logo.png Tuitio.Wrapper nuget package changes 2023-02-28 18:40:51 +02:00

README.md

Tuitio.Wrapper

Tuitio is a simple identity server implementation focused strictly on the needs of my home lab.

Tuitio.Wrapper is a NuGet package that facilitates integration with a Tuitio instance in a .NET environment by registering a service called ITuitioService in the application's service collection. It contains three methods, "Login", "Logout" and "Authorize", which are responsible for calling the appropriate methods from the API controller, /account/login, /account/logout or /connect/authorize. These methods provide a simple and convenient way for developers to handle authentication and authorization when communicating with Tuitio's API. Once the package is installed, all the developer has to do is call the UseTuitioServices method at application startup. After this step, ITuitioService can be injected into any class in the application.

Package repository

Tuitio.Wrapper 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, Tuitio.Wrapper can be installed using NuGet Package Manager.

CLI

dotnet add package Tuitio.Wrapper --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.