From 94b5e9c1dc433ca17d092413feabfd17b6ea07db Mon Sep 17 00:00:00 2001 From: Stuart Ferguson Date: Tue, 7 Oct 2025 17:14:30 +0100 Subject: [PATCH] more issues fixed --- SecurityService.Models/AccountOptions.cs | 2 +- SecurityService.Models/ConsentOptions.cs | 2 +- .../Pages/Account/Login/LoginOptions.cs | 2 +- .../Pages/Account/Logout/LogoutOptions.cs | 2 +- SecurityService.UserInterface/Pages/Ciba/ConsentOptions.cs | 2 +- SecurityService.UserInterface/Pages/Consent/ConsentOptions.cs | 2 +- SecurityService.UserInterface/Pages/Device/DeviceOptions.cs | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/SecurityService.Models/AccountOptions.cs b/SecurityService.Models/AccountOptions.cs index 87500a19..0e25dd84 100644 --- a/SecurityService.Models/AccountOptions.cs +++ b/SecurityService.Models/AccountOptions.cs @@ -4,7 +4,7 @@ using System.Diagnostics.CodeAnalysis; [ExcludeFromCodeCoverage] - public class AccountOptions + public static class AccountOptions { #region Fields diff --git a/SecurityService.Models/ConsentOptions.cs b/SecurityService.Models/ConsentOptions.cs index fbad4bcb..414c25ef 100644 --- a/SecurityService.Models/ConsentOptions.cs +++ b/SecurityService.Models/ConsentOptions.cs @@ -4,7 +4,7 @@ using System.Diagnostics.CodeAnalysis; [ExcludeFromCodeCoverage] - public class ConsentOptions + public static class ConsentOptions { #region Fields diff --git a/SecurityService.UserInterface/Pages/Account/Login/LoginOptions.cs b/SecurityService.UserInterface/Pages/Account/Login/LoginOptions.cs index 7e11c7b7..1f994515 100644 --- a/SecurityService.UserInterface/Pages/Account/Login/LoginOptions.cs +++ b/SecurityService.UserInterface/Pages/Account/Login/LoginOptions.cs @@ -2,7 +2,7 @@ namespace IdentityServerHost.Pages.Login; using System; -public class LoginOptions +public static class LoginOptions { public static readonly bool AllowLocalLogin = true; public static readonly bool AllowRememberLogin = true; diff --git a/SecurityService.UserInterface/Pages/Account/Logout/LogoutOptions.cs b/SecurityService.UserInterface/Pages/Account/Logout/LogoutOptions.cs index 40e357dc..e395c303 100644 --- a/SecurityService.UserInterface/Pages/Account/Logout/LogoutOptions.cs +++ b/SecurityService.UserInterface/Pages/Account/Logout/LogoutOptions.cs @@ -1,7 +1,7 @@ namespace IdentityServerHost.Pages.Logout; -public class LogoutOptions +public static class LogoutOptions { public static readonly bool ShowLogoutPrompt = true; public static readonly bool AutomaticRedirectAfterSignOut = false; diff --git a/SecurityService.UserInterface/Pages/Ciba/ConsentOptions.cs b/SecurityService.UserInterface/Pages/Ciba/ConsentOptions.cs index 169b6ee0..c7545fa9 100644 --- a/SecurityService.UserInterface/Pages/Ciba/ConsentOptions.cs +++ b/SecurityService.UserInterface/Pages/Ciba/ConsentOptions.cs @@ -4,7 +4,7 @@ namespace IdentityServerHost.Pages.Ciba; -public class ConsentOptions +public static class ConsentOptions { public static readonly bool EnableOfflineAccess = true; public static readonly string OfflineAccessDisplayName = "Offline Access"; diff --git a/SecurityService.UserInterface/Pages/Consent/ConsentOptions.cs b/SecurityService.UserInterface/Pages/Consent/ConsentOptions.cs index 75608dc2..3d6e4bb8 100644 --- a/SecurityService.UserInterface/Pages/Consent/ConsentOptions.cs +++ b/SecurityService.UserInterface/Pages/Consent/ConsentOptions.cs @@ -4,7 +4,7 @@ namespace IdentityServerHost.Pages.Consent; -public class ConsentOptions +public static class ConsentOptions { public static readonly bool EnableOfflineAccess = true; public static readonly string OfflineAccessDisplayName = "Offline Access"; diff --git a/SecurityService.UserInterface/Pages/Device/DeviceOptions.cs b/SecurityService.UserInterface/Pages/Device/DeviceOptions.cs index c93b3024..ab022d5a 100644 --- a/SecurityService.UserInterface/Pages/Device/DeviceOptions.cs +++ b/SecurityService.UserInterface/Pages/Device/DeviceOptions.cs @@ -4,7 +4,7 @@ namespace IdentityServerHost.Pages.Device; -public class DeviceOptions +public static class DeviceOptions { public static readonly bool EnableOfflineAccess = true; public static readonly string OfflineAccessDisplayName = "Offline Access";