Skip to content

aminltf/JwtAuth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JwtAuth

JwtAuth is a C# project developed with ASP.NET Core 8 that demonstrates JSON Web Token (JWT) based authentication and authorization using Clean Architecture principles. This project includes Entity Framework Core for data access and management, providing a secure and scalable approach for handling user authentication and role-based access.

Features

  • JWT Authentication: Secure user login and token generation.
  • Role-based Authorization: Control access to resources based on user roles.
  • Clean Architecture: Organized into layers for better separation of concerns and maintainability.
  • Entity Framework Core Integration: Manage data with EF Core, including migrations and database updates.
  • Token Validation Middleware: Validate JWT tokens in API requests to ensure secure access.
  • Scalable and Extensible: Easily integrate and expand within existing ASP.NET Core applications.

Getting Started

Prerequisites

  • .NET SDK 8.0 or higher
  • An IDE like Visual Studio 2022 or later, or Visual Studio Code

Installation

  1. Clone the Repository:
    git clone https://github.com/aminltf/JwtAuth.git
    cd JwtAuth

About

JWT Authentication Demo implemented with Clean Architecture

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages