lib/auth.js
function authedByUsername(username) {
  return _.first(_.where(context.authed, { username: username}));
}
function authedByUsername(username) {
  return _.first(_.where(context.authed, { username: username}));
}
function authedByUsername ( username ) { return _ . first ( _ . where ( context . authed , { username : username } ) ) ; }
Retrieve a user record by their username.
Retrieve a user record by their username .