コード例 #1
0
        public void Stem1_MsgReader(ReceivedMsg msg, AuthenticationSuccesMessage authenticationMessage)
        {
            if (State == AuthenticationState.Processing)
            {
                State = AuthenticationState.Success;
            }

            Stop();
        }
コード例 #2
0
        //--- msg readers
        private void AuthenticationSuccessMsgReader(ReceivedMsg receivedMsg, AuthenticationSuccesMessage msg)
        {
            _authenticationState.Stem1_MsgReader(receivedMsg, msg);

            if (_authenticationState.State == UserAuthenticationState.AuthenticationState.Success)
            {
                _authenticationState = null;
                IsConnected          = true;

                if (OnUserLogin != null)
                {
                    OnUserLogin();
                }
            }
        }