diff --git a/oauth3.domains.js b/oauth3.domains.js index 2b5b0b0..ce72f40 100644 --- a/oauth3.domains.js +++ b/oauth3.domains.js @@ -45,6 +45,22 @@ OAUTH3.api['domains.list'] = function (providerUri, opts) { }); }; +/* TODO: Manual Renew Function +OAUTH3.api['domains.extend'] = function (providerUri, opts) { + var session = opts.session; + + return OAUTH3.request({ + method: 'POST' + , url: OAUTH3.url.normalize(providerUri) + + '/api/com.daplie.domains/accounts/' + session.token.sub + '/registrations' + , session: session + , data: opts.data + }).then(function (res) { + return res; + }); +}; +*/ + OAUTH3.api['ns.list'] = function (providerUri, opts) { var session = opts.session; var domain = opts.domain;