flowviz
Version:
A framework which provides seamless integration with other phylogenetic tools and frameworks, while allowing workflow scheduling and execution, through the Apache Airflow workflow system.
20 lines (16 loc) • 435 B
JavaScript
module.exports = (authDataSource) => {
async function register(user) {
return await authDataSource.register(user);
}
async function getUserByName(username) {
return await authDataSource.getUserByName(username);
}
async function deleteUser(username) {
return await authDataSource.deleteUser(username);
}
return {
deleteUser: deleteUser,
register: register,
getUserByName: getUserByName,
};
};