Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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).
- Host: GitHub
- URL: https://github.com/datvm/jwtsharp
- Owner: datvm
- License: mit
- Created: 2018-07-01T11:13:26.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-10-11T10:09:46.000Z (about 6 years ago)
- Last Synced: 2024-10-04T20:05:07.349Z (about 1 month ago)
- Topics: aspnetcore, authentication, authorization, bearer, csharp, jwt, webapi-2
- Language: C#
- Size: 43 KB
- Stars: 2
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.MD
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.