{"repo":"codingstill/dotnetcore-jwt-manager","free":true,"listed":false,"github":"https://github.com/codingstill/dotnetcore-jwt-manager","clone":"git clone https://github.com/codingstill/dotnetcore-jwt-manager.git","description":"A Jwt Manager in C# for .NET Core projects","language":"C#","stars":23,"topics":["jwt","jwt-manager","json","c-sharp","dot-net-core"],"license":"MIT","category":"auth-billing-email","readme_excerpt":"JWT C# library A C# class that can sign and validate JWT tokens, wrapped in a simple library with a couple of helper functions. RSA Algorithm To generate a compatible private key To genarate a compatible certificate from the private key To generate a compatible public key from the private key Sign a JWT token In case of an error, an Exception will be thrown. Validate a JWT token Validate a JWT token with a certificate In case of an error, an Exception will be thrown. HMAC Algorithm For this you need a secret in a string variable. Longer secret is better Sign a JWT token In case of an error, an Exception will be thrown. Validate a JWT token In case of an error, an Exception will be thrown. Other Info The code has been tested both as a .NET and .NET Core library. Check the JwtManagerTests project for more examples on how to use","default_branch":null,"files":null,"tree":[],"storefront":"/r/codingstill","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/codingstill/dotnetcore-jwt-manager/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}