init
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
using System.Configuration;
|
||||
|
||||
namespace Kreta.Web.Configuration
|
||||
{
|
||||
public class IdpConfiguration : ConfigurationSection, IIdpConfiguration
|
||||
{
|
||||
[ConfigurationProperty(nameof(AuthenticationTokenKey), IsRequired = true)]
|
||||
public string AuthenticationTokenKey => (string)base[nameof(AuthenticationTokenKey)];
|
||||
|
||||
[ConfigurationProperty(nameof(LogoutUrl), IsRequired = true)]
|
||||
public string LogoutUrl => (string)base[nameof(LogoutUrl)];
|
||||
|
||||
[ConfigurationProperty(nameof(LoginEnabled), IsRequired = true)]
|
||||
public bool LoginEnabled => (bool)base[nameof(LoginEnabled)];
|
||||
|
||||
[ConfigurationProperty(nameof(RequirePkce), IsRequired = true)]
|
||||
public bool RequirePkce => (bool)base[nameof(RequirePkce)];
|
||||
|
||||
[ConfigurationProperty(nameof(Authority), IsRequired = true)]
|
||||
public string Authority => (string)base[nameof(Authority)];
|
||||
|
||||
[ConfigurationProperty(nameof(ClientId), IsRequired = true)]
|
||||
public string ClientId => (string)base[nameof(ClientId)];
|
||||
|
||||
[ConfigurationProperty(nameof(Scope), IsRequired = true)]
|
||||
public string Scope => (string)base[nameof(Scope)];
|
||||
|
||||
[ConfigurationProperty(nameof(RedirectUri), IsRequired = true)]
|
||||
public string RedirectUri => (string)base[nameof(RedirectUri)];
|
||||
|
||||
[ConfigurationProperty(nameof(PostLogoutRedirectUri), IsRequired = true)]
|
||||
public string PostLogoutRedirectUri => (string)base[nameof(PostLogoutRedirectUri)];
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user