Esempio n. 1
0
        public bool VerifIdentifiant(string login, string mdp)
        {
            var callback = OperationContext.Current.GetCallbackChannel <IMyCallbackService>();

            Console.WriteLine("WCF authentification lancée");
            testConnexionUser = ListUserCom.ChangeUtilisateurEnCours(login, mdp);

            if (testConnexionUser)
            {
                UtilisateurCom = ListUserCom.obtientUtilisateur(login);
                proxyCommunication.setUtilisateur(UtilisateurCom);
            }

            return(testConnexionUser);
            //callback.Notification("test");
            //ListUserCom.verifCom(login, mdp);
        }