Skip to content

Commit

Permalink
Rename projects and folders
Browse files Browse the repository at this point in the history
  • Loading branch information
damianh committed Oct 5, 2024
1 parent 496dd83 commit 366d852
Show file tree
Hide file tree
Showing 90 changed files with 69 additions and 55 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/access-token-management-ci.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: access-token-management-ci
name: access-token-management\ci

permissions:
contents: read
Expand Down Expand Up @@ -41,10 +41,7 @@ jobs:
dotnet-version: |
8.0.x
- name: Build and test
run: ./build.ps1

- name: Sign packages
- name: Build
run: ./build.ps1 sign

- name: Push packages to MyGet
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/access-token-management-codeql.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: acces-token-management-codeql"
name: acces-token-management\codeql

on:
push:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,47 +1,40 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.30114.105
# 17
VisualStudioVersion = 17.11.35312.102
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Duende.AccessTokenManagement", "src\Duende.AccessTokenManagement\Duende.AccessTokenManagement.csproj", "{BC6D6275-1096-40DD-8D5B-D04FD9C261E2}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "samples", "samples", "{FC05DC37-5F54-4171-97F9-4AC2A64E3E14}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Duende.AccessTokenManagement.OpenIdConnect", "src\Duende.AccessTokenManagement.OpenIdConnect\Duende.AccessTokenManagement.OpenIdConnect.csproj", "{9C1ED189-33A1-430C-899E-78C2458C25FC}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Worker", "samples\Worker\Worker.csproj", "{84AA3924-23EF-4E6B-91E9-6D9F9118AAFF}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Worker", "samples\Worker\Worker.csproj", "{84AA3924-23EF-4E6B-91E9-6D9F9118AAFF}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Web", "samples\Web\Web.csproj", "{FB70E5D8-B185-4DA3-9BA9-2CE69D4775FF}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Web", "samples\Web\Web.csproj", "{FB70E5D8-B185-4DA3-9BA9-2CE69D4775FF}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{F65AC342-86DC-4548-883A-61DB34626203}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "test", "test", "{0B14DE7B-43BD-4570-B6AB-37EDA32032FF}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Tests", "test\Tests\Tests.csproj", "{11D9707F-E9AB-47BC-82E0-699AA0C49211}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "BlazorServer", "samples\BlazorServer\BlazorServer.csproj", "{AB15F574-FDF0-4117-9E4F-9D35EEA65125}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WebJarJwt", "samples\WebJarJwt\WebJarJwt.csproj", "{C73469D2-5461-4E65-A1CE-6FE83B0FCA85}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WorkerDI", "samples\WorkerDI\WorkerDI.csproj", "{22D7B959-CC06-4CDC-8A13-E51E2A94EEE5}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BlazorServer", "samples\BlazorServer\BlazorServer.csproj", "{AB15F574-FDF0-4117-9E4F-9D35EEA65125}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AccessTokenManagement", "src\AccessTokenManagement\AccessTokenManagement.csproj", "{9D97D77F-4ADF-4769-AA84-4247D9C53FD9}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WebJarJwt", "samples\WebJarJwt\WebJarJwt.csproj", "{C73469D2-5461-4E65-A1CE-6FE83B0FCA85}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AccessTokenManagement.OpenIdConnect", "src\AccessTokenManagement.OpenIdConnect\AccessTokenManagement.OpenIdConnect.csproj", "{57A698CF-67A1-46CB-B1AB-902FFFEADB89}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WorkerDI", "samples\WorkerDI\WorkerDI.csproj", "{22D7B959-CC06-4CDC-8A13-E51E2A94EEE5}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AccessTokenManagement.Tests", "test\AccessTokenManagement.Tests\AccessTokenManagement.Tests.csproj", "{93554316-F7D2-426F-A3D2-95C120A7A04D}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "build", "build", "{CF071876-039F-4DF7-92A3-B0209A7CD27F}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "build", "build\build.csproj", "{3EE4C5AF-7DC5-42DC-93F7-C9F8BEF2E5C8}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{BC6D6275-1096-40DD-8D5B-D04FD9C261E2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{BC6D6275-1096-40DD-8D5B-D04FD9C261E2}.Debug|Any CPU.Build.0 = Debug|Any CPU
{BC6D6275-1096-40DD-8D5B-D04FD9C261E2}.Release|Any CPU.ActiveCfg = Release|Any CPU
{BC6D6275-1096-40DD-8D5B-D04FD9C261E2}.Release|Any CPU.Build.0 = Release|Any CPU
{9C1ED189-33A1-430C-899E-78C2458C25FC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{9C1ED189-33A1-430C-899E-78C2458C25FC}.Debug|Any CPU.Build.0 = Debug|Any CPU
{9C1ED189-33A1-430C-899E-78C2458C25FC}.Release|Any CPU.ActiveCfg = Release|Any CPU
{9C1ED189-33A1-430C-899E-78C2458C25FC}.Release|Any CPU.Build.0 = Release|Any CPU
{84AA3924-23EF-4E6B-91E9-6D9F9118AAFF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{84AA3924-23EF-4E6B-91E9-6D9F9118AAFF}.Debug|Any CPU.Build.0 = Debug|Any CPU
{84AA3924-23EF-4E6B-91E9-6D9F9118AAFF}.Release|Any CPU.ActiveCfg = Release|Any CPU
Expand All @@ -50,10 +43,6 @@ Global
{FB70E5D8-B185-4DA3-9BA9-2CE69D4775FF}.Debug|Any CPU.Build.0 = Debug|Any CPU
{FB70E5D8-B185-4DA3-9BA9-2CE69D4775FF}.Release|Any CPU.ActiveCfg = Release|Any CPU
{FB70E5D8-B185-4DA3-9BA9-2CE69D4775FF}.Release|Any CPU.Build.0 = Release|Any CPU
{11D9707F-E9AB-47BC-82E0-699AA0C49211}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{11D9707F-E9AB-47BC-82E0-699AA0C49211}.Debug|Any CPU.Build.0 = Debug|Any CPU
{11D9707F-E9AB-47BC-82E0-699AA0C49211}.Release|Any CPU.ActiveCfg = Release|Any CPU
{11D9707F-E9AB-47BC-82E0-699AA0C49211}.Release|Any CPU.Build.0 = Release|Any CPU
{AB15F574-FDF0-4117-9E4F-9D35EEA65125}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{AB15F574-FDF0-4117-9E4F-9D35EEA65125}.Debug|Any CPU.Build.0 = Debug|Any CPU
{AB15F574-FDF0-4117-9E4F-9D35EEA65125}.Release|Any CPU.ActiveCfg = Release|Any CPU
Expand All @@ -66,15 +55,38 @@ Global
{22D7B959-CC06-4CDC-8A13-E51E2A94EEE5}.Debug|Any CPU.Build.0 = Debug|Any CPU
{22D7B959-CC06-4CDC-8A13-E51E2A94EEE5}.Release|Any CPU.ActiveCfg = Release|Any CPU
{22D7B959-CC06-4CDC-8A13-E51E2A94EEE5}.Release|Any CPU.Build.0 = Release|Any CPU
{9D97D77F-4ADF-4769-AA84-4247D9C53FD9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{9D97D77F-4ADF-4769-AA84-4247D9C53FD9}.Debug|Any CPU.Build.0 = Debug|Any CPU
{9D97D77F-4ADF-4769-AA84-4247D9C53FD9}.Release|Any CPU.ActiveCfg = Release|Any CPU
{9D97D77F-4ADF-4769-AA84-4247D9C53FD9}.Release|Any CPU.Build.0 = Release|Any CPU
{57A698CF-67A1-46CB-B1AB-902FFFEADB89}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{57A698CF-67A1-46CB-B1AB-902FFFEADB89}.Debug|Any CPU.Build.0 = Debug|Any CPU
{57A698CF-67A1-46CB-B1AB-902FFFEADB89}.Release|Any CPU.ActiveCfg = Release|Any CPU
{57A698CF-67A1-46CB-B1AB-902FFFEADB89}.Release|Any CPU.Build.0 = Release|Any CPU
{93554316-F7D2-426F-A3D2-95C120A7A04D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{93554316-F7D2-426F-A3D2-95C120A7A04D}.Debug|Any CPU.Build.0 = Debug|Any CPU
{93554316-F7D2-426F-A3D2-95C120A7A04D}.Release|Any CPU.ActiveCfg = Release|Any CPU
{93554316-F7D2-426F-A3D2-95C120A7A04D}.Release|Any CPU.Build.0 = Release|Any CPU
{3EE4C5AF-7DC5-42DC-93F7-C9F8BEF2E5C8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{3EE4C5AF-7DC5-42DC-93F7-C9F8BEF2E5C8}.Debug|Any CPU.Build.0 = Debug|Any CPU
{3EE4C5AF-7DC5-42DC-93F7-C9F8BEF2E5C8}.Release|Any CPU.ActiveCfg = Release|Any CPU
{3EE4C5AF-7DC5-42DC-93F7-C9F8BEF2E5C8}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
{84AA3924-23EF-4E6B-91E9-6D9F9118AAFF} = {FC05DC37-5F54-4171-97F9-4AC2A64E3E14}
{FB70E5D8-B185-4DA3-9BA9-2CE69D4775FF} = {FC05DC37-5F54-4171-97F9-4AC2A64E3E14}
{BC6D6275-1096-40DD-8D5B-D04FD9C261E2} = {F65AC342-86DC-4548-883A-61DB34626203}
{9C1ED189-33A1-430C-899E-78C2458C25FC} = {F65AC342-86DC-4548-883A-61DB34626203}
{11D9707F-E9AB-47BC-82E0-699AA0C49211} = {0B14DE7B-43BD-4570-B6AB-37EDA32032FF}
{AB15F574-FDF0-4117-9E4F-9D35EEA65125} = {FC05DC37-5F54-4171-97F9-4AC2A64E3E14}
{C73469D2-5461-4E65-A1CE-6FE83B0FCA85} = {FC05DC37-5F54-4171-97F9-4AC2A64E3E14}
{22D7B959-CC06-4CDC-8A13-E51E2A94EEE5} = {FC05DC37-5F54-4171-97F9-4AC2A64E3E14}
{9D97D77F-4ADF-4769-AA84-4247D9C53FD9} = {F65AC342-86DC-4548-883A-61DB34626203}
{57A698CF-67A1-46CB-B1AB-902FFFEADB89} = {F65AC342-86DC-4548-883A-61DB34626203}
{93554316-F7D2-426F-A3D2-95C120A7A04D} = {0B14DE7B-43BD-4570-B6AB-37EDA32032FF}
{3EE4C5AF-7DC5-42DC-93F7-C9F8BEF2E5C8} = {CF071876-039F-4DF7-92A3-B0209A7CD27F}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {A8AE52DE-E234-417E-8152-95C30CD71A7A}
EndGlobalSection
EndGlobal
6 changes: 3 additions & 3 deletions access-token-management/build/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ internal static async Task Main(string[] args)
Target(Targets.Test, DependsOn(Targets.Build), () =>
{
Run("dotnet",
$"test test/Tests -c Release --nologo "
$"test test/AccessTokenManagement -c Release --nologo "
+ $"--blame-hang "
+ $"--blame-hang-timeout=120sec "
+ $"--logger \"console;verbosity=normal\" --logger \"trx;LogFileName=Test.trx\"");
Expand All @@ -60,8 +60,8 @@ internal static async Task Main(string[] args)

Target(Targets.Pack, DependsOn(Targets.Build, Targets.CleanPackOutput), () =>
{
Run("dotnet", $"pack src/Duende.AccessTokenManagement/Duende.AccessTokenManagement.csproj -c Release -o {Directory.CreateDirectory(packOutput).FullName} --no-build --nologo");
Run("dotnet", $"pack src/Duende.AccessTokenManagement.OpenIdConnect/Duende.AccessTokenManagement.OpenIdConnect.csproj -c Release -o {Directory.CreateDirectory(packOutput).FullName} --no-build --nologo");
Run("dotnet", $"pack src/AccessTokenManagement/AccessTokenManagement.csproj -c Release -o {Directory.CreateDirectory(packOutput).FullName} --no-build --nologo");
Run("dotnet", $"pack src/AccessTokenManagement.OpenIdConnect/AccessTokenManagement.OpenIdConnect.csproj -c Release -o {Directory.CreateDirectory(packOutput).FullName} --no-build --nologo");
});

Target(Targets.SignPackage, DependsOn(Targets.Pack, Targets.RestoreTools), () =>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\..\src\Duende.AccessTokenManagement.OpenIdConnect\Duende.AccessTokenManagement.OpenIdConnect.csproj" />
<ProjectReference Include="..\..\src\AccessTokenManagement.OpenIdConnect\AccessTokenManagement.OpenIdConnect.csproj" />
</ItemGroup>

</Project>
4 changes: 2 additions & 2 deletions access-token-management/samples/Web/Web.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
<PackageReference Include="Microsoft.AspNetCore.Authentication.OpenIdConnect" Version="8.0.7" />
<PackageReference Include="Serilog.AspNetCore" Version="8.0.2" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\..\src\Duende.AccessTokenManagement.OpenIdConnect\Duende.AccessTokenManagement.OpenIdConnect.csproj" />
<ProjectReference Include="..\..\src\AccessTokenManagement.OpenIdConnect\AccessTokenManagement.OpenIdConnect.csproj" />
</ItemGroup>

</Project>
4 changes: 2 additions & 2 deletions access-token-management/samples/WebJarJwt/WebJarJwt.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
<PackageReference Include="Microsoft.AspNetCore.Authentication.OpenIdConnect" Version="8.0.7" />
<PackageReference Include="Serilog.AspNetCore" Version="8.0.2" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\..\src\Duende.AccessTokenManagement.OpenIdConnect\Duende.AccessTokenManagement.OpenIdConnect.csproj" />
<ProjectReference Include="..\..\src\AccessTokenManagement.OpenIdConnect\AccessTokenManagement.OpenIdConnect.csproj" />
</ItemGroup>
</Project>
2 changes: 1 addition & 1 deletion access-token-management/samples/Worker/Worker.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\..\src\Duende.AccessTokenManagement\Duende.AccessTokenManagement.csproj" />
<ProjectReference Include="..\..\src\AccessTokenManagement\AccessTokenManagement.csproj" />
</ItemGroup>
</Project>
2 changes: 1 addition & 1 deletion access-token-management/samples/WorkerDI/WorkerDI.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\..\src\Duende.AccessTokenManagement\Duende.AccessTokenManagement.csproj" />
<ProjectReference Include="..\..\src\AccessTokenManagement\AccessTokenManagement.csproj" />
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,13 @@
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<PackageReadmeFile>README.md</PackageReadmeFile>
<PackageId>Duende.AccessTokenManagement.OpenIdConnect</PackageId>
<AssemblyName>$(PackageId)</AssemblyName>
<RootNamespace>$(PackageId)</RootNamespace>
<Description>Automatic access token management for interactive OpenIdConnect-based ASP.NET Core applications</Description>
</PropertyGroup>

<ItemGroup>
<None Include="README.md" Pack="true" PackagePath=""/>
<None Include="README.md" Pack="true" PackagePath="" />
</ItemGroup>

<ItemGroup>
Expand All @@ -20,8 +22,10 @@

<PackageReference Include="MinVer" Version="5.0.0" PrivateAssets="All" />
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="All" />

<ProjectReference Include="..\Duende.AccessTokenManagement\Duende.AccessTokenManagement.csproj" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\AccessTokenManagement\AccessTokenManagement.csproj" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<PackageReadmeFile>README.md</PackageReadmeFile>
<PackageId>Duende.AccessTokenManagement</PackageId>
<AssemblyName>$(PackageId)</AssemblyName>
<RootNamespace>$(PackageId)</RootNamespace>
<Description>Automatic access token management for OAuth client credential flows</Description>
</PropertyGroup>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@
<TargetFrameworks>net8.0</TargetFrameworks>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>

<RootNamespace>Duende.AccessTokenManagement</RootNamespace>
<IsPackable>false</IsPackable>
</PropertyGroup>

<ItemGroup>
<FrameworkReference Include="Microsoft.AspNetCore.App" />

<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer"/>
<PackageReference Include="Microsoft.AspNetCore.TestHost"/>
<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" />
<PackageReference Include="Microsoft.AspNetCore.TestHost" />

<PackageReference Include="Duende.IdentityServer" Version="$(IdentityServerVersion)" />

Expand Down Expand Up @@ -40,12 +40,11 @@
with AngleSharp. -->
<PackageReference Include="Microsoft.NETCore.Jit" Version="2.0.8" />
<PackageReference Include="System.Net.Http" Version="4.3.4" />
<PackageReference Include="System.Security.Cryptography.X509Certificates" Version="4.3.2"/>
<PackageReference Include="System.Security.Cryptography.X509Certificates" Version="4.3.2" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\..\src\Duende.AccessTokenManagement.OpenIdConnect\Duende.AccessTokenManagement.OpenIdConnect.csproj" />
<ProjectReference Include="..\..\src\Duende.AccessTokenManagement\Duende.AccessTokenManagement.csproj" />
<ProjectReference Include="..\..\src\AccessTokenManagement.OpenIdConnect\AccessTokenManagement.OpenIdConnect.csproj" />
</ItemGroup>

</Project>

0 comments on commit 366d852

Please sign in to comment.