public static SMQSSioUser GetDemoABSUser(string emailAddress, string demoPassword)
        {
            var guest   = new SMQGuest(C_AMQPS);
            var payload = guest.CreatePayload();

            payload.EmailAddress = emailAddress;
            payload.DemoPassword = demoPassword;
            SMQSSioUser smqABSUser = ValidateTemporaryAccessToken(guest, payload);

            return(smqABSUser);
        }
        private static SMQSSioUser ValidateTemporaryAccessToken(SMQGuest guest, StandardPayload payload)
        {
            var smqABSUser = default(SMQSSioUser);

            guest.ValidateTemporaryAccessToken(payload, (reply, bdea) =>
            {
                if (reply.HasNoError(bdea))
                {
                    smqABSUser = FromAccessToken(reply.AccessToken);
                }
            }).Wait(30000);
            return(smqABSUser);
        }