This repository has been archived on 2025-05-14. You can view files and clone it, but cannot push or open issues or pull requests.
2022-03-30 08:07:03 -04:00

14 lines
558 B
C#

using Oqtane.Models;
namespace Oqtane.Shared
{
// this class is used for passing state between components and services on the client
public class SiteState
{
public Alias Alias { get; set; }
public string AntiForgeryToken { get; set; } // passed from server for use in service calls on client
public string AuthorizationToken { get; set; } // passed from server for use in service calls on client
public string RemoteIPAddress { get; set; } // passed from server as cannot be reliable retrieved on client
}
}