private static void AssertClientSessionsAreEqual(
			UserClientSession clientSession, UserClientSession resolvedClientSession)
		{
			Assert.That(resolvedClientSession.Id, Is.EqualTo(clientSession.Id));
			Assert.That(resolvedClientSession.Base64ClientModulus, Is.EqualTo(clientSession.Base64ClientModulus));
			Assert.That(resolvedClientSession.IPAddress, Is.EqualTo(clientSession.IPAddress));
			Assert.That(resolvedClientSession.UserClientGlobalId, Is.EqualTo(clientSession.UserClientGlobalId));
			Assert.That(resolvedClientSession.UserId, Is.EqualTo(clientSession.UserId));
		}
 private static void AssertClientSessionsAreEqual(
     UserClientSession clientSession, UserClientSession resolvedClientSession)
 {
     Assert.That(resolvedClientSession.Id, Is.EqualTo(clientSession.Id));
     Assert.That(resolvedClientSession.Base64ClientModulus, Is.EqualTo(clientSession.Base64ClientModulus));
     Assert.That(resolvedClientSession.IPAddress, Is.EqualTo(clientSession.IPAddress));
     Assert.That(resolvedClientSession.UserClientGlobalId, Is.EqualTo(clientSession.UserClientGlobalId));
     Assert.That(resolvedClientSession.UserId, Is.EqualTo(clientSession.UserId));
 }
        public UserClientSession CreateClientSession(Guid sessionId, string ipAddress, string base64ClientModulus, Guid userClientGlobalId)
        {
            var clientSession = new UserClientSession(
                sessionId, this.UserId, ipAddress, base64ClientModulus, userClientGlobalId);

            this.PublicClientSessions[clientSession.Id] = clientSession;

            return(clientSession);
        }
		public UserClientSession CreateClientSession(Guid sessionId, string ipAddress, string base64ClientModulus, Guid userClientGlobalId)
		{
			var clientSession = new UserClientSession(
				sessionId, this.UserId, ipAddress, base64ClientModulus, userClientGlobalId);

			this.PublicClientSessions[clientSession.Id] = clientSession;

			return clientSession;
		}