Skip to content

.NET Core MVC middleware for securing the .json files from unauthorized access with Basic Auth

Notifications You must be signed in to change notification settings

KennyEliasson/swagger-basic-auth-middleware

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

swagger-basic-auth-middleware

.NET Core MVC Middleware for securing the .json files from unauthorized access with Basic Auth.

What to do

  • Setup Swagger as per usual
  • Add configuration to appsettings.json or other store
  • In Startup.cs add services.Configure(Configuration.GetSection("YOUR SECTION")); or similiar.
  • In Configure() add .UseMiddleware() before adding Swagger.

About

.NET Core MVC middleware for securing the .json files from unauthorized access with Basic Auth

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages