public void CleanUp(ChallengeHandlingContext ctx) { AssertNotDisposed(); DnsChallenge challenge = (DnsChallenge)ctx.Challenge; var helper = new OvhHelper(Endpoint, ApplicationKey, ApplicationSecret, ConsumerKey); helper.DeleteDnsRecord(challenge.RecordName); }
public void Handle(ChallengeHandlingContext ctx) { AssertNotDisposed(); DnsChallenge challenge = (DnsChallenge)ctx.Challenge; var helper = new OvhHelper(Endpoint, ApplicationKey, ApplicationSecret, ConsumerKey); helper.AddOrUpdateDnsRecord(challenge.RecordName, GetCleanedRecordValue(challenge.RecordValue)); }