Example #1
0
        public CLoginVerificationResult VerifyPassword(String username, String plainPassword)
        {
            log.Trace($"Entered CLoginBllFacade.VerifyPassword. username = {username}, password = {plainPassword}");
            SecureString securePassword = plainPassword.ToSecureString();

            return(CSLoginServis.VerifyPassword(username, securePassword));
        }
Example #2
0
        public CRegistationResult RegisterPerson(String name, String username, String email, String plainPassword, String plainPasswordConfirmation)
        {
            SecureString securePassword             = plainPassword.ToSecureString();
            SecureString securePasswordConfirmation = plainPasswordConfirmation.ToSecureString();

            return(CSLoginServis.RegisterPerson(name, username, email, securePassword, securePasswordConfirmation));
        }
Example #3
0
 public Boolean LogOut(String token)
 {
     return(CSLoginServis.LogOut(token));
 }
Example #4
0
 public int CheckToken(String token)
 {
     return(CSLoginServis.CheckToken(token));
 }