blob: 8ec79a94a66b170e15124ed45e9b82470d83f8e9 [file] [log] [blame]
// Licensed to the Apache Software Foundation (ASF) under one or more contributor
// license agreements; and to You under the Apache License, Version 2.0.
function handleAuth(triggerData) {
var auth = triggerData.apikey.split(':');
return Promise.resolve({
user: auth[0],
pass: auth[1]
});
}
module.exports = {
'handleAuth': handleAuth
};