1
0
mirror of https://git.teknik.io/Teknikode/Teknik.git synced 2023-08-02 14:16:22 +02:00
Teknik/Utilities/Configuration/GitConfig.cs
Uncled1023 181e20d86c - Added AES 128 CFB encrypt/decrypt with IV padding.
- Added helper to edit/remove two factor secrets to/from Git.
- Removed uneccessary references.
- Added initial Unit Tests.
2017-06-11 00:03:44 -07:00

34 lines
729 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Teknik.Configuration
{
public class GitConfig
{
public bool Enabled { get; set; }
public string Host { get; set; }
public string AccessToken { get; set; }
public string SecretKey { get; set; }
public int SourceId { get; set; }
public DatabaseConfig Database { get; set; }
public GitConfig()
{
Enabled = true;
Host = string.Empty;
AccessToken = string.Empty;
SecretKey = string.Empty;
SourceId = 1;
Database = new DatabaseConfig();
}
}
}