readme update

master
Tudor Stanciu 2023-03-02 18:53:30 +02:00
parent 4082531c3b
commit 85ca5802f3
2 changed files with 9 additions and 2 deletions

View File

@ -57,4 +57,11 @@ Tuitio client react uses [tuitio-client](https://lab.code-rove.com/gitea/bricks/
### C# ### C#
In development Tuitio can be integrated in any .NET API through the [Netmash.Security.Authentication.Tuitio](https://lab.code-rove.com/gitea/bricks/netmash/src/branch/master/src/security/authentication/Netmash.Security.Authentication.Tuitio) NuGet package.
**Source code:** https://lab.code-rove.com/gitea/bricks/netmash/src/branch/master/src/security/authentication/Netmash.Security.Authentication.Tuitio
**Registry:** https://lab.code-rove.com/public-nuget-server/packages/netmash.security.authentication.tuitio
Netmash.Security.Authentication.Tuitio uses internally two packages exposed by Tuitio:
* [Netmash.Security.Authentication.Tuitio](https://lab.code-rove.com/public-nuget-server/packages/tuitio.publishedlanguage)
* [Tuitio.Wrapper](https://lab.code-rove.com/public-nuget-server/packages/tuitio.wrapper)

View File

@ -4,7 +4,7 @@
***Tuitio.Wrapper*** is a NuGet package that facilitates integration with a Tuitio instance in a .NET environment by registering a service called IIdentityService in the application's service collection. ***Tuitio.Wrapper*** is a NuGet package that facilitates integration with a Tuitio instance in a .NET environment by registering a service called IIdentityService in the application's service collection.
It contains two methods, "Authenticate" and "Authorize", which are responsible for calling the appropriate methods from the API controller, ```/identity/authenticate``` or ```/identity/authorize```. These methods provide a simple and convenient way for developers to handle authentication and authorization when communicating with Tuitio's API. It contains two methods, "Authenticate" and "Authorize", which are responsible for calling the appropriate methods from the API controller, ```/identity/authenticate``` or ```/identity/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 the application startup. After this step, IIdentityService can be injected into any class in the application. Once the package is installed, all the developer has to do is call the ```UseTuitioServices``` method at application startup. After this step, IIdentityService can be injected into any class in the application.
## Package repository ## Package repository