init
This commit is contained in:
commit
e124a47765
19374 changed files with 9806149 additions and 0 deletions
|
@ -0,0 +1,19 @@
|
|||
using System.Configuration;
|
||||
|
||||
namespace Kreta.Client.GlobalApi.Configuration
|
||||
{
|
||||
public class GlobalApiConfiguration : ConfigurationSection, IGlobalApiConfiguration
|
||||
{
|
||||
[ConfigurationProperty(nameof(GlobalApiUrl), IsRequired = true)]
|
||||
public string GlobalApiUrl => (string)this[nameof(GlobalApiUrl)];
|
||||
|
||||
[ConfigurationProperty(nameof(TokenUrl), IsRequired = true)]
|
||||
public string TokenUrl => (string)this[nameof(TokenUrl)];
|
||||
|
||||
[ConfigurationProperty(nameof(ClientId), IsRequired = true)]
|
||||
public string ClientId => (string)this[nameof(ClientId)];
|
||||
|
||||
[ConfigurationProperty(nameof(ClientSecret), IsRequired = true)]
|
||||
public string ClientSecret => (string)this[nameof(ClientSecret)];
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue