blob: 33684e03e294f953be204673242f75ae1c9efdf7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
using PKISharp.WACS.Plugins.Base;
using PKISharp.WACS.Services;
namespace PKISharp.WACS.Plugins.ValidationPlugins.Http
{
[Plugin("1c77b3a4-5310-4c46-92c6-00d866e84d6b")]
internal class FileSystemOptions : HttpValidationOptions<FileSystem>
{
public override string Name => "FileSystem";
public override string Description => "Save verification files on (network) path";
public FileSystemOptions() : base() { }
public FileSystemOptions(HttpValidationOptions<FileSystem> source) : base(source) { }
/// <summary>
/// Alternative site for validation. The path will be
/// determined from this site on each validation attempt
/// </summary>
public long? SiteId { get; set; }
/// <summary>
/// Show to use what has been configured
/// </summary>
/// <param name="input"></param>
public override void Show(IInputService input)
{
base.Show(input);
if (SiteId != null)
{
input.Show("Site", SiteId.ToString());
}
}
}
}
|