2019-06-21 15:05:31 +02:00
|
|
|
|
/*
|
2024-03-05 18:37:42 +01:00
|
|
|
|
* Copyright (c) 2024 ETH Zürich, IT Services
|
2019-06-21 15:05:31 +02: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/.
|
|
|
|
|
*/
|
|
|
|
|
|
2019-06-26 10:13:11 +02:00
|
|
|
|
using System;
|
2019-07-19 10:07:45 +02:00
|
|
|
|
using System.Collections.Generic;
|
2019-06-26 10:13:11 +02:00
|
|
|
|
|
2019-08-30 09:55:26 +02:00
|
|
|
|
namespace SafeExamBrowser.Lockdown.Contracts
|
2019-06-21 15:05:31 +02:00
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// The factory for all <see cref="IFeatureConfiguration"/> currently supported.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public interface IFeatureConfigurationFactory
|
|
|
|
|
{
|
2019-07-19 10:07:45 +02:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Creates all feature configurations.
|
|
|
|
|
/// </summary>
|
|
|
|
|
IList<IFeatureConfiguration> CreateAll(Guid groupId, string sid, string userName);
|
|
|
|
|
|
2019-07-03 08:59:27 +02:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Creates an <see cref="IFeatureConfiguration"/> to control the option to change the password of a user account via the security screen.
|
|
|
|
|
/// </summary>
|
|
|
|
|
IFeatureConfiguration CreateChangePasswordConfiguration(Guid groupId, string sid, string userName);
|
|
|
|
|
|
2019-06-21 15:05:31 +02:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Creates an <see cref="IFeatureConfiguration"/> to control notifications of the Google Chrome browser.
|
|
|
|
|
/// </summary>
|
2019-07-02 10:35:40 +02:00
|
|
|
|
IFeatureConfiguration CreateChromeNotificationConfiguration(Guid groupId, string sid, string userName);
|
2019-06-21 15:05:31 +02:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Creates an <see cref="IFeatureConfiguration"/> to control the ease of access options on the security screen.
|
|
|
|
|
/// </summary>
|
2019-06-26 10:13:11 +02:00
|
|
|
|
IFeatureConfiguration CreateEaseOfAccessConfiguration(Guid groupId);
|
2019-06-21 15:05:31 +02:00
|
|
|
|
|
2022-07-26 15:10:48 +02:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Creates an <see cref="IFeatureConfiguration"/> to control the find printer option in the print dialog of Windows.
|
|
|
|
|
/// </summary>
|
|
|
|
|
IFeatureConfiguration CreateFindPrinterConfiguration(Guid groupId, string sid, string userName);
|
|
|
|
|
|
2019-06-21 15:05:31 +02:00
|
|
|
|
/// <summary>
|
2019-07-03 08:59:27 +02:00
|
|
|
|
/// Creates an <see cref="IFeatureConfiguration"/> to control the option to lock the computer via the security screen.
|
2019-06-21 15:05:31 +02:00
|
|
|
|
/// </summary>
|
2019-07-03 08:59:27 +02:00
|
|
|
|
IFeatureConfiguration CreateLockWorkstationConfiguration(Guid groupId, string sid, string userName);
|
2019-06-21 15:05:31 +02:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
2019-08-13 08:29:48 +02:00
|
|
|
|
/// Creates an <see cref="IFeatureConfiguration"/> to control the power options on the security screen.
|
2019-06-21 15:05:31 +02:00
|
|
|
|
/// </summary>
|
2019-08-13 08:29:48 +02:00
|
|
|
|
IFeatureConfiguration CreateMachinePowerOptionsConfiguration(Guid groupId);
|
2019-06-21 15:05:31 +02:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
2019-08-13 08:29:48 +02:00
|
|
|
|
/// Creates an <see cref="IFeatureConfiguration"/> to control the network options on the security screen.
|
2019-06-21 15:05:31 +02:00
|
|
|
|
/// </summary>
|
2019-08-13 08:29:48 +02:00
|
|
|
|
IFeatureConfiguration CreateNetworkOptionsConfiguration(Guid groupId);
|
2019-06-21 15:05:31 +02:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Creates an <see cref="IFeatureConfiguration"/> to control remote desktop connections.
|
|
|
|
|
/// </summary>
|
2019-06-26 10:13:11 +02:00
|
|
|
|
IFeatureConfiguration CreateRemoteConnectionConfiguration(Guid groupId);
|
2019-06-21 15:05:31 +02:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Creates an <see cref="IFeatureConfiguration"/> to control the option to sign out out via security screen.
|
|
|
|
|
/// </summary>
|
2019-07-03 08:59:27 +02:00
|
|
|
|
IFeatureConfiguration CreateSignoutConfiguration(Guid groupId, string sid, string userName);
|
2019-06-21 15:05:31 +02:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
2019-07-03 08:59:27 +02:00
|
|
|
|
/// Creates an <see cref="IFeatureConfiguration"/> to control the option to switch to another user account via the security screen.
|
2019-06-21 15:05:31 +02:00
|
|
|
|
/// </summary>
|
2019-07-03 08:59:27 +02:00
|
|
|
|
IFeatureConfiguration CreateSwitchUserConfiguration(Guid groupId);
|
2019-06-21 15:05:31 +02:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
2019-07-03 08:59:27 +02:00
|
|
|
|
/// Creates an <see cref="IFeatureConfiguration"/> to control the task manager of Windows.
|
2019-06-21 15:05:31 +02:00
|
|
|
|
/// </summary>
|
2019-07-03 08:59:27 +02:00
|
|
|
|
IFeatureConfiguration CreateTaskManagerConfiguration(Guid groupId, string sid, string userName);
|
2019-06-21 15:05:31 +02:00
|
|
|
|
|
2019-08-13 08:29:48 +02:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Creates an <see cref="IFeatureConfiguration"/> to control the power options in the start menu.
|
|
|
|
|
/// </summary>
|
|
|
|
|
IFeatureConfiguration CreateUserPowerOptionsConfiguration(Guid groupId, string sid, string userName);
|
|
|
|
|
|
2019-06-21 15:05:31 +02:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Creates an <see cref="IFeatureConfiguration"/> to control the user interface overlay for VMware clients.
|
|
|
|
|
/// </summary>
|
2019-07-03 08:59:27 +02:00
|
|
|
|
IFeatureConfiguration CreateVmwareOverlayConfiguration(Guid groupId, string sid, string userName);
|
2019-06-21 15:05:31 +02:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Creates an <see cref="IFeatureConfiguration"/> to control Windows Update.
|
|
|
|
|
/// </summary>
|
2019-06-26 10:13:11 +02:00
|
|
|
|
IFeatureConfiguration CreateWindowsUpdateConfiguration(Guid groupId);
|
2019-06-21 15:05:31 +02:00
|
|
|
|
}
|
|
|
|
|
}
|