maliming
2 years ago
No known key found for this signature in database
GPG Key ID: A646B9CB645ECEA4
16 changed files with
16 additions and
16 deletions
-
templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Blazor.WebAssembly/Server.Mongo/appsettings.json
-
templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Blazor.WebAssembly/Server/appsettings.json
-
templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Host.Mongo/appsettings.json
-
templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Host/appsettings.json
-
templates/app/aspnet-core/src/MyCompanyName.MyProjectName.Blazor.Server.Tiered/MyProjectNameBlazorModule.cs
-
templates/app/aspnet-core/src/MyCompanyName.MyProjectName.Blazor.Server.Tiered/appsettings.json
-
templates/app/aspnet-core/src/MyCompanyName.MyProjectName.Blazor.Server/appsettings.json
-
templates/app/aspnet-core/src/MyCompanyName.MyProjectName.HttpApi.Host/MyProjectNameHttpApiHostModule.cs
-
templates/app/aspnet-core/src/MyCompanyName.MyProjectName.HttpApi.Host/appsettings.json
-
templates/app/aspnet-core/src/MyCompanyName.MyProjectName.HttpApi.HostWithIds/appsettings.json
-
templates/app/aspnet-core/src/MyCompanyName.MyProjectName.Web.Host/MyProjectNameWebModule.cs
-
templates/app/aspnet-core/src/MyCompanyName.MyProjectName.Web.Host/appsettings.json
-
templates/module/aspnet-core/host/MyCompanyName.MyProjectName.HttpApi.Host/MyProjectNameHttpApiHostModule.cs
-
templates/module/aspnet-core/host/MyCompanyName.MyProjectName.HttpApi.Host/appsettings.json
-
templates/module/aspnet-core/host/MyCompanyName.MyProjectName.Web.Host/MyProjectNameWebHostModule.cs
-
templates/module/aspnet-core/host/MyCompanyName.MyProjectName.Web.Host/appsettings.json
|
|
|
@ -9,7 +9,7 @@ |
|
|
|
}, |
|
|
|
"AuthServer": { |
|
|
|
"Authority": "https://localhost:44300", |
|
|
|
"RequireHttpsMetadata": "false", |
|
|
|
"RequireHttpsMetadata": false, |
|
|
|
"SwaggerClientId": "MyProjectName_Swagger", |
|
|
|
"SwaggerClientSecret": "1q2w3e*" |
|
|
|
}, |
|
|
|
|
|
|
|
@ -9,7 +9,7 @@ |
|
|
|
}, |
|
|
|
"AuthServer": { |
|
|
|
"Authority": "https://localhost:44300", |
|
|
|
"RequireHttpsMetadata": "false", |
|
|
|
"RequireHttpsMetadata": false, |
|
|
|
"SwaggerClientId": "MyProjectName_Swagger", |
|
|
|
"SwaggerClientSecret": "1q2w3e*" |
|
|
|
}, |
|
|
|
|
|
|
|
@ -10,7 +10,7 @@ |
|
|
|
}, |
|
|
|
"AuthServer": { |
|
|
|
"Authority": "https://localhost:44300", |
|
|
|
"RequireHttpsMetadata": "false", |
|
|
|
"RequireHttpsMetadata": false, |
|
|
|
"SwaggerClientId": "MyProjectName_Swagger", |
|
|
|
"SwaggerClientSecret": "1q2w3e*" |
|
|
|
}, |
|
|
|
|
|
|
|
@ -10,7 +10,7 @@ |
|
|
|
}, |
|
|
|
"AuthServer": { |
|
|
|
"Authority": "https://localhost:44300", |
|
|
|
"RequireHttpsMetadata": "false", |
|
|
|
"RequireHttpsMetadata": false, |
|
|
|
"SwaggerClientId": "MyProjectName_Swagger", |
|
|
|
"SwaggerClientSecret": "1q2w3e*" |
|
|
|
}, |
|
|
|
|
|
|
|
@ -169,7 +169,7 @@ public class MyProjectNameBlazorModule : AbpModule |
|
|
|
.AddAbpOpenIdConnect("oidc", options => |
|
|
|
{ |
|
|
|
options.Authority = configuration["AuthServer:Authority"]; |
|
|
|
options.RequireHttpsMetadata = Convert.ToBoolean(configuration["AuthServer:RequireHttpsMetadata"]); |
|
|
|
options.RequireHttpsMetadata = configuration.GetValue<bool>("AuthServer:RequireHttpsMetadata"); |
|
|
|
options.ResponseType = OpenIdConnectResponseType.CodeIdToken; |
|
|
|
|
|
|
|
options.ClientId = configuration["AuthServer:ClientId"]; |
|
|
|
|
|
|
|
@ -12,7 +12,7 @@ |
|
|
|
}, |
|
|
|
"AuthServer": { |
|
|
|
"Authority": "https://localhost:44301", |
|
|
|
"RequireHttpsMetadata": "true", |
|
|
|
"RequireHttpsMetadata": true, |
|
|
|
"ClientId": "MyProjectName_BlazorServerTiered", |
|
|
|
"ClientSecret": "1q2w3e*" |
|
|
|
}, |
|
|
|
|
|
|
|
@ -8,7 +8,7 @@ |
|
|
|
}, |
|
|
|
"AuthServer": { |
|
|
|
"Authority": "https://localhost:44308", |
|
|
|
"RequireHttpsMetadata": "false" |
|
|
|
"RequireHttpsMetadata": false |
|
|
|
}, |
|
|
|
"StringEncryption": { |
|
|
|
"DefaultPassPhrase": "gsKnGZ041HLL4IM8" |
|
|
|
|
|
|
|
@ -102,7 +102,7 @@ public class MyProjectNameHttpApiHostModule : AbpModule |
|
|
|
.AddJwtBearer(options => |
|
|
|
{ |
|
|
|
options.Authority = configuration["AuthServer:Authority"]; |
|
|
|
options.RequireHttpsMetadata = Convert.ToBoolean(configuration["AuthServer:RequireHttpsMetadata"]); |
|
|
|
options.RequireHttpsMetadata = configuration.GetValue<bool>("AuthServer:RequireHttpsMetadata"); |
|
|
|
options.Audience = "MyProjectName"; |
|
|
|
}); |
|
|
|
} |
|
|
|
|
|
|
|
@ -10,7 +10,7 @@ |
|
|
|
}, |
|
|
|
"AuthServer": { |
|
|
|
"Authority": "https://localhost:44301", |
|
|
|
"RequireHttpsMetadata": "true", |
|
|
|
"RequireHttpsMetadata": true, |
|
|
|
"SwaggerClientId": "MyProjectName_Swagger" |
|
|
|
}, |
|
|
|
"StringEncryption": { |
|
|
|
|
|
|
|
@ -10,7 +10,7 @@ |
|
|
|
}, |
|
|
|
"AuthServer": { |
|
|
|
"Authority": "https://localhost:44305", |
|
|
|
"RequireHttpsMetadata": "false", |
|
|
|
"RequireHttpsMetadata": false, |
|
|
|
"SwaggerClientId": "MyProjectName_Swagger" |
|
|
|
}, |
|
|
|
"StringEncryption": { |
|
|
|
|
|
|
|
@ -150,7 +150,7 @@ public class MyProjectNameWebModule : AbpModule |
|
|
|
.AddAbpOpenIdConnect("oidc", options => |
|
|
|
{ |
|
|
|
options.Authority = configuration["AuthServer:Authority"]; |
|
|
|
options.RequireHttpsMetadata = Convert.ToBoolean(configuration["AuthServer:RequireHttpsMetadata"]); |
|
|
|
options.RequireHttpsMetadata = configuration.GetValue<bool>("AuthServer:RequireHttpsMetadata"); |
|
|
|
options.ResponseType = OpenIdConnectResponseType.CodeIdToken; |
|
|
|
|
|
|
|
options.ClientId = configuration["AuthServer:ClientId"]; |
|
|
|
|
|
|
|
@ -12,7 +12,7 @@ |
|
|
|
}, |
|
|
|
"AuthServer": { |
|
|
|
"Authority": "https://localhost:44301", |
|
|
|
"RequireHttpsMetadata": "true", |
|
|
|
"RequireHttpsMetadata": true, |
|
|
|
"ClientId": "MyProjectName_Web", |
|
|
|
"ClientSecret": "1q2w3e*" |
|
|
|
}, |
|
|
|
|
|
|
|
@ -121,7 +121,7 @@ public class MyProjectNameHttpApiHostModule : AbpModule |
|
|
|
.AddJwtBearer(options => |
|
|
|
{ |
|
|
|
options.Authority = configuration["AuthServer:Authority"]; |
|
|
|
options.RequireHttpsMetadata = Convert.ToBoolean(configuration["AuthServer:RequireHttpsMetadata"]); |
|
|
|
options.RequireHttpsMetadata = configuration.GetValue<bool>("AuthServer:RequireHttpsMetadata"); |
|
|
|
options.Audience = "MyProjectName"; |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
@ -11,7 +11,7 @@ |
|
|
|
}, |
|
|
|
"AuthServer": { |
|
|
|
"Authority": "https://localhost:44301/", |
|
|
|
"RequireHttpsMetadata": "false", |
|
|
|
"RequireHttpsMetadata": false, |
|
|
|
"SwaggerClientId": "MyProjectName_Swagger", |
|
|
|
"SwaggerClientSecret": "1q2w3e*" |
|
|
|
} |
|
|
|
|
|
|
|
@ -154,7 +154,7 @@ public class MyProjectNameWebHostModule : AbpModule |
|
|
|
.AddAbpOpenIdConnect("oidc", options => |
|
|
|
{ |
|
|
|
options.Authority = configuration["AuthServer:Authority"]; |
|
|
|
options.RequireHttpsMetadata = Convert.ToBoolean(configuration["AuthServer:RequireHttpsMetadata"]); |
|
|
|
options.RequireHttpsMetadata = configuration.GetValue<bool>("AuthServer:RequireHttpsMetadata"); |
|
|
|
options.ResponseType = OpenIdConnectResponseType.CodeIdToken; |
|
|
|
|
|
|
|
options.ClientId = configuration["AuthServer:ClientId"]; |
|
|
|
|
|
|
|
@ -15,7 +15,7 @@ |
|
|
|
}, |
|
|
|
"AuthServer": { |
|
|
|
"Authority": "https://localhost:44301/", |
|
|
|
"RequireHttpsMetadata": "false", |
|
|
|
"RequireHttpsMetadata": false, |
|
|
|
"ClientId": "MyProjectName_Web" |
|
|
|
} |
|
|
|
} |
|
|
|
|