Skip to content

Commit d941ae6

Browse files
Rename the constants.cs file to LicenseKey.cs to make things more obvious as to what the file contains.
1 parent 79a8b8d commit d941ae6

File tree

28 files changed

+49
-48
lines changed

28 files changed

+49
-48
lines changed

Constants.cs

Lines changed: 0 additions & 7 deletions
This file was deleted.

DuendeIdentityServer/DuendeDynamicProviders/DuendeDynamicProviders.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
</PropertyGroup>
77

88
<ItemGroup>
9-
<Compile Include="..\..\Constants.cs" Link="Constants.cs" />
9+
<Compile Include="..\..\LicenseKey.cs" Link="LicenseKey.cs" />
1010
</ItemGroup>
1111

1212
<ItemGroup>

DuendeIdentityServer/DuendeDynamicProviders/HostingExtensions.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ public static WebApplication ConfigureServices(this WebApplicationBuilder builde
3434
isBuilder.AddSamlDynamicProvider(options =>
3535
{
3636
// unstorable/reusable data, such as license information and events. This will override the data stored
37-
options.Licensee = Constants.Licensee;
38-
options.LicenseKey = Constants.LicenseKey;
37+
options.Licensee = LicenseKey.Licensee;
38+
options.LicenseKey = LicenseKey.Key;
3939
})
4040

4141
// Use EntityFramework store for storing identity providers

DuendeIdentityServer/DuendeIdP/DuendeIdP.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
</PropertyGroup>
77

88
<ItemGroup>
9-
<Compile Include="..\..\Constants.cs" Link="Constants.cs" />
9+
<Compile Include="..\..\LicenseKey.cs" Link="LicenseKey.cs" />
1010
</ItemGroup>
1111

1212
<ItemGroup>

DuendeIdentityServer/DuendeIdP/HostingExtensions.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ public static WebApplication ConfigureServices(this WebApplicationBuilder builde
3737

3838
isBuilder.AddSamlPlugin(options =>
3939
{
40-
options.Licensee = Constants.Licensee;
41-
options.LicenseKey = Constants.LicenseKey;
40+
options.Licensee = LicenseKey.Licensee;
41+
options.LicenseKey = LicenseKey.Key;
4242

4343
options.WantAuthenticationRequestsSigned = false;
4444
})

DuendeIdentityServer/SLO/SamlOidcSLO/IdentityServer/HostingExtensions.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ public static WebApplication ConfigureServices(this WebApplicationBuilder builde
3131
.AddTestUsers(TestUsers.Users)
3232
.AddSamlPlugin(options =>
3333
{
34-
options.Licensee = Constants.Licensee;
35-
options.LicenseKey = Constants.LicenseKey;
34+
options.Licensee = LicenseKey.Licensee;
35+
options.LicenseKey = LicenseKey.Key;
3636

3737
//Use Iterative SLO
3838
options.UseIFramesForSlo = false;

DuendeIdentityServer/SLO/SamlOidcSLO/IdentityServer/IdentityServer.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,6 @@
4343
<_ContentIncludedByDefault Remove="Pages\ExternalLogin\Challenge.cshtml" />
4444
</ItemGroup>
4545
<ItemGroup>
46-
<Compile Include="..\..\..\..\Constants.cs" Link="Constants.cs" />
46+
<Compile Include="..\..\..\..\LicenseKey.cs" Link="LicenseKey.cs" />
4747
</ItemGroup>
4848
</Project>

DuendeIdentityServer/SLO/SamlOidcSLO/WebClient.SAML.1/Program.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@
2222
})
2323
.AddSaml2p("saml", options =>
2424
{
25-
options.Licensee = Constants.Licensee;
26-
options.LicenseKey = Constants.LicenseKey;
25+
options.Licensee = LicenseKey.Licensee;
26+
options.LicenseKey = LicenseKey.Key;
2727

2828
options.IdentityProviderMetadataAddress = "https://localhost:5001/saml/metadata";
2929

DuendeIdentityServer/SLO/SamlOidcSLO/WebClient.SAML.1/WebClient.SAML.1.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
</PropertyGroup>
99

1010
<ItemGroup>
11-
<Compile Include="..\..\..\..\Constants.cs" Link="Constants.cs" />
11+
<Compile Include="..\..\..\..\LicenseKey.cs" Link="LicenseKey.cs" />
1212
</ItemGroup>
1313

1414
<ItemGroup>

DuendeIdentityServer/SLO/SamlOidcSLO/WebClient.SAML.2/Program.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@
2222
})
2323
.AddSaml2p("saml", options =>
2424
{
25-
options.Licensee = Constants.Licensee;
26-
options.LicenseKey = Constants.LicenseKey;
25+
options.Licensee = LicenseKey.Licensee;
26+
options.LicenseKey = LicenseKey.Key;
2727

2828
options.IdentityProviderMetadataAddress = "https://localhost:5001/saml/metadata";
2929

0 commit comments

Comments
 (0)