Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
TssSecretDetailSettings - migrate and update --> Thycotic.PowerShell.…
…Secrets.DetailSettings
- Loading branch information
Showing
18 changed files
with
114 additions
and
138 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
src/Thycotic.SecretServer/classes/secrets/DetailSettings.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
using System; | ||
using System.Threading.Tasks; | ||
using System.Management.Automation; | ||
using System.Management.Automation.Runspaces; | ||
|
||
namespace Thycotic.PowerShell.Secrets | ||
{ | ||
public class DetailSettings | ||
{ | ||
public DateTime? ExpirationDate { get; set; } | ||
public int ExpirationDayInterval { get; set; } | ||
public string ExpirationTemplateText { get; set; } | ||
public string ExpirationType { get; set; } | ||
public OneTimePasswordSettings OneTimePasswordSettings { get; set; } | ||
public RdpLauncherSettings RdpLauncherSettings { get; set; } | ||
public bool SendEmailWhenChanged { get; set; } | ||
public bool SendEmailWhenHeartbeatFails { get; set; } | ||
public bool SendEmailWhenViewed { get; set; } | ||
public SshLauncherSettings SshLauncherSettings { get; set; } | ||
} | ||
} |
16 changes: 16 additions & 0 deletions
16
src/Thycotic.SecretServer/classes/secrets/OneTimePasswordSettings.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
using System; | ||
using System.Threading.Tasks; | ||
using System.Management.Automation; | ||
using System.Management.Automation.Runspaces; | ||
|
||
namespace Thycotic.PowerShell.Secrets | ||
{ | ||
public class OneTimePasswordSettings | ||
{ | ||
public string BackupCodes { get; set; } | ||
public DateTime? DateChanged { get; set; } | ||
public bool Enabled { get; set; } | ||
public bool EnabledOnTemplate { get; set; } | ||
public string Key { get; set; } | ||
} | ||
} |
19 changes: 19 additions & 0 deletions
19
src/Thycotic.SecretServer/classes/secrets/RdpLauncherSettings.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
using System; | ||
using System.Threading.Tasks; | ||
using System.Management.Automation; | ||
using System.Management.Automation.Runspaces; | ||
|
||
namespace Thycotic.PowerShell.Secrets | ||
{ | ||
public class RdpLauncherSettings | ||
{ | ||
public string AllowClipboard { get; set; } | ||
public string AllowDrives { get; set; } | ||
public string AllowPrinters { get; set; } | ||
public string AllowSmartCards { get; set; } | ||
public string ConnectToConsole { get; set; } | ||
public int LauncherHeight { get; set; } | ||
public int LauncherWidth { get; set; } | ||
public string UseCustomLauncherResolution { get; set; } | ||
} | ||
} |
16 changes: 16 additions & 0 deletions
16
src/Thycotic.SecretServer/classes/secrets/SshLauncherSettings.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
using System; | ||
using System.Threading.Tasks; | ||
using System.Management.Automation; | ||
using System.Management.Automation.Runspaces; | ||
|
||
namespace Thycotic.PowerShell.Secrets | ||
{ | ||
public class SshLauncherSettings | ||
{ | ||
public bool CanConnectAsCredentials { get; set; } | ||
public string LauncherType { get; set; } | ||
public int SecretId { get; set; } | ||
public string SecretName { get; set; } | ||
public int SshKeyExtendedTypeId { get; set; } | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
16 changes: 0 additions & 16 deletions
16
src/classes/secrets/dependencies/TssOneTimePasswordSettings.class.ps1
This file was deleted.
Oops, something went wrong.
31 changes: 0 additions & 31 deletions
31
src/classes/secrets/dependencies/TssRdpLauncherSettings.class.ps1
This file was deleted.
Oops, something went wrong.
17 changes: 0 additions & 17 deletions
17
src/classes/secrets/dependencies/TssSshLauncherSettings.class.ps1
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.