2018-06-27 14:02:16 +02:00
|
|
|
|
/*
|
2022-01-21 16:33:52 +01:00
|
|
|
|
* Copyright (c) 2022 ETH Zürich, Educational Development and Technology (LET)
|
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/.
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
using System;
|
2019-08-30 09:55:26 +02:00
|
|
|
|
using SafeExamBrowser.Communication.Contracts.Data;
|
2018-06-27 14:02:16 +02:00
|
|
|
|
|
2019-08-30 09:55:26 +02:00
|
|
|
|
namespace SafeExamBrowser.Communication.Contracts.Events
|
2018-06-27 14:02:16 +02:00
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
2018-07-04 09:53:33 +02:00
|
|
|
|
/// The event arguments used for the password request event fired by the <see cref="Hosts.IClientHost"/>.
|
2018-06-27 14:02:16 +02:00
|
|
|
|
/// </summary>
|
2018-07-04 09:53:33 +02:00
|
|
|
|
public class PasswordRequestEventArgs : CommunicationEventArgs
|
2018-06-27 14:02:16 +02:00
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
2018-07-04 09:53:33 +02:00
|
|
|
|
/// The purpose for which a password is requested.
|
2018-06-27 14:02:16 +02:00
|
|
|
|
/// </summary>
|
2018-07-04 09:53:33 +02:00
|
|
|
|
public PasswordRequestPurpose Purpose { get; set; }
|
2018-06-27 14:02:16 +02:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Identifies the password request.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public Guid RequestId { get; set; }
|
|
|
|
|
}
|
|
|
|
|
}
|