Пример #1
0
        public static void UserAuthenticated(object sender, UserAuthenticatedEventArgs e)
        {
            OnUserAuthenticated?.Invoke(null, e);

            var userInfo = UsersInfo[e.EndPoint];

            userInfo.IsAuthenticated = true;
            userInfo.UserName        = e.UserName;
            UsersInfo[e.EndPoint]    = userInfo;
        }
 public void UserAuthenticated(bool authenticated)
 {
     OnUserAuthenticated?.Invoke(authenticated);
 }