Skip to content

Latest commit

 

History

History
41 lines (29 loc) · 1.9 KB

README.md

File metadata and controls

41 lines (29 loc) · 1.9 KB

NET 7 - JWT TOKEN

By providing security with jwt tokens, I enable users to send requests to their service addresses.

AuthServer is the main project and is the token provider. With certain rules of tokens received here, requests can be sent to other mini app api projects. In the main project, there are tokens received with membership and tokens received without membership. I use the Microsoft Identity architecture in the membership system. For user tokens that are not included in the membership system, I provide tokens according to the username and password information I have specified in the appSettings.json file.

Screenshot_2

There are four libraries and four web API projects in total within the project.

Libraries

Screenshot_3

Installed Packages (SharedLibrary)

  • Microsoft.AspNetCore.Authentication.JwtBearer

Installed Packages (AuthServer.Service)

  • AutoMapper

Installed Packages (AuthServer.Data)

  • Microsoft.EntityFrameworkCore
  • Microsoft.EntityFrameworkCore.Design
  • Microsoft.EntityFrameworkCore.SqlServer
  • Microsoft.EntityFrameworkCore.Tools

Installed Packages (AuthServer.Core)

  • Microsoft.AspNetCore.Identity.EntityFrameworkCore

Installed Packages (AuthServer.API) MAIN PROJECT

  • FluentValidation.AspNetCore
  • Microsoft.AspNetCore.Authentication.JwtBearer
  • Microsoft.EntityFrameworkCore.Design
  • Swashbuckle.AspNetCore

Installed Packages (MiniApp1.API, MiniApp2.API, MiniApp3.API)

  • There is no package installed.

Contact Addresses