/* * 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 { /// /// The configuration for a session of the service application component. /// [Serializable] public class ServiceConfiguration { /// /// The global application configuration. /// public AppConfig AppConfig { get; set; } /// /// The unique identifier for the current session. /// public Guid SessionId { get; set; } /// /// The application settings to be used by the service. /// public AppSettings Settings { get; set; } /// /// The user name of the currently logged in user. /// public string UserName { get; set; } /// /// The security identifier of the currently logged in user. /// public string UserSid { get; set; } } }