2018-06-27 14:02:16 +02:00
|
|
|
|
/*
|
2024-03-05 18:37:42 +01:00
|
|
|
|
* Copyright (c) 2024 ETH Zürich, IT Services
|
2018-06-27 14:02:16 +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-08-30 09:55:26 +02:00
|
|
|
|
namespace SafeExamBrowser.Communication.Contracts.Data
|
2018-06-27 14:02:16 +02:00
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Defines all possible reasons for a <see cref="PasswordRequestMessage"/>.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public enum PasswordRequestPurpose
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
2019-01-30 14:43:41 +01:00
|
|
|
|
/// The password is to be used as administrator password for the local client configuration.
|
2018-06-27 14:02:16 +02:00
|
|
|
|
/// </summary>
|
2019-01-30 14:43:41 +01:00
|
|
|
|
LocalAdministrator,
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// The password is to be used as settings password for the local client configuration.
|
|
|
|
|
/// </summary>
|
|
|
|
|
LocalSettings,
|
2018-06-27 14:02:16 +02:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// The password is to be used as settings password for an application configuration.
|
|
|
|
|
/// </summary>
|
|
|
|
|
Settings
|
|
|
|
|
}
|
|
|
|
|
}
|