vurso / jwt-api

Example API that shows how to implement JSON Web Token authentication and authorization with ASP.NET Core 2.0, built from scratch.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

JWT API

Example API that shows how to implement JSON Web Token authentication and authorization with ASP.NET Core 3.1 (this fork will be upraded fully to ASP.NET Core 3.1 and implement a number of additional features in the near future).

Features

  • User registration;
  • Password hashing;
  • Role-based authorization;
  • Login via access token creation;
  • Refresh tokens, to create new access tokens when access tokens expire;
  • Rovoking refresh tokens.

Frameworks and Libraries

The API uses the following libraries and frameworks to deliver the functionalaties described above:

About

Example API that shows how to implement JSON Web Token authentication and authorization with ASP.NET Core 2.0, built from scratch.

License:MIT License


Languages

Language:C# 100.0%