namespace Nemera.Presentation.Web.Common.Http;
///
/// Constants shared by HttpContext across a HTTP request (avoid magic strings).
///
public static class HttpContextItemKeys
{
///
/// The key under which the validation errors of the current request are stored.
///
public const string ERRORS = "errors";
///
/// The key under which the flag indicating that the super administrator account still has to be set up is stored.
///
public const string PENDING_SUPER_ADMIN_SETUP = "PendingSuperAdminSetup";
///
/// The key under which the URL of the last displayed view is stored.
///
public const string LAST_DISPLAYED_VIEW = "LastViewUrl";
///
/// Marks a rendered page whose authorization could not reach the API, so that the page reports the failure to the user.
///
public const string SERVER_UNREACHABLE = "ServerUnreachable";
///
/// The Cache-Control value chosen by the endpoint, restored when the response starts.
///
public const string CACHE_CONTROL = "CacheControl";
///
/// The key under which the flag indicating that the endpoint bound its request and started executing is stored.
///
public const string ENDPOINT_STARTED = "EndpointStarted";
}