<commit_before>﻿using System;
using Glympse.EnRoute;

namespace EnRouteDemo
{
    /**
     * Demonstrates the use of basic authentication. 
     */ 
    public class Auth
    {
        private static EnRouteDemo.Listener _listener;

        private static String _driverEmail = "<EMAIL>";
        private static String _driverPassword = "ah";

        public static void onAppStart(GEnRouteManager manager)
        {
            _listener = new EnRouteDemo.Listener();
            manager.addListener(_listener);
            manager.setAuthenticationMode(EnRouteConstants.AUTH_MODE_CREDENTIALS);
            manager.start();
        }

        public static void onDriverLogout(GEnRouteManager manager)
        {
            manager.logout(EnRouteConstants.LOGOUT_REASON_USER_ACTION);
        }

        public static void login(GEnRouteManager manager)
        {
            manager.loginWithCredentials(_driverEmail, _driverPassword);
        }
    }
}
<commit_msg>Removing internal credentials from sample project.<commit_after>﻿using System;
using Glympse.EnRoute;

namespace EnRouteDemo
{
    /**
     * Demonstrates the use of basic authentication. 
     */ 
    public class Auth
    {
        private static EnRouteDemo.Listener _listener;

        private static String _driverEmail = "<< Driver Email >>";
        private static String _driverPassword = "<< <PASSWORD> >>";

        public static void onAppStart(GEnRouteManager manager)
        {
            _listener = new EnRouteDemo.Listener();
            manager.addListener(_listener);
            manager.setAuthenticationMode(EnRouteConstants.AUTH_MODE_CREDENTIALS);
            manager.start();
        }

        public static void onDriverLogout(GEnRouteManager manager)
        {
            manager.logout(EnRouteConstants.LOGOUT_REASON_USER_ACTION);
        }

        public static void login(GEnRouteManager manager)
        {
            manager.loginWithCredentials(_driverEmail, _driverPassword);
        }
    }
}

{'fraction_non_alphanumeric': 0.0746492985971944, 'fraction_numerical': 0.0, 'mean_word_length': 2.4550173010380623, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '4315605', 'n_tokens_mistral': 524, 'n_tokens_neox': 505, 'n_words': 112}