asp.net core api 3.1 json web token授权案例,集成Swagger
{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft": "Warning",
"Microsoft.Hosting.Lifetime": "Information"
}
},
"AllowedHosts": "*",
"Jwt": {
"Issuer": "AspNetCoreJwt",
"Audience": "AspNetCoreJwt",
"SecurityKey": "this is a test jwt demo"
}
}