2018-02-12 12:21:55 +01:00
|
|
|
|
/*
|
2024-03-05 18:37:42 +01:00
|
|
|
|
* Copyright (c) 2024 ETH Zürich, IT Services
|
2018-02-12 12:21:55 +01:00
|
|
|
|
*
|
|
|
|
|
* 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/.
|
|
|
|
|
*/
|
|
|
|
|
|
2018-02-14 15:26:05 +01:00
|
|
|
|
using System;
|
2019-10-01 11:30:53 +02:00
|
|
|
|
using SafeExamBrowser.Settings;
|
2018-02-12 12:21:55 +01:00
|
|
|
|
|
2019-08-30 09:55:26 +02:00
|
|
|
|
namespace SafeExamBrowser.Configuration.Contracts
|
2018-02-12 12:21:55 +01:00
|
|
|
|
{
|
2018-03-06 11:38:12 +01:00
|
|
|
|
/// <summary>
|
2019-06-11 09:53:33 +02:00
|
|
|
|
/// The configuration for a session of the client application component.
|
2018-03-06 11:38:12 +01:00
|
|
|
|
/// </summary>
|
2018-02-15 15:42:54 +01:00
|
|
|
|
[Serializable]
|
|
|
|
|
public class ClientConfiguration
|
2018-02-12 12:21:55 +01:00
|
|
|
|
{
|
2018-06-29 09:50:20 +02:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// The global application configuration.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public AppConfig AppConfig { get; set; }
|
|
|
|
|
|
2018-02-12 12:21:55 +01:00
|
|
|
|
/// <summary>
|
2018-02-14 15:26:05 +01:00
|
|
|
|
/// The unique identifier for the current session.
|
2018-02-12 12:21:55 +01:00
|
|
|
|
/// </summary>
|
2018-02-15 15:42:54 +01:00
|
|
|
|
public Guid SessionId { get; set; }
|
2018-02-12 12:21:55 +01:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// The application settings to be used by the client.
|
|
|
|
|
/// </summary>
|
2019-10-01 11:30:53 +02:00
|
|
|
|
public AppSettings Settings { get; set; }
|
2018-02-12 12:21:55 +01:00
|
|
|
|
}
|
|
|
|
|
}
|