mirror of
https://git.teknik.io/Teknikode/Teknik.git
synced 2023-08-02 14:16:22 +02:00
- Added helper to edit/remove two factor secrets to/from Git. - Removed uneccessary references. - Added initial Unit Tests.
34 lines
729 B
C#
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();
|
|
}
|
|
}
|
|
}
|