public LogoutMessage(LogoutMessage message)
 {
     if (message != null)
     {
         ClientId = message.ClientId;
         PostLogoutRedirectUri = message.PostLogoutRedirectUri;
         SessionId             = message.SessionId;
     }
 }
Example #2
0
        /// <summary>
        /// Initializes a new instance of the <see cref="LogoutRequest"/> class.
        /// </summary>
        /// <param name="iframeUrl">The iframe URL.</param>
        /// <param name="message">The message.</param>
        public LogoutRequest(string iframeUrl, LogoutMessage message)
        {
            if (message != null)
            {
                ClientId = message.ClientId;
                PostLogoutRedirectUri = message.PostLogoutRedirectUri;
                SubjectId             = message.SubjectId;
                SessionId             = message.SessionId;
                ClientIds             = message.ClientIds;
                Parameters            = message.Parameters;
            }

            SignOutIFrameUrl = iframeUrl;
        }
 public LogoutRequest(string iframeUrl, LogoutMessage message)
     : base(message)
 {
     SignOutIFrameUrl = iframeUrl;
 }
 public LogoutMessage(LogoutMessage message)
 {
     ClientId = message?.ClientId;
     PostLogoutRedirectUri = message?.PostLogoutRedirectUri;
 }