@corbinu/couchbase
Version:
The unofficial Couchbase Node.js Client Library.
20 lines (17 loc) • 404 B
JavaScript
;
/**
* PasswordAuthenticator provides an authenticator implementation
* which uses a Role Based Access Control Username and Password.
*/
class PasswordAuthenticator {
/**
*
* @param {string} username
* @param {string} password
*/
constructor(username, password) {
this.username = username;
this.password = password;
}
}
module.exports = PasswordAuthenticator;