/*
* Copyright (c) 2024 ETH Zürich, IT Services
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
using System;
using SafeExamBrowser.Settings;
namespace SafeExamBrowser.Configuration.Contracts
{
///
/// Container holding all session-related configuration data.
///
public class SessionConfiguration
{
///
/// The application configuration for this session.
///
public AppConfig AppConfig { get; set; }
///
/// The token used for initial communication authentication with the client.
///
public Guid ClientAuthenticationToken { get; set; }
///
/// Indicates whether a configuration resource needs to be loaded in the browser because it requires authentication or is a webpage.
///
public bool IsBrowserResource { get; set; }
///
/// The unique session identifier.
///
public Guid SessionId { get; set; }
///
/// The settings used for this session.
///
public AppSettings Settings { get; set; }
}
}