diff --git a/LicenseHeader.txt b/LicenseHeader.txt new file mode 100644 index 00000000..3387c0e3 --- /dev/null +++ b/LicenseHeader.txt @@ -0,0 +1,11 @@ +/* + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ + + Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. + + Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. + Source code and license this software can be found + + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. +*/ \ No newline at end of file diff --git a/samples/Clients/old/Constants/ConsoleExtensions.cs b/samples/Clients/old/Constants/ConsoleExtensions.cs index a91a646c..688744a1 100644 --- a/samples/Clients/old/Constants/ConsoleExtensions.cs +++ b/samples/Clients/old/Constants/ConsoleExtensions.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System; @@ -63,4 +60,4 @@ public static void ColoredWriteLine(this string text, ConsoleColor color) Console.ResetColor(); } } -} \ No newline at end of file +} diff --git a/samples/Clients/old/Constants/Constants.cs b/samples/Clients/old/Constants/Constants.cs index 39a57846..fa63fcea 100644 --- a/samples/Clients/old/Constants/Constants.cs +++ b/samples/Clients/old/Constants/Constants.cs @@ -1,16 +1,13 @@ -/* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - +/* + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace Clients @@ -23,4 +20,4 @@ public class Constants public const string SampleApi = "https://localhost:5005/"; public const string SampleApiMtls = "https://api.identityserver.local/"; } -} \ No newline at end of file +} diff --git a/samples/Clients/old/Constants/TokenResponseExtensions.cs b/samples/Clients/old/Constants/TokenResponseExtensions.cs index 7b602b3f..b937e2f9 100644 --- a/samples/Clients/old/Constants/TokenResponseExtensions.cs +++ b/samples/Clients/old/Constants/TokenResponseExtensions.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using IdentityModel; diff --git a/samples/Clients/old/MvcHybrid/Controllers/HomeController.cs b/samples/Clients/old/MvcHybrid/Controllers/HomeController.cs index 303d29f7..d060af12 100644 --- a/samples/Clients/old/MvcHybrid/Controllers/HomeController.cs +++ b/samples/Clients/old/MvcHybrid/Controllers/HomeController.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using Clients; @@ -107,4 +104,4 @@ public IActionResult Error() return View(); } } -} \ No newline at end of file +} diff --git a/samples/Clients/old/MvcHybrid/Program.cs b/samples/Clients/old/MvcHybrid/Program.cs index 48902be9..b194df57 100644 --- a/samples/Clients/old/MvcHybrid/Program.cs +++ b/samples/Clients/old/MvcHybrid/Program.cs @@ -1,16 +1,13 @@ -/* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - +/* + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using Microsoft.AspNetCore; diff --git a/samples/Clients/old/MvcHybrid/Startup.cs b/samples/Clients/old/MvcHybrid/Startup.cs index 5233a537..f6be081c 100644 --- a/samples/Clients/old/MvcHybrid/Startup.cs +++ b/samples/Clients/old/MvcHybrid/Startup.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System; diff --git a/samples/Clients/old/MvcHybridAutomaticRefresh/AutomaticTokenManagement/AutomaticTokenManagementBuilderExtensions.cs b/samples/Clients/old/MvcHybridAutomaticRefresh/AutomaticTokenManagement/AutomaticTokenManagementBuilderExtensions.cs index f5df2f37..15a6b5e3 100644 --- a/samples/Clients/old/MvcHybridAutomaticRefresh/AutomaticTokenManagement/AutomaticTokenManagementBuilderExtensions.cs +++ b/samples/Clients/old/MvcHybridAutomaticRefresh/AutomaticTokenManagement/AutomaticTokenManagementBuilderExtensions.cs @@ -1,16 +1,13 @@ -/* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - +/* + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using Microsoft.AspNetCore.Authentication; @@ -40,4 +37,4 @@ public static AuthenticationBuilder AddAutomaticTokenManagement(this Authenticat return builder; } } -} \ No newline at end of file +} diff --git a/samples/Clients/old/MvcHybridAutomaticRefresh/AutomaticTokenManagement/AutomaticTokenManagementConfigureCookieOptions.cs b/samples/Clients/old/MvcHybridAutomaticRefresh/AutomaticTokenManagement/AutomaticTokenManagementConfigureCookieOptions.cs index 7731100c..f243342f 100644 --- a/samples/Clients/old/MvcHybridAutomaticRefresh/AutomaticTokenManagement/AutomaticTokenManagementConfigureCookieOptions.cs +++ b/samples/Clients/old/MvcHybridAutomaticRefresh/AutomaticTokenManagement/AutomaticTokenManagementConfigureCookieOptions.cs @@ -1,16 +1,13 @@ -/* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - +/* + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using Microsoft.AspNetCore.Authentication; diff --git a/samples/Clients/old/MvcHybridAutomaticRefresh/AutomaticTokenManagement/AutomaticTokenManagementCookieEvents.cs b/samples/Clients/old/MvcHybridAutomaticRefresh/AutomaticTokenManagement/AutomaticTokenManagementCookieEvents.cs index e332ea41..b4c17417 100644 --- a/samples/Clients/old/MvcHybridAutomaticRefresh/AutomaticTokenManagement/AutomaticTokenManagementCookieEvents.cs +++ b/samples/Clients/old/MvcHybridAutomaticRefresh/AutomaticTokenManagement/AutomaticTokenManagementCookieEvents.cs @@ -1,16 +1,13 @@ -/* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - +/* + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using Microsoft.AspNetCore.Authentication; diff --git a/samples/Clients/old/MvcHybridAutomaticRefresh/AutomaticTokenManagement/AutomaticTokenManagementOptions.cs b/samples/Clients/old/MvcHybridAutomaticRefresh/AutomaticTokenManagement/AutomaticTokenManagementOptions.cs index 5a48d48d..65290846 100644 --- a/samples/Clients/old/MvcHybridAutomaticRefresh/AutomaticTokenManagement/AutomaticTokenManagementOptions.cs +++ b/samples/Clients/old/MvcHybridAutomaticRefresh/AutomaticTokenManagement/AutomaticTokenManagementOptions.cs @@ -1,16 +1,13 @@ -/* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - +/* + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System; @@ -23,4 +20,4 @@ public class AutomaticTokenManagementOptions public TimeSpan RefreshBeforeExpiration { get; set; } = TimeSpan.FromMinutes(1); public bool RevokeRefreshTokenOnSignout { get; set; } = true; } -} \ No newline at end of file +} diff --git a/samples/Clients/old/MvcHybridAutomaticRefresh/AutomaticTokenManagement/TokenEndpointService.cs b/samples/Clients/old/MvcHybridAutomaticRefresh/AutomaticTokenManagement/TokenEndpointService.cs index f9799fa2..412598d8 100644 --- a/samples/Clients/old/MvcHybridAutomaticRefresh/AutomaticTokenManagement/TokenEndpointService.cs +++ b/samples/Clients/old/MvcHybridAutomaticRefresh/AutomaticTokenManagement/TokenEndpointService.cs @@ -1,16 +1,13 @@ -/* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - +/* + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using IdentityModel.Client; @@ -93,4 +90,4 @@ private async Task GetOidcOptionsAsync() } } } -} \ No newline at end of file +} diff --git a/samples/Clients/old/MvcHybridAutomaticRefresh/Controllers/HomeController.cs b/samples/Clients/old/MvcHybridAutomaticRefresh/Controllers/HomeController.cs index 2843919b..acee5e50 100644 --- a/samples/Clients/old/MvcHybridAutomaticRefresh/Controllers/HomeController.cs +++ b/samples/Clients/old/MvcHybridAutomaticRefresh/Controllers/HomeController.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using Clients; @@ -69,4 +66,4 @@ public IActionResult Error() return View(); } } -} \ No newline at end of file +} diff --git a/samples/Clients/old/MvcHybridAutomaticRefresh/Program.cs b/samples/Clients/old/MvcHybridAutomaticRefresh/Program.cs index 80a69d75..ff034bad 100644 --- a/samples/Clients/old/MvcHybridAutomaticRefresh/Program.cs +++ b/samples/Clients/old/MvcHybridAutomaticRefresh/Program.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using Clients; diff --git a/samples/Clients/old/MvcHybridAutomaticRefresh/Startup.cs b/samples/Clients/old/MvcHybridAutomaticRefresh/Startup.cs index 34f70e23..ab309f95 100644 --- a/samples/Clients/old/MvcHybridAutomaticRefresh/Startup.cs +++ b/samples/Clients/old/MvcHybridAutomaticRefresh/Startup.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using Clients; diff --git a/samples/Clients/old/MvcImplicit/Controllers/HomeController.cs b/samples/Clients/old/MvcImplicit/Controllers/HomeController.cs index 4c72304f..c8051637 100644 --- a/samples/Clients/old/MvcImplicit/Controllers/HomeController.cs +++ b/samples/Clients/old/MvcImplicit/Controllers/HomeController.cs @@ -1,16 +1,13 @@ -/* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - +/* + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using Microsoft.AspNetCore.Mvc; diff --git a/samples/Clients/old/MvcImplicit/Program.cs b/samples/Clients/old/MvcImplicit/Program.cs index 52ecc9d6..5a132958 100644 --- a/samples/Clients/old/MvcImplicit/Program.cs +++ b/samples/Clients/old/MvcImplicit/Program.cs @@ -1,16 +1,13 @@ -/* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - +/* + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using Microsoft.AspNetCore; @@ -30,4 +27,4 @@ public static IWebHost BuildWebHost(string[] args) => .UseStartup() .Build(); } -} \ No newline at end of file +} diff --git a/samples/Clients/old/MvcImplicit/Startup.cs b/samples/Clients/old/MvcImplicit/Startup.cs index 6cb37d33..f7858284 100644 --- a/samples/Clients/old/MvcImplicit/Startup.cs +++ b/samples/Clients/old/MvcImplicit/Startup.cs @@ -1,16 +1,13 @@ -/* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - +/* + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using Clients; @@ -82,4 +79,4 @@ public void Configure(IApplicationBuilder app) }); } } -} \ No newline at end of file +} diff --git a/samples/Clients/old/MvcImplicitJwtRequest/Controllers/HomeController.cs b/samples/Clients/old/MvcImplicitJwtRequest/Controllers/HomeController.cs index 4c72304f..c8051637 100644 --- a/samples/Clients/old/MvcImplicitJwtRequest/Controllers/HomeController.cs +++ b/samples/Clients/old/MvcImplicitJwtRequest/Controllers/HomeController.cs @@ -1,16 +1,13 @@ -/* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - +/* + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using Microsoft.AspNetCore.Mvc; diff --git a/samples/Clients/old/MvcImplicitJwtRequest/Program.cs b/samples/Clients/old/MvcImplicitJwtRequest/Program.cs index 52ecc9d6..5a132958 100644 --- a/samples/Clients/old/MvcImplicitJwtRequest/Program.cs +++ b/samples/Clients/old/MvcImplicitJwtRequest/Program.cs @@ -1,16 +1,13 @@ -/* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - +/* + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using Microsoft.AspNetCore; @@ -30,4 +27,4 @@ public static IWebHost BuildWebHost(string[] args) => .UseStartup() .Build(); } -} \ No newline at end of file +} diff --git a/samples/Clients/old/MvcImplicitJwtRequest/Startup.cs b/samples/Clients/old/MvcImplicitJwtRequest/Startup.cs index 26ab1733..0fe0a422 100644 --- a/samples/Clients/old/MvcImplicitJwtRequest/Startup.cs +++ b/samples/Clients/old/MvcImplicitJwtRequest/Startup.cs @@ -1,16 +1,13 @@ -/* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - +/* + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using Clients; @@ -118,4 +115,4 @@ private static string CreateJwtRequest(string clientId, string audience, params return tokenHandler.WriteToken(token); } } -} \ No newline at end of file +} diff --git a/samples/Clients/old/MvcManual/Controllers/HomeController.cs b/samples/Clients/old/MvcManual/Controllers/HomeController.cs index 20b4956d..76419efd 100644 --- a/samples/Clients/old/MvcManual/Controllers/HomeController.cs +++ b/samples/Clients/old/MvcManual/Controllers/HomeController.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using Microsoft.AspNetCore.Mvc; @@ -199,4 +196,4 @@ private static async Task ValidateJwt(string jwt) return user; } } -} \ No newline at end of file +} diff --git a/samples/Clients/old/MvcManual/Program.cs b/samples/Clients/old/MvcManual/Program.cs index 52ecc9d6..5a132958 100644 --- a/samples/Clients/old/MvcManual/Program.cs +++ b/samples/Clients/old/MvcManual/Program.cs @@ -1,16 +1,13 @@ -/* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - +/* + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using Microsoft.AspNetCore; @@ -30,4 +27,4 @@ public static IWebHost BuildWebHost(string[] args) => .UseStartup() .Build(); } -} \ No newline at end of file +} diff --git a/samples/Clients/old/MvcManual/Startup.cs b/samples/Clients/old/MvcManual/Startup.cs index 5501009c..a0d4c50c 100644 --- a/samples/Clients/old/MvcManual/Startup.cs +++ b/samples/Clients/old/MvcManual/Startup.cs @@ -1,16 +1,13 @@ -/* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - +/* + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using Microsoft.AspNetCore.Builder; @@ -47,4 +44,4 @@ public void Configure(IApplicationBuilder app) }); } } -} \ No newline at end of file +} diff --git a/samples/Clients/src/APIs/ResourceBasedApi/Program.cs b/samples/Clients/src/APIs/ResourceBasedApi/Program.cs index 00f1f409..6258e69b 100644 --- a/samples/Clients/src/APIs/ResourceBasedApi/Program.cs +++ b/samples/Clients/src/APIs/ResourceBasedApi/Program.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using Clients; @@ -97,4 +94,4 @@ void ConfigureLogger() .Enrich.FromLogContext() .WriteTo.Console(outputTemplate: "[{Timestamp:HH:mm:ss} {Level}] {SourceContext}{NewLine}{Message:lj}{NewLine}{Exception}{NewLine}", theme: AnsiConsoleTheme.Code) .CreateLogger(); -} \ No newline at end of file +} diff --git a/samples/Clients/src/APIs/SimpleApi/Program.cs b/samples/Clients/src/APIs/SimpleApi/Program.cs index 5a539a74..4a649e15 100644 --- a/samples/Clients/src/APIs/SimpleApi/Program.cs +++ b/samples/Clients/src/APIs/SimpleApi/Program.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using Clients; @@ -96,4 +93,4 @@ void ConfigureLogger() .Enrich.FromLogContext() .WriteTo.Console(outputTemplate: "[{Timestamp:HH:mm:ss} {Level}] {SourceContext}{NewLine}{Message:lj}{NewLine}{Exception}{NewLine}", theme: AnsiConsoleTheme.Code) .CreateLogger(); -} \ No newline at end of file +} diff --git a/samples/Clients/src/ConsoleClientCredentialsFlow/Program.cs b/samples/Clients/src/ConsoleClientCredentialsFlow/Program.cs index 82d8d74a..c5dba905 100644 --- a/samples/Clients/src/ConsoleClientCredentialsFlow/Program.cs +++ b/samples/Clients/src/ConsoleClientCredentialsFlow/Program.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using Clients; @@ -68,4 +65,4 @@ static async Task CallServiceAsync(string token) Console.WriteLine(obj); } } -} \ No newline at end of file +} diff --git a/samples/Clients/src/ConsoleClientCredentialsFlowCallingIdentityServerApi/Program.cs b/samples/Clients/src/ConsoleClientCredentialsFlowCallingIdentityServerApi/Program.cs index f902ba88..8bcc247e 100644 --- a/samples/Clients/src/ConsoleClientCredentialsFlowCallingIdentityServerApi/Program.cs +++ b/samples/Clients/src/ConsoleClientCredentialsFlowCallingIdentityServerApi/Program.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using Clients; @@ -69,4 +66,4 @@ static async Task CallServiceAsync(string token) Console.WriteLine(obj); } } -} \ No newline at end of file +} diff --git a/samples/Clients/src/ConsoleClientCredentialsFlowPostBody/Program.cs b/samples/Clients/src/ConsoleClientCredentialsFlowPostBody/Program.cs index 8793b76c..3d75b3b1 100644 --- a/samples/Clients/src/ConsoleClientCredentialsFlowPostBody/Program.cs +++ b/samples/Clients/src/ConsoleClientCredentialsFlowPostBody/Program.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using Clients; @@ -70,4 +67,4 @@ static async Task CallServiceAsync(string token) Console.WriteLine(obj); } } -} \ No newline at end of file +} diff --git a/samples/Clients/src/ConsoleCode/Program.cs b/samples/Clients/src/ConsoleCode/Program.cs index c8921ac3..a69ea107 100644 --- a/samples/Clients/src/ConsoleCode/Program.cs +++ b/samples/Clients/src/ConsoleCode/Program.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using Clients; @@ -145,4 +142,4 @@ private static async Task CallApi(string currentAccessToken) } } } -} \ No newline at end of file +} diff --git a/samples/Clients/src/ConsoleCode/SystemBrowser.cs b/samples/Clients/src/ConsoleCode/SystemBrowser.cs index de4a977a..65f45191 100644 --- a/samples/Clients/src/ConsoleCode/SystemBrowser.cs +++ b/samples/Clients/src/ConsoleCode/SystemBrowser.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using IdentityModel.OidcClient.Browser; @@ -209,4 +206,4 @@ public Task WaitForCallbackAsync(int timeoutInSeconds = DefaultTimeout) return _source.Task; } } -} \ No newline at end of file +} diff --git a/samples/Clients/src/ConsoleCustomGrant/Program.cs b/samples/Clients/src/ConsoleCustomGrant/Program.cs index 030af325..701d66a1 100644 --- a/samples/Clients/src/ConsoleCustomGrant/Program.cs +++ b/samples/Clients/src/ConsoleCustomGrant/Program.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using Clients; @@ -87,4 +84,4 @@ static async Task CallServiceAsync(string token) Console.WriteLine(json); } } -} \ No newline at end of file +} diff --git a/samples/Clients/src/ConsoleDeviceFlow/Program.cs b/samples/Clients/src/ConsoleDeviceFlow/Program.cs index 0f0ffad3..eaa5f2e1 100644 --- a/samples/Clients/src/ConsoleDeviceFlow/Program.cs +++ b/samples/Clients/src/ConsoleDeviceFlow/Program.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using Clients; @@ -116,4 +113,4 @@ static async Task CallServiceAsync(string token) Console.WriteLine(json); } } -} \ No newline at end of file +} diff --git a/samples/Clients/src/ConsoleEphemeralMtlsClient/Program.cs b/samples/Clients/src/ConsoleEphemeralMtlsClient/Program.cs index 18fce864..5942af1f 100644 --- a/samples/Clients/src/ConsoleEphemeralMtlsClient/Program.cs +++ b/samples/Clients/src/ConsoleEphemeralMtlsClient/Program.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using Clients; @@ -110,4 +107,4 @@ static SocketsHttpHandler GetHandler(X509Certificate2 certificate) return handler; } } -} \ No newline at end of file +} diff --git a/samples/Clients/src/ConsoleIntrospectionClient/Program.cs b/samples/Clients/src/ConsoleIntrospectionClient/Program.cs index 35f02d37..a1be3b62 100644 --- a/samples/Clients/src/ConsoleIntrospectionClient/Program.cs +++ b/samples/Clients/src/ConsoleIntrospectionClient/Program.cs @@ -1,16 +1,13 @@ -/* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - +/* + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using Clients; @@ -89,4 +86,4 @@ private static async Task IntrospectAsync(string accessToken) } } } -} \ No newline at end of file +} diff --git a/samples/Clients/src/ConsoleMTLSClient/Program.cs b/samples/Clients/src/ConsoleMTLSClient/Program.cs index 80d78e2b..38410502 100644 --- a/samples/Clients/src/ConsoleMTLSClient/Program.cs +++ b/samples/Clients/src/ConsoleMTLSClient/Program.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using Clients; @@ -83,4 +80,4 @@ static SocketsHttpHandler GetHandler() return handler; } } -} \ No newline at end of file +} diff --git a/samples/Clients/src/ConsoleParameterizedScopeClient/Program.cs b/samples/Clients/src/ConsoleParameterizedScopeClient/Program.cs index 87ca8ebb..e691e913 100644 --- a/samples/Clients/src/ConsoleParameterizedScopeClient/Program.cs +++ b/samples/Clients/src/ConsoleParameterizedScopeClient/Program.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System; @@ -68,4 +65,4 @@ static async Task CallServiceAsync(string token) Console.WriteLine(json); } } -} \ No newline at end of file +} diff --git a/samples/Clients/src/ConsolePrivateKeyJwtClient/Program.cs b/samples/Clients/src/ConsolePrivateKeyJwtClient/Program.cs index 30bd3449..cf85d2a1 100644 --- a/samples/Clients/src/ConsolePrivateKeyJwtClient/Program.cs +++ b/samples/Clients/src/ConsolePrivateKeyJwtClient/Program.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using Clients; @@ -120,4 +117,4 @@ private static string CreateClientToken(SigningCredentials credential, string cl return tokenHandler.WriteToken(token); } } -} \ No newline at end of file +} diff --git a/samples/Clients/src/ConsoleResourceOwnerFlow/Program.cs b/samples/Clients/src/ConsoleResourceOwnerFlow/Program.cs index f948fc53..720910d8 100644 --- a/samples/Clients/src/ConsoleResourceOwnerFlow/Program.cs +++ b/samples/Clients/src/ConsoleResourceOwnerFlow/Program.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using Clients; @@ -81,4 +78,4 @@ static async Task CallServiceAsync(string token) Console.WriteLine(json); } } -} \ No newline at end of file +} diff --git a/samples/Clients/src/ConsoleResourceOwnerFlowPublic/Program.cs b/samples/Clients/src/ConsoleResourceOwnerFlowPublic/Program.cs index a69c7962..846ebc06 100644 --- a/samples/Clients/src/ConsoleResourceOwnerFlowPublic/Program.cs +++ b/samples/Clients/src/ConsoleResourceOwnerFlowPublic/Program.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using Clients; @@ -80,4 +77,4 @@ static async Task CallServiceAsync(string token) Console.WriteLine(json); } } -} \ No newline at end of file +} diff --git a/samples/Clients/src/ConsoleResourceOwnerFlowReference/Program.cs b/samples/Clients/src/ConsoleResourceOwnerFlowReference/Program.cs index 3a433653..f79f2f1d 100644 --- a/samples/Clients/src/ConsoleResourceOwnerFlowReference/Program.cs +++ b/samples/Clients/src/ConsoleResourceOwnerFlowReference/Program.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using Clients; @@ -82,4 +79,4 @@ static async Task CallServiceAsync(string token) } } } -} \ No newline at end of file +} diff --git a/samples/Clients/src/ConsoleResourceOwnerFlowRefreshToken/Program.cs b/samples/Clients/src/ConsoleResourceOwnerFlowRefreshToken/Program.cs index f207a907..7d5e0bfa 100644 --- a/samples/Clients/src/ConsoleResourceOwnerFlowRefreshToken/Program.cs +++ b/samples/Clients/src/ConsoleResourceOwnerFlowRefreshToken/Program.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using Clients; @@ -149,4 +146,4 @@ private static void ShowResponse(TokenResponse response) } } } -} \ No newline at end of file +} diff --git a/samples/Clients/src/ConsoleResourceOwnerFlowUserInfo/Program.cs b/samples/Clients/src/ConsoleResourceOwnerFlowUserInfo/Program.cs index d37c478b..d5f65405 100644 --- a/samples/Clients/src/ConsoleResourceOwnerFlowUserInfo/Program.cs +++ b/samples/Clients/src/ConsoleResourceOwnerFlowUserInfo/Program.cs @@ -1,16 +1,13 @@ -/* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - +/* + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using Clients; @@ -78,4 +75,4 @@ static async Task GetClaimsAsync(string token) } } } -} \ No newline at end of file +} diff --git a/samples/Clients/src/Constants/ConsoleExtensions.cs b/samples/Clients/src/Constants/ConsoleExtensions.cs index a91a646c..688744a1 100644 --- a/samples/Clients/src/Constants/ConsoleExtensions.cs +++ b/samples/Clients/src/Constants/ConsoleExtensions.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System; @@ -63,4 +60,4 @@ public static void ColoredWriteLine(this string text, ConsoleColor color) Console.ResetColor(); } } -} \ No newline at end of file +} diff --git a/samples/Clients/src/Constants/Constants.cs b/samples/Clients/src/Constants/Constants.cs index 39a57846..fa63fcea 100644 --- a/samples/Clients/src/Constants/Constants.cs +++ b/samples/Clients/src/Constants/Constants.cs @@ -1,16 +1,13 @@ -/* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - +/* + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace Clients @@ -23,4 +20,4 @@ public class Constants public const string SampleApi = "https://localhost:5005/"; public const string SampleApiMtls = "https://api.identityserver.local/"; } -} \ No newline at end of file +} diff --git a/samples/Clients/src/Constants/TokenResponseExtensions.cs b/samples/Clients/src/Constants/TokenResponseExtensions.cs index 7b602b3f..b937e2f9 100644 --- a/samples/Clients/src/Constants/TokenResponseExtensions.cs +++ b/samples/Clients/src/Constants/TokenResponseExtensions.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using IdentityModel; diff --git a/samples/Clients/src/JsOidc/Program.cs b/samples/Clients/src/JsOidc/Program.cs index b09aac89..c1cf355d 100644 --- a/samples/Clients/src/JsOidc/Program.cs +++ b/samples/Clients/src/JsOidc/Program.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using Microsoft.AspNetCore; @@ -30,4 +27,4 @@ public static IWebHost BuildWebHost(string[] args) => .UseStartup() .Build(); } -} \ No newline at end of file +} diff --git a/samples/Clients/src/JsOidc/Startup.cs b/samples/Clients/src/JsOidc/Startup.cs index 1adc33eb..cadcebb6 100644 --- a/samples/Clients/src/JsOidc/Startup.cs +++ b/samples/Clients/src/JsOidc/Startup.cs @@ -1,16 +1,13 @@ -/* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - +/* + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using Microsoft.Extensions.DependencyInjection; @@ -46,4 +43,4 @@ public void Configure(IApplicationBuilder app) app.UseStaticFiles(); } } -} \ No newline at end of file +} diff --git a/samples/Clients/src/MvcAutomaticTokenManagement/Controllers/HomeController.cs b/samples/Clients/src/MvcAutomaticTokenManagement/Controllers/HomeController.cs index 854a2af0..94f798b1 100644 --- a/samples/Clients/src/MvcAutomaticTokenManagement/Controllers/HomeController.cs +++ b/samples/Clients/src/MvcAutomaticTokenManagement/Controllers/HomeController.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using Microsoft.AspNetCore.Authorization; @@ -45,4 +42,4 @@ public async Task CallApi() return View(); } } -} \ No newline at end of file +} diff --git a/samples/Clients/src/MvcAutomaticTokenManagement/Program.cs b/samples/Clients/src/MvcAutomaticTokenManagement/Program.cs index f34d1488..2a7a9216 100644 --- a/samples/Clients/src/MvcAutomaticTokenManagement/Program.cs +++ b/samples/Clients/src/MvcAutomaticTokenManagement/Program.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using Microsoft.AspNetCore.Hosting; diff --git a/samples/Clients/src/MvcAutomaticTokenManagement/Startup.cs b/samples/Clients/src/MvcAutomaticTokenManagement/Startup.cs index 899b4928..35a59ba8 100644 --- a/samples/Clients/src/MvcAutomaticTokenManagement/Startup.cs +++ b/samples/Clients/src/MvcAutomaticTokenManagement/Startup.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using Clients; @@ -115,4 +112,4 @@ public void Configure(IApplicationBuilder app) }); } } -} \ No newline at end of file +} diff --git a/samples/Clients/src/MvcCode/Controllers/HomeController.cs b/samples/Clients/src/MvcCode/Controllers/HomeController.cs index 4ccd7a50..f63fdfb3 100644 --- a/samples/Clients/src/MvcCode/Controllers/HomeController.cs +++ b/samples/Clients/src/MvcCode/Controllers/HomeController.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using Clients; @@ -92,4 +89,4 @@ public async Task RenewTokens() return View("Error"); } } -} \ No newline at end of file +} diff --git a/samples/Clients/src/MvcCode/Program.cs b/samples/Clients/src/MvcCode/Program.cs index 9cc6b4c9..7aafdc96 100644 --- a/samples/Clients/src/MvcCode/Program.cs +++ b/samples/Clients/src/MvcCode/Program.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using Microsoft.AspNetCore.Hosting; diff --git a/samples/Clients/src/MvcCode/Startup.cs b/samples/Clients/src/MvcCode/Startup.cs index b3b9f638..293df6dc 100644 --- a/samples/Clients/src/MvcCode/Startup.cs +++ b/samples/Clients/src/MvcCode/Startup.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using Clients; @@ -105,4 +102,4 @@ public void Configure(IApplicationBuilder app) }); } } -} \ No newline at end of file +} diff --git a/samples/Clients/src/MvcHybridBackChannel/Controllers/HomeController.cs b/samples/Clients/src/MvcHybridBackChannel/Controllers/HomeController.cs index 5fbe0f9c..f8804ff8 100644 --- a/samples/Clients/src/MvcHybridBackChannel/Controllers/HomeController.cs +++ b/samples/Clients/src/MvcHybridBackChannel/Controllers/HomeController.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using Clients; diff --git a/samples/Clients/src/MvcHybridBackChannel/Controllers/LogoutController.cs b/samples/Clients/src/MvcHybridBackChannel/Controllers/LogoutController.cs index 8be104a9..0806ae42 100644 --- a/samples/Clients/src/MvcHybridBackChannel/Controllers/LogoutController.cs +++ b/samples/Clients/src/MvcHybridBackChannel/Controllers/LogoutController.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using Clients; diff --git a/samples/Clients/src/MvcHybridBackChannel/CookieEventHandler.cs b/samples/Clients/src/MvcHybridBackChannel/CookieEventHandler.cs index 92fddd6b..58887d42 100644 --- a/samples/Clients/src/MvcHybridBackChannel/CookieEventHandler.cs +++ b/samples/Clients/src/MvcHybridBackChannel/CookieEventHandler.cs @@ -1,16 +1,13 @@ -/* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - +/* + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using Microsoft.AspNetCore.Authentication.Cookies; @@ -45,4 +42,4 @@ public override async Task ValidatePrincipal(CookieValidatePrincipalContext cont } } } -} \ No newline at end of file +} diff --git a/samples/Clients/src/MvcHybridBackChannel/LogoutSessionManager.cs b/samples/Clients/src/MvcHybridBackChannel/LogoutSessionManager.cs index 8dcb0737..b5ce9b99 100644 --- a/samples/Clients/src/MvcHybridBackChannel/LogoutSessionManager.cs +++ b/samples/Clients/src/MvcHybridBackChannel/LogoutSessionManager.cs @@ -1,16 +1,13 @@ -/* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - +/* + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System.Collections.Generic; diff --git a/samples/Clients/src/MvcHybridBackChannel/Program.cs b/samples/Clients/src/MvcHybridBackChannel/Program.cs index 48902be9..b194df57 100644 --- a/samples/Clients/src/MvcHybridBackChannel/Program.cs +++ b/samples/Clients/src/MvcHybridBackChannel/Program.cs @@ -1,16 +1,13 @@ -/* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - +/* + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using Microsoft.AspNetCore; diff --git a/samples/Clients/src/MvcHybridBackChannel/Startup.cs b/samples/Clients/src/MvcHybridBackChannel/Startup.cs index 7d4b4a82..7840a150 100644 --- a/samples/Clients/src/MvcHybridBackChannel/Startup.cs +++ b/samples/Clients/src/MvcHybridBackChannel/Startup.cs @@ -1,16 +1,13 @@ -/* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - +/* + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System; diff --git a/samples/Clients/src/WindowsConsoleSystemBrowser/CallbackManager.cs b/samples/Clients/src/WindowsConsoleSystemBrowser/CallbackManager.cs index 4f5c0fc3..4280b540 100644 --- a/samples/Clients/src/WindowsConsoleSystemBrowser/CallbackManager.cs +++ b/samples/Clients/src/WindowsConsoleSystemBrowser/CallbackManager.cs @@ -1,16 +1,13 @@ -/* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - +/* + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System; diff --git a/samples/Clients/src/WindowsConsoleSystemBrowser/Program.cs b/samples/Clients/src/WindowsConsoleSystemBrowser/Program.cs index 2c49224b..42f5694b 100644 --- a/samples/Clients/src/WindowsConsoleSystemBrowser/Program.cs +++ b/samples/Clients/src/WindowsConsoleSystemBrowser/Program.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using Clients; @@ -182,4 +179,4 @@ public static string GetRequestPostData(HttpListenerRequest request) } } } -} \ No newline at end of file +} diff --git a/samples/Clients/src/WindowsConsoleSystemBrowser/RegistryConfig.cs b/samples/Clients/src/WindowsConsoleSystemBrowser/RegistryConfig.cs index bbbb2564..af3371f2 100644 --- a/samples/Clients/src/WindowsConsoleSystemBrowser/RegistryConfig.cs +++ b/samples/Clients/src/WindowsConsoleSystemBrowser/RegistryConfig.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System; @@ -107,4 +104,4 @@ void AddRegKeys() } } } -} \ No newline at end of file +} diff --git a/samples/KeyManagement/FileSystem/Config.cs b/samples/KeyManagement/FileSystem/Config.cs index 85b0f141..f5cb6bd2 100644 --- a/samples/KeyManagement/FileSystem/Config.cs +++ b/samples/KeyManagement/FileSystem/Config.cs @@ -1,20 +1,16 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using IdentityServer4.Models; - using System.Collections.Generic; namespace sample @@ -39,4 +35,4 @@ public static IEnumerable GetClients() return new Client[] { }; } } -} \ No newline at end of file +} diff --git a/samples/KeyManagement/FileSystem/Program.cs b/samples/KeyManagement/FileSystem/Program.cs index 5690daa3..890451a7 100644 --- a/samples/KeyManagement/FileSystem/Program.cs +++ b/samples/KeyManagement/FileSystem/Program.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using Microsoft.AspNetCore.Hosting; diff --git a/samples/KeyManagement/FileSystem/Startup.cs b/samples/KeyManagement/FileSystem/Startup.cs index 6b76dbc6..da7ac787 100644 --- a/samples/KeyManagement/FileSystem/Startup.cs +++ b/samples/KeyManagement/FileSystem/Startup.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System; @@ -89,4 +86,4 @@ public void Configure(IApplicationBuilder app) app.UseIdentityServer(); } } -} \ No newline at end of file +} diff --git a/samples/KeyManagement/database/EF/Config.cs b/samples/KeyManagement/database/EF/Config.cs index cf2c3abb..f5cb6bd2 100644 --- a/samples/KeyManagement/database/EF/Config.cs +++ b/samples/KeyManagement/database/EF/Config.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using IdentityServer4.Models; @@ -38,4 +35,4 @@ public static IEnumerable GetClients() return new Client[] { }; } } -} \ No newline at end of file +} diff --git a/samples/KeyManagement/database/EF/Program.cs b/samples/KeyManagement/database/EF/Program.cs index d7b71d24..55c84b0b 100644 --- a/samples/KeyManagement/database/EF/Program.cs +++ b/samples/KeyManagement/database/EF/Program.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using Microsoft.AspNetCore.DataProtection; diff --git a/samples/KeyManagement/database/EF/Startup.cs b/samples/KeyManagement/database/EF/Startup.cs index 90037fd9..6a4501ac 100644 --- a/samples/KeyManagement/database/EF/Startup.cs +++ b/samples/KeyManagement/database/EF/Startup.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System; @@ -99,4 +96,4 @@ public void Configure(IApplicationBuilder app) app.UseIdentityServer(); } } -} \ No newline at end of file +} diff --git a/samples/KeyManagement/database/migrations/Migrations/KeyManagement/20200327143521_KeyManagement.Designer.cs b/samples/KeyManagement/database/migrations/Migrations/KeyManagement/20200327143521_KeyManagement.Designer.cs index 3856bdd4..a47de05d 100644 --- a/samples/KeyManagement/database/migrations/Migrations/KeyManagement/20200327143521_KeyManagement.Designer.cs +++ b/samples/KeyManagement/database/migrations/Migrations/KeyManagement/20200327143521_KeyManagement.Designer.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ // diff --git a/samples/KeyManagement/database/migrations/Migrations/KeyManagement/20200327143521_KeyManagement.cs b/samples/KeyManagement/database/migrations/Migrations/KeyManagement/20200327143521_KeyManagement.cs index 97d6d220..a2e27e68 100644 --- a/samples/KeyManagement/database/migrations/Migrations/KeyManagement/20200327143521_KeyManagement.cs +++ b/samples/KeyManagement/database/migrations/Migrations/KeyManagement/20200327143521_KeyManagement.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System; diff --git a/samples/KeyManagement/database/migrations/Migrations/KeyManagement/KeyManagementDbContextModelSnapshot.cs b/samples/KeyManagement/database/migrations/Migrations/KeyManagement/KeyManagementDbContextModelSnapshot.cs index 6826c9f1..73c7f526 100644 --- a/samples/KeyManagement/database/migrations/Migrations/KeyManagement/KeyManagementDbContextModelSnapshot.cs +++ b/samples/KeyManagement/database/migrations/Migrations/KeyManagement/KeyManagementDbContextModelSnapshot.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ // diff --git a/samples/KeyManagement/database/migrations/Program.cs b/samples/KeyManagement/database/migrations/Program.cs index 10b7624a..06f24f16 100644 --- a/samples/KeyManagement/database/migrations/Program.cs +++ b/samples/KeyManagement/database/migrations/Program.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using Microsoft.AspNetCore; diff --git a/samples/KeyManagement/database/migrations/Startup.cs b/samples/KeyManagement/database/migrations/Startup.cs index 1297b738..560353f7 100644 --- a/samples/KeyManagement/database/migrations/Startup.cs +++ b/samples/KeyManagement/database/migrations/Startup.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using Microsoft.EntityFrameworkCore; diff --git a/samples/Quickstarts/1_ClientCredentials/src/Api/Program.cs b/samples/Quickstarts/1_ClientCredentials/src/Api/Program.cs index 12b3b5ae..f9e430e1 100644 --- a/samples/Quickstarts/1_ClientCredentials/src/Api/Program.cs +++ b/samples/Quickstarts/1_ClientCredentials/src/Api/Program.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using Microsoft.AspNetCore.Mvc; @@ -59,4 +56,4 @@ copies or substantial portions of the Software. ).RequireAuthorization("ApiScope"); await app.RunAsync(); -} \ No newline at end of file +} diff --git a/samples/Quickstarts/1_ClientCredentials/src/Client/Program.cs b/samples/Quickstarts/1_ClientCredentials/src/Client/Program.cs index caead889..a69f698e 100644 --- a/samples/Quickstarts/1_ClientCredentials/src/Client/Program.cs +++ b/samples/Quickstarts/1_ClientCredentials/src/Client/Program.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using IdentityModel.Client; @@ -62,4 +59,4 @@ void Exit(string message, int exitCode = 1) if (Debugger.IsAttached) Debugger.Break(); Environment.Exit(exitCode); -} \ No newline at end of file +} diff --git a/samples/Quickstarts/1_ClientCredentials/src/IdentityServer/GlobalUsings.cs b/samples/Quickstarts/1_ClientCredentials/src/IdentityServer/GlobalUsings.cs index 3d492ad8..d33d5dee 100644 --- a/samples/Quickstarts/1_ClientCredentials/src/IdentityServer/GlobalUsings.cs +++ b/samples/Quickstarts/1_ClientCredentials/src/IdentityServer/GlobalUsings.cs @@ -1,19 +1,16 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ global using IdentityServer8.Models; global using Serilog; global using Serilog.Events; -global using Serilog.Sinks.SystemConsole.Themes; \ No newline at end of file +global using Serilog.Sinks.SystemConsole.Themes; diff --git a/samples/Quickstarts/1_ClientCredentials/src/IdentityServer/Program.cs b/samples/Quickstarts/1_ClientCredentials/src/IdentityServer/Program.cs index 9306c069..6cd10327 100644 --- a/samples/Quickstarts/1_ClientCredentials/src/IdentityServer/Program.cs +++ b/samples/Quickstarts/1_ClientCredentials/src/IdentityServer/Program.cs @@ -1,20 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ - - ConfigureLogger(); try diff --git a/samples/Quickstarts/2_InteractiveAspNetCore/src/Api/Program.cs b/samples/Quickstarts/2_InteractiveAspNetCore/src/Api/Program.cs index 49d0f083..6b557dfb 100644 --- a/samples/Quickstarts/2_InteractiveAspNetCore/src/Api/Program.cs +++ b/samples/Quickstarts/2_InteractiveAspNetCore/src/Api/Program.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using Microsoft.AspNetCore.Mvc; @@ -62,4 +59,4 @@ copies or substantial portions of the Software. await app.RunAsync(); if (Debugger.IsAttached) Debugger.Break(); -} \ No newline at end of file +} diff --git a/samples/Quickstarts/2_InteractiveAspNetCore/src/Client/Program.cs b/samples/Quickstarts/2_InteractiveAspNetCore/src/Client/Program.cs index 3b5fb173..e7629d32 100644 --- a/samples/Quickstarts/2_InteractiveAspNetCore/src/Client/Program.cs +++ b/samples/Quickstarts/2_InteractiveAspNetCore/src/Client/Program.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using IdentityModel.Client; @@ -62,4 +59,4 @@ void Exit(string message, int exitCode = 1) if (Debugger.IsAttached) Debugger.Break(); Environment.Exit(exitCode); -} \ No newline at end of file +} diff --git a/samples/Quickstarts/2_InteractiveAspNetCore/src/IdentityServer/Config.cs b/samples/Quickstarts/2_InteractiveAspNetCore/src/IdentityServer/Config.cs index e216934f..7a7f7cea 100644 --- a/samples/Quickstarts/2_InteractiveAspNetCore/src/IdentityServer/Config.cs +++ b/samples/Quickstarts/2_InteractiveAspNetCore/src/IdentityServer/Config.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ public static class Config @@ -65,4 +62,4 @@ public static class Config } } }; -} \ No newline at end of file +} diff --git a/samples/Quickstarts/2_InteractiveAspNetCore/src/IdentityServer/GlobalUsings.cs b/samples/Quickstarts/2_InteractiveAspNetCore/src/IdentityServer/GlobalUsings.cs index a67951b1..7bbcbadc 100644 --- a/samples/Quickstarts/2_InteractiveAspNetCore/src/IdentityServer/GlobalUsings.cs +++ b/samples/Quickstarts/2_InteractiveAspNetCore/src/IdentityServer/GlobalUsings.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ global using IdentityModel; diff --git a/samples/Quickstarts/2_InteractiveAspNetCore/src/IdentityServer/Program.cs b/samples/Quickstarts/2_InteractiveAspNetCore/src/IdentityServer/Program.cs index b97091e9..0a4e70b7 100644 --- a/samples/Quickstarts/2_InteractiveAspNetCore/src/IdentityServer/Program.cs +++ b/samples/Quickstarts/2_InteractiveAspNetCore/src/IdentityServer/Program.cs @@ -1,20 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ - - ConfigureLogger(); try diff --git a/samples/Quickstarts/2_InteractiveAspNetCore/src/IdentityServer/Quickstart/Account/AccountController - Copy.cs b/samples/Quickstarts/2_InteractiveAspNetCore/src/IdentityServer/Quickstart/Account/AccountController - Copy.cs index 8f2ab363..a548d6ef 100644 --- a/samples/Quickstarts/2_InteractiveAspNetCore/src/IdentityServer/Quickstart/Account/AccountController - Copy.cs +++ b/samples/Quickstarts/2_InteractiveAspNetCore/src/IdentityServer/Quickstart/Account/AccountController - Copy.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; diff --git a/samples/Quickstarts/2_InteractiveAspNetCore/src/IdentityServer/Quickstart/Account/AccountController.cs b/samples/Quickstarts/2_InteractiveAspNetCore/src/IdentityServer/Quickstart/Account/AccountController.cs index 8f2ab363..a548d6ef 100644 --- a/samples/Quickstarts/2_InteractiveAspNetCore/src/IdentityServer/Quickstart/Account/AccountController.cs +++ b/samples/Quickstarts/2_InteractiveAspNetCore/src/IdentityServer/Quickstart/Account/AccountController.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; diff --git a/samples/Quickstarts/2_InteractiveAspNetCore/src/IdentityServer/Quickstart/Account/AccountOptions.cs b/samples/Quickstarts/2_InteractiveAspNetCore/src/IdentityServer/Quickstart/Account/AccountOptions.cs index 499f4488..11741743 100644 --- a/samples/Quickstarts/2_InteractiveAspNetCore/src/IdentityServer/Quickstart/Account/AccountOptions.cs +++ b/samples/Quickstarts/2_InteractiveAspNetCore/src/IdentityServer/Quickstart/Account/AccountOptions.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI diff --git a/samples/Quickstarts/2_InteractiveAspNetCore/src/IdentityServer/Quickstart/Account/ExternalController.cs b/samples/Quickstarts/2_InteractiveAspNetCore/src/IdentityServer/Quickstart/Account/ExternalController.cs index 5c8f3ee1..ec637afd 100644 --- a/samples/Quickstarts/2_InteractiveAspNetCore/src/IdentityServer/Quickstart/Account/ExternalController.cs +++ b/samples/Quickstarts/2_InteractiveAspNetCore/src/IdentityServer/Quickstart/Account/ExternalController.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; @@ -190,4 +187,4 @@ private void ProcessLoginCallback(AuthenticateResult externalResult, List localSignInProps.StoreTokens(new[] { new AuthenticationToken { Name = "id_token", Value = idToken } }); } } -} \ No newline at end of file +} diff --git a/samples/Quickstarts/2_InteractiveAspNetCore/src/IdentityServer/Quickstart/Account/ExternalProvider.cs b/samples/Quickstarts/2_InteractiveAspNetCore/src/IdentityServer/Quickstart/Account/ExternalProvider.cs index 4c197ce0..61fa88d0 100644 --- a/samples/Quickstarts/2_InteractiveAspNetCore/src/IdentityServer/Quickstart/Account/ExternalProvider.cs +++ b/samples/Quickstarts/2_InteractiveAspNetCore/src/IdentityServer/Quickstart/Account/ExternalProvider.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; @@ -19,4 +16,4 @@ public class ExternalProvider { public string DisplayName { get; set; } public string AuthenticationScheme { get; set; } -} \ No newline at end of file +} diff --git a/samples/Quickstarts/2_InteractiveAspNetCore/src/IdentityServer/Quickstart/Account/LoggedOutViewModel.cs b/samples/Quickstarts/2_InteractiveAspNetCore/src/IdentityServer/Quickstart/Account/LoggedOutViewModel.cs index 36fceadf..2e23c83b 100644 --- a/samples/Quickstarts/2_InteractiveAspNetCore/src/IdentityServer/Quickstart/Account/LoggedOutViewModel.cs +++ b/samples/Quickstarts/2_InteractiveAspNetCore/src/IdentityServer/Quickstart/Account/LoggedOutViewModel.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; @@ -26,4 +23,4 @@ public class LoggedOutViewModel public string LogoutId { get; set; } public bool TriggerExternalSignout => ExternalAuthenticationScheme != null; public string ExternalAuthenticationScheme { get; set; } -} \ No newline at end of file +} diff --git a/samples/Quickstarts/2_InteractiveAspNetCore/src/IdentityServer/Quickstart/Account/LoginInputModel.cs b/samples/Quickstarts/2_InteractiveAspNetCore/src/IdentityServer/Quickstart/Account/LoginInputModel.cs index f546b2ff..5af2bb17 100644 --- a/samples/Quickstarts/2_InteractiveAspNetCore/src/IdentityServer/Quickstart/Account/LoginInputModel.cs +++ b/samples/Quickstarts/2_InteractiveAspNetCore/src/IdentityServer/Quickstart/Account/LoginInputModel.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; @@ -23,4 +20,4 @@ public class LoginInputModel public string Password { get; set; } public bool RememberLogin { get; set; } public string ReturnUrl { get; set; } -} \ No newline at end of file +} diff --git a/samples/Quickstarts/2_InteractiveAspNetCore/src/IdentityServer/Quickstart/Account/LoginViewModel.cs b/samples/Quickstarts/2_InteractiveAspNetCore/src/IdentityServer/Quickstart/Account/LoginViewModel.cs index 8a2409f0..6233be6b 100644 --- a/samples/Quickstarts/2_InteractiveAspNetCore/src/IdentityServer/Quickstart/Account/LoginViewModel.cs +++ b/samples/Quickstarts/2_InteractiveAspNetCore/src/IdentityServer/Quickstart/Account/LoginViewModel.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; @@ -25,4 +22,4 @@ public class LoginViewModel : LoginInputModel public bool IsExternalLoginOnly => EnableLocalLogin == false && ExternalProviders?.Count() == 1; public string ExternalLoginScheme => IsExternalLoginOnly ? ExternalProviders?.SingleOrDefault()?.AuthenticationScheme : null; -} \ No newline at end of file +} diff --git a/samples/Quickstarts/2_InteractiveAspNetCore/src/IdentityServer/Quickstart/Account/LogoutInputModel.cs b/samples/Quickstarts/2_InteractiveAspNetCore/src/IdentityServer/Quickstart/Account/LogoutInputModel.cs index 9b16bfcf..cf883a18 100644 --- a/samples/Quickstarts/2_InteractiveAspNetCore/src/IdentityServer/Quickstart/Account/LogoutInputModel.cs +++ b/samples/Quickstarts/2_InteractiveAspNetCore/src/IdentityServer/Quickstart/Account/LogoutInputModel.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; diff --git a/samples/Quickstarts/2_InteractiveAspNetCore/src/IdentityServer/Quickstart/Account/LogoutViewModel.cs b/samples/Quickstarts/2_InteractiveAspNetCore/src/IdentityServer/Quickstart/Account/LogoutViewModel.cs index e245a0d4..a50ee906 100644 --- a/samples/Quickstarts/2_InteractiveAspNetCore/src/IdentityServer/Quickstart/Account/LogoutViewModel.cs +++ b/samples/Quickstarts/2_InteractiveAspNetCore/src/IdentityServer/Quickstart/Account/LogoutViewModel.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; diff --git a/samples/Quickstarts/2_InteractiveAspNetCore/src/IdentityServer/Quickstart/Account/RedirectViewModel.cs b/samples/Quickstarts/2_InteractiveAspNetCore/src/IdentityServer/Quickstart/Account/RedirectViewModel.cs index 56e9d1a3..542b5049 100644 --- a/samples/Quickstarts/2_InteractiveAspNetCore/src/IdentityServer/Quickstart/Account/RedirectViewModel.cs +++ b/samples/Quickstarts/2_InteractiveAspNetCore/src/IdentityServer/Quickstart/Account/RedirectViewModel.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; @@ -18,4 +15,4 @@ namespace IdentityServerHost.Quickstart.UI; public class RedirectViewModel { public string RedirectUrl { get; set; } -} \ No newline at end of file +} diff --git a/samples/Quickstarts/2_InteractiveAspNetCore/src/IdentityServer/Quickstart/Consent/ConsentController.cs b/samples/Quickstarts/2_InteractiveAspNetCore/src/IdentityServer/Quickstart/Consent/ConsentController.cs index a1b57312..1af7e4ca 100644 --- a/samples/Quickstarts/2_InteractiveAspNetCore/src/IdentityServer/Quickstart/Consent/ConsentController.cs +++ b/samples/Quickstarts/2_InteractiveAspNetCore/src/IdentityServer/Quickstart/Consent/ConsentController.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; @@ -255,4 +252,4 @@ private ScopeViewModel GetOfflineAccessScope(bool check) Checked = check }; } -} \ No newline at end of file +} diff --git a/samples/Quickstarts/2_InteractiveAspNetCore/src/IdentityServer/Quickstart/Consent/ConsentInputModel.cs b/samples/Quickstarts/2_InteractiveAspNetCore/src/IdentityServer/Quickstart/Consent/ConsentInputModel.cs index 3c4a5528..bdf93b8f 100644 --- a/samples/Quickstarts/2_InteractiveAspNetCore/src/IdentityServer/Quickstart/Consent/ConsentInputModel.cs +++ b/samples/Quickstarts/2_InteractiveAspNetCore/src/IdentityServer/Quickstart/Consent/ConsentInputModel.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; @@ -22,4 +19,4 @@ public class ConsentInputModel public bool RememberConsent { get; set; } public string ReturnUrl { get; set; } public string Description { get; set; } -} \ No newline at end of file +} diff --git a/samples/Quickstarts/2_InteractiveAspNetCore/src/IdentityServer/Quickstart/Consent/ConsentOptions.cs b/samples/Quickstarts/2_InteractiveAspNetCore/src/IdentityServer/Quickstart/Consent/ConsentOptions.cs index 7bea1fe9..0845e4c5 100644 --- a/samples/Quickstarts/2_InteractiveAspNetCore/src/IdentityServer/Quickstart/Consent/ConsentOptions.cs +++ b/samples/Quickstarts/2_InteractiveAspNetCore/src/IdentityServer/Quickstart/Consent/ConsentOptions.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; diff --git a/samples/Quickstarts/2_InteractiveAspNetCore/src/IdentityServer/Quickstart/Consent/ConsentViewModel.cs b/samples/Quickstarts/2_InteractiveAspNetCore/src/IdentityServer/Quickstart/Consent/ConsentViewModel.cs index f135248f..e23d9ad8 100644 --- a/samples/Quickstarts/2_InteractiveAspNetCore/src/IdentityServer/Quickstart/Consent/ConsentViewModel.cs +++ b/samples/Quickstarts/2_InteractiveAspNetCore/src/IdentityServer/Quickstart/Consent/ConsentViewModel.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; diff --git a/samples/Quickstarts/2_InteractiveAspNetCore/src/IdentityServer/Quickstart/Consent/ProcessConsentResult.cs b/samples/Quickstarts/2_InteractiveAspNetCore/src/IdentityServer/Quickstart/Consent/ProcessConsentResult.cs index 6ef87487..6c1906c4 100644 --- a/samples/Quickstarts/2_InteractiveAspNetCore/src/IdentityServer/Quickstart/Consent/ProcessConsentResult.cs +++ b/samples/Quickstarts/2_InteractiveAspNetCore/src/IdentityServer/Quickstart/Consent/ProcessConsentResult.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; diff --git a/samples/Quickstarts/2_InteractiveAspNetCore/src/IdentityServer/Quickstart/Consent/ScopeViewModel.cs b/samples/Quickstarts/2_InteractiveAspNetCore/src/IdentityServer/Quickstart/Consent/ScopeViewModel.cs index 6bb80540..11644607 100644 --- a/samples/Quickstarts/2_InteractiveAspNetCore/src/IdentityServer/Quickstart/Consent/ScopeViewModel.cs +++ b/samples/Quickstarts/2_InteractiveAspNetCore/src/IdentityServer/Quickstart/Consent/ScopeViewModel.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; diff --git a/samples/Quickstarts/2_InteractiveAspNetCore/src/IdentityServer/Quickstart/Device/DeviceAuthorizationInputModel.cs b/samples/Quickstarts/2_InteractiveAspNetCore/src/IdentityServer/Quickstart/Device/DeviceAuthorizationInputModel.cs index ce8e075b..dc23ac01 100644 --- a/samples/Quickstarts/2_InteractiveAspNetCore/src/IdentityServer/Quickstart/Device/DeviceAuthorizationInputModel.cs +++ b/samples/Quickstarts/2_InteractiveAspNetCore/src/IdentityServer/Quickstart/Device/DeviceAuthorizationInputModel.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; @@ -18,4 +15,4 @@ namespace IdentityServerHost.Quickstart.UI; public class DeviceAuthorizationInputModel : ConsentInputModel { public string UserCode { get; set; } -} \ No newline at end of file +} diff --git a/samples/Quickstarts/2_InteractiveAspNetCore/src/IdentityServer/Quickstart/Device/DeviceAuthorizationViewModel.cs b/samples/Quickstarts/2_InteractiveAspNetCore/src/IdentityServer/Quickstart/Device/DeviceAuthorizationViewModel.cs index 2bbe9deb..213cb898 100644 --- a/samples/Quickstarts/2_InteractiveAspNetCore/src/IdentityServer/Quickstart/Device/DeviceAuthorizationViewModel.cs +++ b/samples/Quickstarts/2_InteractiveAspNetCore/src/IdentityServer/Quickstart/Device/DeviceAuthorizationViewModel.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; @@ -19,4 +16,4 @@ public class DeviceAuthorizationViewModel : ConsentViewModel { public string UserCode { get; set; } public bool ConfirmUserCode { get; set; } -} \ No newline at end of file +} diff --git a/samples/Quickstarts/2_InteractiveAspNetCore/src/IdentityServer/Quickstart/Device/DeviceController.cs b/samples/Quickstarts/2_InteractiveAspNetCore/src/IdentityServer/Quickstart/Device/DeviceController.cs index 4d3f5721..f20be7e5 100644 --- a/samples/Quickstarts/2_InteractiveAspNetCore/src/IdentityServer/Quickstart/Device/DeviceController.cs +++ b/samples/Quickstarts/2_InteractiveAspNetCore/src/IdentityServer/Quickstart/Device/DeviceController.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; @@ -224,4 +221,4 @@ private ScopeViewModel GetOfflineAccessScope(bool check) Checked = check }; } -} \ No newline at end of file +} diff --git a/samples/Quickstarts/2_InteractiveAspNetCore/src/IdentityServer/Quickstart/Diagnostics/DiagnosticsController.cs b/samples/Quickstarts/2_InteractiveAspNetCore/src/IdentityServer/Quickstart/Diagnostics/DiagnosticsController.cs index 472ba7e6..651a8670 100644 --- a/samples/Quickstarts/2_InteractiveAspNetCore/src/IdentityServer/Quickstart/Diagnostics/DiagnosticsController.cs +++ b/samples/Quickstarts/2_InteractiveAspNetCore/src/IdentityServer/Quickstart/Diagnostics/DiagnosticsController.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; @@ -30,4 +27,4 @@ public async Task Index() var model = new DiagnosticsViewModel(await HttpContext.AuthenticateAsync()); return View(model); } -} \ No newline at end of file +} diff --git a/samples/Quickstarts/2_InteractiveAspNetCore/src/IdentityServer/Quickstart/Diagnostics/DiagnosticsViewModel.cs b/samples/Quickstarts/2_InteractiveAspNetCore/src/IdentityServer/Quickstart/Diagnostics/DiagnosticsViewModel.cs index d7b13d52..68ed6704 100644 --- a/samples/Quickstarts/2_InteractiveAspNetCore/src/IdentityServer/Quickstart/Diagnostics/DiagnosticsViewModel.cs +++ b/samples/Quickstarts/2_InteractiveAspNetCore/src/IdentityServer/Quickstart/Diagnostics/DiagnosticsViewModel.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; @@ -33,4 +30,4 @@ public DiagnosticsViewModel(AuthenticateResult result) public AuthenticateResult AuthenticateResult { get; } public IEnumerable Clients { get; } = new List(); -} \ No newline at end of file +} diff --git a/samples/Quickstarts/2_InteractiveAspNetCore/src/IdentityServer/Quickstart/Extensions.cs b/samples/Quickstarts/2_InteractiveAspNetCore/src/IdentityServer/Quickstart/Extensions.cs index 3738815e..ac284136 100644 --- a/samples/Quickstarts/2_InteractiveAspNetCore/src/IdentityServer/Quickstart/Extensions.cs +++ b/samples/Quickstarts/2_InteractiveAspNetCore/src/IdentityServer/Quickstart/Extensions.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; diff --git a/samples/Quickstarts/2_InteractiveAspNetCore/src/IdentityServer/Quickstart/Grants/GrantsController.cs b/samples/Quickstarts/2_InteractiveAspNetCore/src/IdentityServer/Quickstart/Grants/GrantsController.cs index eb9f035d..d8638d86 100644 --- a/samples/Quickstarts/2_InteractiveAspNetCore/src/IdentityServer/Quickstart/Grants/GrantsController.cs +++ b/samples/Quickstarts/2_InteractiveAspNetCore/src/IdentityServer/Quickstart/Grants/GrantsController.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; @@ -94,4 +91,4 @@ private async Task BuildViewModelAsync() Grants = list }; } -} \ No newline at end of file +} diff --git a/samples/Quickstarts/2_InteractiveAspNetCore/src/IdentityServer/Quickstart/Grants/GrantsViewModel.cs b/samples/Quickstarts/2_InteractiveAspNetCore/src/IdentityServer/Quickstart/Grants/GrantsViewModel.cs index f233101a..de2a3268 100644 --- a/samples/Quickstarts/2_InteractiveAspNetCore/src/IdentityServer/Quickstart/Grants/GrantsViewModel.cs +++ b/samples/Quickstarts/2_InteractiveAspNetCore/src/IdentityServer/Quickstart/Grants/GrantsViewModel.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; @@ -31,4 +28,4 @@ public class GrantViewModel public DateTime? Expires { get; set; } public IEnumerable IdentityGrantNames { get; set; } public IEnumerable ApiGrantNames { get; set; } -} \ No newline at end of file +} diff --git a/samples/Quickstarts/2_InteractiveAspNetCore/src/IdentityServer/Quickstart/Home/ErrorViewModel.cs b/samples/Quickstarts/2_InteractiveAspNetCore/src/IdentityServer/Quickstart/Home/ErrorViewModel.cs index d11a92fe..877455f9 100644 --- a/samples/Quickstarts/2_InteractiveAspNetCore/src/IdentityServer/Quickstart/Home/ErrorViewModel.cs +++ b/samples/Quickstarts/2_InteractiveAspNetCore/src/IdentityServer/Quickstart/Home/ErrorViewModel.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; @@ -27,4 +24,4 @@ public ErrorViewModel(string error) } public ErrorMessage Error { get; set; } -} \ No newline at end of file +} diff --git a/samples/Quickstarts/2_InteractiveAspNetCore/src/IdentityServer/Quickstart/Home/HomeController.cs b/samples/Quickstarts/2_InteractiveAspNetCore/src/IdentityServer/Quickstart/Home/HomeController.cs index 5363f47b..bb681713 100644 --- a/samples/Quickstarts/2_InteractiveAspNetCore/src/IdentityServer/Quickstart/Home/HomeController.cs +++ b/samples/Quickstarts/2_InteractiveAspNetCore/src/IdentityServer/Quickstart/Home/HomeController.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; @@ -64,4 +61,4 @@ public async Task Error(string errorId) return View("Error", vm); } -} \ No newline at end of file +} diff --git a/samples/Quickstarts/2_InteractiveAspNetCore/src/IdentityServer/Quickstart/SecurityHeadersAttribute.cs b/samples/Quickstarts/2_InteractiveAspNetCore/src/IdentityServer/Quickstart/SecurityHeadersAttribute.cs index f9b84a9e..e92cde12 100644 --- a/samples/Quickstarts/2_InteractiveAspNetCore/src/IdentityServer/Quickstart/SecurityHeadersAttribute.cs +++ b/samples/Quickstarts/2_InteractiveAspNetCore/src/IdentityServer/Quickstart/SecurityHeadersAttribute.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; diff --git a/samples/Quickstarts/2_InteractiveAspNetCore/src/IdentityServer/Quickstart/TestUsers.cs b/samples/Quickstarts/2_InteractiveAspNetCore/src/IdentityServer/Quickstart/TestUsers.cs index 4f53b5b2..2a03d0c4 100644 --- a/samples/Quickstarts/2_InteractiveAspNetCore/src/IdentityServer/Quickstart/TestUsers.cs +++ b/samples/Quickstarts/2_InteractiveAspNetCore/src/IdentityServer/Quickstart/TestUsers.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; diff --git a/samples/Quickstarts/2_InteractiveAspNetCore/src/MvcClient/Controllers/HomeController.cs b/samples/Quickstarts/2_InteractiveAspNetCore/src/MvcClient/Controllers/HomeController.cs index 10beb6a8..578eaced 100644 --- a/samples/Quickstarts/2_InteractiveAspNetCore/src/MvcClient/Controllers/HomeController.cs +++ b/samples/Quickstarts/2_InteractiveAspNetCore/src/MvcClient/Controllers/HomeController.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ public class HomeController : Controller diff --git a/samples/Quickstarts/2_InteractiveAspNetCore/src/MvcClient/GlobalUsings.cs b/samples/Quickstarts/2_InteractiveAspNetCore/src/MvcClient/GlobalUsings.cs index 6bd394bf..c1ce22ea 100644 --- a/samples/Quickstarts/2_InteractiveAspNetCore/src/MvcClient/GlobalUsings.cs +++ b/samples/Quickstarts/2_InteractiveAspNetCore/src/MvcClient/GlobalUsings.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ global using Microsoft.AspNetCore.Authentication; diff --git a/samples/Quickstarts/2_InteractiveAspNetCore/src/MvcClient/Models/ErrorViewModel.cs b/samples/Quickstarts/2_InteractiveAspNetCore/src/MvcClient/Models/ErrorViewModel.cs index 8c8d69e0..cdc23f5d 100644 --- a/samples/Quickstarts/2_InteractiveAspNetCore/src/MvcClient/Models/ErrorViewModel.cs +++ b/samples/Quickstarts/2_InteractiveAspNetCore/src/MvcClient/Models/ErrorViewModel.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ public class ErrorViewModel @@ -18,4 +15,4 @@ public class ErrorViewModel public string RequestId { get; set; } public bool ShowRequestId => !string.IsNullOrEmpty(RequestId); -} \ No newline at end of file +} diff --git a/samples/Quickstarts/2_InteractiveAspNetCore/src/MvcClient/Program.cs b/samples/Quickstarts/2_InteractiveAspNetCore/src/MvcClient/Program.cs index 6397716d..3ee42cf0 100644 --- a/samples/Quickstarts/2_InteractiveAspNetCore/src/MvcClient/Program.cs +++ b/samples/Quickstarts/2_InteractiveAspNetCore/src/MvcClient/Program.cs @@ -1,19 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ - JwtSecurityTokenHandler.DefaultMapInboundClaims = false; diff --git a/samples/Quickstarts/3_AspNetCoreAndApis/src/Api/Program.cs b/samples/Quickstarts/3_AspNetCoreAndApis/src/Api/Program.cs index af4411e4..b637058a 100644 --- a/samples/Quickstarts/3_AspNetCoreAndApis/src/Api/Program.cs +++ b/samples/Quickstarts/3_AspNetCoreAndApis/src/Api/Program.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using Microsoft.AspNetCore.Mvc; @@ -73,4 +70,4 @@ copies or substantial portions of the Software. ).RequireAuthorization("ApiScope"); await app.RunAsync(); -} \ No newline at end of file +} diff --git a/samples/Quickstarts/3_AspNetCoreAndApis/src/Client/Program.cs b/samples/Quickstarts/3_AspNetCoreAndApis/src/Client/Program.cs index 3b5fb173..e7629d32 100644 --- a/samples/Quickstarts/3_AspNetCoreAndApis/src/Client/Program.cs +++ b/samples/Quickstarts/3_AspNetCoreAndApis/src/Client/Program.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using IdentityModel.Client; @@ -62,4 +59,4 @@ void Exit(string message, int exitCode = 1) if (Debugger.IsAttached) Debugger.Break(); Environment.Exit(exitCode); -} \ No newline at end of file +} diff --git a/samples/Quickstarts/3_AspNetCoreAndApis/src/IdentityServer/Config.cs b/samples/Quickstarts/3_AspNetCoreAndApis/src/IdentityServer/Config.cs index e216934f..7a7f7cea 100644 --- a/samples/Quickstarts/3_AspNetCoreAndApis/src/IdentityServer/Config.cs +++ b/samples/Quickstarts/3_AspNetCoreAndApis/src/IdentityServer/Config.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ public static class Config @@ -65,4 +62,4 @@ public static class Config } } }; -} \ No newline at end of file +} diff --git a/samples/Quickstarts/3_AspNetCoreAndApis/src/IdentityServer/GlobalUsings.cs b/samples/Quickstarts/3_AspNetCoreAndApis/src/IdentityServer/GlobalUsings.cs index a67951b1..7bbcbadc 100644 --- a/samples/Quickstarts/3_AspNetCoreAndApis/src/IdentityServer/GlobalUsings.cs +++ b/samples/Quickstarts/3_AspNetCoreAndApis/src/IdentityServer/GlobalUsings.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ global using IdentityModel; diff --git a/samples/Quickstarts/3_AspNetCoreAndApis/src/IdentityServer/Program.cs b/samples/Quickstarts/3_AspNetCoreAndApis/src/IdentityServer/Program.cs index b97091e9..0a4e70b7 100644 --- a/samples/Quickstarts/3_AspNetCoreAndApis/src/IdentityServer/Program.cs +++ b/samples/Quickstarts/3_AspNetCoreAndApis/src/IdentityServer/Program.cs @@ -1,20 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ - - ConfigureLogger(); try diff --git a/samples/Quickstarts/3_AspNetCoreAndApis/src/IdentityServer/Quickstart/Account/AccountController.cs b/samples/Quickstarts/3_AspNetCoreAndApis/src/IdentityServer/Quickstart/Account/AccountController.cs index 8f2ab363..a548d6ef 100644 --- a/samples/Quickstarts/3_AspNetCoreAndApis/src/IdentityServer/Quickstart/Account/AccountController.cs +++ b/samples/Quickstarts/3_AspNetCoreAndApis/src/IdentityServer/Quickstart/Account/AccountController.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; diff --git a/samples/Quickstarts/3_AspNetCoreAndApis/src/IdentityServer/Quickstart/Account/AccountOptions.cs b/samples/Quickstarts/3_AspNetCoreAndApis/src/IdentityServer/Quickstart/Account/AccountOptions.cs index 499f4488..11741743 100644 --- a/samples/Quickstarts/3_AspNetCoreAndApis/src/IdentityServer/Quickstart/Account/AccountOptions.cs +++ b/samples/Quickstarts/3_AspNetCoreAndApis/src/IdentityServer/Quickstart/Account/AccountOptions.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI diff --git a/samples/Quickstarts/3_AspNetCoreAndApis/src/IdentityServer/Quickstart/Account/ExternalController.cs b/samples/Quickstarts/3_AspNetCoreAndApis/src/IdentityServer/Quickstart/Account/ExternalController.cs index 5c8f3ee1..ec637afd 100644 --- a/samples/Quickstarts/3_AspNetCoreAndApis/src/IdentityServer/Quickstart/Account/ExternalController.cs +++ b/samples/Quickstarts/3_AspNetCoreAndApis/src/IdentityServer/Quickstart/Account/ExternalController.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; @@ -190,4 +187,4 @@ private void ProcessLoginCallback(AuthenticateResult externalResult, List localSignInProps.StoreTokens(new[] { new AuthenticationToken { Name = "id_token", Value = idToken } }); } } -} \ No newline at end of file +} diff --git a/samples/Quickstarts/3_AspNetCoreAndApis/src/IdentityServer/Quickstart/Account/ExternalProvider.cs b/samples/Quickstarts/3_AspNetCoreAndApis/src/IdentityServer/Quickstart/Account/ExternalProvider.cs index 4c197ce0..61fa88d0 100644 --- a/samples/Quickstarts/3_AspNetCoreAndApis/src/IdentityServer/Quickstart/Account/ExternalProvider.cs +++ b/samples/Quickstarts/3_AspNetCoreAndApis/src/IdentityServer/Quickstart/Account/ExternalProvider.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; @@ -19,4 +16,4 @@ public class ExternalProvider { public string DisplayName { get; set; } public string AuthenticationScheme { get; set; } -} \ No newline at end of file +} diff --git a/samples/Quickstarts/3_AspNetCoreAndApis/src/IdentityServer/Quickstart/Account/LoggedOutViewModel.cs b/samples/Quickstarts/3_AspNetCoreAndApis/src/IdentityServer/Quickstart/Account/LoggedOutViewModel.cs index 36fceadf..2e23c83b 100644 --- a/samples/Quickstarts/3_AspNetCoreAndApis/src/IdentityServer/Quickstart/Account/LoggedOutViewModel.cs +++ b/samples/Quickstarts/3_AspNetCoreAndApis/src/IdentityServer/Quickstart/Account/LoggedOutViewModel.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; @@ -26,4 +23,4 @@ public class LoggedOutViewModel public string LogoutId { get; set; } public bool TriggerExternalSignout => ExternalAuthenticationScheme != null; public string ExternalAuthenticationScheme { get; set; } -} \ No newline at end of file +} diff --git a/samples/Quickstarts/3_AspNetCoreAndApis/src/IdentityServer/Quickstart/Account/LoginInputModel.cs b/samples/Quickstarts/3_AspNetCoreAndApis/src/IdentityServer/Quickstart/Account/LoginInputModel.cs index f546b2ff..5af2bb17 100644 --- a/samples/Quickstarts/3_AspNetCoreAndApis/src/IdentityServer/Quickstart/Account/LoginInputModel.cs +++ b/samples/Quickstarts/3_AspNetCoreAndApis/src/IdentityServer/Quickstart/Account/LoginInputModel.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; @@ -23,4 +20,4 @@ public class LoginInputModel public string Password { get; set; } public bool RememberLogin { get; set; } public string ReturnUrl { get; set; } -} \ No newline at end of file +} diff --git a/samples/Quickstarts/3_AspNetCoreAndApis/src/IdentityServer/Quickstart/Account/LoginViewModel.cs b/samples/Quickstarts/3_AspNetCoreAndApis/src/IdentityServer/Quickstart/Account/LoginViewModel.cs index 8a2409f0..6233be6b 100644 --- a/samples/Quickstarts/3_AspNetCoreAndApis/src/IdentityServer/Quickstart/Account/LoginViewModel.cs +++ b/samples/Quickstarts/3_AspNetCoreAndApis/src/IdentityServer/Quickstart/Account/LoginViewModel.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; @@ -25,4 +22,4 @@ public class LoginViewModel : LoginInputModel public bool IsExternalLoginOnly => EnableLocalLogin == false && ExternalProviders?.Count() == 1; public string ExternalLoginScheme => IsExternalLoginOnly ? ExternalProviders?.SingleOrDefault()?.AuthenticationScheme : null; -} \ No newline at end of file +} diff --git a/samples/Quickstarts/3_AspNetCoreAndApis/src/IdentityServer/Quickstart/Account/LogoutInputModel.cs b/samples/Quickstarts/3_AspNetCoreAndApis/src/IdentityServer/Quickstart/Account/LogoutInputModel.cs index 9b16bfcf..cf883a18 100644 --- a/samples/Quickstarts/3_AspNetCoreAndApis/src/IdentityServer/Quickstart/Account/LogoutInputModel.cs +++ b/samples/Quickstarts/3_AspNetCoreAndApis/src/IdentityServer/Quickstart/Account/LogoutInputModel.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; diff --git a/samples/Quickstarts/3_AspNetCoreAndApis/src/IdentityServer/Quickstart/Account/LogoutViewModel.cs b/samples/Quickstarts/3_AspNetCoreAndApis/src/IdentityServer/Quickstart/Account/LogoutViewModel.cs index e245a0d4..a50ee906 100644 --- a/samples/Quickstarts/3_AspNetCoreAndApis/src/IdentityServer/Quickstart/Account/LogoutViewModel.cs +++ b/samples/Quickstarts/3_AspNetCoreAndApis/src/IdentityServer/Quickstart/Account/LogoutViewModel.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; diff --git a/samples/Quickstarts/3_AspNetCoreAndApis/src/IdentityServer/Quickstart/Account/RedirectViewModel.cs b/samples/Quickstarts/3_AspNetCoreAndApis/src/IdentityServer/Quickstart/Account/RedirectViewModel.cs index 56e9d1a3..542b5049 100644 --- a/samples/Quickstarts/3_AspNetCoreAndApis/src/IdentityServer/Quickstart/Account/RedirectViewModel.cs +++ b/samples/Quickstarts/3_AspNetCoreAndApis/src/IdentityServer/Quickstart/Account/RedirectViewModel.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; @@ -18,4 +15,4 @@ namespace IdentityServerHost.Quickstart.UI; public class RedirectViewModel { public string RedirectUrl { get; set; } -} \ No newline at end of file +} diff --git a/samples/Quickstarts/3_AspNetCoreAndApis/src/IdentityServer/Quickstart/Consent/ConsentController.cs b/samples/Quickstarts/3_AspNetCoreAndApis/src/IdentityServer/Quickstart/Consent/ConsentController.cs index a1b57312..1af7e4ca 100644 --- a/samples/Quickstarts/3_AspNetCoreAndApis/src/IdentityServer/Quickstart/Consent/ConsentController.cs +++ b/samples/Quickstarts/3_AspNetCoreAndApis/src/IdentityServer/Quickstart/Consent/ConsentController.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; @@ -255,4 +252,4 @@ private ScopeViewModel GetOfflineAccessScope(bool check) Checked = check }; } -} \ No newline at end of file +} diff --git a/samples/Quickstarts/3_AspNetCoreAndApis/src/IdentityServer/Quickstart/Consent/ConsentInputModel.cs b/samples/Quickstarts/3_AspNetCoreAndApis/src/IdentityServer/Quickstart/Consent/ConsentInputModel.cs index 3c4a5528..bdf93b8f 100644 --- a/samples/Quickstarts/3_AspNetCoreAndApis/src/IdentityServer/Quickstart/Consent/ConsentInputModel.cs +++ b/samples/Quickstarts/3_AspNetCoreAndApis/src/IdentityServer/Quickstart/Consent/ConsentInputModel.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; @@ -22,4 +19,4 @@ public class ConsentInputModel public bool RememberConsent { get; set; } public string ReturnUrl { get; set; } public string Description { get; set; } -} \ No newline at end of file +} diff --git a/samples/Quickstarts/3_AspNetCoreAndApis/src/IdentityServer/Quickstart/Consent/ConsentOptions.cs b/samples/Quickstarts/3_AspNetCoreAndApis/src/IdentityServer/Quickstart/Consent/ConsentOptions.cs index 7bea1fe9..0845e4c5 100644 --- a/samples/Quickstarts/3_AspNetCoreAndApis/src/IdentityServer/Quickstart/Consent/ConsentOptions.cs +++ b/samples/Quickstarts/3_AspNetCoreAndApis/src/IdentityServer/Quickstart/Consent/ConsentOptions.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; diff --git a/samples/Quickstarts/3_AspNetCoreAndApis/src/IdentityServer/Quickstart/Consent/ConsentViewModel.cs b/samples/Quickstarts/3_AspNetCoreAndApis/src/IdentityServer/Quickstart/Consent/ConsentViewModel.cs index f135248f..e23d9ad8 100644 --- a/samples/Quickstarts/3_AspNetCoreAndApis/src/IdentityServer/Quickstart/Consent/ConsentViewModel.cs +++ b/samples/Quickstarts/3_AspNetCoreAndApis/src/IdentityServer/Quickstart/Consent/ConsentViewModel.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; diff --git a/samples/Quickstarts/3_AspNetCoreAndApis/src/IdentityServer/Quickstart/Consent/ProcessConsentResult.cs b/samples/Quickstarts/3_AspNetCoreAndApis/src/IdentityServer/Quickstart/Consent/ProcessConsentResult.cs index 6ef87487..6c1906c4 100644 --- a/samples/Quickstarts/3_AspNetCoreAndApis/src/IdentityServer/Quickstart/Consent/ProcessConsentResult.cs +++ b/samples/Quickstarts/3_AspNetCoreAndApis/src/IdentityServer/Quickstart/Consent/ProcessConsentResult.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; diff --git a/samples/Quickstarts/3_AspNetCoreAndApis/src/IdentityServer/Quickstart/Consent/ScopeViewModel.cs b/samples/Quickstarts/3_AspNetCoreAndApis/src/IdentityServer/Quickstart/Consent/ScopeViewModel.cs index 6bb80540..11644607 100644 --- a/samples/Quickstarts/3_AspNetCoreAndApis/src/IdentityServer/Quickstart/Consent/ScopeViewModel.cs +++ b/samples/Quickstarts/3_AspNetCoreAndApis/src/IdentityServer/Quickstart/Consent/ScopeViewModel.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; diff --git a/samples/Quickstarts/3_AspNetCoreAndApis/src/IdentityServer/Quickstart/Device/DeviceAuthorizationInputModel.cs b/samples/Quickstarts/3_AspNetCoreAndApis/src/IdentityServer/Quickstart/Device/DeviceAuthorizationInputModel.cs index ce8e075b..dc23ac01 100644 --- a/samples/Quickstarts/3_AspNetCoreAndApis/src/IdentityServer/Quickstart/Device/DeviceAuthorizationInputModel.cs +++ b/samples/Quickstarts/3_AspNetCoreAndApis/src/IdentityServer/Quickstart/Device/DeviceAuthorizationInputModel.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; @@ -18,4 +15,4 @@ namespace IdentityServerHost.Quickstart.UI; public class DeviceAuthorizationInputModel : ConsentInputModel { public string UserCode { get; set; } -} \ No newline at end of file +} diff --git a/samples/Quickstarts/3_AspNetCoreAndApis/src/IdentityServer/Quickstart/Device/DeviceAuthorizationViewModel.cs b/samples/Quickstarts/3_AspNetCoreAndApis/src/IdentityServer/Quickstart/Device/DeviceAuthorizationViewModel.cs index 2bbe9deb..213cb898 100644 --- a/samples/Quickstarts/3_AspNetCoreAndApis/src/IdentityServer/Quickstart/Device/DeviceAuthorizationViewModel.cs +++ b/samples/Quickstarts/3_AspNetCoreAndApis/src/IdentityServer/Quickstart/Device/DeviceAuthorizationViewModel.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; @@ -19,4 +16,4 @@ public class DeviceAuthorizationViewModel : ConsentViewModel { public string UserCode { get; set; } public bool ConfirmUserCode { get; set; } -} \ No newline at end of file +} diff --git a/samples/Quickstarts/3_AspNetCoreAndApis/src/IdentityServer/Quickstart/Device/DeviceController.cs b/samples/Quickstarts/3_AspNetCoreAndApis/src/IdentityServer/Quickstart/Device/DeviceController.cs index 4d3f5721..f20be7e5 100644 --- a/samples/Quickstarts/3_AspNetCoreAndApis/src/IdentityServer/Quickstart/Device/DeviceController.cs +++ b/samples/Quickstarts/3_AspNetCoreAndApis/src/IdentityServer/Quickstart/Device/DeviceController.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; @@ -224,4 +221,4 @@ private ScopeViewModel GetOfflineAccessScope(bool check) Checked = check }; } -} \ No newline at end of file +} diff --git a/samples/Quickstarts/3_AspNetCoreAndApis/src/IdentityServer/Quickstart/Diagnostics/DiagnosticsController.cs b/samples/Quickstarts/3_AspNetCoreAndApis/src/IdentityServer/Quickstart/Diagnostics/DiagnosticsController.cs index 472ba7e6..651a8670 100644 --- a/samples/Quickstarts/3_AspNetCoreAndApis/src/IdentityServer/Quickstart/Diagnostics/DiagnosticsController.cs +++ b/samples/Quickstarts/3_AspNetCoreAndApis/src/IdentityServer/Quickstart/Diagnostics/DiagnosticsController.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; @@ -30,4 +27,4 @@ public async Task Index() var model = new DiagnosticsViewModel(await HttpContext.AuthenticateAsync()); return View(model); } -} \ No newline at end of file +} diff --git a/samples/Quickstarts/3_AspNetCoreAndApis/src/IdentityServer/Quickstart/Diagnostics/DiagnosticsViewModel.cs b/samples/Quickstarts/3_AspNetCoreAndApis/src/IdentityServer/Quickstart/Diagnostics/DiagnosticsViewModel.cs index d7b13d52..68ed6704 100644 --- a/samples/Quickstarts/3_AspNetCoreAndApis/src/IdentityServer/Quickstart/Diagnostics/DiagnosticsViewModel.cs +++ b/samples/Quickstarts/3_AspNetCoreAndApis/src/IdentityServer/Quickstart/Diagnostics/DiagnosticsViewModel.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; @@ -33,4 +30,4 @@ public DiagnosticsViewModel(AuthenticateResult result) public AuthenticateResult AuthenticateResult { get; } public IEnumerable Clients { get; } = new List(); -} \ No newline at end of file +} diff --git a/samples/Quickstarts/3_AspNetCoreAndApis/src/IdentityServer/Quickstart/Extensions.cs b/samples/Quickstarts/3_AspNetCoreAndApis/src/IdentityServer/Quickstart/Extensions.cs index 3738815e..ac284136 100644 --- a/samples/Quickstarts/3_AspNetCoreAndApis/src/IdentityServer/Quickstart/Extensions.cs +++ b/samples/Quickstarts/3_AspNetCoreAndApis/src/IdentityServer/Quickstart/Extensions.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; diff --git a/samples/Quickstarts/3_AspNetCoreAndApis/src/IdentityServer/Quickstart/Grants/GrantsController.cs b/samples/Quickstarts/3_AspNetCoreAndApis/src/IdentityServer/Quickstart/Grants/GrantsController.cs index eb9f035d..d8638d86 100644 --- a/samples/Quickstarts/3_AspNetCoreAndApis/src/IdentityServer/Quickstart/Grants/GrantsController.cs +++ b/samples/Quickstarts/3_AspNetCoreAndApis/src/IdentityServer/Quickstart/Grants/GrantsController.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; @@ -94,4 +91,4 @@ private async Task BuildViewModelAsync() Grants = list }; } -} \ No newline at end of file +} diff --git a/samples/Quickstarts/3_AspNetCoreAndApis/src/IdentityServer/Quickstart/Grants/GrantsViewModel.cs b/samples/Quickstarts/3_AspNetCoreAndApis/src/IdentityServer/Quickstart/Grants/GrantsViewModel.cs index f233101a..de2a3268 100644 --- a/samples/Quickstarts/3_AspNetCoreAndApis/src/IdentityServer/Quickstart/Grants/GrantsViewModel.cs +++ b/samples/Quickstarts/3_AspNetCoreAndApis/src/IdentityServer/Quickstart/Grants/GrantsViewModel.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; @@ -31,4 +28,4 @@ public class GrantViewModel public DateTime? Expires { get; set; } public IEnumerable IdentityGrantNames { get; set; } public IEnumerable ApiGrantNames { get; set; } -} \ No newline at end of file +} diff --git a/samples/Quickstarts/3_AspNetCoreAndApis/src/IdentityServer/Quickstart/Home/ErrorViewModel.cs b/samples/Quickstarts/3_AspNetCoreAndApis/src/IdentityServer/Quickstart/Home/ErrorViewModel.cs index d11a92fe..877455f9 100644 --- a/samples/Quickstarts/3_AspNetCoreAndApis/src/IdentityServer/Quickstart/Home/ErrorViewModel.cs +++ b/samples/Quickstarts/3_AspNetCoreAndApis/src/IdentityServer/Quickstart/Home/ErrorViewModel.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; @@ -27,4 +24,4 @@ public ErrorViewModel(string error) } public ErrorMessage Error { get; set; } -} \ No newline at end of file +} diff --git a/samples/Quickstarts/3_AspNetCoreAndApis/src/IdentityServer/Quickstart/Home/HomeController.cs b/samples/Quickstarts/3_AspNetCoreAndApis/src/IdentityServer/Quickstart/Home/HomeController.cs index 5363f47b..bb681713 100644 --- a/samples/Quickstarts/3_AspNetCoreAndApis/src/IdentityServer/Quickstart/Home/HomeController.cs +++ b/samples/Quickstarts/3_AspNetCoreAndApis/src/IdentityServer/Quickstart/Home/HomeController.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; @@ -64,4 +61,4 @@ public async Task Error(string errorId) return View("Error", vm); } -} \ No newline at end of file +} diff --git a/samples/Quickstarts/3_AspNetCoreAndApis/src/IdentityServer/Quickstart/SecurityHeadersAttribute.cs b/samples/Quickstarts/3_AspNetCoreAndApis/src/IdentityServer/Quickstart/SecurityHeadersAttribute.cs index f9b84a9e..e92cde12 100644 --- a/samples/Quickstarts/3_AspNetCoreAndApis/src/IdentityServer/Quickstart/SecurityHeadersAttribute.cs +++ b/samples/Quickstarts/3_AspNetCoreAndApis/src/IdentityServer/Quickstart/SecurityHeadersAttribute.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; diff --git a/samples/Quickstarts/3_AspNetCoreAndApis/src/IdentityServer/Quickstart/TestUsers.cs b/samples/Quickstarts/3_AspNetCoreAndApis/src/IdentityServer/Quickstart/TestUsers.cs index 4f53b5b2..2a03d0c4 100644 --- a/samples/Quickstarts/3_AspNetCoreAndApis/src/IdentityServer/Quickstart/TestUsers.cs +++ b/samples/Quickstarts/3_AspNetCoreAndApis/src/IdentityServer/Quickstart/TestUsers.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; diff --git a/samples/Quickstarts/3_AspNetCoreAndApis/src/MvcClient/Controllers/HomeController.cs b/samples/Quickstarts/3_AspNetCoreAndApis/src/MvcClient/Controllers/HomeController.cs index 10beb6a8..578eaced 100644 --- a/samples/Quickstarts/3_AspNetCoreAndApis/src/MvcClient/Controllers/HomeController.cs +++ b/samples/Quickstarts/3_AspNetCoreAndApis/src/MvcClient/Controllers/HomeController.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ public class HomeController : Controller diff --git a/samples/Quickstarts/3_AspNetCoreAndApis/src/MvcClient/GlobalUsings.cs b/samples/Quickstarts/3_AspNetCoreAndApis/src/MvcClient/GlobalUsings.cs index 6bd394bf..c1ce22ea 100644 --- a/samples/Quickstarts/3_AspNetCoreAndApis/src/MvcClient/GlobalUsings.cs +++ b/samples/Quickstarts/3_AspNetCoreAndApis/src/MvcClient/GlobalUsings.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ global using Microsoft.AspNetCore.Authentication; diff --git a/samples/Quickstarts/3_AspNetCoreAndApis/src/MvcClient/Models/ErrorViewModel.cs b/samples/Quickstarts/3_AspNetCoreAndApis/src/MvcClient/Models/ErrorViewModel.cs index 8c8d69e0..cdc23f5d 100644 --- a/samples/Quickstarts/3_AspNetCoreAndApis/src/MvcClient/Models/ErrorViewModel.cs +++ b/samples/Quickstarts/3_AspNetCoreAndApis/src/MvcClient/Models/ErrorViewModel.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ public class ErrorViewModel @@ -18,4 +15,4 @@ public class ErrorViewModel public string RequestId { get; set; } public bool ShowRequestId => !string.IsNullOrEmpty(RequestId); -} \ No newline at end of file +} diff --git a/samples/Quickstarts/3_AspNetCoreAndApis/src/MvcClient/Program.cs b/samples/Quickstarts/3_AspNetCoreAndApis/src/MvcClient/Program.cs index 6397716d..3ee42cf0 100644 --- a/samples/Quickstarts/3_AspNetCoreAndApis/src/MvcClient/Program.cs +++ b/samples/Quickstarts/3_AspNetCoreAndApis/src/MvcClient/Program.cs @@ -1,19 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ - JwtSecurityTokenHandler.DefaultMapInboundClaims = false; diff --git a/samples/Quickstarts/4_JavaScriptClient/src/Api/Program.cs b/samples/Quickstarts/4_JavaScriptClient/src/Api/Program.cs index af4411e4..b637058a 100644 --- a/samples/Quickstarts/4_JavaScriptClient/src/Api/Program.cs +++ b/samples/Quickstarts/4_JavaScriptClient/src/Api/Program.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using Microsoft.AspNetCore.Mvc; @@ -73,4 +70,4 @@ copies or substantial portions of the Software. ).RequireAuthorization("ApiScope"); await app.RunAsync(); -} \ No newline at end of file +} diff --git a/samples/Quickstarts/4_JavaScriptClient/src/Client/Program.cs b/samples/Quickstarts/4_JavaScriptClient/src/Client/Program.cs index 3b5fb173..e7629d32 100644 --- a/samples/Quickstarts/4_JavaScriptClient/src/Client/Program.cs +++ b/samples/Quickstarts/4_JavaScriptClient/src/Client/Program.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using IdentityModel.Client; @@ -62,4 +59,4 @@ void Exit(string message, int exitCode = 1) if (Debugger.IsAttached) Debugger.Break(); Environment.Exit(exitCode); -} \ No newline at end of file +} diff --git a/samples/Quickstarts/4_JavaScriptClient/src/IdentityServer/Config.cs b/samples/Quickstarts/4_JavaScriptClient/src/IdentityServer/Config.cs index e216934f..7a7f7cea 100644 --- a/samples/Quickstarts/4_JavaScriptClient/src/IdentityServer/Config.cs +++ b/samples/Quickstarts/4_JavaScriptClient/src/IdentityServer/Config.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ public static class Config @@ -65,4 +62,4 @@ public static class Config } } }; -} \ No newline at end of file +} diff --git a/samples/Quickstarts/4_JavaScriptClient/src/IdentityServer/GlobalUsings.cs b/samples/Quickstarts/4_JavaScriptClient/src/IdentityServer/GlobalUsings.cs index a67951b1..7bbcbadc 100644 --- a/samples/Quickstarts/4_JavaScriptClient/src/IdentityServer/GlobalUsings.cs +++ b/samples/Quickstarts/4_JavaScriptClient/src/IdentityServer/GlobalUsings.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ global using IdentityModel; diff --git a/samples/Quickstarts/4_JavaScriptClient/src/IdentityServer/Program.cs b/samples/Quickstarts/4_JavaScriptClient/src/IdentityServer/Program.cs index b97091e9..0a4e70b7 100644 --- a/samples/Quickstarts/4_JavaScriptClient/src/IdentityServer/Program.cs +++ b/samples/Quickstarts/4_JavaScriptClient/src/IdentityServer/Program.cs @@ -1,20 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ - - ConfigureLogger(); try diff --git a/samples/Quickstarts/4_JavaScriptClient/src/IdentityServer/Quickstart/Account/AccountController.cs b/samples/Quickstarts/4_JavaScriptClient/src/IdentityServer/Quickstart/Account/AccountController.cs index 8f2ab363..a548d6ef 100644 --- a/samples/Quickstarts/4_JavaScriptClient/src/IdentityServer/Quickstart/Account/AccountController.cs +++ b/samples/Quickstarts/4_JavaScriptClient/src/IdentityServer/Quickstart/Account/AccountController.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; diff --git a/samples/Quickstarts/4_JavaScriptClient/src/IdentityServer/Quickstart/Account/AccountOptions.cs b/samples/Quickstarts/4_JavaScriptClient/src/IdentityServer/Quickstart/Account/AccountOptions.cs index 499f4488..11741743 100644 --- a/samples/Quickstarts/4_JavaScriptClient/src/IdentityServer/Quickstart/Account/AccountOptions.cs +++ b/samples/Quickstarts/4_JavaScriptClient/src/IdentityServer/Quickstart/Account/AccountOptions.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI diff --git a/samples/Quickstarts/4_JavaScriptClient/src/IdentityServer/Quickstart/Account/ExternalController.cs b/samples/Quickstarts/4_JavaScriptClient/src/IdentityServer/Quickstart/Account/ExternalController.cs index 5c8f3ee1..ec637afd 100644 --- a/samples/Quickstarts/4_JavaScriptClient/src/IdentityServer/Quickstart/Account/ExternalController.cs +++ b/samples/Quickstarts/4_JavaScriptClient/src/IdentityServer/Quickstart/Account/ExternalController.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; @@ -190,4 +187,4 @@ private void ProcessLoginCallback(AuthenticateResult externalResult, List localSignInProps.StoreTokens(new[] { new AuthenticationToken { Name = "id_token", Value = idToken } }); } } -} \ No newline at end of file +} diff --git a/samples/Quickstarts/4_JavaScriptClient/src/IdentityServer/Quickstart/Account/ExternalProvider.cs b/samples/Quickstarts/4_JavaScriptClient/src/IdentityServer/Quickstart/Account/ExternalProvider.cs index 4c197ce0..61fa88d0 100644 --- a/samples/Quickstarts/4_JavaScriptClient/src/IdentityServer/Quickstart/Account/ExternalProvider.cs +++ b/samples/Quickstarts/4_JavaScriptClient/src/IdentityServer/Quickstart/Account/ExternalProvider.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; @@ -19,4 +16,4 @@ public class ExternalProvider { public string DisplayName { get; set; } public string AuthenticationScheme { get; set; } -} \ No newline at end of file +} diff --git a/samples/Quickstarts/4_JavaScriptClient/src/IdentityServer/Quickstart/Account/LoggedOutViewModel.cs b/samples/Quickstarts/4_JavaScriptClient/src/IdentityServer/Quickstart/Account/LoggedOutViewModel.cs index 36fceadf..2e23c83b 100644 --- a/samples/Quickstarts/4_JavaScriptClient/src/IdentityServer/Quickstart/Account/LoggedOutViewModel.cs +++ b/samples/Quickstarts/4_JavaScriptClient/src/IdentityServer/Quickstart/Account/LoggedOutViewModel.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; @@ -26,4 +23,4 @@ public class LoggedOutViewModel public string LogoutId { get; set; } public bool TriggerExternalSignout => ExternalAuthenticationScheme != null; public string ExternalAuthenticationScheme { get; set; } -} \ No newline at end of file +} diff --git a/samples/Quickstarts/4_JavaScriptClient/src/IdentityServer/Quickstart/Account/LoginInputModel.cs b/samples/Quickstarts/4_JavaScriptClient/src/IdentityServer/Quickstart/Account/LoginInputModel.cs index f546b2ff..5af2bb17 100644 --- a/samples/Quickstarts/4_JavaScriptClient/src/IdentityServer/Quickstart/Account/LoginInputModel.cs +++ b/samples/Quickstarts/4_JavaScriptClient/src/IdentityServer/Quickstart/Account/LoginInputModel.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; @@ -23,4 +20,4 @@ public class LoginInputModel public string Password { get; set; } public bool RememberLogin { get; set; } public string ReturnUrl { get; set; } -} \ No newline at end of file +} diff --git a/samples/Quickstarts/4_JavaScriptClient/src/IdentityServer/Quickstart/Account/LoginViewModel.cs b/samples/Quickstarts/4_JavaScriptClient/src/IdentityServer/Quickstart/Account/LoginViewModel.cs index 8a2409f0..6233be6b 100644 --- a/samples/Quickstarts/4_JavaScriptClient/src/IdentityServer/Quickstart/Account/LoginViewModel.cs +++ b/samples/Quickstarts/4_JavaScriptClient/src/IdentityServer/Quickstart/Account/LoginViewModel.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; @@ -25,4 +22,4 @@ public class LoginViewModel : LoginInputModel public bool IsExternalLoginOnly => EnableLocalLogin == false && ExternalProviders?.Count() == 1; public string ExternalLoginScheme => IsExternalLoginOnly ? ExternalProviders?.SingleOrDefault()?.AuthenticationScheme : null; -} \ No newline at end of file +} diff --git a/samples/Quickstarts/4_JavaScriptClient/src/IdentityServer/Quickstart/Account/LogoutInputModel.cs b/samples/Quickstarts/4_JavaScriptClient/src/IdentityServer/Quickstart/Account/LogoutInputModel.cs index 9b16bfcf..cf883a18 100644 --- a/samples/Quickstarts/4_JavaScriptClient/src/IdentityServer/Quickstart/Account/LogoutInputModel.cs +++ b/samples/Quickstarts/4_JavaScriptClient/src/IdentityServer/Quickstart/Account/LogoutInputModel.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; diff --git a/samples/Quickstarts/4_JavaScriptClient/src/IdentityServer/Quickstart/Account/LogoutViewModel.cs b/samples/Quickstarts/4_JavaScriptClient/src/IdentityServer/Quickstart/Account/LogoutViewModel.cs index e245a0d4..a50ee906 100644 --- a/samples/Quickstarts/4_JavaScriptClient/src/IdentityServer/Quickstart/Account/LogoutViewModel.cs +++ b/samples/Quickstarts/4_JavaScriptClient/src/IdentityServer/Quickstart/Account/LogoutViewModel.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; diff --git a/samples/Quickstarts/4_JavaScriptClient/src/IdentityServer/Quickstart/Account/RedirectViewModel.cs b/samples/Quickstarts/4_JavaScriptClient/src/IdentityServer/Quickstart/Account/RedirectViewModel.cs index 56e9d1a3..542b5049 100644 --- a/samples/Quickstarts/4_JavaScriptClient/src/IdentityServer/Quickstart/Account/RedirectViewModel.cs +++ b/samples/Quickstarts/4_JavaScriptClient/src/IdentityServer/Quickstart/Account/RedirectViewModel.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; @@ -18,4 +15,4 @@ namespace IdentityServerHost.Quickstart.UI; public class RedirectViewModel { public string RedirectUrl { get; set; } -} \ No newline at end of file +} diff --git a/samples/Quickstarts/4_JavaScriptClient/src/IdentityServer/Quickstart/Consent/ConsentController.cs b/samples/Quickstarts/4_JavaScriptClient/src/IdentityServer/Quickstart/Consent/ConsentController.cs index a1b57312..1af7e4ca 100644 --- a/samples/Quickstarts/4_JavaScriptClient/src/IdentityServer/Quickstart/Consent/ConsentController.cs +++ b/samples/Quickstarts/4_JavaScriptClient/src/IdentityServer/Quickstart/Consent/ConsentController.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; @@ -255,4 +252,4 @@ private ScopeViewModel GetOfflineAccessScope(bool check) Checked = check }; } -} \ No newline at end of file +} diff --git a/samples/Quickstarts/4_JavaScriptClient/src/IdentityServer/Quickstart/Consent/ConsentInputModel.cs b/samples/Quickstarts/4_JavaScriptClient/src/IdentityServer/Quickstart/Consent/ConsentInputModel.cs index 3c4a5528..bdf93b8f 100644 --- a/samples/Quickstarts/4_JavaScriptClient/src/IdentityServer/Quickstart/Consent/ConsentInputModel.cs +++ b/samples/Quickstarts/4_JavaScriptClient/src/IdentityServer/Quickstart/Consent/ConsentInputModel.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; @@ -22,4 +19,4 @@ public class ConsentInputModel public bool RememberConsent { get; set; } public string ReturnUrl { get; set; } public string Description { get; set; } -} \ No newline at end of file +} diff --git a/samples/Quickstarts/4_JavaScriptClient/src/IdentityServer/Quickstart/Consent/ConsentOptions.cs b/samples/Quickstarts/4_JavaScriptClient/src/IdentityServer/Quickstart/Consent/ConsentOptions.cs index 7bea1fe9..0845e4c5 100644 --- a/samples/Quickstarts/4_JavaScriptClient/src/IdentityServer/Quickstart/Consent/ConsentOptions.cs +++ b/samples/Quickstarts/4_JavaScriptClient/src/IdentityServer/Quickstart/Consent/ConsentOptions.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; diff --git a/samples/Quickstarts/4_JavaScriptClient/src/IdentityServer/Quickstart/Consent/ConsentViewModel.cs b/samples/Quickstarts/4_JavaScriptClient/src/IdentityServer/Quickstart/Consent/ConsentViewModel.cs index f135248f..e23d9ad8 100644 --- a/samples/Quickstarts/4_JavaScriptClient/src/IdentityServer/Quickstart/Consent/ConsentViewModel.cs +++ b/samples/Quickstarts/4_JavaScriptClient/src/IdentityServer/Quickstart/Consent/ConsentViewModel.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; diff --git a/samples/Quickstarts/4_JavaScriptClient/src/IdentityServer/Quickstart/Consent/ProcessConsentResult.cs b/samples/Quickstarts/4_JavaScriptClient/src/IdentityServer/Quickstart/Consent/ProcessConsentResult.cs index 6ef87487..6c1906c4 100644 --- a/samples/Quickstarts/4_JavaScriptClient/src/IdentityServer/Quickstart/Consent/ProcessConsentResult.cs +++ b/samples/Quickstarts/4_JavaScriptClient/src/IdentityServer/Quickstart/Consent/ProcessConsentResult.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; diff --git a/samples/Quickstarts/4_JavaScriptClient/src/IdentityServer/Quickstart/Consent/ScopeViewModel.cs b/samples/Quickstarts/4_JavaScriptClient/src/IdentityServer/Quickstart/Consent/ScopeViewModel.cs index 6bb80540..11644607 100644 --- a/samples/Quickstarts/4_JavaScriptClient/src/IdentityServer/Quickstart/Consent/ScopeViewModel.cs +++ b/samples/Quickstarts/4_JavaScriptClient/src/IdentityServer/Quickstart/Consent/ScopeViewModel.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; diff --git a/samples/Quickstarts/4_JavaScriptClient/src/IdentityServer/Quickstart/Device/DeviceAuthorizationInputModel.cs b/samples/Quickstarts/4_JavaScriptClient/src/IdentityServer/Quickstart/Device/DeviceAuthorizationInputModel.cs index ce8e075b..dc23ac01 100644 --- a/samples/Quickstarts/4_JavaScriptClient/src/IdentityServer/Quickstart/Device/DeviceAuthorizationInputModel.cs +++ b/samples/Quickstarts/4_JavaScriptClient/src/IdentityServer/Quickstart/Device/DeviceAuthorizationInputModel.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; @@ -18,4 +15,4 @@ namespace IdentityServerHost.Quickstart.UI; public class DeviceAuthorizationInputModel : ConsentInputModel { public string UserCode { get; set; } -} \ No newline at end of file +} diff --git a/samples/Quickstarts/4_JavaScriptClient/src/IdentityServer/Quickstart/Device/DeviceAuthorizationViewModel.cs b/samples/Quickstarts/4_JavaScriptClient/src/IdentityServer/Quickstart/Device/DeviceAuthorizationViewModel.cs index 2bbe9deb..213cb898 100644 --- a/samples/Quickstarts/4_JavaScriptClient/src/IdentityServer/Quickstart/Device/DeviceAuthorizationViewModel.cs +++ b/samples/Quickstarts/4_JavaScriptClient/src/IdentityServer/Quickstart/Device/DeviceAuthorizationViewModel.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; @@ -19,4 +16,4 @@ public class DeviceAuthorizationViewModel : ConsentViewModel { public string UserCode { get; set; } public bool ConfirmUserCode { get; set; } -} \ No newline at end of file +} diff --git a/samples/Quickstarts/4_JavaScriptClient/src/IdentityServer/Quickstart/Device/DeviceController.cs b/samples/Quickstarts/4_JavaScriptClient/src/IdentityServer/Quickstart/Device/DeviceController.cs index 4d3f5721..f20be7e5 100644 --- a/samples/Quickstarts/4_JavaScriptClient/src/IdentityServer/Quickstart/Device/DeviceController.cs +++ b/samples/Quickstarts/4_JavaScriptClient/src/IdentityServer/Quickstart/Device/DeviceController.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; @@ -224,4 +221,4 @@ private ScopeViewModel GetOfflineAccessScope(bool check) Checked = check }; } -} \ No newline at end of file +} diff --git a/samples/Quickstarts/4_JavaScriptClient/src/IdentityServer/Quickstart/Diagnostics/DiagnosticsController.cs b/samples/Quickstarts/4_JavaScriptClient/src/IdentityServer/Quickstart/Diagnostics/DiagnosticsController.cs index 472ba7e6..651a8670 100644 --- a/samples/Quickstarts/4_JavaScriptClient/src/IdentityServer/Quickstart/Diagnostics/DiagnosticsController.cs +++ b/samples/Quickstarts/4_JavaScriptClient/src/IdentityServer/Quickstart/Diagnostics/DiagnosticsController.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; @@ -30,4 +27,4 @@ public async Task Index() var model = new DiagnosticsViewModel(await HttpContext.AuthenticateAsync()); return View(model); } -} \ No newline at end of file +} diff --git a/samples/Quickstarts/4_JavaScriptClient/src/IdentityServer/Quickstart/Diagnostics/DiagnosticsViewModel.cs b/samples/Quickstarts/4_JavaScriptClient/src/IdentityServer/Quickstart/Diagnostics/DiagnosticsViewModel.cs index d7b13d52..68ed6704 100644 --- a/samples/Quickstarts/4_JavaScriptClient/src/IdentityServer/Quickstart/Diagnostics/DiagnosticsViewModel.cs +++ b/samples/Quickstarts/4_JavaScriptClient/src/IdentityServer/Quickstart/Diagnostics/DiagnosticsViewModel.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; @@ -33,4 +30,4 @@ public DiagnosticsViewModel(AuthenticateResult result) public AuthenticateResult AuthenticateResult { get; } public IEnumerable Clients { get; } = new List(); -} \ No newline at end of file +} diff --git a/samples/Quickstarts/4_JavaScriptClient/src/IdentityServer/Quickstart/Extensions.cs b/samples/Quickstarts/4_JavaScriptClient/src/IdentityServer/Quickstart/Extensions.cs index 3738815e..ac284136 100644 --- a/samples/Quickstarts/4_JavaScriptClient/src/IdentityServer/Quickstart/Extensions.cs +++ b/samples/Quickstarts/4_JavaScriptClient/src/IdentityServer/Quickstart/Extensions.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; diff --git a/samples/Quickstarts/4_JavaScriptClient/src/IdentityServer/Quickstart/Grants/GrantsController.cs b/samples/Quickstarts/4_JavaScriptClient/src/IdentityServer/Quickstart/Grants/GrantsController.cs index eb9f035d..d8638d86 100644 --- a/samples/Quickstarts/4_JavaScriptClient/src/IdentityServer/Quickstart/Grants/GrantsController.cs +++ b/samples/Quickstarts/4_JavaScriptClient/src/IdentityServer/Quickstart/Grants/GrantsController.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; @@ -94,4 +91,4 @@ private async Task BuildViewModelAsync() Grants = list }; } -} \ No newline at end of file +} diff --git a/samples/Quickstarts/4_JavaScriptClient/src/IdentityServer/Quickstart/Grants/GrantsViewModel.cs b/samples/Quickstarts/4_JavaScriptClient/src/IdentityServer/Quickstart/Grants/GrantsViewModel.cs index f233101a..de2a3268 100644 --- a/samples/Quickstarts/4_JavaScriptClient/src/IdentityServer/Quickstart/Grants/GrantsViewModel.cs +++ b/samples/Quickstarts/4_JavaScriptClient/src/IdentityServer/Quickstart/Grants/GrantsViewModel.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; @@ -31,4 +28,4 @@ public class GrantViewModel public DateTime? Expires { get; set; } public IEnumerable IdentityGrantNames { get; set; } public IEnumerable ApiGrantNames { get; set; } -} \ No newline at end of file +} diff --git a/samples/Quickstarts/4_JavaScriptClient/src/IdentityServer/Quickstart/Home/ErrorViewModel.cs b/samples/Quickstarts/4_JavaScriptClient/src/IdentityServer/Quickstart/Home/ErrorViewModel.cs index d11a92fe..877455f9 100644 --- a/samples/Quickstarts/4_JavaScriptClient/src/IdentityServer/Quickstart/Home/ErrorViewModel.cs +++ b/samples/Quickstarts/4_JavaScriptClient/src/IdentityServer/Quickstart/Home/ErrorViewModel.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; @@ -27,4 +24,4 @@ public ErrorViewModel(string error) } public ErrorMessage Error { get; set; } -} \ No newline at end of file +} diff --git a/samples/Quickstarts/4_JavaScriptClient/src/IdentityServer/Quickstart/Home/HomeController.cs b/samples/Quickstarts/4_JavaScriptClient/src/IdentityServer/Quickstart/Home/HomeController.cs index 5363f47b..bb681713 100644 --- a/samples/Quickstarts/4_JavaScriptClient/src/IdentityServer/Quickstart/Home/HomeController.cs +++ b/samples/Quickstarts/4_JavaScriptClient/src/IdentityServer/Quickstart/Home/HomeController.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; @@ -64,4 +61,4 @@ public async Task Error(string errorId) return View("Error", vm); } -} \ No newline at end of file +} diff --git a/samples/Quickstarts/4_JavaScriptClient/src/IdentityServer/Quickstart/SecurityHeadersAttribute.cs b/samples/Quickstarts/4_JavaScriptClient/src/IdentityServer/Quickstart/SecurityHeadersAttribute.cs index f9b84a9e..e92cde12 100644 --- a/samples/Quickstarts/4_JavaScriptClient/src/IdentityServer/Quickstart/SecurityHeadersAttribute.cs +++ b/samples/Quickstarts/4_JavaScriptClient/src/IdentityServer/Quickstart/SecurityHeadersAttribute.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; diff --git a/samples/Quickstarts/4_JavaScriptClient/src/IdentityServer/Quickstart/TestUsers.cs b/samples/Quickstarts/4_JavaScriptClient/src/IdentityServer/Quickstart/TestUsers.cs index 4f53b5b2..2a03d0c4 100644 --- a/samples/Quickstarts/4_JavaScriptClient/src/IdentityServer/Quickstart/TestUsers.cs +++ b/samples/Quickstarts/4_JavaScriptClient/src/IdentityServer/Quickstart/TestUsers.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; diff --git a/samples/Quickstarts/4_JavaScriptClient/src/IdentityServer/Startup.cs b/samples/Quickstarts/4_JavaScriptClient/src/IdentityServer/Startup.cs index ff76cce6..3585624d 100644 --- a/samples/Quickstarts/4_JavaScriptClient/src/IdentityServer/Startup.cs +++ b/samples/Quickstarts/4_JavaScriptClient/src/IdentityServer/Startup.cs @@ -1,3 +1,15 @@ +/* + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ + + Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. + + Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. + Source code and license this software can be found + + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. +*/ + using IdentityServer8; using IdentityServerHost.Quickstart.UI; using Microsoft.AspNetCore.Builder; diff --git a/samples/Quickstarts/4_JavaScriptClient/src/JavaScriptClient/Program.cs b/samples/Quickstarts/4_JavaScriptClient/src/JavaScriptClient/Program.cs index dcef1a1c..6dbc5802 100644 --- a/samples/Quickstarts/4_JavaScriptClient/src/JavaScriptClient/Program.cs +++ b/samples/Quickstarts/4_JavaScriptClient/src/JavaScriptClient/Program.cs @@ -1,4 +1,16 @@ +/* + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ + + Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. + + Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. + Source code and license this software can be found + + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. +*/ + var app = WebApplication.Create(args); app.UseDefaultFiles(); app.UseStaticFiles(); -await app.RunAsync(); \ No newline at end of file +await app.RunAsync(); diff --git a/samples/Quickstarts/4_JavaScriptClient/src/JavaScriptClient/Startup.cs b/samples/Quickstarts/4_JavaScriptClient/src/JavaScriptClient/Startup.cs index 050ab9ef..ba3a53f8 100644 --- a/samples/Quickstarts/4_JavaScriptClient/src/JavaScriptClient/Startup.cs +++ b/samples/Quickstarts/4_JavaScriptClient/src/JavaScriptClient/Startup.cs @@ -1,3 +1,15 @@ +/* + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ + + Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. + + Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. + Source code and license this software can be found + + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. +*/ + using Microsoft.AspNetCore.Builder; namespace JavaScriptClient diff --git a/samples/Quickstarts/4_JavaScriptClient/src/MvcClient/Controllers/HomeController.cs b/samples/Quickstarts/4_JavaScriptClient/src/MvcClient/Controllers/HomeController.cs index 10beb6a8..578eaced 100644 --- a/samples/Quickstarts/4_JavaScriptClient/src/MvcClient/Controllers/HomeController.cs +++ b/samples/Quickstarts/4_JavaScriptClient/src/MvcClient/Controllers/HomeController.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ public class HomeController : Controller diff --git a/samples/Quickstarts/4_JavaScriptClient/src/MvcClient/GlobalUsings.cs b/samples/Quickstarts/4_JavaScriptClient/src/MvcClient/GlobalUsings.cs index 6bd394bf..c1ce22ea 100644 --- a/samples/Quickstarts/4_JavaScriptClient/src/MvcClient/GlobalUsings.cs +++ b/samples/Quickstarts/4_JavaScriptClient/src/MvcClient/GlobalUsings.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ global using Microsoft.AspNetCore.Authentication; diff --git a/samples/Quickstarts/4_JavaScriptClient/src/MvcClient/Models/ErrorViewModel.cs b/samples/Quickstarts/4_JavaScriptClient/src/MvcClient/Models/ErrorViewModel.cs index 8c8d69e0..cdc23f5d 100644 --- a/samples/Quickstarts/4_JavaScriptClient/src/MvcClient/Models/ErrorViewModel.cs +++ b/samples/Quickstarts/4_JavaScriptClient/src/MvcClient/Models/ErrorViewModel.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ public class ErrorViewModel @@ -18,4 +15,4 @@ public class ErrorViewModel public string RequestId { get; set; } public bool ShowRequestId => !string.IsNullOrEmpty(RequestId); -} \ No newline at end of file +} diff --git a/samples/Quickstarts/4_JavaScriptClient/src/MvcClient/Program.cs b/samples/Quickstarts/4_JavaScriptClient/src/MvcClient/Program.cs index 6397716d..3ee42cf0 100644 --- a/samples/Quickstarts/4_JavaScriptClient/src/MvcClient/Program.cs +++ b/samples/Quickstarts/4_JavaScriptClient/src/MvcClient/Program.cs @@ -1,19 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ - JwtSecurityTokenHandler.DefaultMapInboundClaims = false; diff --git a/samples/Quickstarts/4_JavaScriptClient/src/MvcClient/Startup.cs b/samples/Quickstarts/4_JavaScriptClient/src/MvcClient/Startup.cs index 59c9993f..15701dfc 100644 --- a/samples/Quickstarts/4_JavaScriptClient/src/MvcClient/Startup.cs +++ b/samples/Quickstarts/4_JavaScriptClient/src/MvcClient/Startup.cs @@ -1,3 +1,15 @@ +/* + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ + + Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. + + Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. + Source code and license this software can be found + + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. +*/ + using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.DependencyInjection; diff --git a/samples/Quickstarts/5_EntityFramework/src/Api/Controllers/IdentityController.cs b/samples/Quickstarts/5_EntityFramework/src/Api/Controllers/IdentityController.cs index 03bf02db..e95a8db2 100644 --- a/samples/Quickstarts/5_EntityFramework/src/Api/Controllers/IdentityController.cs +++ b/samples/Quickstarts/5_EntityFramework/src/Api/Controllers/IdentityController.cs @@ -1,16 +1,13 @@ -/* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - +/* + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System.Linq; @@ -28,4 +25,4 @@ public IActionResult Get() return new JsonResult(from c in User.Claims select new { c.Type, c.Value }); } } -} \ No newline at end of file +} diff --git a/samples/Quickstarts/5_EntityFramework/src/Api/Program.cs b/samples/Quickstarts/5_EntityFramework/src/Api/Program.cs index c5c8c183..603d8876 100644 --- a/samples/Quickstarts/5_EntityFramework/src/Api/Program.cs +++ b/samples/Quickstarts/5_EntityFramework/src/Api/Program.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using Microsoft.AspNetCore.Mvc; @@ -59,4 +56,4 @@ copies or substantial portions of the Software. ).RequireAuthorization("ApiScope"); await app.RunAsync(); -} \ No newline at end of file +} diff --git a/samples/Quickstarts/5_EntityFramework/src/Client/Program.cs b/samples/Quickstarts/5_EntityFramework/src/Client/Program.cs index 3b5fb173..e7629d32 100644 --- a/samples/Quickstarts/5_EntityFramework/src/Client/Program.cs +++ b/samples/Quickstarts/5_EntityFramework/src/Client/Program.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using IdentityModel.Client; @@ -62,4 +59,4 @@ void Exit(string message, int exitCode = 1) if (Debugger.IsAttached) Debugger.Break(); Environment.Exit(exitCode); -} \ No newline at end of file +} diff --git a/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Config.cs b/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Config.cs index e216934f..7a7f7cea 100644 --- a/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Config.cs +++ b/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Config.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ public static class Config @@ -65,4 +62,4 @@ public static class Config } } }; -} \ No newline at end of file +} diff --git a/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Data/Migrations/IdentityServer/ConfigurationDb/20200625203625_InitialIdentityServerConfigurationDbMigration.Designer.cs b/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Data/Migrations/IdentityServer/ConfigurationDb/20200625203625_InitialIdentityServerConfigurationDbMigration.Designer.cs index 42bd346b..07eeb052 100644 --- a/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Data/Migrations/IdentityServer/ConfigurationDb/20200625203625_InitialIdentityServerConfigurationDbMigration.Designer.cs +++ b/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Data/Migrations/IdentityServer/ConfigurationDb/20200625203625_InitialIdentityServerConfigurationDbMigration.Designer.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ // diff --git a/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Data/Migrations/IdentityServer/ConfigurationDb/20200625203625_InitialIdentityServerConfigurationDbMigration.cs b/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Data/Migrations/IdentityServer/ConfigurationDb/20200625203625_InitialIdentityServerConfigurationDbMigration.cs index 2eb9215a..4d32c77c 100644 --- a/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Data/Migrations/IdentityServer/ConfigurationDb/20200625203625_InitialIdentityServerConfigurationDbMigration.cs +++ b/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Data/Migrations/IdentityServer/ConfigurationDb/20200625203625_InitialIdentityServerConfigurationDbMigration.cs @@ -1,16 +1,13 @@ -/* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - +/* + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System; diff --git a/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Data/Migrations/IdentityServer/ConfigurationDb/ConfigurationDbContextModelSnapshot.cs b/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Data/Migrations/IdentityServer/ConfigurationDb/ConfigurationDbContextModelSnapshot.cs index de51f4bb..0b671e07 100644 --- a/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Data/Migrations/IdentityServer/ConfigurationDb/ConfigurationDbContextModelSnapshot.cs +++ b/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Data/Migrations/IdentityServer/ConfigurationDb/ConfigurationDbContextModelSnapshot.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ // diff --git a/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Data/Migrations/IdentityServer/PersistedGrantDb/20200625203357_InitialIdentityServerPersistedGrantDbMigration.Designer.cs b/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Data/Migrations/IdentityServer/PersistedGrantDb/20200625203357_InitialIdentityServerPersistedGrantDbMigration.Designer.cs index 57897f63..45a692df 100644 --- a/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Data/Migrations/IdentityServer/PersistedGrantDb/20200625203357_InitialIdentityServerPersistedGrantDbMigration.Designer.cs +++ b/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Data/Migrations/IdentityServer/PersistedGrantDb/20200625203357_InitialIdentityServerPersistedGrantDbMigration.Designer.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ // diff --git a/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Data/Migrations/IdentityServer/PersistedGrantDb/20200625203357_InitialIdentityServerPersistedGrantDbMigration.cs b/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Data/Migrations/IdentityServer/PersistedGrantDb/20200625203357_InitialIdentityServerPersistedGrantDbMigration.cs index 23329df2..dcac2f63 100644 --- a/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Data/Migrations/IdentityServer/PersistedGrantDb/20200625203357_InitialIdentityServerPersistedGrantDbMigration.cs +++ b/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Data/Migrations/IdentityServer/PersistedGrantDb/20200625203357_InitialIdentityServerPersistedGrantDbMigration.cs @@ -1,16 +1,13 @@ -/* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - +/* + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System; diff --git a/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Data/Migrations/IdentityServer/PersistedGrantDb/PersistedGrantDbContextModelSnapshot.cs b/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Data/Migrations/IdentityServer/PersistedGrantDb/PersistedGrantDbContextModelSnapshot.cs index ed6f72e3..7c393cf1 100644 --- a/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Data/Migrations/IdentityServer/PersistedGrantDb/PersistedGrantDbContextModelSnapshot.cs +++ b/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Data/Migrations/IdentityServer/PersistedGrantDb/PersistedGrantDbContextModelSnapshot.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ // diff --git a/samples/Quickstarts/5_EntityFramework/src/IdentityServer/GlobalUsings.cs b/samples/Quickstarts/5_EntityFramework/src/IdentityServer/GlobalUsings.cs index c3bca751..553aafba 100644 --- a/samples/Quickstarts/5_EntityFramework/src/IdentityServer/GlobalUsings.cs +++ b/samples/Quickstarts/5_EntityFramework/src/IdentityServer/GlobalUsings.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ global using IdentityModel; diff --git a/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Program.cs b/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Program.cs index 270b22d4..1b7405f2 100644 --- a/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Program.cs +++ b/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Program.cs @@ -1,19 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ - ConfigureLogger(); try @@ -153,4 +149,4 @@ void InitializeDatabase(IApplicationBuilder app) context.SaveChanges(); } } -} \ No newline at end of file +} diff --git a/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Quickstart/Account/AccountController.cs b/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Quickstart/Account/AccountController.cs index 8f2ab363..a548d6ef 100644 --- a/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Quickstart/Account/AccountController.cs +++ b/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Quickstart/Account/AccountController.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; diff --git a/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Quickstart/Account/AccountOptions.cs b/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Quickstart/Account/AccountOptions.cs index 499f4488..11741743 100644 --- a/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Quickstart/Account/AccountOptions.cs +++ b/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Quickstart/Account/AccountOptions.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI diff --git a/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Quickstart/Account/ExternalController.cs b/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Quickstart/Account/ExternalController.cs index 5c8f3ee1..ec637afd 100644 --- a/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Quickstart/Account/ExternalController.cs +++ b/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Quickstart/Account/ExternalController.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; @@ -190,4 +187,4 @@ private void ProcessLoginCallback(AuthenticateResult externalResult, List localSignInProps.StoreTokens(new[] { new AuthenticationToken { Name = "id_token", Value = idToken } }); } } -} \ No newline at end of file +} diff --git a/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Quickstart/Account/ExternalProvider.cs b/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Quickstart/Account/ExternalProvider.cs index 4c197ce0..61fa88d0 100644 --- a/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Quickstart/Account/ExternalProvider.cs +++ b/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Quickstart/Account/ExternalProvider.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; @@ -19,4 +16,4 @@ public class ExternalProvider { public string DisplayName { get; set; } public string AuthenticationScheme { get; set; } -} \ No newline at end of file +} diff --git a/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Quickstart/Account/LoggedOutViewModel.cs b/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Quickstart/Account/LoggedOutViewModel.cs index 36fceadf..2e23c83b 100644 --- a/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Quickstart/Account/LoggedOutViewModel.cs +++ b/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Quickstart/Account/LoggedOutViewModel.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; @@ -26,4 +23,4 @@ public class LoggedOutViewModel public string LogoutId { get; set; } public bool TriggerExternalSignout => ExternalAuthenticationScheme != null; public string ExternalAuthenticationScheme { get; set; } -} \ No newline at end of file +} diff --git a/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Quickstart/Account/LoginInputModel.cs b/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Quickstart/Account/LoginInputModel.cs index f546b2ff..5af2bb17 100644 --- a/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Quickstart/Account/LoginInputModel.cs +++ b/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Quickstart/Account/LoginInputModel.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; @@ -23,4 +20,4 @@ public class LoginInputModel public string Password { get; set; } public bool RememberLogin { get; set; } public string ReturnUrl { get; set; } -} \ No newline at end of file +} diff --git a/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Quickstart/Account/LoginViewModel.cs b/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Quickstart/Account/LoginViewModel.cs index 8a2409f0..6233be6b 100644 --- a/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Quickstart/Account/LoginViewModel.cs +++ b/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Quickstart/Account/LoginViewModel.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; @@ -25,4 +22,4 @@ public class LoginViewModel : LoginInputModel public bool IsExternalLoginOnly => EnableLocalLogin == false && ExternalProviders?.Count() == 1; public string ExternalLoginScheme => IsExternalLoginOnly ? ExternalProviders?.SingleOrDefault()?.AuthenticationScheme : null; -} \ No newline at end of file +} diff --git a/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Quickstart/Account/LogoutInputModel.cs b/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Quickstart/Account/LogoutInputModel.cs index 9b16bfcf..cf883a18 100644 --- a/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Quickstart/Account/LogoutInputModel.cs +++ b/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Quickstart/Account/LogoutInputModel.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; diff --git a/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Quickstart/Account/LogoutViewModel.cs b/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Quickstart/Account/LogoutViewModel.cs index e245a0d4..a50ee906 100644 --- a/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Quickstart/Account/LogoutViewModel.cs +++ b/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Quickstart/Account/LogoutViewModel.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; diff --git a/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Quickstart/Account/RedirectViewModel.cs b/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Quickstart/Account/RedirectViewModel.cs index 56e9d1a3..542b5049 100644 --- a/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Quickstart/Account/RedirectViewModel.cs +++ b/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Quickstart/Account/RedirectViewModel.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; @@ -18,4 +15,4 @@ namespace IdentityServerHost.Quickstart.UI; public class RedirectViewModel { public string RedirectUrl { get; set; } -} \ No newline at end of file +} diff --git a/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Quickstart/Consent/ConsentController.cs b/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Quickstart/Consent/ConsentController.cs index a1b57312..1af7e4ca 100644 --- a/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Quickstart/Consent/ConsentController.cs +++ b/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Quickstart/Consent/ConsentController.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; @@ -255,4 +252,4 @@ private ScopeViewModel GetOfflineAccessScope(bool check) Checked = check }; } -} \ No newline at end of file +} diff --git a/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Quickstart/Consent/ConsentInputModel.cs b/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Quickstart/Consent/ConsentInputModel.cs index 3c4a5528..bdf93b8f 100644 --- a/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Quickstart/Consent/ConsentInputModel.cs +++ b/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Quickstart/Consent/ConsentInputModel.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; @@ -22,4 +19,4 @@ public class ConsentInputModel public bool RememberConsent { get; set; } public string ReturnUrl { get; set; } public string Description { get; set; } -} \ No newline at end of file +} diff --git a/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Quickstart/Consent/ConsentOptions.cs b/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Quickstart/Consent/ConsentOptions.cs index 7bea1fe9..0845e4c5 100644 --- a/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Quickstart/Consent/ConsentOptions.cs +++ b/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Quickstart/Consent/ConsentOptions.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; diff --git a/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Quickstart/Consent/ConsentViewModel.cs b/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Quickstart/Consent/ConsentViewModel.cs index f135248f..e23d9ad8 100644 --- a/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Quickstart/Consent/ConsentViewModel.cs +++ b/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Quickstart/Consent/ConsentViewModel.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; diff --git a/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Quickstart/Consent/ProcessConsentResult.cs b/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Quickstart/Consent/ProcessConsentResult.cs index 6ef87487..6c1906c4 100644 --- a/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Quickstart/Consent/ProcessConsentResult.cs +++ b/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Quickstart/Consent/ProcessConsentResult.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; diff --git a/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Quickstart/Consent/ScopeViewModel.cs b/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Quickstart/Consent/ScopeViewModel.cs index 6bb80540..11644607 100644 --- a/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Quickstart/Consent/ScopeViewModel.cs +++ b/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Quickstart/Consent/ScopeViewModel.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; diff --git a/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Quickstart/Device/DeviceAuthorizationInputModel.cs b/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Quickstart/Device/DeviceAuthorizationInputModel.cs index ce8e075b..dc23ac01 100644 --- a/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Quickstart/Device/DeviceAuthorizationInputModel.cs +++ b/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Quickstart/Device/DeviceAuthorizationInputModel.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; @@ -18,4 +15,4 @@ namespace IdentityServerHost.Quickstart.UI; public class DeviceAuthorizationInputModel : ConsentInputModel { public string UserCode { get; set; } -} \ No newline at end of file +} diff --git a/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Quickstart/Device/DeviceAuthorizationViewModel.cs b/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Quickstart/Device/DeviceAuthorizationViewModel.cs index 2bbe9deb..213cb898 100644 --- a/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Quickstart/Device/DeviceAuthorizationViewModel.cs +++ b/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Quickstart/Device/DeviceAuthorizationViewModel.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; @@ -19,4 +16,4 @@ public class DeviceAuthorizationViewModel : ConsentViewModel { public string UserCode { get; set; } public bool ConfirmUserCode { get; set; } -} \ No newline at end of file +} diff --git a/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Quickstart/Device/DeviceController.cs b/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Quickstart/Device/DeviceController.cs index 4d3f5721..f20be7e5 100644 --- a/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Quickstart/Device/DeviceController.cs +++ b/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Quickstart/Device/DeviceController.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; @@ -224,4 +221,4 @@ private ScopeViewModel GetOfflineAccessScope(bool check) Checked = check }; } -} \ No newline at end of file +} diff --git a/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Quickstart/Diagnostics/DiagnosticsController.cs b/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Quickstart/Diagnostics/DiagnosticsController.cs index 472ba7e6..651a8670 100644 --- a/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Quickstart/Diagnostics/DiagnosticsController.cs +++ b/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Quickstart/Diagnostics/DiagnosticsController.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; @@ -30,4 +27,4 @@ public async Task Index() var model = new DiagnosticsViewModel(await HttpContext.AuthenticateAsync()); return View(model); } -} \ No newline at end of file +} diff --git a/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Quickstart/Diagnostics/DiagnosticsViewModel.cs b/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Quickstart/Diagnostics/DiagnosticsViewModel.cs index d7b13d52..68ed6704 100644 --- a/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Quickstart/Diagnostics/DiagnosticsViewModel.cs +++ b/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Quickstart/Diagnostics/DiagnosticsViewModel.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; @@ -33,4 +30,4 @@ public DiagnosticsViewModel(AuthenticateResult result) public AuthenticateResult AuthenticateResult { get; } public IEnumerable Clients { get; } = new List(); -} \ No newline at end of file +} diff --git a/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Quickstart/Extensions.cs b/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Quickstart/Extensions.cs index 3738815e..ac284136 100644 --- a/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Quickstart/Extensions.cs +++ b/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Quickstart/Extensions.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; diff --git a/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Quickstart/Grants/GrantsController.cs b/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Quickstart/Grants/GrantsController.cs index eb9f035d..d8638d86 100644 --- a/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Quickstart/Grants/GrantsController.cs +++ b/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Quickstart/Grants/GrantsController.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; @@ -94,4 +91,4 @@ private async Task BuildViewModelAsync() Grants = list }; } -} \ No newline at end of file +} diff --git a/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Quickstart/Grants/GrantsViewModel.cs b/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Quickstart/Grants/GrantsViewModel.cs index f233101a..de2a3268 100644 --- a/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Quickstart/Grants/GrantsViewModel.cs +++ b/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Quickstart/Grants/GrantsViewModel.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; @@ -31,4 +28,4 @@ public class GrantViewModel public DateTime? Expires { get; set; } public IEnumerable IdentityGrantNames { get; set; } public IEnumerable ApiGrantNames { get; set; } -} \ No newline at end of file +} diff --git a/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Quickstart/Home/ErrorViewModel.cs b/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Quickstart/Home/ErrorViewModel.cs index d11a92fe..877455f9 100644 --- a/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Quickstart/Home/ErrorViewModel.cs +++ b/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Quickstart/Home/ErrorViewModel.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; @@ -27,4 +24,4 @@ public ErrorViewModel(string error) } public ErrorMessage Error { get; set; } -} \ No newline at end of file +} diff --git a/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Quickstart/Home/HomeController.cs b/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Quickstart/Home/HomeController.cs index 5363f47b..bb681713 100644 --- a/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Quickstart/Home/HomeController.cs +++ b/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Quickstart/Home/HomeController.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; @@ -64,4 +61,4 @@ public async Task Error(string errorId) return View("Error", vm); } -} \ No newline at end of file +} diff --git a/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Quickstart/SecurityHeadersAttribute.cs b/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Quickstart/SecurityHeadersAttribute.cs index f9b84a9e..e92cde12 100644 --- a/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Quickstart/SecurityHeadersAttribute.cs +++ b/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Quickstart/SecurityHeadersAttribute.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; diff --git a/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Quickstart/TestUsers.cs b/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Quickstart/TestUsers.cs index 4f53b5b2..2a03d0c4 100644 --- a/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Quickstart/TestUsers.cs +++ b/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Quickstart/TestUsers.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; diff --git a/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Startup.cs b/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Startup.cs index 4694dddc..6c5212b2 100644 --- a/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Startup.cs +++ b/samples/Quickstarts/5_EntityFramework/src/IdentityServer/Startup.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using IdentityServer8; diff --git a/samples/Quickstarts/5_EntityFramework/src/MvcClient/Controllers/HomeController.cs b/samples/Quickstarts/5_EntityFramework/src/MvcClient/Controllers/HomeController.cs index 10beb6a8..578eaced 100644 --- a/samples/Quickstarts/5_EntityFramework/src/MvcClient/Controllers/HomeController.cs +++ b/samples/Quickstarts/5_EntityFramework/src/MvcClient/Controllers/HomeController.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ public class HomeController : Controller diff --git a/samples/Quickstarts/5_EntityFramework/src/MvcClient/GlobalUsings.cs b/samples/Quickstarts/5_EntityFramework/src/MvcClient/GlobalUsings.cs index 6bd394bf..c1ce22ea 100644 --- a/samples/Quickstarts/5_EntityFramework/src/MvcClient/GlobalUsings.cs +++ b/samples/Quickstarts/5_EntityFramework/src/MvcClient/GlobalUsings.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ global using Microsoft.AspNetCore.Authentication; diff --git a/samples/Quickstarts/5_EntityFramework/src/MvcClient/Models/ErrorViewModel.cs b/samples/Quickstarts/5_EntityFramework/src/MvcClient/Models/ErrorViewModel.cs index 8c8d69e0..cdc23f5d 100644 --- a/samples/Quickstarts/5_EntityFramework/src/MvcClient/Models/ErrorViewModel.cs +++ b/samples/Quickstarts/5_EntityFramework/src/MvcClient/Models/ErrorViewModel.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ public class ErrorViewModel @@ -18,4 +15,4 @@ public class ErrorViewModel public string RequestId { get; set; } public bool ShowRequestId => !string.IsNullOrEmpty(RequestId); -} \ No newline at end of file +} diff --git a/samples/Quickstarts/5_EntityFramework/src/MvcClient/Program.cs b/samples/Quickstarts/5_EntityFramework/src/MvcClient/Program.cs index 6397716d..3ee42cf0 100644 --- a/samples/Quickstarts/5_EntityFramework/src/MvcClient/Program.cs +++ b/samples/Quickstarts/5_EntityFramework/src/MvcClient/Program.cs @@ -1,19 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ - JwtSecurityTokenHandler.DefaultMapInboundClaims = false; diff --git a/samples/Quickstarts/6_AspNetIdentity/src/Api/Program.cs b/samples/Quickstarts/6_AspNetIdentity/src/Api/Program.cs index 49d0f083..6b557dfb 100644 --- a/samples/Quickstarts/6_AspNetIdentity/src/Api/Program.cs +++ b/samples/Quickstarts/6_AspNetIdentity/src/Api/Program.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using Microsoft.AspNetCore.Mvc; @@ -62,4 +59,4 @@ copies or substantial portions of the Software. await app.RunAsync(); if (Debugger.IsAttached) Debugger.Break(); -} \ No newline at end of file +} diff --git a/samples/Quickstarts/6_AspNetIdentity/src/Client/Program.cs b/samples/Quickstarts/6_AspNetIdentity/src/Client/Program.cs index 3b5fb173..e7629d32 100644 --- a/samples/Quickstarts/6_AspNetIdentity/src/Client/Program.cs +++ b/samples/Quickstarts/6_AspNetIdentity/src/Client/Program.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using IdentityModel.Client; @@ -62,4 +59,4 @@ void Exit(string message, int exitCode = 1) if (Debugger.IsAttached) Debugger.Break(); Environment.Exit(exitCode); -} \ No newline at end of file +} diff --git a/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/Config.cs b/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/Config.cs index e216934f..7a7f7cea 100644 --- a/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/Config.cs +++ b/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/Config.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ public static class Config @@ -65,4 +62,4 @@ public static class Config } } }; -} \ No newline at end of file +} diff --git a/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/Data/ApplicationDbContext.cs b/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/Data/ApplicationDbContext.cs index c8195219..7014c9dc 100644 --- a/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/Data/ApplicationDbContext.cs +++ b/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/Data/ApplicationDbContext.cs @@ -1,16 +1,13 @@ -/* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - +/* + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using Microsoft.AspNetCore.Identity.EntityFrameworkCore; diff --git a/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/Data/Migrations/20180109192453_CreateIdentitySchema.Designer.cs b/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/Data/Migrations/20180109192453_CreateIdentitySchema.Designer.cs index 9ebacf9d..12f01d8c 100644 --- a/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/Data/Migrations/20180109192453_CreateIdentitySchema.Designer.cs +++ b/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/Data/Migrations/20180109192453_CreateIdentitySchema.Designer.cs @@ -1,16 +1,13 @@ -/* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - +/* + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ // diff --git a/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/Data/Migrations/20180109192453_CreateIdentitySchema.cs b/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/Data/Migrations/20180109192453_CreateIdentitySchema.cs index dcca7b77..3c7c4f2b 100644 --- a/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/Data/Migrations/20180109192453_CreateIdentitySchema.cs +++ b/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/Data/Migrations/20180109192453_CreateIdentitySchema.cs @@ -1,16 +1,13 @@ -/* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - +/* + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using Microsoft.EntityFrameworkCore.Migrations; diff --git a/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/Data/Migrations/ApplicationDbContextModelSnapshot.cs b/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/Data/Migrations/ApplicationDbContextModelSnapshot.cs index 88f0da97..32d366ec 100644 --- a/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/Data/Migrations/ApplicationDbContextModelSnapshot.cs +++ b/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/Data/Migrations/ApplicationDbContextModelSnapshot.cs @@ -1,16 +1,13 @@ -/* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - +/* + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ // diff --git a/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/GlobalUsings.cs b/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/GlobalUsings.cs index edb7f6b8..eedee1b1 100644 --- a/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/GlobalUsings.cs +++ b/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/GlobalUsings.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ global using IdentityModel; diff --git a/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/Models/ApplicationUser.cs b/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/Models/ApplicationUser.cs index 10e43fd4..b957661d 100644 --- a/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/Models/ApplicationUser.cs +++ b/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/Models/ApplicationUser.cs @@ -1,16 +1,13 @@ -/* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - +/* + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using Microsoft.AspNetCore.Identity; diff --git a/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/Program.cs b/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/Program.cs index 70bc7bcb..66e52668 100644 --- a/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/Program.cs +++ b/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/Program.cs @@ -1,20 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ - - ConfigureLogger(); try @@ -129,4 +124,4 @@ copies or substantial portions of the Software. // shared: true, // flushToDiskInterval: TimeSpan.FromSeconds(1)) .WriteTo.Console(outputTemplate: "[{Timestamp:HH:mm:ss} {Level}] {SourceContext}{NewLine}{Message:lj}{NewLine}{Exception}{NewLine}", theme: AnsiConsoleTheme.Code) - .CreateLogger(); \ No newline at end of file + .CreateLogger(); diff --git a/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/Quickstart/Account/AccountController.cs b/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/Quickstart/Account/AccountController.cs index 8f2ab363..a548d6ef 100644 --- a/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/Quickstart/Account/AccountController.cs +++ b/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/Quickstart/Account/AccountController.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; diff --git a/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/Quickstart/Account/AccountOptions.cs b/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/Quickstart/Account/AccountOptions.cs index 499f4488..11741743 100644 --- a/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/Quickstart/Account/AccountOptions.cs +++ b/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/Quickstart/Account/AccountOptions.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI diff --git a/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/Quickstart/Account/ExternalController.cs b/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/Quickstart/Account/ExternalController.cs index 5c8f3ee1..ec637afd 100644 --- a/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/Quickstart/Account/ExternalController.cs +++ b/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/Quickstart/Account/ExternalController.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; @@ -190,4 +187,4 @@ private void ProcessLoginCallback(AuthenticateResult externalResult, List localSignInProps.StoreTokens(new[] { new AuthenticationToken { Name = "id_token", Value = idToken } }); } } -} \ No newline at end of file +} diff --git a/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/Quickstart/Account/ExternalProvider.cs b/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/Quickstart/Account/ExternalProvider.cs index 4c197ce0..61fa88d0 100644 --- a/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/Quickstart/Account/ExternalProvider.cs +++ b/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/Quickstart/Account/ExternalProvider.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; @@ -19,4 +16,4 @@ public class ExternalProvider { public string DisplayName { get; set; } public string AuthenticationScheme { get; set; } -} \ No newline at end of file +} diff --git a/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/Quickstart/Account/LoggedOutViewModel.cs b/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/Quickstart/Account/LoggedOutViewModel.cs index 36fceadf..2e23c83b 100644 --- a/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/Quickstart/Account/LoggedOutViewModel.cs +++ b/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/Quickstart/Account/LoggedOutViewModel.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; @@ -26,4 +23,4 @@ public class LoggedOutViewModel public string LogoutId { get; set; } public bool TriggerExternalSignout => ExternalAuthenticationScheme != null; public string ExternalAuthenticationScheme { get; set; } -} \ No newline at end of file +} diff --git a/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/Quickstart/Account/LoginInputModel.cs b/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/Quickstart/Account/LoginInputModel.cs index f546b2ff..5af2bb17 100644 --- a/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/Quickstart/Account/LoginInputModel.cs +++ b/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/Quickstart/Account/LoginInputModel.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; @@ -23,4 +20,4 @@ public class LoginInputModel public string Password { get; set; } public bool RememberLogin { get; set; } public string ReturnUrl { get; set; } -} \ No newline at end of file +} diff --git a/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/Quickstart/Account/LoginViewModel.cs b/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/Quickstart/Account/LoginViewModel.cs index 8a2409f0..6233be6b 100644 --- a/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/Quickstart/Account/LoginViewModel.cs +++ b/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/Quickstart/Account/LoginViewModel.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; @@ -25,4 +22,4 @@ public class LoginViewModel : LoginInputModel public bool IsExternalLoginOnly => EnableLocalLogin == false && ExternalProviders?.Count() == 1; public string ExternalLoginScheme => IsExternalLoginOnly ? ExternalProviders?.SingleOrDefault()?.AuthenticationScheme : null; -} \ No newline at end of file +} diff --git a/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/Quickstart/Account/LogoutInputModel.cs b/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/Quickstart/Account/LogoutInputModel.cs index 9b16bfcf..cf883a18 100644 --- a/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/Quickstart/Account/LogoutInputModel.cs +++ b/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/Quickstart/Account/LogoutInputModel.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; diff --git a/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/Quickstart/Account/LogoutViewModel.cs b/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/Quickstart/Account/LogoutViewModel.cs index e245a0d4..a50ee906 100644 --- a/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/Quickstart/Account/LogoutViewModel.cs +++ b/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/Quickstart/Account/LogoutViewModel.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; diff --git a/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/Quickstart/Account/RedirectViewModel.cs b/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/Quickstart/Account/RedirectViewModel.cs index 56e9d1a3..542b5049 100644 --- a/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/Quickstart/Account/RedirectViewModel.cs +++ b/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/Quickstart/Account/RedirectViewModel.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; @@ -18,4 +15,4 @@ namespace IdentityServerHost.Quickstart.UI; public class RedirectViewModel { public string RedirectUrl { get; set; } -} \ No newline at end of file +} diff --git a/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/Quickstart/Consent/ConsentController.cs b/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/Quickstart/Consent/ConsentController.cs index a1b57312..1af7e4ca 100644 --- a/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/Quickstart/Consent/ConsentController.cs +++ b/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/Quickstart/Consent/ConsentController.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; @@ -255,4 +252,4 @@ private ScopeViewModel GetOfflineAccessScope(bool check) Checked = check }; } -} \ No newline at end of file +} diff --git a/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/Quickstart/Consent/ConsentInputModel.cs b/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/Quickstart/Consent/ConsentInputModel.cs index 3c4a5528..bdf93b8f 100644 --- a/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/Quickstart/Consent/ConsentInputModel.cs +++ b/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/Quickstart/Consent/ConsentInputModel.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; @@ -22,4 +19,4 @@ public class ConsentInputModel public bool RememberConsent { get; set; } public string ReturnUrl { get; set; } public string Description { get; set; } -} \ No newline at end of file +} diff --git a/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/Quickstart/Consent/ConsentOptions.cs b/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/Quickstart/Consent/ConsentOptions.cs index 7bea1fe9..0845e4c5 100644 --- a/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/Quickstart/Consent/ConsentOptions.cs +++ b/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/Quickstart/Consent/ConsentOptions.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; diff --git a/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/Quickstart/Consent/ConsentViewModel.cs b/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/Quickstart/Consent/ConsentViewModel.cs index f135248f..e23d9ad8 100644 --- a/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/Quickstart/Consent/ConsentViewModel.cs +++ b/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/Quickstart/Consent/ConsentViewModel.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; diff --git a/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/Quickstart/Consent/ProcessConsentResult.cs b/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/Quickstart/Consent/ProcessConsentResult.cs index 6ef87487..6c1906c4 100644 --- a/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/Quickstart/Consent/ProcessConsentResult.cs +++ b/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/Quickstart/Consent/ProcessConsentResult.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; diff --git a/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/Quickstart/Consent/ScopeViewModel.cs b/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/Quickstart/Consent/ScopeViewModel.cs index 6bb80540..11644607 100644 --- a/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/Quickstart/Consent/ScopeViewModel.cs +++ b/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/Quickstart/Consent/ScopeViewModel.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; diff --git a/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/Quickstart/Device/DeviceAuthorizationInputModel.cs b/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/Quickstart/Device/DeviceAuthorizationInputModel.cs index ce8e075b..dc23ac01 100644 --- a/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/Quickstart/Device/DeviceAuthorizationInputModel.cs +++ b/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/Quickstart/Device/DeviceAuthorizationInputModel.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; @@ -18,4 +15,4 @@ namespace IdentityServerHost.Quickstart.UI; public class DeviceAuthorizationInputModel : ConsentInputModel { public string UserCode { get; set; } -} \ No newline at end of file +} diff --git a/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/Quickstart/Device/DeviceAuthorizationViewModel.cs b/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/Quickstart/Device/DeviceAuthorizationViewModel.cs index 2bbe9deb..213cb898 100644 --- a/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/Quickstart/Device/DeviceAuthorizationViewModel.cs +++ b/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/Quickstart/Device/DeviceAuthorizationViewModel.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; @@ -19,4 +16,4 @@ public class DeviceAuthorizationViewModel : ConsentViewModel { public string UserCode { get; set; } public bool ConfirmUserCode { get; set; } -} \ No newline at end of file +} diff --git a/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/Quickstart/Device/DeviceController.cs b/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/Quickstart/Device/DeviceController.cs index 4d3f5721..f20be7e5 100644 --- a/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/Quickstart/Device/DeviceController.cs +++ b/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/Quickstart/Device/DeviceController.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; @@ -224,4 +221,4 @@ private ScopeViewModel GetOfflineAccessScope(bool check) Checked = check }; } -} \ No newline at end of file +} diff --git a/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/Quickstart/Diagnostics/DiagnosticsController.cs b/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/Quickstart/Diagnostics/DiagnosticsController.cs index 472ba7e6..651a8670 100644 --- a/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/Quickstart/Diagnostics/DiagnosticsController.cs +++ b/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/Quickstart/Diagnostics/DiagnosticsController.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; @@ -30,4 +27,4 @@ public async Task Index() var model = new DiagnosticsViewModel(await HttpContext.AuthenticateAsync()); return View(model); } -} \ No newline at end of file +} diff --git a/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/Quickstart/Diagnostics/DiagnosticsViewModel.cs b/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/Quickstart/Diagnostics/DiagnosticsViewModel.cs index d7b13d52..68ed6704 100644 --- a/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/Quickstart/Diagnostics/DiagnosticsViewModel.cs +++ b/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/Quickstart/Diagnostics/DiagnosticsViewModel.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; @@ -33,4 +30,4 @@ public DiagnosticsViewModel(AuthenticateResult result) public AuthenticateResult AuthenticateResult { get; } public IEnumerable Clients { get; } = new List(); -} \ No newline at end of file +} diff --git a/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/Quickstart/Extensions.cs b/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/Quickstart/Extensions.cs index 3738815e..ac284136 100644 --- a/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/Quickstart/Extensions.cs +++ b/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/Quickstart/Extensions.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; diff --git a/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/Quickstart/Grants/GrantsController.cs b/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/Quickstart/Grants/GrantsController.cs index eb9f035d..d8638d86 100644 --- a/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/Quickstart/Grants/GrantsController.cs +++ b/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/Quickstart/Grants/GrantsController.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; @@ -94,4 +91,4 @@ private async Task BuildViewModelAsync() Grants = list }; } -} \ No newline at end of file +} diff --git a/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/Quickstart/Grants/GrantsViewModel.cs b/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/Quickstart/Grants/GrantsViewModel.cs index f233101a..de2a3268 100644 --- a/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/Quickstart/Grants/GrantsViewModel.cs +++ b/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/Quickstart/Grants/GrantsViewModel.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; @@ -31,4 +28,4 @@ public class GrantViewModel public DateTime? Expires { get; set; } public IEnumerable IdentityGrantNames { get; set; } public IEnumerable ApiGrantNames { get; set; } -} \ No newline at end of file +} diff --git a/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/Quickstart/Home/ErrorViewModel.cs b/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/Quickstart/Home/ErrorViewModel.cs index d11a92fe..877455f9 100644 --- a/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/Quickstart/Home/ErrorViewModel.cs +++ b/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/Quickstart/Home/ErrorViewModel.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; @@ -27,4 +24,4 @@ public ErrorViewModel(string error) } public ErrorMessage Error { get; set; } -} \ No newline at end of file +} diff --git a/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/Quickstart/Home/HomeController.cs b/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/Quickstart/Home/HomeController.cs index 5363f47b..bb681713 100644 --- a/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/Quickstart/Home/HomeController.cs +++ b/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/Quickstart/Home/HomeController.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; @@ -64,4 +61,4 @@ public async Task Error(string errorId) return View("Error", vm); } -} \ No newline at end of file +} diff --git a/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/Quickstart/SecurityHeadersAttribute.cs b/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/Quickstart/SecurityHeadersAttribute.cs index f9b84a9e..e92cde12 100644 --- a/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/Quickstart/SecurityHeadersAttribute.cs +++ b/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/Quickstart/SecurityHeadersAttribute.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; diff --git a/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/Quickstart/TestUsers.cs b/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/Quickstart/TestUsers.cs index 4f53b5b2..2a03d0c4 100644 --- a/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/Quickstart/TestUsers.cs +++ b/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/Quickstart/TestUsers.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; diff --git a/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/SeedData.cs b/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/SeedData.cs index d8e438df..64aa77bc 100644 --- a/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/SeedData.cs +++ b/samples/Quickstarts/6_AspNetIdentity/src/IdentityServerAspNetIdentity/SeedData.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System; diff --git a/samples/Quickstarts/6_AspNetIdentity/src/MvcClient/Controllers/HomeController.cs b/samples/Quickstarts/6_AspNetIdentity/src/MvcClient/Controllers/HomeController.cs index 10beb6a8..578eaced 100644 --- a/samples/Quickstarts/6_AspNetIdentity/src/MvcClient/Controllers/HomeController.cs +++ b/samples/Quickstarts/6_AspNetIdentity/src/MvcClient/Controllers/HomeController.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ public class HomeController : Controller diff --git a/samples/Quickstarts/6_AspNetIdentity/src/MvcClient/GlobalUsings.cs b/samples/Quickstarts/6_AspNetIdentity/src/MvcClient/GlobalUsings.cs index 6bd394bf..c1ce22ea 100644 --- a/samples/Quickstarts/6_AspNetIdentity/src/MvcClient/GlobalUsings.cs +++ b/samples/Quickstarts/6_AspNetIdentity/src/MvcClient/GlobalUsings.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ global using Microsoft.AspNetCore.Authentication; diff --git a/samples/Quickstarts/6_AspNetIdentity/src/MvcClient/Models/ErrorViewModel.cs b/samples/Quickstarts/6_AspNetIdentity/src/MvcClient/Models/ErrorViewModel.cs index 8c8d69e0..cdc23f5d 100644 --- a/samples/Quickstarts/6_AspNetIdentity/src/MvcClient/Models/ErrorViewModel.cs +++ b/samples/Quickstarts/6_AspNetIdentity/src/MvcClient/Models/ErrorViewModel.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ public class ErrorViewModel @@ -18,4 +15,4 @@ public class ErrorViewModel public string RequestId { get; set; } public bool ShowRequestId => !string.IsNullOrEmpty(RequestId); -} \ No newline at end of file +} diff --git a/samples/Quickstarts/6_AspNetIdentity/src/MvcClient/Program.cs b/samples/Quickstarts/6_AspNetIdentity/src/MvcClient/Program.cs index 6397716d..3ee42cf0 100644 --- a/samples/Quickstarts/6_AspNetIdentity/src/MvcClient/Program.cs +++ b/samples/Quickstarts/6_AspNetIdentity/src/MvcClient/Program.cs @@ -1,19 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ - JwtSecurityTokenHandler.DefaultMapInboundClaims = false; diff --git a/src/AspNetIdentity/host/Configuration/Clients.cs b/src/AspNetIdentity/host/Configuration/Clients.cs index 799a17a4..89433ef7 100644 --- a/src/AspNetIdentity/host/Configuration/Clients.cs +++ b/src/AspNetIdentity/host/Configuration/Clients.cs @@ -1,21 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityServer8.Models; -using System.Collections.Generic; - namespace IdentityServerHost.Configuration; public static class Clients @@ -29,4 +23,4 @@ public static IEnumerable Get() return clients; } -} \ No newline at end of file +} diff --git a/src/AspNetIdentity/host/Configuration/ClientsConsole.cs b/src/AspNetIdentity/host/Configuration/ClientsConsole.cs index 9cfb95d8..91643a25 100644 --- a/src/AspNetIdentity/host/Configuration/ClientsConsole.cs +++ b/src/AspNetIdentity/host/Configuration/ClientsConsole.cs @@ -1,22 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System.Collections.Generic; -using IdentityServer8; -using IdentityServer8.Models; - namespace IdentityServerHost.Configuration; public static class ClientsConsole @@ -225,4 +218,4 @@ public static IEnumerable Get() } }; } -} \ No newline at end of file +} diff --git a/src/AspNetIdentity/host/Configuration/ClientsWeb.cs b/src/AspNetIdentity/host/Configuration/ClientsWeb.cs index 73e4cfc8..f813bb30 100644 --- a/src/AspNetIdentity/host/Configuration/ClientsWeb.cs +++ b/src/AspNetIdentity/host/Configuration/ClientsWeb.cs @@ -1,22 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System.Collections.Generic; -using IdentityServer8; -using IdentityServer8.Models; - namespace IdentityServerHost.Configuration; public static class ClientsWeb @@ -140,4 +133,4 @@ public static IEnumerable Get() } }; } -} \ No newline at end of file +} diff --git a/src/AspNetIdentity/host/Configuration/Resources.cs b/src/AspNetIdentity/host/Configuration/Resources.cs index f8126dd9..eab061b2 100644 --- a/src/AspNetIdentity/host/Configuration/Resources.cs +++ b/src/AspNetIdentity/host/Configuration/Resources.cs @@ -1,23 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityModel; -using IdentityServer8.Models; -using System.Collections.Generic; -using static IdentityServer8.IdentityServerConstants; - namespace IdentityServerHost.Configuration; public class Resources diff --git a/src/AspNetIdentity/host/Data/ApplicationDbContext.cs b/src/AspNetIdentity/host/Data/ApplicationDbContext.cs index f5b7f26e..c4afb0fa 100644 --- a/src/AspNetIdentity/host/Data/ApplicationDbContext.cs +++ b/src/AspNetIdentity/host/Data/ApplicationDbContext.cs @@ -1,22 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityServer8.Models; -using Microsoft.AspNetCore.Identity.EntityFrameworkCore; -using Microsoft.EntityFrameworkCore; - namespace IdentityServerHost.Data; public class ApplicationDbContext : IdentityDbContext diff --git a/src/AspNetIdentity/host/GlobalUsings.cs b/src/AspNetIdentity/host/GlobalUsings.cs new file mode 100644 index 00000000..115ff353 --- /dev/null +++ b/src/AspNetIdentity/host/GlobalUsings.cs @@ -0,0 +1,45 @@ +/* + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ + + Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. + + Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. + Source code and license this software can be found + + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. +*/ + +global using IdentityModel; +global using IdentityServer8; +global using IdentityServer8.Configuration; +global using IdentityServer8.Events; +global using IdentityServer8.Extensions; +global using IdentityServer8.Models; +global using IdentityServer8.Services; +global using IdentityServer8.Stores; +global using IdentityServer8.Test; +global using IdentityServer8.Validation; +global using IdentityServerHost.Configuration; +global using IdentityServerHost.Data; +global using Microsoft.AspNetCore.Authentication; +global using Microsoft.AspNetCore.Authorization; +global using Microsoft.AspNetCore.Identity; +global using Microsoft.AspNetCore.Identity.EntityFrameworkCore; +global using Microsoft.AspNetCore.Mvc; +global using Microsoft.AspNetCore.Mvc.Filters; +global using Microsoft.DependencyInjection.Extensions; +global using Microsoft.EntityFrameworkCore; +global using Microsoft.Extensions.Options; +global using Newtonsoft.Json; +global using Serilog; +global using Serilog.Events; +global using Serilog.Sinks.SystemConsole.Themes; +global using System.ComponentModel; +global using System.ComponentModel.DataAnnotations; +global using System.Diagnostics; +global using System.Security.Claims; +global using System.Text; +global using static IdentityServer8.IdentityServerConstants; +global using ILogger = Microsoft.Extensions.Logging.ILogger; +global using ClaimValueTypes = System.Security.Claims.ClaimValueTypes; diff --git a/src/AspNetIdentity/host/Models/AccountViewModels/ExternalLoginViewModel.cs b/src/AspNetIdentity/host/Models/AccountViewModels/ExternalLoginViewModel.cs index 34485a71..dc360b29 100644 --- a/src/AspNetIdentity/host/Models/AccountViewModels/ExternalLoginViewModel.cs +++ b/src/AspNetIdentity/host/Models/AccountViewModels/ExternalLoginViewModel.cs @@ -1,20 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System.ComponentModel.DataAnnotations; - namespace IdentityServer8.Models.AccountViewModels; public class ExternalLoginViewModel diff --git a/src/AspNetIdentity/host/Models/AccountViewModels/ForgotPasswordViewModel.cs b/src/AspNetIdentity/host/Models/AccountViewModels/ForgotPasswordViewModel.cs index 5e121d30..403ff277 100644 --- a/src/AspNetIdentity/host/Models/AccountViewModels/ForgotPasswordViewModel.cs +++ b/src/AspNetIdentity/host/Models/AccountViewModels/ForgotPasswordViewModel.cs @@ -1,20 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System.ComponentModel.DataAnnotations; - namespace IdentityServer8.Models.AccountViewModels; public class ForgotPasswordViewModel diff --git a/src/AspNetIdentity/host/Models/AccountViewModels/LoginViewModel.cs b/src/AspNetIdentity/host/Models/AccountViewModels/LoginViewModel.cs index 972a006c..d5c68fdc 100644 --- a/src/AspNetIdentity/host/Models/AccountViewModels/LoginViewModel.cs +++ b/src/AspNetIdentity/host/Models/AccountViewModels/LoginViewModel.cs @@ -1,20 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System.ComponentModel.DataAnnotations; - namespace IdentityServer8.Models.AccountViewModels; public class LoginViewModel diff --git a/src/AspNetIdentity/host/Models/AccountViewModels/LoginWith2faViewModel.cs b/src/AspNetIdentity/host/Models/AccountViewModels/LoginWith2faViewModel.cs index 117ae6a6..e338cdce 100644 --- a/src/AspNetIdentity/host/Models/AccountViewModels/LoginWith2faViewModel.cs +++ b/src/AspNetIdentity/host/Models/AccountViewModels/LoginWith2faViewModel.cs @@ -1,20 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System.ComponentModel.DataAnnotations; - namespace IdentityServer8.Models.AccountViewModels; public class LoginWith2faViewModel diff --git a/src/AspNetIdentity/host/Models/AccountViewModels/LoginWithRecoveryCodeViewModel.cs b/src/AspNetIdentity/host/Models/AccountViewModels/LoginWithRecoveryCodeViewModel.cs index fa301fbd..59a3455b 100644 --- a/src/AspNetIdentity/host/Models/AccountViewModels/LoginWithRecoveryCodeViewModel.cs +++ b/src/AspNetIdentity/host/Models/AccountViewModels/LoginWithRecoveryCodeViewModel.cs @@ -1,20 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System.ComponentModel.DataAnnotations; - namespace IdentityServer8.Models.AccountViewModels; public class LoginWithRecoveryCodeViewModel diff --git a/src/AspNetIdentity/host/Models/AccountViewModels/RegisterViewModel.cs b/src/AspNetIdentity/host/Models/AccountViewModels/RegisterViewModel.cs index 13b1cd8d..e1309ed7 100644 --- a/src/AspNetIdentity/host/Models/AccountViewModels/RegisterViewModel.cs +++ b/src/AspNetIdentity/host/Models/AccountViewModels/RegisterViewModel.cs @@ -1,20 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System.ComponentModel.DataAnnotations; - namespace IdentityServer8.Models.AccountViewModels; public class RegisterViewModel diff --git a/src/AspNetIdentity/host/Models/AccountViewModels/ResetPasswordViewModel.cs b/src/AspNetIdentity/host/Models/AccountViewModels/ResetPasswordViewModel.cs index e05bfeac..483fba12 100644 --- a/src/AspNetIdentity/host/Models/AccountViewModels/ResetPasswordViewModel.cs +++ b/src/AspNetIdentity/host/Models/AccountViewModels/ResetPasswordViewModel.cs @@ -1,20 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System.ComponentModel.DataAnnotations; - namespace IdentityServer8.Models.AccountViewModels; public class ResetPasswordViewModel diff --git a/src/AspNetIdentity/host/Models/ApplicationUser.cs b/src/AspNetIdentity/host/Models/ApplicationUser.cs index d23e3abe..f416ef62 100644 --- a/src/AspNetIdentity/host/Models/ApplicationUser.cs +++ b/src/AspNetIdentity/host/Models/ApplicationUser.cs @@ -1,20 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using Microsoft.AspNetCore.Identity; - namespace IdentityServer8.Models; // Add profile data for application users by adding properties to the ApplicationUser class diff --git a/src/AspNetIdentity/host/Models/ManageViewModels/ChangePasswordViewModel.cs b/src/AspNetIdentity/host/Models/ManageViewModels/ChangePasswordViewModel.cs index bce3a768..306bdc61 100644 --- a/src/AspNetIdentity/host/Models/ManageViewModels/ChangePasswordViewModel.cs +++ b/src/AspNetIdentity/host/Models/ManageViewModels/ChangePasswordViewModel.cs @@ -1,20 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System.ComponentModel.DataAnnotations; - namespace IdentityServer8.Models.ManageViewModels; public class ChangePasswordViewModel diff --git a/src/AspNetIdentity/host/Models/ManageViewModels/EnableAuthenticatorViewModel.cs b/src/AspNetIdentity/host/Models/ManageViewModels/EnableAuthenticatorViewModel.cs index 789f59e2..57da2405 100644 --- a/src/AspNetIdentity/host/Models/ManageViewModels/EnableAuthenticatorViewModel.cs +++ b/src/AspNetIdentity/host/Models/ManageViewModels/EnableAuthenticatorViewModel.cs @@ -1,21 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System.ComponentModel; -using System.ComponentModel.DataAnnotations; - namespace IdentityServer8.Models.ManageViewModels; public class EnableAuthenticatorViewModel diff --git a/src/AspNetIdentity/host/Models/ManageViewModels/ExternalLoginsViewModel.cs b/src/AspNetIdentity/host/Models/ManageViewModels/ExternalLoginsViewModel.cs index b40d3215..b93c960e 100644 --- a/src/AspNetIdentity/host/Models/ManageViewModels/ExternalLoginsViewModel.cs +++ b/src/AspNetIdentity/host/Models/ManageViewModels/ExternalLoginsViewModel.cs @@ -1,22 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System.Collections.Generic; -using Microsoft.AspNetCore.Authentication; -using Microsoft.AspNetCore.Identity; - namespace IdentityServer8.Models.ManageViewModels; public class ExternalLoginsViewModel diff --git a/src/AspNetIdentity/host/Models/ManageViewModels/GenerateRecoveryCodesViewModel.cs b/src/AspNetIdentity/host/Models/ManageViewModels/GenerateRecoveryCodesViewModel.cs index fba22305..d936e71f 100644 --- a/src/AspNetIdentity/host/Models/ManageViewModels/GenerateRecoveryCodesViewModel.cs +++ b/src/AspNetIdentity/host/Models/ManageViewModels/GenerateRecoveryCodesViewModel.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServer8.Models.ManageViewModels; diff --git a/src/AspNetIdentity/host/Models/ManageViewModels/IndexViewModel.cs b/src/AspNetIdentity/host/Models/ManageViewModels/IndexViewModel.cs index 6f0d06e8..3edea80c 100644 --- a/src/AspNetIdentity/host/Models/ManageViewModels/IndexViewModel.cs +++ b/src/AspNetIdentity/host/Models/ManageViewModels/IndexViewModel.cs @@ -1,20 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System.ComponentModel.DataAnnotations; - namespace IdentityServer8.Models.ManageViewModels; public class IndexViewModel diff --git a/src/AspNetIdentity/host/Models/ManageViewModels/RemoveLoginViewModel.cs b/src/AspNetIdentity/host/Models/ManageViewModels/RemoveLoginViewModel.cs index 4f1eb83f..b3606af3 100644 --- a/src/AspNetIdentity/host/Models/ManageViewModels/RemoveLoginViewModel.cs +++ b/src/AspNetIdentity/host/Models/ManageViewModels/RemoveLoginViewModel.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServer8.Models.ManageViewModels; diff --git a/src/AspNetIdentity/host/Models/ManageViewModels/SetPasswordViewModel.cs b/src/AspNetIdentity/host/Models/ManageViewModels/SetPasswordViewModel.cs index 1066b48b..d9f18b08 100644 --- a/src/AspNetIdentity/host/Models/ManageViewModels/SetPasswordViewModel.cs +++ b/src/AspNetIdentity/host/Models/ManageViewModels/SetPasswordViewModel.cs @@ -1,20 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System.ComponentModel.DataAnnotations; - namespace IdentityServer8.Models.ManageViewModels; public class SetPasswordViewModel diff --git a/src/AspNetIdentity/host/Models/ManageViewModels/TwoFactorAuthenticationViewModel.cs b/src/AspNetIdentity/host/Models/ManageViewModels/TwoFactorAuthenticationViewModel.cs index dc73ab60..d6de0a33 100644 --- a/src/AspNetIdentity/host/Models/ManageViewModels/TwoFactorAuthenticationViewModel.cs +++ b/src/AspNetIdentity/host/Models/ManageViewModels/TwoFactorAuthenticationViewModel.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServer8.Models.ManageViewModels; diff --git a/src/AspNetIdentity/host/Program.cs b/src/AspNetIdentity/host/Program.cs index c878345f..f06f7494 100644 --- a/src/AspNetIdentity/host/Program.cs +++ b/src/AspNetIdentity/host/Program.cs @@ -1,26 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using Microsoft.AspNetCore.Hosting; -using Microsoft.Extensions.Hosting; -using Serilog; -using Serilog.Events; -using Serilog.Sinks.SystemConsole.Themes; -using System; -using System.Diagnostics; - namespace IdentityServerHost; public class Program @@ -72,4 +61,4 @@ public static IHostBuilder CreateHostBuilder(string[] args) => { webBuilder.UseStartup(); }); -} \ No newline at end of file +} diff --git a/src/AspNetIdentity/host/Quickstart/Account/AccountController.cs b/src/AspNetIdentity/host/Quickstart/Account/AccountController.cs index 75f27974..283525ac 100644 --- a/src/AspNetIdentity/host/Quickstart/Account/AccountController.cs +++ b/src/AspNetIdentity/host/Quickstart/Account/AccountController.cs @@ -1,35 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityModel; -using IdentityServer8; -using IdentityServer8.Events; -using IdentityServer8.Extensions; -using IdentityServer8.Models; -using IdentityServer8.Services; -using IdentityServer8.Stores; -using Microsoft.AspNetCore.Authentication; -using Microsoft.AspNetCore.Authorization; -using Microsoft.AspNetCore.Http; -using Microsoft.AspNetCore.Identity; -using Microsoft.AspNetCore.Mvc; -using Microsoft.DependencyInjection.Extensions; -using System; -using System.Linq; -using System.Threading.Tasks; - namespace IdentityServerHost.Quickstart.UI; [SecurityHeaders] @@ -358,4 +338,4 @@ private async Task BuildLoggedOutViewModelAsync(string logou return vm; } -} \ No newline at end of file +} diff --git a/src/AspNetIdentity/host/Quickstart/Account/AccountOptions.cs b/src/AspNetIdentity/host/Quickstart/Account/AccountOptions.cs index 86f14aae..cab384c6 100644 --- a/src/AspNetIdentity/host/Quickstart/Account/AccountOptions.cs +++ b/src/AspNetIdentity/host/Quickstart/Account/AccountOptions.cs @@ -1,20 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System; - namespace IdentityServerHost.Quickstart.UI; public class AccountOptions diff --git a/src/AspNetIdentity/host/Quickstart/Account/ExternalController.cs b/src/AspNetIdentity/host/Quickstart/Account/ExternalController.cs index 37f47c18..ce8aabf5 100644 --- a/src/AspNetIdentity/host/Quickstart/Account/ExternalController.cs +++ b/src/AspNetIdentity/host/Quickstart/Account/ExternalController.cs @@ -1,36 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Security.Claims; -using System.Threading.Tasks; -using IdentityModel; -using IdentityServer8; -using IdentityServer8.Events; -using IdentityServer8.Models; -using IdentityServer8.Services; -using IdentityServer8.Stores; -using Microsoft.AspNetCore.Authentication; -using Microsoft.AspNetCore.Authorization; -using Microsoft.AspNetCore.Http; -using Microsoft.AspNetCore.Identity; -using Microsoft.AspNetCore.Mvc; -using Microsoft.Extensions.Logging; - namespace IdentityServerHost.Quickstart.UI; [SecurityHeaders] @@ -268,4 +247,4 @@ private void ProcessLoginCallback(AuthenticateResult externalResult, List localSignInProps.StoreTokens(new[] { new AuthenticationToken { Name = "id_token", Value = idToken } }); } } -} \ No newline at end of file +} diff --git a/src/AspNetIdentity/host/Quickstart/Account/ExternalProvider.cs b/src/AspNetIdentity/host/Quickstart/Account/ExternalProvider.cs index 4c197ce0..61fa88d0 100644 --- a/src/AspNetIdentity/host/Quickstart/Account/ExternalProvider.cs +++ b/src/AspNetIdentity/host/Quickstart/Account/ExternalProvider.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; @@ -19,4 +16,4 @@ public class ExternalProvider { public string DisplayName { get; set; } public string AuthenticationScheme { get; set; } -} \ No newline at end of file +} diff --git a/src/AspNetIdentity/host/Quickstart/Account/LoggedOutViewModel.cs b/src/AspNetIdentity/host/Quickstart/Account/LoggedOutViewModel.cs index 36fceadf..2e23c83b 100644 --- a/src/AspNetIdentity/host/Quickstart/Account/LoggedOutViewModel.cs +++ b/src/AspNetIdentity/host/Quickstart/Account/LoggedOutViewModel.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; @@ -26,4 +23,4 @@ public class LoggedOutViewModel public string LogoutId { get; set; } public bool TriggerExternalSignout => ExternalAuthenticationScheme != null; public string ExternalAuthenticationScheme { get; set; } -} \ No newline at end of file +} diff --git a/src/AspNetIdentity/host/Quickstart/Account/LoginInputModel.cs b/src/AspNetIdentity/host/Quickstart/Account/LoginInputModel.cs index 706e55ae..5af2bb17 100644 --- a/src/AspNetIdentity/host/Quickstart/Account/LoginInputModel.cs +++ b/src/AspNetIdentity/host/Quickstart/Account/LoginInputModel.cs @@ -1,20 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System.ComponentModel.DataAnnotations; - namespace IdentityServerHost.Quickstart.UI; public class LoginInputModel @@ -25,4 +20,4 @@ public class LoginInputModel public string Password { get; set; } public bool RememberLogin { get; set; } public string ReturnUrl { get; set; } -} \ No newline at end of file +} diff --git a/src/AspNetIdentity/host/Quickstart/Account/LoginViewModel.cs b/src/AspNetIdentity/host/Quickstart/Account/LoginViewModel.cs index c14d1575..6233be6b 100644 --- a/src/AspNetIdentity/host/Quickstart/Account/LoginViewModel.cs +++ b/src/AspNetIdentity/host/Quickstart/Account/LoginViewModel.cs @@ -1,22 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System; -using System.Collections.Generic; -using System.Linq; - namespace IdentityServerHost.Quickstart.UI; public class LoginViewModel : LoginInputModel @@ -29,4 +22,4 @@ public class LoginViewModel : LoginInputModel public bool IsExternalLoginOnly => EnableLocalLogin == false && ExternalProviders?.Count() == 1; public string ExternalLoginScheme => IsExternalLoginOnly ? ExternalProviders?.SingleOrDefault()?.AuthenticationScheme : null; -} \ No newline at end of file +} diff --git a/src/AspNetIdentity/host/Quickstart/Account/LogoutInputModel.cs b/src/AspNetIdentity/host/Quickstart/Account/LogoutInputModel.cs index 9b16bfcf..cf883a18 100644 --- a/src/AspNetIdentity/host/Quickstart/Account/LogoutInputModel.cs +++ b/src/AspNetIdentity/host/Quickstart/Account/LogoutInputModel.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; diff --git a/src/AspNetIdentity/host/Quickstart/Account/LogoutViewModel.cs b/src/AspNetIdentity/host/Quickstart/Account/LogoutViewModel.cs index e245a0d4..a50ee906 100644 --- a/src/AspNetIdentity/host/Quickstart/Account/LogoutViewModel.cs +++ b/src/AspNetIdentity/host/Quickstart/Account/LogoutViewModel.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; diff --git a/src/AspNetIdentity/host/Quickstart/Account/RedirectViewModel.cs b/src/AspNetIdentity/host/Quickstart/Account/RedirectViewModel.cs index 56e9d1a3..542b5049 100644 --- a/src/AspNetIdentity/host/Quickstart/Account/RedirectViewModel.cs +++ b/src/AspNetIdentity/host/Quickstart/Account/RedirectViewModel.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; @@ -18,4 +15,4 @@ namespace IdentityServerHost.Quickstart.UI; public class RedirectViewModel { public string RedirectUrl { get; set; } -} \ No newline at end of file +} diff --git a/src/AspNetIdentity/host/Quickstart/Consent/ConsentController.cs b/src/AspNetIdentity/host/Quickstart/Consent/ConsentController.cs index 0b298979..dc10c096 100644 --- a/src/AspNetIdentity/host/Quickstart/Consent/ConsentController.cs +++ b/src/AspNetIdentity/host/Quickstart/Consent/ConsentController.cs @@ -1,31 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityServer8.Events; -using IdentityServer8.Models; -using IdentityServer8.Services; -using IdentityServer8.Extensions; -using Microsoft.AspNetCore.Authorization; -using Microsoft.AspNetCore.Mvc; -using Microsoft.Extensions.Logging; -using System.Linq; -using System.Threading.Tasks; -using IdentityServer8.Validation; -using System.Collections.Generic; -using System; -using Microsoft.DependencyInjection.Extensions; namespace IdentityServerHost.Quickstart.UI; /// @@ -269,4 +253,4 @@ private ScopeViewModel GetOfflineAccessScope(bool check) Checked = check }; } -} \ No newline at end of file +} diff --git a/src/AspNetIdentity/host/Quickstart/Consent/ConsentInputModel.cs b/src/AspNetIdentity/host/Quickstart/Consent/ConsentInputModel.cs index 28012cf0..bdf93b8f 100644 --- a/src/AspNetIdentity/host/Quickstart/Consent/ConsentInputModel.cs +++ b/src/AspNetIdentity/host/Quickstart/Consent/ConsentInputModel.cs @@ -1,20 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System.Collections.Generic; - namespace IdentityServerHost.Quickstart.UI; public class ConsentInputModel @@ -24,4 +19,4 @@ public class ConsentInputModel public bool RememberConsent { get; set; } public string ReturnUrl { get; set; } public string Description { get; set; } -} \ No newline at end of file +} diff --git a/src/AspNetIdentity/host/Quickstart/Consent/ConsentOptions.cs b/src/AspNetIdentity/host/Quickstart/Consent/ConsentOptions.cs index 7bea1fe9..0845e4c5 100644 --- a/src/AspNetIdentity/host/Quickstart/Consent/ConsentOptions.cs +++ b/src/AspNetIdentity/host/Quickstart/Consent/ConsentOptions.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; diff --git a/src/AspNetIdentity/host/Quickstart/Consent/ConsentViewModel.cs b/src/AspNetIdentity/host/Quickstart/Consent/ConsentViewModel.cs index 4f1cce40..e23d9ad8 100644 --- a/src/AspNetIdentity/host/Quickstart/Consent/ConsentViewModel.cs +++ b/src/AspNetIdentity/host/Quickstart/Consent/ConsentViewModel.cs @@ -1,20 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System.Collections.Generic; - namespace IdentityServerHost.Quickstart.UI; public class ConsentViewModel : ConsentInputModel diff --git a/src/AspNetIdentity/host/Quickstart/Consent/ProcessConsentResult.cs b/src/AspNetIdentity/host/Quickstart/Consent/ProcessConsentResult.cs index 28605ffd..6c1906c4 100644 --- a/src/AspNetIdentity/host/Quickstart/Consent/ProcessConsentResult.cs +++ b/src/AspNetIdentity/host/Quickstart/Consent/ProcessConsentResult.cs @@ -1,20 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityServer8.Models; - namespace IdentityServerHost.Quickstart.UI; public class ProcessConsentResult diff --git a/src/AspNetIdentity/host/Quickstart/Consent/ScopeViewModel.cs b/src/AspNetIdentity/host/Quickstart/Consent/ScopeViewModel.cs index 6bb80540..11644607 100644 --- a/src/AspNetIdentity/host/Quickstart/Consent/ScopeViewModel.cs +++ b/src/AspNetIdentity/host/Quickstart/Consent/ScopeViewModel.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; diff --git a/src/AspNetIdentity/host/Quickstart/Device/DeviceAuthorizationInputModel.cs b/src/AspNetIdentity/host/Quickstart/Device/DeviceAuthorizationInputModel.cs index ce8e075b..dc23ac01 100644 --- a/src/AspNetIdentity/host/Quickstart/Device/DeviceAuthorizationInputModel.cs +++ b/src/AspNetIdentity/host/Quickstart/Device/DeviceAuthorizationInputModel.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; @@ -18,4 +15,4 @@ namespace IdentityServerHost.Quickstart.UI; public class DeviceAuthorizationInputModel : ConsentInputModel { public string UserCode { get; set; } -} \ No newline at end of file +} diff --git a/src/AspNetIdentity/host/Quickstart/Device/DeviceAuthorizationViewModel.cs b/src/AspNetIdentity/host/Quickstart/Device/DeviceAuthorizationViewModel.cs index 2bbe9deb..213cb898 100644 --- a/src/AspNetIdentity/host/Quickstart/Device/DeviceAuthorizationViewModel.cs +++ b/src/AspNetIdentity/host/Quickstart/Device/DeviceAuthorizationViewModel.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; @@ -19,4 +16,4 @@ public class DeviceAuthorizationViewModel : ConsentViewModel { public string UserCode { get; set; } public bool ConfirmUserCode { get; set; } -} \ No newline at end of file +} diff --git a/src/AspNetIdentity/host/Quickstart/Device/DeviceController.cs b/src/AspNetIdentity/host/Quickstart/Device/DeviceController.cs index 6dbe4d1f..f20be7e5 100644 --- a/src/AspNetIdentity/host/Quickstart/Device/DeviceController.cs +++ b/src/AspNetIdentity/host/Quickstart/Device/DeviceController.cs @@ -1,33 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Threading.Tasks; -using IdentityServer8.Configuration; -using IdentityServer8.Events; -using IdentityServer8.Extensions; -using IdentityServer8.Models; -using IdentityServer8.Services; -using IdentityServer8.Validation; -using Microsoft.AspNetCore.Authorization; -using Microsoft.AspNetCore.Mvc; -using Microsoft.Extensions.Logging; -using Microsoft.Extensions.Options; - namespace IdentityServerHost.Quickstart.UI; [Authorize] @@ -239,4 +221,4 @@ private ScopeViewModel GetOfflineAccessScope(bool check) Checked = check }; } -} \ No newline at end of file +} diff --git a/src/AspNetIdentity/host/Quickstart/Diagnostics/DiagnosticsController.cs b/src/AspNetIdentity/host/Quickstart/Diagnostics/DiagnosticsController.cs index fcb792a4..651a8670 100644 --- a/src/AspNetIdentity/host/Quickstart/Diagnostics/DiagnosticsController.cs +++ b/src/AspNetIdentity/host/Quickstart/Diagnostics/DiagnosticsController.cs @@ -1,24 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System.Linq; -using System.Threading.Tasks; -using Microsoft.AspNetCore.Authentication; -using Microsoft.AspNetCore.Authorization; -using Microsoft.AspNetCore.Mvc; - namespace IdentityServerHost.Quickstart.UI; [SecurityHeaders] @@ -36,4 +27,4 @@ public async Task Index() var model = new DiagnosticsViewModel(await HttpContext.AuthenticateAsync()); return View(model); } -} \ No newline at end of file +} diff --git a/src/AspNetIdentity/host/Quickstart/Diagnostics/DiagnosticsViewModel.cs b/src/AspNetIdentity/host/Quickstart/Diagnostics/DiagnosticsViewModel.cs index 3deab387..afc465bd 100644 --- a/src/AspNetIdentity/host/Quickstart/Diagnostics/DiagnosticsViewModel.cs +++ b/src/AspNetIdentity/host/Quickstart/Diagnostics/DiagnosticsViewModel.cs @@ -1,24 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityModel; -using Microsoft.AspNetCore.Authentication; -using Newtonsoft.Json; -using System.Collections.Generic; -using System.Text; - namespace IdentityServerHost.Quickstart.UI; public class DiagnosticsViewModel @@ -39,4 +30,4 @@ public DiagnosticsViewModel(AuthenticateResult result) public AuthenticateResult AuthenticateResult { get; } public IEnumerable Clients { get; } = new List(); -} \ No newline at end of file +} diff --git a/src/AspNetIdentity/host/Quickstart/Extensions.cs b/src/AspNetIdentity/host/Quickstart/Extensions.cs index af8c5887..ac284136 100644 --- a/src/AspNetIdentity/host/Quickstart/Extensions.cs +++ b/src/AspNetIdentity/host/Quickstart/Extensions.cs @@ -1,22 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System; -using IdentityServer8.Models; -using Microsoft.AspNetCore.Mvc; - namespace IdentityServerHost.Quickstart.UI; public static class Extensions diff --git a/src/AspNetIdentity/host/Quickstart/Grants/GrantsController.cs b/src/AspNetIdentity/host/Quickstart/Grants/GrantsController.cs index 32d4e632..d8638d86 100644 --- a/src/AspNetIdentity/host/Quickstart/Grants/GrantsController.cs +++ b/src/AspNetIdentity/host/Quickstart/Grants/GrantsController.cs @@ -1,28 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityServer8.Services; -using IdentityServer8.Stores; -using Microsoft.AspNetCore.Mvc; -using System.Collections.Generic; -using System.Linq; -using System.Threading.Tasks; -using Microsoft.AspNetCore.Authorization; -using IdentityServer8.Events; -using IdentityServer8.Extensions; - namespace IdentityServerHost.Quickstart.UI; /// @@ -104,4 +91,4 @@ private async Task BuildViewModelAsync() Grants = list }; } -} \ No newline at end of file +} diff --git a/src/AspNetIdentity/host/Quickstart/Grants/GrantsViewModel.cs b/src/AspNetIdentity/host/Quickstart/Grants/GrantsViewModel.cs index 362e6a04..de2a3268 100644 --- a/src/AspNetIdentity/host/Quickstart/Grants/GrantsViewModel.cs +++ b/src/AspNetIdentity/host/Quickstart/Grants/GrantsViewModel.cs @@ -1,21 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System; -using System.Collections.Generic; - namespace IdentityServerHost.Quickstart.UI; public class GrantsViewModel @@ -34,4 +28,4 @@ public class GrantViewModel public DateTime? Expires { get; set; } public IEnumerable IdentityGrantNames { get; set; } public IEnumerable ApiGrantNames { get; set; } -} \ No newline at end of file +} diff --git a/src/AspNetIdentity/host/Quickstart/Home/ErrorViewModel.cs b/src/AspNetIdentity/host/Quickstart/Home/ErrorViewModel.cs index 270568b9..877455f9 100644 --- a/src/AspNetIdentity/host/Quickstart/Home/ErrorViewModel.cs +++ b/src/AspNetIdentity/host/Quickstart/Home/ErrorViewModel.cs @@ -1,20 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityServer8.Models; - namespace IdentityServerHost.Quickstart.UI; public class ErrorViewModel @@ -29,4 +24,4 @@ public ErrorViewModel(string error) } public ErrorMessage Error { get; set; } -} \ No newline at end of file +} diff --git a/src/AspNetIdentity/host/Quickstart/Home/HomeController.cs b/src/AspNetIdentity/host/Quickstart/Home/HomeController.cs index ef3f52ae..bb681713 100644 --- a/src/AspNetIdentity/host/Quickstart/Home/HomeController.cs +++ b/src/AspNetIdentity/host/Quickstart/Home/HomeController.cs @@ -1,26 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityServer8.Services; -using Microsoft.AspNetCore.Authorization; -using Microsoft.AspNetCore.Hosting; -using Microsoft.AspNetCore.Mvc; -using Microsoft.Extensions.Hosting; -using Microsoft.Extensions.Logging; -using System.Threading.Tasks; - namespace IdentityServerHost.Quickstart.UI; [SecurityHeaders] @@ -72,4 +61,4 @@ public async Task Error(string errorId) return View("Error", vm); } -} \ No newline at end of file +} diff --git a/src/AspNetIdentity/host/Quickstart/SecurityHeadersAttribute.cs b/src/AspNetIdentity/host/Quickstart/SecurityHeadersAttribute.cs index 587c93be..e92cde12 100644 --- a/src/AspNetIdentity/host/Quickstart/SecurityHeadersAttribute.cs +++ b/src/AspNetIdentity/host/Quickstart/SecurityHeadersAttribute.cs @@ -1,22 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using Microsoft.AspNetCore.Http; -using Microsoft.AspNetCore.Mvc; -using Microsoft.AspNetCore.Mvc.Filters; - namespace IdentityServerHost.Quickstart.UI; public class SecurityHeadersAttribute : ActionFilterAttribute diff --git a/src/AspNetIdentity/host/Quickstart/TestUsers.cs b/src/AspNetIdentity/host/Quickstart/TestUsers.cs index b851f620..2c5502f8 100644 --- a/src/AspNetIdentity/host/Quickstart/TestUsers.cs +++ b/src/AspNetIdentity/host/Quickstart/TestUsers.cs @@ -1,23 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityModel; -using IdentityServer8.Test; -using System.Collections.Generic; -using System.Security.Claims; - namespace IdentityServerHost.Quickstart.UI; public class TestUsers @@ -50,4 +42,4 @@ public class TestUsers } } }; -} \ No newline at end of file +} diff --git a/src/AspNetIdentity/host/Startup.cs b/src/AspNetIdentity/host/Startup.cs index d9097f48..62fc83bb 100644 --- a/src/AspNetIdentity/host/Startup.cs +++ b/src/AspNetIdentity/host/Startup.cs @@ -1,30 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using Microsoft.AspNetCore.Builder; -using Microsoft.AspNetCore.Identity; -using Microsoft.EntityFrameworkCore; -using Microsoft.AspNetCore.Hosting; -using Microsoft.Extensions.Configuration; -using Microsoft.Extensions.DependencyInjection; -using IdentityServerHost.Data; -using IdentityServerHost.Configuration; -using IdentityServer8.Models; -using Microsoft.Extensions.Hosting; -using IdentityServer8; - namespace IdentityServerHost { public class Startup @@ -95,4 +80,4 @@ public void Configure(IApplicationBuilder app, IWebHostEnvironment env) }); } } -} \ No newline at end of file +} diff --git a/src/AspNetIdentity/migrations/SqlServer/GlobalUsings.cs b/src/AspNetIdentity/migrations/SqlServer/GlobalUsings.cs new file mode 100644 index 00000000..06ca5af2 --- /dev/null +++ b/src/AspNetIdentity/migrations/SqlServer/GlobalUsings.cs @@ -0,0 +1,23 @@ +/* + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ + + Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. + + Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. + Source code and license this software can be found + + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. +*/ + +global using IdentityModel; +global using IdentityServer8.Models; +global using IdentityServerHost; +global using IdentityServerHost.Data; +global using Microsoft.AspNetCore; +global using Microsoft.AspNetCore.Identity; +global using Microsoft.EntityFrameworkCore; +global using Microsoft.EntityFrameworkCore.Infrastructure; +global using Microsoft.EntityFrameworkCore.Metadata; +global using Microsoft.EntityFrameworkCore.Migrations; +global using System.Security.Claims; diff --git a/src/AspNetIdentity/migrations/SqlServer/Migrations/UsersDb/20200323135751_Users.Designer.cs b/src/AspNetIdentity/migrations/SqlServer/Migrations/UsersDb/20200323135751_Users.Designer.cs index a5b6f566..a4a615c4 100644 --- a/src/AspNetIdentity/migrations/SqlServer/Migrations/UsersDb/20200323135751_Users.Designer.cs +++ b/src/AspNetIdentity/migrations/SqlServer/Migrations/UsersDb/20200323135751_Users.Designer.cs @@ -1,26 +1,16 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ // -using System; -using IdentityServerHost.Data; -using Microsoft.EntityFrameworkCore; -using Microsoft.EntityFrameworkCore.Infrastructure; -using Microsoft.EntityFrameworkCore.Metadata; -using Microsoft.EntityFrameworkCore.Migrations; -using Microsoft.EntityFrameworkCore.Storage.ValueConversion; namespace SqlServer.Migrations.UsersDb { diff --git a/src/AspNetIdentity/migrations/SqlServer/Migrations/UsersDb/20200323135751_Users.cs b/src/AspNetIdentity/migrations/SqlServer/Migrations/UsersDb/20200323135751_Users.cs index e13bb8cb..60fe5a42 100644 --- a/src/AspNetIdentity/migrations/SqlServer/Migrations/UsersDb/20200323135751_Users.cs +++ b/src/AspNetIdentity/migrations/SqlServer/Migrations/UsersDb/20200323135751_Users.cs @@ -1,21 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System; -using Microsoft.EntityFrameworkCore.Migrations; - namespace SqlServer.Migrations.UsersDb; public partial class Users : Migration diff --git a/src/AspNetIdentity/migrations/SqlServer/Migrations/UsersDb/ApplicationDbContextModelSnapshot.cs b/src/AspNetIdentity/migrations/SqlServer/Migrations/UsersDb/ApplicationDbContextModelSnapshot.cs index fcaf8f0e..07b02d0a 100644 --- a/src/AspNetIdentity/migrations/SqlServer/Migrations/UsersDb/ApplicationDbContextModelSnapshot.cs +++ b/src/AspNetIdentity/migrations/SqlServer/Migrations/UsersDb/ApplicationDbContextModelSnapshot.cs @@ -1,25 +1,16 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ // -using System; -using IdentityServerHost.Data; -using Microsoft.EntityFrameworkCore; -using Microsoft.EntityFrameworkCore.Infrastructure; -using Microsoft.EntityFrameworkCore.Metadata; -using Microsoft.EntityFrameworkCore.Storage.ValueConversion; namespace SqlServer.Migrations.UsersDb; diff --git a/src/AspNetIdentity/migrations/SqlServer/Program.cs b/src/AspNetIdentity/migrations/SqlServer/Program.cs index cf1f70b2..a8869f90 100644 --- a/src/AspNetIdentity/migrations/SqlServer/Program.cs +++ b/src/AspNetIdentity/migrations/SqlServer/Program.cs @@ -1,22 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityServerHost; -using Microsoft.AspNetCore; -using Microsoft.AspNetCore.Hosting; - namespace SqlServer; class Program diff --git a/src/AspNetIdentity/migrations/SqlServer/SeedData.cs b/src/AspNetIdentity/migrations/SqlServer/SeedData.cs index cd59ff25..71c811bf 100644 --- a/src/AspNetIdentity/migrations/SqlServer/SeedData.cs +++ b/src/AspNetIdentity/migrations/SqlServer/SeedData.cs @@ -1,28 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System; -using System.Linq; -using System.Security.Claims; -using IdentityServerHost.Data; -using IdentityModel; -using IdentityServer8.Models; -using Microsoft.AspNetCore.Identity; -using Microsoft.EntityFrameworkCore; -using Microsoft.Extensions.DependencyInjection; - namespace IdentityServerHost; public class SeedData diff --git a/src/AspNetIdentity/migrations/SqlServer/Startup.cs b/src/AspNetIdentity/migrations/SqlServer/Startup.cs index bc658690..7c5deaca 100644 --- a/src/AspNetIdentity/migrations/SqlServer/Startup.cs +++ b/src/AspNetIdentity/migrations/SqlServer/Startup.cs @@ -1,26 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using Microsoft.AspNetCore.Builder; -using Microsoft.Extensions.DependencyInjection; -using Microsoft.Extensions.Configuration; -using Microsoft.EntityFrameworkCore; -using IdentityServerHost.Data; -using Microsoft.AspNetCore.Identity; -using IdentityServer8.Models; - namespace SqlServer; public class Startup diff --git a/src/AspNetIdentity/src/Decorator.cs b/src/AspNetIdentity/src/Decorator.cs index a02cf404..3ff240e9 100644 --- a/src/AspNetIdentity/src/Decorator.cs +++ b/src/AspNetIdentity/src/Decorator.cs @@ -1,20 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System; - namespace IdentityServer8.AspNetIdentity; internal class Decorator diff --git a/src/AspNetIdentity/src/GlobalUsings.cs b/src/AspNetIdentity/src/GlobalUsings.cs new file mode 100644 index 00000000..773a1943 --- /dev/null +++ b/src/AspNetIdentity/src/GlobalUsings.cs @@ -0,0 +1,24 @@ +/* + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ + + Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. + + Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. + Source code and license this software can be found + + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. +*/ + +global using IdentityModel; +global using IdentityServer8; +global using IdentityServer8.AspNetIdentity; +global using IdentityServer8.Extensions; +global using IdentityServer8.Models; +global using IdentityServer8.Services; +global using IdentityServer8.Validation; +global using Microsoft.AspNetCore.Authentication.Cookies; +global using Microsoft.AspNetCore.Identity; +global using Microsoft.Extensions.Logging; +global using System.Security.Claims; +global using static IdentityModel.OidcConstants; diff --git a/src/AspNetIdentity/src/IdentityServerBuilderExtensions.cs b/src/AspNetIdentity/src/IdentityServerBuilderExtensions.cs index 1252c826..3bcfdd11 100644 --- a/src/AspNetIdentity/src/IdentityServerBuilderExtensions.cs +++ b/src/AspNetIdentity/src/IdentityServerBuilderExtensions.cs @@ -1,27 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System; -using System.Linq; -using IdentityModel; -using IdentityServer8; -using IdentityServer8.AspNetIdentity; -using IdentityServer8.Configuration; -using Microsoft.AspNetCore.Authentication.Cookies; -using Microsoft.AspNetCore.Identity; - namespace Microsoft.Extensions.DependencyInjection; /// diff --git a/src/AspNetIdentity/src/ProfileService.cs b/src/AspNetIdentity/src/ProfileService.cs index c9cbc51d..59cff239 100644 --- a/src/AspNetIdentity/src/ProfileService.cs +++ b/src/AspNetIdentity/src/ProfileService.cs @@ -1,27 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityServer8.Extensions; -using IdentityServer8.Models; -using IdentityServer8.Services; -using Microsoft.AspNetCore.Identity; -using Microsoft.Extensions.Logging; -using System; -using System.Security.Claims; -using System.Threading.Tasks; - namespace IdentityServer8.AspNetIdentity; /// diff --git a/src/AspNetIdentity/src/ResourceOwnerPasswordValidator.cs b/src/AspNetIdentity/src/ResourceOwnerPasswordValidator.cs index 7052b8f1..059ce76a 100644 --- a/src/AspNetIdentity/src/ResourceOwnerPasswordValidator.cs +++ b/src/AspNetIdentity/src/ResourceOwnerPasswordValidator.cs @@ -1,27 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityServer8.Models; -using IdentityServer8.Validation; -using Microsoft.AspNetCore.Identity; -using Microsoft.Extensions.Logging; -using System.Threading.Tasks; -using static IdentityModel.OidcConstants; -using IdentityServer8.Services; -using IdentityServer8.Events; - namespace IdentityServer8.AspNetIdentity; /// diff --git a/src/AspNetIdentity/src/SecurityStampValidatorCallback.cs b/src/AspNetIdentity/src/SecurityStampValidatorCallback.cs index a8e662af..d55b614f 100644 --- a/src/AspNetIdentity/src/SecurityStampValidatorCallback.cs +++ b/src/AspNetIdentity/src/SecurityStampValidatorCallback.cs @@ -1,22 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using Microsoft.AspNetCore.Identity; -using System.Threading.Tasks; -using System.Linq; - namespace IdentityServer8.AspNetIdentity; /// diff --git a/src/AspNetIdentity/src/UserClaimsFactory.cs b/src/AspNetIdentity/src/UserClaimsFactory.cs index 2853f24b..e102d7ad 100644 --- a/src/AspNetIdentity/src/UserClaimsFactory.cs +++ b/src/AspNetIdentity/src/UserClaimsFactory.cs @@ -1,25 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System; -using System.Linq; -using System.Threading.Tasks; -using Microsoft.AspNetCore.Identity; -using System.Security.Claims; -using IdentityModel; - namespace IdentityServer8.AspNetIdentity; internal class UserClaimsFactory : IUserClaimsPrincipalFactory diff --git a/src/EntityFramework.Storage/host/ConsoleHost/GlobalUsings.cs b/src/EntityFramework.Storage/host/ConsoleHost/GlobalUsings.cs new file mode 100644 index 00000000..c92c9116 --- /dev/null +++ b/src/EntityFramework.Storage/host/ConsoleHost/GlobalUsings.cs @@ -0,0 +1,17 @@ +/* + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ + + Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. + + Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. + Source code and license this software can be found + + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. +*/ + +global using IdentityServer8.EntityFramework; +global using IdentityServer8.EntityFramework.Storage; +global using Microsoft.EntityFrameworkCore; +global using Microsoft.Extensions.DependencyInjection; +global using Microsoft.Extensions.Logging; diff --git a/src/EntityFramework.Storage/host/ConsoleHost/Program.cs b/src/EntityFramework.Storage/host/ConsoleHost/Program.cs index 9a24a9a3..8917630b 100644 --- a/src/EntityFramework.Storage/host/ConsoleHost/Program.cs +++ b/src/EntityFramework.Storage/host/ConsoleHost/Program.cs @@ -1,25 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using Microsoft.Extensions.DependencyInjection; -using Microsoft.Extensions.Logging; -using System; -using IdentityServer8.EntityFramework.Storage; -using Microsoft.EntityFrameworkCore; -using IdentityServer8.EntityFramework; - namespace ConsoleHost; class Program diff --git a/src/EntityFramework.Storage/migrations/SqlServer/GlobalUsings.cs b/src/EntityFramework.Storage/migrations/SqlServer/GlobalUsings.cs new file mode 100644 index 00000000..6e703f6c --- /dev/null +++ b/src/EntityFramework.Storage/migrations/SqlServer/GlobalUsings.cs @@ -0,0 +1,19 @@ +/* + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ + + Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. + + Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. + Source code and license this software can be found + + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. +*/ + +global using IdentityServer8.EntityFramework.DbContexts; +global using IdentityServer8.EntityFramework.Storage; +global using Microsoft.AspNetCore; +global using Microsoft.EntityFrameworkCore; +global using Microsoft.EntityFrameworkCore.Infrastructure; +global using Microsoft.EntityFrameworkCore.Metadata; +global using Microsoft.EntityFrameworkCore.Migrations; diff --git a/src/EntityFramework.Storage/migrations/SqlServer/Migrations/ConfigurationDb/20200522172542_Config.Designer.cs b/src/EntityFramework.Storage/migrations/SqlServer/Migrations/ConfigurationDb/20200522172542_Config.Designer.cs index b329c00f..c97590ac 100644 --- a/src/EntityFramework.Storage/migrations/SqlServer/Migrations/ConfigurationDb/20200522172542_Config.Designer.cs +++ b/src/EntityFramework.Storage/migrations/SqlServer/Migrations/ConfigurationDb/20200522172542_Config.Designer.cs @@ -1,26 +1,16 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ // -using System; -using IdentityServer8.EntityFramework.DbContexts; -using Microsoft.EntityFrameworkCore; -using Microsoft.EntityFrameworkCore.Infrastructure; -using Microsoft.EntityFrameworkCore.Metadata; -using Microsoft.EntityFrameworkCore.Migrations; -using Microsoft.EntityFrameworkCore.Storage.ValueConversion; namespace SqlServer.Migrations.ConfigurationDb { diff --git a/src/EntityFramework.Storage/migrations/SqlServer/Migrations/ConfigurationDb/20200522172542_Config.cs b/src/EntityFramework.Storage/migrations/SqlServer/Migrations/ConfigurationDb/20200522172542_Config.cs index 2d8f6852..b9754378 100644 --- a/src/EntityFramework.Storage/migrations/SqlServer/Migrations/ConfigurationDb/20200522172542_Config.cs +++ b/src/EntityFramework.Storage/migrations/SqlServer/Migrations/ConfigurationDb/20200522172542_Config.cs @@ -1,21 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System; -using Microsoft.EntityFrameworkCore.Migrations; - namespace SqlServer.Migrations.ConfigurationDb; public partial class Config : Migration diff --git a/src/EntityFramework.Storage/migrations/SqlServer/Migrations/ConfigurationDb/ConfigurationDbContextModelSnapshot.cs b/src/EntityFramework.Storage/migrations/SqlServer/Migrations/ConfigurationDb/ConfigurationDbContextModelSnapshot.cs index d29d55f9..5d3cf352 100644 --- a/src/EntityFramework.Storage/migrations/SqlServer/Migrations/ConfigurationDb/ConfigurationDbContextModelSnapshot.cs +++ b/src/EntityFramework.Storage/migrations/SqlServer/Migrations/ConfigurationDb/ConfigurationDbContextModelSnapshot.cs @@ -1,25 +1,16 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ // -using System; -using IdentityServer8.EntityFramework.DbContexts; -using Microsoft.EntityFrameworkCore; -using Microsoft.EntityFrameworkCore.Infrastructure; -using Microsoft.EntityFrameworkCore.Metadata; -using Microsoft.EntityFrameworkCore.Storage.ValueConversion; namespace SqlServer.Migrations.ConfigurationDb; diff --git a/src/EntityFramework.Storage/migrations/SqlServer/Migrations/PersistedGrantDb/20200522172538_Grants.Designer.cs b/src/EntityFramework.Storage/migrations/SqlServer/Migrations/PersistedGrantDb/20200522172538_Grants.Designer.cs index fdb64132..2e4d3848 100644 --- a/src/EntityFramework.Storage/migrations/SqlServer/Migrations/PersistedGrantDb/20200522172538_Grants.Designer.cs +++ b/src/EntityFramework.Storage/migrations/SqlServer/Migrations/PersistedGrantDb/20200522172538_Grants.Designer.cs @@ -1,26 +1,16 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ // -using System; -using IdentityServer8.EntityFramework.DbContexts; -using Microsoft.EntityFrameworkCore; -using Microsoft.EntityFrameworkCore.Infrastructure; -using Microsoft.EntityFrameworkCore.Metadata; -using Microsoft.EntityFrameworkCore.Migrations; -using Microsoft.EntityFrameworkCore.Storage.ValueConversion; namespace SqlServer.Migrations.PersistedGrantDb { diff --git a/src/EntityFramework.Storage/migrations/SqlServer/Migrations/PersistedGrantDb/20200522172538_Grants.cs b/src/EntityFramework.Storage/migrations/SqlServer/Migrations/PersistedGrantDb/20200522172538_Grants.cs index 5241af56..cfd7bcf2 100644 --- a/src/EntityFramework.Storage/migrations/SqlServer/Migrations/PersistedGrantDb/20200522172538_Grants.cs +++ b/src/EntityFramework.Storage/migrations/SqlServer/Migrations/PersistedGrantDb/20200522172538_Grants.cs @@ -1,21 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System; -using Microsoft.EntityFrameworkCore.Migrations; - namespace SqlServer.Migrations.PersistedGrantDb; public partial class Grants : Migration diff --git a/src/EntityFramework.Storage/migrations/SqlServer/Migrations/PersistedGrantDb/PersistedGrantDbContextModelSnapshot.cs b/src/EntityFramework.Storage/migrations/SqlServer/Migrations/PersistedGrantDb/PersistedGrantDbContextModelSnapshot.cs index 01cee1a4..23bacc46 100644 --- a/src/EntityFramework.Storage/migrations/SqlServer/Migrations/PersistedGrantDb/PersistedGrantDbContextModelSnapshot.cs +++ b/src/EntityFramework.Storage/migrations/SqlServer/Migrations/PersistedGrantDb/PersistedGrantDbContextModelSnapshot.cs @@ -1,25 +1,16 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ // -using System; -using IdentityServer8.EntityFramework.DbContexts; -using Microsoft.EntityFrameworkCore; -using Microsoft.EntityFrameworkCore.Infrastructure; -using Microsoft.EntityFrameworkCore.Metadata; -using Microsoft.EntityFrameworkCore.Storage.ValueConversion; namespace SqlServer.Migrations.PersistedGrantDb; diff --git a/src/EntityFramework.Storage/migrations/SqlServer/Program.cs b/src/EntityFramework.Storage/migrations/SqlServer/Program.cs index b7d92f89..22f3f636 100644 --- a/src/EntityFramework.Storage/migrations/SqlServer/Program.cs +++ b/src/EntityFramework.Storage/migrations/SqlServer/Program.cs @@ -1,21 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using Microsoft.AspNetCore; -using Microsoft.AspNetCore.Hosting; - namespace SqlServer; class Program diff --git a/src/EntityFramework.Storage/migrations/SqlServer/Startup.cs b/src/EntityFramework.Storage/migrations/SqlServer/Startup.cs index 26dd3d5d..f2e622dd 100644 --- a/src/EntityFramework.Storage/migrations/SqlServer/Startup.cs +++ b/src/EntityFramework.Storage/migrations/SqlServer/Startup.cs @@ -1,24 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using Microsoft.AspNetCore.Builder; -using Microsoft.Extensions.DependencyInjection; -using Microsoft.Extensions.Configuration; -using IdentityServer8.EntityFramework.Storage; -using Microsoft.EntityFrameworkCore; - namespace SqlServer; public class Startup diff --git a/src/EntityFramework.Storage/src/Configuration/ServiceCollectionExtensions.cs b/src/EntityFramework.Storage/src/Configuration/ServiceCollectionExtensions.cs index 7d5c2200..6dfbe25a 100644 --- a/src/EntityFramework.Storage/src/Configuration/ServiceCollectionExtensions.cs +++ b/src/EntityFramework.Storage/src/Configuration/ServiceCollectionExtensions.cs @@ -1,25 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityServer8.EntityFramework.DbContexts; -using IdentityServer8.EntityFramework.Interfaces; -using System; -using IdentityServer8.EntityFramework.Options; -using Microsoft.EntityFrameworkCore; -using Microsoft.Extensions.DependencyInjection; - namespace IdentityServer8.EntityFramework.Storage { /// diff --git a/src/EntityFramework.Storage/src/DbContexts/ConfigurationDbContext.cs b/src/EntityFramework.Storage/src/DbContexts/ConfigurationDbContext.cs index b087a41b..92e74f0e 100644 --- a/src/EntityFramework.Storage/src/DbContexts/ConfigurationDbContext.cs +++ b/src/EntityFramework.Storage/src/DbContexts/ConfigurationDbContext.cs @@ -1,24 +1,16 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System; using IdentityServer8.EntityFramework.Entities; -using IdentityServer8.EntityFramework.Extensions; -using IdentityServer8.EntityFramework.Interfaces; -using IdentityServer8.EntityFramework.Options; -using Microsoft.EntityFrameworkCore; namespace IdentityServer8.EntityFramework.DbContexts { @@ -123,4 +115,4 @@ protected override void OnModelCreating(ModelBuilder modelBuilder) base.OnModelCreating(modelBuilder); } } -} \ No newline at end of file +} diff --git a/src/EntityFramework.Storage/src/DbContexts/PersistedGrantDbContext.cs b/src/EntityFramework.Storage/src/DbContexts/PersistedGrantDbContext.cs index 6aa449c1..769fe4e0 100644 --- a/src/EntityFramework.Storage/src/DbContexts/PersistedGrantDbContext.cs +++ b/src/EntityFramework.Storage/src/DbContexts/PersistedGrantDbContext.cs @@ -1,25 +1,16 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System; -using System.Threading.Tasks; using IdentityServer8.EntityFramework.Entities; -using IdentityServer8.EntityFramework.Extensions; -using IdentityServer8.EntityFramework.Interfaces; -using IdentityServer8.EntityFramework.Options; -using Microsoft.EntityFrameworkCore; namespace IdentityServer8.EntityFramework.DbContexts { @@ -109,4 +100,4 @@ protected override void OnModelCreating(ModelBuilder modelBuilder) base.OnModelCreating(modelBuilder); } } -} \ No newline at end of file +} diff --git a/src/EntityFramework.Storage/src/Entities/ApiResource.cs b/src/EntityFramework.Storage/src/Entities/ApiResource.cs index 74829a8c..48e8b3a9 100644 --- a/src/EntityFramework.Storage/src/Entities/ApiResource.cs +++ b/src/EntityFramework.Storage/src/Entities/ApiResource.cs @@ -1,23 +1,17 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ #pragma warning disable 1591 -using System; -using System.Collections.Generic; - namespace IdentityServer8.EntityFramework.Entities { public class ApiResource diff --git a/src/EntityFramework.Storage/src/Entities/ApiResourceClaim.cs b/src/EntityFramework.Storage/src/Entities/ApiResourceClaim.cs index d5df1a04..6cbf7151 100644 --- a/src/EntityFramework.Storage/src/Entities/ApiResourceClaim.cs +++ b/src/EntityFramework.Storage/src/Entities/ApiResourceClaim.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ #pragma warning disable 1591 @@ -22,4 +19,4 @@ public class ApiResourceClaim : UserClaim public int ApiResourceId { get; set; } public ApiResource ApiResource { get; set; } } -} \ No newline at end of file +} diff --git a/src/EntityFramework.Storage/src/Entities/ApiResourceProperty.cs b/src/EntityFramework.Storage/src/Entities/ApiResourceProperty.cs index 29726770..167c036d 100644 --- a/src/EntityFramework.Storage/src/Entities/ApiResourceProperty.cs +++ b/src/EntityFramework.Storage/src/Entities/ApiResourceProperty.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ #pragma warning disable 1591 @@ -22,4 +19,4 @@ public class ApiResourceProperty : Property public int ApiResourceId { get; set; } public ApiResource ApiResource { get; set; } } -} \ No newline at end of file +} diff --git a/src/EntityFramework.Storage/src/Entities/ApiResourceScope.cs b/src/EntityFramework.Storage/src/Entities/ApiResourceScope.cs index 4f3be669..79b0840c 100644 --- a/src/EntityFramework.Storage/src/Entities/ApiResourceScope.cs +++ b/src/EntityFramework.Storage/src/Entities/ApiResourceScope.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ #pragma warning disable 1591 @@ -25,4 +22,4 @@ public class ApiResourceScope public int ApiResourceId { get; set; } public ApiResource ApiResource { get; set; } } -} \ No newline at end of file +} diff --git a/src/EntityFramework.Storage/src/Entities/ApiResourceSecret.cs b/src/EntityFramework.Storage/src/Entities/ApiResourceSecret.cs index 3561177b..ecdba2f3 100644 --- a/src/EntityFramework.Storage/src/Entities/ApiResourceSecret.cs +++ b/src/EntityFramework.Storage/src/Entities/ApiResourceSecret.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ #pragma warning disable 1591 @@ -22,4 +19,4 @@ public class ApiResourceSecret : Secret public int ApiResourceId { get; set; } public ApiResource ApiResource { get; set; } } -} \ No newline at end of file +} diff --git a/src/EntityFramework.Storage/src/Entities/ApiScope.cs b/src/EntityFramework.Storage/src/Entities/ApiScope.cs index 262b8bd2..8a2295fe 100644 --- a/src/EntityFramework.Storage/src/Entities/ApiScope.cs +++ b/src/EntityFramework.Storage/src/Entities/ApiScope.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ #pragma warning disable 1591 @@ -32,4 +29,4 @@ public class ApiScope public List UserClaims { get; set; } public List Properties { get; set; } } -} \ No newline at end of file +} diff --git a/src/EntityFramework.Storage/src/Entities/ApiScopeClaim.cs b/src/EntityFramework.Storage/src/Entities/ApiScopeClaim.cs index 72bd14b9..feaa0fe9 100644 --- a/src/EntityFramework.Storage/src/Entities/ApiScopeClaim.cs +++ b/src/EntityFramework.Storage/src/Entities/ApiScopeClaim.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ #pragma warning disable 1591 @@ -22,4 +19,4 @@ public class ApiScopeClaim : UserClaim public int ScopeId { get; set; } public ApiScope Scope { get; set; } } -} \ No newline at end of file +} diff --git a/src/EntityFramework.Storage/src/Entities/ApiScopeProperty.cs b/src/EntityFramework.Storage/src/Entities/ApiScopeProperty.cs index 165c5205..94440f6c 100644 --- a/src/EntityFramework.Storage/src/Entities/ApiScopeProperty.cs +++ b/src/EntityFramework.Storage/src/Entities/ApiScopeProperty.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ #pragma warning disable 1591 @@ -22,4 +19,4 @@ public class ApiScopeProperty : Property public int ScopeId { get; set; } public ApiScope Scope { get; set; } } -} \ No newline at end of file +} diff --git a/src/EntityFramework.Storage/src/Entities/Client.cs b/src/EntityFramework.Storage/src/Entities/Client.cs index 24fc5b0c..39ef34aa 100644 --- a/src/EntityFramework.Storage/src/Entities/Client.cs +++ b/src/EntityFramework.Storage/src/Entities/Client.cs @@ -1,23 +1,18 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ #pragma warning disable 1591 using IdentityServer8.Models; -using System; -using System.Collections.Generic; namespace IdentityServer8.EntityFramework.Entities { @@ -77,4 +72,4 @@ public class Client public int DeviceCodeLifetime { get; set; } = 300; public bool NonEditable { get; set; } } -} \ No newline at end of file +} diff --git a/src/EntityFramework.Storage/src/Entities/ClientClaim.cs b/src/EntityFramework.Storage/src/Entities/ClientClaim.cs index 82c2cc5b..a6a94f3a 100644 --- a/src/EntityFramework.Storage/src/Entities/ClientClaim.cs +++ b/src/EntityFramework.Storage/src/Entities/ClientClaim.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ #pragma warning disable 1591 @@ -26,4 +23,4 @@ public class ClientClaim public int ClientId { get; set; } public Client Client { get; set; } } -} \ No newline at end of file +} diff --git a/src/EntityFramework.Storage/src/Entities/ClientCorsOrigin.cs b/src/EntityFramework.Storage/src/Entities/ClientCorsOrigin.cs index 72a0b6ed..20170d29 100644 --- a/src/EntityFramework.Storage/src/Entities/ClientCorsOrigin.cs +++ b/src/EntityFramework.Storage/src/Entities/ClientCorsOrigin.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ #pragma warning disable 1591 @@ -25,4 +22,4 @@ public class ClientCorsOrigin public int ClientId { get; set; } public Client Client { get; set; } } -} \ No newline at end of file +} diff --git a/src/EntityFramework.Storage/src/Entities/ClientGrantType.cs b/src/EntityFramework.Storage/src/Entities/ClientGrantType.cs index a5d52f96..fd13d4c1 100644 --- a/src/EntityFramework.Storage/src/Entities/ClientGrantType.cs +++ b/src/EntityFramework.Storage/src/Entities/ClientGrantType.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ #pragma warning disable 1591 @@ -25,4 +22,4 @@ public class ClientGrantType public int ClientId { get; set; } public Client Client { get; set; } } -} \ No newline at end of file +} diff --git a/src/EntityFramework.Storage/src/Entities/ClientIdPRestriction.cs b/src/EntityFramework.Storage/src/Entities/ClientIdPRestriction.cs index 45cc65c9..40cac038 100644 --- a/src/EntityFramework.Storage/src/Entities/ClientIdPRestriction.cs +++ b/src/EntityFramework.Storage/src/Entities/ClientIdPRestriction.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ #pragma warning disable 1591 @@ -25,4 +22,4 @@ public class ClientIdPRestriction public int ClientId { get; set; } public Client Client { get; set; } } -} \ No newline at end of file +} diff --git a/src/EntityFramework.Storage/src/Entities/ClientPostLogoutRedirectUri.cs b/src/EntityFramework.Storage/src/Entities/ClientPostLogoutRedirectUri.cs index 672ec50e..2270e355 100644 --- a/src/EntityFramework.Storage/src/Entities/ClientPostLogoutRedirectUri.cs +++ b/src/EntityFramework.Storage/src/Entities/ClientPostLogoutRedirectUri.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ #pragma warning disable 1591 @@ -25,4 +22,4 @@ public class ClientPostLogoutRedirectUri public int ClientId { get; set; } public Client Client { get; set; } } -} \ No newline at end of file +} diff --git a/src/EntityFramework.Storage/src/Entities/ClientProperty.cs b/src/EntityFramework.Storage/src/Entities/ClientProperty.cs index 76d56f5a..409abc71 100644 --- a/src/EntityFramework.Storage/src/Entities/ClientProperty.cs +++ b/src/EntityFramework.Storage/src/Entities/ClientProperty.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ #pragma warning disable 1591 @@ -22,4 +19,4 @@ public class ClientProperty : Property public int ClientId { get; set; } public Client Client { get; set; } } -} \ No newline at end of file +} diff --git a/src/EntityFramework.Storage/src/Entities/ClientRedirectUri.cs b/src/EntityFramework.Storage/src/Entities/ClientRedirectUri.cs index 8721fbf8..e3d5bdba 100644 --- a/src/EntityFramework.Storage/src/Entities/ClientRedirectUri.cs +++ b/src/EntityFramework.Storage/src/Entities/ClientRedirectUri.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ #pragma warning disable 1591 @@ -25,4 +22,4 @@ public class ClientRedirectUri public int ClientId { get; set; } public Client Client { get; set; } } -} \ No newline at end of file +} diff --git a/src/EntityFramework.Storage/src/Entities/ClientScope.cs b/src/EntityFramework.Storage/src/Entities/ClientScope.cs index f3750355..b6abb4b8 100644 --- a/src/EntityFramework.Storage/src/Entities/ClientScope.cs +++ b/src/EntityFramework.Storage/src/Entities/ClientScope.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ #pragma warning disable 1591 @@ -25,4 +22,4 @@ public class ClientScope public int ClientId { get; set; } public Client Client { get; set; } } -} \ No newline at end of file +} diff --git a/src/EntityFramework.Storage/src/Entities/ClientSecret.cs b/src/EntityFramework.Storage/src/Entities/ClientSecret.cs index bff72cb3..1848d381 100644 --- a/src/EntityFramework.Storage/src/Entities/ClientSecret.cs +++ b/src/EntityFramework.Storage/src/Entities/ClientSecret.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ #pragma warning disable 1591 @@ -22,4 +19,4 @@ public class ClientSecret : Secret public int ClientId { get; set; } public Client Client { get; set; } } -} \ No newline at end of file +} diff --git a/src/EntityFramework.Storage/src/Entities/DeviceFlowCodes.cs b/src/EntityFramework.Storage/src/Entities/DeviceFlowCodes.cs index 103d08af..ed97aca3 100644 --- a/src/EntityFramework.Storage/src/Entities/DeviceFlowCodes.cs +++ b/src/EntityFramework.Storage/src/Entities/DeviceFlowCodes.cs @@ -1,20 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System; - namespace IdentityServer8.EntityFramework.Entities { /// @@ -94,4 +89,4 @@ public class DeviceFlowCodes /// public string Data { get; set; } } -} \ No newline at end of file +} diff --git a/src/EntityFramework.Storage/src/Entities/IdentityResource.cs b/src/EntityFramework.Storage/src/Entities/IdentityResource.cs index efb248cb..da38c05a 100644 --- a/src/EntityFramework.Storage/src/Entities/IdentityResource.cs +++ b/src/EntityFramework.Storage/src/Entities/IdentityResource.cs @@ -1,23 +1,17 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ #pragma warning disable 1591 -using System; -using System.Collections.Generic; - namespace IdentityServer8.EntityFramework.Entities { public class IdentityResource diff --git a/src/EntityFramework.Storage/src/Entities/IdentityResourceClaim.cs b/src/EntityFramework.Storage/src/Entities/IdentityResourceClaim.cs index 009b7c64..3f40dd42 100644 --- a/src/EntityFramework.Storage/src/Entities/IdentityResourceClaim.cs +++ b/src/EntityFramework.Storage/src/Entities/IdentityResourceClaim.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ #pragma warning disable 1591 @@ -22,4 +19,4 @@ public class IdentityResourceClaim : UserClaim public int IdentityResourceId { get; set; } public IdentityResource IdentityResource { get; set; } } -} \ No newline at end of file +} diff --git a/src/EntityFramework.Storage/src/Entities/IdentityResourceProperty.cs b/src/EntityFramework.Storage/src/Entities/IdentityResourceProperty.cs index 69295734..8d6224d6 100644 --- a/src/EntityFramework.Storage/src/Entities/IdentityResourceProperty.cs +++ b/src/EntityFramework.Storage/src/Entities/IdentityResourceProperty.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ #pragma warning disable 1591 @@ -22,4 +19,4 @@ public class IdentityResourceProperty : Property public int IdentityResourceId { get; set; } public IdentityResource IdentityResource { get; set; } } -} \ No newline at end of file +} diff --git a/src/EntityFramework.Storage/src/Entities/PersistedGrant.cs b/src/EntityFramework.Storage/src/Entities/PersistedGrant.cs index eaa5243e..3a87fe07 100644 --- a/src/EntityFramework.Storage/src/Entities/PersistedGrant.cs +++ b/src/EntityFramework.Storage/src/Entities/PersistedGrant.cs @@ -1,22 +1,17 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ #pragma warning disable 1591 -using System; - namespace IdentityServer8.EntityFramework.Entities { public class PersistedGrant @@ -32,4 +27,4 @@ public class PersistedGrant public DateTime? ConsumedTime { get; set; } public string Data { get; set; } } -} \ No newline at end of file +} diff --git a/src/EntityFramework.Storage/src/Entities/Property.cs b/src/EntityFramework.Storage/src/Entities/Property.cs index c0314b34..8b404ed5 100644 --- a/src/EntityFramework.Storage/src/Entities/Property.cs +++ b/src/EntityFramework.Storage/src/Entities/Property.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ #pragma warning disable 1591 @@ -23,4 +20,4 @@ public abstract class Property public string Key { get; set; } public string Value { get; set; } } -} \ No newline at end of file +} diff --git a/src/EntityFramework.Storage/src/Entities/Secret.cs b/src/EntityFramework.Storage/src/Entities/Secret.cs index b9d0ea05..bf3ae98e 100644 --- a/src/EntityFramework.Storage/src/Entities/Secret.cs +++ b/src/EntityFramework.Storage/src/Entities/Secret.cs @@ -1,22 +1,17 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ #pragma warning disable 1591 -using System; - namespace IdentityServer8.EntityFramework.Entities { public abstract class Secret @@ -28,4 +23,4 @@ public abstract class Secret public string Type { get; set; } = "SharedSecret"; public DateTime Created { get; set; } = DateTime.UtcNow; } -} \ No newline at end of file +} diff --git a/src/EntityFramework.Storage/src/Entities/UserClaim.cs b/src/EntityFramework.Storage/src/Entities/UserClaim.cs index 42f9613e..80a01d21 100644 --- a/src/EntityFramework.Storage/src/Entities/UserClaim.cs +++ b/src/EntityFramework.Storage/src/Entities/UserClaim.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ #pragma warning disable 1591 @@ -22,4 +19,4 @@ public abstract class UserClaim public int Id { get; set; } public string Type { get; set; } } -} \ No newline at end of file +} diff --git a/src/EntityFramework.Storage/src/Extensions/ModelBuilderExtensions.cs b/src/EntityFramework.Storage/src/Extensions/ModelBuilderExtensions.cs index 2c1c0f7a..945947ea 100644 --- a/src/EntityFramework.Storage/src/Extensions/ModelBuilderExtensions.cs +++ b/src/EntityFramework.Storage/src/Extensions/ModelBuilderExtensions.cs @@ -1,22 +1,16 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using IdentityServer8.EntityFramework.Entities; -using IdentityServer8.EntityFramework.Options; -using Microsoft.EntityFrameworkCore; -using Microsoft.EntityFrameworkCore.Metadata.Builders; namespace IdentityServer8.EntityFramework.Extensions { diff --git a/src/EntityFramework.Storage/src/GlobalUsings.cs b/src/EntityFramework.Storage/src/GlobalUsings.cs new file mode 100644 index 00000000..27663719 --- /dev/null +++ b/src/EntityFramework.Storage/src/GlobalUsings.cs @@ -0,0 +1,32 @@ +/* + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ + + Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. + + Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. + Source code and license this software can be found + + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. +*/ + +global using AutoMapper; +global using IdentityModel; +global using IdentityServer8.EntityFramework.DbContexts; +global using IdentityServer8.EntityFramework.Extensions; +global using IdentityServer8.EntityFramework.Interfaces; +//global using IdentityServer8.EntityFramework.Entities; +global using IdentityServer8.EntityFramework.Mappers; +global using IdentityServer8.EntityFramework.Options; +global using IdentityServer8.Extensions; +//global using IdentityServer8.Models; +global using IdentityServer8.Stores; +global using IdentityServer8.Stores.Serialization; +global using Microsoft.DependencyInjection.Extensions; +global using Microsoft.EntityFrameworkCore; +global using Microsoft.EntityFrameworkCore.Metadata.Builders; +global using Microsoft.Extensions.DependencyInjection; +global using Microsoft.Extensions.Logging; +global using System.Buffers; +global using System.Runtime.CompilerServices; +global using ClaimValueTypes = System.Security.Claims.ClaimValueTypes; diff --git a/src/EntityFramework.Storage/src/Interfaces/IConfigurationDbContext.cs b/src/EntityFramework.Storage/src/Interfaces/IConfigurationDbContext.cs index 77cf0667..8826b668 100644 --- a/src/EntityFramework.Storage/src/Interfaces/IConfigurationDbContext.cs +++ b/src/EntityFramework.Storage/src/Interfaces/IConfigurationDbContext.cs @@ -1,21 +1,16 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System; using IdentityServer8.EntityFramework.Entities; -using Microsoft.EntityFrameworkCore; namespace IdentityServer8.EntityFramework.Interfaces { @@ -65,4 +60,4 @@ public interface IConfigurationDbContext : IDisposable /// DbSet ApiScopes { get; set; } } -} \ No newline at end of file +} diff --git a/src/EntityFramework.Storage/src/Interfaces/IPersistedGrantDbContext.cs b/src/EntityFramework.Storage/src/Interfaces/IPersistedGrantDbContext.cs index ca7ba05e..7c4cc3c0 100644 --- a/src/EntityFramework.Storage/src/Interfaces/IPersistedGrantDbContext.cs +++ b/src/EntityFramework.Storage/src/Interfaces/IPersistedGrantDbContext.cs @@ -1,22 +1,16 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System; -using System.Threading.Tasks; using IdentityServer8.EntityFramework.Entities; -using Microsoft.EntityFrameworkCore; namespace IdentityServer8.EntityFramework.Interfaces { @@ -48,4 +42,4 @@ public interface IPersistedGrantDbContext : IDisposable /// Task SaveChangesAsync(); } -} \ No newline at end of file +} diff --git a/src/EntityFramework.Storage/src/Mappers/AllowedSigningAlgorithmsConverter.cs b/src/EntityFramework.Storage/src/Mappers/AllowedSigningAlgorithmsConverter.cs index 57c2da0b..fc721fcd 100644 --- a/src/EntityFramework.Storage/src/Mappers/AllowedSigningAlgorithmsConverter.cs +++ b/src/EntityFramework.Storage/src/Mappers/AllowedSigningAlgorithmsConverter.cs @@ -1,23 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System; -using System.Collections.Generic; -using System.Linq; -using AutoMapper; - namespace IdentityServer8.EntityFramework.Mappers { class AllowedSigningAlgorithmsConverter : diff --git a/src/EntityFramework.Storage/src/Mappers/ApiResourceMapperProfile.cs b/src/EntityFramework.Storage/src/Mappers/ApiResourceMapperProfile.cs index d95d38fa..85714dea 100644 --- a/src/EntityFramework.Storage/src/Mappers/ApiResourceMapperProfile.cs +++ b/src/EntityFramework.Storage/src/Mappers/ApiResourceMapperProfile.cs @@ -1,21 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System.Collections.Generic; -using AutoMapper; - namespace IdentityServer8.EntityFramework.Mappers { /// diff --git a/src/EntityFramework.Storage/src/Mappers/ApiResourceMappers.cs b/src/EntityFramework.Storage/src/Mappers/ApiResourceMappers.cs index 80a8e95f..c55128dd 100644 --- a/src/EntityFramework.Storage/src/Mappers/ApiResourceMappers.cs +++ b/src/EntityFramework.Storage/src/Mappers/ApiResourceMappers.cs @@ -1,21 +1,16 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using AutoMapper; using IdentityServer8.EntityFramework.Entities; -using System.Text; namespace IdentityServer8.EntityFramework.Mappers { @@ -52,4 +47,4 @@ public static ApiResource ToEntity(this Models.ApiResource model) return model == null ? null : Mapper.Map(model); } } -} \ No newline at end of file +} diff --git a/src/EntityFramework.Storage/src/Mappers/ClientMapperProfile.cs b/src/EntityFramework.Storage/src/Mappers/ClientMapperProfile.cs index a69df234..2479bd5e 100644 --- a/src/EntityFramework.Storage/src/Mappers/ClientMapperProfile.cs +++ b/src/EntityFramework.Storage/src/Mappers/ClientMapperProfile.cs @@ -1,21 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System.Collections.Generic; -using System.Security.Claims; -using AutoMapper; using IdentityServer8.Models; namespace IdentityServer8.EntityFramework.Mappers @@ -81,4 +75,4 @@ public ClientMapperProfile() .ReverseMap(); } } -} \ No newline at end of file +} diff --git a/src/EntityFramework.Storage/src/Mappers/ClientMappers.cs b/src/EntityFramework.Storage/src/Mappers/ClientMappers.cs index fc0bb7ed..7307d159 100644 --- a/src/EntityFramework.Storage/src/Mappers/ClientMappers.cs +++ b/src/EntityFramework.Storage/src/Mappers/ClientMappers.cs @@ -1,20 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using AutoMapper; - namespace IdentityServer8.EntityFramework.Mappers { /// @@ -50,4 +45,4 @@ public static Entities.Client ToEntity(this Models.Client model) return Mapper.Map(model); } } -} \ No newline at end of file +} diff --git a/src/EntityFramework.Storage/src/Mappers/IdentityResourceMapperProfile.cs b/src/EntityFramework.Storage/src/Mappers/IdentityResourceMapperProfile.cs index 9e27079a..bda8209a 100644 --- a/src/EntityFramework.Storage/src/Mappers/IdentityResourceMapperProfile.cs +++ b/src/EntityFramework.Storage/src/Mappers/IdentityResourceMapperProfile.cs @@ -1,21 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System.Collections.Generic; -using AutoMapper; - namespace IdentityServer8.EntityFramework.Mappers { /// diff --git a/src/EntityFramework.Storage/src/Mappers/IdentityResourceMappers.cs b/src/EntityFramework.Storage/src/Mappers/IdentityResourceMappers.cs index 0e8fcf93..ed9f6df2 100644 --- a/src/EntityFramework.Storage/src/Mappers/IdentityResourceMappers.cs +++ b/src/EntityFramework.Storage/src/Mappers/IdentityResourceMappers.cs @@ -1,19 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using AutoMapper; using IdentityServer8.EntityFramework.Entities; namespace IdentityServer8.EntityFramework.Mappers @@ -51,4 +47,4 @@ public static IdentityResource ToEntity(this Models.IdentityResource model) return model == null ? null : Mapper.Map(model); } } -} \ No newline at end of file +} diff --git a/src/EntityFramework.Storage/src/Mappers/PersistedGrantMapperProfile.cs b/src/EntityFramework.Storage/src/Mappers/PersistedGrantMapperProfile.cs index c47175ce..6483f64a 100644 --- a/src/EntityFramework.Storage/src/Mappers/PersistedGrantMapperProfile.cs +++ b/src/EntityFramework.Storage/src/Mappers/PersistedGrantMapperProfile.cs @@ -1,20 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using AutoMapper; - namespace IdentityServer8.EntityFramework.Mappers { /// diff --git a/src/EntityFramework.Storage/src/Mappers/PersistedGrantMappers.cs b/src/EntityFramework.Storage/src/Mappers/PersistedGrantMappers.cs index 934a821e..dc5d4fb3 100644 --- a/src/EntityFramework.Storage/src/Mappers/PersistedGrantMappers.cs +++ b/src/EntityFramework.Storage/src/Mappers/PersistedGrantMappers.cs @@ -1,19 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using AutoMapper; using IdentityServer8.Models; namespace IdentityServer8.EntityFramework.Mappers @@ -61,4 +57,4 @@ public static void UpdateEntity(this PersistedGrant model, Entities.PersistedGra Mapper.Map(model, entity); } } -} \ No newline at end of file +} diff --git a/src/EntityFramework.Storage/src/Mappers/ScopeMapperProfile.cs b/src/EntityFramework.Storage/src/Mappers/ScopeMapperProfile.cs index c22e17ce..e8208f35 100644 --- a/src/EntityFramework.Storage/src/Mappers/ScopeMapperProfile.cs +++ b/src/EntityFramework.Storage/src/Mappers/ScopeMapperProfile.cs @@ -1,21 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System.Collections.Generic; -using AutoMapper; - namespace IdentityServer8.EntityFramework.Mappers { /// diff --git a/src/EntityFramework.Storage/src/Mappers/ScopeMappers.cs b/src/EntityFramework.Storage/src/Mappers/ScopeMappers.cs index 32ee980f..ae920a08 100644 --- a/src/EntityFramework.Storage/src/Mappers/ScopeMappers.cs +++ b/src/EntityFramework.Storage/src/Mappers/ScopeMappers.cs @@ -1,19 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using AutoMapper; using IdentityServer8.EntityFramework.Entities; namespace IdentityServer8.EntityFramework.Mappers @@ -51,4 +47,4 @@ public static ApiScope ToEntity(this Models.ApiScope model) return model == null ? null : Mapper.Map(model); } } -} \ No newline at end of file +} diff --git a/src/EntityFramework.Storage/src/Options/ConfigurationStoreOptions.cs b/src/EntityFramework.Storage/src/Options/ConfigurationStoreOptions.cs index b7586e7e..8626fd6c 100644 --- a/src/EntityFramework.Storage/src/Options/ConfigurationStoreOptions.cs +++ b/src/EntityFramework.Storage/src/Options/ConfigurationStoreOptions.cs @@ -1,21 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System; -using Microsoft.EntityFrameworkCore; - namespace IdentityServer8.EntityFramework.Options { /// @@ -199,4 +193,4 @@ public class ConfigurationStoreOptions public TableConfiguration ApiScopeProperty { get; set; } = new TableConfiguration("ApiScopeProperties"); } -} \ No newline at end of file +} diff --git a/src/EntityFramework.Storage/src/Options/OperationalStoreOptions.cs b/src/EntityFramework.Storage/src/Options/OperationalStoreOptions.cs index 0cf7bf1a..24e09f68 100644 --- a/src/EntityFramework.Storage/src/Options/OperationalStoreOptions.cs +++ b/src/EntityFramework.Storage/src/Options/OperationalStoreOptions.cs @@ -1,21 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System; -using Microsoft.EntityFrameworkCore; - namespace IdentityServer8.EntityFramework.Options { /// @@ -89,4 +83,4 @@ public class OperationalStoreOptions /// public int TokenCleanupBatchSize { get; set; } = 100; } -} \ No newline at end of file +} diff --git a/src/EntityFramework.Storage/src/Options/TableConfiguration.cs b/src/EntityFramework.Storage/src/Options/TableConfiguration.cs index ed79dcf6..1ea1ccad 100644 --- a/src/EntityFramework.Storage/src/Options/TableConfiguration.cs +++ b/src/EntityFramework.Storage/src/Options/TableConfiguration.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServer8.EntityFramework.Options @@ -56,4 +53,4 @@ public TableConfiguration(string name, string schema) /// public string Schema { get; set; } } -} \ No newline at end of file +} diff --git a/src/EntityFramework.Storage/src/Properties/AssemblyInfo.cs b/src/EntityFramework.Storage/src/Properties/AssemblyInfo.cs index 4e007674..86672bbd 100644 --- a/src/EntityFramework.Storage/src/Properties/AssemblyInfo.cs +++ b/src/EntityFramework.Storage/src/Properties/AssemblyInfo.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System.Runtime.CompilerServices; diff --git a/src/EntityFramework.Storage/src/Stores/ClientStore.cs b/src/EntityFramework.Storage/src/Stores/ClientStore.cs index b9b86974..06370bba 100644 --- a/src/EntityFramework.Storage/src/Stores/ClientStore.cs +++ b/src/EntityFramework.Storage/src/Stores/ClientStore.cs @@ -1,29 +1,17 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System; -using System.Linq; -using System.Threading.Tasks; -using IdentityServer8.EntityFramework.Interfaces; -using IdentityServer8.EntityFramework.Mappers; using IdentityServer8.Models; -using IdentityServer8.Stores; -using Microsoft.EntityFrameworkCore; -using Microsoft.Extensions.Logging; -using Microsoft.Extensions.DependencyInjection; -using Microsoft.DependencyInjection.Extensions; + namespace IdentityServer8.EntityFramework.Stores { /// @@ -87,4 +75,4 @@ public virtual async Task FindClientByIdAsync(string clientId) return model; } } -} \ No newline at end of file +} diff --git a/src/EntityFramework.Storage/src/Stores/DeviceFlowStore.cs b/src/EntityFramework.Storage/src/Stores/DeviceFlowStore.cs index c9ab951d..9d544ea6 100644 --- a/src/EntityFramework.Storage/src/Stores/DeviceFlowStore.cs +++ b/src/EntityFramework.Storage/src/Stores/DeviceFlowStore.cs @@ -1,29 +1,17 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System; -using System.Linq; -using System.Threading.Tasks; -using IdentityModel; using IdentityServer8.EntityFramework.Entities; -using IdentityServer8.EntityFramework.Interfaces; using IdentityServer8.Models; -using IdentityServer8.Stores; -using IdentityServer8.Stores.Serialization; -using Microsoft.EntityFrameworkCore; -using Microsoft.Extensions.Logging; namespace IdentityServer8.EntityFramework.Stores { @@ -208,4 +196,4 @@ protected DeviceCode ToModel(string entity) return Serializer.Deserialize(entity); } } -} \ No newline at end of file +} diff --git a/src/EntityFramework.Storage/src/Stores/PersistedGrantStore.cs b/src/EntityFramework.Storage/src/Stores/PersistedGrantStore.cs index 3ac9e3aa..0ae0641b 100644 --- a/src/EntityFramework.Storage/src/Stores/PersistedGrantStore.cs +++ b/src/EntityFramework.Storage/src/Stores/PersistedGrantStore.cs @@ -1,29 +1,16 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System.Collections.Generic; -using System.Linq; -using System.Threading.Tasks; -using IdentityServer8.EntityFramework.Interfaces; -using IdentityServer8.EntityFramework.Mappers; using IdentityServer8.Models; -using IdentityServer8.Stores; -using Microsoft.Extensions.Logging; -using Microsoft.EntityFrameworkCore; -using System; -using IdentityServer8.Extensions; namespace IdentityServer8.EntityFramework.Stores { @@ -181,4 +168,4 @@ public async Task RemoveAllAsync(PersistedGrantFilter filter) return query; } } -} \ No newline at end of file +} diff --git a/src/EntityFramework.Storage/src/Stores/ResourceStore.cs b/src/EntityFramework.Storage/src/Stores/ResourceStore.cs index f8c2822d..92eed376 100644 --- a/src/EntityFramework.Storage/src/Stores/ResourceStore.cs +++ b/src/EntityFramework.Storage/src/Stores/ResourceStore.cs @@ -1,28 +1,16 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Threading.Tasks; -using IdentityServer8.EntityFramework.Interfaces; -using IdentityServer8.EntityFramework.Mappers; using IdentityServer8.Models; -using IdentityServer8.Stores; -using Microsoft.EntityFrameworkCore; -using Microsoft.Extensions.Logging; namespace IdentityServer8.EntityFramework.Stores { @@ -210,4 +198,4 @@ public virtual async Task GetAllResourcesAsync() return result; } } -} \ No newline at end of file +} diff --git a/src/EntityFramework.Storage/src/TokenCleanup/IOperationalStoreNotification.cs b/src/EntityFramework.Storage/src/TokenCleanup/IOperationalStoreNotification.cs index d9bd095e..d8dda3e0 100644 --- a/src/EntityFramework.Storage/src/TokenCleanup/IOperationalStoreNotification.cs +++ b/src/EntityFramework.Storage/src/TokenCleanup/IOperationalStoreNotification.cs @@ -1,20 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System.Collections.Generic; -using System.Threading.Tasks; using IdentityServer8.EntityFramework.Entities; namespace IdentityServer8.EntityFramework @@ -38,4 +33,4 @@ public interface IOperationalStoreNotification /// Task DeviceCodesRemovedAsync(IEnumerable deviceCodes); } -} \ No newline at end of file +} diff --git a/src/EntityFramework.Storage/src/TokenCleanup/TokenCleanupService.cs b/src/EntityFramework.Storage/src/TokenCleanup/TokenCleanupService.cs index f9940b41..40f85172 100644 --- a/src/EntityFramework.Storage/src/TokenCleanup/TokenCleanupService.cs +++ b/src/EntityFramework.Storage/src/TokenCleanup/TokenCleanupService.cs @@ -1,27 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System; -using System.Linq; -using System.Threading.Tasks; -using IdentityServer8.EntityFramework.Entities; -using IdentityServer8.EntityFramework.Interfaces; -using IdentityServer8.EntityFramework.Options; -using Microsoft.EntityFrameworkCore; -using Microsoft.Extensions.Logging; - namespace IdentityServer8.EntityFramework { /// @@ -170,4 +158,4 @@ private async Task SaveChangesAsync() _logger.LogDebug("Too many concurrency exceptions. Exiting."); } } -} \ No newline at end of file +} diff --git a/src/EntityFramework.Storage/test/IntegrationTests/DatabaseProviderBuilder.cs b/src/EntityFramework.Storage/test/IntegrationTests/DatabaseProviderBuilder.cs index 9ce81981..5b3e44e1 100644 --- a/src/EntityFramework.Storage/test/IntegrationTests/DatabaseProviderBuilder.cs +++ b/src/EntityFramework.Storage/test/IntegrationTests/DatabaseProviderBuilder.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using Microsoft.EntityFrameworkCore; @@ -43,4 +40,4 @@ public static DbContextOptions BuildLocalDb(string name) where T : DbConte $@"Data Source=(LocalDb)\MSSQLLocalDB;database=Test.IdentityServer8.EntityFramework-3.1.0.{name};trusted_connection=yes;"); return builder.Options; } -} \ No newline at end of file +} diff --git a/src/EntityFramework.Storage/test/IntegrationTests/DatabaseProviderFixture.cs b/src/EntityFramework.Storage/test/IntegrationTests/DatabaseProviderFixture.cs index f43b8fba..854e8639 100644 --- a/src/EntityFramework.Storage/test/IntegrationTests/DatabaseProviderFixture.cs +++ b/src/EntityFramework.Storage/test/IntegrationTests/DatabaseProviderFixture.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System; @@ -42,4 +39,4 @@ public void Dispose() } } } -} \ No newline at end of file +} diff --git a/src/EntityFramework.Storage/test/IntegrationTests/DbContexts/ClientDbContextTests.cs b/src/EntityFramework.Storage/test/IntegrationTests/DbContexts/ClientDbContextTests.cs index 41a4a89a..283bbe56 100644 --- a/src/EntityFramework.Storage/test/IntegrationTests/DbContexts/ClientDbContextTests.cs +++ b/src/EntityFramework.Storage/test/IntegrationTests/DbContexts/ClientDbContextTests.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using IdentityServer8.EntityFramework.DbContexts; @@ -121,4 +118,4 @@ public void CanAddAndDeleteClientRedirectUri(DbContextOptions fixture) fixture.Options = TestDatabaseProviders.SelectMany(x => x.Select(y => (DbContextOptions)y)).ToList(); fixture.StoreOptions = StoreOptions; } -} \ No newline at end of file +} diff --git a/src/EntityFramework.Storage/test/IntegrationTests/Stores/ClientStoreTests.cs b/src/EntityFramework.Storage/test/IntegrationTests/Stores/ClientStoreTests.cs index e7352d8e..b138988e 100644 --- a/src/EntityFramework.Storage/test/IntegrationTests/Stores/ClientStoreTests.cs +++ b/src/EntityFramework.Storage/test/IntegrationTests/Stores/ClientStoreTests.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System; @@ -168,4 +165,4 @@ public async Task FindClientByIdAsync_WhenClientsExistWithManyCollections_Expect } } } -} \ No newline at end of file +} diff --git a/src/EntityFramework.Storage/test/IntegrationTests/Stores/DeviceFlowStoreTests.cs b/src/EntityFramework.Storage/test/IntegrationTests/Stores/DeviceFlowStoreTests.cs index 80e3eb52..66a2dede 100644 --- a/src/EntityFramework.Storage/test/IntegrationTests/Stores/DeviceFlowStoreTests.cs +++ b/src/EntityFramework.Storage/test/IntegrationTests/Stores/DeviceFlowStoreTests.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using FluentAssertions; @@ -417,4 +414,4 @@ public async Task RemoveByDeviceCodeAsync_WhenDeviceCodeDoesNotExists_ExpectSucc await store.RemoveByDeviceCodeAsync($"device_{Guid.NewGuid().ToString()}"); } } -} \ No newline at end of file +} diff --git a/src/EntityFramework.Storage/test/IntegrationTests/Stores/PersistedGrantStoreTests.cs b/src/EntityFramework.Storage/test/IntegrationTests/Stores/PersistedGrantStoreTests.cs index 55da9a10..b53d1588 100644 --- a/src/EntityFramework.Storage/test/IntegrationTests/Stores/PersistedGrantStoreTests.cs +++ b/src/EntityFramework.Storage/test/IntegrationTests/Stores/PersistedGrantStoreTests.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System; @@ -482,4 +479,4 @@ public async Task Store_should_update_record_if_key_already_exists(DbContextOpti Assert.Equal(newDate, persistedGrant.Expiration); } } -} \ No newline at end of file +} diff --git a/src/EntityFramework.Storage/test/IntegrationTests/Stores/ResourceStoreTests.cs b/src/EntityFramework.Storage/test/IntegrationTests/Stores/ResourceStoreTests.cs index 54ed3d6a..7faa7607 100644 --- a/src/EntityFramework.Storage/test/IntegrationTests/Stores/ResourceStoreTests.cs +++ b/src/EntityFramework.Storage/test/IntegrationTests/Stores/ResourceStoreTests.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System; @@ -381,4 +378,4 @@ public async Task GetAllResources_WhenAllResourcesRequested_ExpectAllResourcesIn Assert.Contains(resources.ApiScopes, x => x.Name == visibleApiScope.Name); Assert.Contains(resources.ApiScopes, x => x.Name == hiddenApiScope.Name); } -} \ No newline at end of file +} diff --git a/src/EntityFramework.Storage/test/IntegrationTests/TokenCleanup/TokenCleanupTests.cs b/src/EntityFramework.Storage/test/IntegrationTests/TokenCleanup/TokenCleanupTests.cs index b6899a43..369fefae 100644 --- a/src/EntityFramework.Storage/test/IntegrationTests/TokenCleanup/TokenCleanupTests.cs +++ b/src/EntityFramework.Storage/test/IntegrationTests/TokenCleanup/TokenCleanupTests.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System; @@ -179,4 +176,4 @@ private EntityFramework.TokenCleanupService CreateSut(DbContextOptions(), // StoreOptions); } -} \ No newline at end of file +} diff --git a/src/EntityFramework.Storage/test/UnitTests/Mappers/ApiResourceMappersTests.cs b/src/EntityFramework.Storage/test/UnitTests/Mappers/ApiResourceMappersTests.cs index daa2ece7..c7d13dad 100644 --- a/src/EntityFramework.Storage/test/UnitTests/Mappers/ApiResourceMappersTests.cs +++ b/src/EntityFramework.Storage/test/UnitTests/Mappers/ApiResourceMappersTests.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System.Linq; @@ -91,4 +88,4 @@ public void missing_values_should_use_defaults() var model = entity.ToModel(); model.ApiSecrets.First().Type.Should().Be(def.ApiSecrets.First().Type); } -} \ No newline at end of file +} diff --git a/src/EntityFramework.Storage/test/UnitTests/Mappers/ClientMappersTests.cs b/src/EntityFramework.Storage/test/UnitTests/Mappers/ClientMappersTests.cs index c5d0356b..fac6d35e 100644 --- a/src/EntityFramework.Storage/test/UnitTests/Mappers/ClientMappersTests.cs +++ b/src/EntityFramework.Storage/test/UnitTests/Mappers/ClientMappersTests.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System; @@ -113,4 +110,4 @@ public void missing_values_should_use_defaults() model.ProtocolType.Should().Be(def.ProtocolType); model.ClientSecrets.First().Type.Should().Be(def.ClientSecrets.First().Type); } -} \ No newline at end of file +} diff --git a/src/EntityFramework.Storage/test/UnitTests/Mappers/IdentityResourcesMappersTests.cs b/src/EntityFramework.Storage/test/UnitTests/Mappers/IdentityResourcesMappersTests.cs index 2d3205b5..9895eaaf 100644 --- a/src/EntityFramework.Storage/test/UnitTests/Mappers/IdentityResourcesMappersTests.cs +++ b/src/EntityFramework.Storage/test/UnitTests/Mappers/IdentityResourcesMappersTests.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using IdentityServer8.EntityFramework.Mappers; @@ -37,4 +34,4 @@ public void CanMapIdentityResources() Assert.NotNull(mappedModel); Assert.NotNull(mappedEntity); } -} \ No newline at end of file +} diff --git a/src/EntityFramework.Storage/test/UnitTests/Mappers/PersistedGrantMappersTests.cs b/src/EntityFramework.Storage/test/UnitTests/Mappers/PersistedGrantMappersTests.cs index 42acf2db..6a3a6bb2 100644 --- a/src/EntityFramework.Storage/test/UnitTests/Mappers/PersistedGrantMappersTests.cs +++ b/src/EntityFramework.Storage/test/UnitTests/Mappers/PersistedGrantMappersTests.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using FluentAssertions; @@ -45,4 +42,4 @@ public void CanMap() Assert.NotNull(mappedModel); Assert.NotNull(mappedEntity); } -} \ No newline at end of file +} diff --git a/src/EntityFramework.Storage/test/UnitTests/Mappers/ScopeMappersTests.cs b/src/EntityFramework.Storage/test/UnitTests/Mappers/ScopeMappersTests.cs index 491b56f9..57d61a99 100644 --- a/src/EntityFramework.Storage/test/UnitTests/Mappers/ScopeMappersTests.cs +++ b/src/EntityFramework.Storage/test/UnitTests/Mappers/ScopeMappersTests.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System.Linq; @@ -81,4 +78,4 @@ public void Properties_Map() mappedModel.Properties["x"].Should().Be("xx"); mappedModel.Properties["y"].Should().Be("yy"); } -} \ No newline at end of file +} diff --git a/src/EntityFramework/host/Program.cs b/src/EntityFramework/host/Program.cs index 9b8982aa..efad7a99 100644 --- a/src/EntityFramework/host/Program.cs +++ b/src/EntityFramework/host/Program.cs @@ -1,3 +1,15 @@ +/* + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ + + Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. + + Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. + Source code and license this software can be found + + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. +*/ + // Copyright (c) Brock Allen & Dominick Baier. All rights reserved. // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. @@ -62,4 +74,4 @@ public static IHostBuilder CreateHostBuilder(string[] args) => webBuilder.UseStartup(); }); } -} \ No newline at end of file +} diff --git a/src/EntityFramework/host/Quickstart/Account/AccountController.cs b/src/EntityFramework/host/Quickstart/Account/AccountController.cs index 492f91b3..7345275a 100644 --- a/src/EntityFramework/host/Quickstart/Account/AccountController.cs +++ b/src/EntityFramework/host/Quickstart/Account/AccountController.cs @@ -1,3 +1,15 @@ +/* + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ + + Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. + + Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. + Source code and license this software can be found + + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. +*/ + // Copyright (c) Brock Allen & Dominick Baier. All rights reserved. // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. diff --git a/src/EntityFramework/host/Quickstart/Account/AccountOptions.cs b/src/EntityFramework/host/Quickstart/Account/AccountOptions.cs index 552f1907..bc64e1ce 100644 --- a/src/EntityFramework/host/Quickstart/Account/AccountOptions.cs +++ b/src/EntityFramework/host/Quickstart/Account/AccountOptions.cs @@ -1,4 +1,16 @@ -// Copyright (c) Brock Allen & Dominick Baier. All rights reserved. +/* + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ + + Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. + + Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. + Source code and license this software can be found + + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. +*/ + +// Copyright (c) Brock Allen & Dominick Baier. All rights reserved. // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. diff --git a/src/EntityFramework/host/Quickstart/Account/ExternalController.cs b/src/EntityFramework/host/Quickstart/Account/ExternalController.cs index 473da8a9..e7e01d69 100644 --- a/src/EntityFramework/host/Quickstart/Account/ExternalController.cs +++ b/src/EntityFramework/host/Quickstart/Account/ExternalController.cs @@ -1,3 +1,15 @@ +/* + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ + + Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. + + Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. + Source code and license this software can be found + + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. +*/ + using IdentityModel; using IdentityServer8; using IdentityServer8.Events; @@ -193,4 +205,4 @@ private void ProcessLoginCallback(AuthenticateResult externalResult, List } } } -} \ No newline at end of file +} diff --git a/src/EntityFramework/host/Quickstart/Account/ExternalProvider.cs b/src/EntityFramework/host/Quickstart/Account/ExternalProvider.cs index a1831137..64a7b096 100644 --- a/src/EntityFramework/host/Quickstart/Account/ExternalProvider.cs +++ b/src/EntityFramework/host/Quickstart/Account/ExternalProvider.cs @@ -1,4 +1,16 @@ -// Copyright (c) Brock Allen & Dominick Baier. All rights reserved. +/* + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ + + Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. + + Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. + Source code and license this software can be found + + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. +*/ + +// Copyright (c) Brock Allen & Dominick Baier. All rights reserved. // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. @@ -9,4 +21,4 @@ public class ExternalProvider public string DisplayName { get; set; } public string AuthenticationScheme { get; set; } } -} \ No newline at end of file +} diff --git a/src/EntityFramework/host/Quickstart/Account/LoggedOutViewModel.cs b/src/EntityFramework/host/Quickstart/Account/LoggedOutViewModel.cs index 63688328..1f8c673a 100644 --- a/src/EntityFramework/host/Quickstart/Account/LoggedOutViewModel.cs +++ b/src/EntityFramework/host/Quickstart/Account/LoggedOutViewModel.cs @@ -1,3 +1,15 @@ +/* + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ + + Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. + + Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. + Source code and license this software can be found + + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. +*/ + // Copyright (c) Brock Allen & Dominick Baier. All rights reserved. // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. @@ -16,4 +28,4 @@ public class LoggedOutViewModel public bool TriggerExternalSignout => ExternalAuthenticationScheme != null; public string ExternalAuthenticationScheme { get; set; } } -} \ No newline at end of file +} diff --git a/src/EntityFramework/host/Quickstart/Account/LoginInputModel.cs b/src/EntityFramework/host/Quickstart/Account/LoginInputModel.cs index bcb7853a..4ccb3653 100644 --- a/src/EntityFramework/host/Quickstart/Account/LoginInputModel.cs +++ b/src/EntityFramework/host/Quickstart/Account/LoginInputModel.cs @@ -1,3 +1,15 @@ +/* + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ + + Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. + + Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. + Source code and license this software can be found + + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. +*/ + // Copyright (c) Brock Allen & Dominick Baier. All rights reserved. // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. @@ -15,4 +27,4 @@ public class LoginInputModel public bool RememberLogin { get; set; } public string ReturnUrl { get; set; } } -} \ No newline at end of file +} diff --git a/src/EntityFramework/host/Quickstart/Account/LoginViewModel.cs b/src/EntityFramework/host/Quickstart/Account/LoginViewModel.cs index 9bf6c8f3..2e0f3157 100644 --- a/src/EntityFramework/host/Quickstart/Account/LoginViewModel.cs +++ b/src/EntityFramework/host/Quickstart/Account/LoginViewModel.cs @@ -1,3 +1,15 @@ +/* + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ + + Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. + + Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. + Source code and license this software can be found + + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. +*/ + // Copyright (c) Brock Allen & Dominick Baier. All rights reserved. // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. @@ -19,4 +31,4 @@ public class LoginViewModel : LoginInputModel public bool IsExternalLoginOnly => EnableLocalLogin == false && ExternalProviders?.Count() == 1; public string ExternalLoginScheme => IsExternalLoginOnly ? ExternalProviders?.SingleOrDefault()?.AuthenticationScheme : null; } -} \ No newline at end of file +} diff --git a/src/EntityFramework/host/Quickstart/Account/LogoutInputModel.cs b/src/EntityFramework/host/Quickstart/Account/LogoutInputModel.cs index bb74202e..66a1f6c1 100644 --- a/src/EntityFramework/host/Quickstart/Account/LogoutInputModel.cs +++ b/src/EntityFramework/host/Quickstart/Account/LogoutInputModel.cs @@ -1,4 +1,16 @@ -// Copyright (c) Brock Allen & Dominick Baier. All rights reserved. +/* + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ + + Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. + + Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. + Source code and license this software can be found + + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. +*/ + +// Copyright (c) Brock Allen & Dominick Baier. All rights reserved. // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. diff --git a/src/EntityFramework/host/Quickstart/Account/LogoutViewModel.cs b/src/EntityFramework/host/Quickstart/Account/LogoutViewModel.cs index 236cd6c8..8a19b3af 100644 --- a/src/EntityFramework/host/Quickstart/Account/LogoutViewModel.cs +++ b/src/EntityFramework/host/Quickstart/Account/LogoutViewModel.cs @@ -1,3 +1,15 @@ +/* + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ + + Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. + + Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. + Source code and license this software can be found + + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. +*/ + // Copyright (c) Brock Allen & Dominick Baier. All rights reserved. // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. diff --git a/src/EntityFramework/host/Quickstart/Account/RedirectViewModel.cs b/src/EntityFramework/host/Quickstart/Account/RedirectViewModel.cs index 904ae206..e2300be4 100644 --- a/src/EntityFramework/host/Quickstart/Account/RedirectViewModel.cs +++ b/src/EntityFramework/host/Quickstart/Account/RedirectViewModel.cs @@ -1,3 +1,15 @@ +/* + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ + + Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. + + Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. + Source code and license this software can be found + + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. +*/ + // Copyright (c) Brock Allen & Dominick Baier. All rights reserved. // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. @@ -9,4 +21,4 @@ public class RedirectViewModel { public string RedirectUrl { get; set; } } -} \ No newline at end of file +} diff --git a/src/EntityFramework/host/Quickstart/Consent/ConsentController.cs b/src/EntityFramework/host/Quickstart/Consent/ConsentController.cs index 685aabc4..b59818e3 100644 --- a/src/EntityFramework/host/Quickstart/Consent/ConsentController.cs +++ b/src/EntityFramework/host/Quickstart/Consent/ConsentController.cs @@ -1,3 +1,15 @@ +/* + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ + + Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. + + Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. + Source code and license this software can be found + + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. +*/ + // Copyright (c) Brock Allen & Dominick Baier. All rights reserved. // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. @@ -259,4 +271,4 @@ private ScopeViewModel GetOfflineAccessScope(bool check) }; } } -} \ No newline at end of file +} diff --git a/src/EntityFramework/host/Quickstart/Consent/ConsentInputModel.cs b/src/EntityFramework/host/Quickstart/Consent/ConsentInputModel.cs index f608fe3b..ed04af0b 100644 --- a/src/EntityFramework/host/Quickstart/Consent/ConsentInputModel.cs +++ b/src/EntityFramework/host/Quickstart/Consent/ConsentInputModel.cs @@ -1,4 +1,16 @@ -// Copyright (c) Brock Allen & Dominick Baier. All rights reserved. +/* + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ + + Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. + + Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. + Source code and license this software can be found + + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. +*/ + +// Copyright (c) Brock Allen & Dominick Baier. All rights reserved. // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. @@ -14,4 +26,4 @@ public class ConsentInputModel public string ReturnUrl { get; set; } public string Description { get; set; } } -} \ No newline at end of file +} diff --git a/src/EntityFramework/host/Quickstart/Consent/ConsentOptions.cs b/src/EntityFramework/host/Quickstart/Consent/ConsentOptions.cs index 998c51dc..31492204 100644 --- a/src/EntityFramework/host/Quickstart/Consent/ConsentOptions.cs +++ b/src/EntityFramework/host/Quickstart/Consent/ConsentOptions.cs @@ -1,4 +1,16 @@ -// Copyright (c) Brock Allen & Dominick Baier. All rights reserved. +/* + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ + + Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. + + Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. + Source code and license this software can be found + + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. +*/ + +// Copyright (c) Brock Allen & Dominick Baier. All rights reserved. // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. diff --git a/src/EntityFramework/host/Quickstart/Consent/ConsentViewModel.cs b/src/EntityFramework/host/Quickstart/Consent/ConsentViewModel.cs index af4b9c5c..6a8ad007 100644 --- a/src/EntityFramework/host/Quickstart/Consent/ConsentViewModel.cs +++ b/src/EntityFramework/host/Quickstart/Consent/ConsentViewModel.cs @@ -1,4 +1,16 @@ -// Copyright (c) Brock Allen & Dominick Baier. All rights reserved. +/* + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ + + Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. + + Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. + Source code and license this software can be found + + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. +*/ + +// Copyright (c) Brock Allen & Dominick Baier. All rights reserved. // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. diff --git a/src/EntityFramework/host/Quickstart/Consent/ProcessConsentResult.cs b/src/EntityFramework/host/Quickstart/Consent/ProcessConsentResult.cs index 179d00c4..05d6ae9d 100644 --- a/src/EntityFramework/host/Quickstart/Consent/ProcessConsentResult.cs +++ b/src/EntityFramework/host/Quickstart/Consent/ProcessConsentResult.cs @@ -1,3 +1,15 @@ +/* + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ + + Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. + + Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. + Source code and license this software can be found + + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. +*/ + // Copyright (c) Brock Allen & Dominick Baier. All rights reserved. // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. diff --git a/src/EntityFramework/host/Quickstart/Consent/ScopeViewModel.cs b/src/EntityFramework/host/Quickstart/Consent/ScopeViewModel.cs index 532d1b1a..3c29c992 100644 --- a/src/EntityFramework/host/Quickstart/Consent/ScopeViewModel.cs +++ b/src/EntityFramework/host/Quickstart/Consent/ScopeViewModel.cs @@ -1,4 +1,16 @@ -// Copyright (c) Brock Allen & Dominick Baier. All rights reserved. +/* + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ + + Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. + + Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. + Source code and license this software can be found + + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. +*/ + +// Copyright (c) Brock Allen & Dominick Baier. All rights reserved. // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. diff --git a/src/EntityFramework/host/Quickstart/Device/DeviceAuthorizationInputModel.cs b/src/EntityFramework/host/Quickstart/Device/DeviceAuthorizationInputModel.cs index a221181e..938995d7 100644 --- a/src/EntityFramework/host/Quickstart/Device/DeviceAuthorizationInputModel.cs +++ b/src/EntityFramework/host/Quickstart/Device/DeviceAuthorizationInputModel.cs @@ -1,3 +1,15 @@ +/* + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ + + Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. + + Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. + Source code and license this software can be found + + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. +*/ + // Copyright (c) Brock Allen & Dominick Baier. All rights reserved. // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. @@ -8,4 +20,4 @@ public class DeviceAuthorizationInputModel : ConsentInputModel { public string UserCode { get; set; } } -} \ No newline at end of file +} diff --git a/src/EntityFramework/host/Quickstart/Device/DeviceAuthorizationViewModel.cs b/src/EntityFramework/host/Quickstart/Device/DeviceAuthorizationViewModel.cs index 3e8857f6..e56ab677 100644 --- a/src/EntityFramework/host/Quickstart/Device/DeviceAuthorizationViewModel.cs +++ b/src/EntityFramework/host/Quickstart/Device/DeviceAuthorizationViewModel.cs @@ -1,3 +1,15 @@ +/* + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ + + Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. + + Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. + Source code and license this software can be found + + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. +*/ + // Copyright (c) Brock Allen & Dominick Baier. All rights reserved. // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. @@ -9,4 +21,4 @@ public class DeviceAuthorizationViewModel : ConsentViewModel public string UserCode { get; set; } public bool ConfirmUserCode { get; set; } } -} \ No newline at end of file +} diff --git a/src/EntityFramework/host/Quickstart/Device/DeviceController.cs b/src/EntityFramework/host/Quickstart/Device/DeviceController.cs index 5fcf27e4..dddd6ba8 100644 --- a/src/EntityFramework/host/Quickstart/Device/DeviceController.cs +++ b/src/EntityFramework/host/Quickstart/Device/DeviceController.cs @@ -1,3 +1,15 @@ +/* + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ + + Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. + + Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. + Source code and license this software can be found + + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. +*/ + // Copyright (c) Brock Allen & Dominick Baier. All rights reserved. // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. @@ -229,4 +241,4 @@ private ScopeViewModel GetOfflineAccessScope(bool check) }; } } -} \ No newline at end of file +} diff --git a/src/EntityFramework/host/Quickstart/Diagnostics/DiagnosticsController.cs b/src/EntityFramework/host/Quickstart/Diagnostics/DiagnosticsController.cs index 57c2f55f..629c043e 100644 --- a/src/EntityFramework/host/Quickstart/Diagnostics/DiagnosticsController.cs +++ b/src/EntityFramework/host/Quickstart/Diagnostics/DiagnosticsController.cs @@ -1,3 +1,15 @@ +/* + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ + + Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. + + Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. + Source code and license this software can be found + + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. +*/ + // Copyright (c) Brock Allen & Dominick Baier. All rights reserved. // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. @@ -26,4 +38,4 @@ public async Task Index() return View(model); } } -} \ No newline at end of file +} diff --git a/src/EntityFramework/host/Quickstart/Diagnostics/DiagnosticsViewModel.cs b/src/EntityFramework/host/Quickstart/Diagnostics/DiagnosticsViewModel.cs index f43c7685..ac649642 100644 --- a/src/EntityFramework/host/Quickstart/Diagnostics/DiagnosticsViewModel.cs +++ b/src/EntityFramework/host/Quickstart/Diagnostics/DiagnosticsViewModel.cs @@ -1,3 +1,15 @@ +/* + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ + + Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. + + Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. + Source code and license this software can be found + + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. +*/ + // Copyright (c) Brock Allen & Dominick Baier. All rights reserved. // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. @@ -29,4 +41,4 @@ public DiagnosticsViewModel(AuthenticateResult result) public AuthenticateResult AuthenticateResult { get; } public IEnumerable Clients { get; } = new List(); } -} \ No newline at end of file +} diff --git a/src/EntityFramework/host/Quickstart/Extensions.cs b/src/EntityFramework/host/Quickstart/Extensions.cs index b04c3265..98ad818e 100644 --- a/src/EntityFramework/host/Quickstart/Extensions.cs +++ b/src/EntityFramework/host/Quickstart/Extensions.cs @@ -1,3 +1,15 @@ +/* + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ + + Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. + + Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. + Source code and license this software can be found + + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. +*/ + using System; using IdentityServer8.Models; using Microsoft.AspNetCore.Mvc; diff --git a/src/EntityFramework/host/Quickstart/Grants/GrantsController.cs b/src/EntityFramework/host/Quickstart/Grants/GrantsController.cs index 3cdd7aa3..07cecdf9 100644 --- a/src/EntityFramework/host/Quickstart/Grants/GrantsController.cs +++ b/src/EntityFramework/host/Quickstart/Grants/GrantsController.cs @@ -1,3 +1,15 @@ +/* + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ + + Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. + + Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. + Source code and license this software can be found + + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. +*/ + // Copyright (c) Brock Allen & Dominick Baier. All rights reserved. // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. @@ -94,4 +106,4 @@ private async Task BuildViewModelAsync() }; } } -} \ No newline at end of file +} diff --git a/src/EntityFramework/host/Quickstart/Grants/GrantsViewModel.cs b/src/EntityFramework/host/Quickstart/Grants/GrantsViewModel.cs index 2114deeb..bb712f4a 100644 --- a/src/EntityFramework/host/Quickstart/Grants/GrantsViewModel.cs +++ b/src/EntityFramework/host/Quickstart/Grants/GrantsViewModel.cs @@ -1,4 +1,16 @@ -// Copyright (c) Brock Allen & Dominick Baier. All rights reserved. +/* + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ + + Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. + + Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. + Source code and license this software can be found + + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. +*/ + +// Copyright (c) Brock Allen & Dominick Baier. All rights reserved. // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. @@ -24,4 +36,4 @@ public class GrantViewModel public IEnumerable IdentityGrantNames { get; set; } public IEnumerable ApiGrantNames { get; set; } } -} \ No newline at end of file +} diff --git a/src/EntityFramework/host/Quickstart/Home/ErrorViewModel.cs b/src/EntityFramework/host/Quickstart/Home/ErrorViewModel.cs index 9cfe0d9f..9958b4f7 100644 --- a/src/EntityFramework/host/Quickstart/Home/ErrorViewModel.cs +++ b/src/EntityFramework/host/Quickstart/Home/ErrorViewModel.cs @@ -1,3 +1,15 @@ +/* + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ + + Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. + + Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. + Source code and license this software can be found + + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. +*/ + // Copyright (c) Brock Allen & Dominick Baier. All rights reserved. // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. @@ -19,4 +31,4 @@ public ErrorViewModel(string error) public ErrorMessage Error { get; set; } } -} \ No newline at end of file +} diff --git a/src/EntityFramework/host/Quickstart/Home/HomeController.cs b/src/EntityFramework/host/Quickstart/Home/HomeController.cs index c579c615..a18f9d47 100644 --- a/src/EntityFramework/host/Quickstart/Home/HomeController.cs +++ b/src/EntityFramework/host/Quickstart/Home/HomeController.cs @@ -1,3 +1,15 @@ +/* + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ + + Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. + + Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. + Source code and license this software can be found + + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. +*/ + // Copyright (c) Brock Allen & Dominick Baier. All rights reserved. // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. @@ -62,4 +74,4 @@ public async Task Error(string errorId) return View("Error", vm); } } -} \ No newline at end of file +} diff --git a/src/EntityFramework/host/Quickstart/SecurityHeadersAttribute.cs b/src/EntityFramework/host/Quickstart/SecurityHeadersAttribute.cs index 93ca67ff..d3bd8c47 100644 --- a/src/EntityFramework/host/Quickstart/SecurityHeadersAttribute.cs +++ b/src/EntityFramework/host/Quickstart/SecurityHeadersAttribute.cs @@ -1,4 +1,16 @@ -// Copyright (c) Brock Allen & Dominick Baier. All rights reserved. +/* + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ + + Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. + + Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. + Source code and license this software can be found + + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. +*/ + +// Copyright (c) Brock Allen & Dominick Baier. All rights reserved. // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. diff --git a/src/EntityFramework/host/Quickstart/TestUsers.cs b/src/EntityFramework/host/Quickstart/TestUsers.cs index 418d7ebf..3d39e3ec 100644 --- a/src/EntityFramework/host/Quickstart/TestUsers.cs +++ b/src/EntityFramework/host/Quickstart/TestUsers.cs @@ -1,3 +1,15 @@ +/* + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ + + Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. + + Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. + Source code and license this software can be found + + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. +*/ + // Copyright (c) Brock Allen & Dominick Baier. All rights reserved. // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. @@ -40,4 +52,4 @@ public class TestUsers } }; } -} \ No newline at end of file +} diff --git a/src/EntityFramework/host/Startup.cs b/src/EntityFramework/host/Startup.cs index 0e67fbd6..cfcdc455 100644 --- a/src/EntityFramework/host/Startup.cs +++ b/src/EntityFramework/host/Startup.cs @@ -1,4 +1,16 @@ -// Copyright (c) Brock Allen & Dominick Baier. All rights reserved. +/* + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ + + Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. + + Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. + Source code and license this software can be found + + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. +*/ + +// Copyright (c) Brock Allen & Dominick Baier. All rights reserved. // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. diff --git a/src/EntityFramework/host/TestOperationalStoreNotification.cs b/src/EntityFramework/host/TestOperationalStoreNotification.cs index 7aee5ad3..8429256d 100644 --- a/src/EntityFramework/host/TestOperationalStoreNotification.cs +++ b/src/EntityFramework/host/TestOperationalStoreNotification.cs @@ -1,3 +1,15 @@ +/* + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ + + Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. + + Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. + Source code and license this software can be found + + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. +*/ + using System; using System.Collections.Generic; using System.Threading.Tasks; diff --git a/src/EntityFramework/migrations/SqlServer/Configuration/Clients.cs b/src/EntityFramework/migrations/SqlServer/Configuration/Clients.cs index 799a17a4..75785b71 100644 --- a/src/EntityFramework/migrations/SqlServer/Configuration/Clients.cs +++ b/src/EntityFramework/migrations/SqlServer/Configuration/Clients.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using IdentityServer8.Models; @@ -29,4 +26,4 @@ public static IEnumerable Get() return clients; } -} \ No newline at end of file +} diff --git a/src/EntityFramework/migrations/SqlServer/Configuration/ClientsConsole.cs b/src/EntityFramework/migrations/SqlServer/Configuration/ClientsConsole.cs index 9cfb95d8..1ec6ddc1 100644 --- a/src/EntityFramework/migrations/SqlServer/Configuration/ClientsConsole.cs +++ b/src/EntityFramework/migrations/SqlServer/Configuration/ClientsConsole.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System.Collections.Generic; @@ -225,4 +222,4 @@ public static IEnumerable Get() } }; } -} \ No newline at end of file +} diff --git a/src/EntityFramework/migrations/SqlServer/Configuration/ClientsWeb.cs b/src/EntityFramework/migrations/SqlServer/Configuration/ClientsWeb.cs index 73e4cfc8..2456508a 100644 --- a/src/EntityFramework/migrations/SqlServer/Configuration/ClientsWeb.cs +++ b/src/EntityFramework/migrations/SqlServer/Configuration/ClientsWeb.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System.Collections.Generic; @@ -140,4 +137,4 @@ public static IEnumerable Get() } }; } -} \ No newline at end of file +} diff --git a/src/EntityFramework/migrations/SqlServer/Configuration/Resources.cs b/src/EntityFramework/migrations/SqlServer/Configuration/Resources.cs index f8126dd9..22b7b70e 100644 --- a/src/EntityFramework/migrations/SqlServer/Configuration/Resources.cs +++ b/src/EntityFramework/migrations/SqlServer/Configuration/Resources.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using IdentityModel; diff --git a/src/EntityFramework/migrations/SqlServer/Program.cs b/src/EntityFramework/migrations/SqlServer/Program.cs index 4c697008..8a74b697 100644 --- a/src/EntityFramework/migrations/SqlServer/Program.cs +++ b/src/EntityFramework/migrations/SqlServer/Program.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using Microsoft.AspNetCore; diff --git a/src/EntityFramework/migrations/SqlServer/SeedData.cs b/src/EntityFramework/migrations/SqlServer/SeedData.cs index 519f7e74..dfa7833c 100644 --- a/src/EntityFramework/migrations/SqlServer/SeedData.cs +++ b/src/EntityFramework/migrations/SqlServer/SeedData.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System; diff --git a/src/EntityFramework/migrations/SqlServer/Startup.cs b/src/EntityFramework/migrations/SqlServer/Startup.cs index 472431dd..310e1b45 100644 --- a/src/EntityFramework/migrations/SqlServer/Startup.cs +++ b/src/EntityFramework/migrations/SqlServer/Startup.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using Microsoft.AspNetCore.Builder; diff --git a/src/EntityFramework/src/GlobalUsings.cs b/src/EntityFramework/src/GlobalUsings.cs new file mode 100644 index 00000000..0898eb1a --- /dev/null +++ b/src/EntityFramework/src/GlobalUsings.cs @@ -0,0 +1,27 @@ +/* + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ + + Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. + + Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. + Source code and license this software can be found + + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. +*/ + +global using IdentityServer8.EntityFramework; +global using IdentityServer8.EntityFramework.DbContexts; +global using IdentityServer8.EntityFramework.Interfaces; +global using IdentityServer8.EntityFramework.Options; +global using IdentityServer8.EntityFramework.Services; +global using IdentityServer8.EntityFramework.Storage; +global using IdentityServer8.EntityFramework.Stores; +global using IdentityServer8.Services; +global using IdentityServer8.Stores; +global using Microsoft.AspNetCore.Http; +global using Microsoft.DependencyInjection.Extensions; +global using Microsoft.EntityFrameworkCore; +global using Microsoft.Extensions.DependencyInjection; +global using Microsoft.Extensions.Hosting; +global using Microsoft.Extensions.Logging; diff --git a/src/EntityFramework/src/IdentityServerEntityFrameworkBuilderExtensions.cs b/src/EntityFramework/src/IdentityServerEntityFrameworkBuilderExtensions.cs index 716c50f8..cab0614e 100644 --- a/src/EntityFramework/src/IdentityServerEntityFrameworkBuilderExtensions.cs +++ b/src/EntityFramework/src/IdentityServerEntityFrameworkBuilderExtensions.cs @@ -1,30 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityServer8.EntityFramework.DbContexts; -using IdentityServer8.EntityFramework.Interfaces; -using IdentityServer8.EntityFramework.Services; -using IdentityServer8.EntityFramework.Stores; -using IdentityServer8.Stores; -using System; -using IdentityServer8.EntityFramework.Options; -using IdentityServer8.EntityFramework; -using IdentityServer8.EntityFramework.Storage; -using Microsoft.EntityFrameworkCore; -using Microsoft.Extensions.Hosting; - namespace Microsoft.Extensions.DependencyInjection; /// diff --git a/src/EntityFramework/src/Services/CorsPolicyService.cs b/src/EntityFramework/src/Services/CorsPolicyService.cs index 0f74ee0d..63e8ea50 100644 --- a/src/EntityFramework/src/Services/CorsPolicyService.cs +++ b/src/EntityFramework/src/Services/CorsPolicyService.cs @@ -1,29 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System; -using System.Threading.Tasks; -using IdentityServer8.Services; -using System.Linq; -using IdentityServer8.EntityFramework.Interfaces; -using Microsoft.Extensions.Logging; -using Microsoft.AspNetCore.Http; -using Microsoft.Extensions.DependencyInjection; -using Microsoft.EntityFrameworkCore; -using Microsoft.DependencyInjection.Extensions; - namespace IdentityServer8.EntityFramework.Services; /// @@ -69,4 +55,4 @@ public async Task IsOriginAllowedAsync(string origin) return isAllowed; } -} \ No newline at end of file +} diff --git a/src/EntityFramework/src/TokenCleanupHost.cs b/src/EntityFramework/src/TokenCleanupHost.cs index fee06519..972ac3fd 100644 --- a/src/EntityFramework/src/TokenCleanupHost.cs +++ b/src/EntityFramework/src/TokenCleanupHost.cs @@ -1,26 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityServer8.EntityFramework.Options; -using IdentityServer8.EntityFramework; -using Microsoft.Extensions.Hosting; -using System.Threading; -using System.Threading.Tasks; -using System; -using Microsoft.Extensions.Logging; - namespace Microsoft.Extensions.DependencyInjection; /// diff --git a/src/EntityFramework/test/IdentityServer8.EntityFramework.Tests/DatabaseProviderBuilder.cs b/src/EntityFramework/test/IdentityServer8.EntityFramework.Tests/DatabaseProviderBuilder.cs index e3d7c6d1..6a0889fa 100644 --- a/src/EntityFramework/test/IdentityServer8.EntityFramework.Tests/DatabaseProviderBuilder.cs +++ b/src/EntityFramework/test/IdentityServer8.EntityFramework.Tests/DatabaseProviderBuilder.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using Microsoft.EntityFrameworkCore; @@ -50,4 +47,4 @@ public static DbContextOptions BuildAppVeyorSqlServer2016(string name) whe builder.UseSqlServer($@"Server=(local)\SQL2016;Database=Test.IdentityServer8.EntityFramework-3.1.0.{name};User ID=sa;Password=Password12!"); return builder.Options; } -} \ No newline at end of file +} diff --git a/src/EntityFramework/test/IdentityServer8.EntityFramework.Tests/DatabaseProviderFixture.cs b/src/EntityFramework/test/IdentityServer8.EntityFramework.Tests/DatabaseProviderFixture.cs index f43b8fba..854e8639 100644 --- a/src/EntityFramework/test/IdentityServer8.EntityFramework.Tests/DatabaseProviderFixture.cs +++ b/src/EntityFramework/test/IdentityServer8.EntityFramework.Tests/DatabaseProviderFixture.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System; @@ -42,4 +39,4 @@ public void Dispose() } } } -} \ No newline at end of file +} diff --git a/src/EntityFramework/test/IdentityServer8.EntityFramework.Tests/FakeLogger.cs b/src/EntityFramework/test/IdentityServer8.EntityFramework.Tests/FakeLogger.cs index 095e7991..5ce4dc3a 100644 --- a/src/EntityFramework/test/IdentityServer8.EntityFramework.Tests/FakeLogger.cs +++ b/src/EntityFramework/test/IdentityServer8.EntityFramework.Tests/FakeLogger.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using Microsoft.Extensions.Logging; diff --git a/src/EntityFramework/test/IdentityServer8.EntityFramework.Tests/IntegrationTest.cs b/src/EntityFramework/test/IdentityServer8.EntityFramework.Tests/IntegrationTest.cs index f627d472..24e709cd 100644 --- a/src/EntityFramework/test/IdentityServer8.EntityFramework.Tests/IntegrationTest.cs +++ b/src/EntityFramework/test/IdentityServer8.EntityFramework.Tests/IntegrationTest.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System; @@ -68,4 +65,4 @@ protected IntegrationTest(DatabaseProviderFixture fixture) fixture.Options = TestDatabaseProviders.SelectMany(x => x.Select(y => (DbContextOptions)y)).ToList(); fixture.StoreOptions = StoreOptions; } -} \ No newline at end of file +} diff --git a/src/EntityFramework/test/IdentityServer8.EntityFramework.Tests/Services/CorsPolicyServiceTests.cs b/src/EntityFramework/test/IdentityServer8.EntityFramework.Tests/Services/CorsPolicyServiceTests.cs index 8e8fcb88..cd8d9292 100644 --- a/src/EntityFramework/test/IdentityServer8.EntityFramework.Tests/Services/CorsPolicyServiceTests.cs +++ b/src/EntityFramework/test/IdentityServer8.EntityFramework.Tests/Services/CorsPolicyServiceTests.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System; @@ -110,4 +107,4 @@ public async Task IsOriginAllowedAsync_WhenOriginIsNotAllowed_ExpectFalse(DbCont Assert.False(result); } -} \ No newline at end of file +} diff --git a/src/IdentityServer8.sln b/src/IdentityServer8.sln index f3d2c57e..2af0d6ff 100644 --- a/src/IdentityServer8.sln +++ b/src/IdentityServer8.sln @@ -64,6 +64,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Files", "Solution ..\global.json = ..\global.json ..\IdentityServer8.DotNet.ruleset = ..\IdentityServer8.DotNet.ruleset ..\LICENSE = ..\LICENSE + ..\LicenseHeader.txt = ..\LicenseHeader.txt ..\NuGet.config = ..\NuGet.config ..\README.md = ..\README.md ..\SECURITY.MD = ..\SECURITY.MD diff --git a/src/IdentityServer8.sln.licenseheader b/src/IdentityServer8.sln.licenseheader index 3a2191fd..510ad0a5 100644 --- a/src/IdentityServer8.sln.licenseheader +++ b/src/IdentityServer8.sln.licenseheader @@ -1,16 +1,13 @@ extensions: designer.cs generated.cs extensions: .cs /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ diff --git a/src/IdentityServer8/host/Configuration/Clients.cs b/src/IdentityServer8/host/Configuration/Clients.cs index e3ab6415..e3179d6c 100644 --- a/src/IdentityServer8/host/Configuration/Clients.cs +++ b/src/IdentityServer8/host/Configuration/Clients.cs @@ -1,21 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityServer8.Models; -using System.Collections.Generic; - namespace IdentityServerHost.Configuration; public static class Clients @@ -29,4 +23,4 @@ public static IEnumerable Get() return clients; } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/host/Configuration/ClientsConsole.cs b/src/IdentityServer8/host/Configuration/ClientsConsole.cs index 3b7b1799..7da3c303 100644 --- a/src/IdentityServer8/host/Configuration/ClientsConsole.cs +++ b/src/IdentityServer8/host/Configuration/ClientsConsole.cs @@ -1,22 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System.Collections.Generic; -using IdentityServer8; -using IdentityServer8.Models; - namespace IdentityServerHost.Configuration; public static class ClientsConsole @@ -228,4 +221,4 @@ public static IEnumerable Get() } }; } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/host/Configuration/ClientsWeb.cs b/src/IdentityServer8/host/Configuration/ClientsWeb.cs index 73e4cfc8..f813bb30 100644 --- a/src/IdentityServer8/host/Configuration/ClientsWeb.cs +++ b/src/IdentityServer8/host/Configuration/ClientsWeb.cs @@ -1,22 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System.Collections.Generic; -using IdentityServer8; -using IdentityServer8.Models; - namespace IdentityServerHost.Configuration; public static class ClientsWeb @@ -140,4 +133,4 @@ public static IEnumerable Get() } }; } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/host/Configuration/Resources.cs b/src/IdentityServer8/host/Configuration/Resources.cs index bebcf068..4027ca5e 100644 --- a/src/IdentityServer8/host/Configuration/Resources.cs +++ b/src/IdentityServer8/host/Configuration/Resources.cs @@ -1,23 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityModel; -using IdentityServer8.Models; -using System.Collections.Generic; -using static IdentityServer8.IdentityServerConstants; - namespace IdentityServerHost.Configuration; public class Resources diff --git a/src/IdentityServer8/host/Extensions/ExtensionGrantValidator.cs b/src/IdentityServer8/host/Extensions/ExtensionGrantValidator.cs index b1e6f034..520f66ea 100644 --- a/src/IdentityServer8/host/Extensions/ExtensionGrantValidator.cs +++ b/src/IdentityServer8/host/Extensions/ExtensionGrantValidator.cs @@ -1,22 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityServer8.Models; -using IdentityServer8.Validation; -using System.Threading.Tasks; - namespace IdentityServerHost.Extensions; public class ExtensionGrantValidator : IExtensionGrantValidator @@ -42,4 +35,4 @@ public string GrantType { get { return "custom"; } } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/host/Extensions/HostProfileService.cs b/src/IdentityServer8/host/Extensions/HostProfileService.cs index 77649a2d..98ba8966 100644 --- a/src/IdentityServer8/host/Extensions/HostProfileService.cs +++ b/src/IdentityServer8/host/Extensions/HostProfileService.cs @@ -1,25 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System.Linq; -using System.Security.Claims; -using System.Threading.Tasks; -using IdentityServer8.Models; -using IdentityServer8.Test; -using Microsoft.Extensions.Logging; - namespace IdentityServerHost.Extensions; public class HostProfileService : TestUserProfileService @@ -38,4 +28,4 @@ public override async Task GetProfileDataAsync(ProfileDataRequestContext context context.IssuedClaims.Add(new Claim("transaction_id", transaction.ParsedParameter)); } } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/host/Extensions/NoSubjectExtensionGrantValidator.cs b/src/IdentityServer8/host/Extensions/NoSubjectExtensionGrantValidator.cs index a2f4d235..5036f2c7 100644 --- a/src/IdentityServer8/host/Extensions/NoSubjectExtensionGrantValidator.cs +++ b/src/IdentityServer8/host/Extensions/NoSubjectExtensionGrantValidator.cs @@ -1,22 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityServer8.Models; -using IdentityServer8.Validation; -using System.Threading.Tasks; - namespace IdentityServerHost.Extensions; public class NoSubjectExtensionGrantValidator : IExtensionGrantValidator @@ -42,4 +35,4 @@ public string GrantType { get { return "custom.nosubject"; } } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/host/Extensions/ParameterizedScopeParser.cs b/src/IdentityServer8/host/Extensions/ParameterizedScopeParser.cs index d70aa1a4..620a41e1 100644 --- a/src/IdentityServer8/host/Extensions/ParameterizedScopeParser.cs +++ b/src/IdentityServer8/host/Extensions/ParameterizedScopeParser.cs @@ -1,22 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityServer8.Validation; -using Microsoft.Extensions.Logging; -using System; - namespace IdentityServerHost.Extensions; public class ParameterizedScopeParser : DefaultScopeParser diff --git a/src/IdentityServer8/host/Extensions/ParameterizedScopeTokenRequestValidator.cs b/src/IdentityServer8/host/Extensions/ParameterizedScopeTokenRequestValidator.cs index 8da3b22a..56095193 100644 --- a/src/IdentityServer8/host/Extensions/ParameterizedScopeTokenRequestValidator.cs +++ b/src/IdentityServer8/host/Extensions/ParameterizedScopeTokenRequestValidator.cs @@ -1,23 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System.Linq; -using System.Security.Claims; -using System.Threading.Tasks; -using IdentityServer8.Validation; - namespace IdentityServerHost.Extensions; public class ParameterizedScopeTokenRequestValidator : ICustomTokenRequestValidator @@ -32,4 +24,4 @@ public Task ValidateAsync(CustomTokenRequestValidationContext context) return Task.CompletedTask; } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/host/Extensions/SameSiteHandlingExtensions.cs b/src/IdentityServer8/host/Extensions/SameSiteHandlingExtensions.cs index 6f1943e7..8f537fee 100644 --- a/src/IdentityServer8/host/Extensions/SameSiteHandlingExtensions.cs +++ b/src/IdentityServer8/host/Extensions/SameSiteHandlingExtensions.cs @@ -1,22 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using Microsoft.AspNetCore.Builder; -using Microsoft.AspNetCore.Http; -using Microsoft.Extensions.DependencyInjection; - namespace IdentityServerHost.Extensions; // copied from https://devblogs.microsoft.com/aspnet/upcoming-samesite-cookie-changes-in-asp-net-and-asp-net-core/ @@ -83,4 +76,4 @@ private static bool DisallowsSameSiteNone(string userAgent) return false; } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/host/GlobalUsings.cs b/src/IdentityServer8/host/GlobalUsings.cs new file mode 100644 index 00000000..fbf3b3c8 --- /dev/null +++ b/src/IdentityServer8/host/GlobalUsings.cs @@ -0,0 +1,47 @@ +/* + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ + + Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. + + Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. + Source code and license this software can be found + + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. +*/ + +global using IdentityModel; +global using IdentityServer8; +global using IdentityServer8.Configuration; +global using IdentityServer8.Events; +global using IdentityServer8.Extensions; +global using IdentityServer8.Models; +global using IdentityServer8.Services; +global using IdentityServer8.Stores; +global using IdentityServer8.Test; +global using IdentityServer8.Validation; +global using IdentityServerHost.Configuration; +global using IdentityServerHost.Extensions; +global using IdentityServerHost.Quickstart.UI; +global using Microsoft.AspNetCore.Authentication; +global using Microsoft.AspNetCore.Authentication.Certificate; +global using Microsoft.AspNetCore.Authorization; +global using Microsoft.AspNetCore.HttpOverrides; +global using Microsoft.AspNetCore.Mvc; +global using Microsoft.AspNetCore.Mvc.Filters; +global using Microsoft.DependencyInjection.Extensions; +global using Microsoft.Extensions.Options; +global using Microsoft.IdentityModel.Logging; +global using Microsoft.IdentityModel.Tokens; +global using Newtonsoft.Json; +global using Serilog; +global using Serilog.Events; +global using Serilog.Sinks.SystemConsole.Themes; +global using System.ComponentModel.DataAnnotations; +global using System.Diagnostics; +global using System.Security.Claims; +global using System.Security.Cryptography.X509Certificates; +global using System.Text; +global using static IdentityServer8.IdentityServerConstants; +global using ILogger = Microsoft.Extensions.Logging.ILogger; +global using ClaimValueTypes = System.Security.Claims.ClaimValueTypes; diff --git a/src/IdentityServer8/host/LocalApiController.cs b/src/IdentityServer8/host/LocalApiController.cs index c7d9dbd1..b98d59e2 100644 --- a/src/IdentityServer8/host/LocalApiController.cs +++ b/src/IdentityServer8/host/LocalApiController.cs @@ -1,23 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using Microsoft.AspNetCore.Authorization; -using Microsoft.AspNetCore.Mvc; -using System.Linq; -using static IdentityServer8.IdentityServerConstants; - namespace IdentityServerHost; [Route("localApi")] @@ -29,4 +21,4 @@ public IActionResult Get() var claims = from c in User.Claims select new { c.Type, c.Value }; return new JsonResult(claims); } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/host/Program.cs b/src/IdentityServer8/host/Program.cs index 1200c6fb..21738d28 100644 --- a/src/IdentityServer8/host/Program.cs +++ b/src/IdentityServer8/host/Program.cs @@ -1,26 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using Microsoft.AspNetCore.Hosting; -using Microsoft.Extensions.Hosting; -using Serilog; -using Serilog.Events; -using Serilog.Sinks.SystemConsole.Themes; -using System; -using System.Diagnostics; - namespace IdentityServerHost; public class Program @@ -72,4 +61,4 @@ public static IHostBuilder CreateHostBuilder(string[] args) => { webBuilder.UseStartup(); }); -} \ No newline at end of file +} diff --git a/src/IdentityServer8/host/Quickstart/Account/AccountController.cs b/src/IdentityServer8/host/Quickstart/Account/AccountController.cs index f61f2ab5..a548d6ef 100644 --- a/src/IdentityServer8/host/Quickstart/Account/AccountController.cs +++ b/src/IdentityServer8/host/Quickstart/Account/AccountController.cs @@ -1,35 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityModel; -using IdentityServer8; -using IdentityServer8.Events; -using IdentityServer8.Extensions; -using IdentityServer8.Models; -using IdentityServer8.Services; -using IdentityServer8.Stores; -using IdentityServer8.Test; -using Microsoft.AspNetCore.Authentication; -using Microsoft.AspNetCore.Authorization; -using Microsoft.AspNetCore.Http; -using Microsoft.AspNetCore.Mvc; -using Microsoft.DependencyInjection.Extensions; -using System; -using System.Linq; -using System.Threading.Tasks; - namespace IdentityServerHost.Quickstart.UI; /// diff --git a/src/IdentityServer8/host/Quickstart/Account/AccountOptions.cs b/src/IdentityServer8/host/Quickstart/Account/AccountOptions.cs index 86f14aae..cab384c6 100644 --- a/src/IdentityServer8/host/Quickstart/Account/AccountOptions.cs +++ b/src/IdentityServer8/host/Quickstart/Account/AccountOptions.cs @@ -1,20 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System; - namespace IdentityServerHost.Quickstart.UI; public class AccountOptions diff --git a/src/IdentityServer8/host/Quickstart/Account/ExternalController.cs b/src/IdentityServer8/host/Quickstart/Account/ExternalController.cs index 4a5f1c17..ec637afd 100644 --- a/src/IdentityServer8/host/Quickstart/Account/ExternalController.cs +++ b/src/IdentityServer8/host/Quickstart/Account/ExternalController.cs @@ -1,35 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityModel; -using IdentityServer8; -using IdentityServer8.Events; -using IdentityServer8.Services; -using IdentityServer8.Stores; -using IdentityServer8.Test; -using Microsoft.AspNetCore.Authentication; -using Microsoft.AspNetCore.Authorization; -using Microsoft.AspNetCore.Http; -using Microsoft.AspNetCore.Mvc; -using Microsoft.Extensions.Logging; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Security.Claims; -using System.Threading.Tasks; - namespace IdentityServerHost.Quickstart.UI; [SecurityHeaders] @@ -207,4 +187,4 @@ private void ProcessLoginCallback(AuthenticateResult externalResult, List localSignInProps.StoreTokens(new[] { new AuthenticationToken { Name = "id_token", Value = idToken } }); } } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/host/Quickstart/Account/ExternalProvider.cs b/src/IdentityServer8/host/Quickstart/Account/ExternalProvider.cs index 4c197ce0..61fa88d0 100644 --- a/src/IdentityServer8/host/Quickstart/Account/ExternalProvider.cs +++ b/src/IdentityServer8/host/Quickstart/Account/ExternalProvider.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; @@ -19,4 +16,4 @@ public class ExternalProvider { public string DisplayName { get; set; } public string AuthenticationScheme { get; set; } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/host/Quickstart/Account/LoggedOutViewModel.cs b/src/IdentityServer8/host/Quickstart/Account/LoggedOutViewModel.cs index 36fceadf..2e23c83b 100644 --- a/src/IdentityServer8/host/Quickstart/Account/LoggedOutViewModel.cs +++ b/src/IdentityServer8/host/Quickstart/Account/LoggedOutViewModel.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; @@ -26,4 +23,4 @@ public class LoggedOutViewModel public string LogoutId { get; set; } public bool TriggerExternalSignout => ExternalAuthenticationScheme != null; public string ExternalAuthenticationScheme { get; set; } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/host/Quickstart/Account/LoginInputModel.cs b/src/IdentityServer8/host/Quickstart/Account/LoginInputModel.cs index 706e55ae..5af2bb17 100644 --- a/src/IdentityServer8/host/Quickstart/Account/LoginInputModel.cs +++ b/src/IdentityServer8/host/Quickstart/Account/LoginInputModel.cs @@ -1,20 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System.ComponentModel.DataAnnotations; - namespace IdentityServerHost.Quickstart.UI; public class LoginInputModel @@ -25,4 +20,4 @@ public class LoginInputModel public string Password { get; set; } public bool RememberLogin { get; set; } public string ReturnUrl { get; set; } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/host/Quickstart/Account/LoginViewModel.cs b/src/IdentityServer8/host/Quickstart/Account/LoginViewModel.cs index c14d1575..6233be6b 100644 --- a/src/IdentityServer8/host/Quickstart/Account/LoginViewModel.cs +++ b/src/IdentityServer8/host/Quickstart/Account/LoginViewModel.cs @@ -1,22 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System; -using System.Collections.Generic; -using System.Linq; - namespace IdentityServerHost.Quickstart.UI; public class LoginViewModel : LoginInputModel @@ -29,4 +22,4 @@ public class LoginViewModel : LoginInputModel public bool IsExternalLoginOnly => EnableLocalLogin == false && ExternalProviders?.Count() == 1; public string ExternalLoginScheme => IsExternalLoginOnly ? ExternalProviders?.SingleOrDefault()?.AuthenticationScheme : null; -} \ No newline at end of file +} diff --git a/src/IdentityServer8/host/Quickstart/Account/LogoutInputModel.cs b/src/IdentityServer8/host/Quickstart/Account/LogoutInputModel.cs index 9b16bfcf..cf883a18 100644 --- a/src/IdentityServer8/host/Quickstart/Account/LogoutInputModel.cs +++ b/src/IdentityServer8/host/Quickstart/Account/LogoutInputModel.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; diff --git a/src/IdentityServer8/host/Quickstart/Account/LogoutViewModel.cs b/src/IdentityServer8/host/Quickstart/Account/LogoutViewModel.cs index e245a0d4..a50ee906 100644 --- a/src/IdentityServer8/host/Quickstart/Account/LogoutViewModel.cs +++ b/src/IdentityServer8/host/Quickstart/Account/LogoutViewModel.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; diff --git a/src/IdentityServer8/host/Quickstart/Account/RedirectViewModel.cs b/src/IdentityServer8/host/Quickstart/Account/RedirectViewModel.cs index 56e9d1a3..542b5049 100644 --- a/src/IdentityServer8/host/Quickstart/Account/RedirectViewModel.cs +++ b/src/IdentityServer8/host/Quickstart/Account/RedirectViewModel.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; @@ -18,4 +15,4 @@ namespace IdentityServerHost.Quickstart.UI; public class RedirectViewModel { public string RedirectUrl { get; set; } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/host/Quickstart/Consent/ConsentController.cs b/src/IdentityServer8/host/Quickstart/Consent/ConsentController.cs index 3a22427b..1af7e4ca 100644 --- a/src/IdentityServer8/host/Quickstart/Consent/ConsentController.cs +++ b/src/IdentityServer8/host/Quickstart/Consent/ConsentController.cs @@ -1,32 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityServer8.Events; -using IdentityServer8.Models; -using IdentityServer8.Services; -using IdentityServer8.Extensions; -using Microsoft.AspNetCore.Authorization; -using Microsoft.AspNetCore.Mvc; -using Microsoft.Extensions.Logging; -using System.Linq; -using System.Threading.Tasks; -using IdentityServer8.Validation; -using System.Collections.Generic; -using System; -using Microsoft.DependencyInjection.Extensions; - namespace IdentityServerHost.Quickstart.UI; /// @@ -269,4 +252,4 @@ private ScopeViewModel GetOfflineAccessScope(bool check) Checked = check }; } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/host/Quickstart/Consent/ConsentInputModel.cs b/src/IdentityServer8/host/Quickstart/Consent/ConsentInputModel.cs index 28012cf0..bdf93b8f 100644 --- a/src/IdentityServer8/host/Quickstart/Consent/ConsentInputModel.cs +++ b/src/IdentityServer8/host/Quickstart/Consent/ConsentInputModel.cs @@ -1,20 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System.Collections.Generic; - namespace IdentityServerHost.Quickstart.UI; public class ConsentInputModel @@ -24,4 +19,4 @@ public class ConsentInputModel public bool RememberConsent { get; set; } public string ReturnUrl { get; set; } public string Description { get; set; } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/host/Quickstart/Consent/ConsentOptions.cs b/src/IdentityServer8/host/Quickstart/Consent/ConsentOptions.cs index 7bea1fe9..0845e4c5 100644 --- a/src/IdentityServer8/host/Quickstart/Consent/ConsentOptions.cs +++ b/src/IdentityServer8/host/Quickstart/Consent/ConsentOptions.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; diff --git a/src/IdentityServer8/host/Quickstart/Consent/ConsentViewModel.cs b/src/IdentityServer8/host/Quickstart/Consent/ConsentViewModel.cs index 4f1cce40..e23d9ad8 100644 --- a/src/IdentityServer8/host/Quickstart/Consent/ConsentViewModel.cs +++ b/src/IdentityServer8/host/Quickstart/Consent/ConsentViewModel.cs @@ -1,20 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System.Collections.Generic; - namespace IdentityServerHost.Quickstart.UI; public class ConsentViewModel : ConsentInputModel diff --git a/src/IdentityServer8/host/Quickstart/Consent/ProcessConsentResult.cs b/src/IdentityServer8/host/Quickstart/Consent/ProcessConsentResult.cs index 28605ffd..6c1906c4 100644 --- a/src/IdentityServer8/host/Quickstart/Consent/ProcessConsentResult.cs +++ b/src/IdentityServer8/host/Quickstart/Consent/ProcessConsentResult.cs @@ -1,20 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityServer8.Models; - namespace IdentityServerHost.Quickstart.UI; public class ProcessConsentResult diff --git a/src/IdentityServer8/host/Quickstart/Consent/ScopeViewModel.cs b/src/IdentityServer8/host/Quickstart/Consent/ScopeViewModel.cs index 6bb80540..11644607 100644 --- a/src/IdentityServer8/host/Quickstart/Consent/ScopeViewModel.cs +++ b/src/IdentityServer8/host/Quickstart/Consent/ScopeViewModel.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; diff --git a/src/IdentityServer8/host/Quickstart/Device/DeviceAuthorizationInputModel.cs b/src/IdentityServer8/host/Quickstart/Device/DeviceAuthorizationInputModel.cs index ce8e075b..dc23ac01 100644 --- a/src/IdentityServer8/host/Quickstart/Device/DeviceAuthorizationInputModel.cs +++ b/src/IdentityServer8/host/Quickstart/Device/DeviceAuthorizationInputModel.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; @@ -18,4 +15,4 @@ namespace IdentityServerHost.Quickstart.UI; public class DeviceAuthorizationInputModel : ConsentInputModel { public string UserCode { get; set; } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/host/Quickstart/Device/DeviceAuthorizationViewModel.cs b/src/IdentityServer8/host/Quickstart/Device/DeviceAuthorizationViewModel.cs index 2bbe9deb..213cb898 100644 --- a/src/IdentityServer8/host/Quickstart/Device/DeviceAuthorizationViewModel.cs +++ b/src/IdentityServer8/host/Quickstart/Device/DeviceAuthorizationViewModel.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServerHost.Quickstart.UI; @@ -19,4 +16,4 @@ public class DeviceAuthorizationViewModel : ConsentViewModel { public string UserCode { get; set; } public bool ConfirmUserCode { get; set; } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/host/Quickstart/Device/DeviceController.cs b/src/IdentityServer8/host/Quickstart/Device/DeviceController.cs index 6dbe4d1f..f20be7e5 100644 --- a/src/IdentityServer8/host/Quickstart/Device/DeviceController.cs +++ b/src/IdentityServer8/host/Quickstart/Device/DeviceController.cs @@ -1,33 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Threading.Tasks; -using IdentityServer8.Configuration; -using IdentityServer8.Events; -using IdentityServer8.Extensions; -using IdentityServer8.Models; -using IdentityServer8.Services; -using IdentityServer8.Validation; -using Microsoft.AspNetCore.Authorization; -using Microsoft.AspNetCore.Mvc; -using Microsoft.Extensions.Logging; -using Microsoft.Extensions.Options; - namespace IdentityServerHost.Quickstart.UI; [Authorize] @@ -239,4 +221,4 @@ private ScopeViewModel GetOfflineAccessScope(bool check) Checked = check }; } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/host/Quickstart/Diagnostics/DiagnosticsController.cs b/src/IdentityServer8/host/Quickstart/Diagnostics/DiagnosticsController.cs index fcb792a4..651a8670 100644 --- a/src/IdentityServer8/host/Quickstart/Diagnostics/DiagnosticsController.cs +++ b/src/IdentityServer8/host/Quickstart/Diagnostics/DiagnosticsController.cs @@ -1,24 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System.Linq; -using System.Threading.Tasks; -using Microsoft.AspNetCore.Authentication; -using Microsoft.AspNetCore.Authorization; -using Microsoft.AspNetCore.Mvc; - namespace IdentityServerHost.Quickstart.UI; [SecurityHeaders] @@ -36,4 +27,4 @@ public async Task Index() var model = new DiagnosticsViewModel(await HttpContext.AuthenticateAsync()); return View(model); } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/host/Quickstart/Diagnostics/DiagnosticsViewModel.cs b/src/IdentityServer8/host/Quickstart/Diagnostics/DiagnosticsViewModel.cs index 3deab387..afc465bd 100644 --- a/src/IdentityServer8/host/Quickstart/Diagnostics/DiagnosticsViewModel.cs +++ b/src/IdentityServer8/host/Quickstart/Diagnostics/DiagnosticsViewModel.cs @@ -1,24 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityModel; -using Microsoft.AspNetCore.Authentication; -using Newtonsoft.Json; -using System.Collections.Generic; -using System.Text; - namespace IdentityServerHost.Quickstart.UI; public class DiagnosticsViewModel @@ -39,4 +30,4 @@ public DiagnosticsViewModel(AuthenticateResult result) public AuthenticateResult AuthenticateResult { get; } public IEnumerable Clients { get; } = new List(); -} \ No newline at end of file +} diff --git a/src/IdentityServer8/host/Quickstart/Extensions.cs b/src/IdentityServer8/host/Quickstart/Extensions.cs index af8c5887..ac284136 100644 --- a/src/IdentityServer8/host/Quickstart/Extensions.cs +++ b/src/IdentityServer8/host/Quickstart/Extensions.cs @@ -1,22 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System; -using IdentityServer8.Models; -using Microsoft.AspNetCore.Mvc; - namespace IdentityServerHost.Quickstart.UI; public static class Extensions diff --git a/src/IdentityServer8/host/Quickstart/Grants/GrantsController.cs b/src/IdentityServer8/host/Quickstart/Grants/GrantsController.cs index 32d4e632..d8638d86 100644 --- a/src/IdentityServer8/host/Quickstart/Grants/GrantsController.cs +++ b/src/IdentityServer8/host/Quickstart/Grants/GrantsController.cs @@ -1,28 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityServer8.Services; -using IdentityServer8.Stores; -using Microsoft.AspNetCore.Mvc; -using System.Collections.Generic; -using System.Linq; -using System.Threading.Tasks; -using Microsoft.AspNetCore.Authorization; -using IdentityServer8.Events; -using IdentityServer8.Extensions; - namespace IdentityServerHost.Quickstart.UI; /// @@ -104,4 +91,4 @@ private async Task BuildViewModelAsync() Grants = list }; } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/host/Quickstart/Grants/GrantsViewModel.cs b/src/IdentityServer8/host/Quickstart/Grants/GrantsViewModel.cs index 362e6a04..de2a3268 100644 --- a/src/IdentityServer8/host/Quickstart/Grants/GrantsViewModel.cs +++ b/src/IdentityServer8/host/Quickstart/Grants/GrantsViewModel.cs @@ -1,21 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System; -using System.Collections.Generic; - namespace IdentityServerHost.Quickstart.UI; public class GrantsViewModel @@ -34,4 +28,4 @@ public class GrantViewModel public DateTime? Expires { get; set; } public IEnumerable IdentityGrantNames { get; set; } public IEnumerable ApiGrantNames { get; set; } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/host/Quickstart/Home/ErrorViewModel.cs b/src/IdentityServer8/host/Quickstart/Home/ErrorViewModel.cs index 270568b9..877455f9 100644 --- a/src/IdentityServer8/host/Quickstart/Home/ErrorViewModel.cs +++ b/src/IdentityServer8/host/Quickstart/Home/ErrorViewModel.cs @@ -1,20 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityServer8.Models; - namespace IdentityServerHost.Quickstart.UI; public class ErrorViewModel @@ -29,4 +24,4 @@ public ErrorViewModel(string error) } public ErrorMessage Error { get; set; } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/host/Quickstart/Home/HomeController.cs b/src/IdentityServer8/host/Quickstart/Home/HomeController.cs index ef3f52ae..bb681713 100644 --- a/src/IdentityServer8/host/Quickstart/Home/HomeController.cs +++ b/src/IdentityServer8/host/Quickstart/Home/HomeController.cs @@ -1,26 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityServer8.Services; -using Microsoft.AspNetCore.Authorization; -using Microsoft.AspNetCore.Hosting; -using Microsoft.AspNetCore.Mvc; -using Microsoft.Extensions.Hosting; -using Microsoft.Extensions.Logging; -using System.Threading.Tasks; - namespace IdentityServerHost.Quickstart.UI; [SecurityHeaders] @@ -72,4 +61,4 @@ public async Task Error(string errorId) return View("Error", vm); } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/host/Quickstart/SecurityHeadersAttribute.cs b/src/IdentityServer8/host/Quickstart/SecurityHeadersAttribute.cs index 587c93be..e92cde12 100644 --- a/src/IdentityServer8/host/Quickstart/SecurityHeadersAttribute.cs +++ b/src/IdentityServer8/host/Quickstart/SecurityHeadersAttribute.cs @@ -1,22 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using Microsoft.AspNetCore.Http; -using Microsoft.AspNetCore.Mvc; -using Microsoft.AspNetCore.Mvc.Filters; - namespace IdentityServerHost.Quickstart.UI; public class SecurityHeadersAttribute : ActionFilterAttribute diff --git a/src/IdentityServer8/host/Quickstart/TestUsers.cs b/src/IdentityServer8/host/Quickstart/TestUsers.cs index 49278bca..4bafc395 100644 --- a/src/IdentityServer8/host/Quickstart/TestUsers.cs +++ b/src/IdentityServer8/host/Quickstart/TestUsers.cs @@ -1,24 +1,16 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityModel; -using IdentityServer8.Test; -using System.Collections.Generic; -using System.Security.Claims; -using System.Text.Json; -using IdentityServer8; +using JsonSerializer = System.Text.Json.JsonSerializer; namespace IdentityServerHost.Quickstart.UI; @@ -73,4 +65,4 @@ public static List Users }; } } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/host/Startup.cs b/src/IdentityServer8/host/Startup.cs index 3427a2d5..5374215d 100644 --- a/src/IdentityServer8/host/Startup.cs +++ b/src/IdentityServer8/host/Startup.cs @@ -1,37 +1,17 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System; -using IdentityServerHost.Configuration; -using IdentityModel; -using IdentityServer8; -using Microsoft.AspNetCore.Builder; -using Microsoft.Extensions.Configuration; -using Microsoft.Extensions.DependencyInjection; -using Microsoft.IdentityModel.Logging; -using Microsoft.IdentityModel.Tokens; -using Serilog; -using System.Linq; -using System.Security.Claims; -using System.Security.Cryptography.X509Certificates; -using System.Text; -using System.Threading.Tasks; +using Resources = IdentityServerHost.Configuration.Resources; using IdentityServerHost.Extensions; -using Microsoft.AspNetCore.Authentication.Certificate; -using Microsoft.AspNetCore.HttpOverrides; -using IdentityServerHost.Quickstart.UI; namespace IdentityServerHost; @@ -273,4 +253,4 @@ public static void AddCertificateForwardingForNginx(this IServiceCollection serv }; }); } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Configuration/CryptoHelper.cs b/src/IdentityServer8/src/Configuration/CryptoHelper.cs index eaece385..bfcf3c40 100644 --- a/src/IdentityServer8/src/Configuration/CryptoHelper.cs +++ b/src/IdentityServer8/src/Configuration/CryptoHelper.cs @@ -1,25 +1,16 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityModel; using Microsoft.IdentityModel.Tokens; -using System; -using System.Linq; -using System.Security.Cryptography; -using System.Security.Cryptography.X509Certificates; -using System.Text; namespace IdentityServer8.Configuration; @@ -227,4 +218,4 @@ public enum NameType /// thumbprint /// Thumbprint -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Configuration/DependencyInjection/BuilderExtensions/Additional.cs b/src/IdentityServer8/src/Configuration/DependencyInjection/BuilderExtensions/Additional.cs index 44e0f575..2d25709d 100644 --- a/src/IdentityServer8/src/Configuration/DependencyInjection/BuilderExtensions/Additional.cs +++ b/src/IdentityServer8/src/Configuration/DependencyInjection/BuilderExtensions/Additional.cs @@ -1,29 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityServer8.ResponseHandling; -using IdentityServer8.Services; -using IdentityServer8.Stores; -using IdentityServer8.Validation; -using Microsoft.Extensions.DependencyInjection.Extensions; -using System; -using System.Net.Http; -using IdentityServer8; -using IdentityServer8.Configuration; -using Microsoft.Extensions.Logging; - namespace Microsoft.Extensions.DependencyInjection; /// @@ -467,4 +453,4 @@ public static IIdentityServerBuilder AddUserSession(this IIdentityServerBuild return builder; } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Configuration/DependencyInjection/BuilderExtensions/Core.cs b/src/IdentityServer8/src/Configuration/DependencyInjection/BuilderExtensions/Core.cs index 8a7d000d..f4db75c7 100644 --- a/src/IdentityServer8/src/Configuration/DependencyInjection/BuilderExtensions/Core.cs +++ b/src/IdentityServer8/src/Configuration/DependencyInjection/BuilderExtensions/Core.cs @@ -1,43 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityServer8; -using IdentityServer8.Configuration; -using IdentityServer8.Configuration.DependencyInjection; -using IdentityServer8.Endpoints; -using IdentityServer8.Events; -using IdentityServer8.Hosting; -using IdentityServer8.ResponseHandling; -using IdentityServer8.Services; -using IdentityServer8.Stores; -using IdentityServer8.Stores.Serialization; -using IdentityServer8.Validation; -using Microsoft.AspNetCore.Cors.Infrastructure; -using Microsoft.AspNetCore.Http; -using Microsoft.Extensions.DependencyInjection.Extensions; -using Microsoft.Extensions.Options; -using System; -using System.Linq; -using IdentityServer8.Models; -using Microsoft.AspNetCore.Authentication.Cookies; -using Microsoft.AspNetCore.Authentication; -using static IdentityServer8.Constants; -using IdentityServer8.Extensions; -using IdentityServer8.Hosting.FederatedSignOut; -using IdentityServer8.Services.Default; - namespace Microsoft.Extensions.DependencyInjection; /// @@ -315,4 +287,4 @@ internal static void AddDecorator(this IServiceCollection services) services.Add(new ServiceDescriptor(type, type, registration.Lifetime)); } } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Configuration/DependencyInjection/BuilderExtensions/Crypto.cs b/src/IdentityServer8/src/Configuration/DependencyInjection/BuilderExtensions/Crypto.cs index a8503beb..b2b57308 100644 --- a/src/IdentityServer8/src/Configuration/DependencyInjection/BuilderExtensions/Crypto.cs +++ b/src/IdentityServer8/src/Configuration/DependencyInjection/BuilderExtensions/Crypto.cs @@ -1,28 +1,16 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityServer8; -using IdentityServer8.Configuration; -using IdentityServer8.Models; -using IdentityServer8.Stores; using Microsoft.IdentityModel.Tokens; -using Newtonsoft.Json; -using System; -using System.IO; -using System.Linq; -using System.Security.Cryptography.X509Certificates; using JsonWebKey = Microsoft.IdentityModel.Tokens.JsonWebKey; namespace Microsoft.Extensions.DependencyInjection; @@ -306,4 +294,4 @@ public static IIdentityServerBuilder AddValidationKey( return builder.AddValidationKey(certificate, signingAlgorithm); } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Configuration/DependencyInjection/BuilderExtensions/InMemory.cs b/src/IdentityServer8/src/Configuration/DependencyInjection/BuilderExtensions/InMemory.cs index a4459636..b6d41e09 100644 --- a/src/IdentityServer8/src/Configuration/DependencyInjection/BuilderExtensions/InMemory.cs +++ b/src/IdentityServer8/src/Configuration/DependencyInjection/BuilderExtensions/InMemory.cs @@ -1,27 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityServer8.Models; -using IdentityServer8.Services; -using IdentityServer8.Stores; -using Microsoft.Extensions.Caching.Memory; -using Microsoft.Extensions.DependencyInjection.Extensions; -using System.Collections.Generic; -using System.Linq; -using Microsoft.Extensions.Configuration; - namespace Microsoft.Extensions.DependencyInjection; /// @@ -179,4 +167,4 @@ public static IIdentityServerBuilder AddInMemoryPersistedGrants(this IIdentitySe return builder; } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Configuration/DependencyInjection/ConfigureInternalCookieOptions.cs b/src/IdentityServer8/src/Configuration/DependencyInjection/ConfigureInternalCookieOptions.cs index 7fae8b42..d2577714 100644 --- a/src/IdentityServer8/src/Configuration/DependencyInjection/ConfigureInternalCookieOptions.cs +++ b/src/IdentityServer8/src/Configuration/DependencyInjection/ConfigureInternalCookieOptions.cs @@ -1,23 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityServer8.Extensions; -using Microsoft.AspNetCore.Authentication.Cookies; -using Microsoft.Extensions.Logging; -using Microsoft.Extensions.Options; - namespace IdentityServer8.Configuration; internal class ConfigureInternalCookieOptions : IConfigureNamedOptions @@ -120,4 +112,4 @@ public void PostConfigure(string name, CookieAuthenticationOptions options) _logger.LogDebug("Error Id Parameter: {param}", _idsrv.UserInteraction.ErrorIdParameter); } } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Configuration/DependencyInjection/ConfigureOpenIdConnectOptions.cs b/src/IdentityServer8/src/Configuration/DependencyInjection/ConfigureOpenIdConnectOptions.cs index e5826711..8a121869 100644 --- a/src/IdentityServer8/src/Configuration/DependencyInjection/ConfigureOpenIdConnectOptions.cs +++ b/src/IdentityServer8/src/Configuration/DependencyInjection/ConfigureOpenIdConnectOptions.cs @@ -1,25 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System; -using System.Linq; -using IdentityServer8.Infrastructure; -using Microsoft.AspNetCore.Authentication.OpenIdConnect; -using Microsoft.AspNetCore.Http; -using Microsoft.Extensions.Options; - namespace IdentityServer8.Configuration; internal class ConfigureOpenIdConnectOptions : IPostConfigureOptions @@ -41,4 +31,4 @@ public void PostConfigure(string name, OpenIdConnectOptions options) options.StateDataFormat = new DistributedCacheStateDataFormatter(_httpContextAccessor, name); } } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Configuration/DependencyInjection/Decorator.cs b/src/IdentityServer8/src/Configuration/DependencyInjection/Decorator.cs index 63e8137b..88c3225b 100644 --- a/src/IdentityServer8/src/Configuration/DependencyInjection/Decorator.cs +++ b/src/IdentityServer8/src/Configuration/DependencyInjection/Decorator.cs @@ -1,20 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System; - namespace IdentityServer8.Configuration.DependencyInjection; internal class Decorator diff --git a/src/IdentityServer8/src/Configuration/DependencyInjection/IIdentityServerBuilder.cs b/src/IdentityServer8/src/Configuration/DependencyInjection/IIdentityServerBuilder.cs index f4c4be9c..2c1009a5 100644 --- a/src/IdentityServer8/src/Configuration/DependencyInjection/IIdentityServerBuilder.cs +++ b/src/IdentityServer8/src/Configuration/DependencyInjection/IIdentityServerBuilder.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace Microsoft.Extensions.DependencyInjection; @@ -27,4 +24,4 @@ public interface IIdentityServerBuilder /// The services. /// IServiceCollection Services { get; } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Configuration/DependencyInjection/IdentityServerBuilder.cs b/src/IdentityServer8/src/Configuration/DependencyInjection/IdentityServerBuilder.cs index 990ea938..2c6f3bf0 100644 --- a/src/IdentityServer8/src/Configuration/DependencyInjection/IdentityServerBuilder.cs +++ b/src/IdentityServer8/src/Configuration/DependencyInjection/IdentityServerBuilder.cs @@ -1,21 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using Microsoft.Extensions.DependencyInjection; -using System; - namespace IdentityServer8.Configuration; /// @@ -40,4 +34,4 @@ public IdentityServerBuilder(IServiceCollection services) /// The services. /// public IServiceCollection Services { get; } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Configuration/DependencyInjection/IdentityServerServiceCollectionExtensions.cs b/src/IdentityServer8/src/Configuration/DependencyInjection/IdentityServerServiceCollectionExtensions.cs index 0962b590..f6bc33c7 100644 --- a/src/IdentityServer8/src/Configuration/DependencyInjection/IdentityServerServiceCollectionExtensions.cs +++ b/src/IdentityServer8/src/Configuration/DependencyInjection/IdentityServerServiceCollectionExtensions.cs @@ -1,25 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityServer8.Configuration; -using Microsoft.Extensions.Configuration; -using System; -using Microsoft.AspNetCore.Http; -using Microsoft.Extensions.Options; -using Microsoft.AspNetCore.Authentication.OpenIdConnect; - namespace Microsoft.Extensions.DependencyInjection; /// @@ -102,4 +92,4 @@ public static IServiceCollection AddOidcStateDataFormatterCache(this IServiceCol return services; } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Configuration/DependencyInjection/Options/AuthenticationOptions.cs b/src/IdentityServer8/src/Configuration/DependencyInjection/Options/AuthenticationOptions.cs index 82ee1ddc..c49bed15 100644 --- a/src/IdentityServer8/src/Configuration/DependencyInjection/Options/AuthenticationOptions.cs +++ b/src/IdentityServer8/src/Configuration/DependencyInjection/Options/AuthenticationOptions.cs @@ -1,21 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System; -using Microsoft.AspNetCore.Http; - namespace IdentityServer8.Configuration; /// @@ -71,4 +65,4 @@ public class AuthenticationOptions /// If set, will require frame-src CSP headers being emitting on the end session callback endpoint which renders iframes to clients for front-channel signout notification. /// public bool RequireCspFrameSrcForSignout { get; set; } = true; -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Configuration/DependencyInjection/Options/CachingOptions.cs b/src/IdentityServer8/src/Configuration/DependencyInjection/Options/CachingOptions.cs index b53f13e1..d323555e 100644 --- a/src/IdentityServer8/src/Configuration/DependencyInjection/Options/CachingOptions.cs +++ b/src/IdentityServer8/src/Configuration/DependencyInjection/Options/CachingOptions.cs @@ -1,20 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System; - namespace IdentityServer8.Configuration; /// @@ -44,4 +39,4 @@ public class CachingOptions /// Gets or sets the CORS origin expiration. /// public TimeSpan CorsExpiration { get; set; } = Default; -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Configuration/DependencyInjection/Options/CorsOptions.cs b/src/IdentityServer8/src/Configuration/DependencyInjection/Options/CorsOptions.cs index cb9e648b..b9701d46 100644 --- a/src/IdentityServer8/src/Configuration/DependencyInjection/Options/CorsOptions.cs +++ b/src/IdentityServer8/src/Configuration/DependencyInjection/Options/CorsOptions.cs @@ -1,24 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityServer8.Extensions; -using Microsoft.AspNetCore.Http; -using System; -using System.Collections.Generic; -using System.Linq; - namespace IdentityServer8.Configuration; /// @@ -46,4 +37,4 @@ public class CorsOptions /// The cors paths. /// public ICollection CorsPaths { get; set; } = Constants.ProtocolRoutePaths.CorsPaths.Select(x => new PathString(x.EnsureLeadingSlash())).ToList(); -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Configuration/DependencyInjection/Options/CspOptions.cs b/src/IdentityServer8/src/Configuration/DependencyInjection/Options/CspOptions.cs index d9185bcb..545ac671 100644 --- a/src/IdentityServer8/src/Configuration/DependencyInjection/Options/CspOptions.cs +++ b/src/IdentityServer8/src/Configuration/DependencyInjection/Options/CspOptions.cs @@ -1,20 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityServer8.Models; - namespace IdentityServer8.Configuration; /// @@ -31,4 +26,4 @@ public class CspOptions /// Gets or sets a value indicating whether the deprected X-Content-Security-Policy header should be added. /// public bool AddDeprecatedHeader { get; set; } = true; -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Configuration/DependencyInjection/Options/DeviceFlowOptions.cs b/src/IdentityServer8/src/Configuration/DependencyInjection/Options/DeviceFlowOptions.cs index 8c026352..c3c23642 100644 --- a/src/IdentityServer8/src/Configuration/DependencyInjection/Options/DeviceFlowOptions.cs +++ b/src/IdentityServer8/src/Configuration/DependencyInjection/Options/DeviceFlowOptions.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServer8.Configuration; @@ -35,4 +32,4 @@ public class DeviceFlowOptions /// The interval in seconds. /// public int Interval { get; set; } = 5; -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Configuration/DependencyInjection/Options/DiscoveryOptions.cs b/src/IdentityServer8/src/Configuration/DependencyInjection/Options/DiscoveryOptions.cs index a5586db9..68353e21 100644 --- a/src/IdentityServer8/src/Configuration/DependencyInjection/Options/DiscoveryOptions.cs +++ b/src/IdentityServer8/src/Configuration/DependencyInjection/Options/DiscoveryOptions.cs @@ -1,20 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System.Collections.Generic; - namespace IdentityServer8.Configuration; /// @@ -89,4 +84,4 @@ public class DiscoveryOptions /// Adds custom entries to the discovery document /// public Dictionary CustomEntries { get; set; } = new Dictionary(); -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Configuration/DependencyInjection/Options/EndpointOptions.cs b/src/IdentityServer8/src/Configuration/DependencyInjection/Options/EndpointOptions.cs index 8287b16f..404e5968 100644 --- a/src/IdentityServer8/src/Configuration/DependencyInjection/Options/EndpointOptions.cs +++ b/src/IdentityServer8/src/Configuration/DependencyInjection/Options/EndpointOptions.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServer8.Configuration; @@ -96,4 +93,4 @@ public class EndpointsOptions /// true if the device authorization endpoint is enabled; otherwise, false. /// public bool EnableDeviceAuthorizationEndpoint { get; set; } = true; -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Configuration/DependencyInjection/Options/EventsOptions.cs b/src/IdentityServer8/src/Configuration/DependencyInjection/Options/EventsOptions.cs index 1b97aedb..66747fd4 100644 --- a/src/IdentityServer8/src/Configuration/DependencyInjection/Options/EventsOptions.cs +++ b/src/IdentityServer8/src/Configuration/DependencyInjection/Options/EventsOptions.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServer8.Configuration; @@ -51,4 +48,4 @@ public class EventsOptions /// true if error events should be raised; otherwise, false. /// public bool RaiseErrorEvents { get; set; } = false; -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Configuration/DependencyInjection/Options/IdentityServerOptions.cs b/src/IdentityServer8/src/Configuration/DependencyInjection/Options/IdentityServerOptions.cs index 75868c39..8f2950d0 100644 --- a/src/IdentityServer8/src/Configuration/DependencyInjection/Options/IdentityServerOptions.cs +++ b/src/IdentityServer8/src/Configuration/DependencyInjection/Options/IdentityServerOptions.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServer8.Configuration; @@ -146,4 +143,4 @@ public class IdentityServerOptions /// Gets or sets the mutual TLS options. /// public MutualTlsOptions MutualTls { get; set; } = new MutualTlsOptions(); -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Configuration/DependencyInjection/Options/InputLengthRestrictions.cs b/src/IdentityServer8/src/Configuration/DependencyInjection/Options/InputLengthRestrictions.cs index 46ca9735..7a715291 100644 --- a/src/IdentityServer8/src/Configuration/DependencyInjection/Options/InputLengthRestrictions.cs +++ b/src/IdentityServer8/src/Configuration/DependencyInjection/Options/InputLengthRestrictions.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServer8.Configuration; @@ -136,4 +133,4 @@ public class InputLengthRestrictions /// Max length for the code verifier /// public int CodeVerifierMaxLength { get; } = 128; -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Configuration/DependencyInjection/Options/LoggingOptions.cs b/src/IdentityServer8/src/Configuration/DependencyInjection/Options/LoggingOptions.cs index 5d0094bc..1eb79640 100644 --- a/src/IdentityServer8/src/Configuration/DependencyInjection/Options/LoggingOptions.cs +++ b/src/IdentityServer8/src/Configuration/DependencyInjection/Options/LoggingOptions.cs @@ -1,21 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System.Collections.Generic; -using IdentityModel; - namespace IdentityServer8.Configuration; /// @@ -44,4 +38,4 @@ public class LoggingOptions { OidcConstants.AuthorizeRequest.IdTokenHint }; -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Configuration/DependencyInjection/Options/MtlsOptions.cs b/src/IdentityServer8/src/Configuration/DependencyInjection/Options/MtlsOptions.cs index 13da0847..ba2a64fa 100644 --- a/src/IdentityServer8/src/Configuration/DependencyInjection/Options/MtlsOptions.cs +++ b/src/IdentityServer8/src/Configuration/DependencyInjection/Options/MtlsOptions.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServer8.Configuration; @@ -43,4 +40,4 @@ public class MutualTlsOptions /// setting this to true, will set the claim regardless of the authentication method. (defaults to false). /// public bool AlwaysEmitConfirmationClaim { get; set; } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Configuration/DependencyInjection/Options/UserInteractionOptions.cs b/src/IdentityServer8/src/Configuration/DependencyInjection/Options/UserInteractionOptions.cs index d9ef7571..d600ec35 100644 --- a/src/IdentityServer8/src/Configuration/DependencyInjection/Options/UserInteractionOptions.cs +++ b/src/IdentityServer8/src/Configuration/DependencyInjection/Options/UserInteractionOptions.cs @@ -1,20 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityServer8.Extensions; - namespace IdentityServer8.Configuration; /// diff --git a/src/IdentityServer8/src/Configuration/DependencyInjection/Options/ValidationOptions.cs b/src/IdentityServer8/src/Configuration/DependencyInjection/Options/ValidationOptions.cs index d6327835..70552f4e 100644 --- a/src/IdentityServer8/src/Configuration/DependencyInjection/Options/ValidationOptions.cs +++ b/src/IdentityServer8/src/Configuration/DependencyInjection/Options/ValidationOptions.cs @@ -1,20 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System.Collections.Generic; - namespace IdentityServer8.Configuration; /// @@ -40,4 +35,4 @@ public class ValidationOptions "ws:", "wss:" }; -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Configuration/IdentityServerApplicationBuilderExtensions.cs b/src/IdentityServer8/src/Configuration/IdentityServerApplicationBuilderExtensions.cs index c0819375..fb3a13de 100644 --- a/src/IdentityServer8/src/Configuration/IdentityServerApplicationBuilderExtensions.cs +++ b/src/IdentityServer8/src/Configuration/IdentityServerApplicationBuilderExtensions.cs @@ -1,30 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityServer8.Configuration; -using IdentityServer8.Extensions; -using IdentityServer8.Hosting; -using IdentityServer8.Stores; -using Microsoft.AspNetCore.Authentication; -using Microsoft.Extensions.DependencyInjection; -using Microsoft.Extensions.Logging; -using System; -using System.Diagnostics; -using System.Reflection; -using System.Threading.Tasks; - namespace Microsoft.AspNetCore.Builder; /// diff --git a/src/IdentityServer8/src/Configuration/IdentityServerMiddlewareOptions.cs b/src/IdentityServer8/src/Configuration/IdentityServerMiddlewareOptions.cs index 1c60412a..503a1c66 100644 --- a/src/IdentityServer8/src/Configuration/IdentityServerMiddlewareOptions.cs +++ b/src/IdentityServer8/src/Configuration/IdentityServerMiddlewareOptions.cs @@ -1,20 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System; - namespace Microsoft.AspNetCore.Builder; /// @@ -26,4 +21,4 @@ public class IdentityServerMiddlewareOptions /// Callback to wire up an authentication middleware /// public Action AuthenticationMiddleware { get; set; } = (app) => app.UseAuthentication(); -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Constants.cs b/src/IdentityServer8/src/Constants.cs index b61e4251..634718af 100644 --- a/src/IdentityServer8/src/Constants.cs +++ b/src/IdentityServer8/src/Constants.cs @@ -1,23 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityModel; -using IdentityServer8.Models; -using System; -using System.Collections.Generic; - namespace IdentityServer8; internal static class Constants @@ -347,4 +339,4 @@ public static class CurveOids public const string P384 = "1.3.132.0.34"; public const string P521 = "1.3.132.0.35"; } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Endpoints/AuthorizeCallbackEndpoint.cs b/src/IdentityServer8/src/Endpoints/AuthorizeCallbackEndpoint.cs index d8aabed8..b5c44247 100644 --- a/src/IdentityServer8/src/Endpoints/AuthorizeCallbackEndpoint.cs +++ b/src/IdentityServer8/src/Endpoints/AuthorizeCallbackEndpoint.cs @@ -1,33 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System.Collections.Specialized; -using System.Net; -using System.Threading.Tasks; -using IdentityServer8.Configuration; -using IdentityServer8.Endpoints.Results; -using IdentityServer8.Extensions; -using IdentityServer8.Hosting; -using IdentityServer8.Models; -using IdentityServer8.ResponseHandling; -using IdentityServer8.Services; -using IdentityServer8.Stores; -using IdentityServer8.Validation; -using Microsoft.AspNetCore.Http; -using Microsoft.Extensions.Logging; - namespace IdentityServer8.Endpoints; internal class AuthorizeCallbackEndpoint : AuthorizeEndpointBase diff --git a/src/IdentityServer8/src/Endpoints/AuthorizeEndpoint.cs b/src/IdentityServer8/src/Endpoints/AuthorizeEndpoint.cs index d9cff588..b7081596 100644 --- a/src/IdentityServer8/src/Endpoints/AuthorizeEndpoint.cs +++ b/src/IdentityServer8/src/Endpoints/AuthorizeEndpoint.cs @@ -1,31 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System.Collections.Specialized; -using System.Net; -using System.Threading.Tasks; -using IdentityServer8.Configuration; -using IdentityServer8.Endpoints.Results; -using IdentityServer8.Extensions; -using IdentityServer8.Hosting; -using IdentityServer8.ResponseHandling; -using IdentityServer8.Services; -using IdentityServer8.Validation; -using Microsoft.AspNetCore.Http; -using Microsoft.Extensions.Logging; - namespace IdentityServer8.Endpoints; internal class AuthorizeEndpoint : AuthorizeEndpointBase diff --git a/src/IdentityServer8/src/Endpoints/AuthorizeEndpointBase.cs b/src/IdentityServer8/src/Endpoints/AuthorizeEndpointBase.cs index 3f3bf9f7..d5786fe2 100644 --- a/src/IdentityServer8/src/Endpoints/AuthorizeEndpointBase.cs +++ b/src/IdentityServer8/src/Endpoints/AuthorizeEndpointBase.cs @@ -1,36 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System; -using System.Collections.Specialized; -using System.Security.Claims; -using System.Threading.Tasks; -using IdentityModel; -using IdentityServer8.Configuration; -using IdentityServer8.Endpoints.Results; -using IdentityServer8.Events; -using IdentityServer8.Extensions; -using IdentityServer8.Hosting; -using IdentityServer8.Logging.Models; -using IdentityServer8.Models; -using IdentityServer8.ResponseHandling; -using IdentityServer8.Services; -using IdentityServer8.Validation; -using Microsoft.AspNetCore.Http; -using Microsoft.Extensions.Logging; - namespace IdentityServer8.Endpoints; internal abstract class AuthorizeEndpointBase : IEndpointHandler @@ -197,4 +176,4 @@ private Task RaiseResponseEventAsync(AuthorizeResponse response) return RaiseFailureEventAsync(response.Request, response.Error, response.ErrorDescription); } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Endpoints/CheckSessionEndpoint.cs b/src/IdentityServer8/src/Endpoints/CheckSessionEndpoint.cs index 276dc02d..29a4f231 100644 --- a/src/IdentityServer8/src/Endpoints/CheckSessionEndpoint.cs +++ b/src/IdentityServer8/src/Endpoints/CheckSessionEndpoint.cs @@ -1,25 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityServer8.Endpoints.Results; -using IdentityServer8.Hosting; -using Microsoft.AspNetCore.Http; -using Microsoft.Extensions.Logging; -using System.Net; -using System.Threading.Tasks; - namespace IdentityServer8.Endpoints; internal class CheckSessionEndpoint : IEndpointHandler @@ -48,4 +38,4 @@ public Task ProcessAsync(HttpContext context) return Task.FromResult(result); } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Endpoints/DeviceAuthorizationEndpoint.cs b/src/IdentityServer8/src/Endpoints/DeviceAuthorizationEndpoint.cs index 254a3855..d6017c08 100644 --- a/src/IdentityServer8/src/Endpoints/DeviceAuthorizationEndpoint.cs +++ b/src/IdentityServer8/src/Endpoints/DeviceAuthorizationEndpoint.cs @@ -1,31 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System.Collections.Generic; -using System.Threading.Tasks; -using IdentityModel; -using IdentityServer8.Endpoints.Results; -using IdentityServer8.Events; -using IdentityServer8.Extensions; -using IdentityServer8.Hosting; -using IdentityServer8.ResponseHandling; -using IdentityServer8.Services; -using IdentityServer8.Validation; -using Microsoft.AspNetCore.Http; -using Microsoft.Extensions.Logging; - namespace IdentityServer8.Endpoints; /// @@ -140,4 +124,4 @@ private void LogResponse(DeviceAuthorizationResponse response, DeviceAuthorizati _logger.LogTrace("Verification URI (Complete) issued for {clientId}: {verificationUriComplete}", clientId, response.VerificationUriComplete); } } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Endpoints/DiscoveryEndpoint.cs b/src/IdentityServer8/src/Endpoints/DiscoveryEndpoint.cs index 0f6c8995..d27d58b2 100644 --- a/src/IdentityServer8/src/Endpoints/DiscoveryEndpoint.cs +++ b/src/IdentityServer8/src/Endpoints/DiscoveryEndpoint.cs @@ -1,28 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System.Net; -using System.Threading.Tasks; -using IdentityServer8.Configuration; -using IdentityServer8.Endpoints.Results; -using IdentityServer8.Extensions; -using IdentityServer8.Hosting; -using IdentityServer8.ResponseHandling; -using Microsoft.AspNetCore.Http; -using Microsoft.Extensions.Logging; - namespace IdentityServer8.Endpoints; internal class DiscoveryEndpoint : IEndpointHandler @@ -71,4 +58,4 @@ public async Task ProcessAsync(HttpContext context) return new DiscoveryDocumentResult(response, _options.Discovery.ResponseCacheInterval); } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Endpoints/DiscoveryKeyEndpoint.cs b/src/IdentityServer8/src/Endpoints/DiscoveryKeyEndpoint.cs index f3867de9..16594b79 100644 --- a/src/IdentityServer8/src/Endpoints/DiscoveryKeyEndpoint.cs +++ b/src/IdentityServer8/src/Endpoints/DiscoveryKeyEndpoint.cs @@ -1,27 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System.Net; -using System.Threading.Tasks; -using IdentityServer8.Configuration; -using IdentityServer8.Endpoints.Results; -using IdentityServer8.Hosting; -using IdentityServer8.ResponseHandling; -using Microsoft.AspNetCore.Http; -using Microsoft.Extensions.Logging; - namespace IdentityServer8.Endpoints; internal class DiscoveryKeyEndpoint : IEndpointHandler diff --git a/src/IdentityServer8/src/Endpoints/EndSessionCallbackEndpoint.cs b/src/IdentityServer8/src/Endpoints/EndSessionCallbackEndpoint.cs index 68cf4b25..ee24a041 100644 --- a/src/IdentityServer8/src/Endpoints/EndSessionCallbackEndpoint.cs +++ b/src/IdentityServer8/src/Endpoints/EndSessionCallbackEndpoint.cs @@ -1,27 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System.Net; -using System.Threading.Tasks; -using IdentityServer8.Endpoints.Results; -using IdentityServer8.Extensions; -using IdentityServer8.Hosting; -using IdentityServer8.Validation; -using Microsoft.AspNetCore.Http; -using Microsoft.Extensions.Logging; - namespace IdentityServer8.Endpoints; internal class EndSessionCallbackEndpoint : IEndpointHandler diff --git a/src/IdentityServer8/src/Endpoints/EndSessionEndpoint.cs b/src/IdentityServer8/src/Endpoints/EndSessionEndpoint.cs index 10def1ea..6197800b 100644 --- a/src/IdentityServer8/src/Endpoints/EndSessionEndpoint.cs +++ b/src/IdentityServer8/src/Endpoints/EndSessionEndpoint.cs @@ -1,29 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System.Collections.Specialized; -using System.Net; -using System.Threading.Tasks; -using IdentityServer8.Endpoints.Results; -using IdentityServer8.Extensions; -using IdentityServer8.Hosting; -using IdentityServer8.Services; -using IdentityServer8.Validation; -using Microsoft.AspNetCore.Http; -using Microsoft.Extensions.Logging; - namespace IdentityServer8.Endpoints; internal class EndSessionEndpoint : IEndpointHandler diff --git a/src/IdentityServer8/src/Endpoints/IntrospectionEndpoint.cs b/src/IdentityServer8/src/Endpoints/IntrospectionEndpoint.cs index b7b17f52..49756c9f 100644 --- a/src/IdentityServer8/src/Endpoints/IntrospectionEndpoint.cs +++ b/src/IdentityServer8/src/Endpoints/IntrospectionEndpoint.cs @@ -1,30 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System.Threading.Tasks; -using IdentityServer8.Validation; -using IdentityServer8.ResponseHandling; -using Microsoft.Extensions.Logging; -using IdentityServer8.Hosting; -using IdentityServer8.Endpoints.Results; -using Microsoft.AspNetCore.Http; -using System.Net; -using IdentityServer8.Services; -using IdentityServer8.Events; -using IdentityServer8.Extensions; - namespace IdentityServer8.Endpoints; /// @@ -136,4 +121,4 @@ private void LogFailure(string error, string apiName) { _logger.LogError("Failed token introspection: {error}, for API name: {apiName}", error, apiName); } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Endpoints/Results/AuthorizeResult.cs b/src/IdentityServer8/src/Endpoints/Results/AuthorizeResult.cs index c06d6787..f7a4a6da 100644 --- a/src/IdentityServer8/src/Endpoints/Results/AuthorizeResult.cs +++ b/src/IdentityServer8/src/Endpoints/Results/AuthorizeResult.cs @@ -1,33 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System.Threading.Tasks; -using IdentityServer8.Models; -using IdentityServer8.Extensions; -using IdentityServer8.Hosting; -using IdentityModel; -using Microsoft.AspNetCore.Http; -using Microsoft.Extensions.DependencyInjection; -using System; -using IdentityServer8.Services; -using IdentityServer8.Configuration; -using IdentityServer8.Stores; -using IdentityServer8.ResponseHandling; -using Microsoft.AspNetCore.Authentication; -using System.Text.Encodings.Web; - namespace IdentityServer8.Endpoints.Results; internal class AuthorizeResult : IEndpointResult diff --git a/src/IdentityServer8/src/Endpoints/Results/BadRequestResult.cs b/src/IdentityServer8/src/Endpoints/Results/BadRequestResult.cs index 08de0234..43e7dd5b 100644 --- a/src/IdentityServer8/src/Endpoints/Results/BadRequestResult.cs +++ b/src/IdentityServer8/src/Endpoints/Results/BadRequestResult.cs @@ -1,23 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System.Threading.Tasks; -using IdentityServer8.Hosting; -using Microsoft.AspNetCore.Http; -using IdentityServer8.Extensions; - namespace IdentityServer8.Endpoints.Results; internal class BadRequestResult : IEndpointResult @@ -53,4 +45,4 @@ internal class ResultDto public string error { get; set; } public string error_description { get; set; } } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Endpoints/Results/CheckSessionResult.cs b/src/IdentityServer8/src/Endpoints/Results/CheckSessionResult.cs index 9ab48b3a..ecf64deb 100644 --- a/src/IdentityServer8/src/Endpoints/Results/CheckSessionResult.cs +++ b/src/IdentityServer8/src/Endpoints/Results/CheckSessionResult.cs @@ -1,25 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System.Threading.Tasks; -using IdentityServer8.Hosting; -using Microsoft.AspNetCore.Http; -using Microsoft.Extensions.DependencyInjection; -using IdentityServer8.Configuration; -using IdentityServer8.Extensions; - namespace IdentityServer8.Endpoints.Results; internal class CheckSessionResult : IEndpointResult diff --git a/src/IdentityServer8/src/Endpoints/Results/ConsentPageResult.cs b/src/IdentityServer8/src/Endpoints/Results/ConsentPageResult.cs index eec2f0b5..6e9e1a07 100644 --- a/src/IdentityServer8/src/Endpoints/Results/ConsentPageResult.cs +++ b/src/IdentityServer8/src/Endpoints/Results/ConsentPageResult.cs @@ -1,30 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System; -using System.Collections.Generic; -using System.Threading.Tasks; -using IdentityServer8.Configuration; -using IdentityServer8.Hosting; -using Microsoft.AspNetCore.Http; -using IdentityServer8.Validation; -using IdentityServer8.Extensions; -using Microsoft.Extensions.DependencyInjection; -using IdentityServer8.Stores; -using IdentityServer8.Models; - namespace IdentityServer8.Endpoints.Results; /// @@ -96,4 +81,4 @@ public async Task ExecuteAsync(HttpContext context) var url = consentUrl.AddQueryString(_options.UserInteraction.ConsentReturnUrlParameter, returnUrl); context.Response.RedirectToAbsoluteUrl(url); } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Endpoints/Results/CustomRedirectResult.cs b/src/IdentityServer8/src/Endpoints/Results/CustomRedirectResult.cs index 880714cb..3ab88667 100644 --- a/src/IdentityServer8/src/Endpoints/Results/CustomRedirectResult.cs +++ b/src/IdentityServer8/src/Endpoints/Results/CustomRedirectResult.cs @@ -1,27 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System; -using System.Threading.Tasks; -using IdentityServer8.Hosting; -using IdentityServer8.Validation; -using Microsoft.AspNetCore.Http; -using IdentityServer8.Extensions; -using IdentityServer8.Configuration; -using Microsoft.Extensions.DependencyInjection; - namespace IdentityServer8.Endpoints.Results; /// @@ -92,4 +80,4 @@ public Task ExecuteAsync(HttpContext context) return Task.CompletedTask; } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Endpoints/Results/DeviceAuthorizationResult.cs b/src/IdentityServer8/src/Endpoints/Results/DeviceAuthorizationResult.cs index 222c88be..80b1d831 100644 --- a/src/IdentityServer8/src/Endpoints/Results/DeviceAuthorizationResult.cs +++ b/src/IdentityServer8/src/Endpoints/Results/DeviceAuthorizationResult.cs @@ -1,25 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System; -using System.Threading.Tasks; -using IdentityServer8.Extensions; -using IdentityServer8.Hosting; -using IdentityServer8.ResponseHandling; -using Microsoft.AspNetCore.Http; - namespace IdentityServer8.Endpoints.Results; internal class DeviceAuthorizationResult : IEndpointResult @@ -57,4 +47,4 @@ internal class ResultDto public int expires_in { get; set; } public int interval { get; set; } } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Endpoints/Results/DiscoveryDocumentResult.cs b/src/IdentityServer8/src/Endpoints/Results/DiscoveryDocumentResult.cs index 605e8932..3e1e31fd 100644 --- a/src/IdentityServer8/src/Endpoints/Results/DiscoveryDocumentResult.cs +++ b/src/IdentityServer8/src/Endpoints/Results/DiscoveryDocumentResult.cs @@ -1,25 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityServer8.Extensions; -using IdentityServer8.Hosting; -using Microsoft.AspNetCore.Http; -using System; -using System.Collections.Generic; -using System.Threading.Tasks; - namespace IdentityServer8.Endpoints.Results; /// @@ -70,4 +60,4 @@ public Task ExecuteAsync(HttpContext context) return context.Response.WriteJsonAsync(Entries); } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Endpoints/Results/EndSessionCallbackResult.cs b/src/IdentityServer8/src/Endpoints/Results/EndSessionCallbackResult.cs index 699b4cac..0233df44 100644 --- a/src/IdentityServer8/src/Endpoints/Results/EndSessionCallbackResult.cs +++ b/src/IdentityServer8/src/Endpoints/Results/EndSessionCallbackResult.cs @@ -1,30 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System.Linq; -using IdentityServer8.Validation; -using System.Threading.Tasks; -using IdentityServer8.Hosting; -using Microsoft.AspNetCore.Http; -using Microsoft.Extensions.DependencyInjection; -using System.Net; -using System; -using IdentityServer8.Extensions; -using IdentityServer8.Configuration; -using System.Text.Encodings.Web; - namespace IdentityServer8.Endpoints.Results; internal class EndSessionCallbackResult : IEndpointResult diff --git a/src/IdentityServer8/src/Endpoints/Results/EndSessionResult.cs b/src/IdentityServer8/src/Endpoints/Results/EndSessionResult.cs index 7e79bd6b..6e7a1760 100644 --- a/src/IdentityServer8/src/Endpoints/Results/EndSessionResult.cs +++ b/src/IdentityServer8/src/Endpoints/Results/EndSessionResult.cs @@ -1,31 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System.Threading.Tasks; -using IdentityServer8.Validation; -using IdentityServer8.Hosting; -using Microsoft.AspNetCore.Http; -using IdentityServer8.Configuration; -using Microsoft.Extensions.DependencyInjection; -using IdentityServer8.Models; -using IdentityServer8.Stores; -using IdentityServer8.Extensions; -using System; -using Microsoft.AspNetCore.Authentication; -using Microsoft.DependencyInjection.Extensions; - namespace IdentityServer8.Endpoints.Results; /// diff --git a/src/IdentityServer8/src/Endpoints/Results/IntrospectionResult.cs b/src/IdentityServer8/src/Endpoints/Results/IntrospectionResult.cs index f5ad317b..9275ba17 100644 --- a/src/IdentityServer8/src/Endpoints/Results/IntrospectionResult.cs +++ b/src/IdentityServer8/src/Endpoints/Results/IntrospectionResult.cs @@ -1,25 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System.Collections.Generic; -using System.Threading.Tasks; -using IdentityServer8.Hosting; -using Microsoft.AspNetCore.Http; -using System; -using IdentityServer8.Extensions; - namespace IdentityServer8.Endpoints.Results; /// @@ -57,4 +47,4 @@ public Task ExecuteAsync(HttpContext context) return context.Response.WriteJsonAsync(Entries); } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Endpoints/Results/JsonWebKeysResult.cs b/src/IdentityServer8/src/Endpoints/Results/JsonWebKeysResult.cs index d9b841e6..c4e8e0df 100644 --- a/src/IdentityServer8/src/Endpoints/Results/JsonWebKeysResult.cs +++ b/src/IdentityServer8/src/Endpoints/Results/JsonWebKeysResult.cs @@ -1,26 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityServer8.Extensions; -using IdentityServer8.Hosting; -using IdentityServer8.Models; -using Microsoft.AspNetCore.Http; -using System; -using System.Collections.Generic; -using System.Threading.Tasks; - namespace IdentityServer8.Endpoints.Results; /// @@ -70,4 +59,4 @@ public Task ExecuteAsync(HttpContext context) return context.Response.WriteJsonAsync(new { keys = WebKeys }, "application/json; charset=UTF-8"); } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Endpoints/Results/LoginPageResult.cs b/src/IdentityServer8/src/Endpoints/Results/LoginPageResult.cs index 968e7cca..8aa93d4d 100644 --- a/src/IdentityServer8/src/Endpoints/Results/LoginPageResult.cs +++ b/src/IdentityServer8/src/Endpoints/Results/LoginPageResult.cs @@ -1,30 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System; -using System.Collections.Generic; -using System.Threading.Tasks; -using IdentityServer8.Hosting; -using IdentityServer8.Validation; -using Microsoft.AspNetCore.Http; -using IdentityServer8.Extensions; -using IdentityServer8.Configuration; -using Microsoft.Extensions.DependencyInjection; -using IdentityServer8.Stores; -using IdentityServer8.Models; - namespace IdentityServer8.Endpoints.Results; /// @@ -96,4 +81,4 @@ public async Task ExecuteAsync(HttpContext context) var url = loginUrl.AddQueryString(_options.UserInteraction.LoginReturnUrlParameter, returnUrl); context.Response.RedirectToAbsoluteUrl(url); } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Endpoints/Results/ProtectedResourceErrorResult.cs b/src/IdentityServer8/src/Endpoints/Results/ProtectedResourceErrorResult.cs index e944c20d..acd0cc8a 100644 --- a/src/IdentityServer8/src/Endpoints/Results/ProtectedResourceErrorResult.cs +++ b/src/IdentityServer8/src/Endpoints/Results/ProtectedResourceErrorResult.cs @@ -1,25 +1,16 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System.Threading.Tasks; -using IdentityServer8.Extensions; -using Microsoft.Extensions.Primitives; -using IdentityServer8.Hosting; -using Microsoft.AspNetCore.Http; using Microsoft.Net.Http.Headers; -using IdentityModel; namespace IdentityServer8.Endpoints.Results; diff --git a/src/IdentityServer8/src/Endpoints/Results/StatusCodeResult.cs b/src/IdentityServer8/src/Endpoints/Results/StatusCodeResult.cs index 0cf69c7e..90f23caa 100644 --- a/src/IdentityServer8/src/Endpoints/Results/StatusCodeResult.cs +++ b/src/IdentityServer8/src/Endpoints/Results/StatusCodeResult.cs @@ -1,23 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System.Threading.Tasks; -using System.Net; -using IdentityServer8.Hosting; -using Microsoft.AspNetCore.Http; - namespace IdentityServer8.Endpoints.Results; /// @@ -63,4 +55,4 @@ public Task ExecuteAsync(HttpContext context) return Task.CompletedTask; } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Endpoints/Results/TokenErrorResult.cs b/src/IdentityServer8/src/Endpoints/Results/TokenErrorResult.cs index a3e3d819..396f39a0 100644 --- a/src/IdentityServer8/src/Endpoints/Results/TokenErrorResult.cs +++ b/src/IdentityServer8/src/Endpoints/Results/TokenErrorResult.cs @@ -1,26 +1,17 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System.Threading.Tasks; -using IdentityServer8.Hosting; -using Microsoft.AspNetCore.Http; -using IdentityServer8.Extensions; -using System; -using System.Collections.Generic; -using System.Text.Json.Serialization; -using IdentityServer8.ResponseHandling; +using JsonExtensionDataAttribute = System.Text.Json.Serialization.JsonExtensionDataAttribute; + namespace IdentityServer8.Endpoints.Results; diff --git a/src/IdentityServer8/src/Endpoints/Results/TokenResult.cs b/src/IdentityServer8/src/Endpoints/Results/TokenResult.cs index 806cb51f..de919353 100644 --- a/src/IdentityServer8/src/Endpoints/Results/TokenResult.cs +++ b/src/IdentityServer8/src/Endpoints/Results/TokenResult.cs @@ -1,27 +1,17 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityModel; -using IdentityServer8.Extensions; -using IdentityServer8.Hosting; -using IdentityServer8.ResponseHandling; -using Microsoft.AspNetCore.Http; -using System; -using System.Collections.Generic; -using System.Text.Json.Serialization; -using System.Threading.Tasks; +using JsonExtensionDataAttribute = System.Text.Json.Serialization.JsonExtensionDataAttribute; +using JsonSerializer = System.Text.Json.JsonSerializer; namespace IdentityServer8.Endpoints.Results; @@ -46,7 +36,7 @@ public async Task ExecuteAsync(HttpContext context) expires_in = Response.AccessTokenLifetime, token_type = OidcConstants.TokenResponse.BearerTokenType, scope = Response.Scope, - + Custom = Response.Custom }; @@ -63,6 +53,6 @@ internal class ResultDto public string scope { get; set; } [JsonExtensionData] - public Dictionary Custom { get; set; } + public Dictionary? Custom { get; set; } } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Endpoints/Results/TokenRevocationErrorResult.cs b/src/IdentityServer8/src/Endpoints/Results/TokenRevocationErrorResult.cs index 963d174c..da4dbfd4 100644 --- a/src/IdentityServer8/src/Endpoints/Results/TokenRevocationErrorResult.cs +++ b/src/IdentityServer8/src/Endpoints/Results/TokenRevocationErrorResult.cs @@ -1,24 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityServer8.Extensions; -using IdentityServer8.Hosting; -using Microsoft.AspNetCore.Http; -using System.Net; -using System.Threading.Tasks; - namespace IdentityServer8.Endpoints.Results; /// @@ -54,4 +45,4 @@ public Task ExecuteAsync(HttpContext context) context.Response.StatusCode = (int)HttpStatusCode.BadRequest; return context.Response.WriteJsonAsync(new { error = Error }); } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Endpoints/Results/UserInfoResult.cs b/src/IdentityServer8/src/Endpoints/Results/UserInfoResult.cs index a567c60a..59a0d3b8 100644 --- a/src/IdentityServer8/src/Endpoints/Results/UserInfoResult.cs +++ b/src/IdentityServer8/src/Endpoints/Results/UserInfoResult.cs @@ -1,24 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System.Collections.Generic; -using System.Threading.Tasks; -using IdentityServer8.Extensions; -using IdentityServer8.Hosting; -using Microsoft.AspNetCore.Http; - namespace IdentityServer8.Endpoints.Results; internal class UserInfoResult : IEndpointResult @@ -35,4 +26,4 @@ public async Task ExecuteAsync(HttpContext context) context.Response.SetNoCache(); await context.Response.WriteJsonAsync(Claims); } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Endpoints/TokenEndpoint.cs b/src/IdentityServer8/src/Endpoints/TokenEndpoint.cs index 06f0d851..bd21f6f6 100644 --- a/src/IdentityServer8/src/Endpoints/TokenEndpoint.cs +++ b/src/IdentityServer8/src/Endpoints/TokenEndpoint.cs @@ -1,31 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityModel; -using IdentityServer8.Endpoints.Results; -using IdentityServer8.Events; -using IdentityServer8.Extensions; -using IdentityServer8.Hosting; -using IdentityServer8.ResponseHandling; -using IdentityServer8.Services; -using IdentityServer8.Validation; -using Microsoft.AspNetCore.Http; -using Microsoft.Extensions.Logging; -using System.Collections.Generic; -using System.Threading.Tasks; - namespace IdentityServer8.Endpoints; /// @@ -146,4 +130,4 @@ private void LogTokens(TokenResponse response, TokenRequestValidationResult requ _logger.LogTrace("Access token issued for {clientId} / {subjectId}: {token}", clientId, subjectId, response.AccessToken); } } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Endpoints/TokenRevocationEndpoint.cs b/src/IdentityServer8/src/Endpoints/TokenRevocationEndpoint.cs index 808a3002..578b4bed 100644 --- a/src/IdentityServer8/src/Endpoints/TokenRevocationEndpoint.cs +++ b/src/IdentityServer8/src/Endpoints/TokenRevocationEndpoint.cs @@ -1,31 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityModel; -using IdentityServer8.Endpoints.Results; -using IdentityServer8.Hosting; -using IdentityServer8.Validation; -using Microsoft.Extensions.Logging; -using System.Net; -using System.Threading.Tasks; -using IdentityServer8.Services; -using Microsoft.AspNetCore.Http; -using IdentityServer8.Events; -using IdentityServer8.ResponseHandling; -using IdentityServer8.Extensions; - namespace IdentityServer8.Endpoints; /// @@ -130,4 +114,4 @@ private async Task ProcessRevocationRequestAsync(HttpContext co return new StatusCodeResult(HttpStatusCode.OK); } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Endpoints/UserInfoEndpoint.cs b/src/IdentityServer8/src/Endpoints/UserInfoEndpoint.cs index fa4d2fe2..bc6afc4d 100644 --- a/src/IdentityServer8/src/Endpoints/UserInfoEndpoint.cs +++ b/src/IdentityServer8/src/Endpoints/UserInfoEndpoint.cs @@ -1,28 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System.Threading.Tasks; -using IdentityServer8.Validation; -using IdentityServer8.ResponseHandling; -using Microsoft.Extensions.Logging; -using IdentityServer8.Hosting; -using IdentityServer8.Endpoints.Results; -using IdentityModel; -using Microsoft.AspNetCore.Http; -using System.Net; - namespace IdentityServer8.Endpoints; /// @@ -107,4 +94,4 @@ private IEndpointResult Error(string error, string description = null) { return new ProtectedResourceErrorResult(error, description); } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Events/ApiAuthenticationFailureEvent.cs b/src/IdentityServer8/src/Events/ApiAuthenticationFailureEvent.cs index c0d15b21..a0cc51df 100644 --- a/src/IdentityServer8/src/Events/ApiAuthenticationFailureEvent.cs +++ b/src/IdentityServer8/src/Events/ApiAuthenticationFailureEvent.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServer8.Events; diff --git a/src/IdentityServer8/src/Events/ApiAuthenticationSuccessEvent.cs b/src/IdentityServer8/src/Events/ApiAuthenticationSuccessEvent.cs index 6c2b1106..d78d77c4 100644 --- a/src/IdentityServer8/src/Events/ApiAuthenticationSuccessEvent.cs +++ b/src/IdentityServer8/src/Events/ApiAuthenticationSuccessEvent.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServer8.Events; diff --git a/src/IdentityServer8/src/Events/ClientAuthenticationFailureEvent.cs b/src/IdentityServer8/src/Events/ClientAuthenticationFailureEvent.cs index 4d3f9c00..9bf1d9fc 100644 --- a/src/IdentityServer8/src/Events/ClientAuthenticationFailureEvent.cs +++ b/src/IdentityServer8/src/Events/ClientAuthenticationFailureEvent.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServer8.Events; diff --git a/src/IdentityServer8/src/Events/ClientAuthenticationSuccessEvent.cs b/src/IdentityServer8/src/Events/ClientAuthenticationSuccessEvent.cs index 066bc54c..4aaf7e7f 100644 --- a/src/IdentityServer8/src/Events/ClientAuthenticationSuccessEvent.cs +++ b/src/IdentityServer8/src/Events/ClientAuthenticationSuccessEvent.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServer8.Events; diff --git a/src/IdentityServer8/src/Events/ConsentDeniedEvent.cs b/src/IdentityServer8/src/Events/ConsentDeniedEvent.cs index 2cfea52b..42110381 100644 --- a/src/IdentityServer8/src/Events/ConsentDeniedEvent.cs +++ b/src/IdentityServer8/src/Events/ConsentDeniedEvent.cs @@ -1,20 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System.Collections.Generic; - namespace IdentityServer8.Events; /// @@ -63,4 +58,4 @@ public ConsentDeniedEvent(string subjectId, string clientId, IEnumerable /// The requested scopes. /// public IEnumerable RequestedScopes { get; set; } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Events/ConsentGrantedEvent.cs b/src/IdentityServer8/src/Events/ConsentGrantedEvent.cs index 17cc9e76..eaadda02 100644 --- a/src/IdentityServer8/src/Events/ConsentGrantedEvent.cs +++ b/src/IdentityServer8/src/Events/ConsentGrantedEvent.cs @@ -1,20 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System.Collections.Generic; - namespace IdentityServer8.Events; /// diff --git a/src/IdentityServer8/src/Events/DeviceAuthorizationFailureEvent.cs b/src/IdentityServer8/src/Events/DeviceAuthorizationFailureEvent.cs index ce4c21db..d8eeb49a 100644 --- a/src/IdentityServer8/src/Events/DeviceAuthorizationFailureEvent.cs +++ b/src/IdentityServer8/src/Events/DeviceAuthorizationFailureEvent.cs @@ -1,21 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityServer8.Extensions; -using IdentityServer8.Validation; - namespace IdentityServer8.Events; /// @@ -102,4 +96,4 @@ public DeviceAuthorizationFailureEvent() /// The error description. /// public string ErrorDescription { get; set; } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Events/DeviceAuthorizationSuccessEvent.cs b/src/IdentityServer8/src/Events/DeviceAuthorizationSuccessEvent.cs index b1e6b7af..fe9295bc 100644 --- a/src/IdentityServer8/src/Events/DeviceAuthorizationSuccessEvent.cs +++ b/src/IdentityServer8/src/Events/DeviceAuthorizationSuccessEvent.cs @@ -1,22 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityServer8.Extensions; -using IdentityServer8.ResponseHandling; -using IdentityServer8.Validation; - namespace IdentityServer8.Events; /// @@ -82,4 +75,4 @@ protected DeviceAuthorizationSuccessEvent() /// The scopes. /// public string Scopes { get; set; } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Events/GrantsRevokedEvent.cs b/src/IdentityServer8/src/Events/GrantsRevokedEvent.cs index 49fac2d3..b08938a5 100644 --- a/src/IdentityServer8/src/Events/GrantsRevokedEvent.cs +++ b/src/IdentityServer8/src/Events/GrantsRevokedEvent.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServer8.Events; @@ -51,4 +48,4 @@ public GrantsRevokedEvent(string subjectId, string clientId) /// The client identifier. /// public string ClientId { get; set; } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Events/Infrastructure/Event.cs b/src/IdentityServer8/src/Events/Infrastructure/Event.cs index d0732395..5b3b1596 100644 --- a/src/IdentityServer8/src/Events/Infrastructure/Event.cs +++ b/src/IdentityServer8/src/Events/Infrastructure/Event.cs @@ -1,23 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityServer8.Extensions; -using IdentityServer8.Logging; -using System; -using System.Threading.Tasks; - namespace IdentityServer8.Events; /// @@ -154,4 +146,4 @@ public override string ToString() { return LogSerializer.Serialize(this); } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Events/Infrastructure/EventCategories.cs b/src/IdentityServer8/src/Events/Infrastructure/EventCategories.cs index b6b0bf7b..7d64a9d5 100644 --- a/src/IdentityServer8/src/Events/Infrastructure/EventCategories.cs +++ b/src/IdentityServer8/src/Events/Infrastructure/EventCategories.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServer8.Events; @@ -44,4 +41,4 @@ public static class EventCategories /// Device flow related events /// public const string DeviceFlow = "Device"; -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Events/Infrastructure/EventIds.cs b/src/IdentityServer8/src/Events/Infrastructure/EventIds.cs index fbdf07ee..4069a41e 100644 --- a/src/IdentityServer8/src/Events/Infrastructure/EventIds.cs +++ b/src/IdentityServer8/src/Events/Infrastructure/EventIds.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ #pragma warning disable 1591 @@ -68,4 +65,4 @@ public static class EventIds public const int DeviceAuthorizationSuccess = DeviceFlowEventsStart + 0; public const int DeviceAuthorizationFailure = DeviceFlowEventsStart + 1; -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Events/Infrastructure/EventType.cs b/src/IdentityServer8/src/Events/Infrastructure/EventType.cs index b3c4efb6..fb6d0ea5 100644 --- a/src/IdentityServer8/src/Events/Infrastructure/EventType.cs +++ b/src/IdentityServer8/src/Events/Infrastructure/EventType.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServer8.Events; @@ -39,4 +36,4 @@ public enum EventTypes /// Error event /// Error = 4 -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Events/InvalidClientConfiguration.cs b/src/IdentityServer8/src/Events/InvalidClientConfiguration.cs index 549ea97e..7052d550 100644 --- a/src/IdentityServer8/src/Events/InvalidClientConfiguration.cs +++ b/src/IdentityServer8/src/Events/InvalidClientConfiguration.cs @@ -1,20 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityServer8.Models; - namespace IdentityServer8.Events; /// @@ -54,4 +49,4 @@ public InvalidClientConfigurationEvent(Client client, string errorMessage) /// The name of the client. /// public string ClientName { get; set; } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Events/TokenIntrospectionFailureEvent.cs b/src/IdentityServer8/src/Events/TokenIntrospectionFailureEvent.cs index 110f2bbe..102189b2 100644 --- a/src/IdentityServer8/src/Events/TokenIntrospectionFailureEvent.cs +++ b/src/IdentityServer8/src/Events/TokenIntrospectionFailureEvent.cs @@ -1,21 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityServer8.Extensions; -using System.Collections.Generic; - namespace IdentityServer8.Events; /// @@ -88,4 +82,4 @@ public TokenIntrospectionFailureEvent(string apiName, string errorMessage, strin /// The token scopes. /// public IEnumerable TokenScopes { get; set; } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Events/TokenIntrospectionSuccessEvent.cs b/src/IdentityServer8/src/Events/TokenIntrospectionSuccessEvent.cs index d8cd10e4..ff155441 100644 --- a/src/IdentityServer8/src/Events/TokenIntrospectionSuccessEvent.cs +++ b/src/IdentityServer8/src/Events/TokenIntrospectionSuccessEvent.cs @@ -1,23 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityServer8.Extensions; -using IdentityServer8.Validation; -using System.Collections.Generic; -using System.Linq; - namespace IdentityServer8.Events; /// @@ -90,4 +82,4 @@ public TokenIntrospectionSuccessEvent(IntrospectionRequestValidationResult resul /// The token scopes. /// public IEnumerable TokenScopes { get; set; } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Events/TokenIssuedFailureEvent.cs b/src/IdentityServer8/src/Events/TokenIssuedFailureEvent.cs index 0291f4fd..29ae1e8d 100644 --- a/src/IdentityServer8/src/Events/TokenIssuedFailureEvent.cs +++ b/src/IdentityServer8/src/Events/TokenIssuedFailureEvent.cs @@ -1,22 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityServer8.Extensions; -using IdentityServer8.Validation; -using static IdentityServer8.Constants; - namespace IdentityServer8.Events; /// @@ -160,4 +153,4 @@ protected TokenIssuedFailureEvent() /// The error description. /// public string ErrorDescription { get; set; } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Events/TokenIssuedSuccessEvent.cs b/src/IdentityServer8/src/Events/TokenIssuedSuccessEvent.cs index f2be0a8f..d7f5f667 100644 --- a/src/IdentityServer8/src/Events/TokenIssuedSuccessEvent.cs +++ b/src/IdentityServer8/src/Events/TokenIssuedSuccessEvent.cs @@ -1,25 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityModel; -using IdentityServer8.Extensions; -using IdentityServer8.ResponseHandling; -using IdentityServer8.Validation; -using System.Collections.Generic; -using static IdentityServer8.Constants; - namespace IdentityServer8.Events; /// @@ -209,4 +199,4 @@ public Token(string type, string value) /// public string TokenValue { get; } } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Events/TokenRevokedSuccessEvent.cs b/src/IdentityServer8/src/Events/TokenRevokedSuccessEvent.cs index 41556ba8..f44f4550 100644 --- a/src/IdentityServer8/src/Events/TokenRevokedSuccessEvent.cs +++ b/src/IdentityServer8/src/Events/TokenRevokedSuccessEvent.cs @@ -1,21 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityServer8.Models; -using IdentityServer8.Validation; - namespace IdentityServer8.Events; /// @@ -72,4 +66,4 @@ public TokenRevokedSuccessEvent(TokenRevocationRequestValidationResult requestRe /// The token. /// public string Token { get; set; } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Events/UnhandledExceptionEvent.cs b/src/IdentityServer8/src/Events/UnhandledExceptionEvent.cs index c1b1dce2..18d0f0f5 100644 --- a/src/IdentityServer8/src/Events/UnhandledExceptionEvent.cs +++ b/src/IdentityServer8/src/Events/UnhandledExceptionEvent.cs @@ -1,20 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System; - namespace IdentityServer8.Events; /// @@ -44,4 +39,4 @@ public UnhandledExceptionEvent(Exception ex) /// The details. /// public string Details { get; set; } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Events/UserLoginFailureEvent.cs b/src/IdentityServer8/src/Events/UserLoginFailureEvent.cs index cecb1e43..af03f6a6 100644 --- a/src/IdentityServer8/src/Events/UserLoginFailureEvent.cs +++ b/src/IdentityServer8/src/Events/UserLoginFailureEvent.cs @@ -1,20 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using static IdentityServer8.Constants; - namespace IdentityServer8.Events; /// diff --git a/src/IdentityServer8/src/Events/UserLoginSuccessEvent.cs b/src/IdentityServer8/src/Events/UserLoginSuccessEvent.cs index 2e292d33..691d07d6 100644 --- a/src/IdentityServer8/src/Events/UserLoginSuccessEvent.cs +++ b/src/IdentityServer8/src/Events/UserLoginSuccessEvent.cs @@ -1,20 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using static IdentityServer8.Constants; - namespace IdentityServer8.Events; /// @@ -144,4 +139,4 @@ protected UserLoginSuccessEvent() /// The client id. /// public string ClientId { get; set; } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Events/UserLogoutSuccessEvent.cs b/src/IdentityServer8/src/Events/UserLogoutSuccessEvent.cs index 05419fdf..742ba434 100644 --- a/src/IdentityServer8/src/Events/UserLogoutSuccessEvent.cs +++ b/src/IdentityServer8/src/Events/UserLogoutSuccessEvent.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServer8.Events; @@ -51,4 +48,4 @@ public UserLogoutSuccessEvent(string subjectId, string name) /// The display name. /// public string DisplayName { get; set; } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Extensions/AuthenticationPropertiesExtensions.cs b/src/IdentityServer8/src/Extensions/AuthenticationPropertiesExtensions.cs index 40954009..10cbd090 100644 --- a/src/IdentityServer8/src/Extensions/AuthenticationPropertiesExtensions.cs +++ b/src/IdentityServer8/src/Extensions/AuthenticationPropertiesExtensions.cs @@ -1,25 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityModel; -using Microsoft.AspNetCore.Authentication; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; - namespace IdentityServer8.Extensions; /// @@ -133,4 +123,4 @@ private static string EncodeList(IEnumerable list) return null; } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Extensions/AuthorizeResponseExtensions.cs b/src/IdentityServer8/src/Extensions/AuthorizeResponseExtensions.cs index 304119bf..b79a7d00 100644 --- a/src/IdentityServer8/src/Extensions/AuthorizeResponseExtensions.cs +++ b/src/IdentityServer8/src/Extensions/AuthorizeResponseExtensions.cs @@ -1,22 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityServer8.Extensions; -using IdentityServer8.ResponseHandling; -using System.Collections.Specialized; - namespace IdentityServer8.Models; internal static class AuthorizeResponseExtensions @@ -73,4 +66,4 @@ public static NameValueCollection ToNameValueCollection(this AuthorizeResponse r return collection; } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Extensions/ClaimsExtensions.cs b/src/IdentityServer8/src/Extensions/ClaimsExtensions.cs index 4b168f72..da25045a 100644 --- a/src/IdentityServer8/src/Extensions/ClaimsExtensions.cs +++ b/src/IdentityServer8/src/Extensions/ClaimsExtensions.cs @@ -1,25 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityModel; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Security.Claims; -using System.Text.Json; - namespace IdentityServer8.Extensions; internal static class ClaimsExtensions @@ -98,4 +88,4 @@ private static object GetValue(Claim claim) return claim.Value; } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Extensions/ClientExtensions.cs b/src/IdentityServer8/src/Extensions/ClientExtensions.cs index 7d24164f..edfd2403 100644 --- a/src/IdentityServer8/src/Extensions/ClientExtensions.cs +++ b/src/IdentityServer8/src/Extensions/ClientExtensions.cs @@ -1,24 +1,16 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using Microsoft.IdentityModel.Tokens; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Security.Cryptography.X509Certificates; -using System.Threading.Tasks; namespace IdentityServer8.Models; @@ -70,4 +62,4 @@ private static List GetCertificates(IEnumerable secret .Where(c => c != null) .ToList(); } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Extensions/DateTimeExtensions.cs b/src/IdentityServer8/src/Extensions/DateTimeExtensions.cs index 93824a3a..e0114683 100644 --- a/src/IdentityServer8/src/Extensions/DateTimeExtensions.cs +++ b/src/IdentityServer8/src/Extensions/DateTimeExtensions.cs @@ -1,21 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System; -using System.Diagnostics; - namespace IdentityServer8.Extensions; internal static class DateTimeExtensions @@ -54,4 +48,4 @@ public static bool HasExpired(this DateTime expirationTime, DateTime now) return false; } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Extensions/EndpointOptionsExtensions.cs b/src/IdentityServer8/src/Extensions/EndpointOptionsExtensions.cs index cbaad742..779ac108 100644 --- a/src/IdentityServer8/src/Extensions/EndpointOptionsExtensions.cs +++ b/src/IdentityServer8/src/Extensions/EndpointOptionsExtensions.cs @@ -1,21 +1,16 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityServer8.Configuration; -using IdentityServer8.Hosting; -using static IdentityServer8.Constants; +using Endpoint = IdentityServer8.Hosting.Endpoint; namespace IdentityServer8.Extensions; @@ -37,4 +32,4 @@ public static bool IsEndpointEnabled(this EndpointsOptions options, Endpoint end _ => true }; } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Extensions/HashExtensions.cs b/src/IdentityServer8/src/Extensions/HashExtensions.cs index ddfb8719..06827a48 100644 --- a/src/IdentityServer8/src/Extensions/HashExtensions.cs +++ b/src/IdentityServer8/src/Extensions/HashExtensions.cs @@ -1,23 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityServer8.Extensions; -using System; -using System.Security.Cryptography; -using System.Text; - namespace IdentityServer8.Models; /// @@ -78,4 +70,4 @@ public static string Sha512(this string input) return Convert.ToBase64String(hash); } } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Extensions/HttpContextAuthenticationExtensions.cs b/src/IdentityServer8/src/Extensions/HttpContextAuthenticationExtensions.cs index fc9eea31..c0c0ce2d 100644 --- a/src/IdentityServer8/src/Extensions/HttpContextAuthenticationExtensions.cs +++ b/src/IdentityServer8/src/Extensions/HttpContextAuthenticationExtensions.cs @@ -1,25 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityServer8; -using IdentityServer8.Configuration; -using Microsoft.AspNetCore.Authentication; -using Microsoft.Extensions.DependencyInjection; -using System; -using System.Threading.Tasks; - namespace Microsoft.AspNetCore.Http; /// @@ -72,4 +62,4 @@ internal static async Task GetCookieAuthenticationSchemeAsync(this HttpC return scheme.Name; } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Extensions/HttpContextExtensions.cs b/src/IdentityServer8/src/Extensions/HttpContextExtensions.cs index 5c153dd2..f82dc9ea 100644 --- a/src/IdentityServer8/src/Extensions/HttpContextExtensions.cs +++ b/src/IdentityServer8/src/Extensions/HttpContextExtensions.cs @@ -1,31 +1,18 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityServer8.Configuration; -using IdentityServer8.Services; -using Microsoft.AspNetCore.Http; -using Microsoft.Extensions.DependencyInjection; -using System; -using System.Threading.Tasks; -using IdentityServer8.Models; -using IdentityServer8.Stores; -using System.Linq; -using Microsoft.AspNetCore.Authentication; - #pragma warning disable 1591 + namespace IdentityServer8.Extensions; public static class HttpContextExtensions diff --git a/src/IdentityServer8/src/Extensions/HttpRequestExtensions.cs b/src/IdentityServer8/src/Extensions/HttpRequestExtensions.cs index 72d0c40b..bfe37fa6 100644 --- a/src/IdentityServer8/src/Extensions/HttpRequestExtensions.cs +++ b/src/IdentityServer8/src/Extensions/HttpRequestExtensions.cs @@ -1,25 +1,20 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System; -using Microsoft.AspNetCore.Http; -using System.Linq; -using Microsoft.Net.Http.Headers; - #pragma warning disable 1591 + +using System.Net.Http.Headers; + namespace IdentityServer8.Extensions; public static class HttpRequestExtensions @@ -52,4 +47,4 @@ internal static bool HasApplicationFormContentType(this HttpRequest request) return false; } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Extensions/HttpResponseExtensions.cs b/src/IdentityServer8/src/Extensions/HttpResponseExtensions.cs index 5bf35533..5a274865 100644 --- a/src/IdentityServer8/src/Extensions/HttpResponseExtensions.cs +++ b/src/IdentityServer8/src/Extensions/HttpResponseExtensions.cs @@ -1,28 +1,18 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityServer8.Configuration; -using IdentityServer8.Models; -using Microsoft.AspNetCore.Http; -using Microsoft.DependencyInjection.Extensions; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - #pragma warning disable 1591 + namespace IdentityServer8.Extensions; public static class HttpResponseExtensions @@ -132,4 +122,4 @@ public static void AddCspHeaders(IHeaderDictionary headers, CspOptions options, headers.Append("X-Content-Security-Policy", cspHeader); } } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Extensions/ICacheExtensions.cs b/src/IdentityServer8/src/Extensions/ICacheExtensions.cs index 4f0c34a4..952bfcbd 100644 --- a/src/IdentityServer8/src/Extensions/ICacheExtensions.cs +++ b/src/IdentityServer8/src/Extensions/ICacheExtensions.cs @@ -1,24 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityServer8.Services; -using Microsoft.DependencyInjection.Extensions; -using Microsoft.Extensions.Logging; -using System; -using System.Threading.Tasks; - namespace IdentityServer8.Extensions; /// diff --git a/src/IdentityServer8/src/Extensions/IClientStoreExtensions.cs b/src/IdentityServer8/src/Extensions/IClientStoreExtensions.cs index 157c68dc..5a4c39e9 100644 --- a/src/IdentityServer8/src/Extensions/IClientStoreExtensions.cs +++ b/src/IdentityServer8/src/Extensions/IClientStoreExtensions.cs @@ -1,21 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityServer8.Models; -using System.Threading.Tasks; - namespace IdentityServer8.Stores; /// @@ -36,4 +30,4 @@ public static async Task FindEnabledClientByIdAsync(this IClientStore st return null; } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Extensions/IEnumerableExtensions.cs b/src/IdentityServer8/src/Extensions/IEnumerableExtensions.cs index 94b7cf17..478c70df 100644 --- a/src/IdentityServer8/src/Extensions/IEnumerableExtensions.cs +++ b/src/IdentityServer8/src/Extensions/IEnumerableExtensions.cs @@ -1,23 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System; -using System.Collections.Generic; -using System.Diagnostics; -using System.Linq; - #pragma warning disable 1591 namespace IdentityServer8.Extensions; @@ -52,4 +44,4 @@ public static bool HasDuplicates(this IEnumerable list, Func diff --git a/src/IdentityServer8/src/Extensions/IUserSessionExtensions.cs b/src/IdentityServer8/src/Extensions/IUserSessionExtensions.cs index 4e8c44e7..0a146550 100644 --- a/src/IdentityServer8/src/Extensions/IUserSessionExtensions.cs +++ b/src/IdentityServer8/src/Extensions/IUserSessionExtensions.cs @@ -1,23 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityServer8.Extensions; -using IdentityServer8.Models; -using System.Linq; -using System.Threading.Tasks; - namespace IdentityServer8.Services; /// @@ -49,4 +41,4 @@ public static async Task GetLogoutNotificationContext return null; } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Extensions/IdentityServerToolsExtensions.cs b/src/IdentityServer8/src/Extensions/IdentityServerToolsExtensions.cs index ed33a90b..569dc2f7 100644 --- a/src/IdentityServer8/src/Extensions/IdentityServerToolsExtensions.cs +++ b/src/IdentityServer8/src/Extensions/IdentityServerToolsExtensions.cs @@ -1,26 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityModel; -using System.Collections.Generic; -using System.Security.Claims; -using System.Threading.Tasks; -using IdentityServer8.Extensions; -using Microsoft.Extensions.DependencyInjection; -using IdentityServer8.Configuration; - namespace IdentityServer8; /// @@ -82,4 +71,4 @@ public static async Task IssueClientJwtAsync(this IdentityServerTools to return await tools.IssueJwtAsync(lifetime, claims); } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Extensions/JsonExtensions.cs b/src/IdentityServer8/src/Extensions/JsonExtensions.cs index 2663c477..e184813e 100644 --- a/src/IdentityServer8/src/Extensions/JsonExtensions.cs +++ b/src/IdentityServer8/src/Extensions/JsonExtensions.cs @@ -1,22 +1,16 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System; -using System.Buffers; -using System.Diagnostics; -using System.Text.Json; +using JsonSerializer = System.Text.Json.JsonSerializer; namespace IdentityServer8.Extensions; @@ -38,4 +32,4 @@ public static T ToObject(this JsonDocument document, JsonSerializerOptions op throw new ArgumentNullException(nameof(document)); return document.RootElement.ToObject(options); } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Extensions/NameValueCollectionExtensions.cs b/src/IdentityServer8/src/Extensions/NameValueCollectionExtensions.cs index 68c14dfd..b5b542e3 100644 --- a/src/IdentityServer8/src/Extensions/NameValueCollectionExtensions.cs +++ b/src/IdentityServer8/src/Extensions/NameValueCollectionExtensions.cs @@ -1,25 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System; -using System.Linq; -using System.Collections.Generic; -using System.Collections.Specialized; -using System.Text; -using System.Text.Encodings.Web; - namespace IdentityServer8.Extensions; internal static class NameValueCollectionExtensions diff --git a/src/IdentityServer8/src/Extensions/PrincipalExtensions.cs b/src/IdentityServer8/src/Extensions/PrincipalExtensions.cs index d2e799e6..302ece80 100644 --- a/src/IdentityServer8/src/Extensions/PrincipalExtensions.cs +++ b/src/IdentityServer8/src/Extensions/PrincipalExtensions.cs @@ -1,25 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityModel; -using System; -using System.Collections.Generic; -using System.Diagnostics; -using System.Security.Claims; -using System.Security.Principal; - namespace IdentityServer8.Extensions; /// @@ -227,4 +217,4 @@ public static bool IsAuthenticated(this IPrincipal principal) { return principal != null && principal.Identity != null && principal.Identity.IsAuthenticated; } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Extensions/ProfileDataRequestContextExtensions.cs b/src/IdentityServer8/src/Extensions/ProfileDataRequestContextExtensions.cs index 57b4e4ce..e29cb2d2 100644 --- a/src/IdentityServer8/src/Extensions/ProfileDataRequestContextExtensions.cs +++ b/src/IdentityServer8/src/Extensions/ProfileDataRequestContextExtensions.cs @@ -1,25 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityServer8.Extensions; -using Microsoft.Extensions.Logging; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Security.Claims; - namespace IdentityServer8.Models; /// @@ -77,4 +67,4 @@ public static void LogIssuedClaims(this ProfileDataRequestContext context, ILogg { logger.LogDebug("Issued claims: {claims}", context.IssuedClaims.Select(c => c.Type)); } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Extensions/ResourceExtensions.cs b/src/IdentityServer8/src/Extensions/ResourceExtensions.cs index c0aaa152..a802c67e 100644 --- a/src/IdentityServer8/src/Extensions/ResourceExtensions.cs +++ b/src/IdentityServer8/src/Extensions/ResourceExtensions.cs @@ -1,24 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System; -using System.Collections.Generic; -using System.Linq; -using IdentityServer8.Extensions; -using IdentityServer8.Validation; - namespace IdentityServer8.Models; /// @@ -149,4 +140,4 @@ private static IEnumerable IntersectLists(IEnumerable> list { return lists.Aggregate((l1, l2) => l1.Intersect(l2)); } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Extensions/ScopeExtensions.cs b/src/IdentityServer8/src/Extensions/ScopeExtensions.cs index 887ab73b..b8bcf949 100644 --- a/src/IdentityServer8/src/Extensions/ScopeExtensions.cs +++ b/src/IdentityServer8/src/Extensions/ScopeExtensions.cs @@ -1,22 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System.Collections.Generic; -using System.Diagnostics; -using System.Linq; - namespace IdentityServer8.Models; internal static class ScopeExtensions @@ -38,4 +31,4 @@ public static IEnumerable ToStringList(this IEnumerable apiSco return scopeNames; } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Extensions/StringsExtensions.cs b/src/IdentityServer8/src/Extensions/StringsExtensions.cs index f5412676..ede60567 100644 --- a/src/IdentityServer8/src/Extensions/StringsExtensions.cs +++ b/src/IdentityServer8/src/Extensions/StringsExtensions.cs @@ -1,27 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using Microsoft.AspNetCore.WebUtilities; -using System; -using System.Collections.Generic; -using System.Collections.Specialized; -using System.Diagnostics; -using System.Linq; -using System.Text; -using System.Text.Encodings.Web; - namespace IdentityServer8.Extensions; @@ -287,4 +275,4 @@ public static string Obfuscate(this string value) return "****" + last4Chars; } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Extensions/TokenExtensions.cs b/src/IdentityServer8/src/Extensions/TokenExtensions.cs index 75694707..b045ca68 100644 --- a/src/IdentityServer8/src/Extensions/TokenExtensions.cs +++ b/src/IdentityServer8/src/Extensions/TokenExtensions.cs @@ -1,30 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityModel; -using IdentityServer8.Models; -using Microsoft.AspNetCore.Authentication; -using Microsoft.Extensions.Logging; -using Newtonsoft.Json.Linq; -using System; -using System.Collections.Generic; -using System.IdentityModel.Tokens.Jwt; -using System.Linq; -using System.Security.Claims; -using IdentityServer8.Configuration; - namespace IdentityServer8.Extensions; /// @@ -160,4 +145,4 @@ public static JwtPayload CreateJwtPayload(this Token token, ISystemClock clock, throw; } } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Extensions/ValidatedAuthorizeRequestExtensions.cs b/src/IdentityServer8/src/Extensions/ValidatedAuthorizeRequestExtensions.cs index a652ac10..595e5644 100644 --- a/src/IdentityServer8/src/Extensions/ValidatedAuthorizeRequestExtensions.cs +++ b/src/IdentityServer8/src/Extensions/ValidatedAuthorizeRequestExtensions.cs @@ -1,26 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityModel; -using IdentityServer8.Extensions; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Security.Cryptography; -using System.Text; - #pragma warning disable 1591 namespace IdentityServer8.Validation; @@ -138,4 +127,4 @@ public static string GenerateSessionStateValue(this ValidatedAuthorizeRequest re return Base64Url.Encode(hash) + "." + salt; } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Extensions/X509CertificateExtensions.cs b/src/IdentityServer8/src/Extensions/X509CertificateExtensions.cs index 9bc14939..5a6218a8 100644 --- a/src/IdentityServer8/src/Extensions/X509CertificateExtensions.cs +++ b/src/IdentityServer8/src/Extensions/X509CertificateExtensions.cs @@ -1,23 +1,16 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System.Collections.Generic; -using System.Security.Cryptography; -using System.Security.Cryptography.X509Certificates; -using System.Text.Json; -using IdentityModel; +using JsonSerializer = System.Text.Json.JsonSerializer; namespace IdentityServer8.Extensions; @@ -42,4 +35,4 @@ public static string CreateThumbprintCnf(this X509Certificate2 certificate) return JsonSerializer.Serialize(values); } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/GlobalUsings.cs b/src/IdentityServer8/src/GlobalUsings.cs new file mode 100644 index 00000000..bd865bea --- /dev/null +++ b/src/IdentityServer8/src/GlobalUsings.cs @@ -0,0 +1,75 @@ +/* + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ + + Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. + + Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. + Source code and license this software can be found + + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. +*/ + +global using IdentityModel; +global using IdentityServer8; +global using IdentityServer8.Configuration; +global using IdentityServer8.Configuration.DependencyInjection; +global using IdentityServer8.Endpoints; +global using IdentityServer8.Endpoints.Results; +global using IdentityServer8.Events; +global using IdentityServer8.Extensions; +global using IdentityServer8.Hosting; +global using IdentityServer8.Hosting.FederatedSignOut; +global using IdentityServer8.Hosting.LocalApiAuthentication; +global using IdentityServer8.Infrastructure; +global using IdentityServer8.Logging; +global using IdentityServer8.Logging.Models; +global using IdentityServer8.Models; +global using IdentityServer8.ResponseHandling; +global using IdentityServer8.Services; +global using IdentityServer8.Services.Default; +global using IdentityServer8.Stores; +global using IdentityServer8.Stores.Serialization; +global using IdentityServer8.Test; +global using IdentityServer8.Validation; +global using Microsoft.AspNetCore.Authentication; +global using Microsoft.AspNetCore.Authentication.Cookies; +global using Microsoft.AspNetCore.Authentication.OpenIdConnect; +global using Microsoft.AspNetCore.Builder; +global using Microsoft.AspNetCore.Cors.Infrastructure; +//global using Microsoft.AspNetCore.DataProtection; +global using Microsoft.AspNetCore.Http; +global using Microsoft.AspNetCore.WebUtilities; +global using Microsoft.DependencyInjection.Extensions; +global using Microsoft.Extensions.Caching.Distributed; +global using Microsoft.Extensions.Caching.Memory; +global using Microsoft.Extensions.Configuration; +global using Microsoft.Extensions.DependencyInjection; +global using Microsoft.Extensions.DependencyInjection.Extensions; +global using Microsoft.Extensions.Logging; +global using Microsoft.Extensions.Options; +global using Microsoft.Extensions.Primitives; +//global using Microsoft.IdentityModel.Tokens; +//global using Microsoft.Net.Http.Headers; +global using Newtonsoft.Json; +global using Newtonsoft.Json.Linq; +global using System.Buffers; +global using System.Collections.Concurrent; +global using System.Collections.Specialized; +global using System.Diagnostics; +global using System.Globalization; +global using System.IdentityModel.Tokens.Jwt; +global using System.Net; +global using System.Reflection; +global using System.Runtime.CompilerServices; +global using System.Security.Claims; +global using System.Security.Cryptography; +global using System.Security.Cryptography.X509Certificates; +global using System.Security.Principal; +global using System.Text; +global using System.Text.Encodings.Web; +global using System.Text.Json; +global using System.Text.Json.Serialization; +global using static IdentityServer8.Constants; +global using static IdentityServer8.IdentityServerConstants; +global using ClaimValueTypes = System.Security.Claims.ClaimValueTypes; diff --git a/src/IdentityServer8/src/Hosting/BaseUrlMiddleware.cs b/src/IdentityServer8/src/Hosting/BaseUrlMiddleware.cs index ccc5eff8..ba27d047 100644 --- a/src/IdentityServer8/src/Hosting/BaseUrlMiddleware.cs +++ b/src/IdentityServer8/src/Hosting/BaseUrlMiddleware.cs @@ -1,23 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityServer8.Extensions; -using Microsoft.AspNetCore.Http; -using System.Threading.Tasks; -using IdentityServer8.Configuration; - #pragma warning disable 1591 namespace IdentityServer8.Hosting; @@ -41,4 +33,4 @@ public async Task Invoke(HttpContext context) await _next(context); } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Hosting/CorsMiddleware.cs b/src/IdentityServer8/src/Hosting/CorsMiddleware.cs index 92022f67..073a377b 100644 --- a/src/IdentityServer8/src/Hosting/CorsMiddleware.cs +++ b/src/IdentityServer8/src/Hosting/CorsMiddleware.cs @@ -1,22 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityServer8.Configuration; -using Microsoft.AspNetCore.Builder; -using Microsoft.Extensions.DependencyInjection; - #pragma warning disable 1591 namespace IdentityServer8.Hosting; diff --git a/src/IdentityServer8/src/Hosting/CorsPolicyProvider.cs b/src/IdentityServer8/src/Hosting/CorsPolicyProvider.cs index 4add34e4..9a790154 100644 --- a/src/IdentityServer8/src/Hosting/CorsPolicyProvider.cs +++ b/src/IdentityServer8/src/Hosting/CorsPolicyProvider.cs @@ -1,30 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System.Linq; -using System.Threading.Tasks; -using Microsoft.Extensions.Logging; -using Microsoft.AspNetCore.Http; -using Microsoft.AspNetCore.Cors.Infrastructure; -using IdentityServer8.Configuration; -using IdentityServer8.Configuration.DependencyInjection; -using IdentityServer8.Services; -using Microsoft.Extensions.DependencyInjection; -using IdentityServer8.Extensions; -using Microsoft.DependencyInjection.Extensions; - namespace IdentityServer8.Hosting; internal class CorsPolicyProvider : ICorsPolicyProvider diff --git a/src/IdentityServer8/src/Hosting/Endpoint.cs b/src/IdentityServer8/src/Hosting/Endpoint.cs index 57f15735..a33d428c 100644 --- a/src/IdentityServer8/src/Hosting/Endpoint.cs +++ b/src/IdentityServer8/src/Hosting/Endpoint.cs @@ -1,22 +1,17 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ #pragma warning disable 1591 -using System; -using Microsoft.AspNetCore.Http; namespace IdentityServer8.Hosting; @@ -52,4 +47,4 @@ public Endpoint(string name, string path, Type handlerType) /// The handler. /// public Type Handler { get; set; } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Hosting/EndpointRouter.cs b/src/IdentityServer8/src/Hosting/EndpointRouter.cs index 61aecb67..97b66826 100644 --- a/src/IdentityServer8/src/Hosting/EndpointRouter.cs +++ b/src/IdentityServer8/src/Hosting/EndpointRouter.cs @@ -1,26 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityServer8.Configuration; -using IdentityServer8.Extensions; -using Microsoft.AspNetCore.Http; -using Microsoft.DependencyInjection.Extensions; -using Microsoft.Extensions.Logging; -using System; -using System.Collections.Generic; - namespace IdentityServer8.Hosting; internal class EndpointRouter : IEndpointRouter diff --git a/src/IdentityServer8/src/Hosting/FederatedSignOut/AuthenticationRequestHandlerWrapper.cs b/src/IdentityServer8/src/Hosting/FederatedSignOut/AuthenticationRequestHandlerWrapper.cs index 28b27096..85251cee 100644 --- a/src/IdentityServer8/src/Hosting/FederatedSignOut/AuthenticationRequestHandlerWrapper.cs +++ b/src/IdentityServer8/src/Hosting/FederatedSignOut/AuthenticationRequestHandlerWrapper.cs @@ -1,25 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityServer8.Extensions; -using Microsoft.AspNetCore.Authentication; -using Microsoft.AspNetCore.Http; -using Microsoft.Extensions.Logging; -using System; -using System.Threading.Tasks; - namespace IdentityServer8.Hosting.FederatedSignOut; internal class AuthenticationRequestHandlerWrapper : IAuthenticationRequestHandler diff --git a/src/IdentityServer8/src/Hosting/FederatedSignOut/AuthenticationRequestSignInHandlerWrapper.cs b/src/IdentityServer8/src/Hosting/FederatedSignOut/AuthenticationRequestSignInHandlerWrapper.cs index 667e79c1..4d036916 100644 --- a/src/IdentityServer8/src/Hosting/FederatedSignOut/AuthenticationRequestSignInHandlerWrapper.cs +++ b/src/IdentityServer8/src/Hosting/FederatedSignOut/AuthenticationRequestSignInHandlerWrapper.cs @@ -1,23 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System.Security.Claims; -using System.Threading.Tasks; -using Microsoft.AspNetCore.Authentication; -using Microsoft.AspNetCore.Http; - namespace IdentityServer8.Hosting.FederatedSignOut; internal class AuthenticationRequestSignInHandlerWrapper : AuthenticationRequestSignOutHandlerWrapper, IAuthenticationSignInHandler diff --git a/src/IdentityServer8/src/Hosting/FederatedSignOut/AuthenticationRequestSignOutHandlerWrapper.cs b/src/IdentityServer8/src/Hosting/FederatedSignOut/AuthenticationRequestSignOutHandlerWrapper.cs index dfc24f92..6650b9bb 100644 --- a/src/IdentityServer8/src/Hosting/FederatedSignOut/AuthenticationRequestSignOutHandlerWrapper.cs +++ b/src/IdentityServer8/src/Hosting/FederatedSignOut/AuthenticationRequestSignOutHandlerWrapper.cs @@ -1,22 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System.Threading.Tasks; -using Microsoft.AspNetCore.Authentication; -using Microsoft.AspNetCore.Http; - namespace IdentityServer8.Hosting.FederatedSignOut; internal class AuthenticationRequestSignOutHandlerWrapper : AuthenticationRequestHandlerWrapper, IAuthenticationSignOutHandler diff --git a/src/IdentityServer8/src/Hosting/FederatedSignOut/FederatedSignoutAuthenticationHandlerProvider.cs b/src/IdentityServer8/src/Hosting/FederatedSignOut/FederatedSignoutAuthenticationHandlerProvider.cs index c1ed4ae3..b6d13d74 100644 --- a/src/IdentityServer8/src/Hosting/FederatedSignOut/FederatedSignoutAuthenticationHandlerProvider.cs +++ b/src/IdentityServer8/src/Hosting/FederatedSignOut/FederatedSignoutAuthenticationHandlerProvider.cs @@ -1,23 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System.Threading.Tasks; -using IdentityServer8.Configuration.DependencyInjection; -using Microsoft.AspNetCore.Authentication; -using Microsoft.AspNetCore.Http; - namespace IdentityServer8.Hosting.FederatedSignOut; // this intercepts IAuthenticationRequestHandler authentication handlers diff --git a/src/IdentityServer8/src/Hosting/IEndpointHandler.cs b/src/IdentityServer8/src/Hosting/IEndpointHandler.cs index 9c1fc50f..5e94099d 100644 --- a/src/IdentityServer8/src/Hosting/IEndpointHandler.cs +++ b/src/IdentityServer8/src/Hosting/IEndpointHandler.cs @@ -1,21 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using Microsoft.AspNetCore.Http; -using System.Threading.Tasks; - namespace IdentityServer8.Hosting; /// @@ -29,4 +23,4 @@ public interface IEndpointHandler /// The HTTP context. /// Task ProcessAsync(HttpContext context); -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Hosting/IEndpointResult.cs b/src/IdentityServer8/src/Hosting/IEndpointResult.cs index ae6ab10d..0cd39b5b 100644 --- a/src/IdentityServer8/src/Hosting/IEndpointResult.cs +++ b/src/IdentityServer8/src/Hosting/IEndpointResult.cs @@ -1,21 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using Microsoft.AspNetCore.Http; -using System.Threading.Tasks; - namespace IdentityServer8.Hosting; /// @@ -29,4 +23,4 @@ public interface IEndpointResult /// The HTTP context. /// Task ExecuteAsync(HttpContext context); -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Hosting/IEndpointRouter.cs b/src/IdentityServer8/src/Hosting/IEndpointRouter.cs index f626c738..dd47b2b6 100644 --- a/src/IdentityServer8/src/Hosting/IEndpointRouter.cs +++ b/src/IdentityServer8/src/Hosting/IEndpointRouter.cs @@ -1,20 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using Microsoft.AspNetCore.Http; - namespace IdentityServer8.Hosting; /// @@ -28,4 +23,4 @@ public interface IEndpointRouter /// The HTTP context. /// IEndpointHandler Find(HttpContext context); -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Hosting/IdentityServerAuthenticationService.cs b/src/IdentityServer8/src/Hosting/IdentityServerAuthenticationService.cs index 6eda96ed..99dc605e 100644 --- a/src/IdentityServer8/src/Hosting/IdentityServerAuthenticationService.cs +++ b/src/IdentityServer8/src/Hosting/IdentityServerAuthenticationService.cs @@ -1,31 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using Microsoft.AspNetCore.Authentication; -using Microsoft.AspNetCore.Http; -using System.Security.Claims; -using System.Threading.Tasks; -using IdentityServer8.Services; -using Microsoft.Extensions.Logging; -using IdentityServer8.Configuration.DependencyInjection; -using IdentityServer8.Extensions; -using System; -using IdentityModel; -using System.Linq; -using IdentityServer8.Configuration; - namespace IdentityServer8.Hosting; // this decorates the real authentication service to detect when the @@ -175,4 +159,4 @@ private void AugmentMissingClaims(ClaimsPrincipal principal, DateTime authTime) identity.AddClaim(new Claim(JwtClaimTypes.AuthenticationTime, time, ClaimValueTypes.Integer64)); } } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Hosting/IdentityServerMiddleware.cs b/src/IdentityServer8/src/Hosting/IdentityServerMiddleware.cs index f75dc632..c4d5777e 100644 --- a/src/IdentityServer8/src/Hosting/IdentityServerMiddleware.cs +++ b/src/IdentityServer8/src/Hosting/IdentityServerMiddleware.cs @@ -1,26 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityServer8.Events; -using IdentityServer8.Extensions; -using IdentityServer8.Services; -using Microsoft.AspNetCore.Http; -using Microsoft.Extensions.Logging; -using System; -using System.Threading.Tasks; - namespace IdentityServer8.Hosting; /// diff --git a/src/IdentityServer8/src/Hosting/LocalApiAuthentication/LocalApiAuthenticationEvents.cs b/src/IdentityServer8/src/Hosting/LocalApiAuthentication/LocalApiAuthenticationEvents.cs index 1bffbfff..efe60276 100644 --- a/src/IdentityServer8/src/Hosting/LocalApiAuthentication/LocalApiAuthenticationEvents.cs +++ b/src/IdentityServer8/src/Hosting/LocalApiAuthentication/LocalApiAuthenticationEvents.cs @@ -1,23 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using Microsoft.AspNetCore.Http; -using System; -using System.Security.Claims; -using System.Threading.Tasks; - namespace IdentityServer8.Hosting.LocalApiAuthentication; /// @@ -51,4 +43,4 @@ public class ClaimsTransformationContext /// the HTTP context /// public HttpContext HttpContext { get; internal set; } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Hosting/LocalApiAuthentication/LocalApiAuthenticationExtensions.cs b/src/IdentityServer8/src/Hosting/LocalApiAuthentication/LocalApiAuthenticationExtensions.cs index 98c95313..d3620e0f 100644 --- a/src/IdentityServer8/src/Hosting/LocalApiAuthentication/LocalApiAuthenticationExtensions.cs +++ b/src/IdentityServer8/src/Hosting/LocalApiAuthentication/LocalApiAuthenticationExtensions.cs @@ -1,25 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityServer8; -using IdentityServer8.Hosting.LocalApiAuthentication; -using Microsoft.AspNetCore.Authentication; -using System; -using System.Security.Claims; -using System.Threading.Tasks; - namespace Microsoft.Extensions.DependencyInjection; /// @@ -103,4 +93,4 @@ public static AuthenticationBuilder AddLocalApi(this AuthenticationBuilder build { return builder.AddScheme(authenticationScheme, displayName, configureOptions); } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Hosting/LocalApiAuthentication/LocalApiAuthenticationHandler.cs b/src/IdentityServer8/src/Hosting/LocalApiAuthentication/LocalApiAuthenticationHandler.cs index 974273e0..c70ff4e1 100644 --- a/src/IdentityServer8/src/Hosting/LocalApiAuthentication/LocalApiAuthenticationHandler.cs +++ b/src/IdentityServer8/src/Hosting/LocalApiAuthentication/LocalApiAuthenticationHandler.cs @@ -1,29 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityModel; -using IdentityServer8.Validation; -using Microsoft.AspNetCore.Authentication; -using Microsoft.DependencyInjection.Extensions; -using Microsoft.Extensions.Logging; -using Microsoft.Extensions.Options; -using System; -using System.Security.Claims; -using System.Text.Encodings.Web; -using System.Threading.Tasks; - namespace IdentityServer8.Hosting.LocalApiAuthentication; /// @@ -115,4 +101,4 @@ protected override async Task HandleAuthenticateAsync() AuthenticationTicket authenticationTicket = new AuthenticationTicket(claimsTransformationContext.Principal, authenticationProperties, Scheme.Name); return AuthenticateResult.Success(authenticationTicket); } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Hosting/LocalApiAuthentication/LocalApiAuthenticationOptions.cs b/src/IdentityServer8/src/Hosting/LocalApiAuthentication/LocalApiAuthenticationOptions.cs index dd920aab..8d340fac 100644 --- a/src/IdentityServer8/src/Hosting/LocalApiAuthentication/LocalApiAuthenticationOptions.cs +++ b/src/IdentityServer8/src/Hosting/LocalApiAuthentication/LocalApiAuthenticationOptions.cs @@ -1,20 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using Microsoft.AspNetCore.Authentication; - namespace IdentityServer8.Hosting.LocalApiAuthentication; /// @@ -41,4 +36,4 @@ public class LocalApiAuthenticationOptions : AuthenticationSchemeOptions get { return (LocalApiAuthenticationEvents)base.Events; } set { base.Events = value; } } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Hosting/MutualTlsEndpointMiddleware.cs b/src/IdentityServer8/src/Hosting/MutualTlsEndpointMiddleware.cs index f3e21f4b..01cfa299 100644 --- a/src/IdentityServer8/src/Hosting/MutualTlsEndpointMiddleware.cs +++ b/src/IdentityServer8/src/Hosting/MutualTlsEndpointMiddleware.cs @@ -1,26 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System; -using System.Threading.Tasks; -using IdentityServer8.Configuration; -using IdentityServer8.Extensions; -using Microsoft.AspNetCore.Authentication; -using Microsoft.AspNetCore.Http; -using Microsoft.Extensions.Logging; - namespace IdentityServer8.Hosting; /// @@ -119,4 +108,4 @@ private async Task TriggerCertificateAuthentication(HttpCont return x509AuthResult; } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/IdentityServerConstants.cs b/src/IdentityServer8/src/IdentityServerConstants.cs index c6711eb2..2e978057 100644 --- a/src/IdentityServer8/src/IdentityServerConstants.cs +++ b/src/IdentityServer8/src/IdentityServerConstants.cs @@ -1,22 +1,20 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ #pragma warning disable 1591 + + using Microsoft.IdentityModel.Tokens; -using System.Collections.Generic; namespace IdentityServer8; @@ -177,4 +175,4 @@ public static class HttpClients public const string JwtRequestUriHttpClient = "IdentityServer:JwtRequestUriClient"; public const string BackChannelLogoutHttpClient = "IdentityServer:BackChannelLogoutClient"; } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/IdentityServerTools.cs b/src/IdentityServer8/src/IdentityServerTools.cs index f1db6a72..d0baca19 100644 --- a/src/IdentityServer8/src/IdentityServerTools.cs +++ b/src/IdentityServer8/src/IdentityServerTools.cs @@ -1,29 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityServer8.Models; -using Microsoft.AspNetCore.Http; -using System.Collections.Generic; -using System.Threading.Tasks; -using IdentityServer8.Extensions; -using System.Security.Claims; -using IdentityServer8.Services; -using IdentityModel; -using System; -using Microsoft.AspNetCore.Authentication; - namespace IdentityServer8; /// @@ -97,4 +83,4 @@ public virtual async Task IssueJwtAsync(int lifetime, string issuer, IEn return await _tokenCreation.CreateTokenAsync(token); } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/IdentityServerUser.cs b/src/IdentityServer8/src/IdentityServerUser.cs index 23baa3c2..b1107392 100644 --- a/src/IdentityServer8/src/IdentityServerUser.cs +++ b/src/IdentityServer8/src/IdentityServerUser.cs @@ -1,25 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityModel; -using IdentityServer8.Extensions; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Security.Claims; - namespace IdentityServer8; /// @@ -106,4 +96,4 @@ public ClaimsPrincipal CreatePrincipal() var id = new ClaimsIdentity(claims.Distinct(new ClaimComparer()), Constants.IdentityServerAuthenticationType, JwtClaimTypes.Name, JwtClaimTypes.Role); return new ClaimsPrincipal(id); } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Infrastructure/DistributedCacheStateDataFormatter.cs b/src/IdentityServer8/src/Infrastructure/DistributedCacheStateDataFormatter.cs index 1b017915..377b7db5 100644 --- a/src/IdentityServer8/src/Infrastructure/DistributedCacheStateDataFormatter.cs +++ b/src/IdentityServer8/src/Infrastructure/DistributedCacheStateDataFormatter.cs @@ -1,25 +1,16 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System; -using System.Collections.Generic; -using Microsoft.AspNetCore.Authentication; using Microsoft.AspNetCore.DataProtection; -using Microsoft.AspNetCore.Http; -using Microsoft.Extensions.Caching.Distributed; -using Microsoft.Extensions.DependencyInjection; namespace IdentityServer8.Infrastructure; diff --git a/src/IdentityServer8/src/Infrastructure/MessageCookie.cs b/src/IdentityServer8/src/Infrastructure/MessageCookie.cs index dcd96be1..a51cbcd5 100644 --- a/src/IdentityServer8/src/Infrastructure/MessageCookie.cs +++ b/src/IdentityServer8/src/Infrastructure/MessageCookie.cs @@ -1,28 +1,16 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityServer8.Configuration; -using IdentityServer8.Extensions; -using IdentityServer8.Models; using Microsoft.AspNetCore.DataProtection; -using Microsoft.AspNetCore.Http; -using Microsoft.Extensions.Logging; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Security.Cryptography; namespace IdentityServer8; @@ -199,4 +187,4 @@ orderby rank descending } } } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Infrastructure/ObjectSerializer.cs b/src/IdentityServer8/src/Infrastructure/ObjectSerializer.cs index fa2a28be..01b47246 100644 --- a/src/IdentityServer8/src/Infrastructure/ObjectSerializer.cs +++ b/src/IdentityServer8/src/Infrastructure/ObjectSerializer.cs @@ -1,19 +1,16 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System.Text.Json; +using JsonSerializer = System.Text.Json.JsonSerializer; namespace IdentityServer8; @@ -33,4 +30,4 @@ public static T FromString(string value) { return JsonSerializer.Deserialize(value, Options); } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Logging/LogSerializer.cs b/src/IdentityServer8/src/Logging/LogSerializer.cs index b1eb71d2..9623e7eb 100644 --- a/src/IdentityServer8/src/Logging/LogSerializer.cs +++ b/src/IdentityServer8/src/Logging/LogSerializer.cs @@ -1,20 +1,16 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System.Text.Json; -using System.Text.Json.Serialization; +using JsonSerializer = System.Text.Json.JsonSerializer; namespace IdentityServer8.Logging; @@ -43,4 +39,4 @@ public static string Serialize(object logObject) { return JsonSerializer.Serialize(logObject, Options); } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Logging/Models/AuthorizeRequestValidationLog.cs b/src/IdentityServer8/src/Logging/Models/AuthorizeRequestValidationLog.cs index 9d11e9d0..c9c3f3f4 100644 --- a/src/IdentityServer8/src/Logging/Models/AuthorizeRequestValidationLog.cs +++ b/src/IdentityServer8/src/Logging/Models/AuthorizeRequestValidationLog.cs @@ -1,24 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System.Collections.Generic; -using System.Linq; -using IdentityModel; -using IdentityServer8.Extensions; -using IdentityServer8.Validation; - namespace IdentityServer8.Logging.Models; internal class AuthorizeRequestValidationLog @@ -96,4 +87,4 @@ public override string ToString() { return LogSerializer.Serialize(this); } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Logging/Models/AuthorizeResponseLog.cs b/src/IdentityServer8/src/Logging/Models/AuthorizeResponseLog.cs index 85f4eb82..9ccb5dcd 100644 --- a/src/IdentityServer8/src/Logging/Models/AuthorizeResponseLog.cs +++ b/src/IdentityServer8/src/Logging/Models/AuthorizeResponseLog.cs @@ -1,21 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityServer8.Extensions; -using IdentityServer8.ResponseHandling; - namespace IdentityServer8.Logging.Models; internal class AuthorizeResponseLog @@ -45,4 +39,4 @@ public override string ToString() { return LogSerializer.Serialize(this); } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Logging/Models/DeviceAuthorizationRequestValidationLog.cs b/src/IdentityServer8/src/Logging/Models/DeviceAuthorizationRequestValidationLog.cs index bfa2da12..16909a0f 100644 --- a/src/IdentityServer8/src/Logging/Models/DeviceAuthorizationRequestValidationLog.cs +++ b/src/IdentityServer8/src/Logging/Models/DeviceAuthorizationRequestValidationLog.cs @@ -1,23 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System.Collections.Generic; -using IdentityModel; -using IdentityServer8.Extensions; -using IdentityServer8.Validation; - namespace IdentityServer8.Logging; internal class DeviceAuthorizationRequestValidationLog @@ -53,4 +45,4 @@ public override string ToString() { return LogSerializer.Serialize(this); } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Logging/Models/EndSessionRequestValidationLog.cs b/src/IdentityServer8/src/Logging/Models/EndSessionRequestValidationLog.cs index 177b18f3..0d014431 100644 --- a/src/IdentityServer8/src/Logging/Models/EndSessionRequestValidationLog.cs +++ b/src/IdentityServer8/src/Logging/Models/EndSessionRequestValidationLog.cs @@ -1,23 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System.Collections.Generic; -using IdentityModel; -using IdentityServer8.Extensions; -using IdentityServer8.Validation; - namespace IdentityServer8.Logging.Models; internal class EndSessionRequestValidationLog @@ -57,4 +49,4 @@ public override string ToString() { return LogSerializer.Serialize(this); } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Logging/Models/TokenRequestValidationLog.cs b/src/IdentityServer8/src/Logging/Models/TokenRequestValidationLog.cs index 47911cb0..b81e60f6 100644 --- a/src/IdentityServer8/src/Logging/Models/TokenRequestValidationLog.cs +++ b/src/IdentityServer8/src/Logging/Models/TokenRequestValidationLog.cs @@ -1,24 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System.Collections.Generic; -using System.Linq; -using IdentityModel; -using IdentityServer8.Extensions; -using IdentityServer8.Validation; - namespace IdentityServer8.Logging.Models; internal class TokenRequestValidationLog @@ -63,4 +54,4 @@ public override string ToString() { return LogSerializer.Serialize(this); } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Logging/Models/TokenValidationLog.cs b/src/IdentityServer8/src/Logging/Models/TokenValidationLog.cs index e936cdaa..86450eef 100644 --- a/src/IdentityServer8/src/Logging/Models/TokenValidationLog.cs +++ b/src/IdentityServer8/src/Logging/Models/TokenValidationLog.cs @@ -1,20 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System.Collections.Generic; - namespace IdentityServer8.Logging.Models; internal class TokenValidationLog @@ -37,4 +32,4 @@ public override string ToString() { return LogSerializer.Serialize(this); } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Models/Contexts/IsActiveContext.cs b/src/IdentityServer8/src/Models/Contexts/IsActiveContext.cs index 46f481c1..519d6572 100644 --- a/src/IdentityServer8/src/Models/Contexts/IsActiveContext.cs +++ b/src/IdentityServer8/src/Models/Contexts/IsActiveContext.cs @@ -1,22 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityServer8.Extensions; -using System; -using System.Security.Claims; - namespace IdentityServer8.Models; /// @@ -71,4 +64,4 @@ public IsActiveContext(ClaimsPrincipal subject, Client client, string caller) /// true if the subject is active; otherwise, false. /// public bool IsActive { get; set; } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Models/Contexts/LogoutNotificationContext.cs b/src/IdentityServer8/src/Models/Contexts/LogoutNotificationContext.cs index 4ae73f1f..42a2bd3b 100644 --- a/src/IdentityServer8/src/Models/Contexts/LogoutNotificationContext.cs +++ b/src/IdentityServer8/src/Models/Contexts/LogoutNotificationContext.cs @@ -1,20 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System.Collections.Generic; - namespace IdentityServer8.Models; /// diff --git a/src/IdentityServer8/src/Models/Contexts/ProfileDataRequestContext.cs b/src/IdentityServer8/src/Models/Contexts/ProfileDataRequestContext.cs index e6162b04..880508f1 100644 --- a/src/IdentityServer8/src/Models/Contexts/ProfileDataRequestContext.cs +++ b/src/IdentityServer8/src/Models/Contexts/ProfileDataRequestContext.cs @@ -1,23 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System.Collections.Generic; -using System.Security.Claims; -using System; -using IdentityServer8.Validation; - namespace IdentityServer8.Models; /// @@ -101,4 +93,4 @@ public ProfileDataRequestContext(ClaimsPrincipal subject, Client client, string /// The issued claims. /// public List IssuedClaims { get; set; } = new List(); -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Models/DeviceFlowAuthorizationRequest.cs b/src/IdentityServer8/src/Models/DeviceFlowAuthorizationRequest.cs index fe0e7f7e..a2f7dddc 100644 --- a/src/IdentityServer8/src/Models/DeviceFlowAuthorizationRequest.cs +++ b/src/IdentityServer8/src/Models/DeviceFlowAuthorizationRequest.cs @@ -1,20 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityServer8.Validation; - namespace IdentityServer8.Models; /// @@ -37,4 +32,4 @@ public class DeviceFlowAuthorizationRequest /// The scopes requested. /// public ResourceValidationResult ValidatedResources { get; set; } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Models/DeviceFlowInteractionResult.cs b/src/IdentityServer8/src/Models/DeviceFlowInteractionResult.cs index db41e0b9..d0f8580c 100644 --- a/src/IdentityServer8/src/Models/DeviceFlowInteractionResult.cs +++ b/src/IdentityServer8/src/Models/DeviceFlowInteractionResult.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServer8.Models; @@ -57,4 +54,4 @@ public static DeviceFlowInteractionResult Failure(string errorDescription = null ErrorDescription = errorDescription }; } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Models/DiscoveryDocument.cs b/src/IdentityServer8/src/Models/DiscoveryDocument.cs index a35feb2a..6ee33762 100644 --- a/src/IdentityServer8/src/Models/DiscoveryDocument.cs +++ b/src/IdentityServer8/src/Models/DiscoveryDocument.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ #pragma warning disable 1591 @@ -39,4 +36,4 @@ public class DiscoveryDocument public string[] id_token_signing_alg_values_supported { get; set; } public string[] token_endpoint_auth_methods_supported { get; set; } public string[] code_challenge_methods_supported { get; set; } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Models/Grant.cs b/src/IdentityServer8/src/Models/Grant.cs index b0677ade..83e5ba4a 100644 --- a/src/IdentityServer8/src/Models/Grant.cs +++ b/src/IdentityServer8/src/Models/Grant.cs @@ -1,21 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System; -using System.Collections.Generic; - namespace IdentityServer8.Models; /// diff --git a/src/IdentityServer8/src/Models/GrantTypes.cs b/src/IdentityServer8/src/Models/GrantTypes.cs index c951c5e6..c15c87eb 100644 --- a/src/IdentityServer8/src/Models/GrantTypes.cs +++ b/src/IdentityServer8/src/Models/GrantTypes.cs @@ -1,20 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System.Collections.Generic; - #pragma warning disable 1591 namespace IdentityServer8.Models; @@ -50,4 +45,4 @@ public class GrantTypes public static ICollection DeviceFlow => new[] { GrantType.DeviceFlow }; -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Models/IdentityResources.cs b/src/IdentityServer8/src/Models/IdentityResources.cs index 3b65818a..cc235ff2 100644 --- a/src/IdentityServer8/src/Models/IdentityResources.cs +++ b/src/IdentityServer8/src/Models/IdentityResources.cs @@ -1,21 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityModel; -using System.Linq; - namespace IdentityServer8.Models; /// @@ -113,4 +107,4 @@ public Address() UserClaims = Constants.ScopeToClaimsMapping[IdentityServerConstants.StandardScopes.Address].ToList(); } } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Models/JsonWebKey.cs b/src/IdentityServer8/src/Models/JsonWebKey.cs index f7e51e34..fb787f31 100644 --- a/src/IdentityServer8/src/Models/JsonWebKey.cs +++ b/src/IdentityServer8/src/Models/JsonWebKey.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ #pragma warning disable 1591 @@ -31,4 +28,4 @@ public class JsonWebKey public string x { get; set; } public string y { get; set; } public string crv { get; set; } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Models/Messages/AuthorizationRequest.cs b/src/IdentityServer8/src/Models/Messages/AuthorizationRequest.cs index 23347a9d..2f12cc2e 100644 --- a/src/IdentityServer8/src/Models/Messages/AuthorizationRequest.cs +++ b/src/IdentityServer8/src/Models/Messages/AuthorizationRequest.cs @@ -1,23 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityServer8.Validation; -using System.Collections.Generic; -using System.Collections.Specialized; -using System.Linq; - namespace IdentityServer8.Models; /// @@ -147,4 +139,4 @@ internal AuthorizationRequest(ValidatedAuthorizeRequest request) Parameters = request.Raw; RequestObjectValues = request.RequestObjectValues; } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Models/Messages/ConsentRequest.cs b/src/IdentityServer8/src/Models/Messages/ConsentRequest.cs index 351f0bd8..e2cbaa24 100644 --- a/src/IdentityServer8/src/Models/Messages/ConsentRequest.cs +++ b/src/IdentityServer8/src/Models/Messages/ConsentRequest.cs @@ -1,26 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityModel; -using IdentityServer8.Extensions; -using System.Collections.Generic; -using System.Collections.Specialized; -using System.Linq; -using System.Security.Cryptography; -using System.Text; - namespace IdentityServer8.Models; /// @@ -108,4 +97,4 @@ public string Id } } } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Models/Messages/ConsentResponse.cs b/src/IdentityServer8/src/Models/Messages/ConsentResponse.cs index 061ac159..ec1aa992 100644 --- a/src/IdentityServer8/src/Models/Messages/ConsentResponse.cs +++ b/src/IdentityServer8/src/Models/Messages/ConsentResponse.cs @@ -1,21 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System.Collections.Generic; -using System.Linq; - namespace IdentityServer8.Models; /// diff --git a/src/IdentityServer8/src/Models/Messages/ErrorMessage.cs b/src/IdentityServer8/src/Models/Messages/ErrorMessage.cs index 9a354e92..7ef70eff 100644 --- a/src/IdentityServer8/src/Models/Messages/ErrorMessage.cs +++ b/src/IdentityServer8/src/Models/Messages/ErrorMessage.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServer8.Models; diff --git a/src/IdentityServer8/src/Models/Messages/LogoutRequest.cs b/src/IdentityServer8/src/Models/Messages/LogoutRequest.cs index a43fef18..260ed78d 100644 --- a/src/IdentityServer8/src/Models/Messages/LogoutRequest.cs +++ b/src/IdentityServer8/src/Models/Messages/LogoutRequest.cs @@ -1,25 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityModel; -using IdentityServer8.Extensions; -using IdentityServer8.Validation; -using System.Collections.Generic; -using System.Collections.Specialized; -using System.Linq; - namespace IdentityServer8.Models; /// @@ -186,4 +176,4 @@ public LogoutRequest(string iframeUrl, LogoutMessage message) /// true if the signout prompt should be shown; otherwise, false. /// public bool ShowSignoutPrompt => ClientId.IsMissing(); -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Models/Messages/Message.cs b/src/IdentityServer8/src/Models/Messages/Message.cs index 2e233826..9437b222 100644 --- a/src/IdentityServer8/src/Models/Messages/Message.cs +++ b/src/IdentityServer8/src/Models/Messages/Message.cs @@ -1,20 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System; - namespace IdentityServer8.Models; /// @@ -64,4 +59,4 @@ public Message(TModel data, DateTime now) /// The data. /// public TModel Data { get; set; } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Models/ParsedSecret.cs b/src/IdentityServer8/src/Models/ParsedSecret.cs index b981c831..bc1997d3 100644 --- a/src/IdentityServer8/src/Models/ParsedSecret.cs +++ b/src/IdentityServer8/src/Models/ParsedSecret.cs @@ -1,20 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System.Collections.Generic; - namespace IdentityServer8.Models; /// @@ -53,4 +48,4 @@ public class ParsedSecret /// The properties. /// public Dictionary Properties { get; set; } = new Dictionary(); -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Models/SecurityKeyInfo.cs b/src/IdentityServer8/src/Models/SecurityKeyInfo.cs index 8adbe989..06105e47 100644 --- a/src/IdentityServer8/src/Models/SecurityKeyInfo.cs +++ b/src/IdentityServer8/src/Models/SecurityKeyInfo.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using Microsoft.IdentityModel.Tokens; @@ -31,4 +28,4 @@ public class SecurityKeyInfo /// The signing algorithm /// public string SigningAlgorithm { get; set; } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Models/TokenCreationRequest.cs b/src/IdentityServer8/src/Models/TokenCreationRequest.cs index 919da9c0..1cac20fa 100644 --- a/src/IdentityServer8/src/Models/TokenCreationRequest.cs +++ b/src/IdentityServer8/src/Models/TokenCreationRequest.cs @@ -1,22 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityServer8.Validation; -using System; -using System.Security.Claims; - namespace IdentityServer8.Models; /// @@ -104,4 +97,4 @@ public void Validate() if (ValidatedResources == null) throw new ArgumentNullException(nameof(ValidatedResources)); if (ValidatedRequest == null) throw new ArgumentNullException(nameof(ValidatedRequest)); } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Models/TokenRequestErrors.cs b/src/IdentityServer8/src/Models/TokenRequestErrors.cs index 54cdeb50..31ad5737 100644 --- a/src/IdentityServer8/src/Models/TokenRequestErrors.cs +++ b/src/IdentityServer8/src/Models/TokenRequestErrors.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServer8.Models; @@ -54,4 +51,4 @@ public enum TokenRequestErrors /// invalid_target /// InvalidTarget -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Properties/AssemblyInfo.cs b/src/IdentityServer8/src/Properties/AssemblyInfo.cs index 4cd5f370..a338c37d 100644 --- a/src/IdentityServer8/src/Properties/AssemblyInfo.cs +++ b/src/IdentityServer8/src/Properties/AssemblyInfo.cs @@ -1,19 +1,14 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System.Runtime.CompilerServices; - [assembly: InternalsVisibleTo("IdentityServer.UnitTests, PublicKey = 002400000480000094000000060200000024000052534131000400000100010057b24455efc2a317afb0644a2169c05644e439985c42cf4eb98706779651801add1da073da8b5e253e8d4335d59b3197bb941ebe943c63f7efbc3005c428f0d69b809e86bdc828fa431fae4b71005f26b52a26a3ee5cf0f6fdf744d4534a7a503683123f58e1082828b018245d2e40d8542f72a623c01490d73a5d3ff94a88c5")] -[assembly: InternalsVisibleTo("IdentityServer.IntegrationTests, PublicKey = 002400000480000094000000060200000024000052534131000400000100010057b24455efc2a317afb0644a2169c05644e439985c42cf4eb98706779651801add1da073da8b5e253e8d4335d59b3197bb941ebe943c63f7efbc3005c428f0d69b809e86bdc828fa431fae4b71005f26b52a26a3ee5cf0f6fdf744d4534a7a503683123f58e1082828b018245d2e40d8542f72a623c01490d73a5d3ff94a88c5")] \ No newline at end of file +[assembly: InternalsVisibleTo("IdentityServer.IntegrationTests, PublicKey = 002400000480000094000000060200000024000052534131000400000100010057b24455efc2a317afb0644a2169c05644e439985c42cf4eb98706779651801add1da073da8b5e253e8d4335d59b3197bb941ebe943c63f7efbc3005c428f0d69b809e86bdc828fa431fae4b71005f26b52a26a3ee5cf0f6fdf744d4534a7a503683123f58e1082828b018245d2e40d8542f72a623c01490d73a5d3ff94a88c5")] diff --git a/src/IdentityServer8/src/ResponseHandling/Default/AuthorizeInteractionResponseGenerator.cs b/src/IdentityServer8/src/ResponseHandling/Default/AuthorizeInteractionResponseGenerator.cs index 27fb3b09..b655248d 100644 --- a/src/IdentityServer8/src/ResponseHandling/Default/AuthorizeInteractionResponseGenerator.cs +++ b/src/IdentityServer8/src/ResponseHandling/Default/AuthorizeInteractionResponseGenerator.cs @@ -1,29 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityModel; -using IdentityServer8.Extensions; -using IdentityServer8.Models; -using IdentityServer8.Services; -using IdentityServer8.Validation; -using Microsoft.Extensions.Logging; -using System; -using System.Linq; -using System.Threading.Tasks; -using Microsoft.AspNetCore.Authentication; - namespace IdentityServer8.ResponseHandling; /// diff --git a/src/IdentityServer8/src/ResponseHandling/Default/AuthorizeResponseGenerator.cs b/src/IdentityServer8/src/ResponseHandling/Default/AuthorizeResponseGenerator.cs index e8406777..eea5a29f 100644 --- a/src/IdentityServer8/src/ResponseHandling/Default/AuthorizeResponseGenerator.cs +++ b/src/IdentityServer8/src/ResponseHandling/Default/AuthorizeResponseGenerator.cs @@ -1,31 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityModel; -using IdentityServer8.Extensions; -using IdentityServer8.Models; -using IdentityServer8.Services; -using IdentityServer8.Stores; -using IdentityServer8.Validation; -using Microsoft.Extensions.Logging; -using System; -using System.Linq; -using System.Threading.Tasks; -using Microsoft.AspNetCore.Authentication; -using IdentityServer8.Configuration; - namespace IdentityServer8.ResponseHandling; /// @@ -271,4 +255,4 @@ protected virtual async Task CreateCodeAsync(ValidatedAuthori return code; } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/ResponseHandling/Default/DeviceAuthorizationResponseGenerator.cs b/src/IdentityServer8/src/ResponseHandling/Default/DeviceAuthorizationResponseGenerator.cs index 10fa446d..21da0aba 100644 --- a/src/IdentityServer8/src/ResponseHandling/Default/DeviceAuthorizationResponseGenerator.cs +++ b/src/IdentityServer8/src/ResponseHandling/Default/DeviceAuthorizationResponseGenerator.cs @@ -1,28 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System; -using System.Threading.Tasks; -using IdentityServer8.Configuration; -using IdentityServer8.Extensions; -using IdentityServer8.Models; -using IdentityServer8.Services; -using IdentityServer8.Validation; -using Microsoft.AspNetCore.Authentication; -using Microsoft.Extensions.Logging; - namespace IdentityServer8.ResponseHandling; /// @@ -150,4 +137,4 @@ public virtual async Task ProcessAsync(DeviceAuthor return response; } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/ResponseHandling/Default/DiscoveryResponseGenerator.cs b/src/IdentityServer8/src/ResponseHandling/Default/DiscoveryResponseGenerator.cs index bf0b68e9..0bdce2f3 100644 --- a/src/IdentityServer8/src/ResponseHandling/Default/DiscoveryResponseGenerator.cs +++ b/src/IdentityServer8/src/ResponseHandling/Default/DiscoveryResponseGenerator.cs @@ -1,31 +1,17 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityModel; -using IdentityServer8.Configuration; -using IdentityServer8.Extensions; -using IdentityServer8.Services; -using IdentityServer8.Stores; -using IdentityServer8.Validation; -using Microsoft.Extensions.Logging; using Microsoft.IdentityModel.Tokens; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Security.Cryptography; -using System.Threading.Tasks; +using JsonWebKey = Microsoft.IdentityModel.Tokens.JsonWebKey; namespace IdentityServer8.ResponseHandling; @@ -489,4 +475,4 @@ where scope.ShowInDiscoveryDocument return webKeys; } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/ResponseHandling/Default/IntrospectionResponseGenerator.cs b/src/IdentityServer8/src/ResponseHandling/Default/IntrospectionResponseGenerator.cs index e1f7f119..7c26e583 100644 --- a/src/IdentityServer8/src/ResponseHandling/Default/IntrospectionResponseGenerator.cs +++ b/src/IdentityServer8/src/ResponseHandling/Default/IntrospectionResponseGenerator.cs @@ -1,28 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityModel; -using IdentityServer8.Events; -using IdentityServer8.Extensions; -using IdentityServer8.Services; -using IdentityServer8.Validation; -using Microsoft.Extensions.Logging; -using System.Collections.Generic; -using System.Linq; -using System.Threading.Tasks; - namespace IdentityServer8.ResponseHandling; /// @@ -131,4 +118,4 @@ protected virtual async Task AreExpectedScopesPresentAsync(IntrospectionRe return result; } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/ResponseHandling/Default/TokenResponseGenerator.cs b/src/IdentityServer8/src/ResponseHandling/Default/TokenResponseGenerator.cs index d18b6cd5..5173e5a6 100644 --- a/src/IdentityServer8/src/ResponseHandling/Default/TokenResponseGenerator.cs +++ b/src/IdentityServer8/src/ResponseHandling/Default/TokenResponseGenerator.cs @@ -1,30 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityModel; -using IdentityServer8.Extensions; -using IdentityServer8.Models; -using IdentityServer8.Services; -using IdentityServer8.Stores; -using IdentityServer8.Validation; -using Microsoft.Extensions.Logging; -using System; -using System.Linq; -using System.Threading.Tasks; -using Microsoft.AspNetCore.Authentication; - namespace IdentityServer8.ResponseHandling; /// @@ -476,4 +461,4 @@ protected virtual async Task CreateIdTokenFromRefreshTokenRequestAsync(V return null; } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/ResponseHandling/Default/TokenRevocationResponseGenerator.cs b/src/IdentityServer8/src/ResponseHandling/Default/TokenRevocationResponseGenerator.cs index 34b9765f..265adfb0 100644 --- a/src/IdentityServer8/src/ResponseHandling/Default/TokenRevocationResponseGenerator.cs +++ b/src/IdentityServer8/src/ResponseHandling/Default/TokenRevocationResponseGenerator.cs @@ -1,23 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System.Threading.Tasks; -using IdentityServer8.Validation; -using IdentityServer8.Stores; -using Microsoft.Extensions.Logging; - namespace IdentityServer8.ResponseHandling; /// @@ -157,4 +149,4 @@ protected virtual async Task RevokeRefreshTokenAsync(TokenRevocationReques return false; } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/ResponseHandling/Default/UserInfoResponseGenerator.cs b/src/IdentityServer8/src/ResponseHandling/Default/UserInfoResponseGenerator.cs index 9895cc03..e84107f8 100644 --- a/src/IdentityServer8/src/ResponseHandling/Default/UserInfoResponseGenerator.cs +++ b/src/IdentityServer8/src/ResponseHandling/Default/UserInfoResponseGenerator.cs @@ -1,31 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityModel; -using IdentityServer8.Extensions; -using IdentityServer8.Models; -using IdentityServer8.Services; -using IdentityServer8.Stores; -using IdentityServer8.Validation; -using Microsoft.Extensions.Logging; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Security.Claims; -using System.Threading.Tasks; - namespace IdentityServer8.ResponseHandling; /// @@ -163,4 +147,4 @@ protected internal virtual Task> GetRequestedClaimTypesAsync return Task.FromResult(result); } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/ResponseHandling/IAuthorizeInteractionResponseGenerator.cs b/src/IdentityServer8/src/ResponseHandling/IAuthorizeInteractionResponseGenerator.cs index 29c8ec5f..7fba76c2 100644 --- a/src/IdentityServer8/src/ResponseHandling/IAuthorizeInteractionResponseGenerator.cs +++ b/src/IdentityServer8/src/ResponseHandling/IAuthorizeInteractionResponseGenerator.cs @@ -1,22 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityServer8.Models; -using IdentityServer8.Validation; -using System.Threading.Tasks; - namespace IdentityServer8.ResponseHandling; /// @@ -31,4 +24,4 @@ public interface IAuthorizeInteractionResponseGenerator /// The consent. /// Task ProcessInteractionAsync(ValidatedAuthorizeRequest request, ConsentResponse consent = null); -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/ResponseHandling/IAuthorizeResponseGenerator.cs b/src/IdentityServer8/src/ResponseHandling/IAuthorizeResponseGenerator.cs index ee4b518a..edd6ca1f 100644 --- a/src/IdentityServer8/src/ResponseHandling/IAuthorizeResponseGenerator.cs +++ b/src/IdentityServer8/src/ResponseHandling/IAuthorizeResponseGenerator.cs @@ -1,21 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityServer8.Validation; -using System.Threading.Tasks; - namespace IdentityServer8.ResponseHandling; /// @@ -29,4 +23,4 @@ public interface IAuthorizeResponseGenerator /// The request. /// Task CreateResponseAsync(ValidatedAuthorizeRequest request); -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/ResponseHandling/IDeviceAuthorizationResponseGenerator.cs b/src/IdentityServer8/src/ResponseHandling/IDeviceAuthorizationResponseGenerator.cs index 42a7b66c..183df1d8 100644 --- a/src/IdentityServer8/src/ResponseHandling/IDeviceAuthorizationResponseGenerator.cs +++ b/src/IdentityServer8/src/ResponseHandling/IDeviceAuthorizationResponseGenerator.cs @@ -1,21 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System.Threading.Tasks; -using IdentityServer8.Validation; - namespace IdentityServer8.ResponseHandling; /// @@ -30,4 +24,4 @@ public interface IDeviceAuthorizationResponseGenerator /// The base URL. /// Task ProcessAsync(DeviceAuthorizationRequestValidationResult validationResult, string baseUrl); -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/ResponseHandling/IDiscoveryResponseGenerator.cs b/src/IdentityServer8/src/ResponseHandling/IDiscoveryResponseGenerator.cs index 26037c28..e208c8c8 100644 --- a/src/IdentityServer8/src/ResponseHandling/IDiscoveryResponseGenerator.cs +++ b/src/IdentityServer8/src/ResponseHandling/IDiscoveryResponseGenerator.cs @@ -1,22 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityServer8.Models; -using System.Collections.Generic; -using System.Threading.Tasks; - namespace IdentityServer8.ResponseHandling; /// @@ -35,4 +28,4 @@ public interface IDiscoveryResponseGenerator /// Creates the JWK document. /// Task> CreateJwkDocumentAsync(); -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/ResponseHandling/IIntrospectionResponseGenerator.cs b/src/IdentityServer8/src/ResponseHandling/IIntrospectionResponseGenerator.cs index 8c450e34..ebc81946 100644 --- a/src/IdentityServer8/src/ResponseHandling/IIntrospectionResponseGenerator.cs +++ b/src/IdentityServer8/src/ResponseHandling/IIntrospectionResponseGenerator.cs @@ -1,22 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System.Collections.Generic; -using System.Threading.Tasks; -using IdentityServer8.Validation; - namespace IdentityServer8.ResponseHandling; /// @@ -30,4 +23,4 @@ public interface IIntrospectionResponseGenerator /// The validation result. /// Task> ProcessAsync(IntrospectionRequestValidationResult validationResult); -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/ResponseHandling/ITokenResponseGenerator.cs b/src/IdentityServer8/src/ResponseHandling/ITokenResponseGenerator.cs index 1f459d1e..e59dbea6 100644 --- a/src/IdentityServer8/src/ResponseHandling/ITokenResponseGenerator.cs +++ b/src/IdentityServer8/src/ResponseHandling/ITokenResponseGenerator.cs @@ -1,21 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System.Threading.Tasks; -using IdentityServer8.Validation; - namespace IdentityServer8.ResponseHandling; /// @@ -29,4 +23,4 @@ public interface ITokenResponseGenerator /// The validation result. /// Task ProcessAsync(TokenRequestValidationResult validationResult); -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/ResponseHandling/ITokenRevocationResponseGenerator.cs b/src/IdentityServer8/src/ResponseHandling/ITokenRevocationResponseGenerator.cs index 85a11bb9..b24a09b2 100644 --- a/src/IdentityServer8/src/ResponseHandling/ITokenRevocationResponseGenerator.cs +++ b/src/IdentityServer8/src/ResponseHandling/ITokenRevocationResponseGenerator.cs @@ -1,21 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System.Threading.Tasks; -using IdentityServer8.Validation; - namespace IdentityServer8.ResponseHandling; /// @@ -29,4 +23,4 @@ public interface ITokenRevocationResponseGenerator /// The userinfo request validation result. /// Task ProcessAsync(TokenRevocationRequestValidationResult validationResult); -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/ResponseHandling/IUserInfoResponseGenerator.cs b/src/IdentityServer8/src/ResponseHandling/IUserInfoResponseGenerator.cs index fcf25f91..b9a97652 100644 --- a/src/IdentityServer8/src/ResponseHandling/IUserInfoResponseGenerator.cs +++ b/src/IdentityServer8/src/ResponseHandling/IUserInfoResponseGenerator.cs @@ -1,22 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System.Collections.Generic; -using System.Threading.Tasks; -using IdentityServer8.Validation; - namespace IdentityServer8.ResponseHandling; /// @@ -30,4 +23,4 @@ public interface IUserInfoResponseGenerator /// The userinfo request validation result. /// Task> ProcessAsync(UserInfoRequestValidationResult validationResult); -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/ResponseHandling/Models/AuthorizeResponse.cs b/src/IdentityServer8/src/ResponseHandling/Models/AuthorizeResponse.cs index 6adbe464..f6aa6715 100644 --- a/src/IdentityServer8/src/ResponseHandling/Models/AuthorizeResponse.cs +++ b/src/IdentityServer8/src/ResponseHandling/Models/AuthorizeResponse.cs @@ -1,21 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityServer8.Extensions; -using IdentityServer8.Validation; - #pragma warning disable 1591 namespace IdentityServer8.ResponseHandling; @@ -36,4 +30,4 @@ public class AuthorizeResponse public string Error { get; set; } public string ErrorDescription { get; set; } public bool IsError => Error.IsPresent(); -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/ResponseHandling/Models/DeviceAuthorizationResponse.cs b/src/IdentityServer8/src/ResponseHandling/Models/DeviceAuthorizationResponse.cs index 70df3bf4..55e1f744 100644 --- a/src/IdentityServer8/src/ResponseHandling/Models/DeviceAuthorizationResponse.cs +++ b/src/IdentityServer8/src/ResponseHandling/Models/DeviceAuthorizationResponse.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ #pragma warning disable 1591 @@ -26,4 +23,4 @@ public class DeviceAuthorizationResponse public string VerificationUriComplete { get; set; } public int DeviceCodeLifetime { get; set; } public int Interval { get; set; } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/ResponseHandling/Models/InteractionResponse.cs b/src/IdentityServer8/src/ResponseHandling/Models/InteractionResponse.cs index c690ec79..1be06ec4 100644 --- a/src/IdentityServer8/src/ResponseHandling/Models/InteractionResponse.cs +++ b/src/IdentityServer8/src/ResponseHandling/Models/InteractionResponse.cs @@ -1,20 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityServer8.Extensions; - namespace IdentityServer8.ResponseHandling; /// @@ -77,4 +72,4 @@ public class InteractionResponse /// The redirect URL. /// public string RedirectUrl { get; set; } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/ResponseHandling/Models/TokenErrorResponse.cs b/src/IdentityServer8/src/ResponseHandling/Models/TokenErrorResponse.cs index 109220bd..5e5f7e40 100644 --- a/src/IdentityServer8/src/ResponseHandling/Models/TokenErrorResponse.cs +++ b/src/IdentityServer8/src/ResponseHandling/Models/TokenErrorResponse.cs @@ -1,21 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityModel; -using System.Collections.Generic; - namespace IdentityServer8.ResponseHandling; /// @@ -46,4 +40,4 @@ public class TokenErrorResponse /// The custom. /// public Dictionary Custom { get; set; } = new Dictionary(); -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/ResponseHandling/Models/TokenResponse.cs b/src/IdentityServer8/src/ResponseHandling/Models/TokenResponse.cs index 887a1a70..10206152 100644 --- a/src/IdentityServer8/src/ResponseHandling/Models/TokenResponse.cs +++ b/src/IdentityServer8/src/ResponseHandling/Models/TokenResponse.cs @@ -1,20 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System.Collections.Generic; - namespace IdentityServer8.ResponseHandling; /// @@ -69,4 +64,4 @@ public class TokenResponse /// The custom entries. /// public Dictionary Custom { get; set; } = new Dictionary(); -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/ResponseHandling/Models/TokenRevocationResponse.cs b/src/IdentityServer8/src/ResponseHandling/Models/TokenRevocationResponse.cs index b6d29d2c..15f9c129 100644 --- a/src/IdentityServer8/src/ResponseHandling/Models/TokenRevocationResponse.cs +++ b/src/IdentityServer8/src/ResponseHandling/Models/TokenRevocationResponse.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServer8.ResponseHandling; @@ -43,4 +40,4 @@ public class TokenRevocationResponse /// The error. /// public string Error { get; set; } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Services/Default/BackChannelLogoutHttpClient.cs b/src/IdentityServer8/src/Services/Default/BackChannelLogoutHttpClient.cs index 918d500e..5d70037f 100644 --- a/src/IdentityServer8/src/Services/Default/BackChannelLogoutHttpClient.cs +++ b/src/IdentityServer8/src/Services/Default/BackChannelLogoutHttpClient.cs @@ -1,24 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System; -using System.Collections.Generic; -using System.Net.Http; -using System.Threading.Tasks; -using Microsoft.Extensions.Logging; - namespace IdentityServer8.Services; /// @@ -65,4 +56,4 @@ public async Task PostAsync(string url, Dictionary payload) _logger.LogError(ex, "Exception invoking back-channel logout for url: {url}", url); } } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Services/Default/DefaultBackChannelLogoutService.cs b/src/IdentityServer8/src/Services/Default/DefaultBackChannelLogoutService.cs index b78752fe..0ae47b9e 100644 --- a/src/IdentityServer8/src/Services/Default/DefaultBackChannelLogoutService.cs +++ b/src/IdentityServer8/src/Services/Default/DefaultBackChannelLogoutService.cs @@ -1,28 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Security.Claims; -using System.Threading.Tasks; -using IdentityModel; -using IdentityServer8.Models; -using Microsoft.AspNetCore.Authentication; -using Microsoft.Extensions.Logging; - namespace IdentityServer8.Services; /// diff --git a/src/IdentityServer8/src/Services/Default/DefaultCache.cs b/src/IdentityServer8/src/Services/Default/DefaultCache.cs index 69a7d7a4..605db1fc 100644 --- a/src/IdentityServer8/src/Services/Default/DefaultCache.cs +++ b/src/IdentityServer8/src/Services/Default/DefaultCache.cs @@ -1,22 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System.Threading.Tasks; -using Microsoft.Extensions.Caching.Memory; -using System; - namespace IdentityServer8.Services; /// @@ -72,4 +65,4 @@ public Task SetAsync(string key, T item, TimeSpan expiration) _cache.Set(key, item, expiration); return Task.CompletedTask; } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Services/Default/DefaultClaimsService.cs b/src/IdentityServer8/src/Services/Default/DefaultClaimsService.cs index ff51b5c9..9387ec16 100644 --- a/src/IdentityServer8/src/Services/Default/DefaultClaimsService.cs +++ b/src/IdentityServer8/src/Services/Default/DefaultClaimsService.cs @@ -1,28 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityModel; -using IdentityServer8.Extensions; -using IdentityServer8.Models; -using IdentityServer8.Validation; -using Microsoft.Extensions.Logging; -using System.Collections.Generic; -using System.Linq; -using System.Security.Claims; -using System.Threading.Tasks; - namespace IdentityServer8.Services; /// diff --git a/src/IdentityServer8/src/Services/Default/DefaultConsentService.cs b/src/IdentityServer8/src/Services/Default/DefaultConsentService.cs index 7f334a70..068dfab7 100644 --- a/src/IdentityServer8/src/Services/Default/DefaultConsentService.cs +++ b/src/IdentityServer8/src/Services/Default/DefaultConsentService.cs @@ -1,30 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityServer8.Extensions; -using IdentityServer8.Models; -using IdentityServer8.Stores; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Security.Claims; -using System.Threading.Tasks; -using Microsoft.AspNetCore.Authentication; -using Microsoft.Extensions.Logging; -using IdentityServer8.Validation; - namespace IdentityServer8.Services; /// @@ -201,4 +186,4 @@ public virtual async Task UpdateConsentAsync(ClaimsPrincipal subject, Client cli } } } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Services/Default/DefaultCorsPolicyService.cs b/src/IdentityServer8/src/Services/Default/DefaultCorsPolicyService.cs index decfc380..7e37f5c2 100644 --- a/src/IdentityServer8/src/Services/Default/DefaultCorsPolicyService.cs +++ b/src/IdentityServer8/src/Services/Default/DefaultCorsPolicyService.cs @@ -1,24 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using Microsoft.DependencyInjection.Extensions; -using Microsoft.Extensions.Logging; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Threading.Tasks; namespace IdentityServer8.Services; /// diff --git a/src/IdentityServer8/src/Services/Default/DefaultDeviceFlowCodeService.cs b/src/IdentityServer8/src/Services/Default/DefaultDeviceFlowCodeService.cs index 0569b8a8..51b059ca 100644 --- a/src/IdentityServer8/src/Services/Default/DefaultDeviceFlowCodeService.cs +++ b/src/IdentityServer8/src/Services/Default/DefaultDeviceFlowCodeService.cs @@ -1,22 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System.Threading.Tasks; -using IdentityServer8.Models; -using IdentityServer8.Stores; - namespace IdentityServer8.Services.Default; /// @@ -95,4 +88,4 @@ public Task RemoveByDeviceCodeAsync(string deviceCode) { return _store.RemoveByDeviceCodeAsync(deviceCode.Sha256()); } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Services/Default/DefaultDeviceFlowInteractionService.cs b/src/IdentityServer8/src/Services/Default/DefaultDeviceFlowInteractionService.cs index 7904bf5b..83028bd4 100644 --- a/src/IdentityServer8/src/Services/Default/DefaultDeviceFlowInteractionService.cs +++ b/src/IdentityServer8/src/Services/Default/DefaultDeviceFlowInteractionService.cs @@ -1,25 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System; -using System.Threading.Tasks; -using IdentityServer8.Models; -using IdentityServer8.Stores; -using IdentityServer8.Validation; -using Microsoft.Extensions.Logging; - namespace IdentityServer8.Services; internal class DefaultDeviceFlowInteractionService : IDeviceFlowInteractionService @@ -104,4 +94,4 @@ private DeviceFlowInteractionResult LogAndReturnError(string error, string error _logger.LogError(errorDescription); return DeviceFlowInteractionResult.Failure(error); } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Services/Default/DefaultEventService.cs b/src/IdentityServer8/src/Services/Default/DefaultEventService.cs index 073695c4..cd81da6e 100644 --- a/src/IdentityServer8/src/Services/Default/DefaultEventService.cs +++ b/src/IdentityServer8/src/Services/Default/DefaultEventService.cs @@ -1,26 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System; -using System.Diagnostics; -using Microsoft.AspNetCore.Http; -using IdentityServer8.Configuration; -using System.Threading.Tasks; -using IdentityServer8.Services; -using Microsoft.AspNetCore.Authentication; - namespace IdentityServer8.Events; /// @@ -147,4 +136,4 @@ protected virtual async Task PrepareEventAsync(Event evt) await evt.PrepareAsync(); } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Services/Default/DefaultEventSink.cs b/src/IdentityServer8/src/Services/Default/DefaultEventSink.cs index cdd10a86..0c4dae63 100644 --- a/src/IdentityServer8/src/Services/Default/DefaultEventSink.cs +++ b/src/IdentityServer8/src/Services/Default/DefaultEventSink.cs @@ -1,23 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityServer8.Events; -using Microsoft.Extensions.Logging; -using System; -using System.Threading.Tasks; - namespace IdentityServer8.Services; /// @@ -52,4 +44,4 @@ public virtual Task PersistAsync(Event evt) return Task.CompletedTask; } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Services/Default/DefaultHandleGenerationService.cs b/src/IdentityServer8/src/Services/Default/DefaultHandleGenerationService.cs index dfbe8995..a77f927e 100644 --- a/src/IdentityServer8/src/Services/Default/DefaultHandleGenerationService.cs +++ b/src/IdentityServer8/src/Services/Default/DefaultHandleGenerationService.cs @@ -1,21 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityModel; -using System.Threading.Tasks; - namespace IdentityServer8.Services; /// @@ -33,4 +27,4 @@ public Task GenerateAsync(int length) { return Task.FromResult(CryptoRandom.CreateUniqueId(length, CryptoRandom.OutputFormat.Hex)); } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Services/Default/DefaultIdentityServerInteractionService.cs b/src/IdentityServer8/src/Services/Default/DefaultIdentityServerInteractionService.cs index bd9f3ba5..909bffdd 100644 --- a/src/IdentityServer8/src/Services/Default/DefaultIdentityServerInteractionService.cs +++ b/src/IdentityServer8/src/Services/Default/DefaultIdentityServerInteractionService.cs @@ -1,29 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityServer8.Extensions; -using IdentityServer8.Models; -using IdentityServer8.Stores; -using Microsoft.AspNetCore.Http; -using System; -using System.Threading.Tasks; -using System.Collections.Generic; -using Microsoft.Extensions.Logging; -using System.Linq; -using Microsoft.AspNetCore.Authentication; - namespace IdentityServer8.Services; internal class DefaultIdentityServerInteractionService : IIdentityServerInteractionService diff --git a/src/IdentityServer8/src/Services/Default/DefaultJwtRequestUriHttpClient.cs b/src/IdentityServer8/src/Services/Default/DefaultJwtRequestUriHttpClient.cs index 3b6d0120..dbaf388f 100644 --- a/src/IdentityServer8/src/Services/Default/DefaultJwtRequestUriHttpClient.cs +++ b/src/IdentityServer8/src/Services/Default/DefaultJwtRequestUriHttpClient.cs @@ -1,26 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System; -using IdentityServer8.Models; -using Microsoft.Extensions.Logging; -using System.Net.Http; -using System.Threading.Tasks; -using IdentityModel; -using IdentityServer8.Configuration; - namespace IdentityServer8.Services; /// diff --git a/src/IdentityServer8/src/Services/Default/DefaultKeyMaterialService.cs b/src/IdentityServer8/src/Services/Default/DefaultKeyMaterialService.cs index 122a7d34..caed7439 100644 --- a/src/IdentityServer8/src/Services/Default/DefaultKeyMaterialService.cs +++ b/src/IdentityServer8/src/Services/Default/DefaultKeyMaterialService.cs @@ -1,26 +1,16 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System.Collections.Generic; -using System.Threading.Tasks; using Microsoft.IdentityModel.Tokens; -using IdentityServer8.Stores; -using IdentityServer8.Models; -using System.Linq; -using System; -using IdentityServer8.Extensions; namespace IdentityServer8.Services; @@ -91,4 +81,4 @@ public async Task> GetValidationKeysAsync() return keys; } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Services/Default/DefaultPersistedGrantService.cs b/src/IdentityServer8/src/Services/Default/DefaultPersistedGrantService.cs index b1c9e305..c125808a 100644 --- a/src/IdentityServer8/src/Services/Default/DefaultPersistedGrantService.cs +++ b/src/IdentityServer8/src/Services/Default/DefaultPersistedGrantService.cs @@ -1,27 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityServer8.Models; -using Microsoft.Extensions.Logging; -using System.Threading.Tasks; -using IdentityServer8.Stores; -using IdentityServer8.Stores.Serialization; -using System.Collections.Generic; -using System.Linq; -using System; - namespace IdentityServer8.Services; /// @@ -168,4 +156,4 @@ public Task RemoveAllGrantsAsync(string subjectId, string clientId = null, strin SessionId = sessionId }); } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Services/Default/DefaultProfileService.cs b/src/IdentityServer8/src/Services/Default/DefaultProfileService.cs index 52411476..0f201afd 100644 --- a/src/IdentityServer8/src/Services/Default/DefaultProfileService.cs +++ b/src/IdentityServer8/src/Services/Default/DefaultProfileService.cs @@ -1,22 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System.Threading.Tasks; -using IdentityServer8.Models; -using Microsoft.Extensions.Logging; - namespace IdentityServer8.Services; /// diff --git a/src/IdentityServer8/src/Services/Default/DefaultRefreshTokenService.cs b/src/IdentityServer8/src/Services/Default/DefaultRefreshTokenService.cs index fad89e2a..a406740f 100644 --- a/src/IdentityServer8/src/Services/Default/DefaultRefreshTokenService.cs +++ b/src/IdentityServer8/src/Services/Default/DefaultRefreshTokenService.cs @@ -1,29 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityServer8.Extensions; -using IdentityServer8.Models; -using IdentityServer8.Stores; -using Microsoft.Extensions.Logging; -using System.Security.Claims; -using System.Threading.Tasks; -using IdentityModel; -using IdentityServer8.Logging.Models; -using IdentityServer8.Validation; -using Microsoft.AspNetCore.Authentication; - namespace IdentityServer8.Services; /// @@ -292,4 +278,4 @@ public virtual async Task UpdateRefreshTokenAsync(string handle, Refresh return handle; } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Services/Default/DefaultReplayCache.cs b/src/IdentityServer8/src/Services/Default/DefaultReplayCache.cs index e0cbcb68..14c99228 100644 --- a/src/IdentityServer8/src/Services/Default/DefaultReplayCache.cs +++ b/src/IdentityServer8/src/Services/Default/DefaultReplayCache.cs @@ -1,22 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System; -using System.Threading.Tasks; -using Microsoft.Extensions.Caching.Distributed; - namespace IdentityServer8.Services; /// @@ -53,4 +46,4 @@ public async Task ExistsAsync(string purpose, string handle) { return (await _cache.GetAsync(Prefix + purpose + handle, default)) != null; } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Services/Default/DefaultTokenCreationService.cs b/src/IdentityServer8/src/Services/Default/DefaultTokenCreationService.cs index 4ea264a2..99852661 100644 --- a/src/IdentityServer8/src/Services/Default/DefaultTokenCreationService.cs +++ b/src/IdentityServer8/src/Services/Default/DefaultTokenCreationService.cs @@ -1,30 +1,16 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityModel; -using IdentityServer8.Configuration; -using IdentityServer8.Extensions; -using IdentityServer8.Models; -using Microsoft.AspNetCore.Authentication; -using Microsoft.Extensions.Logging; using Microsoft.IdentityModel.Tokens; -using System; -using System.Globalization; -using System.IdentityModel.Tokens.Jwt; -using System.Threading.Tasks; -using static IdentityServer8.IdentityServerConstants; namespace IdentityServer8.Services; @@ -147,4 +133,4 @@ protected virtual Task CreateJwtAsync(JwtSecurityToken jwt) var handler = new JwtSecurityTokenHandler(); return Task.FromResult(handler.WriteToken(jwt)); } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Services/Default/DefaultTokenService.cs b/src/IdentityServer8/src/Services/Default/DefaultTokenService.cs index 554314a4..80e6aa2f 100644 --- a/src/IdentityServer8/src/Services/Default/DefaultTokenService.cs +++ b/src/IdentityServer8/src/Services/Default/DefaultTokenService.cs @@ -1,32 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityModel; -using IdentityServer8.Configuration; -using IdentityServer8.Extensions; -using IdentityServer8.Models; -using IdentityServer8.Stores; -using Microsoft.AspNetCore.Authentication; -using Microsoft.AspNetCore.Http; -using Microsoft.Extensions.Logging; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Security.Claims; -using System.Threading.Tasks; - namespace IdentityServer8.Services; /// @@ -303,4 +286,4 @@ public virtual async Task CreateSecurityTokenAsync(Token token) return tokenResult; } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Services/Default/DefaultUserCodeService.cs b/src/IdentityServer8/src/Services/Default/DefaultUserCodeService.cs index fc98e4de..6173d74b 100644 --- a/src/IdentityServer8/src/Services/Default/DefaultUserCodeService.cs +++ b/src/IdentityServer8/src/Services/Default/DefaultUserCodeService.cs @@ -1,23 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Threading.Tasks; - namespace IdentityServer8.Services; /// @@ -45,4 +37,4 @@ public DefaultUserCodeService(IEnumerable generators) /// public Task GetGenerator(string userCodeType) => Task.FromResult(_generators.FirstOrDefault(x => x.UserCodeType == userCodeType)); -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Services/Default/DefaultUserSession.cs b/src/IdentityServer8/src/Services/Default/DefaultUserSession.cs index b9afcc8f..c0fb8d54 100644 --- a/src/IdentityServer8/src/Services/Default/DefaultUserSession.cs +++ b/src/IdentityServer8/src/Services/Default/DefaultUserSession.cs @@ -1,30 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Security.Claims; -using System.Threading.Tasks; -using IdentityModel; -using IdentityServer8.Configuration; -using IdentityServer8.Extensions; -using Microsoft.AspNetCore.Http; -using Microsoft.Extensions.Logging; -using Microsoft.AspNetCore.Authentication; - namespace IdentityServer8.Services; /// diff --git a/src/IdentityServer8/src/Services/Default/DistributedDeviceFlowThrottlingService.cs b/src/IdentityServer8/src/Services/Default/DistributedDeviceFlowThrottlingService.cs index 233baf08..26071440 100644 --- a/src/IdentityServer8/src/Services/Default/DistributedDeviceFlowThrottlingService.cs +++ b/src/IdentityServer8/src/Services/Default/DistributedDeviceFlowThrottlingService.cs @@ -1,25 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System; -using System.Threading.Tasks; -using IdentityServer8.Configuration; -using IdentityServer8.Models; -using Microsoft.AspNetCore.Authentication; -using Microsoft.Extensions.Caching.Distributed; - namespace IdentityServer8.Services; /// @@ -87,4 +77,4 @@ public async Task ShouldSlowDown(string deviceCode, DeviceCode details) await _cache.SetStringAsync(key, _clock.UtcNow.ToString("O"), options); return false; } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Services/Default/LogoutNotificationService.cs b/src/IdentityServer8/src/Services/Default/LogoutNotificationService.cs index 393c175d..40ac8dc6 100644 --- a/src/IdentityServer8/src/Services/Default/LogoutNotificationService.cs +++ b/src/IdentityServer8/src/Services/Default/LogoutNotificationService.cs @@ -1,29 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityModel; -using IdentityServer8.Extensions; -using IdentityServer8.Models; -using IdentityServer8.Stores; -using Microsoft.AspNetCore.Http; -using Microsoft.DependencyInjection.Extensions; -using Microsoft.Extensions.Logging; -using System.Collections.Generic; -using System.Linq; -using System.Threading.Tasks; - namespace IdentityServer8.Services; /// diff --git a/src/IdentityServer8/src/Services/Default/NumericUserCodeGenerator.cs b/src/IdentityServer8/src/Services/Default/NumericUserCodeGenerator.cs index 2facdbf7..d1108964 100644 --- a/src/IdentityServer8/src/Services/Default/NumericUserCodeGenerator.cs +++ b/src/IdentityServer8/src/Services/Default/NumericUserCodeGenerator.cs @@ -1,22 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System; -using System.Security.Cryptography; -using System.Threading.Tasks; - namespace IdentityServer8.Services; /// @@ -75,4 +68,4 @@ private int Next(int minValue, int maxValue) } } } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Services/Default/OidcReturnUrlParser.cs b/src/IdentityServer8/src/Services/Default/OidcReturnUrlParser.cs index 938ded45..5def277e 100644 --- a/src/IdentityServer8/src/Services/Default/OidcReturnUrlParser.cs +++ b/src/IdentityServer8/src/Services/Default/OidcReturnUrlParser.cs @@ -1,27 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System; -using System.Threading.Tasks; -using IdentityServer8.Models; -using IdentityServer8.Extensions; -using IdentityServer8.Validation; -using Microsoft.Extensions.Logging; -using IdentityServer8.Stores; -using System.Collections.Specialized; - namespace IdentityServer8.Services; internal class OidcReturnUrlParser : IReturnUrlParser diff --git a/src/IdentityServer8/src/Services/Default/ReturnUrlParser.cs b/src/IdentityServer8/src/Services/Default/ReturnUrlParser.cs index c10dbc54..22a21bd3 100644 --- a/src/IdentityServer8/src/Services/Default/ReturnUrlParser.cs +++ b/src/IdentityServer8/src/Services/Default/ReturnUrlParser.cs @@ -1,22 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityServer8.Models; -using System.Collections.Generic; -using System.Threading.Tasks; - namespace IdentityServer8.Services; /// @@ -73,4 +66,4 @@ public virtual bool IsValidReturnUrl(string returnUrl) return false; } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Services/IBackChannelLogoutHttpClient.cs b/src/IdentityServer8/src/Services/IBackChannelLogoutHttpClient.cs index 316e0f96..b209a14e 100644 --- a/src/IdentityServer8/src/Services/IBackChannelLogoutHttpClient.cs +++ b/src/IdentityServer8/src/Services/IBackChannelLogoutHttpClient.cs @@ -1,21 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System.Collections.Generic; -using System.Threading.Tasks; - namespace IdentityServer8.Services; /// @@ -30,4 +24,4 @@ public interface IBackChannelLogoutHttpClient /// /// Task PostAsync(string url, Dictionary payload); -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Services/IBackChannelLogoutService.cs b/src/IdentityServer8/src/Services/IBackChannelLogoutService.cs index 0079ad52..927857b5 100644 --- a/src/IdentityServer8/src/Services/IBackChannelLogoutService.cs +++ b/src/IdentityServer8/src/Services/IBackChannelLogoutService.cs @@ -1,21 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityServer8.Models; -using System.Threading.Tasks; - namespace IdentityServer8.Services; /// diff --git a/src/IdentityServer8/src/Services/ICache.cs b/src/IdentityServer8/src/Services/ICache.cs index 2f318b71..3bd370ac 100644 --- a/src/IdentityServer8/src/Services/ICache.cs +++ b/src/IdentityServer8/src/Services/ICache.cs @@ -1,21 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System; -using System.Threading.Tasks; - namespace IdentityServer8.Services; /// @@ -40,4 +34,4 @@ public interface ICache /// The expiration. /// Task SetAsync(string key, T item, TimeSpan expiration); -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Services/IClaimsService.cs b/src/IdentityServer8/src/Services/IClaimsService.cs index c78a54d3..4abcaece 100644 --- a/src/IdentityServer8/src/Services/IClaimsService.cs +++ b/src/IdentityServer8/src/Services/IClaimsService.cs @@ -1,23 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityServer8.Validation; -using System.Collections.Generic; -using System.Security.Claims; -using System.Threading.Tasks; - namespace IdentityServer8.Services; /// @@ -47,4 +39,4 @@ public interface IClaimsService /// Claims for the access token /// Task> GetAccessTokenClaimsAsync(ClaimsPrincipal subject, ResourceValidationResult resources, ValidatedRequest request); -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Services/IConsentService.cs b/src/IdentityServer8/src/Services/IConsentService.cs index 21b89377..6677df6b 100644 --- a/src/IdentityServer8/src/Services/IConsentService.cs +++ b/src/IdentityServer8/src/Services/IConsentService.cs @@ -1,24 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityServer8.Models; -using IdentityServer8.Validation; -using System.Collections.Generic; -using System.Security.Claims; -using System.Threading.Tasks; - namespace IdentityServer8.Services; /// @@ -45,4 +36,4 @@ public interface IConsentService /// The parsed scopes. /// Task UpdateConsentAsync(ClaimsPrincipal subject, Client client, IEnumerable parsedScopes); -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Services/IDeviceFlowCodeService.cs b/src/IdentityServer8/src/Services/IDeviceFlowCodeService.cs index 8a1d387e..ffe7f542 100644 --- a/src/IdentityServer8/src/Services/IDeviceFlowCodeService.cs +++ b/src/IdentityServer8/src/Services/IDeviceFlowCodeService.cs @@ -1,21 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System.Threading.Tasks; -using IdentityServer8.Models; - namespace IdentityServer8.Services; /// @@ -55,4 +49,4 @@ public interface IDeviceFlowCodeService /// /// The device code. Task RemoveByDeviceCodeAsync(string deviceCode); -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Services/IDeviceFlowInteractionService.cs b/src/IdentityServer8/src/Services/IDeviceFlowInteractionService.cs index f22d1695..4622d422 100644 --- a/src/IdentityServer8/src/Services/IDeviceFlowInteractionService.cs +++ b/src/IdentityServer8/src/Services/IDeviceFlowInteractionService.cs @@ -1,21 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System.Threading.Tasks; -using IdentityServer8.Models; - namespace IdentityServer8.Services; /// @@ -37,4 +31,4 @@ public interface IDeviceFlowInteractionService /// The consent. /// Task HandleRequestAsync(string userCode, ConsentResponse consent); -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Services/IDeviceFlowThrottlingService.cs b/src/IdentityServer8/src/Services/IDeviceFlowThrottlingService.cs index e63b808a..1f56c25f 100644 --- a/src/IdentityServer8/src/Services/IDeviceFlowThrottlingService.cs +++ b/src/IdentityServer8/src/Services/IDeviceFlowThrottlingService.cs @@ -1,21 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System.Threading.Tasks; -using IdentityServer8.Models; - namespace IdentityServer8.Services; /// @@ -30,4 +24,4 @@ public interface IDeviceFlowThrottlingService /// The device code details. /// Task ShouldSlowDown(string deviceCode, DeviceCode details); -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Services/IEventService.cs b/src/IdentityServer8/src/Services/IEventService.cs index 198bb805..2cc18918 100644 --- a/src/IdentityServer8/src/Services/IEventService.cs +++ b/src/IdentityServer8/src/Services/IEventService.cs @@ -1,21 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityServer8.Events; -using System.Threading.Tasks; - namespace IdentityServer8.Services; /// @@ -33,4 +27,4 @@ public interface IEventService /// Indicates if the type of event will be persisted. /// bool CanRaiseEventType(EventTypes evtType); -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Services/IEventSink.cs b/src/IdentityServer8/src/Services/IEventSink.cs index 13b7564e..44f82bba 100644 --- a/src/IdentityServer8/src/Services/IEventSink.cs +++ b/src/IdentityServer8/src/Services/IEventSink.cs @@ -1,21 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityServer8.Events; -using System.Threading.Tasks; - namespace IdentityServer8.Services; /// @@ -28,4 +22,4 @@ public interface IEventSink /// /// The event. Task PersistAsync(Event evt); -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Services/IHandleGenerationService.cs b/src/IdentityServer8/src/Services/IHandleGenerationService.cs index b62107c0..55e6a301 100644 --- a/src/IdentityServer8/src/Services/IHandleGenerationService.cs +++ b/src/IdentityServer8/src/Services/IHandleGenerationService.cs @@ -1,20 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System.Threading.Tasks; - namespace IdentityServer8.Services; /// @@ -28,4 +23,4 @@ public interface IHandleGenerationService /// The length. /// Task GenerateAsync(int length = 32); -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Services/IIdentityServerInteractionService.cs b/src/IdentityServer8/src/Services/IIdentityServerInteractionService.cs index c1461108..e7124b8a 100644 --- a/src/IdentityServer8/src/Services/IIdentityServerInteractionService.cs +++ b/src/IdentityServer8/src/Services/IIdentityServerInteractionService.cs @@ -1,22 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityServer8.Models; -using System.Collections.Generic; -using System.Threading.Tasks; - namespace IdentityServer8.Services; /// diff --git a/src/IdentityServer8/src/Services/IJwtRequestUriHttpClient.cs b/src/IdentityServer8/src/Services/IJwtRequestUriHttpClient.cs index bc4f76f1..32495c3f 100644 --- a/src/IdentityServer8/src/Services/IJwtRequestUriHttpClient.cs +++ b/src/IdentityServer8/src/Services/IJwtRequestUriHttpClient.cs @@ -1,21 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System.Threading.Tasks; -using IdentityServer8.Models; - namespace IdentityServer8.Services; /// @@ -30,4 +24,4 @@ public interface IJwtRequestUriHttpClient /// /// Task GetJwtAsync(string url, Client client); -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Services/IKeyMaterialService.cs b/src/IdentityServer8/src/Services/IKeyMaterialService.cs index 1814a391..92ec3c47 100644 --- a/src/IdentityServer8/src/Services/IKeyMaterialService.cs +++ b/src/IdentityServer8/src/Services/IKeyMaterialService.cs @@ -1,22 +1,16 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityServer8.Models; using Microsoft.IdentityModel.Tokens; -using System.Collections.Generic; -using System.Threading.Tasks; namespace IdentityServer8.Services; @@ -44,4 +38,4 @@ public interface IKeyMaterialService /// /// Task> GetAllSigningCredentialsAsync(); -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Services/ILogoutNotificationService.cs b/src/IdentityServer8/src/Services/ILogoutNotificationService.cs index c370fcf3..4374ea39 100644 --- a/src/IdentityServer8/src/Services/ILogoutNotificationService.cs +++ b/src/IdentityServer8/src/Services/ILogoutNotificationService.cs @@ -1,22 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityServer8.Models; -using System.Collections.Generic; -using System.Threading.Tasks; - namespace IdentityServer8.Services; /// diff --git a/src/IdentityServer8/src/Services/IPersistedGrantService.cs b/src/IdentityServer8/src/Services/IPersistedGrantService.cs index f8182874..f51a2778 100644 --- a/src/IdentityServer8/src/Services/IPersistedGrantService.cs +++ b/src/IdentityServer8/src/Services/IPersistedGrantService.cs @@ -1,22 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityServer8.Models; -using System.Collections.Generic; -using System.Threading.Tasks; - namespace IdentityServer8.Services; /// @@ -39,4 +32,4 @@ public interface IPersistedGrantService /// The sesion id (optional). /// Task RemoveAllGrantsAsync(string subjectId, string clientId = null, string sessionId = null); -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Services/IProfileService.cs b/src/IdentityServer8/src/Services/IProfileService.cs index f2758cb7..3331a647 100644 --- a/src/IdentityServer8/src/Services/IProfileService.cs +++ b/src/IdentityServer8/src/Services/IProfileService.cs @@ -1,21 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityServer8.Models; -using System.Threading.Tasks; - namespace IdentityServer8.Services; /// @@ -37,4 +31,4 @@ public interface IProfileService /// The context. /// Task IsActiveAsync(IsActiveContext context); -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Services/IRefreshTokenService.cs b/src/IdentityServer8/src/Services/IRefreshTokenService.cs index 91cb8e6c..dac65ea2 100644 --- a/src/IdentityServer8/src/Services/IRefreshTokenService.cs +++ b/src/IdentityServer8/src/Services/IRefreshTokenService.cs @@ -1,23 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityServer8.Models; -using System.Security.Claims; -using System.Threading.Tasks; -using IdentityServer8.Validation; - namespace IdentityServer8.Services; /// @@ -54,4 +46,4 @@ public interface IRefreshTokenService /// The refresh token handle /// Task UpdateRefreshTokenAsync(string handle, RefreshToken refreshToken, Client client); -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Services/IReplayCache.cs b/src/IdentityServer8/src/Services/IReplayCache.cs index 8c9cd790..08e6897e 100644 --- a/src/IdentityServer8/src/Services/IReplayCache.cs +++ b/src/IdentityServer8/src/Services/IReplayCache.cs @@ -1,21 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System; -using System.Threading.Tasks; - namespace IdentityServer8.Services; /// @@ -40,4 +34,4 @@ public interface IReplayCache /// /// Task ExistsAsync(string purpose, string handle); -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Services/IReturnUrlParser.cs b/src/IdentityServer8/src/Services/IReturnUrlParser.cs index e1237bb4..3bf5dfe2 100644 --- a/src/IdentityServer8/src/Services/IReturnUrlParser.cs +++ b/src/IdentityServer8/src/Services/IReturnUrlParser.cs @@ -1,21 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityServer8.Models; -using System.Threading.Tasks; - namespace IdentityServer8.Services; /// @@ -38,4 +32,4 @@ public interface IReturnUrlParser /// true if the return URL is valid; otherwise, false. /// bool IsValidReturnUrl(string returnUrl); -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Services/ITokenCreationService.cs b/src/IdentityServer8/src/Services/ITokenCreationService.cs index 3db56a11..84b6e47e 100644 --- a/src/IdentityServer8/src/Services/ITokenCreationService.cs +++ b/src/IdentityServer8/src/Services/ITokenCreationService.cs @@ -1,21 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityServer8.Models; -using System.Threading.Tasks; - namespace IdentityServer8.Services; /// @@ -29,4 +23,4 @@ public interface ITokenCreationService /// The token description. /// A protected and serialized security token Task CreateTokenAsync(Token token); -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Services/ITokenService.cs b/src/IdentityServer8/src/Services/ITokenService.cs index 210dd7b2..63e72493 100644 --- a/src/IdentityServer8/src/Services/ITokenService.cs +++ b/src/IdentityServer8/src/Services/ITokenService.cs @@ -1,21 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityServer8.Models; -using System.Threading.Tasks; - namespace IdentityServer8.Services; /// @@ -43,4 +37,4 @@ public interface ITokenService /// The token. /// A security token in serialized form Task CreateSecurityTokenAsync(Token token); -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Services/IUserCodeGenerator.cs b/src/IdentityServer8/src/Services/IUserCodeGenerator.cs index 19eeb587..60c1afa5 100644 --- a/src/IdentityServer8/src/Services/IUserCodeGenerator.cs +++ b/src/IdentityServer8/src/Services/IUserCodeGenerator.cs @@ -1,20 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System.Threading.Tasks; - namespace IdentityServer8.Services; /// @@ -43,4 +38,4 @@ public interface IUserCodeGenerator /// /// Task GenerateAsync(); -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Services/IUserCodeService.cs b/src/IdentityServer8/src/Services/IUserCodeService.cs index 53073d6e..85e93fdd 100644 --- a/src/IdentityServer8/src/Services/IUserCodeService.cs +++ b/src/IdentityServer8/src/Services/IUserCodeService.cs @@ -1,20 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System.Threading.Tasks; - namespace IdentityServer8.Services; /// @@ -28,4 +23,4 @@ public interface IUserCodeService /// Type of user code. /// Task GetGenerator(string userCodeType); -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Services/IUserSession.cs b/src/IdentityServer8/src/Services/IUserSession.cs index c94fde76..b16a980b 100644 --- a/src/IdentityServer8/src/Services/IUserSession.cs +++ b/src/IdentityServer8/src/Services/IUserSession.cs @@ -1,23 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using Microsoft.AspNetCore.Authentication; -using System.Collections.Generic; -using System.Security.Claims; -using System.Threading.Tasks; - namespace IdentityServer8.Services; /// diff --git a/src/IdentityServer8/src/Services/InMemory/InMemoryCorsPolicyService.cs b/src/IdentityServer8/src/Services/InMemory/InMemoryCorsPolicyService.cs index 9c0ae57f..1866284b 100644 --- a/src/IdentityServer8/src/Services/InMemory/InMemoryCorsPolicyService.cs +++ b/src/IdentityServer8/src/Services/InMemory/InMemoryCorsPolicyService.cs @@ -1,27 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityServer8.Extensions; -using IdentityServer8.Models; -using Microsoft.Extensions.Logging; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Threading.Tasks; -using Microsoft.DependencyInjection.Extensions; - namespace IdentityServer8.Services; /// diff --git a/src/IdentityServer8/src/Stores/Caching/CachingClientStore.cs b/src/IdentityServer8/src/Stores/Caching/CachingClientStore.cs index 46a4db03..0020fd1b 100644 --- a/src/IdentityServer8/src/Stores/Caching/CachingClientStore.cs +++ b/src/IdentityServer8/src/Stores/Caching/CachingClientStore.cs @@ -1,25 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityServer8.Extensions; -using IdentityServer8.Models; -using IdentityServer8.Services; -using System.Threading.Tasks; -using IdentityServer8.Configuration; -using Microsoft.Extensions.Logging; - namespace IdentityServer8.Stores; /// @@ -66,4 +56,4 @@ public async Task FindClientByIdAsync(string clientId) return client; } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Stores/Caching/CachingCorsPolicyService.cs b/src/IdentityServer8/src/Stores/Caching/CachingCorsPolicyService.cs index 885d6e2d..2ec4b805 100644 --- a/src/IdentityServer8/src/Stores/Caching/CachingCorsPolicyService.cs +++ b/src/IdentityServer8/src/Stores/Caching/CachingCorsPolicyService.cs @@ -1,24 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityServer8.Extensions; -using IdentityServer8.Services; -using System.Threading.Tasks; -using IdentityServer8.Configuration; -using Microsoft.Extensions.Logging; - namespace IdentityServer8.Stores; /// diff --git a/src/IdentityServer8/src/Stores/Caching/CachingResourceStore.cs b/src/IdentityServer8/src/Stores/Caching/CachingResourceStore.cs index ca17afd7..fb0623c8 100644 --- a/src/IdentityServer8/src/Stores/Caching/CachingResourceStore.cs +++ b/src/IdentityServer8/src/Stores/Caching/CachingResourceStore.cs @@ -1,27 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityServer8.Extensions; -using IdentityServer8.Models; -using IdentityServer8.Services; -using System.Threading.Tasks; -using IdentityServer8.Configuration; -using System.Collections.Generic; -using System.Linq; -using Microsoft.Extensions.Logging; - namespace IdentityServer8.Stores; /// @@ -144,4 +132,4 @@ public async Task> FindApiScopesByNameAsync(IEnumerable @@ -72,4 +62,4 @@ public Task RemoveAuthorizationCodeAsync(string code) { return RemoveItemAsync(code); } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Stores/Default/DefaultGrantStore.cs b/src/IdentityServer8/src/Stores/Default/DefaultGrantStore.cs index da103058..b397fc33 100644 --- a/src/IdentityServer8/src/Stores/Default/DefaultGrantStore.cs +++ b/src/IdentityServer8/src/Stores/Default/DefaultGrantStore.cs @@ -1,27 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityServer8.Extensions; -using IdentityServer8.Models; -using IdentityServer8.Services; -using IdentityServer8.Stores.Serialization; -using Microsoft.Extensions.Logging; -using System; -using System.Threading.Tasks; -using Microsoft.DependencyInjection.Extensions; - namespace IdentityServer8.Stores; /// @@ -200,4 +188,4 @@ await Store.RemoveAllAsync(new PersistedGrantFilter Type = GrantType }); } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Stores/Default/DefaultReferenceTokenStore.cs b/src/IdentityServer8/src/Stores/Default/DefaultReferenceTokenStore.cs index 3fbe171c..be619d6a 100644 --- a/src/IdentityServer8/src/Stores/Default/DefaultReferenceTokenStore.cs +++ b/src/IdentityServer8/src/Stores/Default/DefaultReferenceTokenStore.cs @@ -1,24 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System.Threading.Tasks; -using IdentityServer8.Models; -using IdentityServer8.Stores.Serialization; -using Microsoft.Extensions.Logging; -using IdentityServer8.Services; - namespace IdentityServer8.Stores; /// @@ -82,4 +73,4 @@ public Task RemoveReferenceTokensAsync(string subjectId, string clientId) { return RemoveAllAsync(subjectId, clientId); } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Stores/Default/DefaultRefreshTokenStore.cs b/src/IdentityServer8/src/Stores/Default/DefaultRefreshTokenStore.cs index 709b6cbe..727c7cd1 100644 --- a/src/IdentityServer8/src/Stores/Default/DefaultRefreshTokenStore.cs +++ b/src/IdentityServer8/src/Stores/Default/DefaultRefreshTokenStore.cs @@ -1,24 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System.Threading.Tasks; -using IdentityServer8.Models; -using IdentityServer8.Stores.Serialization; -using Microsoft.Extensions.Logging; -using IdentityServer8.Services; - namespace IdentityServer8.Stores; /// @@ -93,4 +84,4 @@ public Task RemoveRefreshTokensAsync(string subjectId, string clientId) { return RemoveAllAsync(subjectId, clientId); } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Stores/Default/DefaultUserConsentStore.cs b/src/IdentityServer8/src/Stores/Default/DefaultUserConsentStore.cs index a610168e..81a52d79 100644 --- a/src/IdentityServer8/src/Stores/Default/DefaultUserConsentStore.cs +++ b/src/IdentityServer8/src/Stores/Default/DefaultUserConsentStore.cs @@ -1,24 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System.Threading.Tasks; -using IdentityServer8.Models; -using IdentityServer8.Stores.Serialization; -using Microsoft.Extensions.Logging; -using IdentityServer8.Services; - namespace IdentityServer8.Stores; /// diff --git a/src/IdentityServer8/src/Stores/Default/DistributedCacheAuthorizationParametersMessageStore.cs b/src/IdentityServer8/src/Stores/Default/DistributedCacheAuthorizationParametersMessageStore.cs index 5d2ee89d..90cf3079 100644 --- a/src/IdentityServer8/src/Stores/Default/DistributedCacheAuthorizationParametersMessageStore.cs +++ b/src/IdentityServer8/src/Stores/Default/DistributedCacheAuthorizationParametersMessageStore.cs @@ -1,25 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System.Collections.Generic; -using System.Threading.Tasks; -using IdentityModel; -using IdentityServer8.Models; -using IdentityServer8.Services; -using Microsoft.Extensions.Caching.Distributed; - namespace IdentityServer8.Stores.Default; /// diff --git a/src/IdentityServer8/src/Stores/Default/ProtectedDataMessageStore.cs b/src/IdentityServer8/src/Stores/Default/ProtectedDataMessageStore.cs index 36e1b597..8dc4eb7f 100644 --- a/src/IdentityServer8/src/Stores/Default/ProtectedDataMessageStore.cs +++ b/src/IdentityServer8/src/Stores/Default/ProtectedDataMessageStore.cs @@ -1,25 +1,16 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityServer8.Models; -using System.Threading.Tasks; using Microsoft.AspNetCore.DataProtection; -using IdentityModel; -using System.Text; -using System; -using Microsoft.Extensions.Logging; namespace IdentityServer8.Stores; diff --git a/src/IdentityServer8/src/Stores/Default/QueryStringAuthorizationParametersMessageStore.cs b/src/IdentityServer8/src/Stores/Default/QueryStringAuthorizationParametersMessageStore.cs index 256dac96..73913645 100644 --- a/src/IdentityServer8/src/Stores/Default/QueryStringAuthorizationParametersMessageStore.cs +++ b/src/IdentityServer8/src/Stores/Default/QueryStringAuthorizationParametersMessageStore.cs @@ -1,23 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System.Collections.Generic; -using IdentityServer8.Models; -using System.Threading.Tasks; -using IdentityServer8.Extensions; - namespace IdentityServer8.Stores; // internal just for testing diff --git a/src/IdentityServer8/src/Stores/IAuthorizationParametersMessageStore.cs b/src/IdentityServer8/src/Stores/IAuthorizationParametersMessageStore.cs index 46361a6c..37e59567 100644 --- a/src/IdentityServer8/src/Stores/IAuthorizationParametersMessageStore.cs +++ b/src/IdentityServer8/src/Stores/IAuthorizationParametersMessageStore.cs @@ -1,22 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System.Collections.Generic; -using IdentityServer8.Models; -using System.Threading.Tasks; - namespace IdentityServer8.Stores; /// @@ -44,4 +37,4 @@ public interface IAuthorizationParametersMessageStore /// The identifier. /// Task DeleteAsync(string id); -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Stores/IConsentMessageStore.cs b/src/IdentityServer8/src/Stores/IConsentMessageStore.cs index 7b667764..28b8825b 100644 --- a/src/IdentityServer8/src/Stores/IConsentMessageStore.cs +++ b/src/IdentityServer8/src/Stores/IConsentMessageStore.cs @@ -1,21 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityServer8.Models; -using System.Threading.Tasks; - namespace IdentityServer8.Stores; /// @@ -43,4 +37,4 @@ public interface IConsentMessageStore /// The identifier. /// Task DeleteAsync(string id); -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Stores/IMessageStore.cs b/src/IdentityServer8/src/Stores/IMessageStore.cs index d166a185..ad86cb47 100644 --- a/src/IdentityServer8/src/Stores/IMessageStore.cs +++ b/src/IdentityServer8/src/Stores/IMessageStore.cs @@ -1,21 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityServer8.Models; -using System.Threading.Tasks; - namespace IdentityServer8.Stores; /// @@ -37,4 +31,4 @@ public interface IMessageStore /// The identifier. /// Task> ReadAsync(string id); -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Stores/ISigningCredentialStore.cs b/src/IdentityServer8/src/Stores/ISigningCredentialStore.cs index 675b07a8..2a25f786 100644 --- a/src/IdentityServer8/src/Stores/ISigningCredentialStore.cs +++ b/src/IdentityServer8/src/Stores/ISigningCredentialStore.cs @@ -1,20 +1,16 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using Microsoft.IdentityModel.Tokens; -using System.Threading.Tasks; namespace IdentityServer8.Stores; @@ -28,4 +24,4 @@ public interface ISigningCredentialStore /// /// Task GetSigningCredentialsAsync(); -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Stores/IValidationKeysStore.cs b/src/IdentityServer8/src/Stores/IValidationKeysStore.cs index e2cb6704..7d4fef7e 100644 --- a/src/IdentityServer8/src/Stores/IValidationKeysStore.cs +++ b/src/IdentityServer8/src/Stores/IValidationKeysStore.cs @@ -1,22 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityServer8.Models; -using System.Collections.Generic; -using System.Threading.Tasks; - namespace IdentityServer8.Stores; /// @@ -29,4 +22,4 @@ public interface IValidationKeysStore /// /// Task> GetValidationKeysAsync(); -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Stores/InMemory/InMemoryClientStore.cs b/src/IdentityServer8/src/Stores/InMemory/InMemoryClientStore.cs index 3c01546f..3b5fa169 100644 --- a/src/IdentityServer8/src/Stores/InMemory/InMemoryClientStore.cs +++ b/src/IdentityServer8/src/Stores/InMemory/InMemoryClientStore.cs @@ -1,25 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityServer8.Extensions; -using IdentityServer8.Models; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Threading.Tasks; - namespace IdentityServer8.Stores; /// @@ -58,4 +48,4 @@ from client in _clients return Task.FromResult(query.SingleOrDefault()); } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Stores/InMemory/InMemoryDeviceFlowStore.cs b/src/IdentityServer8/src/Stores/InMemory/InMemoryDeviceFlowStore.cs index e42d9f34..6db9f417 100644 --- a/src/IdentityServer8/src/Stores/InMemory/InMemoryDeviceFlowStore.cs +++ b/src/IdentityServer8/src/Stores/InMemory/InMemoryDeviceFlowStore.cs @@ -1,23 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System.Collections.Generic; -using System.Linq; -using System.Threading.Tasks; -using IdentityServer8.Models; - namespace IdentityServer8.Stores; /// @@ -131,4 +123,4 @@ public InMemoryDeviceAuthorization(string deviceCode, string userCode, DeviceCod public string UserCode { get; } public DeviceCode Data { get; set; } } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Stores/InMemory/InMemoryPersistedGrantStore.cs b/src/IdentityServer8/src/Stores/InMemory/InMemoryPersistedGrantStore.cs index ffa9c706..6c6ee4da 100644 --- a/src/IdentityServer8/src/Stores/InMemory/InMemoryPersistedGrantStore.cs +++ b/src/IdentityServer8/src/Stores/InMemory/InMemoryPersistedGrantStore.cs @@ -1,26 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityServer8.Extensions; -using IdentityServer8.Models; -using System.Collections.Concurrent; -using System.Linq; -using System.Threading.Tasks; -using System.Collections.Generic; -using System; - namespace IdentityServer8.Stores; /// @@ -108,4 +97,4 @@ from item in _repository var items = query.ToArray().AsEnumerable(); return items; } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Stores/InMemory/InMemoryResourcesStore.cs b/src/IdentityServer8/src/Stores/InMemory/InMemoryResourcesStore.cs index 43153118..2a3444a9 100644 --- a/src/IdentityServer8/src/Stores/InMemory/InMemoryResourcesStore.cs +++ b/src/IdentityServer8/src/Stores/InMemory/InMemoryResourcesStore.cs @@ -1,25 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityServer8.Extensions; -using IdentityServer8.Models; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Threading.Tasks; - namespace IdentityServer8.Stores; /// diff --git a/src/IdentityServer8/src/Stores/InMemory/InMemorySigningCredentialsStore.cs b/src/IdentityServer8/src/Stores/InMemory/InMemorySigningCredentialsStore.cs index b403e31f..5259607d 100644 --- a/src/IdentityServer8/src/Stores/InMemory/InMemorySigningCredentialsStore.cs +++ b/src/IdentityServer8/src/Stores/InMemory/InMemorySigningCredentialsStore.cs @@ -1,20 +1,16 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using Microsoft.IdentityModel.Tokens; -using System.Threading.Tasks; namespace IdentityServer8.Stores; @@ -43,4 +39,4 @@ public Task GetSigningCredentialsAsync() { return Task.FromResult(_credential); } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Stores/InMemory/InMemoryValidationKeysStore.cs b/src/IdentityServer8/src/Stores/InMemory/InMemoryValidationKeysStore.cs index a00d28a8..7a03fdbf 100644 --- a/src/IdentityServer8/src/Stores/InMemory/InMemoryValidationKeysStore.cs +++ b/src/IdentityServer8/src/Stores/InMemory/InMemoryValidationKeysStore.cs @@ -1,23 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityServer8.Models; -using System; -using System.Collections.Generic; -using System.Threading.Tasks; - namespace IdentityServer8.Stores; /// @@ -46,4 +38,4 @@ public Task> GetValidationKeysAsync() { return Task.FromResult(_keys); } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Stores/ValidatingClientStore.cs b/src/IdentityServer8/src/Stores/ValidatingClientStore.cs index 3104f5b0..bbbe1b26 100644 --- a/src/IdentityServer8/src/Stores/ValidatingClientStore.cs +++ b/src/IdentityServer8/src/Stores/ValidatingClientStore.cs @@ -1,25 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityServer8.Events; -using IdentityServer8.Models; -using IdentityServer8.Services; -using IdentityServer8.Validation; -using Microsoft.Extensions.Logging; -using System.Threading.Tasks; - namespace IdentityServer8.Stores; /// @@ -83,4 +73,4 @@ public async Task FindClientByIdAsync(string clientId) return null; } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Test/IdentityServerBuilderExtensions.cs b/src/IdentityServer8/src/Test/IdentityServerBuilderExtensions.cs index a123f8b4..86937dd5 100644 --- a/src/IdentityServer8/src/Test/IdentityServerBuilderExtensions.cs +++ b/src/IdentityServer8/src/Test/IdentityServerBuilderExtensions.cs @@ -1,21 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityServer8.Test; -using System.Collections.Generic; - namespace Microsoft.Extensions.DependencyInjection; /// @@ -37,4 +31,4 @@ public static IIdentityServerBuilder AddTestUsers(this IIdentityServerBuilder bu return builder; } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Test/TestUser.cs b/src/IdentityServer8/src/Test/TestUser.cs index 1474d89c..12d585c4 100644 --- a/src/IdentityServer8/src/Test/TestUser.cs +++ b/src/IdentityServer8/src/Test/TestUser.cs @@ -1,22 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityModel; -using System.Collections.Generic; -using System.Security.Claims; - namespace IdentityServer8.Test; /// @@ -58,4 +51,4 @@ public class TestUser /// Gets or sets the claims. /// public ICollection Claims { get; set; } = new HashSet(new ClaimComparer()); -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Test/TestUserProfileService.cs b/src/IdentityServer8/src/Test/TestUserProfileService.cs index cabd5577..74275cb9 100644 --- a/src/IdentityServer8/src/Test/TestUserProfileService.cs +++ b/src/IdentityServer8/src/Test/TestUserProfileService.cs @@ -1,25 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityServer8.Extensions; -using IdentityServer8.Models; -using IdentityServer8.Services; -using Microsoft.Extensions.Logging; -using System.Linq; -using System.Threading.Tasks; - namespace IdentityServer8.Test; /// @@ -87,4 +77,4 @@ public virtual Task IsActiveAsync(IsActiveContext context) return Task.CompletedTask; } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Test/TestUserResourceOwnerPasswordValidator.cs b/src/IdentityServer8/src/Test/TestUserResourceOwnerPasswordValidator.cs index 5e0c8f37..1aa35450 100644 --- a/src/IdentityServer8/src/Test/TestUserResourceOwnerPasswordValidator.cs +++ b/src/IdentityServer8/src/Test/TestUserResourceOwnerPasswordValidator.cs @@ -1,24 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityModel; -using IdentityServer8.Validation; -using System.Threading.Tasks; -using System; -using Microsoft.AspNetCore.Authentication; - namespace IdentityServer8.Test; /// @@ -59,4 +50,4 @@ public Task ValidateAsync(ResourceOwnerPasswordValidationContext context) return Task.CompletedTask; } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Test/TestUserStore.cs b/src/IdentityServer8/src/Test/TestUserStore.cs index 951f1397..e0ba90b0 100644 --- a/src/IdentityServer8/src/Test/TestUserStore.cs +++ b/src/IdentityServer8/src/Test/TestUserStore.cs @@ -1,25 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityModel; -using System.Collections.Generic; -using System.IdentityModel.Tokens.Jwt; -using System.Linq; -using System.Security.Claims; -using System; - namespace IdentityServer8.Test; /// @@ -165,4 +155,4 @@ public TestUser AutoProvisionUser(string provider, string userId, List cl return user; } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Validation/Contexts/ClientConfigurationValidationContext.cs b/src/IdentityServer8/src/Validation/Contexts/ClientConfigurationValidationContext.cs index 512272af..e4fef227 100644 --- a/src/IdentityServer8/src/Validation/Contexts/ClientConfigurationValidationContext.cs +++ b/src/IdentityServer8/src/Validation/Contexts/ClientConfigurationValidationContext.cs @@ -1,20 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityServer8.Models; - namespace IdentityServer8.Validation; /// @@ -64,4 +59,4 @@ public void SetError(string message) IsValid = false; ErrorMessage = message; } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Validation/Contexts/CustomAuthorizeRequestValidationContext.cs b/src/IdentityServer8/src/Validation/Contexts/CustomAuthorizeRequestValidationContext.cs index 2e2b6338..549f6d28 100644 --- a/src/IdentityServer8/src/Validation/Contexts/CustomAuthorizeRequestValidationContext.cs +++ b/src/IdentityServer8/src/Validation/Contexts/CustomAuthorizeRequestValidationContext.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServer8.Validation; diff --git a/src/IdentityServer8/src/Validation/Contexts/CustomTokenRequestValidationContext.cs b/src/IdentityServer8/src/Validation/Contexts/CustomTokenRequestValidationContext.cs index f5beff43..a76af29c 100644 --- a/src/IdentityServer8/src/Validation/Contexts/CustomTokenRequestValidationContext.cs +++ b/src/IdentityServer8/src/Validation/Contexts/CustomTokenRequestValidationContext.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServer8.Validation; @@ -27,4 +24,4 @@ public class CustomTokenRequestValidationContext /// The result. /// public TokenRequestValidationResult Result { get; set; } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Validation/Contexts/ExtensionGrantValidationContext.cs b/src/IdentityServer8/src/Validation/Contexts/ExtensionGrantValidationContext.cs index 8e5c9842..ebeb5190 100644 --- a/src/IdentityServer8/src/Validation/Contexts/ExtensionGrantValidationContext.cs +++ b/src/IdentityServer8/src/Validation/Contexts/ExtensionGrantValidationContext.cs @@ -1,20 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityServer8.Models; - namespace IdentityServer8.Validation; /// @@ -37,4 +32,4 @@ public class ExtensionGrantValidationContext /// The result. /// public GrantValidationResult Result { get; set; } = new GrantValidationResult(TokenRequestErrors.InvalidGrant); -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Validation/Contexts/ResourceOwnerPasswordValidationContext.cs b/src/IdentityServer8/src/Validation/Contexts/ResourceOwnerPasswordValidationContext.cs index 9e0a835c..3e14ed14 100644 --- a/src/IdentityServer8/src/Validation/Contexts/ResourceOwnerPasswordValidationContext.cs +++ b/src/IdentityServer8/src/Validation/Contexts/ResourceOwnerPasswordValidationContext.cs @@ -1,20 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityServer8.Models; - namespace IdentityServer8.Validation; /// @@ -53,4 +48,4 @@ public class ResourceOwnerPasswordValidationContext /// The result. /// public GrantValidationResult Result { get; set; } = new GrantValidationResult(TokenRequestErrors.InvalidGrant); -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Validation/Contexts/ResourceValidationContext.cs b/src/IdentityServer8/src/Validation/Contexts/ResourceValidationContext.cs index e274c3a9..2d1c91c6 100644 --- a/src/IdentityServer8/src/Validation/Contexts/ResourceValidationContext.cs +++ b/src/IdentityServer8/src/Validation/Contexts/ResourceValidationContext.cs @@ -1,20 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityServer8.Models; - namespace IdentityServer8.Validation; /// @@ -29,4 +24,4 @@ public class ResourceValidationContext /// The result. /// public GrantValidationResult Result { get; set; } = new GrantValidationResult(TokenRequestErrors.InvalidGrant); -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Validation/Default/ApiSecretValidator.cs b/src/IdentityServer8/src/Validation/Default/ApiSecretValidator.cs index 8940f78c..0566c8e7 100644 --- a/src/IdentityServer8/src/Validation/Default/ApiSecretValidator.cs +++ b/src/IdentityServer8/src/Validation/Default/ApiSecretValidator.cs @@ -1,26 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityServer8.Events; -using IdentityServer8.Services; -using IdentityServer8.Stores; -using Microsoft.AspNetCore.Http; -using Microsoft.Extensions.Logging; -using System.Linq; -using System.Threading.Tasks; - namespace IdentityServer8.Validation; /// @@ -132,4 +121,4 @@ private Task RaiseFailureEventAsync(string clientId, string message) { return _events.RaiseAsync(new ApiAuthenticationFailureEvent(clientId, message)); } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Validation/Default/AuthorizeRequestValidator.cs b/src/IdentityServer8/src/Validation/Default/AuthorizeRequestValidator.cs index d2bda99c..9a32e3a6 100644 --- a/src/IdentityServer8/src/Validation/Default/AuthorizeRequestValidator.cs +++ b/src/IdentityServer8/src/Validation/Default/AuthorizeRequestValidator.cs @@ -1,32 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityModel; -using IdentityServer8.Configuration; -using IdentityServer8.Extensions; -using IdentityServer8.Models; -using IdentityServer8.Services; -using IdentityServer8.Stores; -using Microsoft.Extensions.Logging; -using System; -using System.Collections.Specialized; -using System.Linq; -using System.Security.Claims; -using System.Threading.Tasks; -using IdentityServer8.Logging.Models; - namespace IdentityServer8.Validation; internal class AuthorizeRequestValidator : IAuthorizeRequestValidator diff --git a/src/IdentityServer8/src/Validation/Default/BasicAuthenticationSecretParser.cs b/src/IdentityServer8/src/Validation/Default/BasicAuthenticationSecretParser.cs index ca6265c8..ee29ee24 100644 --- a/src/IdentityServer8/src/Validation/Default/BasicAuthenticationSecretParser.cs +++ b/src/IdentityServer8/src/Validation/Default/BasicAuthenticationSecretParser.cs @@ -1,29 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityServer8.Configuration; -using IdentityServer8.Extensions; -using IdentityServer8.Models; -using Microsoft.Extensions.Logging; -using System; -using System.Text; -using System.Threading.Tasks; -using System.Linq; -using IdentityModel; -using Microsoft.AspNetCore.Http; - namespace IdentityServer8.Validation; /// @@ -157,4 +143,4 @@ private string Decode(string value) return Uri.UnescapeDataString(value.Replace("+", "%20")); } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Validation/Default/BearerTokenUsageValidator.cs b/src/IdentityServer8/src/Validation/Default/BearerTokenUsageValidator.cs index 65490d6e..8cf886d1 100644 --- a/src/IdentityServer8/src/Validation/Default/BearerTokenUsageValidator.cs +++ b/src/IdentityServer8/src/Validation/Default/BearerTokenUsageValidator.cs @@ -1,25 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityModel; -using IdentityServer8.Extensions; -using Microsoft.AspNetCore.Http; -using Microsoft.Extensions.Logging; -using System.Linq; -using System.Threading.Tasks; -using Microsoft.DependencyInjection.Extensions; namespace IdentityServer8.Validation; /// @@ -119,4 +109,4 @@ public async Task ValidatePostBodyAsync(HttpCo return new BearerTokenUsageValidationResult(); } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Validation/Default/ClientSecretValidator.cs b/src/IdentityServer8/src/Validation/Default/ClientSecretValidator.cs index 89c13fb0..e83fe6cf 100644 --- a/src/IdentityServer8/src/Validation/Default/ClientSecretValidator.cs +++ b/src/IdentityServer8/src/Validation/Default/ClientSecretValidator.cs @@ -1,27 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityServer8.Services; -using System.Threading.Tasks; -using IdentityServer8.Events; -using Microsoft.Extensions.Logging; -using Microsoft.AspNetCore.Http; -using IdentityServer8.Stores; -using IdentityServer8.Models; -using Microsoft.DependencyInjection.Extensions; - namespace IdentityServer8.Validation; /// @@ -125,4 +113,4 @@ private Task RaiseFailureEventAsync(string clientId, string message) { return _events.RaiseAsync(new ClientAuthenticationFailureEvent(clientId, message)); } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Validation/Default/DefaultClientConfigurationValidator.cs b/src/IdentityServer8/src/Validation/Default/DefaultClientConfigurationValidator.cs index 2a402438..83c2d953 100644 --- a/src/IdentityServer8/src/Validation/Default/DefaultClientConfigurationValidator.cs +++ b/src/IdentityServer8/src/Validation/Default/DefaultClientConfigurationValidator.cs @@ -1,24 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityServer8.Configuration; -using IdentityServer8.Models; -using System; -using System.Linq; -using System.Threading.Tasks; - namespace IdentityServer8.Validation; /// @@ -256,4 +247,4 @@ protected virtual Task ValidatePropertiesAsync(ClientConfigurationValidationCont { return Task.CompletedTask; } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Validation/Default/DefaultCustomAuthorizeRequestValidator.cs b/src/IdentityServer8/src/Validation/Default/DefaultCustomAuthorizeRequestValidator.cs index 82ae21e0..5bad33f4 100644 --- a/src/IdentityServer8/src/Validation/Default/DefaultCustomAuthorizeRequestValidator.cs +++ b/src/IdentityServer8/src/Validation/Default/DefaultCustomAuthorizeRequestValidator.cs @@ -1,20 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System.Threading.Tasks; - namespace IdentityServer8.Validation; /// @@ -30,4 +25,4 @@ public Task ValidateAsync(CustomAuthorizeRequestValidationContext context) { return Task.CompletedTask; } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Validation/Default/DefaultCustomTokenRequestValidator.cs b/src/IdentityServer8/src/Validation/Default/DefaultCustomTokenRequestValidator.cs index b93935cf..0c719ddd 100644 --- a/src/IdentityServer8/src/Validation/Default/DefaultCustomTokenRequestValidator.cs +++ b/src/IdentityServer8/src/Validation/Default/DefaultCustomTokenRequestValidator.cs @@ -1,20 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System.Threading.Tasks; - namespace IdentityServer8.Validation; /// @@ -33,4 +28,4 @@ public Task ValidateAsync(CustomTokenRequestValidationContext context) { return Task.CompletedTask; } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Validation/Default/DefaultCustomTokenValidator.cs b/src/IdentityServer8/src/Validation/Default/DefaultCustomTokenValidator.cs index 5593d62c..b4d5dfd0 100644 --- a/src/IdentityServer8/src/Validation/Default/DefaultCustomTokenValidator.cs +++ b/src/IdentityServer8/src/Validation/Default/DefaultCustomTokenValidator.cs @@ -1,23 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityServer8.Services; -using IdentityServer8.Stores; -using Microsoft.Extensions.Logging; -using System.Threading.Tasks; - namespace IdentityServer8.Validation; /// @@ -63,4 +55,4 @@ public virtual Task ValidateIdentityTokenAsync(TokenValid { return Task.FromResult(result); } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Validation/Default/DefaultResourceValidator.cs b/src/IdentityServer8/src/Validation/Default/DefaultResourceValidator.cs index 3f16005c..db487ba9 100644 --- a/src/IdentityServer8/src/Validation/Default/DefaultResourceValidator.cs +++ b/src/IdentityServer8/src/Validation/Default/DefaultResourceValidator.cs @@ -1,26 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityServer8.Models; -using IdentityServer8.Stores; -using Microsoft.Extensions.Logging; -using System; -using System.Linq; -using System.Threading.Tasks; -using Microsoft.DependencyInjection.Extensions; - namespace IdentityServer8.Validation; /// @@ -201,4 +190,4 @@ protected virtual Task IsClientAllowedOfflineAccessAsync(Client client) } return Task.FromResult(allowed); } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Validation/Default/DefaultScopeParser.cs b/src/IdentityServer8/src/Validation/Default/DefaultScopeParser.cs index ec0cc599..c84b8809 100644 --- a/src/IdentityServer8/src/Validation/Default/DefaultScopeParser.cs +++ b/src/IdentityServer8/src/Validation/Default/DefaultScopeParser.cs @@ -1,23 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using Microsoft.Extensions.Logging; -using System; -using System.Collections.Generic; -using Microsoft.DependencyInjection.Extensions; - namespace IdentityServer8.Validation; /// @@ -168,4 +160,4 @@ public void SetIgnore() Ignore = true; } } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Validation/Default/DeviceAuthorizationRequestValidator.cs b/src/IdentityServer8/src/Validation/Default/DeviceAuthorizationRequestValidator.cs index 0c8f3f17..e1650c5f 100644 --- a/src/IdentityServer8/src/Validation/Default/DeviceAuthorizationRequestValidator.cs +++ b/src/IdentityServer8/src/Validation/Default/DeviceAuthorizationRequestValidator.cs @@ -1,30 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System; -using System.Collections.Generic; -using System.Collections.Specialized; -using System.Linq; -using System.Threading.Tasks; -using IdentityModel; -using IdentityServer8.Configuration; -using IdentityServer8.Extensions; -using IdentityServer8.Logging; -using IdentityServer8.Models; -using Microsoft.Extensions.Logging; - namespace IdentityServer8.Validation; internal class DeviceAuthorizationRequestValidator : IDeviceAuthorizationRequestValidator @@ -188,4 +173,4 @@ private async Task ValidateScopeAsyn return Valid(request); } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Validation/Default/DeviceCodeValidator.cs b/src/IdentityServer8/src/Validation/Default/DeviceCodeValidator.cs index 096ab718..f61b761b 100644 --- a/src/IdentityServer8/src/Validation/Default/DeviceCodeValidator.cs +++ b/src/IdentityServer8/src/Validation/Default/DeviceCodeValidator.cs @@ -1,27 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System.Linq; -using System.Threading.Tasks; -using IdentityModel; -using IdentityServer8.Extensions; -using IdentityServer8.Models; -using IdentityServer8.Services; -using Microsoft.AspNetCore.Authentication; -using Microsoft.Extensions.Logging; - namespace IdentityServer8.Validation; /// @@ -129,4 +117,4 @@ public async Task ValidateAsync(DeviceCodeValidationContext context) context.Result = new TokenRequestValidationResult(context.Request); await _devices.RemoveByDeviceCodeAsync(context.DeviceCode); } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Validation/Default/EndSessionRequestValidator.cs b/src/IdentityServer8/src/Validation/Default/EndSessionRequestValidator.cs index ed237ee6..f321a831 100644 --- a/src/IdentityServer8/src/Validation/Default/EndSessionRequestValidator.cs +++ b/src/IdentityServer8/src/Validation/Default/EndSessionRequestValidator.cs @@ -1,33 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityModel; -using IdentityServer8.Extensions; -using Microsoft.Extensions.Logging; -using System.Collections.Specialized; -using System.Linq; -using System.Security.Claims; -using System.Threading.Tasks; -using IdentityServer8.Configuration; -using IdentityServer8.Services; -using IdentityServer8.Stores; -using Microsoft.AspNetCore.Http; -using System; -using IdentityServer8.Logging.Models; -using IdentityServer8.Models; - namespace IdentityServer8.Validation; /// @@ -247,4 +229,4 @@ public async Task ValidateCallbackAsync(Name return result; } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Validation/Default/ExtensionGrantValidator.cs b/src/IdentityServer8/src/Validation/Default/ExtensionGrantValidator.cs index 31368421..6a600662 100644 --- a/src/IdentityServer8/src/Validation/Default/ExtensionGrantValidator.cs +++ b/src/IdentityServer8/src/Validation/Default/ExtensionGrantValidator.cs @@ -1,25 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityServer8.Models; -using Microsoft.Extensions.Logging; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Threading.Tasks; - namespace IdentityServer8.Validation; /// @@ -91,4 +81,4 @@ public async Task ValidateAsync(ValidatedTokenRequest req return new GrantValidationResult(TokenRequestErrors.InvalidGrant); } } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Validation/Default/HashedSharedSecretValidator.cs b/src/IdentityServer8/src/Validation/Default/HashedSharedSecretValidator.cs index e9e2dd31..b1c48427 100644 --- a/src/IdentityServer8/src/Validation/Default/HashedSharedSecretValidator.cs +++ b/src/IdentityServer8/src/Validation/Default/HashedSharedSecretValidator.cs @@ -1,26 +1,17 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityModel; -using IdentityServer8.Extensions; -using IdentityServer8.Models; -using Microsoft.Extensions.Logging; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Threading.Tasks; +using Secret = IdentityServer8.Models.Secret; + namespace IdentityServer8.Validation; @@ -122,4 +113,4 @@ public Task ValidateAsync(IEnumerable secrets, P _logger.LogDebug("No matching hashed secret found."); return fail; } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Validation/Default/IntrospectionRequestValidator.cs b/src/IdentityServer8/src/Validation/Default/IntrospectionRequestValidator.cs index 86d1b739..e050da50 100644 --- a/src/IdentityServer8/src/Validation/Default/IntrospectionRequestValidator.cs +++ b/src/IdentityServer8/src/Validation/Default/IntrospectionRequestValidator.cs @@ -1,23 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityServer8.Models; -using Microsoft.Extensions.Logging; -using System.Collections.Specialized; -using System.Threading.Tasks; - namespace IdentityServer8.Validation; /// @@ -96,4 +88,4 @@ public async Task ValidateAsync(NameValueC Parameters = parameters }; } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Validation/Default/JwtBearerClientAssertionSecretParser.cs b/src/IdentityServer8/src/Validation/Default/JwtBearerClientAssertionSecretParser.cs index 0f83e775..2fff5f4c 100644 --- a/src/IdentityServer8/src/Validation/Default/JwtBearerClientAssertionSecretParser.cs +++ b/src/IdentityServer8/src/Validation/Default/JwtBearerClientAssertionSecretParser.cs @@ -1,29 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System; -using System.Threading.Tasks; -using System.Linq; -using System.IdentityModel.Tokens.Jwt; -using IdentityModel; -using IdentityServer8.Configuration; -using IdentityServer8.Extensions; -using IdentityServer8.Models; -using Microsoft.AspNetCore.Http; -using Microsoft.Extensions.Logging; - namespace IdentityServer8.Validation; /// @@ -127,4 +113,4 @@ private string GetClientIdFromToken(string token) return null; } } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Validation/Default/JwtRequestValidator.cs b/src/IdentityServer8/src/Validation/Default/JwtRequestValidator.cs index bc75f9c5..fdcd2b9a 100644 --- a/src/IdentityServer8/src/Validation/Default/JwtRequestValidator.cs +++ b/src/IdentityServer8/src/Validation/Default/JwtRequestValidator.cs @@ -1,32 +1,16 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System; -using System.Collections.Generic; -using System.IdentityModel.Tokens.Jwt; -using System.Linq; -using System.Threading.Tasks; -using IdentityModel; -using IdentityServer8.Configuration; -using IdentityServer8.Extensions; -using IdentityServer8.Models; -using Microsoft.AspNetCore.Http; -using Microsoft.Extensions.Logging; using Microsoft.IdentityModel.Tokens; -using Newtonsoft.Json; -using Newtonsoft.Json.Linq; namespace IdentityServer8.Validation; @@ -228,4 +212,4 @@ protected virtual Task> ProcessPayloadAsync(JwtSecuri return Task.FromResult(payload); } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Validation/Default/MutualTlsSecretParser.cs b/src/IdentityServer8/src/Validation/Default/MutualTlsSecretParser.cs index 2e3a3179..2626b73e 100644 --- a/src/IdentityServer8/src/Validation/Default/MutualTlsSecretParser.cs +++ b/src/IdentityServer8/src/Validation/Default/MutualTlsSecretParser.cs @@ -1,27 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System; -using System.Linq; -using System.Threading.Tasks; -using IdentityServer8.Configuration; -using IdentityServer8.Extensions; -using IdentityServer8.Models; -using Microsoft.AspNetCore.Http; -using Microsoft.Extensions.Logging; - namespace IdentityServer8.Validation; /// @@ -98,4 +86,4 @@ public async Task ParseAsync(HttpContext context) _logger.LogDebug("No post body found"); return null; } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Validation/Default/NopClientConfigurationValidator.cs b/src/IdentityServer8/src/Validation/Default/NopClientConfigurationValidator.cs index b67dac23..e9960ce7 100644 --- a/src/IdentityServer8/src/Validation/Default/NopClientConfigurationValidator.cs +++ b/src/IdentityServer8/src/Validation/Default/NopClientConfigurationValidator.cs @@ -1,20 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System.Threading.Tasks; - namespace IdentityServer8.Validation; /// @@ -33,4 +28,4 @@ public Task ValidateAsync(ClientConfigurationValidationContext context) context.IsValid = true; return Task.CompletedTask; } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Validation/Default/NotSupportedResouceOwnerCredentialValidator.cs b/src/IdentityServer8/src/Validation/Default/NotSupportedResouceOwnerCredentialValidator.cs index 74b1ec1c..ba194281 100644 --- a/src/IdentityServer8/src/Validation/Default/NotSupportedResouceOwnerCredentialValidator.cs +++ b/src/IdentityServer8/src/Validation/Default/NotSupportedResouceOwnerCredentialValidator.cs @@ -1,22 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using Microsoft.Extensions.Logging; -using System.Threading.Tasks; -using IdentityServer8.Models; - namespace IdentityServer8.Validation; /// @@ -48,4 +41,4 @@ public Task ValidateAsync(ResourceOwnerPasswordValidationContext context) _logger.LogInformation("Resource owner password credential type not supported. Configure an IResourceOwnerPasswordValidator."); return Task.CompletedTask; } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Validation/Default/PlainTextSharedSecretValidator.cs b/src/IdentityServer8/src/Validation/Default/PlainTextSharedSecretValidator.cs index b3444d07..ab562469 100644 --- a/src/IdentityServer8/src/Validation/Default/PlainTextSharedSecretValidator.cs +++ b/src/IdentityServer8/src/Validation/Default/PlainTextSharedSecretValidator.cs @@ -1,27 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityModel; -using IdentityServer8.Extensions; -using IdentityServer8.Models; -using Microsoft.Extensions.Logging; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Threading.Tasks; - namespace IdentityServer8.Validation; /// @@ -88,4 +76,4 @@ public Task ValidateAsync(IEnumerable secrets, P _logger.LogDebug("No matching plain text secret found."); return fail; } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Validation/Default/PostBodySecretParser.cs b/src/IdentityServer8/src/Validation/Default/PostBodySecretParser.cs index b11b81d5..20acf7a2 100644 --- a/src/IdentityServer8/src/Validation/Default/PostBodySecretParser.cs +++ b/src/IdentityServer8/src/Validation/Default/PostBodySecretParser.cs @@ -1,27 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityServer8.Configuration; -using IdentityServer8.Extensions; -using IdentityServer8.Models; -using Microsoft.Extensions.Logging; -using System.Threading.Tasks; -using System.Linq; -using IdentityModel; -using Microsoft.AspNetCore.Http; - namespace IdentityServer8.Validation; /// @@ -116,4 +104,4 @@ public async Task ParseAsync(HttpContext context) _logger.LogDebug("No secret in post body found"); return null; } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Validation/Default/PrivateKeyJwtSecretValidator.cs b/src/IdentityServer8/src/Validation/Default/PrivateKeyJwtSecretValidator.cs index a58a7e08..3f2a8d53 100644 --- a/src/IdentityServer8/src/Validation/Default/PrivateKeyJwtSecretValidator.cs +++ b/src/IdentityServer8/src/Validation/Default/PrivateKeyJwtSecretValidator.cs @@ -1,28 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System; -using System.Collections.Generic; -using System.IdentityModel.Tokens.Jwt; -using System.Linq; -using System.Threading.Tasks; -using IdentityServer8.Extensions; -using IdentityServer8.Models; -using IdentityServer8.Services; -using Microsoft.AspNetCore.Http; -using Microsoft.Extensions.Logging; using Microsoft.IdentityModel.Tokens; namespace IdentityServer8.Validation; @@ -160,4 +147,4 @@ public async Task ValidateAsync(IEnumerable secr return fail; } } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Validation/Default/ResponseTypeEqualityComparer.cs b/src/IdentityServer8/src/Validation/Default/ResponseTypeEqualityComparer.cs index 12fe5732..f4543f06 100644 --- a/src/IdentityServer8/src/Validation/Default/ResponseTypeEqualityComparer.cs +++ b/src/IdentityServer8/src/Validation/Default/ResponseTypeEqualityComparer.cs @@ -1,21 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System; -using System.Collections.Generic; - namespace IdentityServer8.Validation; /// diff --git a/src/IdentityServer8/src/Validation/Default/SecretParser.cs b/src/IdentityServer8/src/Validation/Default/SecretParser.cs index aaf4cdbf..ad510dbb 100644 --- a/src/IdentityServer8/src/Validation/Default/SecretParser.cs +++ b/src/IdentityServer8/src/Validation/Default/SecretParser.cs @@ -1,27 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityServer8.Models; -using Microsoft.AspNetCore.Http; -using Microsoft.Extensions.Logging; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Threading.Tasks; -using Microsoft.DependencyInjection.Extensions; - namespace IdentityServer8.Validation; /// @@ -86,4 +74,4 @@ public IEnumerable GetAvailableAuthenticationMethods() { return _parsers.Select(p => p.AuthenticationMethod).Where(p => !String.IsNullOrWhiteSpace(p)); } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Validation/Default/SecretValidator.cs b/src/IdentityServer8/src/Validation/Default/SecretValidator.cs index 802e2c85..7dfac524 100644 --- a/src/IdentityServer8/src/Validation/Default/SecretValidator.cs +++ b/src/IdentityServer8/src/Validation/Default/SecretValidator.cs @@ -1,26 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityServer8.Extensions; -using IdentityServer8.Models; -using Microsoft.Extensions.Logging; -using System.Collections.Generic; -using System.Linq; -using System.Threading.Tasks; -using Microsoft.AspNetCore.Authentication; - namespace IdentityServer8.Validation; /// diff --git a/src/IdentityServer8/src/Validation/Default/StrictRedirectUriValidator.cs b/src/IdentityServer8/src/Validation/Default/StrictRedirectUriValidator.cs index c8964382..526b6462 100644 --- a/src/IdentityServer8/src/Validation/Default/StrictRedirectUriValidator.cs +++ b/src/IdentityServer8/src/Validation/Default/StrictRedirectUriValidator.cs @@ -1,25 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityServer8.Extensions; -using IdentityServer8.Models; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Threading.Tasks; - namespace IdentityServer8.Validation; /// diff --git a/src/IdentityServer8/src/Validation/Default/StrictRedirectUriValidatorAppAuth.cs b/src/IdentityServer8/src/Validation/Default/StrictRedirectUriValidatorAppAuth.cs index 11cc88ad..c85e7033 100644 --- a/src/IdentityServer8/src/Validation/Default/StrictRedirectUriValidatorAppAuth.cs +++ b/src/IdentityServer8/src/Validation/Default/StrictRedirectUriValidatorAppAuth.cs @@ -1,23 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityServer8.Models; -using Microsoft.Extensions.Logging; -using System; -using System.Threading.Tasks; - namespace IdentityServer8.Validation; /// @@ -131,4 +123,4 @@ internal bool IsLoopback(string requestedUri) _logger.LogDebug("invalid port"); return false; } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Validation/Default/TokenRequestValidator.cs b/src/IdentityServer8/src/Validation/Default/TokenRequestValidator.cs index 941a99ef..f4bc9c9f 100644 --- a/src/IdentityServer8/src/Validation/Default/TokenRequestValidator.cs +++ b/src/IdentityServer8/src/Validation/Default/TokenRequestValidator.cs @@ -1,35 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityModel; -using IdentityServer8.Configuration; -using IdentityServer8.Events; -using IdentityServer8.Extensions; -using IdentityServer8.Models; -using IdentityServer8.Services; -using IdentityServer8.Stores; -using Microsoft.Extensions.Logging; -using System; -using System.Collections.Generic; -using System.Collections.Specialized; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using IdentityServer8.Logging.Models; -using Microsoft.AspNetCore.Authentication; - namespace IdentityServer8.Validation; internal class TokenRequestValidator : ITokenRequestValidator diff --git a/src/IdentityServer8/src/Validation/Default/TokenRevocationRequestValidator.cs b/src/IdentityServer8/src/Validation/Default/TokenRevocationRequestValidator.cs index 6e0a4d41..47fd634e 100644 --- a/src/IdentityServer8/src/Validation/Default/TokenRevocationRequestValidator.cs +++ b/src/IdentityServer8/src/Validation/Default/TokenRevocationRequestValidator.cs @@ -1,26 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityModel; -using IdentityServer8.Extensions; -using IdentityServer8.Models; -using Microsoft.Extensions.Logging; -using System; -using System.Collections.Specialized; -using System.Threading.Tasks; - namespace IdentityServer8.Validation; /// @@ -111,4 +100,4 @@ public Task ValidateRequestAsync(NameVal return Task.FromResult(result); } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Validation/Default/TokenValidator.cs b/src/IdentityServer8/src/Validation/Default/TokenValidator.cs index 0f0f558c..665ff315 100644 --- a/src/IdentityServer8/src/Validation/Default/TokenValidator.cs +++ b/src/IdentityServer8/src/Validation/Default/TokenValidator.cs @@ -1,35 +1,16 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityModel; -using IdentityServer8.Extensions; -using IdentityServer8.Models; -using IdentityServer8.Services; -using Microsoft.Extensions.Logging; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Security.Claims; -using System.Threading.Tasks; -using System.IdentityModel.Tokens.Jwt; using Microsoft.IdentityModel.Tokens; -using IdentityServer8.Stores; -using IdentityServer8.Configuration; -using IdentityServer8.Logging.Models; -using Microsoft.AspNetCore.Http; -using Microsoft.AspNetCore.Authentication; namespace IdentityServer8.Validation; diff --git a/src/IdentityServer8/src/Validation/Default/UserInfoRequestValidator.cs b/src/IdentityServer8/src/Validation/Default/UserInfoRequestValidator.cs index 657e7d95..c10d2aa4 100644 --- a/src/IdentityServer8/src/Validation/Default/UserInfoRequestValidator.cs +++ b/src/IdentityServer8/src/Validation/Default/UserInfoRequestValidator.cs @@ -1,26 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityModel; -using IdentityServer8.Extensions; -using IdentityServer8.Models; -using IdentityServer8.Services; -using Microsoft.Extensions.Logging; -using System.Linq; -using System.Threading.Tasks; - namespace IdentityServer8.Validation; /// @@ -110,4 +99,4 @@ public async Task ValidateRequestAsync(string a Subject = subject }; } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Validation/Default/X509NameSecretValidator.cs b/src/IdentityServer8/src/Validation/Default/X509NameSecretValidator.cs index f344d08d..4b47d209 100644 --- a/src/IdentityServer8/src/Validation/Default/X509NameSecretValidator.cs +++ b/src/IdentityServer8/src/Validation/Default/X509NameSecretValidator.cs @@ -1,28 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Security.Cryptography.X509Certificates; -using System.Threading.Tasks; -using IdentityServer8.Extensions; -using IdentityServer8.Models; -using Microsoft.Extensions.Logging; -using static IdentityServer8.IdentityServerConstants; - namespace IdentityServer8.Validation; /// diff --git a/src/IdentityServer8/src/Validation/Default/X509ThumbprintSecretValidator.cs b/src/IdentityServer8/src/Validation/Default/X509ThumbprintSecretValidator.cs index e87f0fc2..621ca6c8 100644 --- a/src/IdentityServer8/src/Validation/Default/X509ThumbprintSecretValidator.cs +++ b/src/IdentityServer8/src/Validation/Default/X509ThumbprintSecretValidator.cs @@ -1,28 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Security.Cryptography.X509Certificates; -using System.Threading.Tasks; -using IdentityServer8.Extensions; -using IdentityServer8.Models; -using Microsoft.Extensions.Logging; -using static IdentityServer8.IdentityServerConstants; - namespace IdentityServer8.Validation; /// @@ -88,4 +75,4 @@ public Task ValidateAsync(IEnumerable secrets, P _logger.LogDebug("No matching x509 thumbprint secret found."); return fail; } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Validation/IApiSecretValidator.cs b/src/IdentityServer8/src/Validation/IApiSecretValidator.cs index 6c18e7a4..3cfc7380 100644 --- a/src/IdentityServer8/src/Validation/IApiSecretValidator.cs +++ b/src/IdentityServer8/src/Validation/IApiSecretValidator.cs @@ -1,21 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System.Threading.Tasks; -using Microsoft.AspNetCore.Http; - namespace IdentityServer8.Validation; /// @@ -29,4 +23,4 @@ public interface IApiSecretValidator /// The context. /// Task ValidateAsync(HttpContext context); -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Validation/IAuthorizeRequestValidator.cs b/src/IdentityServer8/src/Validation/IAuthorizeRequestValidator.cs index cdfe04da..390c59ae 100644 --- a/src/IdentityServer8/src/Validation/IAuthorizeRequestValidator.cs +++ b/src/IdentityServer8/src/Validation/IAuthorizeRequestValidator.cs @@ -1,22 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System.Collections.Specialized; -using System.Security.Claims; -using System.Threading.Tasks; - namespace IdentityServer8.Validation; /// @@ -31,4 +24,4 @@ public interface IAuthorizeRequestValidator /// /// Task ValidateAsync(NameValueCollection parameters, ClaimsPrincipal subject = null); -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Validation/IClientConfigurationValidator.cs b/src/IdentityServer8/src/Validation/IClientConfigurationValidator.cs index 98c09900..26480b2c 100644 --- a/src/IdentityServer8/src/Validation/IClientConfigurationValidator.cs +++ b/src/IdentityServer8/src/Validation/IClientConfigurationValidator.cs @@ -1,20 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System.Threading.Tasks; - namespace IdentityServer8.Validation; /// @@ -28,4 +23,4 @@ public interface IClientConfigurationValidator /// The context. /// Task ValidateAsync(ClientConfigurationValidationContext context); -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Validation/IClientSecretValidator.cs b/src/IdentityServer8/src/Validation/IClientSecretValidator.cs index 62c94e2d..29c82624 100644 --- a/src/IdentityServer8/src/Validation/IClientSecretValidator.cs +++ b/src/IdentityServer8/src/Validation/IClientSecretValidator.cs @@ -1,21 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System.Threading.Tasks; -using Microsoft.AspNetCore.Http; - namespace IdentityServer8.Validation; /// @@ -29,4 +23,4 @@ public interface IClientSecretValidator /// The context. /// Task ValidateAsync(HttpContext context); -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Validation/ICustomAuthorizeRequestValidator.cs b/src/IdentityServer8/src/Validation/ICustomAuthorizeRequestValidator.cs index 6244f6cc..a562e71c 100644 --- a/src/IdentityServer8/src/Validation/ICustomAuthorizeRequestValidator.cs +++ b/src/IdentityServer8/src/Validation/ICustomAuthorizeRequestValidator.cs @@ -1,20 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System.Threading.Tasks; - namespace IdentityServer8.Validation; /// @@ -27,4 +22,4 @@ public interface ICustomAuthorizeRequestValidator /// /// The context. Task ValidateAsync(CustomAuthorizeRequestValidationContext context); -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Validation/ICustomTokenRequestValidator.cs b/src/IdentityServer8/src/Validation/ICustomTokenRequestValidator.cs index 92754357..e63bc9af 100644 --- a/src/IdentityServer8/src/Validation/ICustomTokenRequestValidator.cs +++ b/src/IdentityServer8/src/Validation/ICustomTokenRequestValidator.cs @@ -1,20 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System.Threading.Tasks; - namespace IdentityServer8.Validation; /// @@ -30,4 +25,4 @@ public interface ICustomTokenRequestValidator /// The validation result /// Task ValidateAsync(CustomTokenRequestValidationContext context); -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Validation/ICustomTokenValidator.cs b/src/IdentityServer8/src/Validation/ICustomTokenValidator.cs index 210fd299..6c2a98df 100644 --- a/src/IdentityServer8/src/Validation/ICustomTokenValidator.cs +++ b/src/IdentityServer8/src/Validation/ICustomTokenValidator.cs @@ -1,20 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System.Threading.Tasks; - namespace IdentityServer8.Validation; /// @@ -35,4 +30,4 @@ public interface ICustomTokenValidator /// The validation result so far. /// The validation result Task ValidateIdentityTokenAsync(TokenValidationResult result); -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Validation/IDeviceAuthorizationRequestValidator.cs b/src/IdentityServer8/src/Validation/IDeviceAuthorizationRequestValidator.cs index 9948b714..0f5dbde4 100644 --- a/src/IdentityServer8/src/Validation/IDeviceAuthorizationRequestValidator.cs +++ b/src/IdentityServer8/src/Validation/IDeviceAuthorizationRequestValidator.cs @@ -1,21 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System.Collections.Specialized; -using System.Threading.Tasks; - namespace IdentityServer8.Validation; /// @@ -30,4 +24,4 @@ public interface IDeviceAuthorizationRequestValidator /// /// Task ValidateAsync(NameValueCollection parameters, ClientSecretValidationResult clientValidationResult); -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Validation/IDeviceCodeValidator.cs b/src/IdentityServer8/src/Validation/IDeviceCodeValidator.cs index ed55f6d5..646c86b3 100644 --- a/src/IdentityServer8/src/Validation/IDeviceCodeValidator.cs +++ b/src/IdentityServer8/src/Validation/IDeviceCodeValidator.cs @@ -1,20 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System.Threading.Tasks; - namespace IdentityServer8.Validation; /// @@ -28,4 +23,4 @@ public interface IDeviceCodeValidator /// The context. /// Task ValidateAsync(DeviceCodeValidationContext context); -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Validation/IEndSessionRequestValidator.cs b/src/IdentityServer8/src/Validation/IEndSessionRequestValidator.cs index 501dc75b..36c3665e 100644 --- a/src/IdentityServer8/src/Validation/IEndSessionRequestValidator.cs +++ b/src/IdentityServer8/src/Validation/IEndSessionRequestValidator.cs @@ -1,22 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System.Collections.Specialized; -using System.Security.Claims; -using System.Threading.Tasks; - namespace IdentityServer8.Validation; /// diff --git a/src/IdentityServer8/src/Validation/IExtensionGrantValidator.cs b/src/IdentityServer8/src/Validation/IExtensionGrantValidator.cs index d484ab51..e9d2c1a4 100644 --- a/src/IdentityServer8/src/Validation/IExtensionGrantValidator.cs +++ b/src/IdentityServer8/src/Validation/IExtensionGrantValidator.cs @@ -1,20 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System.Threading.Tasks; - namespace IdentityServer8.Validation; /// @@ -38,4 +33,4 @@ public interface IExtensionGrantValidator /// The type of the grant. /// string GrantType { get; } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Validation/IIntrospectionRequestValidator.cs b/src/IdentityServer8/src/Validation/IIntrospectionRequestValidator.cs index 2ac1cfde..ca1e32ec 100644 --- a/src/IdentityServer8/src/Validation/IIntrospectionRequestValidator.cs +++ b/src/IdentityServer8/src/Validation/IIntrospectionRequestValidator.cs @@ -1,22 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityServer8.Models; -using System.Collections.Specialized; -using System.Threading.Tasks; - namespace IdentityServer8.Validation; /// @@ -31,4 +24,4 @@ public interface IIntrospectionRequestValidator /// The API. /// Task ValidateAsync(NameValueCollection parameters, ApiResource api); -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Validation/IRedirectUriValidator.cs b/src/IdentityServer8/src/Validation/IRedirectUriValidator.cs index 5c2c74ee..f19b30c2 100644 --- a/src/IdentityServer8/src/Validation/IRedirectUriValidator.cs +++ b/src/IdentityServer8/src/Validation/IRedirectUriValidator.cs @@ -1,21 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityServer8.Models; -using System.Threading.Tasks; - namespace IdentityServer8.Validation; /// @@ -38,4 +32,4 @@ public interface IRedirectUriValidator /// The client. /// true is the URI is valid; false otherwise. Task IsPostLogoutRedirectUriValidAsync(string requestedUri, Client client); -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Validation/IResourceOwnerPasswordValidator.cs b/src/IdentityServer8/src/Validation/IResourceOwnerPasswordValidator.cs index 42d21659..1cf23b3c 100644 --- a/src/IdentityServer8/src/Validation/IResourceOwnerPasswordValidator.cs +++ b/src/IdentityServer8/src/Validation/IResourceOwnerPasswordValidator.cs @@ -1,20 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System.Threading.Tasks; - namespace IdentityServer8.Validation; /// @@ -27,4 +22,4 @@ public interface IResourceOwnerPasswordValidator /// /// The context. Task ValidateAsync(ResourceOwnerPasswordValidationContext context); -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Validation/IResourceValidator.cs b/src/IdentityServer8/src/Validation/IResourceValidator.cs index 3beb3e86..f6e640b1 100644 --- a/src/IdentityServer8/src/Validation/IResourceValidator.cs +++ b/src/IdentityServer8/src/Validation/IResourceValidator.cs @@ -1,20 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System.Threading.Tasks; - namespace IdentityServer8.Validation; /// diff --git a/src/IdentityServer8/src/Validation/IScopeParser.cs b/src/IdentityServer8/src/Validation/IScopeParser.cs index 83a69845..6aeda988 100644 --- a/src/IdentityServer8/src/Validation/IScopeParser.cs +++ b/src/IdentityServer8/src/Validation/IScopeParser.cs @@ -1,20 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System.Collections.Generic; - namespace IdentityServer8.Validation; /// diff --git a/src/IdentityServer8/src/Validation/ISecretParser.cs b/src/IdentityServer8/src/Validation/ISecretParser.cs index 08071bc9..9c3f84eb 100644 --- a/src/IdentityServer8/src/Validation/ISecretParser.cs +++ b/src/IdentityServer8/src/Validation/ISecretParser.cs @@ -1,22 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityServer8.Models; -using Microsoft.AspNetCore.Http; -using System.Threading.Tasks; - namespace IdentityServer8.Validation; /// @@ -40,4 +33,4 @@ public interface ISecretParser /// The authentication method. /// string AuthenticationMethod { get; } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Validation/ISecretValidator.cs b/src/IdentityServer8/src/Validation/ISecretValidator.cs index f1b5bc48..ed4ee4ad 100644 --- a/src/IdentityServer8/src/Validation/ISecretValidator.cs +++ b/src/IdentityServer8/src/Validation/ISecretValidator.cs @@ -1,22 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityServer8.Models; -using System.Collections.Generic; -using System.Threading.Tasks; - namespace IdentityServer8.Validation; /// @@ -31,4 +24,4 @@ public interface ISecretValidator /// The received secret. /// A validation result Task ValidateAsync(IEnumerable secrets, ParsedSecret parsedSecret); -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Validation/ISecretsListParser.cs b/src/IdentityServer8/src/Validation/ISecretsListParser.cs index 1c26b13f..fdcc57db 100644 --- a/src/IdentityServer8/src/Validation/ISecretsListParser.cs +++ b/src/IdentityServer8/src/Validation/ISecretsListParser.cs @@ -1,23 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System.Collections.Generic; -using IdentityServer8.Models; -using Microsoft.AspNetCore.Http; -using System.Threading.Tasks; - namespace IdentityServer8.Validation; /// diff --git a/src/IdentityServer8/src/Validation/ISecretsListValidator.cs b/src/IdentityServer8/src/Validation/ISecretsListValidator.cs index 9c69f95f..1fa9400c 100644 --- a/src/IdentityServer8/src/Validation/ISecretsListValidator.cs +++ b/src/IdentityServer8/src/Validation/ISecretsListValidator.cs @@ -1,22 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityServer8.Models; -using System.Collections.Generic; -using System.Threading.Tasks; - namespace IdentityServer8.Validation; /// diff --git a/src/IdentityServer8/src/Validation/ITokenRequestValidator.cs b/src/IdentityServer8/src/Validation/ITokenRequestValidator.cs index 86079c9e..555b6de3 100644 --- a/src/IdentityServer8/src/Validation/ITokenRequestValidator.cs +++ b/src/IdentityServer8/src/Validation/ITokenRequestValidator.cs @@ -1,21 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System.Collections.Specialized; -using System.Threading.Tasks; - namespace IdentityServer8.Validation; /// @@ -30,4 +24,4 @@ public interface ITokenRequestValidator /// The client validation result. /// Task ValidateRequestAsync(NameValueCollection parameters, ClientSecretValidationResult clientValidationResult); -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Validation/ITokenRevocationRequestValidator.cs b/src/IdentityServer8/src/Validation/ITokenRevocationRequestValidator.cs index 10d1c2aa..272bc3bc 100644 --- a/src/IdentityServer8/src/Validation/ITokenRevocationRequestValidator.cs +++ b/src/IdentityServer8/src/Validation/ITokenRevocationRequestValidator.cs @@ -1,22 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System.Collections.Specialized; -using System.Threading.Tasks; -using IdentityServer8.Models; - namespace IdentityServer8.Validation; /// @@ -31,4 +24,4 @@ public interface ITokenRevocationRequestValidator /// The client. /// Task ValidateRequestAsync(NameValueCollection parameters, Client client); -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Validation/ITokenValidator.cs b/src/IdentityServer8/src/Validation/ITokenValidator.cs index f3acaf4a..765b46a1 100644 --- a/src/IdentityServer8/src/Validation/ITokenValidator.cs +++ b/src/IdentityServer8/src/Validation/ITokenValidator.cs @@ -1,21 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System.Threading.Tasks; -using IdentityServer8.Models; - namespace IdentityServer8.Validation; /// @@ -39,4 +33,4 @@ public interface ITokenValidator /// if set to true the lifetime gets validated. Otherwise not. /// Task ValidateIdentityTokenAsync(string token, string clientId = null, bool validateLifetime = true); -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Validation/IUserInfoRequestValidator.cs b/src/IdentityServer8/src/Validation/IUserInfoRequestValidator.cs index c7967f46..d801255a 100644 --- a/src/IdentityServer8/src/Validation/IUserInfoRequestValidator.cs +++ b/src/IdentityServer8/src/Validation/IUserInfoRequestValidator.cs @@ -1,20 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System.Threading.Tasks; - namespace IdentityServer8.Validation; /// diff --git a/src/IdentityServer8/src/Validation/Models/AuthorizeRequestValidationResult.cs b/src/IdentityServer8/src/Validation/Models/AuthorizeRequestValidationResult.cs index 2bf3c251..d4457f39 100644 --- a/src/IdentityServer8/src/Validation/Models/AuthorizeRequestValidationResult.cs +++ b/src/IdentityServer8/src/Validation/Models/AuthorizeRequestValidationResult.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServer8.Validation; @@ -51,4 +48,4 @@ public AuthorizeRequestValidationResult(ValidatedAuthorizeRequest request, strin /// The validated request. /// public ValidatedAuthorizeRequest ValidatedRequest { get; } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Validation/Models/BearerTokenUsageType.cs b/src/IdentityServer8/src/Validation/Models/BearerTokenUsageType.cs index 83ebce8c..b75f01fb 100644 --- a/src/IdentityServer8/src/Validation/Models/BearerTokenUsageType.cs +++ b/src/IdentityServer8/src/Validation/Models/BearerTokenUsageType.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ #pragma warning disable 1591 @@ -22,4 +19,4 @@ public enum BearerTokenUsageType AuthorizationHeader = 0, PostBody = 1, QueryString = 2 -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Validation/Models/BearerTokenUsageValidationResult.cs b/src/IdentityServer8/src/Validation/Models/BearerTokenUsageValidationResult.cs index 60dce3c1..022798ca 100644 --- a/src/IdentityServer8/src/Validation/Models/BearerTokenUsageValidationResult.cs +++ b/src/IdentityServer8/src/Validation/Models/BearerTokenUsageValidationResult.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServer8.Validation; @@ -43,4 +40,4 @@ public class BearerTokenUsageValidationResult /// The type of the usage. /// public BearerTokenUsageType UsageType { get; set; } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Validation/Models/ClientSecretValidationResult.cs b/src/IdentityServer8/src/Validation/Models/ClientSecretValidationResult.cs index cb62c3cb..fc50ef1e 100644 --- a/src/IdentityServer8/src/Validation/Models/ClientSecretValidationResult.cs +++ b/src/IdentityServer8/src/Validation/Models/ClientSecretValidationResult.cs @@ -1,20 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityServer8.Models; - namespace IdentityServer8.Validation; /// @@ -45,4 +40,4 @@ public class ClientSecretValidationResult : ValidationResult /// The confirmation. /// public string Confirmation { get; set; } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Validation/Models/DeviceAuthorizationRequestValidationResult.cs b/src/IdentityServer8/src/Validation/Models/DeviceAuthorizationRequestValidationResult.cs index 7fb28dfd..b5cc6a75 100644 --- a/src/IdentityServer8/src/Validation/Models/DeviceAuthorizationRequestValidationResult.cs +++ b/src/IdentityServer8/src/Validation/Models/DeviceAuthorizationRequestValidationResult.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServer8.Validation; @@ -53,4 +50,4 @@ public DeviceAuthorizationRequestValidationResult(ValidatedDeviceAuthorizationRe /// The validated request. /// public ValidatedDeviceAuthorizationRequest ValidatedRequest { get; } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Validation/Models/DeviceCodeValidationContext.cs b/src/IdentityServer8/src/Validation/Models/DeviceCodeValidationContext.cs index 6fc0e5b7..1e3ec783 100644 --- a/src/IdentityServer8/src/Validation/Models/DeviceCodeValidationContext.cs +++ b/src/IdentityServer8/src/Validation/Models/DeviceCodeValidationContext.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServer8.Validation; @@ -43,4 +40,4 @@ public class DeviceCodeValidationContext /// The result. /// public TokenRequestValidationResult Result { get; set; } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Validation/Models/EndSessionCallbackValidationResult.cs b/src/IdentityServer8/src/Validation/Models/EndSessionCallbackValidationResult.cs index 6e0e4cc9..0d621c29 100644 --- a/src/IdentityServer8/src/Validation/Models/EndSessionCallbackValidationResult.cs +++ b/src/IdentityServer8/src/Validation/Models/EndSessionCallbackValidationResult.cs @@ -1,20 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System.Collections.Generic; - namespace IdentityServer8.Validation; /// @@ -27,4 +22,4 @@ public class EndSessionCallbackValidationResult : ValidationResult /// Gets the client front-channel logout urls. /// public IEnumerable FrontChannelLogoutUrls { get; set; } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Validation/Models/EndSessionValidationResult.cs b/src/IdentityServer8/src/Validation/Models/EndSessionValidationResult.cs index 3d8f4319..cb0481a4 100644 --- a/src/IdentityServer8/src/Validation/Models/EndSessionValidationResult.cs +++ b/src/IdentityServer8/src/Validation/Models/EndSessionValidationResult.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServer8.Validation; @@ -28,4 +25,4 @@ public class EndSessionValidationResult : ValidationResult /// The validated request. /// public ValidatedEndSessionRequest ValidatedRequest { get; set; } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Validation/Models/GrantValidationResult.cs b/src/IdentityServer8/src/Validation/Models/GrantValidationResult.cs index 7704c10e..3bd9c041 100644 --- a/src/IdentityServer8/src/Validation/Models/GrantValidationResult.cs +++ b/src/IdentityServer8/src/Validation/Models/GrantValidationResult.cs @@ -1,26 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityModel; -using IdentityServer8.Extensions; -using IdentityServer8.Models; -using System.Collections.Generic; -using System.Linq; -using System.Security.Claims; -using System; - namespace IdentityServer8.Validation; /// @@ -155,4 +144,4 @@ private string ConvertTokenErrorEnumToString(TokenRequestErrors error) _ => throw new InvalidOperationException("invalid token error") }; } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Validation/Models/IntrospectionRequestValidationResult.cs b/src/IdentityServer8/src/Validation/Models/IntrospectionRequestValidationResult.cs index 1354ae17..a746060c 100644 --- a/src/IdentityServer8/src/Validation/Models/IntrospectionRequestValidationResult.cs +++ b/src/IdentityServer8/src/Validation/Models/IntrospectionRequestValidationResult.cs @@ -1,23 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityServer8.Models; -using System.Collections.Generic; -using System.Collections.Specialized; -using System.Security.Claims; - namespace IdentityServer8.Validation; /// @@ -91,4 +83,4 @@ public enum IntrospectionRequestValidationFailureReason /// invalid scope /// InvalidScope -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Validation/Models/JwtRequestValidationResult.cs b/src/IdentityServer8/src/Validation/Models/JwtRequestValidationResult.cs index 2a222fad..52d2ba41 100644 --- a/src/IdentityServer8/src/Validation/Models/JwtRequestValidationResult.cs +++ b/src/IdentityServer8/src/Validation/Models/JwtRequestValidationResult.cs @@ -1,20 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System.Collections.Generic; - namespace IdentityServer8.Validation; /// @@ -26,4 +21,4 @@ public class JwtRequestValidationResult : ValidationResult /// The key/value pairs from the JWT payload of a successfuly validated request. /// public Dictionary Payload { get; set; } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Validation/Models/ParsedScopeValidationError.cs b/src/IdentityServer8/src/Validation/Models/ParsedScopeValidationError.cs index 03f239e9..180e012b 100644 --- a/src/IdentityServer8/src/Validation/Models/ParsedScopeValidationError.cs +++ b/src/IdentityServer8/src/Validation/Models/ParsedScopeValidationError.cs @@ -1,20 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System; - namespace IdentityServer8.Validation; /// @@ -52,4 +47,4 @@ public ParsedScopeValidationError(string rawValue, string error) /// Error message describing why the raw scope failed to be parsed. /// public string Error { get; set; } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Validation/Models/ParsedScopeValue.cs b/src/IdentityServer8/src/Validation/Models/ParsedScopeValue.cs index 79137ddc..ed39f088 100644 --- a/src/IdentityServer8/src/Validation/Models/ParsedScopeValue.cs +++ b/src/IdentityServer8/src/Validation/Models/ParsedScopeValue.cs @@ -1,20 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System; - namespace IdentityServer8.Validation; /// @@ -69,4 +64,4 @@ public ParsedScopeValue(string rawValue, string parsedName, string parsedParamet /// The parameter value of the parsed scope. If the scope has no structure, then the value will be null. /// public string ParsedParameter { get; set; } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Validation/Models/ParsedScopesResult.cs b/src/IdentityServer8/src/Validation/Models/ParsedScopesResult.cs index 9c81a046..681d3d5f 100644 --- a/src/IdentityServer8/src/Validation/Models/ParsedScopesResult.cs +++ b/src/IdentityServer8/src/Validation/Models/ParsedScopesResult.cs @@ -1,21 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System.Collections.Generic; -using System.Linq; - namespace IdentityServer8.Validation; /// @@ -37,4 +31,4 @@ public class ParsedScopesResult /// Indicates if the result of parsing the scopes was successful. /// public bool Succeeded => Errors == null || !Errors.Any(); -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Validation/Models/ResourceValidationRequest.cs b/src/IdentityServer8/src/Validation/Models/ResourceValidationRequest.cs index 03a77844..1fd615ed 100644 --- a/src/IdentityServer8/src/Validation/Models/ResourceValidationRequest.cs +++ b/src/IdentityServer8/src/Validation/Models/ResourceValidationRequest.cs @@ -1,21 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityServer8.Models; -using System.Collections.Generic; - namespace IdentityServer8.Validation; /// diff --git a/src/IdentityServer8/src/Validation/Models/ResourceValidationResult.cs b/src/IdentityServer8/src/Validation/Models/ResourceValidationResult.cs index 43c9b0df..6c6694db 100644 --- a/src/IdentityServer8/src/Validation/Models/ResourceValidationResult.cs +++ b/src/IdentityServer8/src/Validation/Models/ResourceValidationResult.cs @@ -1,22 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityServer8.Models; -using System.Collections.Generic; -using System.Linq; - namespace IdentityServer8.Validation; /// diff --git a/src/IdentityServer8/src/Validation/Models/ScopeSecretValidationResult.cs b/src/IdentityServer8/src/Validation/Models/ScopeSecretValidationResult.cs index 2c89022e..838e83d5 100644 --- a/src/IdentityServer8/src/Validation/Models/ScopeSecretValidationResult.cs +++ b/src/IdentityServer8/src/Validation/Models/ScopeSecretValidationResult.cs @@ -1,20 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityServer8.Models; - namespace IdentityServer8.Validation; /// @@ -29,4 +24,4 @@ public class ApiSecretValidationResult : ValidationResult /// The resource. /// public ApiResource Resource { get; set; } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Validation/Models/SecretValidationResult.cs b/src/IdentityServer8/src/Validation/Models/SecretValidationResult.cs index 2233d1e6..eb2f35f2 100644 --- a/src/IdentityServer8/src/Validation/Models/SecretValidationResult.cs +++ b/src/IdentityServer8/src/Validation/Models/SecretValidationResult.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServer8.Validation; @@ -35,4 +32,4 @@ public class SecretValidationResult : ValidationResult /// The confirmation. /// public string Confirmation { get; set; } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Validation/Models/TokenRequestValidationResult.cs b/src/IdentityServer8/src/Validation/Models/TokenRequestValidationResult.cs index 7b994101..c6110ec3 100644 --- a/src/IdentityServer8/src/Validation/Models/TokenRequestValidationResult.cs +++ b/src/IdentityServer8/src/Validation/Models/TokenRequestValidationResult.cs @@ -1,20 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System.Collections.Generic; - namespace IdentityServer8.Validation; /// @@ -67,4 +62,4 @@ public TokenRequestValidationResult(ValidatedTokenRequest validatedRequest, stri /// The custom response. /// public Dictionary CustomResponse { get; set; } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Validation/Models/TokenRevocationRequestValidationResult.cs b/src/IdentityServer8/src/Validation/Models/TokenRevocationRequestValidationResult.cs index 986b6de6..f5be71ac 100644 --- a/src/IdentityServer8/src/Validation/Models/TokenRevocationRequestValidationResult.cs +++ b/src/IdentityServer8/src/Validation/Models/TokenRevocationRequestValidationResult.cs @@ -1,20 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityServer8.Models; - namespace IdentityServer8.Validation; /// @@ -45,4 +40,4 @@ public class TokenRevocationRequestValidationResult : ValidationResult /// The client. /// public Client Client { get; set; } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Validation/Models/TokenValidationResult.cs b/src/IdentityServer8/src/Validation/Models/TokenValidationResult.cs index fce82b45..71c7bada 100644 --- a/src/IdentityServer8/src/Validation/Models/TokenValidationResult.cs +++ b/src/IdentityServer8/src/Validation/Models/TokenValidationResult.cs @@ -1,22 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityServer8.Models; -using System.Collections.Generic; -using System.Security.Claims; - namespace IdentityServer8.Validation; /// @@ -71,4 +64,4 @@ public class TokenValidationResult : ValidationResult /// The client. /// public Client Client { get; set; } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Validation/Models/UserInfoRequestValidationResult.cs b/src/IdentityServer8/src/Validation/Models/UserInfoRequestValidationResult.cs index 1519913b..170e4663 100644 --- a/src/IdentityServer8/src/Validation/Models/UserInfoRequestValidationResult.cs +++ b/src/IdentityServer8/src/Validation/Models/UserInfoRequestValidationResult.cs @@ -1,20 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System.Security.Claims; - namespace IdentityServer8.Validation; /// @@ -37,4 +32,4 @@ public class UserInfoRequestValidationResult : ValidationResult /// The subject. /// public ClaimsPrincipal Subject { get; set; } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Validation/Models/ValidatedAuthorizeRequest.cs b/src/IdentityServer8/src/Validation/Models/ValidatedAuthorizeRequest.cs index 2a0f6152..9a707175 100644 --- a/src/IdentityServer8/src/Validation/Models/ValidatedAuthorizeRequest.cs +++ b/src/IdentityServer8/src/Validation/Models/ValidatedAuthorizeRequest.cs @@ -1,22 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityModel; -using System.Collections.Generic; -using System.Linq; - namespace IdentityServer8.Validation; /// @@ -215,4 +208,4 @@ public ValidatedAuthorizeRequest() RequestedScopes = new List(); AuthenticationContextReferenceClasses = new List(); } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Validation/Models/ValidatedDeviceAuthorizationRequest.cs b/src/IdentityServer8/src/Validation/Models/ValidatedDeviceAuthorizationRequest.cs index 40fdeb19..76bb9852 100644 --- a/src/IdentityServer8/src/Validation/Models/ValidatedDeviceAuthorizationRequest.cs +++ b/src/IdentityServer8/src/Validation/Models/ValidatedDeviceAuthorizationRequest.cs @@ -1,20 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System.Collections.Generic; - namespace IdentityServer8.Validation; /// @@ -45,4 +40,4 @@ public class ValidatedDeviceAuthorizationRequest : ValidatedRequest /// The description. /// public string Description { get; set; } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Validation/Models/ValidatedEndSessionRequest.cs b/src/IdentityServer8/src/Validation/Models/ValidatedEndSessionRequest.cs index bdf15e69..90b583f4 100644 --- a/src/IdentityServer8/src/Validation/Models/ValidatedEndSessionRequest.cs +++ b/src/IdentityServer8/src/Validation/Models/ValidatedEndSessionRequest.cs @@ -1,20 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System.Collections.Generic; - namespace IdentityServer8.Validation; /// @@ -50,4 +45,4 @@ public class ValidatedEndSessionRequest : ValidatedRequest /// Ids of clients known to have an authentication session for user at end session time /// public IEnumerable ClientIds { get; set; } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Validation/Models/ValidatedRequest.cs b/src/IdentityServer8/src/Validation/Models/ValidatedRequest.cs index e3b7be87..5e97932d 100644 --- a/src/IdentityServer8/src/Validation/Models/ValidatedRequest.cs +++ b/src/IdentityServer8/src/Validation/Models/ValidatedRequest.cs @@ -1,27 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using System.Collections.Generic; -using IdentityServer8.Configuration; -using IdentityServer8.Models; -using System.Collections.Specialized; -using System.Security.Claims; -using IdentityModel; -using System.Linq; -using System; - namespace IdentityServer8.Validation; /// @@ -137,4 +125,4 @@ public void SetClient(Client client, ParsedSecret secret = null, string confirma AccessTokenType = client.AccessTokenType; ClientClaims = client.Claims.Select(c => new Claim(c.Type, c.Value, c.ValueType)).ToList(); } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Validation/Models/ValidatedTokenRequest.cs b/src/IdentityServer8/src/Validation/Models/ValidatedTokenRequest.cs index b3aa019d..8bfe4285 100644 --- a/src/IdentityServer8/src/Validation/Models/ValidatedTokenRequest.cs +++ b/src/IdentityServer8/src/Validation/Models/ValidatedTokenRequest.cs @@ -1,21 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ -using IdentityServer8.Models; -using System.Collections.Generic; - namespace IdentityServer8.Validation; /// @@ -94,4 +88,4 @@ public class ValidatedTokenRequest : ValidatedRequest /// The device code. /// public DeviceCode DeviceCode { get; set; } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/src/Validation/Models/ValidationResult.cs b/src/IdentityServer8/src/Validation/Models/ValidationResult.cs index 7ffae7a4..ee31024d 100644 --- a/src/IdentityServer8/src/Validation/Models/ValidationResult.cs +++ b/src/IdentityServer8/src/Validation/Models/ValidationResult.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServer8.Validation; @@ -43,4 +40,4 @@ public class ValidationResult /// The error description. /// public string ErrorDescription { get; set; } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/test/IdentityServer.IntegrationTests/Clients/ClientAssertionClient.cs b/src/IdentityServer8/test/IdentityServer.IntegrationTests/Clients/ClientAssertionClient.cs index bedf0444..93a2699a 100644 --- a/src/IdentityServer8/test/IdentityServer.IntegrationTests/Clients/ClientAssertionClient.cs +++ b/src/IdentityServer8/test/IdentityServer.IntegrationTests/Clients/ClientAssertionClient.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System; @@ -275,4 +272,4 @@ private string CreateToken(string clientId, DateTime? nowOverride = null) var tokenHandler = new JwtSecurityTokenHandler(); return tokenHandler.WriteToken(token); } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/test/IdentityServer.IntegrationTests/Clients/ClientCredentialsAndResourceOwnerClient.cs b/src/IdentityServer8/test/IdentityServer.IntegrationTests/Clients/ClientCredentialsAndResourceOwnerClient.cs index ef3eb82f..c5fca0df 100644 --- a/src/IdentityServer8/test/IdentityServer.IntegrationTests/Clients/ClientCredentialsAndResourceOwnerClient.cs +++ b/src/IdentityServer8/test/IdentityServer.IntegrationTests/Clients/ClientCredentialsAndResourceOwnerClient.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System.Net.Http; @@ -100,4 +97,4 @@ public async Task Openid_and_resource_scope_should_be_requestable_via_password() response.IsError.Should().Be(false); } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/test/IdentityServer.IntegrationTests/Clients/ClientCredentialsClient.cs b/src/IdentityServer8/test/IdentityServer.IntegrationTests/Clients/ClientCredentialsClient.cs index 39bf3794..7b7f71c4 100644 --- a/src/IdentityServer8/test/IdentityServer.IntegrationTests/Clients/ClientCredentialsClient.cs +++ b/src/IdentityServer8/test/IdentityServer.IntegrationTests/Clients/ClientCredentialsClient.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System.Collections.Generic; @@ -494,4 +491,4 @@ private Dictionary GetPayload(TokenResponse response) return dictionary; } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/test/IdentityServer.IntegrationTests/Clients/CustomTokenRequestValidatorClient.cs b/src/IdentityServer8/test/IdentityServer.IntegrationTests/Clients/CustomTokenRequestValidatorClient.cs index 7e9cf9a3..7bad45b0 100644 --- a/src/IdentityServer8/test/IdentityServer.IntegrationTests/Clients/CustomTokenRequestValidatorClient.cs +++ b/src/IdentityServer8/test/IdentityServer.IntegrationTests/Clients/CustomTokenRequestValidatorClient.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System.Collections.Generic; @@ -23,6 +20,7 @@ copies or substantial portions of the Software. using IdentityServer8.Extensions; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.TestHost; +using Microsoft.VisualStudio.TestPlatform.ObjectModel; using Xunit; namespace IdentityServer.IntegrationTests.Clients; @@ -56,9 +54,7 @@ public async Task Client_credentials_request_should_contain_custom_response() ClientSecret = "secret", Scope = "api1" }); - - var fields = GetFields(response); - fields["custom"].ToString().Should().Be("custom"); + ValidateCustomFields(response); } [Fact] @@ -76,8 +72,7 @@ public async Task Resource_owner_credentials_request_should_contain_custom_respo Password = "bob" }); - var fields = GetFields(response); - fields["custom"].ToString().Should().Be("custom"); + ValidateCustomFields(response); } [Fact] @@ -104,8 +99,7 @@ public async Task Refreshing_a_token_should_contain_custom_response() RefreshToken = response.RefreshToken }); - var fields = GetFields(response); - fields["custom"].ToString().Should().Be("custom"); + ValidateCustomFields(response); } [Fact] @@ -126,12 +120,17 @@ public async Task Extension_grant_request_should_contain_custom_response() } }); - var fields = GetFields(response); - fields["custom"].ToString().Should().Be("custom"); + ValidateCustomFields(response); } - private Dictionary GetFields(TokenResponse response) + private Dictionary GetFields(JsonElement json) + { + return json.ToObject>(); + } + private void ValidateCustomFields(TokenResponse response) { - return response.Json.ToObject>(); + var fields = GetFields(response.Json); + fields["custom"].ToString().Should().Be("custom"); + } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/test/IdentityServer.IntegrationTests/Clients/CustomTokenResponseClients.cs b/src/IdentityServer8/test/IdentityServer.IntegrationTests/Clients/CustomTokenResponseClients.cs index 4d2d08b4..db3359e0 100644 --- a/src/IdentityServer8/test/IdentityServer.IntegrationTests/Clients/CustomTokenResponseClients.cs +++ b/src/IdentityServer8/test/IdentityServer.IntegrationTests/Clients/CustomTokenResponseClients.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System; @@ -251,7 +248,8 @@ public async Task Extension_grant_failure_should_return_custom_error_response() } }); - + var s = response.Json.ToString(); + var fd = GetFieldsD(response); // raw fields var fields = GetFields(response); fields["string_value"].ToString().Should().Be("some_string"); @@ -292,9 +290,20 @@ private CustomResponseDto GetDto(JsonElement responseObject) return responseObject.ToObject(); } + private Dictionary GetFieldsD(TokenResponse response) + { + return response.Json.ToObject>(); + } + + private Dictionary GetFields(TokenResponse response) { - return response.Json.ToObject>(); + return GetFields(response.Json); + } + + private Dictionary GetFields(JsonElement json) + { + return json.ToObject>(); } private Dictionary GetPayload(TokenResponse response) @@ -305,4 +314,4 @@ private Dictionary GetPayload(TokenResponse response) return dictionary; } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/test/IdentityServer.IntegrationTests/Clients/DiscoveryClient.cs b/src/IdentityServer8/test/IdentityServer.IntegrationTests/Clients/DiscoveryClient.cs index 31771d0c..4a8e668a 100644 --- a/src/IdentityServer8/test/IdentityServer.IntegrationTests/Clients/DiscoveryClient.cs +++ b/src/IdentityServer8/test/IdentityServer.IntegrationTests/Clients/DiscoveryClient.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using FluentAssertions; @@ -63,4 +60,4 @@ public async Task Discovery_document_should_have_expected_values() doc.KeySet.Keys.First().E.Should().NotBeNull(); doc.KeySet.Keys.First().N.Should().NotBeNull(); } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/test/IdentityServer.IntegrationTests/Clients/ExtensionGrantClient.cs b/src/IdentityServer8/test/IdentityServer.IntegrationTests/Clients/ExtensionGrantClient.cs index a0b6e096..a95517b2 100644 --- a/src/IdentityServer8/test/IdentityServer.IntegrationTests/Clients/ExtensionGrantClient.cs +++ b/src/IdentityServer8/test/IdentityServer.IntegrationTests/Clients/ExtensionGrantClient.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System; @@ -604,4 +601,4 @@ private Dictionary GetPayload(TokenResponse response) return dictionary; } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/test/IdentityServer.IntegrationTests/Clients/RefreshTokenClient.cs b/src/IdentityServer8/test/IdentityServer.IntegrationTests/Clients/RefreshTokenClient.cs index c846ec49..6cf94d2e 100644 --- a/src/IdentityServer8/test/IdentityServer.IntegrationTests/Clients/RefreshTokenClient.cs +++ b/src/IdentityServer8/test/IdentityServer.IntegrationTests/Clients/RefreshTokenClient.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System.Net.Http; @@ -335,4 +332,4 @@ public async Task Using_a_revoked_refresh_token_should_fail() response.IsError.Should().BeTrue(); response.Error.Should().Be("invalid_grant"); } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/test/IdentityServer.IntegrationTests/Clients/ResourceOwnerClient.cs b/src/IdentityServer8/test/IdentityServer.IntegrationTests/Clients/ResourceOwnerClient.cs index c7cc7f1d..19156275 100644 --- a/src/IdentityServer8/test/IdentityServer.IntegrationTests/Clients/ResourceOwnerClient.cs +++ b/src/IdentityServer8/test/IdentityServer.IntegrationTests/Clients/ResourceOwnerClient.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System.Collections.Generic; @@ -288,4 +285,4 @@ private static Dictionary GetPayload(IdentityModel.Client.TokenR return dictionary; } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/test/IdentityServer.IntegrationTests/Clients/RevocationClient.cs b/src/IdentityServer8/test/IdentityServer.IntegrationTests/Clients/RevocationClient.cs index ddf1f3e2..7e9a9979 100644 --- a/src/IdentityServer8/test/IdentityServer.IntegrationTests/Clients/RevocationClient.cs +++ b/src/IdentityServer8/test/IdentityServer.IntegrationTests/Clients/RevocationClient.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System.Net.Http; @@ -92,4 +89,4 @@ public async Task Revoking_reference_token_should_invalidate_token() introspectionResponse.IsActive.Should().Be(false); } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/test/IdentityServer.IntegrationTests/Clients/Setup/Clients.cs b/src/IdentityServer8/test/IdentityServer.IntegrationTests/Clients/Setup/Clients.cs index d79a54ac..013d0956 100644 --- a/src/IdentityServer8/test/IdentityServer.IntegrationTests/Clients/Setup/Clients.cs +++ b/src/IdentityServer8/test/IdentityServer.IntegrationTests/Clients/Setup/Clients.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System; @@ -264,4 +261,4 @@ public static IEnumerable Get() } }; } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/test/IdentityServer.IntegrationTests/Clients/Setup/ConfirmationSecretValidator.cs b/src/IdentityServer8/test/IdentityServer.IntegrationTests/Clients/Setup/ConfirmationSecretValidator.cs index 64bbabe8..af64541b 100644 --- a/src/IdentityServer8/test/IdentityServer.IntegrationTests/Clients/Setup/ConfirmationSecretValidator.cs +++ b/src/IdentityServer8/test/IdentityServer.IntegrationTests/Clients/Setup/ConfirmationSecretValidator.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System.Collections.Generic; @@ -47,4 +44,4 @@ public Task ValidateAsync(IEnumerable secrets, P return Task.FromResult(new SecretValidationResult { Success = false }); } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/test/IdentityServer.IntegrationTests/Clients/Setup/CustomProfileService.cs b/src/IdentityServer8/test/IdentityServer.IntegrationTests/Clients/Setup/CustomProfileService.cs index 84871556..fff9c424 100644 --- a/src/IdentityServer8/test/IdentityServer.IntegrationTests/Clients/Setup/CustomProfileService.cs +++ b/src/IdentityServer8/test/IdentityServer.IntegrationTests/Clients/Setup/CustomProfileService.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System.Threading.Tasks; @@ -38,4 +35,4 @@ public override async Task GetProfileDataAsync(ProfileDataRequestContext context } } } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/test/IdentityServer.IntegrationTests/Clients/Setup/CustomResponseDto.cs b/src/IdentityServer8/test/IdentityServer.IntegrationTests/Clients/Setup/CustomResponseDto.cs index bbaa287b..19e529d0 100644 --- a/src/IdentityServer8/test/IdentityServer.IntegrationTests/Clients/Setup/CustomResponseDto.cs +++ b/src/IdentityServer8/test/IdentityServer.IntegrationTests/Clients/Setup/CustomResponseDto.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServer.IntegrationTests.Clients.Setup; @@ -38,4 +35,4 @@ public static CustomResponseDto Create }; } } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/test/IdentityServer.IntegrationTests/Clients/Setup/CustomResponseExtensionGrantValidator.cs b/src/IdentityServer8/test/IdentityServer.IntegrationTests/Clients/Setup/CustomResponseExtensionGrantValidator.cs index d4004985..3ef500f2 100644 --- a/src/IdentityServer8/test/IdentityServer.IntegrationTests/Clients/Setup/CustomResponseExtensionGrantValidator.cs +++ b/src/IdentityServer8/test/IdentityServer.IntegrationTests/Clients/Setup/CustomResponseExtensionGrantValidator.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System.Collections.Generic; @@ -49,4 +46,4 @@ public string GrantType { get { return "custom"; } } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/test/IdentityServer.IntegrationTests/Clients/Setup/CustomResponseResourceOwnerValidator.cs b/src/IdentityServer8/test/IdentityServer.IntegrationTests/Clients/Setup/CustomResponseResourceOwnerValidator.cs index 8446994b..6c7f1013 100644 --- a/src/IdentityServer8/test/IdentityServer.IntegrationTests/Clients/Setup/CustomResponseResourceOwnerValidator.cs +++ b/src/IdentityServer8/test/IdentityServer.IntegrationTests/Clients/Setup/CustomResponseResourceOwnerValidator.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System.Collections.Generic; @@ -42,4 +39,4 @@ public Task ValidateAsync(ResourceOwnerPasswordValidationContext context) return Task.CompletedTask; } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/test/IdentityServer.IntegrationTests/Clients/Setup/DynamicParameterExtensionGrantValidator.cs b/src/IdentityServer8/test/IdentityServer.IntegrationTests/Clients/Setup/DynamicParameterExtensionGrantValidator.cs index dbba7e82..ff44ba13 100644 --- a/src/IdentityServer8/test/IdentityServer.IntegrationTests/Clients/Setup/DynamicParameterExtensionGrantValidator.cs +++ b/src/IdentityServer8/test/IdentityServer.IntegrationTests/Clients/Setup/DynamicParameterExtensionGrantValidator.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System.Security.Claims; @@ -70,4 +67,4 @@ public Task ValidateAsync(ExtensionGrantValidationContext context) } public string GrantType => "dynamic"; -} \ No newline at end of file +} diff --git a/src/IdentityServer8/test/IdentityServer.IntegrationTests/Clients/Setup/ExtensionGrantValidator.cs b/src/IdentityServer8/test/IdentityServer.IntegrationTests/Clients/Setup/ExtensionGrantValidator.cs index e21aa5d7..e77c3fc7 100644 --- a/src/IdentityServer8/test/IdentityServer.IntegrationTests/Clients/Setup/ExtensionGrantValidator.cs +++ b/src/IdentityServer8/test/IdentityServer.IntegrationTests/Clients/Setup/ExtensionGrantValidator.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System.Security.Claims; @@ -51,4 +48,4 @@ public Task ValidateAsync(ExtensionGrantValidationContext context) } public string GrantType => "custom"; -} \ No newline at end of file +} diff --git a/src/IdentityServer8/test/IdentityServer.IntegrationTests/Clients/Setup/ExtensionGrantValidator2.cs b/src/IdentityServer8/test/IdentityServer.IntegrationTests/Clients/Setup/ExtensionGrantValidator2.cs index df11d03a..bedd0da6 100644 --- a/src/IdentityServer8/test/IdentityServer.IntegrationTests/Clients/Setup/ExtensionGrantValidator2.cs +++ b/src/IdentityServer8/test/IdentityServer.IntegrationTests/Clients/Setup/ExtensionGrantValidator2.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System.Threading.Tasks; @@ -39,4 +36,4 @@ public Task ValidateAsync(ExtensionGrantValidationContext context) } public string GrantType => "custom2"; -} \ No newline at end of file +} diff --git a/src/IdentityServer8/test/IdentityServer.IntegrationTests/Clients/Setup/NoSubjectExtensionGrantValidator.cs b/src/IdentityServer8/test/IdentityServer.IntegrationTests/Clients/Setup/NoSubjectExtensionGrantValidator.cs index 4c04d4cf..52e1c0ee 100644 --- a/src/IdentityServer8/test/IdentityServer.IntegrationTests/Clients/Setup/NoSubjectExtensionGrantValidator.cs +++ b/src/IdentityServer8/test/IdentityServer.IntegrationTests/Clients/Setup/NoSubjectExtensionGrantValidator.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System.Threading.Tasks; @@ -39,4 +36,4 @@ public Task ValidateAsync(ExtensionGrantValidationContext context) } public string GrantType => "custom.nosubject"; -} \ No newline at end of file +} diff --git a/src/IdentityServer8/test/IdentityServer.IntegrationTests/Clients/Setup/Scopes.cs b/src/IdentityServer8/test/IdentityServer.IntegrationTests/Clients/Setup/Scopes.cs index 19fc465d..eb048570 100644 --- a/src/IdentityServer8/test/IdentityServer.IntegrationTests/Clients/Setup/Scopes.cs +++ b/src/IdentityServer8/test/IdentityServer.IntegrationTests/Clients/Setup/Scopes.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System.Collections.Generic; @@ -78,4 +75,4 @@ public static IEnumerable GetApiScopes() }, }; } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/test/IdentityServer.IntegrationTests/Clients/Setup/Startup.cs b/src/IdentityServer8/test/IdentityServer.IntegrationTests/Clients/Setup/Startup.cs index f900c3a5..a7e8a426 100644 --- a/src/IdentityServer8/test/IdentityServer.IntegrationTests/Clients/Setup/Startup.cs +++ b/src/IdentityServer8/test/IdentityServer.IntegrationTests/Clients/Setup/Startup.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using IdentityServer8.Configuration; @@ -70,4 +67,4 @@ public void Configure(IApplicationBuilder app) { app.UseIdentityServer(); } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/test/IdentityServer.IntegrationTests/Clients/Setup/StartupWithCustomTokenResponses.cs b/src/IdentityServer8/test/IdentityServer.IntegrationTests/Clients/Setup/StartupWithCustomTokenResponses.cs index 7fe0fb94..f5100c49 100644 --- a/src/IdentityServer8/test/IdentityServer.IntegrationTests/Clients/Setup/StartupWithCustomTokenResponses.cs +++ b/src/IdentityServer8/test/IdentityServer.IntegrationTests/Clients/Setup/StartupWithCustomTokenResponses.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using IdentityServer8.Configuration; @@ -54,4 +51,4 @@ public void Configure(IApplicationBuilder app) { app.UseIdentityServer(); } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/test/IdentityServer.IntegrationTests/Clients/Setup/TestCustomTokenRequestValidator.cs b/src/IdentityServer8/test/IdentityServer.IntegrationTests/Clients/Setup/TestCustomTokenRequestValidator.cs index 6b56b842..d98134d7 100644 --- a/src/IdentityServer8/test/IdentityServer.IntegrationTests/Clients/Setup/TestCustomTokenRequestValidator.cs +++ b/src/IdentityServer8/test/IdentityServer.IntegrationTests/Clients/Setup/TestCustomTokenRequestValidator.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System.Collections.Generic; @@ -30,4 +27,4 @@ public Task ValidateAsync(CustomTokenRequestValidationContext context) return Task.CompletedTask; } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/test/IdentityServer.IntegrationTests/Clients/Setup/Users.cs b/src/IdentityServer8/test/IdentityServer.IntegrationTests/Clients/Setup/Users.cs index 61543d4e..fed19aa5 100644 --- a/src/IdentityServer8/test/IdentityServer.IntegrationTests/Clients/Setup/Users.cs +++ b/src/IdentityServer8/test/IdentityServer.IntegrationTests/Clients/Setup/Users.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System.Collections.Generic; @@ -73,4 +70,4 @@ public static List Get() return users; } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/test/IdentityServer.IntegrationTests/Clients/UserInfoClient.cs b/src/IdentityServer8/test/IdentityServer.IntegrationTests/Clients/UserInfoClient.cs index f724e3ad..1f6600b6 100644 --- a/src/IdentityServer8/test/IdentityServer.IntegrationTests/Clients/UserInfoClient.cs +++ b/src/IdentityServer8/test/IdentityServer.IntegrationTests/Clients/UserInfoClient.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System.Collections.Generic; @@ -220,4 +217,4 @@ private Dictionary GetPayload(TokenResponse response) return dictionary; } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/test/IdentityServer.IntegrationTests/Common/BrowserClient.cs b/src/IdentityServer8/test/IdentityServer.IntegrationTests/Common/BrowserClient.cs index baf0befd..bc67ede5 100644 --- a/src/IdentityServer8/test/IdentityServer.IntegrationTests/Common/BrowserClient.cs +++ b/src/IdentityServer8/test/IdentityServer.IntegrationTests/Common/BrowserClient.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System.Net.Http; diff --git a/src/IdentityServer8/test/IdentityServer.IntegrationTests/Common/BrowserHandler.cs b/src/IdentityServer8/test/IdentityServer.IntegrationTests/Common/BrowserHandler.cs index d5f0c3f2..21409e5c 100644 --- a/src/IdentityServer8/test/IdentityServer.IntegrationTests/Common/BrowserHandler.cs +++ b/src/IdentityServer8/test/IdentityServer.IntegrationTests/Common/BrowserHandler.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System; diff --git a/src/IdentityServer8/test/IdentityServer.IntegrationTests/Common/IdentityServerPipeline.cs b/src/IdentityServer8/test/IdentityServer.IntegrationTests/Common/IdentityServerPipeline.cs index 7a3d4cd3..66e1fd66 100644 --- a/src/IdentityServer8/test/IdentityServer.IntegrationTests/Common/IdentityServerPipeline.cs +++ b/src/IdentityServer8/test/IdentityServer.IntegrationTests/Common/IdentityServerPipeline.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System; diff --git a/src/IdentityServer8/test/IdentityServer.IntegrationTests/Common/MessageHandlerWrapper.cs b/src/IdentityServer8/test/IdentityServer.IntegrationTests/Common/MessageHandlerWrapper.cs index e13448e0..58791632 100644 --- a/src/IdentityServer8/test/IdentityServer.IntegrationTests/Common/MessageHandlerWrapper.cs +++ b/src/IdentityServer8/test/IdentityServer.IntegrationTests/Common/MessageHandlerWrapper.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System.Net.Http; diff --git a/src/IdentityServer8/test/IdentityServer.IntegrationTests/Common/NetworkHandler.cs b/src/IdentityServer8/test/IdentityServer.IntegrationTests/Common/NetworkHandler.cs index 99cca424..b3bac679 100644 --- a/src/IdentityServer8/test/IdentityServer.IntegrationTests/Common/NetworkHandler.cs +++ b/src/IdentityServer8/test/IdentityServer.IntegrationTests/Common/NetworkHandler.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System; @@ -114,4 +111,4 @@ private async Task SafeReadContentFrom(HttpRequestMessage request) return await request.Content.ReadAsStringAsync(); } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/test/IdentityServer.IntegrationTests/Common/TestCert.cs b/src/IdentityServer8/test/IdentityServer.IntegrationTests/Common/TestCert.cs index 33100fb6..36b9efd6 100644 --- a/src/IdentityServer8/test/IdentityServer.IntegrationTests/Common/TestCert.cs +++ b/src/IdentityServer8/test/IdentityServer.IntegrationTests/Common/TestCert.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System.IO; @@ -25,4 +22,4 @@ public static X509Certificate2 Load() var cert = Path.Combine(System.AppContext.BaseDirectory, "identityserver_testing.pfx"); return new X509Certificate2(cert, "password"); } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/test/IdentityServer.IntegrationTests/Conformance/Basic/ClientAuthenticationTests.cs b/src/IdentityServer8/test/IdentityServer.IntegrationTests/Conformance/Basic/ClientAuthenticationTests.cs index 3827cc08..250ce1d0 100644 --- a/src/IdentityServer8/test/IdentityServer.IntegrationTests/Conformance/Basic/ClientAuthenticationTests.cs +++ b/src/IdentityServer8/test/IdentityServer.IntegrationTests/Conformance/Basic/ClientAuthenticationTests.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System; @@ -161,4 +158,4 @@ public async Task Token_endpoint_supports_client_authentication_with_form_encode tokenResult.ExpiresIn.Should().BeGreaterThan(0); tokenResult.IdentityToken.Should().NotBeNull(); } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/test/IdentityServer.IntegrationTests/Conformance/Basic/CodeFlowTests.cs b/src/IdentityServer8/test/IdentityServer.IntegrationTests/Conformance/Basic/CodeFlowTests.cs index 0a585018..1cc61ec9 100644 --- a/src/IdentityServer8/test/IdentityServer.IntegrationTests/Conformance/Basic/CodeFlowTests.cs +++ b/src/IdentityServer8/test/IdentityServer.IntegrationTests/Conformance/Basic/CodeFlowTests.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System; @@ -172,4 +169,4 @@ public async Task State_should_result_in_shash() s_hash.Should().NotBeNull(); s_hash.Value.Should().Be(CryptoHelper.CreateHashClaimValue("state", "RS256")); } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/test/IdentityServer.IntegrationTests/Conformance/Basic/RedirectUriTests.cs b/src/IdentityServer8/test/IdentityServer.IntegrationTests/Conformance/Basic/RedirectUriTests.cs index 167c91ee..76b03ba8 100644 --- a/src/IdentityServer8/test/IdentityServer.IntegrationTests/Conformance/Basic/RedirectUriTests.cs +++ b/src/IdentityServer8/test/IdentityServer.IntegrationTests/Conformance/Basic/RedirectUriTests.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System; diff --git a/src/IdentityServer8/test/IdentityServer.IntegrationTests/Conformance/Basic/ResponseTypeResponseModeTests.cs b/src/IdentityServer8/test/IdentityServer.IntegrationTests/Conformance/Basic/ResponseTypeResponseModeTests.cs index 47985b49..db96a8ab 100644 --- a/src/IdentityServer8/test/IdentityServer.IntegrationTests/Conformance/Basic/ResponseTypeResponseModeTests.cs +++ b/src/IdentityServer8/test/IdentityServer.IntegrationTests/Conformance/Basic/ResponseTypeResponseModeTests.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System; diff --git a/src/IdentityServer8/test/IdentityServer.IntegrationTests/Conformance/Pkce/PkceTests.cs b/src/IdentityServer8/test/IdentityServer.IntegrationTests/Conformance/Pkce/PkceTests.cs index f54e98ea..4988f13b 100644 --- a/src/IdentityServer8/test/IdentityServer.IntegrationTests/Conformance/Pkce/PkceTests.cs +++ b/src/IdentityServer8/test/IdentityServer.IntegrationTests/Conformance/Pkce/PkceTests.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System; @@ -549,4 +546,4 @@ private static string Sha256OfCodeVerifier(string codeVerifier) return transformedCodeVerifier; } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/test/IdentityServer.IntegrationTests/Endpoints/Authorize/AuthorizeTests.cs b/src/IdentityServer8/test/IdentityServer.IntegrationTests/Endpoints/Authorize/AuthorizeTests.cs index e8149324..68874731 100644 --- a/src/IdentityServer8/test/IdentityServer.IntegrationTests/Endpoints/Authorize/AuthorizeTests.cs +++ b/src/IdentityServer8/test/IdentityServer.IntegrationTests/Endpoints/Authorize/AuthorizeTests.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System; diff --git a/src/IdentityServer8/test/IdentityServer.IntegrationTests/Endpoints/Authorize/ConsentTests.cs b/src/IdentityServer8/test/IdentityServer.IntegrationTests/Endpoints/Authorize/ConsentTests.cs index 01bad623..ffe39cd8 100644 --- a/src/IdentityServer8/test/IdentityServer.IntegrationTests/Endpoints/Authorize/ConsentTests.cs +++ b/src/IdentityServer8/test/IdentityServer.IntegrationTests/Endpoints/Authorize/ConsentTests.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System; diff --git a/src/IdentityServer8/test/IdentityServer.IntegrationTests/Endpoints/Authorize/JwtRequestAuthorizeTests.cs b/src/IdentityServer8/test/IdentityServer.IntegrationTests/Endpoints/Authorize/JwtRequestAuthorizeTests.cs index 4df697e0..4021a23f 100644 --- a/src/IdentityServer8/test/IdentityServer.IntegrationTests/Endpoints/Authorize/JwtRequestAuthorizeTests.cs +++ b/src/IdentityServer8/test/IdentityServer.IntegrationTests/Endpoints/Authorize/JwtRequestAuthorizeTests.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System; @@ -1152,4 +1149,4 @@ public async Task both_request_and_request_uri_params_should_fail() _mockPipeline.JwtRequestMessageHandler.InvokeWasCalled.Should().BeFalse(); } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/test/IdentityServer.IntegrationTests/Endpoints/Authorize/RestrictAccessTokenViaBrowserTests.cs b/src/IdentityServer8/test/IdentityServer.IntegrationTests/Endpoints/Authorize/RestrictAccessTokenViaBrowserTests.cs index f4cbe270..2e56e236 100644 --- a/src/IdentityServer8/test/IdentityServer.IntegrationTests/Endpoints/Authorize/RestrictAccessTokenViaBrowserTests.cs +++ b/src/IdentityServer8/test/IdentityServer.IntegrationTests/Endpoints/Authorize/RestrictAccessTokenViaBrowserTests.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System.Collections.Generic; diff --git a/src/IdentityServer8/test/IdentityServer.IntegrationTests/Endpoints/Authorize/SessionIdTests.cs b/src/IdentityServer8/test/IdentityServer.IntegrationTests/Endpoints/Authorize/SessionIdTests.cs index 19722250..1c2fbe45 100644 --- a/src/IdentityServer8/test/IdentityServer.IntegrationTests/Endpoints/Authorize/SessionIdTests.cs +++ b/src/IdentityServer8/test/IdentityServer.IntegrationTests/Endpoints/Authorize/SessionIdTests.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System.Collections.Generic; diff --git a/src/IdentityServer8/test/IdentityServer.IntegrationTests/Endpoints/CheckSession/CheckSessionTests.cs b/src/IdentityServer8/test/IdentityServer.IntegrationTests/Endpoints/CheckSession/CheckSessionTests.cs index aaf73733..3cd078ba 100644 --- a/src/IdentityServer8/test/IdentityServer.IntegrationTests/Endpoints/CheckSession/CheckSessionTests.cs +++ b/src/IdentityServer8/test/IdentityServer.IntegrationTests/Endpoints/CheckSession/CheckSessionTests.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System.Net; diff --git a/src/IdentityServer8/test/IdentityServer.IntegrationTests/Endpoints/DeviceAuthorization/DeviceAuthorizationTests.cs b/src/IdentityServer8/test/IdentityServer.IntegrationTests/Endpoints/DeviceAuthorization/DeviceAuthorizationTests.cs index 2ac579ed..23a3a6b7 100644 --- a/src/IdentityServer8/test/IdentityServer.IntegrationTests/Endpoints/DeviceAuthorization/DeviceAuthorizationTests.cs +++ b/src/IdentityServer8/test/IdentityServer.IntegrationTests/Endpoints/DeviceAuthorization/DeviceAuthorizationTests.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System; @@ -169,4 +166,4 @@ internal class ErrorResultDto public string error { get; set; } public string error_description { get; set; } } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/test/IdentityServer.IntegrationTests/Endpoints/Discovery/DiscoveryEndpointTests.cs b/src/IdentityServer8/test/IdentityServer.IntegrationTests/Endpoints/Discovery/DiscoveryEndpointTests.cs index 2e77e0af..9ce4a47a 100644 --- a/src/IdentityServer8/test/IdentityServer.IntegrationTests/Endpoints/Discovery/DiscoveryEndpointTests.cs +++ b/src/IdentityServer8/test/IdentityServer.IntegrationTests/Endpoints/Discovery/DiscoveryEndpointTests.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using FluentAssertions; @@ -245,4 +242,4 @@ public async Task Unicode_values_in_url_should_be_processed_correctly() result.Issuer.Should().Be("https://грант.рф"); } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/test/IdentityServer.IntegrationTests/Endpoints/EndSession/EndSessionTests.cs b/src/IdentityServer8/test/IdentityServer.IntegrationTests/Endpoints/EndSession/EndSessionTests.cs index aadbb454..193d909a 100644 --- a/src/IdentityServer8/test/IdentityServer.IntegrationTests/Endpoints/EndSession/EndSessionTests.cs +++ b/src/IdentityServer8/test/IdentityServer.IntegrationTests/Endpoints/EndSession/EndSessionTests.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System; diff --git a/src/IdentityServer8/test/IdentityServer.IntegrationTests/Endpoints/Introspection/IntrospectionTests.cs b/src/IdentityServer8/test/IdentityServer.IntegrationTests/Endpoints/Introspection/IntrospectionTests.cs index 467ae4cf..630a317f 100644 --- a/src/IdentityServer8/test/IdentityServer.IntegrationTests/Endpoints/Introspection/IntrospectionTests.cs +++ b/src/IdentityServer8/test/IdentityServer.IntegrationTests/Endpoints/Introspection/IntrospectionTests.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System.Collections.Generic; @@ -427,4 +424,4 @@ public async Task Valid_token_with_invalid_scopes_should_fail() introspectionResponse.IsActive.Should().Be(false); introspectionResponse.IsError.Should().Be(false); } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/test/IdentityServer.IntegrationTests/Endpoints/Introspection/Setup/Clients.cs b/src/IdentityServer8/test/IdentityServer.IntegrationTests/Endpoints/Introspection/Setup/Clients.cs index 33f5649d..9fda1c1c 100644 --- a/src/IdentityServer8/test/IdentityServer.IntegrationTests/Endpoints/Introspection/Setup/Clients.cs +++ b/src/IdentityServer8/test/IdentityServer.IntegrationTests/Endpoints/Introspection/Setup/Clients.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System.Collections.Generic; @@ -74,4 +71,4 @@ public static IEnumerable Get() } }; } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/test/IdentityServer.IntegrationTests/Endpoints/Introspection/Setup/Scopes.cs b/src/IdentityServer8/test/IdentityServer.IntegrationTests/Endpoints/Introspection/Setup/Scopes.cs index d823207e..9f11114e 100644 --- a/src/IdentityServer8/test/IdentityServer.IntegrationTests/Endpoints/Introspection/Setup/Scopes.cs +++ b/src/IdentityServer8/test/IdentityServer.IntegrationTests/Endpoints/Introspection/Setup/Scopes.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System.Collections.Generic; @@ -75,4 +72,4 @@ public static IEnumerable GetScopes() } }; } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/test/IdentityServer.IntegrationTests/Endpoints/Introspection/Setup/Startup.cs b/src/IdentityServer8/test/IdentityServer.IntegrationTests/Endpoints/Introspection/Setup/Startup.cs index db423f4b..fa0c2802 100644 --- a/src/IdentityServer8/test/IdentityServer.IntegrationTests/Endpoints/Introspection/Setup/Startup.cs +++ b/src/IdentityServer8/test/IdentityServer.IntegrationTests/Endpoints/Introspection/Setup/Startup.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using Microsoft.AspNetCore.Builder; @@ -40,4 +37,4 @@ public void Configure(IApplicationBuilder app, ILoggerFactory loggerFactory) { app.UseIdentityServer(); } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/test/IdentityServer.IntegrationTests/Endpoints/Introspection/Setup/Users.cs b/src/IdentityServer8/test/IdentityServer.IntegrationTests/Endpoints/Introspection/Setup/Users.cs index 6a04091a..f3d3a1bb 100644 --- a/src/IdentityServer8/test/IdentityServer.IntegrationTests/Endpoints/Introspection/Setup/Users.cs +++ b/src/IdentityServer8/test/IdentityServer.IntegrationTests/Endpoints/Introspection/Setup/Users.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System.Collections.Generic; @@ -32,4 +29,4 @@ public static List Get() } }; } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/test/IdentityServer.IntegrationTests/Endpoints/Revocation/RevocationTests.cs b/src/IdentityServer8/test/IdentityServer.IntegrationTests/Endpoints/Revocation/RevocationTests.cs index 9e01a6ea..57819dec 100644 --- a/src/IdentityServer8/test/IdentityServer.IntegrationTests/Endpoints/Revocation/RevocationTests.cs +++ b/src/IdentityServer8/test/IdentityServer.IntegrationTests/Endpoints/Revocation/RevocationTests.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System.Collections.Generic; @@ -534,4 +531,4 @@ public async Task Implicit_and_client_creds_client_without_secret_revoking_token response.StatusCode.Should().Be(HttpStatusCode.BadRequest); (await IsAccessTokenValidAsync(token)).Should().BeTrue(); } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/test/IdentityServer.IntegrationTests/Endpoints/Token/TokenEndpointTests.cs b/src/IdentityServer8/test/IdentityServer.IntegrationTests/Endpoints/Token/TokenEndpointTests.cs index a531afe4..ed5cfd35 100644 --- a/src/IdentityServer8/test/IdentityServer.IntegrationTests/Endpoints/Token/TokenEndpointTests.cs +++ b/src/IdentityServer8/test/IdentityServer.IntegrationTests/Endpoints/Token/TokenEndpointTests.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using FluentAssertions; diff --git a/src/IdentityServer8/test/IdentityServer.IntegrationTests/Extensibility/CustomProfileServiceTests.cs b/src/IdentityServer8/test/IdentityServer.IntegrationTests/Extensibility/CustomProfileServiceTests.cs index b728a15d..1b411a0a 100644 --- a/src/IdentityServer8/test/IdentityServer.IntegrationTests/Extensibility/CustomProfileServiceTests.cs +++ b/src/IdentityServer8/test/IdentityServer.IntegrationTests/Extensibility/CustomProfileServiceTests.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System.Net; diff --git a/src/IdentityServer8/test/IdentityServer.IntegrationTests/Pipeline/CorsTests.cs b/src/IdentityServer8/test/IdentityServer.IntegrationTests/Pipeline/CorsTests.cs index 1692b31a..cd44b739 100644 --- a/src/IdentityServer8/test/IdentityServer.IntegrationTests/Pipeline/CorsTests.cs +++ b/src/IdentityServer8/test/IdentityServer.IntegrationTests/Pipeline/CorsTests.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System.Collections.Generic; diff --git a/src/IdentityServer8/test/IdentityServer.IntegrationTests/Pipeline/FederatedSignoutTests.cs b/src/IdentityServer8/test/IdentityServer.IntegrationTests/Pipeline/FederatedSignoutTests.cs index 63a67089..97fbe692 100644 --- a/src/IdentityServer8/test/IdentityServer.IntegrationTests/Pipeline/FederatedSignoutTests.cs +++ b/src/IdentityServer8/test/IdentityServer.IntegrationTests/Pipeline/FederatedSignoutTests.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System; diff --git a/src/IdentityServer8/test/IdentityServer.IntegrationTests/Pipeline/SubpathHosting.cs b/src/IdentityServer8/test/IdentityServer.IntegrationTests/Pipeline/SubpathHosting.cs index 67b9e030..8f81c7e7 100644 --- a/src/IdentityServer8/test/IdentityServer.IntegrationTests/Pipeline/SubpathHosting.cs +++ b/src/IdentityServer8/test/IdentityServer.IntegrationTests/Pipeline/SubpathHosting.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System.Collections.Generic; diff --git a/src/IdentityServer8/test/IdentityServer.UnitTests/Common/IAuthenticationSchemeHandler.cs b/src/IdentityServer8/test/IdentityServer.UnitTests/Common/IAuthenticationSchemeHandler.cs index 999806c3..24735111 100644 --- a/src/IdentityServer8/test/IdentityServer.UnitTests/Common/IAuthenticationSchemeHandler.cs +++ b/src/IdentityServer8/test/IdentityServer.UnitTests/Common/IAuthenticationSchemeHandler.cs @@ -1,16 +1,13 @@ -/* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - +/* + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServer.UnitTests.Common @@ -18,4 +15,4 @@ namespace IdentityServer.UnitTests.Common internal interface IAuthenticationSchemeHandler { } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/test/IdentityServer.UnitTests/Common/MockAuthenticationHandler.cs b/src/IdentityServer8/test/IdentityServer.UnitTests/Common/MockAuthenticationHandler.cs index 22c17512..b1a00fed 100644 --- a/src/IdentityServer8/test/IdentityServer.UnitTests/Common/MockAuthenticationHandler.cs +++ b/src/IdentityServer8/test/IdentityServer.UnitTests/Common/MockAuthenticationHandler.cs @@ -1,16 +1,13 @@ -/* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - +/* + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System.Threading.Tasks; diff --git a/src/IdentityServer8/test/IdentityServer.UnitTests/Common/MockAuthenticationHandlerProvider.cs b/src/IdentityServer8/test/IdentityServer.UnitTests/Common/MockAuthenticationHandlerProvider.cs index c51d16d5..378b9a11 100644 --- a/src/IdentityServer8/test/IdentityServer.UnitTests/Common/MockAuthenticationHandlerProvider.cs +++ b/src/IdentityServer8/test/IdentityServer.UnitTests/Common/MockAuthenticationHandlerProvider.cs @@ -1,16 +1,13 @@ -/* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - +/* + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System.Threading.Tasks; diff --git a/src/IdentityServer8/test/IdentityServer.UnitTests/Common/MockAuthenticationSchemeProvider.cs b/src/IdentityServer8/test/IdentityServer.UnitTests/Common/MockAuthenticationSchemeProvider.cs index 44f3bccc..782d55e9 100644 --- a/src/IdentityServer8/test/IdentityServer.UnitTests/Common/MockAuthenticationSchemeProvider.cs +++ b/src/IdentityServer8/test/IdentityServer.UnitTests/Common/MockAuthenticationSchemeProvider.cs @@ -1,16 +1,13 @@ -/* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - +/* + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System.Collections.Generic; diff --git a/src/IdentityServer8/test/IdentityServer.UnitTests/Common/MockAuthenticationService.cs b/src/IdentityServer8/test/IdentityServer.UnitTests/Common/MockAuthenticationService.cs index fb0afa0d..5ec52207 100644 --- a/src/IdentityServer8/test/IdentityServer.UnitTests/Common/MockAuthenticationService.cs +++ b/src/IdentityServer8/test/IdentityServer.UnitTests/Common/MockAuthenticationService.cs @@ -1,16 +1,13 @@ -/* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - +/* + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System.Security.Claims; diff --git a/src/IdentityServer8/test/IdentityServer.UnitTests/Common/MockClaimsService.cs b/src/IdentityServer8/test/IdentityServer.UnitTests/Common/MockClaimsService.cs index ff0a97d7..7de3fe66 100644 --- a/src/IdentityServer8/test/IdentityServer.UnitTests/Common/MockClaimsService.cs +++ b/src/IdentityServer8/test/IdentityServer.UnitTests/Common/MockClaimsService.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using IdentityServer8.Services; diff --git a/src/IdentityServer8/test/IdentityServer.UnitTests/Common/MockClientSessionService.cs b/src/IdentityServer8/test/IdentityServer.UnitTests/Common/MockClientSessionService.cs index 111284c5..5737ed58 100644 --- a/src/IdentityServer8/test/IdentityServer.UnitTests/Common/MockClientSessionService.cs +++ b/src/IdentityServer8/test/IdentityServer.UnitTests/Common/MockClientSessionService.cs @@ -1,16 +1,13 @@ -/* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - +/* + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServer.UnitTests.Common diff --git a/src/IdentityServer8/test/IdentityServer.UnitTests/Common/MockConsentMessageStore.cs b/src/IdentityServer8/test/IdentityServer.UnitTests/Common/MockConsentMessageStore.cs index 08813b1a..98680e4d 100644 --- a/src/IdentityServer8/test/IdentityServer.UnitTests/Common/MockConsentMessageStore.cs +++ b/src/IdentityServer8/test/IdentityServer.UnitTests/Common/MockConsentMessageStore.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System.Collections.Generic; diff --git a/src/IdentityServer8/test/IdentityServer.UnitTests/Common/MockConsentService.cs b/src/IdentityServer8/test/IdentityServer.UnitTests/Common/MockConsentService.cs index f751ebd1..c6a9b7a8 100644 --- a/src/IdentityServer8/test/IdentityServer.UnitTests/Common/MockConsentService.cs +++ b/src/IdentityServer8/test/IdentityServer.UnitTests/Common/MockConsentService.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System.Collections.Generic; diff --git a/src/IdentityServer8/test/IdentityServer.UnitTests/Common/MockHttpContextAccessor.cs b/src/IdentityServer8/test/IdentityServer.UnitTests/Common/MockHttpContextAccessor.cs index 8bfe5865..eda638c0 100644 --- a/src/IdentityServer8/test/IdentityServer.UnitTests/Common/MockHttpContextAccessor.cs +++ b/src/IdentityServer8/test/IdentityServer.UnitTests/Common/MockHttpContextAccessor.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using IdentityServer8.Configuration; diff --git a/src/IdentityServer8/test/IdentityServer.UnitTests/Common/MockKeyMaterialService.cs b/src/IdentityServer8/test/IdentityServer.UnitTests/Common/MockKeyMaterialService.cs index ab64de4b..e12ba017 100644 --- a/src/IdentityServer8/test/IdentityServer.UnitTests/Common/MockKeyMaterialService.cs +++ b/src/IdentityServer8/test/IdentityServer.UnitTests/Common/MockKeyMaterialService.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using IdentityServer8.Models; diff --git a/src/IdentityServer8/test/IdentityServer.UnitTests/Common/MockLogoutNotificationService.cs b/src/IdentityServer8/test/IdentityServer.UnitTests/Common/MockLogoutNotificationService.cs index 1a5de753..aa21ae07 100644 --- a/src/IdentityServer8/test/IdentityServer.UnitTests/Common/MockLogoutNotificationService.cs +++ b/src/IdentityServer8/test/IdentityServer.UnitTests/Common/MockLogoutNotificationService.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using IdentityServer8.Models; diff --git a/src/IdentityServer8/test/IdentityServer.UnitTests/Common/MockMessageStore.cs b/src/IdentityServer8/test/IdentityServer.UnitTests/Common/MockMessageStore.cs index 03f4fc00..4e724003 100644 --- a/src/IdentityServer8/test/IdentityServer.UnitTests/Common/MockMessageStore.cs +++ b/src/IdentityServer8/test/IdentityServer.UnitTests/Common/MockMessageStore.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System; diff --git a/src/IdentityServer8/test/IdentityServer.UnitTests/Common/MockPersistedGrantService.cs b/src/IdentityServer8/test/IdentityServer.UnitTests/Common/MockPersistedGrantService.cs index aa255321..3a48847d 100644 --- a/src/IdentityServer8/test/IdentityServer.UnitTests/Common/MockPersistedGrantService.cs +++ b/src/IdentityServer8/test/IdentityServer.UnitTests/Common/MockPersistedGrantService.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System.Collections.Generic; diff --git a/src/IdentityServer8/test/IdentityServer.UnitTests/Common/MockProfileService.cs b/src/IdentityServer8/test/IdentityServer.UnitTests/Common/MockProfileService.cs index 887a2ca9..e9c04862 100644 --- a/src/IdentityServer8/test/IdentityServer.UnitTests/Common/MockProfileService.cs +++ b/src/IdentityServer8/test/IdentityServer.UnitTests/Common/MockProfileService.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System.Collections.Generic; @@ -47,4 +44,4 @@ public Task IsActiveAsync(IsActiveContext context) return Task.CompletedTask; } } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/test/IdentityServer.UnitTests/Common/MockReferenceTokenStore.cs b/src/IdentityServer8/test/IdentityServer.UnitTests/Common/MockReferenceTokenStore.cs index bbf805d0..a91bd4e8 100644 --- a/src/IdentityServer8/test/IdentityServer.UnitTests/Common/MockReferenceTokenStore.cs +++ b/src/IdentityServer8/test/IdentityServer.UnitTests/Common/MockReferenceTokenStore.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using IdentityServer8.Models; diff --git a/src/IdentityServer8/test/IdentityServer.UnitTests/Common/MockResourceValidator.cs b/src/IdentityServer8/test/IdentityServer.UnitTests/Common/MockResourceValidator.cs index 21893d39..e5d8067f 100644 --- a/src/IdentityServer8/test/IdentityServer.UnitTests/Common/MockResourceValidator.cs +++ b/src/IdentityServer8/test/IdentityServer.UnitTests/Common/MockResourceValidator.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using IdentityServer8.Validation; diff --git a/src/IdentityServer8/test/IdentityServer.UnitTests/Common/MockReturnUrlParser.cs b/src/IdentityServer8/test/IdentityServer.UnitTests/Common/MockReturnUrlParser.cs index be787e07..0dda1f6d 100644 --- a/src/IdentityServer8/test/IdentityServer.UnitTests/Common/MockReturnUrlParser.cs +++ b/src/IdentityServer8/test/IdentityServer.UnitTests/Common/MockReturnUrlParser.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System.Linq; diff --git a/src/IdentityServer8/test/IdentityServer.UnitTests/Common/MockSessionIdService.cs b/src/IdentityServer8/test/IdentityServer.UnitTests/Common/MockSessionIdService.cs index af1f7c91..54a4af5e 100644 --- a/src/IdentityServer8/test/IdentityServer.UnitTests/Common/MockSessionIdService.cs +++ b/src/IdentityServer8/test/IdentityServer.UnitTests/Common/MockSessionIdService.cs @@ -1,16 +1,13 @@ -/* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - +/* + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServer.UnitTests.Common diff --git a/src/IdentityServer8/test/IdentityServer.UnitTests/Common/MockSystemClock.cs b/src/IdentityServer8/test/IdentityServer.UnitTests/Common/MockSystemClock.cs index 88ac1961..e0536ee6 100644 --- a/src/IdentityServer8/test/IdentityServer.UnitTests/Common/MockSystemClock.cs +++ b/src/IdentityServer8/test/IdentityServer.UnitTests/Common/MockSystemClock.cs @@ -1,16 +1,13 @@ -/* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - +/* + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using Microsoft.AspNetCore.Authentication; diff --git a/src/IdentityServer8/test/IdentityServer.UnitTests/Common/MockTokenCreationService.cs b/src/IdentityServer8/test/IdentityServer.UnitTests/Common/MockTokenCreationService.cs index e20ebcb0..87fa4683 100644 --- a/src/IdentityServer8/test/IdentityServer.UnitTests/Common/MockTokenCreationService.cs +++ b/src/IdentityServer8/test/IdentityServer.UnitTests/Common/MockTokenCreationService.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using IdentityServer8.Models; diff --git a/src/IdentityServer8/test/IdentityServer.UnitTests/Common/MockUserSession.cs b/src/IdentityServer8/test/IdentityServer.UnitTests/Common/MockUserSession.cs index 14910b55..9fd03359 100644 --- a/src/IdentityServer8/test/IdentityServer.UnitTests/Common/MockUserSession.cs +++ b/src/IdentityServer8/test/IdentityServer.UnitTests/Common/MockUserSession.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System; diff --git a/src/IdentityServer8/test/IdentityServer.UnitTests/Common/NetworkHandler.cs b/src/IdentityServer8/test/IdentityServer.UnitTests/Common/NetworkHandler.cs index 153f6fe7..afe61893 100644 --- a/src/IdentityServer8/test/IdentityServer.UnitTests/Common/NetworkHandler.cs +++ b/src/IdentityServer8/test/IdentityServer.UnitTests/Common/NetworkHandler.cs @@ -1,16 +1,13 @@ -/* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - +/* + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System; @@ -115,4 +112,4 @@ private async Task SafeReadContentFrom(HttpRequestMessage request) return await request.Content.ReadAsStringAsync(); } } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/test/IdentityServer.UnitTests/Common/StubAuthorizeResponseGenerator.cs b/src/IdentityServer8/test/IdentityServer.UnitTests/Common/StubAuthorizeResponseGenerator.cs index 02122ee9..8c90da2b 100644 --- a/src/IdentityServer8/test/IdentityServer.UnitTests/Common/StubAuthorizeResponseGenerator.cs +++ b/src/IdentityServer8/test/IdentityServer.UnitTests/Common/StubAuthorizeResponseGenerator.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System.Threading.Tasks; @@ -28,4 +25,4 @@ public Task CreateResponseAsync(ValidatedAuthorizeRequest req return Task.FromResult(Response); } } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/test/IdentityServer.UnitTests/Common/StubClock.cs b/src/IdentityServer8/test/IdentityServer.UnitTests/Common/StubClock.cs index e2d73325..dd103559 100644 --- a/src/IdentityServer8/test/IdentityServer.UnitTests/Common/StubClock.cs +++ b/src/IdentityServer8/test/IdentityServer.UnitTests/Common/StubClock.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System; diff --git a/src/IdentityServer8/test/IdentityServer.UnitTests/Common/StubHandleGenerationService.cs b/src/IdentityServer8/test/IdentityServer.UnitTests/Common/StubHandleGenerationService.cs index c1ed642d..09e0aa64 100644 --- a/src/IdentityServer8/test/IdentityServer.UnitTests/Common/StubHandleGenerationService.cs +++ b/src/IdentityServer8/test/IdentityServer.UnitTests/Common/StubHandleGenerationService.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System.Threading.Tasks; diff --git a/src/IdentityServer8/test/IdentityServer.UnitTests/Common/TestCert.cs b/src/IdentityServer8/test/IdentityServer.UnitTests/Common/TestCert.cs index 43e465c5..1361283c 100644 --- a/src/IdentityServer8/test/IdentityServer.UnitTests/Common/TestCert.cs +++ b/src/IdentityServer8/test/IdentityServer.UnitTests/Common/TestCert.cs @@ -1,16 +1,13 @@ -/* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - +/* + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System.IO; @@ -33,4 +30,4 @@ public static SigningCredentials LoadSigningCredentials() return new SigningCredentials(new X509SecurityKey(cert), "RS256"); } } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/test/IdentityServer.UnitTests/Common/TestEventService.cs b/src/IdentityServer8/test/IdentityServer.UnitTests/Common/TestEventService.cs index d84aad0d..70d49084 100644 --- a/src/IdentityServer8/test/IdentityServer.UnitTests/Common/TestEventService.cs +++ b/src/IdentityServer8/test/IdentityServer.UnitTests/Common/TestEventService.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System; @@ -45,4 +42,4 @@ public bool CanRaiseEventType(EventTypes evtType) return true; } } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/test/IdentityServer.UnitTests/Common/TestExtensions.cs b/src/IdentityServer8/test/IdentityServer.UnitTests/Common/TestExtensions.cs index 5a5e29fb..b6108ff1 100644 --- a/src/IdentityServer8/test/IdentityServer.UnitTests/Common/TestExtensions.cs +++ b/src/IdentityServer8/test/IdentityServer.UnitTests/Common/TestExtensions.cs @@ -1,16 +1,13 @@ -/* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - +/* + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System.Linq; @@ -25,4 +22,4 @@ public static string Repeat(this string value, int count) return parts.Aggregate((x, y) => (x ?? value) + value); } } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/test/IdentityServer.UnitTests/Common/TestIdentityServerOptions.cs b/src/IdentityServer8/test/IdentityServer.UnitTests/Common/TestIdentityServerOptions.cs index 155b2963..ffd19a8b 100644 --- a/src/IdentityServer8/test/IdentityServer.UnitTests/Common/TestIdentityServerOptions.cs +++ b/src/IdentityServer8/test/IdentityServer.UnitTests/Common/TestIdentityServerOptions.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using IdentityServer8.Configuration; @@ -29,4 +26,4 @@ public static IdentityServerOptions Create() return options; } } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/test/IdentityServer.UnitTests/Common/TestLogger.cs b/src/IdentityServer8/test/IdentityServer.UnitTests/Common/TestLogger.cs index c155514d..873e0c47 100644 --- a/src/IdentityServer8/test/IdentityServer.UnitTests/Common/TestLogger.cs +++ b/src/IdentityServer8/test/IdentityServer.UnitTests/Common/TestLogger.cs @@ -1,16 +1,13 @@ -/* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - +/* + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using Microsoft.Extensions.Logging; @@ -24,4 +21,4 @@ public static ILogger Create() return new LoggerFactory().CreateLogger(); } } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/test/IdentityServer.UnitTests/Common/TestUserConsentStore.cs b/src/IdentityServer8/test/IdentityServer.UnitTests/Common/TestUserConsentStore.cs index 34431471..c479f43e 100644 --- a/src/IdentityServer8/test/IdentityServer.UnitTests/Common/TestUserConsentStore.cs +++ b/src/IdentityServer8/test/IdentityServer.UnitTests/Common/TestUserConsentStore.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System.Threading.Tasks; diff --git a/src/IdentityServer8/test/IdentityServer.UnitTests/Cors/MockCorsPolicyProvider.cs b/src/IdentityServer8/test/IdentityServer.UnitTests/Cors/MockCorsPolicyProvider.cs index 120a1ebd..dff65ef4 100644 --- a/src/IdentityServer8/test/IdentityServer.UnitTests/Cors/MockCorsPolicyProvider.cs +++ b/src/IdentityServer8/test/IdentityServer.UnitTests/Cors/MockCorsPolicyProvider.cs @@ -1,16 +1,13 @@ -/* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - +/* + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System.Threading.Tasks; diff --git a/src/IdentityServer8/test/IdentityServer.UnitTests/Cors/MockCorsPolicyService.cs b/src/IdentityServer8/test/IdentityServer.UnitTests/Cors/MockCorsPolicyService.cs index 4a0c68da..3cbfc9a4 100644 --- a/src/IdentityServer8/test/IdentityServer.UnitTests/Cors/MockCorsPolicyService.cs +++ b/src/IdentityServer8/test/IdentityServer.UnitTests/Cors/MockCorsPolicyService.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System.Threading.Tasks; diff --git a/src/IdentityServer8/test/IdentityServer.UnitTests/Cors/PolicyProviderTests.cs b/src/IdentityServer8/test/IdentityServer.UnitTests/Cors/PolicyProviderTests.cs index 3f26f077..e895eed7 100644 --- a/src/IdentityServer8/test/IdentityServer.UnitTests/Cors/PolicyProviderTests.cs +++ b/src/IdentityServer8/test/IdentityServer.UnitTests/Cors/PolicyProviderTests.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System.Collections.Generic; diff --git a/src/IdentityServer8/test/IdentityServer.UnitTests/Endpoints/Authorize/AuthorizeCallbackEndpointTests.cs b/src/IdentityServer8/test/IdentityServer.UnitTests/Endpoints/Authorize/AuthorizeCallbackEndpointTests.cs index 8e9f4ff1..64ae354e 100644 --- a/src/IdentityServer8/test/IdentityServer.UnitTests/Endpoints/Authorize/AuthorizeCallbackEndpointTests.cs +++ b/src/IdentityServer8/test/IdentityServer.UnitTests/Endpoints/Authorize/AuthorizeCallbackEndpointTests.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System.Collections.Specialized; diff --git a/src/IdentityServer8/test/IdentityServer.UnitTests/Endpoints/Authorize/AuthorizeEndpointBaseTests.cs b/src/IdentityServer8/test/IdentityServer.UnitTests/Endpoints/Authorize/AuthorizeEndpointBaseTests.cs index 2d27ac75..e310bd36 100644 --- a/src/IdentityServer8/test/IdentityServer.UnitTests/Endpoints/Authorize/AuthorizeEndpointBaseTests.cs +++ b/src/IdentityServer8/test/IdentityServer.UnitTests/Endpoints/Authorize/AuthorizeEndpointBaseTests.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System.Collections.Specialized; diff --git a/src/IdentityServer8/test/IdentityServer.UnitTests/Endpoints/Authorize/AuthorizeEndpointTests.cs b/src/IdentityServer8/test/IdentityServer.UnitTests/Endpoints/Authorize/AuthorizeEndpointTests.cs index f91eafb1..e199d3b9 100644 --- a/src/IdentityServer8/test/IdentityServer.UnitTests/Endpoints/Authorize/AuthorizeEndpointTests.cs +++ b/src/IdentityServer8/test/IdentityServer.UnitTests/Endpoints/Authorize/AuthorizeEndpointTests.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System.Collections.Specialized; diff --git a/src/IdentityServer8/test/IdentityServer.UnitTests/Endpoints/Authorize/StubAuthorizeInteractionResponseGenerator.cs b/src/IdentityServer8/test/IdentityServer.UnitTests/Endpoints/Authorize/StubAuthorizeInteractionResponseGenerator.cs index f09d8bcb..979627fd 100644 --- a/src/IdentityServer8/test/IdentityServer.UnitTests/Endpoints/Authorize/StubAuthorizeInteractionResponseGenerator.cs +++ b/src/IdentityServer8/test/IdentityServer.UnitTests/Endpoints/Authorize/StubAuthorizeInteractionResponseGenerator.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System.Threading.Tasks; @@ -29,4 +26,4 @@ public Task ProcessInteractionAsync(ValidatedAuthorizeReque return Task.FromResult(Response); } } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/test/IdentityServer.UnitTests/Endpoints/Authorize/StubAuthorizeRequestValidator.cs b/src/IdentityServer8/test/IdentityServer.UnitTests/Endpoints/Authorize/StubAuthorizeRequestValidator.cs index 1e90f7da..fce221d6 100644 --- a/src/IdentityServer8/test/IdentityServer.UnitTests/Endpoints/Authorize/StubAuthorizeRequestValidator.cs +++ b/src/IdentityServer8/test/IdentityServer.UnitTests/Endpoints/Authorize/StubAuthorizeRequestValidator.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System.Collections.Specialized; @@ -29,4 +26,4 @@ public Task ValidateAsync(NameValueCollection return Task.FromResult(Result); } } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/test/IdentityServer.UnitTests/Endpoints/EndSession/EndSessionCallbackEndpointTests.cs b/src/IdentityServer8/test/IdentityServer.UnitTests/Endpoints/EndSession/EndSessionCallbackEndpointTests.cs index 60376caf..ea545688 100644 --- a/src/IdentityServer8/test/IdentityServer.UnitTests/Endpoints/EndSession/EndSessionCallbackEndpointTests.cs +++ b/src/IdentityServer8/test/IdentityServer.UnitTests/Endpoints/EndSession/EndSessionCallbackEndpointTests.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using IdentityServer8.Endpoints; diff --git a/src/IdentityServer8/test/IdentityServer.UnitTests/Endpoints/EndSession/EndSessionCallbackResultTests.cs b/src/IdentityServer8/test/IdentityServer.UnitTests/Endpoints/EndSession/EndSessionCallbackResultTests.cs index 261fa93c..1a7e488d 100644 --- a/src/IdentityServer8/test/IdentityServer.UnitTests/Endpoints/EndSession/EndSessionCallbackResultTests.cs +++ b/src/IdentityServer8/test/IdentityServer.UnitTests/Endpoints/EndSession/EndSessionCallbackResultTests.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System.Linq; diff --git a/src/IdentityServer8/test/IdentityServer.UnitTests/Endpoints/EndSession/StubBackChannelLogoutClient.cs b/src/IdentityServer8/test/IdentityServer.UnitTests/Endpoints/EndSession/StubBackChannelLogoutClient.cs index c2445cfe..8c99cfd3 100644 --- a/src/IdentityServer8/test/IdentityServer.UnitTests/Endpoints/EndSession/StubBackChannelLogoutClient.cs +++ b/src/IdentityServer8/test/IdentityServer.UnitTests/Endpoints/EndSession/StubBackChannelLogoutClient.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System.Threading.Tasks; diff --git a/src/IdentityServer8/test/IdentityServer.UnitTests/Endpoints/EndSession/StubEndSessionRequestValidator.cs b/src/IdentityServer8/test/IdentityServer.UnitTests/Endpoints/EndSession/StubEndSessionRequestValidator.cs index f6dd7b5b..611e1211 100644 --- a/src/IdentityServer8/test/IdentityServer.UnitTests/Endpoints/EndSession/StubEndSessionRequestValidator.cs +++ b/src/IdentityServer8/test/IdentityServer.UnitTests/Endpoints/EndSession/StubEndSessionRequestValidator.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System.Collections.Specialized; diff --git a/src/IdentityServer8/test/IdentityServer.UnitTests/Endpoints/Results/AuthorizeResultTests.cs b/src/IdentityServer8/test/IdentityServer.UnitTests/Endpoints/Results/AuthorizeResultTests.cs index 29a80e80..5e71bb12 100644 --- a/src/IdentityServer8/test/IdentityServer.UnitTests/Endpoints/Results/AuthorizeResultTests.cs +++ b/src/IdentityServer8/test/IdentityServer.UnitTests/Endpoints/Results/AuthorizeResultTests.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System; diff --git a/src/IdentityServer8/test/IdentityServer.UnitTests/Endpoints/Results/CheckSessionResultTests.cs b/src/IdentityServer8/test/IdentityServer.UnitTests/Endpoints/Results/CheckSessionResultTests.cs index fd5ac898..4b0c5cea 100644 --- a/src/IdentityServer8/test/IdentityServer.UnitTests/Endpoints/Results/CheckSessionResultTests.cs +++ b/src/IdentityServer8/test/IdentityServer.UnitTests/Endpoints/Results/CheckSessionResultTests.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System.IO; diff --git a/src/IdentityServer8/test/IdentityServer.UnitTests/Endpoints/Results/EndSessionCallbackResultTests.cs b/src/IdentityServer8/test/IdentityServer.UnitTests/Endpoints/Results/EndSessionCallbackResultTests.cs index 419f95c7..1c708c10 100644 --- a/src/IdentityServer8/test/IdentityServer.UnitTests/Endpoints/Results/EndSessionCallbackResultTests.cs +++ b/src/IdentityServer8/test/IdentityServer.UnitTests/Endpoints/Results/EndSessionCallbackResultTests.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System.IO; diff --git a/src/IdentityServer8/test/IdentityServer.UnitTests/Endpoints/Results/EndSessionResultTests.cs b/src/IdentityServer8/test/IdentityServer.UnitTests/Endpoints/Results/EndSessionResultTests.cs index fd45eb08..060e1d68 100644 --- a/src/IdentityServer8/test/IdentityServer.UnitTests/Endpoints/Results/EndSessionResultTests.cs +++ b/src/IdentityServer8/test/IdentityServer.UnitTests/Endpoints/Results/EndSessionResultTests.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System; diff --git a/src/IdentityServer8/test/IdentityServer.UnitTests/Extensions/ApiResourceSigningAlgorithmSelectionTests.cs b/src/IdentityServer8/test/IdentityServer.UnitTests/Extensions/ApiResourceSigningAlgorithmSelectionTests.cs index aca67c93..49278811 100644 --- a/src/IdentityServer8/test/IdentityServer.UnitTests/Extensions/ApiResourceSigningAlgorithmSelectionTests.cs +++ b/src/IdentityServer8/test/IdentityServer.UnitTests/Extensions/ApiResourceSigningAlgorithmSelectionTests.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System; diff --git a/src/IdentityServer8/test/IdentityServer.UnitTests/Extensions/EndpointOptionsExtensionsTests.cs b/src/IdentityServer8/test/IdentityServer.UnitTests/Extensions/EndpointOptionsExtensionsTests.cs index 48d7cb05..6cb8e285 100644 --- a/src/IdentityServer8/test/IdentityServer.UnitTests/Extensions/EndpointOptionsExtensionsTests.cs +++ b/src/IdentityServer8/test/IdentityServer.UnitTests/Extensions/EndpointOptionsExtensionsTests.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using IdentityServer8.Configuration; diff --git a/src/IdentityServer8/test/IdentityServer.UnitTests/Extensions/HttpRequestExtensionsTests.cs b/src/IdentityServer8/test/IdentityServer.UnitTests/Extensions/HttpRequestExtensionsTests.cs index 95e86e9b..ef5d8448 100644 --- a/src/IdentityServer8/test/IdentityServer.UnitTests/Extensions/HttpRequestExtensionsTests.cs +++ b/src/IdentityServer8/test/IdentityServer.UnitTests/Extensions/HttpRequestExtensionsTests.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using FluentAssertions; diff --git a/src/IdentityServer8/test/IdentityServer.UnitTests/Extensions/IResourceStoreExtensionsTests.cs b/src/IdentityServer8/test/IdentityServer.UnitTests/Extensions/IResourceStoreExtensionsTests.cs index 78c8107f..a9dcb036 100644 --- a/src/IdentityServer8/test/IdentityServer.UnitTests/Extensions/IResourceStoreExtensionsTests.cs +++ b/src/IdentityServer8/test/IdentityServer.UnitTests/Extensions/IResourceStoreExtensionsTests.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System; diff --git a/src/IdentityServer8/test/IdentityServer.UnitTests/Extensions/IdentityServerBuilderExtensionsCacheStoreTests.cs b/src/IdentityServer8/test/IdentityServer.UnitTests/Extensions/IdentityServerBuilderExtensionsCacheStoreTests.cs index 59709f01..d70651a1 100644 --- a/src/IdentityServer8/test/IdentityServer.UnitTests/Extensions/IdentityServerBuilderExtensionsCacheStoreTests.cs +++ b/src/IdentityServer8/test/IdentityServer.UnitTests/Extensions/IdentityServerBuilderExtensionsCacheStoreTests.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System.Collections.Generic; @@ -85,4 +82,4 @@ public void AddResourceStoreCache_should_attempt_to_register_iresourcestore_impl services.Any(x => x.ImplementationType == typeof(CustomResourceStore)).Should().BeTrue(); } } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/test/IdentityServer.UnitTests/Extensions/IdentityServerBuilderExtensionsCryptoTests.cs b/src/IdentityServer8/test/IdentityServer.UnitTests/Extensions/IdentityServerBuilderExtensionsCryptoTests.cs index 647d2b3f..7053c695 100644 --- a/src/IdentityServer8/test/IdentityServer.UnitTests/Extensions/IdentityServerBuilderExtensionsCryptoTests.cs +++ b/src/IdentityServer8/test/IdentityServer.UnitTests/Extensions/IdentityServerBuilderExtensionsCryptoTests.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using IdentityServer8; diff --git a/src/IdentityServer8/test/IdentityServer.UnitTests/Extensions/JwtPayloadCreationTests.cs b/src/IdentityServer8/test/IdentityServer.UnitTests/Extensions/JwtPayloadCreationTests.cs index 8cfd6992..834bf7ff 100644 --- a/src/IdentityServer8/test/IdentityServer.UnitTests/Extensions/JwtPayloadCreationTests.cs +++ b/src/IdentityServer8/test/IdentityServer.UnitTests/Extensions/JwtPayloadCreationTests.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System; diff --git a/src/IdentityServer8/test/IdentityServer.UnitTests/Extensions/StringExtensionsTests.cs b/src/IdentityServer8/test/IdentityServer.UnitTests/Extensions/StringExtensionsTests.cs index a57471a2..9b504e8e 100644 --- a/src/IdentityServer8/test/IdentityServer.UnitTests/Extensions/StringExtensionsTests.cs +++ b/src/IdentityServer8/test/IdentityServer.UnitTests/Extensions/StringExtensionsTests.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using IdentityServer8.Extensions; diff --git a/src/IdentityServer8/test/IdentityServer.UnitTests/Extensions/ValidatedAuthorizeRequestExtensionsTests.cs b/src/IdentityServer8/test/IdentityServer.UnitTests/Extensions/ValidatedAuthorizeRequestExtensionsTests.cs index 0edd41f7..dbf29e0a 100644 --- a/src/IdentityServer8/test/IdentityServer.UnitTests/Extensions/ValidatedAuthorizeRequestExtensionsTests.cs +++ b/src/IdentityServer8/test/IdentityServer.UnitTests/Extensions/ValidatedAuthorizeRequestExtensionsTests.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using IdentityServer8.Validation; diff --git a/src/IdentityServer8/test/IdentityServer.UnitTests/Hosting/EndpointRouterTests.cs b/src/IdentityServer8/test/IdentityServer.UnitTests/Hosting/EndpointRouterTests.cs index c0a7d36b..b82d3826 100644 --- a/src/IdentityServer8/test/IdentityServer.UnitTests/Hosting/EndpointRouterTests.cs +++ b/src/IdentityServer8/test/IdentityServer.UnitTests/Hosting/EndpointRouterTests.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System; @@ -147,4 +144,4 @@ public object GetService(Type serviceType) } } } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/test/IdentityServer.UnitTests/Infrastructure/ObjectSerializerTests.cs b/src/IdentityServer8/test/IdentityServer.UnitTests/Infrastructure/ObjectSerializerTests.cs index 2b608f50..2669b7dc 100644 --- a/src/IdentityServer8/test/IdentityServer.UnitTests/Infrastructure/ObjectSerializerTests.cs +++ b/src/IdentityServer8/test/IdentityServer.UnitTests/Infrastructure/ObjectSerializerTests.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System; diff --git a/src/IdentityServer8/test/IdentityServer.UnitTests/ResponseHandling/AuthorizeInteractionResponseGenerator/AuthorizeInteractionResponseGeneratorTests.cs b/src/IdentityServer8/test/IdentityServer.UnitTests/ResponseHandling/AuthorizeInteractionResponseGenerator/AuthorizeInteractionResponseGeneratorTests.cs index 30eba3b6..347a37c6 100644 --- a/src/IdentityServer8/test/IdentityServer.UnitTests/ResponseHandling/AuthorizeInteractionResponseGenerator/AuthorizeInteractionResponseGeneratorTests.cs +++ b/src/IdentityServer8/test/IdentityServer.UnitTests/ResponseHandling/AuthorizeInteractionResponseGenerator/AuthorizeInteractionResponseGeneratorTests.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System; diff --git a/src/IdentityServer8/test/IdentityServer.UnitTests/ResponseHandling/AuthorizeInteractionResponseGenerator/AuthorizeInteractionResponseGeneratorTests_Consent.cs b/src/IdentityServer8/test/IdentityServer.UnitTests/ResponseHandling/AuthorizeInteractionResponseGenerator/AuthorizeInteractionResponseGeneratorTests_Consent.cs index 913fd31d..66609a1c 100644 --- a/src/IdentityServer8/test/IdentityServer.UnitTests/ResponseHandling/AuthorizeInteractionResponseGenerator/AuthorizeInteractionResponseGeneratorTests_Consent.cs +++ b/src/IdentityServer8/test/IdentityServer.UnitTests/ResponseHandling/AuthorizeInteractionResponseGenerator/AuthorizeInteractionResponseGeneratorTests_Consent.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System; @@ -427,4 +424,4 @@ public async Task ProcessConsentAsync_NotRememberingConsent_DoesNotSaveConsent() AssertUpdateConsentCalled(client, user); } } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/test/IdentityServer.UnitTests/ResponseHandling/AuthorizeInteractionResponseGenerator/AuthorizeInteractionResponseGeneratorTests_Custom.cs b/src/IdentityServer8/test/IdentityServer.UnitTests/ResponseHandling/AuthorizeInteractionResponseGenerator/AuthorizeInteractionResponseGeneratorTests_Custom.cs index d08905ca..a3c04003 100644 --- a/src/IdentityServer8/test/IdentityServer.UnitTests/ResponseHandling/AuthorizeInteractionResponseGenerator/AuthorizeInteractionResponseGeneratorTests_Custom.cs +++ b/src/IdentityServer8/test/IdentityServer.UnitTests/ResponseHandling/AuthorizeInteractionResponseGenerator/AuthorizeInteractionResponseGeneratorTests_Custom.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System.Threading.Tasks; diff --git a/src/IdentityServer8/test/IdentityServer.UnitTests/ResponseHandling/AuthorizeInteractionResponseGenerator/AuthorizeInteractionResponseGeneratorTests_Login.cs b/src/IdentityServer8/test/IdentityServer.UnitTests/ResponseHandling/AuthorizeInteractionResponseGenerator/AuthorizeInteractionResponseGeneratorTests_Login.cs index 34dbf255..64403871 100644 --- a/src/IdentityServer8/test/IdentityServer.UnitTests/ResponseHandling/AuthorizeInteractionResponseGenerator/AuthorizeInteractionResponseGeneratorTests_Login.cs +++ b/src/IdentityServer8/test/IdentityServer.UnitTests/ResponseHandling/AuthorizeInteractionResponseGenerator/AuthorizeInteractionResponseGeneratorTests_Login.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System; diff --git a/src/IdentityServer8/test/IdentityServer.UnitTests/ResponseHandling/DeviceAuthorizationResponseGeneratorTests.cs b/src/IdentityServer8/test/IdentityServer.UnitTests/ResponseHandling/DeviceAuthorizationResponseGeneratorTests.cs index b74e857d..f892b55a 100644 --- a/src/IdentityServer8/test/IdentityServer.UnitTests/ResponseHandling/DeviceAuthorizationResponseGeneratorTests.cs +++ b/src/IdentityServer8/test/IdentityServer.UnitTests/ResponseHandling/DeviceAuthorizationResponseGeneratorTests.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System; @@ -218,4 +215,4 @@ public Task GenerateAsync() return Task.FromResult(TestUniqueUserCode); } } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/test/IdentityServer.UnitTests/ResponseHandling/UserInfoResponseGeneratorTests.cs b/src/IdentityServer8/test/IdentityServer.UnitTests/ResponseHandling/UserInfoResponseGeneratorTests.cs index 63a66e40..d87953c9 100644 --- a/src/IdentityServer8/test/IdentityServer.UnitTests/ResponseHandling/UserInfoResponseGeneratorTests.cs +++ b/src/IdentityServer8/test/IdentityServer.UnitTests/ResponseHandling/UserInfoResponseGeneratorTests.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System; @@ -232,4 +229,4 @@ public async Task ProcessAsync_should_throw_if_incorrect_sub_issued_by_profile_s } } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/test/IdentityServer.UnitTests/Services/Default/DefaultClaimsServiceTests.cs b/src/IdentityServer8/test/IdentityServer.UnitTests/Services/Default/DefaultClaimsServiceTests.cs index cc9ea9ac..5fac8ab3 100644 --- a/src/IdentityServer8/test/IdentityServer.UnitTests/Services/Default/DefaultClaimsServiceTests.cs +++ b/src/IdentityServer8/test/IdentityServer.UnitTests/Services/Default/DefaultClaimsServiceTests.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System.Linq; diff --git a/src/IdentityServer8/test/IdentityServer.UnitTests/Services/Default/DefaultConsentServiceTests.cs b/src/IdentityServer8/test/IdentityServer.UnitTests/Services/Default/DefaultConsentServiceTests.cs index ed33a120..e03af771 100644 --- a/src/IdentityServer8/test/IdentityServer.UnitTests/Services/Default/DefaultConsentServiceTests.cs +++ b/src/IdentityServer8/test/IdentityServer.UnitTests/Services/Default/DefaultConsentServiceTests.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System; diff --git a/src/IdentityServer8/test/IdentityServer.UnitTests/Services/Default/DefaultCorsPolicyServiceTests.cs b/src/IdentityServer8/test/IdentityServer.UnitTests/Services/Default/DefaultCorsPolicyServiceTests.cs index dfcedab1..45967e3d 100644 --- a/src/IdentityServer8/test/IdentityServer.UnitTests/Services/Default/DefaultCorsPolicyServiceTests.cs +++ b/src/IdentityServer8/test/IdentityServer.UnitTests/Services/Default/DefaultCorsPolicyServiceTests.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System; diff --git a/src/IdentityServer8/test/IdentityServer.UnitTests/Services/Default/DefaultIdentityServerInteractionServiceTests.cs b/src/IdentityServer8/test/IdentityServer.UnitTests/Services/Default/DefaultIdentityServerInteractionServiceTests.cs index c032935e..c0d993cd 100644 --- a/src/IdentityServer8/test/IdentityServer.UnitTests/Services/Default/DefaultIdentityServerInteractionServiceTests.cs +++ b/src/IdentityServer8/test/IdentityServer.UnitTests/Services/Default/DefaultIdentityServerInteractionServiceTests.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System; diff --git a/src/IdentityServer8/test/IdentityServer.UnitTests/Services/Default/DefaultPersistedGrantServiceTests.cs b/src/IdentityServer8/test/IdentityServer.UnitTests/Services/Default/DefaultPersistedGrantServiceTests.cs index 6be9a5c3..7622a72e 100644 --- a/src/IdentityServer8/test/IdentityServer.UnitTests/Services/Default/DefaultPersistedGrantServiceTests.cs +++ b/src/IdentityServer8/test/IdentityServer.UnitTests/Services/Default/DefaultPersistedGrantServiceTests.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System; diff --git a/src/IdentityServer8/test/IdentityServer.UnitTests/Services/Default/DefaultRefreshTokenServiceTests.cs b/src/IdentityServer8/test/IdentityServer.UnitTests/Services/Default/DefaultRefreshTokenServiceTests.cs index 1a7f852d..76ca57ed 100644 --- a/src/IdentityServer8/test/IdentityServer.UnitTests/Services/Default/DefaultRefreshTokenServiceTests.cs +++ b/src/IdentityServer8/test/IdentityServer.UnitTests/Services/Default/DefaultRefreshTokenServiceTests.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using FluentAssertions; diff --git a/src/IdentityServer8/test/IdentityServer.UnitTests/Services/Default/DefaultTokenServiceTests.cs b/src/IdentityServer8/test/IdentityServer.UnitTests/Services/Default/DefaultTokenServiceTests.cs index 190b4624..92d25148 100644 --- a/src/IdentityServer8/test/IdentityServer.UnitTests/Services/Default/DefaultTokenServiceTests.cs +++ b/src/IdentityServer8/test/IdentityServer.UnitTests/Services/Default/DefaultTokenServiceTests.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System.Linq; diff --git a/src/IdentityServer8/test/IdentityServer.UnitTests/Services/Default/DefaultUserSessionTests.cs b/src/IdentityServer8/test/IdentityServer.UnitTests/Services/Default/DefaultUserSessionTests.cs index 076eddd3..8f0b90f4 100644 --- a/src/IdentityServer8/test/IdentityServer.UnitTests/Services/Default/DefaultUserSessionTests.cs +++ b/src/IdentityServer8/test/IdentityServer.UnitTests/Services/Default/DefaultUserSessionTests.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System; diff --git a/src/IdentityServer8/test/IdentityServer.UnitTests/Services/Default/DistributedDeviceFlowThrottlingServiceTests.cs b/src/IdentityServer8/test/IdentityServer.UnitTests/Services/Default/DistributedDeviceFlowThrottlingServiceTests.cs index 812a45fd..27797525 100644 --- a/src/IdentityServer8/test/IdentityServer.UnitTests/Services/Default/DistributedDeviceFlowThrottlingServiceTests.cs +++ b/src/IdentityServer8/test/IdentityServer.UnitTests/Services/Default/DistributedDeviceFlowThrottlingServiceTests.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System; @@ -166,4 +163,4 @@ public void Remove(string key) throw new NotImplementedException(); } } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/test/IdentityServer.UnitTests/Services/Default/NumericUserCodeServiceTests.cs b/src/IdentityServer8/test/IdentityServer.UnitTests/Services/Default/NumericUserCodeServiceTests.cs index d8f45f9b..227b2e95 100644 --- a/src/IdentityServer8/test/IdentityServer.UnitTests/Services/Default/NumericUserCodeServiceTests.cs +++ b/src/IdentityServer8/test/IdentityServer.UnitTests/Services/Default/NumericUserCodeServiceTests.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System.Threading.Tasks; @@ -34,4 +31,4 @@ public async Task GenerateAsync_should_return_expected_code() userCodeInt.Should().BeLessOrEqualTo(999999999); } } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/test/IdentityServer.UnitTests/Services/InMemory/InMemoryCorsPolicyService.cs b/src/IdentityServer8/test/IdentityServer.UnitTests/Services/InMemory/InMemoryCorsPolicyService.cs index 0a26e48e..e7d1f9d2 100644 --- a/src/IdentityServer8/test/IdentityServer.UnitTests/Services/InMemory/InMemoryCorsPolicyService.cs +++ b/src/IdentityServer8/test/IdentityServer.UnitTests/Services/InMemory/InMemoryCorsPolicyService.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System.Collections.Generic; diff --git a/src/IdentityServer8/test/IdentityServer.UnitTests/Stores/Default/DefaultPersistedGrantStoreTests.cs b/src/IdentityServer8/test/IdentityServer.UnitTests/Stores/Default/DefaultPersistedGrantStoreTests.cs index e6b7dfe2..4a2aa153 100644 --- a/src/IdentityServer8/test/IdentityServer.UnitTests/Stores/Default/DefaultPersistedGrantStoreTests.cs +++ b/src/IdentityServer8/test/IdentityServer.UnitTests/Stores/Default/DefaultPersistedGrantStoreTests.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System; diff --git a/src/IdentityServer8/test/IdentityServer.UnitTests/Stores/InMemoryClientStoreTests.cs b/src/IdentityServer8/test/IdentityServer.UnitTests/Stores/InMemoryClientStoreTests.cs index d8acca34..5af7701e 100644 --- a/src/IdentityServer8/test/IdentityServer.UnitTests/Stores/InMemoryClientStoreTests.cs +++ b/src/IdentityServer8/test/IdentityServer.UnitTests/Stores/InMemoryClientStoreTests.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using IdentityServer8.Models; diff --git a/src/IdentityServer8/test/IdentityServer.UnitTests/Stores/InMemoryDeviceFlowStoreTests.cs b/src/IdentityServer8/test/IdentityServer.UnitTests/Stores/InMemoryDeviceFlowStoreTests.cs index e5e696b0..aeeeb947 100644 --- a/src/IdentityServer8/test/IdentityServer.UnitTests/Stores/InMemoryDeviceFlowStoreTests.cs +++ b/src/IdentityServer8/test/IdentityServer.UnitTests/Stores/InMemoryDeviceFlowStoreTests.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System; @@ -149,4 +146,4 @@ public async Task RemoveByDeviceCodeAsync_should_update_data() foundData.Should().BeNull(); } } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/test/IdentityServer.UnitTests/Stores/InMemoryPersistedGrantStoreTests.cs b/src/IdentityServer8/test/IdentityServer.UnitTests/Stores/InMemoryPersistedGrantStoreTests.cs index 032f7b19..eb0e3dd3 100644 --- a/src/IdentityServer8/test/IdentityServer.UnitTests/Stores/InMemoryPersistedGrantStoreTests.cs +++ b/src/IdentityServer8/test/IdentityServer.UnitTests/Stores/InMemoryPersistedGrantStoreTests.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using IdentityServer8.Models; diff --git a/src/IdentityServer8/test/IdentityServer.UnitTests/Stores/InMemoryResourcesStoreTests.cs b/src/IdentityServer8/test/IdentityServer.UnitTests/Stores/InMemoryResourcesStoreTests.cs index 85530766..c5f8fffa 100644 --- a/src/IdentityServer8/test/IdentityServer.UnitTests/Stores/InMemoryResourcesStoreTests.cs +++ b/src/IdentityServer8/test/IdentityServer.UnitTests/Stores/InMemoryResourcesStoreTests.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using IdentityServer8.Models; diff --git a/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/AccessTokenValidation.cs b/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/AccessTokenValidation.cs index 49452e91..99097ed9 100644 --- a/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/AccessTokenValidation.cs +++ b/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/AccessTokenValidation.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System; @@ -252,4 +249,4 @@ public async Task Valid_AccessToken_but_Client_not_active() result.IsError.Should().BeTrue(); } } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/AuthorizeRequest Validation/Authorize_ClientValidation_Code.cs b/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/AuthorizeRequest Validation/Authorize_ClientValidation_Code.cs index bc576296..09c6bdb5 100644 --- a/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/AuthorizeRequest Validation/Authorize_ClientValidation_Code.cs +++ b/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/AuthorizeRequest Validation/Authorize_ClientValidation_Code.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System.Collections.Specialized; @@ -132,4 +129,4 @@ public async Task OpenId_Code_Request_With_Restricted_Scope() result.Error.Should().Be(OidcConstants.AuthorizeErrors.InvalidScope); } } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/AuthorizeRequest Validation/Authorize_ClientValidation_IdToken.cs b/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/AuthorizeRequest Validation/Authorize_ClientValidation_IdToken.cs index 334914ef..860979cc 100644 --- a/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/AuthorizeRequest Validation/Authorize_ClientValidation_IdToken.cs +++ b/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/AuthorizeRequest Validation/Authorize_ClientValidation_IdToken.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System.Collections.Specialized; @@ -47,4 +44,4 @@ public async Task Mixed_IdToken_Request() result.Error.Should().Be(OidcConstants.AuthorizeErrors.InvalidScope); } } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/AuthorizeRequest Validation/Authorize_ClientValidation_Invalid.cs b/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/AuthorizeRequest Validation/Authorize_ClientValidation_Invalid.cs index ae6b2658..dde8477c 100644 --- a/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/AuthorizeRequest Validation/Authorize_ClientValidation_Invalid.cs +++ b/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/AuthorizeRequest Validation/Authorize_ClientValidation_Invalid.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System.Collections.Specialized; @@ -47,4 +44,4 @@ public async Task Invalid_Protocol_Client() result.Error.Should().Be(OidcConstants.AuthorizeErrors.UnauthorizedClient); } } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/AuthorizeRequest Validation/Authorize_ClientValidation_Token.cs b/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/AuthorizeRequest Validation/Authorize_ClientValidation_Token.cs index a14856b6..dcd79329 100644 --- a/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/AuthorizeRequest Validation/Authorize_ClientValidation_Token.cs +++ b/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/AuthorizeRequest Validation/Authorize_ClientValidation_Token.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System.Collections.Specialized; @@ -84,4 +81,4 @@ public async Task CodeIdTokenToken_Request_with_no_AAVB() result.Error.Should().Be(OidcConstants.AuthorizeErrors.InvalidRequest); } } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/AuthorizeRequest Validation/Authorize_ClientValidation_Valid.cs b/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/AuthorizeRequest Validation/Authorize_ClientValidation_Valid.cs index 1c0781b7..e37063c9 100644 --- a/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/AuthorizeRequest Validation/Authorize_ClientValidation_Valid.cs +++ b/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/AuthorizeRequest Validation/Authorize_ClientValidation_Valid.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System.Collections.Specialized; @@ -246,4 +243,4 @@ public async Task Valid_OpenId_TokenIdToken_Request() result.IsError.Should().BeFalse(); } } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/AuthorizeRequest Validation/Authorize_ProtocolValidation_CustomValidator.cs b/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/AuthorizeRequest Validation/Authorize_ProtocolValidation_CustomValidator.cs index b190911d..16836b20 100644 --- a/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/AuthorizeRequest Validation/Authorize_ProtocolValidation_CustomValidator.cs +++ b/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/AuthorizeRequest Validation/Authorize_ProtocolValidation_CustomValidator.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System; @@ -85,4 +82,4 @@ public Task ValidateAsync(CustomAuthorizeRequestValidationContext context) return Task.CompletedTask; } } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/AuthorizeRequest Validation/Authorize_ProtocolValidation_Invalid.cs b/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/AuthorizeRequest Validation/Authorize_ProtocolValidation_Invalid.cs index 2f91c435..f9ed89f6 100644 --- a/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/AuthorizeRequest Validation/Authorize_ProtocolValidation_Invalid.cs +++ b/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/AuthorizeRequest Validation/Authorize_ProtocolValidation_Invalid.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System; @@ -416,4 +413,4 @@ public async Task prompt_none_and_other_values_should_fail() result.Error.Should().Be(OidcConstants.AuthorizeErrors.InvalidRequest); } } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/AuthorizeRequest Validation/Authorize_ProtocolValidation_PKCE.cs b/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/AuthorizeRequest Validation/Authorize_ProtocolValidation_PKCE.cs index 259e6d8f..5b17d8e0 100644 --- a/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/AuthorizeRequest Validation/Authorize_ProtocolValidation_PKCE.cs +++ b/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/AuthorizeRequest Validation/Authorize_ProtocolValidation_PKCE.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System.Collections.Specialized; @@ -217,4 +214,4 @@ public async Task openid_code_request_with_too_long_challenge_should_be_rejected result.Error.Should().Be(OidcConstants.AuthorizeErrors.InvalidRequest); } } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/AuthorizeRequest Validation/Authorize_ProtocolValidation_Valid.cs b/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/AuthorizeRequest Validation/Authorize_ProtocolValidation_Valid.cs index d6b18274..4aa935e9 100644 --- a/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/AuthorizeRequest Validation/Authorize_ProtocolValidation_Valid.cs +++ b/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/AuthorizeRequest Validation/Authorize_ProtocolValidation_Valid.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System.Collections.Specialized; @@ -217,4 +214,4 @@ public async Task multiple_prompt_values_should_be_accepted() result.ValidatedRequest.PromptModes.Should().Contain(OidcConstants.PromptModes.Consent); } } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/BearerTokenUsageValidation.cs b/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/BearerTokenUsageValidation.cs index 5c492ebd..04c9a699 100644 --- a/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/BearerTokenUsageValidation.cs +++ b/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/BearerTokenUsageValidation.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System.IO; @@ -178,4 +175,4 @@ public async Task Body_Post_no_Token() result.TokenFound.Should().BeFalse(); } } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/ClientConfigurationValidation.cs b/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/ClientConfigurationValidation.cs index 9bff071b..dfeced6b 100644 --- a/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/ClientConfigurationValidation.cs +++ b/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/ClientConfigurationValidation.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using FluentAssertions; @@ -508,4 +505,4 @@ private async Task ShouldFailAsync(Client client, string expectedError) context.ErrorMessage.Should().Be(expectedError); } } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/DeviceAuthorizationRequestValidation.cs b/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/DeviceAuthorizationRequestValidation.cs index a6613858..11c3bc90 100644 --- a/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/DeviceAuthorizationRequestValidation.cs +++ b/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/DeviceAuthorizationRequestValidation.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System; @@ -205,4 +202,4 @@ public async Task Missing_Scopes_And_Client_Scopes_Empty() result.Error.Should().Be(OidcConstants.AuthorizeErrors.InvalidScope); } } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/DeviceCodeValidation.cs b/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/DeviceCodeValidation.cs index 8f2fa03b..919eb40d 100644 --- a/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/DeviceCodeValidation.cs +++ b/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/DeviceCodeValidation.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System; @@ -249,4 +246,4 @@ public async Task Valid_DeviceCode() context.Result.IsError.Should().BeFalse(); } } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/EndSessionRequestValidation/EndSessionRequestValidatorTests.cs b/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/EndSessionRequestValidation/EndSessionRequestValidatorTests.cs index aa01cb7b..38bd4a4e 100644 --- a/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/EndSessionRequestValidation/EndSessionRequestValidatorTests.cs +++ b/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/EndSessionRequestValidation/EndSessionRequestValidatorTests.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System.Collections.Generic; diff --git a/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/EndSessionRequestValidation/StubRedirectUriValidator.cs b/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/EndSessionRequestValidation/StubRedirectUriValidator.cs index 5f4eea8c..f4a36c4b 100644 --- a/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/EndSessionRequestValidation/StubRedirectUriValidator.cs +++ b/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/EndSessionRequestValidation/StubRedirectUriValidator.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System.Threading.Tasks; diff --git a/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/EndSessionRequestValidation/StubTokenValidator.cs b/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/EndSessionRequestValidation/StubTokenValidator.cs index 543faf16..a64f4ea3 100644 --- a/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/EndSessionRequestValidation/StubTokenValidator.cs +++ b/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/EndSessionRequestValidation/StubTokenValidator.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System.Threading.Tasks; diff --git a/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/GrantTypesValidation.cs b/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/GrantTypesValidation.cs index cae7108c..31f155f9 100644 --- a/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/GrantTypesValidation.cs +++ b/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/GrantTypesValidation.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System; diff --git a/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/IdentityTokenValidation.cs b/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/IdentityTokenValidation.cs index ff617e82..d6e0ae69 100644 --- a/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/IdentityTokenValidation.cs +++ b/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/IdentityTokenValidation.cs @@ -1,16 +1,13 @@ -/* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - +/* + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System.IdentityModel.Tokens.Jwt; @@ -95,4 +92,4 @@ public async Task IdentityToken_Too_Long() result.Error.Should().Be(OidcConstants.ProtectedResourceErrors.InvalidToken); } } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/IntrospectionRequestValidatorTests.cs b/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/IntrospectionRequestValidatorTests.cs index dfe002ae..20fc7705 100644 --- a/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/IntrospectionRequestValidatorTests.cs +++ b/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/IntrospectionRequestValidatorTests.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System; @@ -104,4 +101,4 @@ public async Task invalid_token_should_return_inactive() result.Token.Should().Be("invalid"); } } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/ResourceValidation.cs b/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/ResourceValidation.cs index a1ec1778..81928814 100644 --- a/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/ResourceValidation.cs +++ b/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/ResourceValidation.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System.Collections.Generic; @@ -346,4 +343,4 @@ public async Task Scope_matches_multipls_apis_should_succeed() result.RawScopeValues.Should().BeEquivalentTo(new[] { "resource" }); } } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/ResponseTypeEqualityComparison.cs b/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/ResponseTypeEqualityComparison.cs index 0017c548..38aa6892 100644 --- a/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/ResponseTypeEqualityComparison.cs +++ b/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/ResponseTypeEqualityComparison.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using FluentAssertions; diff --git a/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/RevocationRequestValidation.cs b/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/RevocationRequestValidation.cs index 87396c14..fb77c9a3 100644 --- a/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/RevocationRequestValidation.cs +++ b/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/RevocationRequestValidation.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System.Collections.Generic; @@ -152,4 +149,4 @@ public async Task Valid_Token_And_Invalid_Hint() result.Error.Should().Be(Constants.RevocationErrors.UnsupportedTokenType); } } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/Secrets/BasicAuthenticationCredentialParsing.cs b/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/Secrets/BasicAuthenticationCredentialParsing.cs index d8328037..cfa808c7 100644 --- a/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/Secrets/BasicAuthenticationCredentialParsing.cs +++ b/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/Secrets/BasicAuthenticationCredentialParsing.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System; @@ -186,4 +183,4 @@ public async void BasicAuthentication_Request_With_Malformed_Credentials_Base64_ secret.Should().BeNull(); } } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/Secrets/ClientAssertionSecretParsing.cs b/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/Secrets/ClientAssertionSecretParsing.cs index 6b62bc0d..cbf01dac 100644 --- a/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/Secrets/ClientAssertionSecretParsing.cs +++ b/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/Secrets/ClientAssertionSecretParsing.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System.IdentityModel.Tokens.Jwt; @@ -148,4 +145,4 @@ public async void ClientAssertion_TooLong() secret.Should().BeNull(); } } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/Secrets/ClientSecretValidation.cs b/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/Secrets/ClientSecretValidation.cs index cb43d14b..188ab819 100644 --- a/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/Secrets/ClientSecretValidation.cs +++ b/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/Secrets/ClientSecretValidation.cs @@ -1,16 +1,13 @@ -/* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - +/* + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System.IO; @@ -116,4 +113,4 @@ public async Task implicit_client_and_client_creds_without_secret_should_not_be_ result.IsError.Should().BeTrue(); } } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/Secrets/FormPostCredentialParsing.cs b/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/Secrets/FormPostCredentialParsing.cs index 3f269960..6f18de9f 100644 --- a/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/Secrets/FormPostCredentialParsing.cs +++ b/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/Secrets/FormPostCredentialParsing.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System.IO; @@ -152,4 +149,4 @@ public async void Malformed_PostBody() secret.Should().BeNull(); } } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/Secrets/HashedSharedSecretValidation.cs b/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/Secrets/HashedSharedSecretValidation.cs index cce2bc8e..ee16fdbf 100644 --- a/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/Secrets/HashedSharedSecretValidation.cs +++ b/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/Secrets/HashedSharedSecretValidation.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System.Threading.Tasks; @@ -172,4 +169,4 @@ public async Task Client_with_null_Secret_Should_Fail() result.Success.Should().BeFalse(); } } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/Secrets/MutualTlsSecretValidation.cs b/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/Secrets/MutualTlsSecretValidation.cs index 439a9f67..5ff4c629 100644 --- a/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/Secrets/MutualTlsSecretValidation.cs +++ b/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/Secrets/MutualTlsSecretValidation.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System; @@ -207,4 +204,4 @@ public async Task Name_valid_secret_should_match() result.Success.Should().BeTrue(); } } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/Secrets/PlainTextClientSecretValidation.cs b/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/Secrets/PlainTextClientSecretValidation.cs index dee81117..e264c379 100644 --- a/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/Secrets/PlainTextClientSecretValidation.cs +++ b/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/Secrets/PlainTextClientSecretValidation.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System.Threading.Tasks; @@ -172,4 +169,4 @@ public async Task Client_with_null_Secret_Should_Fail() result.Success.Should().BeFalse(); } } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/Secrets/PrivateKeyJwtSecretValidation.cs b/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/Secrets/PrivateKeyJwtSecretValidation.cs index dfb07030..9cd5af49 100644 --- a/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/Secrets/PrivateKeyJwtSecretValidation.cs +++ b/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/Secrets/PrivateKeyJwtSecretValidation.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System; @@ -255,4 +252,4 @@ public async Task Invalid_Unsigned_Token() result.Success.Should().BeFalse(); } } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/Secrets/SecretValidation.cs b/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/Secrets/SecretValidation.cs index 59074056..904eec8d 100644 --- a/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/Secrets/SecretValidation.cs +++ b/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/Secrets/SecretValidation.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System.Threading.Tasks; @@ -184,4 +181,4 @@ public async Task Client_with_no_Secret_Should_Fail() result.Success.Should().BeFalse(); } } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/Setup/ClientValidationTestClients.cs b/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/Setup/ClientValidationTestClients.cs index 9d3fc86c..8aeb7655 100644 --- a/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/Setup/ClientValidationTestClients.cs +++ b/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/Setup/ClientValidationTestClients.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System; @@ -222,4 +219,4 @@ public static List Get() }; } } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/Setup/Factory.cs b/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/Setup/Factory.cs index 177dcc87..bbcb1105 100644 --- a/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/Setup/Factory.cs +++ b/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/Setup/Factory.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System; @@ -391,4 +388,4 @@ public static IUserConsentStore CreateUserConsentStore() TestLogger.Create()); } } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/Setup/TestClients.cs b/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/Setup/TestClients.cs index 8d081d14..8be23116 100644 --- a/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/Setup/TestClients.cs +++ b/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/Setup/TestClients.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System.Collections.Generic; @@ -524,4 +521,4 @@ public static IEnumerable Get() }; } } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/Setup/TestDeviceCodeValidator.cs b/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/Setup/TestDeviceCodeValidator.cs index c3037029..8365df48 100644 --- a/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/Setup/TestDeviceCodeValidator.cs +++ b/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/Setup/TestDeviceCodeValidator.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System.Threading.Tasks; @@ -35,4 +32,4 @@ public Task ValidateAsync(DeviceCodeValidationContext context) return Task.CompletedTask; } } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/Setup/TestDeviceFlowThrottlingService.cs b/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/Setup/TestDeviceFlowThrottlingService.cs index dd8e0826..1241c7e9 100644 --- a/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/Setup/TestDeviceFlowThrottlingService.cs +++ b/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/Setup/TestDeviceFlowThrottlingService.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System.Threading.Tasks; @@ -30,4 +27,4 @@ public TestDeviceFlowThrottlingService(bool shouldSlownDown = false) public Task ShouldSlowDown(string deviceCode, DeviceCode details) => Task.FromResult(shouldSlownDown); } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/Setup/TestGrantValidator.cs b/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/Setup/TestGrantValidator.cs index be7d17b3..08efa71e 100644 --- a/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/Setup/TestGrantValidator.cs +++ b/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/Setup/TestGrantValidator.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System.Threading.Tasks; @@ -59,4 +56,4 @@ public string GrantType get { return "custom_grant"; } } } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/Setup/TestProfileService.cs b/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/Setup/TestProfileService.cs index 0bbc70af..debede6f 100644 --- a/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/Setup/TestProfileService.cs +++ b/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/Setup/TestProfileService.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System.Threading.Tasks; @@ -39,4 +36,4 @@ public Task IsActiveAsync(IsActiveContext context) return Task.CompletedTask; } } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/Setup/TestResourceOwnerPasswordValidator.cs b/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/Setup/TestResourceOwnerPasswordValidator.cs index 7ef23f60..fe1ffbc9 100644 --- a/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/Setup/TestResourceOwnerPasswordValidator.cs +++ b/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/Setup/TestResourceOwnerPasswordValidator.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System.Threading.Tasks; @@ -56,4 +53,4 @@ public Task ValidateAsync(ResourceOwnerPasswordValidationContext context) return Task.CompletedTask; } } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/Setup/TestScopes.cs b/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/Setup/TestScopes.cs index da4fed19..13c01f53 100644 --- a/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/Setup/TestScopes.cs +++ b/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/Setup/TestScopes.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System.Collections.Generic; @@ -58,4 +55,4 @@ public static IEnumerable GetScopes() }; } } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/Setup/TestTokenValidator.cs b/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/Setup/TestTokenValidator.cs index 27af8d7f..a1974874 100644 --- a/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/Setup/TestTokenValidator.cs +++ b/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/Setup/TestTokenValidator.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using IdentityServer8.Models; @@ -43,4 +40,4 @@ public Task ValidateRefreshTokenAsync(string token, Clien return Task.FromResult(_result); } } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/Setup/TokenFactory.cs b/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/Setup/TokenFactory.cs index db435aaf..39f95f9e 100644 --- a/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/Setup/TokenFactory.cs +++ b/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/Setup/TokenFactory.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System; @@ -127,4 +124,4 @@ public static Token CreateIdentityTokenLong(string clientId, string subjectId, i return token; } } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/Setup/ValidationExtensions.cs b/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/Setup/ValidationExtensions.cs index 39aa82e4..3911e6f1 100644 --- a/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/Setup/ValidationExtensions.cs +++ b/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/Setup/ValidationExtensions.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using IdentityServer8.Models; diff --git a/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/StrictRedirectUriValidatorAppAuthValidation.cs b/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/StrictRedirectUriValidatorAppAuthValidation.cs index 38c5b7b4..d86e1e33 100644 --- a/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/StrictRedirectUriValidatorAppAuthValidation.cs +++ b/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/StrictRedirectUriValidatorAppAuthValidation.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using FluentAssertions; @@ -89,4 +86,4 @@ public async Task Loopback_Redirect_URIs_Should_Not_Be_AllowedAsync(string reque result.Should().BeFalse(); } } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/TokenRequest Validation/TokenRequestValidation_ClientCredentials_Invalid.cs b/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/TokenRequest Validation/TokenRequestValidation_ClientCredentials_Invalid.cs index 56b8d281..49f97f1f 100644 --- a/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/TokenRequest Validation/TokenRequestValidation_ClientCredentials_Invalid.cs +++ b/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/TokenRequest Validation/TokenRequestValidation_ClientCredentials_Invalid.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System.Collections.Specialized; @@ -173,4 +170,4 @@ public async Task Resource_and_Refresh_Token() result.Error.Should().Be(OidcConstants.TokenErrors.InvalidScope); } } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/TokenRequest Validation/TokenRequestValidation_Code_Invalid.cs b/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/TokenRequest Validation/TokenRequestValidation_Code_Invalid.cs index f661bda3..2b61c1f5 100644 --- a/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/TokenRequest Validation/TokenRequestValidation_Code_Invalid.cs +++ b/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/TokenRequest Validation/TokenRequestValidation_Code_Invalid.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System; @@ -418,4 +415,4 @@ public async Task Code_Request_with_disabled_User() result.Error.Should().Be(OidcConstants.TokenErrors.InvalidGrant); } } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/TokenRequest Validation/TokenRequestValidation_DeviceCode_Invalid.cs b/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/TokenRequest Validation/TokenRequestValidation_DeviceCode_Invalid.cs index 787ee6cf..19263445 100644 --- a/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/TokenRequest Validation/TokenRequestValidation_DeviceCode_Invalid.cs +++ b/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/TokenRequest Validation/TokenRequestValidation_DeviceCode_Invalid.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System; @@ -122,4 +119,4 @@ public async Task DeviceCodeValidator_Failure() result.Error.Should().NotBeNull(); } } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/TokenRequest Validation/TokenRequestValidation_ExtensionGrants_Invalid.cs b/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/TokenRequest Validation/TokenRequestValidation_ExtensionGrants_Invalid.cs index 61eb02a1..d3008ac0 100644 --- a/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/TokenRequest Validation/TokenRequestValidation_ExtensionGrants_Invalid.cs +++ b/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/TokenRequest Validation/TokenRequestValidation_ExtensionGrants_Invalid.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System.Collections.Specialized; @@ -111,4 +108,4 @@ public async Task inactive_user_should_fail() result.IsError.Should().BeTrue(); } } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/TokenRequest Validation/TokenRequestValidation_General_Invalid.cs b/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/TokenRequest Validation/TokenRequestValidation_General_Invalid.cs index ba5aea39..2592e760 100644 --- a/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/TokenRequest Validation/TokenRequestValidation_General_Invalid.cs +++ b/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/TokenRequest Validation/TokenRequestValidation_General_Invalid.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System; @@ -145,4 +142,4 @@ public async Task Missing_Grant_Type() result.Error.Should().Be(OidcConstants.TokenErrors.UnsupportedGrantType); } } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/TokenRequest Validation/TokenRequestValidation_PKCE.cs b/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/TokenRequest Validation/TokenRequestValidation_PKCE.cs index affe6f7d..1a23d622 100644 --- a/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/TokenRequest Validation/TokenRequestValidation_PKCE.cs +++ b/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/TokenRequest Validation/TokenRequestValidation_PKCE.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System; @@ -337,4 +334,4 @@ private static string VerifierToSha256CodeChallenge(string codeVerifier) return transformedCodeVerifier; } } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/TokenRequest Validation/TokenRequestValidation_RefreshToken_Invalid.cs b/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/TokenRequest Validation/TokenRequestValidation_RefreshToken_Invalid.cs index 87e3aa99..0bab3a70 100644 --- a/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/TokenRequest Validation/TokenRequestValidation_RefreshToken_Invalid.cs +++ b/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/TokenRequest Validation/TokenRequestValidation_RefreshToken_Invalid.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System; @@ -202,4 +199,4 @@ public async Task RefreshToken_Request_with_disabled_User() result.Error.Should().Be(OidcConstants.TokenErrors.InvalidGrant); } } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/TokenRequest Validation/TokenRequestValidation_ResourceOwner_Invalid.cs b/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/TokenRequest Validation/TokenRequestValidation_ResourceOwner_Invalid.cs index ba9430e1..2ab7f38c 100644 --- a/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/TokenRequest Validation/TokenRequestValidation_ResourceOwner_Invalid.cs +++ b/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/TokenRequest Validation/TokenRequestValidation_ResourceOwner_Invalid.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System.Collections.Specialized; @@ -256,4 +253,4 @@ public async Task Password_GrantType_With_Custom_ErrorDescription() result.ErrorDescription.Should().Be("custom error description"); } } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/TokenRequest Validation/TokenRequestValidation_Valid.cs b/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/TokenRequest Validation/TokenRequestValidation_Valid.cs index 5a7bd79b..4937e991 100644 --- a/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/TokenRequest Validation/TokenRequestValidation_Valid.cs +++ b/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/TokenRequest Validation/TokenRequestValidation_Valid.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using System; @@ -363,4 +360,4 @@ public async Task Valid_device_code_request_should_succeed() result.IsError.Should().BeFalse(); } } -} \ No newline at end of file +} diff --git a/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/UserInfoRequestValidation.cs b/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/UserInfoRequestValidation.cs index b8032c5d..569bf814 100644 --- a/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/UserInfoRequestValidation.cs +++ b/src/IdentityServer8/test/IdentityServer.UnitTests/Validation/UserInfoRequestValidation.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using FluentAssertions; @@ -102,4 +99,4 @@ public async Task inactive_user_should_fail() result.Error.Should().Be(OidcConstants.ProtectedResourceErrors.InvalidToken); } } -} \ No newline at end of file +} diff --git a/src/Security/IdentityServer8.Security/Extensions.cs b/src/Security/IdentityServer8.Security/Extensions.cs index 7916a944..c5a18dc5 100644 --- a/src/Security/IdentityServer8.Security/Extensions.cs +++ b/src/Security/IdentityServer8.Security/Extensions.cs @@ -1,3 +1,15 @@ +/* + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ + + Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. + + Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. + Source code and license this software can be found + + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. +*/ + namespace Microsoft.DependencyInjection.Extensions; public class Ioc diff --git a/src/Security/IdentityServer8.Security/Extensions1.cs b/src/Security/IdentityServer8.Security/Extensions1.cs index 32c8184b..a78ec29b 100644 --- a/src/Security/IdentityServer8.Security/Extensions1.cs +++ b/src/Security/IdentityServer8.Security/Extensions1.cs @@ -1,3 +1,15 @@ +/* + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ + + Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. + + Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. + Source code and license this software can be found + + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. +*/ + namespace Microsoft.DependencyInjection.Extensions; public static class RedirectUrlServiceExtensions diff --git a/src/Security/IdentityServer8.Security/GlobalUsings.cs b/src/Security/IdentityServer8.Security/GlobalUsings.cs index 537bee75..9e500241 100644 --- a/src/Security/IdentityServer8.Security/GlobalUsings.cs +++ b/src/Security/IdentityServer8.Security/GlobalUsings.cs @@ -1,14 +1,19 @@ +/* + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ + + Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. + + Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. + Source code and license this software can be found + + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. +*/ + global using IdentityServer8.Security; global using Microsoft.AspNetCore.Http; -global using Microsoft.AspNetCore.Mvc; global using Microsoft.DependencyInjection.Extensions; global using Microsoft.Extensions.DependencyInjection; global using Microsoft.Extensions.Logging; -global using System; -global using System.Collections.Generic; -global using System.Linq; global using System.Net; -global using System.Runtime.CompilerServices; -global using System.Text; -global using System.Threading.Tasks; -global using System.Web; \ No newline at end of file +global using System.Web; diff --git a/src/Security/IdentityServer8.Security/RedirectService.cs b/src/Security/IdentityServer8.Security/RedirectService.cs index b8702c7b..ba278fa5 100644 --- a/src/Security/IdentityServer8.Security/RedirectService.cs +++ b/src/Security/IdentityServer8.Security/RedirectService.cs @@ -1,3 +1,15 @@ +/* + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ + + Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. + + Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. + Source code and license this software can be found + + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. +*/ + namespace IdentityServer8.Security; public interface IRedirectService diff --git a/src/Security/IdentityServer8.Security/RedirectUrlParser.cs b/src/Security/IdentityServer8.Security/RedirectUrlParser.cs index 303fcee0..a37bc87e 100644 --- a/src/Security/IdentityServer8.Security/RedirectUrlParser.cs +++ b/src/Security/IdentityServer8.Security/RedirectUrlParser.cs @@ -1,3 +1,15 @@ +/* + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ + + Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. + + Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. + Source code and license this software can be found + + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. +*/ + namespace IdentityServer8.Security; public readonly ref struct RedirectUrlS diff --git a/src/Security/IdentityServer8.Security/Sanitizer.cs b/src/Security/IdentityServer8.Security/Sanitizer.cs index 624f09e1..19bb6d51 100644 --- a/src/Security/IdentityServer8.Security/Sanitizer.cs +++ b/src/Security/IdentityServer8.Security/Sanitizer.cs @@ -1,3 +1,15 @@ +/* + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ + + Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. + + Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. + Source code and license this software can be found + + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. +*/ + namespace IdentityServer8.Security; public enum SanitizerType diff --git a/src/Security/test/IdentityServer8.Santizer.Tests/RedirectServiceTests.cs b/src/Security/test/IdentityServer8.Santizer.Tests/RedirectServiceTests.cs index 453ab7af..1fbfa1b7 100644 --- a/src/Security/test/IdentityServer8.Santizer.Tests/RedirectServiceTests.cs +++ b/src/Security/test/IdentityServer8.Santizer.Tests/RedirectServiceTests.cs @@ -1,3 +1,15 @@ +/* + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ + + Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. + + Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. + Source code and license this software can be found + + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. +*/ + using Xunit; using IdentityServer8.Security; using System; @@ -109,4 +121,4 @@ public void IsRedirectAllowedTest() { } -} \ No newline at end of file +} diff --git a/src/Security/test/IdentityServer8.Santizer.Tests/Services/SanitizerTests.cs b/src/Security/test/IdentityServer8.Santizer.Tests/Services/SanitizerTests.cs index 7ac0455a..31ba431f 100644 --- a/src/Security/test/IdentityServer8.Santizer.Tests/Services/SanitizerTests.cs +++ b/src/Security/test/IdentityServer8.Santizer.Tests/Services/SanitizerTests.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ using Microsoft.Extensions.DependencyInjection; @@ -198,4 +195,4 @@ private void Log(string expected, string output) Debug.WriteLine("Expected: " + expected); Debug.WriteLine("Output: " + output); } -} \ No newline at end of file +} diff --git a/src/Storage/build/Program.cs b/src/Storage/build/Program.cs index 170cb2c3..86fd09aa 100644 --- a/src/Storage/build/Program.cs +++ b/src/Storage/build/Program.cs @@ -1,4 +1,16 @@ -namespace build +/* + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ + + Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. + + Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. + Source code and license this software can be found + + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. +*/ + +namespace build { partial class Program { diff --git a/src/Storage/src/Constants.cs b/src/Storage/src/Constants.cs index 0ba0deb3..02a55e46 100644 --- a/src/Storage/src/Constants.cs +++ b/src/Storage/src/Constants.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServer8; diff --git a/src/Storage/src/Extensions/IEnumerableExtensions.cs b/src/Storage/src/Extensions/IEnumerableExtensions.cs index 2758e081..2781e0a0 100644 --- a/src/Storage/src/Extensions/IEnumerableExtensions.cs +++ b/src/Storage/src/Extensions/IEnumerableExtensions.cs @@ -1,19 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ - #pragma warning disable 1591 namespace IdentityServer8.Extensions; diff --git a/src/Storage/src/Extensions/PersistedGrantFilterExtensions.cs b/src/Storage/src/Extensions/PersistedGrantFilterExtensions.cs index 8d9b87c0..218eaa27 100644 --- a/src/Storage/src/Extensions/PersistedGrantFilterExtensions.cs +++ b/src/Storage/src/Extensions/PersistedGrantFilterExtensions.cs @@ -1,19 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ - namespace IdentityServer8.Extensions; /// diff --git a/src/Storage/src/Extensions/StringsExtensions.cs b/src/Storage/src/Extensions/StringsExtensions.cs index b86e4c67..a70f11df 100644 --- a/src/Storage/src/Extensions/StringsExtensions.cs +++ b/src/Storage/src/Extensions/StringsExtensions.cs @@ -1,19 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ - namespace IdentityServer8.Extensions; internal static class StringExtensions diff --git a/src/Storage/src/GlobalUsings.cs b/src/Storage/src/GlobalUsings.cs index 722e632b..bbaae692 100644 --- a/src/Storage/src/GlobalUsings.cs +++ b/src/Storage/src/GlobalUsings.cs @@ -1,13 +1,22 @@ +/* + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ + + Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. + + Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. + Source code and license this software can be found + + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. +*/ + global using IdentityModel; global using IdentityServer8.Extensions; global using IdentityServer8.Models; global using IdentityServer8.Stores; global using Newtonsoft.Json; global using Newtonsoft.Json.Serialization; -global using System; global using System.Collections; -global using System.Collections.Generic; global using System.Diagnostics; -global using System.Linq; global using System.Security.Claims; -global using System.Threading.Tasks; \ No newline at end of file + diff --git a/src/Storage/src/IdentityServerConstants.cs b/src/Storage/src/IdentityServerConstants.cs index 5a91f9eb..d0068394 100644 --- a/src/Storage/src/IdentityServerConstants.cs +++ b/src/Storage/src/IdentityServerConstants.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ #pragma warning disable 1591 diff --git a/src/Storage/src/IdentityServerUser.cs b/src/Storage/src/IdentityServerUser.cs index 7067a7a1..68bb1e9a 100644 --- a/src/Storage/src/IdentityServerUser.cs +++ b/src/Storage/src/IdentityServerUser.cs @@ -1,19 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ - namespace IdentityServer8; /// diff --git a/src/Storage/src/Models/ApiResource.cs b/src/Storage/src/Models/ApiResource.cs index ae265bc6..8070c2ac 100644 --- a/src/Storage/src/Models/ApiResource.cs +++ b/src/Storage/src/Models/ApiResource.cs @@ -1,19 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ - namespace IdentityServer8.Models; /// diff --git a/src/Storage/src/Models/ApiScope.cs b/src/Storage/src/Models/ApiScope.cs index ef1e8b9f..ae89ec41 100644 --- a/src/Storage/src/Models/ApiScope.cs +++ b/src/Storage/src/Models/ApiScope.cs @@ -1,19 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ - namespace IdentityServer8.Models; /// diff --git a/src/Storage/src/Models/AuthorizationCode.cs b/src/Storage/src/Models/AuthorizationCode.cs index eff0b7f9..89e42bc1 100644 --- a/src/Storage/src/Models/AuthorizationCode.cs +++ b/src/Storage/src/Models/AuthorizationCode.cs @@ -1,19 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ - namespace IdentityServer8.Models; /// diff --git a/src/Storage/src/Models/Client.cs b/src/Storage/src/Models/Client.cs index 2f471a6d..394bb6ad 100644 --- a/src/Storage/src/Models/Client.cs +++ b/src/Storage/src/Models/Client.cs @@ -1,19 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ - namespace IdentityServer8.Models; /// diff --git a/src/Storage/src/Models/ClientClaim.cs b/src/Storage/src/Models/ClientClaim.cs index 74e4cee9..6b06d631 100644 --- a/src/Storage/src/Models/ClientClaim.cs +++ b/src/Storage/src/Models/ClientClaim.cs @@ -1,19 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ - namespace IdentityServer8.Models; /// diff --git a/src/Storage/src/Models/Consent.cs b/src/Storage/src/Models/Consent.cs index 1961ac67..d529e3ae 100644 --- a/src/Storage/src/Models/Consent.cs +++ b/src/Storage/src/Models/Consent.cs @@ -1,19 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ - namespace IdentityServer8.Models; /// diff --git a/src/Storage/src/Models/DeviceCode.cs b/src/Storage/src/Models/DeviceCode.cs index 14e34eed..bb7e3590 100644 --- a/src/Storage/src/Models/DeviceCode.cs +++ b/src/Storage/src/Models/DeviceCode.cs @@ -1,19 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ - namespace IdentityServer8.Models; /// diff --git a/src/Storage/src/Models/Enums.cs b/src/Storage/src/Models/Enums.cs index 0dae7d9d..71c321f0 100644 --- a/src/Storage/src/Models/Enums.cs +++ b/src/Storage/src/Models/Enums.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServer8.Models; diff --git a/src/Storage/src/Models/GrantType.cs b/src/Storage/src/Models/GrantType.cs index 60c71ea2..45c9db13 100644 --- a/src/Storage/src/Models/GrantType.cs +++ b/src/Storage/src/Models/GrantType.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ #pragma warning disable 1591 diff --git a/src/Storage/src/Models/IdentityResource.cs b/src/Storage/src/Models/IdentityResource.cs index 3c7c02b4..a4328beb 100644 --- a/src/Storage/src/Models/IdentityResource.cs +++ b/src/Storage/src/Models/IdentityResource.cs @@ -1,19 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ - namespace IdentityServer8.Models; /// diff --git a/src/Storage/src/Models/PersistedGrant.cs b/src/Storage/src/Models/PersistedGrant.cs index da597def..cb88c3b4 100644 --- a/src/Storage/src/Models/PersistedGrant.cs +++ b/src/Storage/src/Models/PersistedGrant.cs @@ -1,19 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ - namespace IdentityServer8.Models; /// diff --git a/src/Storage/src/Models/RefreshToken.cs b/src/Storage/src/Models/RefreshToken.cs index b59d5d78..e081b026 100644 --- a/src/Storage/src/Models/RefreshToken.cs +++ b/src/Storage/src/Models/RefreshToken.cs @@ -1,19 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ - namespace IdentityServer8.Models; /// diff --git a/src/Storage/src/Models/Resource.cs b/src/Storage/src/Models/Resource.cs index 3b9519b2..68508040 100644 --- a/src/Storage/src/Models/Resource.cs +++ b/src/Storage/src/Models/Resource.cs @@ -1,19 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ - namespace IdentityServer8.Models; /// diff --git a/src/Storage/src/Models/Resources.cs b/src/Storage/src/Models/Resources.cs index c595b206..3ba98ae5 100644 --- a/src/Storage/src/Models/Resources.cs +++ b/src/Storage/src/Models/Resources.cs @@ -1,19 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ - namespace IdentityServer8.Models; /// diff --git a/src/Storage/src/Models/Secret.cs b/src/Storage/src/Models/Secret.cs index 3f7ba164..14b175fd 100644 --- a/src/Storage/src/Models/Secret.cs +++ b/src/Storage/src/Models/Secret.cs @@ -1,19 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ - namespace IdentityServer8.Models; /// diff --git a/src/Storage/src/Models/Token.cs b/src/Storage/src/Models/Token.cs index f48ea2f6..e56d6a2d 100644 --- a/src/Storage/src/Models/Token.cs +++ b/src/Storage/src/Models/Token.cs @@ -1,19 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ - namespace IdentityServer8.Models; /// diff --git a/src/Storage/src/Services/ICorsPolicyService.cs b/src/Storage/src/Services/ICorsPolicyService.cs index a0c31f45..7ea20531 100644 --- a/src/Storage/src/Services/ICorsPolicyService.cs +++ b/src/Storage/src/Services/ICorsPolicyService.cs @@ -1,19 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ - namespace IdentityServer8.Services; /// diff --git a/src/Storage/src/Stores/IAuthorizationCodeStore.cs b/src/Storage/src/Stores/IAuthorizationCodeStore.cs index 49ebb699..3b35a33d 100644 --- a/src/Storage/src/Stores/IAuthorizationCodeStore.cs +++ b/src/Storage/src/Stores/IAuthorizationCodeStore.cs @@ -1,19 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ - namespace IdentityServer8.Stores; /// diff --git a/src/Storage/src/Stores/IClientStore.cs b/src/Storage/src/Stores/IClientStore.cs index ae26e568..62a4a92f 100644 --- a/src/Storage/src/Stores/IClientStore.cs +++ b/src/Storage/src/Stores/IClientStore.cs @@ -1,19 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ - namespace IdentityServer8.Stores; /// diff --git a/src/Storage/src/Stores/IDeviceFlowStore.cs b/src/Storage/src/Stores/IDeviceFlowStore.cs index b7dfa485..6e715c6d 100644 --- a/src/Storage/src/Stores/IDeviceFlowStore.cs +++ b/src/Storage/src/Stores/IDeviceFlowStore.cs @@ -1,19 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ - namespace IdentityServer8.Stores; /// diff --git a/src/Storage/src/Stores/IPersistedGrantStore.cs b/src/Storage/src/Stores/IPersistedGrantStore.cs index 64f3cc2b..aeeee50a 100644 --- a/src/Storage/src/Stores/IPersistedGrantStore.cs +++ b/src/Storage/src/Stores/IPersistedGrantStore.cs @@ -1,19 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ - namespace IdentityServer8.Stores; /// diff --git a/src/Storage/src/Stores/IReferenceTokenStore.cs b/src/Storage/src/Stores/IReferenceTokenStore.cs index 716bba13..583152e5 100644 --- a/src/Storage/src/Stores/IReferenceTokenStore.cs +++ b/src/Storage/src/Stores/IReferenceTokenStore.cs @@ -1,19 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ - namespace IdentityServer8.Stores; /// diff --git a/src/Storage/src/Stores/IRefreshTokenStore.cs b/src/Storage/src/Stores/IRefreshTokenStore.cs index 053cfb98..b67db69e 100644 --- a/src/Storage/src/Stores/IRefreshTokenStore.cs +++ b/src/Storage/src/Stores/IRefreshTokenStore.cs @@ -1,19 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ - namespace IdentityServer8.Stores; /// diff --git a/src/Storage/src/Stores/IResourceStore.cs b/src/Storage/src/Stores/IResourceStore.cs index 196ec334..2ff4dab0 100644 --- a/src/Storage/src/Stores/IResourceStore.cs +++ b/src/Storage/src/Stores/IResourceStore.cs @@ -1,19 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ - namespace IdentityServer8.Stores; /// diff --git a/src/Storage/src/Stores/IUserConsentStore.cs b/src/Storage/src/Stores/IUserConsentStore.cs index 303b35f8..cd3eeadd 100644 --- a/src/Storage/src/Stores/IUserConsentStore.cs +++ b/src/Storage/src/Stores/IUserConsentStore.cs @@ -1,19 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ - namespace IdentityServer8.Stores; /// diff --git a/src/Storage/src/Stores/PersistedGrantFilter.cs b/src/Storage/src/Stores/PersistedGrantFilter.cs index c041458b..c423f99e 100644 --- a/src/Storage/src/Stores/PersistedGrantFilter.cs +++ b/src/Storage/src/Stores/PersistedGrantFilter.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServer8.Stores; diff --git a/src/Storage/src/Stores/Serialization/ClaimConverter.cs b/src/Storage/src/Stores/Serialization/ClaimConverter.cs index 4f683df7..55d1a1b4 100644 --- a/src/Storage/src/Stores/Serialization/ClaimConverter.cs +++ b/src/Storage/src/Stores/Serialization/ClaimConverter.cs @@ -1,19 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ - #pragma warning disable 1591 namespace IdentityServer8.Stores.Serialization; diff --git a/src/Storage/src/Stores/Serialization/ClaimLite.cs b/src/Storage/src/Stores/Serialization/ClaimLite.cs index 960b38ae..0188331f 100644 --- a/src/Storage/src/Stores/Serialization/ClaimLite.cs +++ b/src/Storage/src/Stores/Serialization/ClaimLite.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ #pragma warning disable 1591 diff --git a/src/Storage/src/Stores/Serialization/ClaimsPrincipalConverter.cs b/src/Storage/src/Stores/Serialization/ClaimsPrincipalConverter.cs index 1c54c82a..dfb7a08a 100644 --- a/src/Storage/src/Stores/Serialization/ClaimsPrincipalConverter.cs +++ b/src/Storage/src/Stores/Serialization/ClaimsPrincipalConverter.cs @@ -1,19 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ - #pragma warning disable 1591 namespace IdentityServer8.Stores.Serialization; diff --git a/src/Storage/src/Stores/Serialization/ClaimsPrincipalLite.cs b/src/Storage/src/Stores/Serialization/ClaimsPrincipalLite.cs index 54f6b0c8..13c8cb99 100644 --- a/src/Storage/src/Stores/Serialization/ClaimsPrincipalLite.cs +++ b/src/Storage/src/Stores/Serialization/ClaimsPrincipalLite.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ #pragma warning disable 1591 diff --git a/src/Storage/src/Stores/Serialization/CustomContractResolver.cs b/src/Storage/src/Stores/Serialization/CustomContractResolver.cs index 3b81148d..fe54ae8e 100644 --- a/src/Storage/src/Stores/Serialization/CustomContractResolver.cs +++ b/src/Storage/src/Stores/Serialization/CustomContractResolver.cs @@ -1,19 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ - #pragma warning disable 1591 namespace IdentityServer8.Stores.Serialization; diff --git a/src/Storage/src/Stores/Serialization/IPersistentGrantSerializer.cs b/src/Storage/src/Stores/Serialization/IPersistentGrantSerializer.cs index ee87ac19..2592e504 100644 --- a/src/Storage/src/Stores/Serialization/IPersistentGrantSerializer.cs +++ b/src/Storage/src/Stores/Serialization/IPersistentGrantSerializer.cs @@ -1,16 +1,13 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ namespace IdentityServer8.Stores.Serialization; diff --git a/src/Storage/src/Stores/Serialization/PersistentGrantSerializer.cs b/src/Storage/src/Stores/Serialization/PersistentGrantSerializer.cs index 640033b6..ea1c289c 100644 --- a/src/Storage/src/Stores/Serialization/PersistentGrantSerializer.cs +++ b/src/Storage/src/Stores/Serialization/PersistentGrantSerializer.cs @@ -1,19 +1,15 @@ /* - Copyright (c) 2024 HigginsSoft - Written by Alexander Higgins https://github.com/alexhiggins732/ - + Copyright (c) 2024 HigginsSoft, Alexander Higgins - https://github.com/alexhiggins732/ Copyright (c) 2018, Brock Allen & Dominick Baier. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. - Source code for this software can be found at https://github.com/alexhiggins732/IdentityServer8 + Source code and license this software can be found The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - */ - namespace IdentityServer8.Stores.Serialization; ///