This commit is contained in:
AJ ONeal 2015-12-12 22:22:56 +00:00
parent d95a265530
commit c5f77c9339
1 changed files with 2 additions and 2 deletions

View File

@ -220,8 +220,8 @@ Backends
A backend must implement (or be wrapped to implement) this API:
* fetch(hostname, cb) will cb(err, certs) will get registered certs or null unless there is an error
* register(args, challengeCb, done) will register and or renew a cert
* `fetch(hostname, cb)` will cb(err, certs) with certs from disk (or null or error)
* `register(args, challengeCb, done)` will register and or renew a cert
* args = `{ domains, email, agreeTos }` MUST check that agreeTos === true
* challengeCb = `function (challenge, cb) { }` handle challenge as needed, call cb()