// Token: 0x06000790 RID: 1936 RVA: 0x00018200 File Offset: 0x00016400
        internal static UserContextCookie TryCreateFromHttpCookie(HttpCookie cookie)
        {
            string text  = null;
            string text2 = null;

            if (string.IsNullOrEmpty(cookie.Value))
            {
                return(null);
            }
            if (!UserContextCookie.TryParseCookieValue(cookie.Value, out text, out text2))
            {
                return(null);
            }
            string text3 = null;

            if (!UserContextCookie.TryParseCookieName(cookie.Name, out text3))
            {
                return(null);
            }
            return(UserContextCookie.Create(text3, text, text2, cookie.Secure));
        }
 // Token: 0x0600078F RID: 1935 RVA: 0x000181E9 File Offset: 0x000163E9
 internal static UserContextCookie CreateFromKey(string cookieId, UserContextKey userContextKey, bool isSecure)
 {
     return(UserContextCookie.Create(cookieId, userContextKey.UserContextId, userContextKey.MailboxUniqueKey, isSecure));
 }