Switched to Device code authentication
This commit is contained in:
@@ -7,21 +7,11 @@ public sealed class ConfigData {
|
||||
public string IncludeFile { get; }
|
||||
public int KeepLast { get; }
|
||||
|
||||
public string TenantId { get; }
|
||||
public string ClientId { get; }
|
||||
public string ClientSecret { get; }
|
||||
public string UserId { get; }
|
||||
|
||||
public ConfigData(IConfiguration config) {
|
||||
Schedule = config["Schedule"]!;
|
||||
BackupUploadRoot = config["UploadRoot"]!;
|
||||
LocalRoot = config["LocalRoot"]!;
|
||||
IncludeFile = config["IncludeFile"]!;
|
||||
KeepLast = int.Parse(config["KeepLast"]!);
|
||||
|
||||
TenantId = config["TenantId"]!;
|
||||
ClientId = config["ClientId"]!;
|
||||
ClientSecret = config["ClientSecret"]!;
|
||||
UserId = config["UserId"]!;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user