WIP Manual Renew Function
This commit is contained in:
parent
5163463dd2
commit
33a0362524
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue