add support for DNS validation

- new constant Client::VALIDATION_DNS
- added Authorization::getDnsChallenge to get the challenge
- added Authorization::getTxtRecord to get the TXT record value
- added Helper::waitForDNS to provide an easy way to wait for changes
- updated documentation to illustrate DNS validation
This commit is contained in:
Paul Dixon committed 2020-03-17 18:27:27 +00:00
1 parent 4c7b6b8e60
commit c2532e0dab
4 files changed
+111

No files matched your search

+5
View File
@@ -55,6 +55,11 @@ class Client
*/
const VALIDATION_HTTP = 'http-01';
/**
* DNS validation
*/
const VALIDATION_DNS = 'dns-01';
/**
* @var string
*/