summaryrefslogtreecommitdiffstats
path: root/src/plugin.validation.dns.luadns/luadns.cs
diff options
context:
space:
mode:
authorWouter Tinus <wouter.tinus@gmail.com>2020-06-13 21:02:06 +0200
committerWouter Tinus <wouter.tinus@gmail.com>2020-06-13 21:02:06 +0200
commit07b22bf0c9252b1dd31baed18b0dbfcab8e9ca5f (patch)
treeaffd2bdb435a61059ec295bc361fad11402b9878 /src/plugin.validation.dns.luadns/luadns.cs
parentadc9ee46a8035538e4ac713aa34069697e5bc886 (diff)
downloadletsencrypt-win-simple-07b22bf0c9252b1dd31baed18b0dbfcab8e9ca5f.zip
letsencrypt-win-simple-07b22bf0c9252b1dd31baed18b0dbfcab8e9ca5f.tar.gz
letsencrypt-win-simple-07b22bf0c9252b1dd31baed18b0dbfcab8e9ca5f.tar.bz2
refactor validation plugisn to remove challenge specific items, allowing them to handle multiple challenges, which is required for parallel validation
Diffstat (limited to 'src/plugin.validation.dns.luadns/luadns.cs')
-rw-r--r--src/plugin.validation.dns.luadns/luadns.cs5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/plugin.validation.dns.luadns/luadns.cs b/src/plugin.validation.dns.luadns/luadns.cs
index 4935681..c03fbd7 100644
--- a/src/plugin.validation.dns.luadns/luadns.cs
+++ b/src/plugin.validation.dns.luadns/luadns.cs
@@ -1,4 +1,5 @@
using PKISharp.WACS.Clients.DNS;
+using PKISharp.WACS.Plugins.Interfaces;
using PKISharp.WACS.Services;
using System;
using System.Collections.Generic;
@@ -64,7 +65,7 @@ namespace PKISharp.WACS.Plugins.ValidationPlugins.Dns
_apiKey = options.APIKey.Value;
}
- public override async Task<bool> CreateRecord(string recordName, string token)
+ public override async Task<bool> CreateRecord(ValidationContext context, string recordName, string token)
{
_log.Information("Creating LuaDNS verification record");
@@ -101,7 +102,7 @@ namespace PKISharp.WACS.Plugins.ValidationPlugins.Dns
return true;
}
- public override async Task DeleteRecord(string recordName, string token)
+ public override async Task DeleteRecord(ValidationContext context, string recordName, string token)
{
if (!_recordsMap.ContainsKey(recordName))
{