Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/datvm/jwtsharp

A small utility library for issuing and validating JWT Bearer. Can be used for both ASP.NET Core and .NET Framework Web project as well as Desktop App (no built-in flow).
https://github.com/datvm/jwtsharp

aspnetcore authentication authorization bearer csharp jwt webapi-2

Last synced: 8 days ago
JSON representation

A small utility library for issuing and validating JWT Bearer. Can be used for both ASP.NET Core and .NET Framework Web project as well as Desktop App (no built-in flow).

Awesome Lists containing this project

README

        

JWT Sharp is a small utility library for issuing and validating JWT Bearer. It can be used for both .NET Core and .NET Framework project, with sub-packages for ASP.NET Core and ASP.NET Web API 2 projects.

For more details and documents, check the [Wiki page](https://github.com/datvm/JwtSharp/wiki/Getting-Started).

![](https://i.imgur.com/dB2QHmK.png)

# Installation

You can get the package from NuGet:

[Core Package](https://www.nuget.org/packages/JwtSharp/):

`Install-Package JwtSharp`

Or if you use a specific platform (ASP.NET Core or ASP.NET Web API 2), you can just install the following, they have dependencies on the Core package already:

[ASP.NET Core](https://www.nuget.org/packages/JwtSharp.AspNetCore/):

`Install-Package JwtSharp.AspNetCore`

[ASP.NET Web API 2](https://www.nuget.org/packages/JwtSharp.WebApi/):

`Install-Package JwtSharp.WebApi`

# Demo

You can check from the Demo project for the full demo: https://github.com/datvm/JwtSharp/tree/master/Demo

Check the other Wiki articles for usage.

# Usage and Documentation

Please check the [Wiki articles](https://github.com/datvm/JwtSharp/wiki/Getting-Started) for instructions, documentation and usage.