diff --git a/README.md b/README.md index 662847e..4c53a1c 100644 --- a/README.md +++ b/README.md @@ -40,7 +40,7 @@ The Goodies ```javascript // Accounts -LeCore.registerNewAccount(options, cb) // returns (err, acmeUrls={newReg,newAuthz,newCert,revokeCert}) +LeCore.registerNewAccount(options, cb) // returns "regr" registration data { newRegUrl: '' // no defaults, specify acmeUrls.newAuthz , email: '' // valid email (server checks MX records) @@ -61,6 +61,9 @@ LeCore.getCertificate(options, cb) // returns (err, pems={ key, cert, , setChallenge: fn (hostname, key, val, cb) , removeChallenge: fn (hostname, key, cb) } + +// Discovery URLs +LeCore.getAcmeUrls(acmeDiscoveryUrl, cb) // returns (err, acmeUrls={newReg,newAuthz,newCert,revokeCert}) ``` Helpers & Stuff