Пример #1
0
        public IServerResponse TransferSignOn(TransferSignOnInfo transferSignOnInfo)
        {
            Assert.IsNotNull(transferSignOnInfo);
            Assert.IsStringNotNullOrEmpty(transferSignOnInfo.ClientId);
            Assert.IsStringNotNullOrEmpty(transferSignOnInfo.SessionId);
            Assert.IsStringNotNullOrEmpty(transferSignOnInfo.FromClientId);
            Assert.IsStringNotNullOrEmpty(transferSignOnInfo.FromSessionId);

            IServerResponse <Session> response = serverProvider.TransferSignOn(transferSignOnInfo);

            if (response.Status == ResponseStatus.Success && response.Data != null)
            {
                SaveSession(response.Data);
            }
            return(response);
        }
Пример #2
0
 public IServerResponse <Session> TransferSignOn(TransferSignOnInfo transferSignOnInfo)
 {
     return(serverProvider.TransferSignOn(transferSignOnInfo));
 }