Remove section comments
This commit is contained in:
parent
2d07c34060
commit
629a8ee9dd
@ -48,10 +48,6 @@ class PublicKey {
|
|||||||
this._userid = userid;
|
this._userid = userid;
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
|
||||||
// Create/Update
|
|
||||||
//
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Persist a new public key
|
* Persist a new public key
|
||||||
* @param {String} options.publicKeyArmored The ascii armored pgp key block
|
* @param {String} options.publicKeyArmored The ascii armored pgp key block
|
||||||
@ -106,10 +102,6 @@ class PublicKey {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
|
||||||
// Read
|
|
||||||
//
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Fetch a verified public key from the database. Either the key id or the
|
* Fetch a verified public key from the database. Either the key id or the
|
||||||
* email address muss be provided.
|
* email address muss be provided.
|
||||||
@ -130,10 +122,6 @@ class PublicKey {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
|
||||||
// Delete
|
|
||||||
//
|
|
||||||
|
|
||||||
flagForRemove() {
|
flagForRemove() {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -43,10 +43,6 @@ class UserId {
|
|||||||
this._mongo = mongo;
|
this._mongo = mongo;
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
|
||||||
// Create/Update
|
|
||||||
//
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Store a list of user ids. There can only be one verified user ID for
|
* Store a list of user ids. There can only be one verified user ID for
|
||||||
* an email address at any given time.
|
* an email address at any given time.
|
||||||
@ -62,10 +58,6 @@ class UserId {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
|
||||||
// Read
|
|
||||||
//
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get a verified user IDs either by key id or email address.
|
* Get a verified user IDs either by key id or email address.
|
||||||
* There can only be one verified user ID for an email address
|
* There can only be one verified user ID for an email address
|
||||||
@ -96,10 +88,6 @@ class UserId {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
|
||||||
// Delete
|
|
||||||
//
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Remove all user ids matching a certain query
|
* Remove all user ids matching a certain query
|
||||||
* @param {String} options.keyid The public key id
|
* @param {String} options.keyid The public key id
|
||||||
|
@ -33,10 +33,6 @@ class REST {
|
|||||||
this._publicKey = publicKey;
|
this._publicKey = publicKey;
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
|
||||||
// Create/Update
|
|
||||||
//
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Public key upload via http POST
|
* Public key upload via http POST
|
||||||
* @param {Object} ctx The koa request/response context
|
* @param {Object} ctx The koa request/response context
|
||||||
@ -55,10 +51,6 @@ class REST {
|
|||||||
yield;
|
yield;
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
|
||||||
// Read
|
|
||||||
//
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Public key fetch via http GET
|
* Public key fetch via http GET
|
||||||
* @param {Object} ctx The koa request/response context
|
* @param {Object} ctx The koa request/response context
|
||||||
@ -83,10 +75,6 @@ class REST {
|
|||||||
ctx.body = (yield this._publicKey.get(q)).publicKeyArmored;
|
ctx.body = (yield this._publicKey.get(q)).publicKeyArmored;
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
|
||||||
// Delete
|
|
||||||
//
|
|
||||||
|
|
||||||
*remove(ctx) {
|
*remove(ctx) {
|
||||||
ctx.throw(501, 'Not implemented!');
|
ctx.throw(501, 'Not implemented!');
|
||||||
yield;
|
yield;
|
||||||
|
Loading…
Reference in New Issue
Block a user