public AuthenticationInfo GetAuthenticationInfo()
        {
            var user = _httpContextProvider.GetUser();

            if (!user.Identity.IsAuthenticated)
            {
                return(new AuthenticationInfo());
            }

            var formsIdentity = user.Identity as FormsIdentity;

            if (formsIdentity == null)
            {
                return(new AuthenticationInfo());
            }

            var authenticationInfo = JsonConvert.DeserializeObject <AuthenticationInfo>(formsIdentity.Ticket.UserData);

            return(authenticationInfo);
        }