예제 #1
0
        public static UserEntity Login(string username, byte[] passwordHash)
        {
            using (AuthLogic.Disable())
            {
                UserEntity user = RetrieveUser(username, passwordHash);

                UserLogingIn?.Invoke(user);

                return(user);
            }
        }
예제 #2
0
 public static void OnUserLogingIn(UserEntity user)
 {
     UserLogingIn?.Invoke(user);
 }