<commit_before>/*
 * Can this authentication.js take care of some more authentication tasks  ...?
 * http://docs.strongloop.com/display/public/LB/Making+authenticated+requests
 * 
 */
module.exports = function enableAuthentication(server) {
  // enable authentication
  server.enableAuth();
};<commit_msg>server and token cookie questions<commit_after>/*
 * Can this authentication.js take care of some more authentication tasks  ...?
 * http://docs.strongloop.com/display/public/LB/Making+authenticated+requests
 * http://docs.strongloop.com/display/public/LB/Working+with+LoopBack+objects
 * http://docs.strongloop.com/display/public/LB/Working+with+LoopBack+objects#WorkingwithLoopBackobjects-Fromabootscript
 */
 /*
* - where does server come from, can only find ref to app in boot
* - can one get server from app and change to:
* module.exports = funcion(app){
*   app.something.server.enableAuth();
*   app.use(loopback.token({ model: app.models.accessToken }));
* }
*/
module.exports = function enableAuthentication(server) { 
  // enable authentication
  server.enableAuth();
};
{'fraction_non_alphanumeric': 0.13167587476979742, 'fraction_numerical': 0.0, 'mean_word_length': 4.661458333333333, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3491179', 'n_tokens_mistral': 316, 'n_tokens_neox': 302, 'n_words': 70}