Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dotnet/aspnetcore.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordotnet-bot <dotnet-bot@microsoft.com>2020-08-15 04:29:17 +0300
committerdotnet-bot <dotnet-bot@microsoft.com>2020-08-15 04:29:17 +0300
commita4938d07a5127ffad8466ddf703a6b5b21f4b0c9 (patch)
tree2f894bd2e3c1e44ebb3cdacb8ef159b6e708b939
parentb8e176e35c057b978c241a03ed22fc0fc6d14cc8 (diff)
parent7acb96af5e722bc561167acc213df1796f026bc5 (diff)
Merge in 'release/5.0-preview8' changesv5.0.0-preview.8.20414.8
-rw-r--r--src/ProjectTemplates/Web.ProjectTemplates/content/ComponentsWebAssembly-CSharp/Server/Controllers/WeatherForecastController.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ProjectTemplates/Web.ProjectTemplates/content/ComponentsWebAssembly-CSharp/Server/Controllers/WeatherForecastController.cs b/src/ProjectTemplates/Web.ProjectTemplates/content/ComponentsWebAssembly-CSharp/Server/Controllers/WeatherForecastController.cs
index e39c9297a7..15f1df532a 100644
--- a/src/ProjectTemplates/Web.ProjectTemplates/content/ComponentsWebAssembly-CSharp/Server/Controllers/WeatherForecastController.cs
+++ b/src/ProjectTemplates/Web.ProjectTemplates/content/ComponentsWebAssembly-CSharp/Server/Controllers/WeatherForecastController.cs
@@ -38,7 +38,7 @@ namespace ComponentsWebAssembly_CSharp.Server.Controllers
private readonly ILogger<WeatherForecastController> _logger;
// The Web API will only accept tokens 1) for users, and 2) having the access_as_user scope for this API
- static readonly string[] scopeRequiredByApi = new string[] { "access_as_user" };
+ static readonly string[] scopeRequiredByApi = new string[] { "api-scope" };
#if (GenerateApi)
private readonly IDownstreamWebApi _downstreamWebApi;