chore(consumers.json): Im Projektverzeichnis erstellt und zur Konfiguration hinzugefügt.
This commit is contained in:
parent
a14ada60b4
commit
6553104f8d
@ -1,5 +1,9 @@
|
|||||||
var builder = WebApplication.CreateBuilder(args);
|
var builder = WebApplication.CreateBuilder(args);
|
||||||
|
|
||||||
|
var config = builder.Configuration;
|
||||||
|
|
||||||
|
builder.Configuration.AddJsonFile("consumers.json", true, true);
|
||||||
|
|
||||||
// Add services to the container.
|
// Add services to the container.
|
||||||
|
|
||||||
builder.Services.AddControllers();
|
builder.Services.AddControllers();
|
||||||
@ -22,4 +26,4 @@ app.UseAuthorization();
|
|||||||
|
|
||||||
app.MapControllers();
|
app.MapControllers();
|
||||||
|
|
||||||
app.Run();
|
app.Run();
|
||||||
12
src/DigitalData.Auth.API/consumers.json
Normal file
12
src/DigitalData.Auth.API/consumers.json
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
{
|
||||||
|
"Consumers": [
|
||||||
|
{
|
||||||
|
"Name": "WorkFlow.API",
|
||||||
|
"Password": "t3B|aiJ'i-snLzNRj3B{9=&:lM5P@'i<>L"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Name": "DigitalData.UserManager.API",
|
||||||
|
"Password": "a098Hvu1-y29ep{KPQO]#>8TK+fk{O`_d"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user