parent
febc7dea05
commit
467ed66783
|
@ -7,10 +7,6 @@
|
|||
<UserSecretsId>aspnet-Contoso.API-37B83CE7-5BE8-423E-9F95-051D20FAB4A4</UserSecretsId>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Content Remove="appsettings.Development.json" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="6.0.10" />
|
||||
<PackageReference Include="Microsoft.AspNetCore.Authentication.OpenIdConnect" Version="6.0.10" />
|
||||
|
|
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
"AzureAd": {
|
||||
"Instance": "https://login.microsoftonline.com/",
|
||||
"Domain": "<Tenant name from AAD properties>.onmicrosoft.com">,
|
||||
"TenantId": "<Tenant Id from AAD properties>",
|
||||
"ClientId": "<Client Id from App Registration representing the API>"
|
||||
},
|
||||
"Logging": {
|
||||
"LogLevel": {
|
||||
"Default": "Information",
|
||||
"Microsoft.AspNetCore": "Warning"
|
||||
}
|
||||
},
|
||||
"AllowedHosts": "*"
|
||||
}
|
|
@ -0,0 +1,12 @@
|
|||
{
|
||||
"Logging": {
|
||||
"LogLevel": {
|
||||
"Default": "Information",
|
||||
"Microsoft.AspNetCore": "Warning"
|
||||
}
|
||||
},
|
||||
"AllowedHosts": "*",
|
||||
"AllowedClients": [
|
||||
"<Use the appropriate Client Id representing the Client calling the API>"
|
||||
]
|
||||
}
|
|
@ -0,0 +1,31 @@
|
|||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio Version 17
|
||||
VisualStudioVersion = 17.4.33205.214
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Contoso.API", "Contoso.API\Contoso.API.csproj", "{DAF48F3D-965D-46EE-9DAA-4AC3EDA948B9}"
|
||||
EndProject
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Contoso.Security.API", "Contoso.Security.API\Contoso.Security.API.csproj", "{5C73099B-CB2F-4594-BDB2-8EB36D80BD50}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{DAF48F3D-965D-46EE-9DAA-4AC3EDA948B9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{DAF48F3D-965D-46EE-9DAA-4AC3EDA948B9}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{DAF48F3D-965D-46EE-9DAA-4AC3EDA948B9}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{DAF48F3D-965D-46EE-9DAA-4AC3EDA948B9}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{5C73099B-CB2F-4594-BDB2-8EB36D80BD50}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{5C73099B-CB2F-4594-BDB2-8EB36D80BD50}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{5C73099B-CB2F-4594-BDB2-8EB36D80BD50}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{5C73099B-CB2F-4594-BDB2-8EB36D80BD50}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
SolutionGuid = {9C570FF1-751C-4BE9-A475-B11BB1161C3C}
|
||||
EndGlobalSection
|
||||
EndGlobal
|
Loading…
Reference in New Issue