Skip to content

Main project is audience dependent on access to other api projects. I am providing information about the structure and architecture of the jwt token.

License

Notifications You must be signed in to change notification settings

cihatsolak/net7-jwt-token

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Main project is audience dependent on access to other api projects. I am providing information about the structure and architecture of the jwt token.

Topics

Resources

License

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages