/*
* Copyright (c) 2018 ETH Zürich, Educational Development and Technology (LET)
*
* 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;
namespace SafeExamBrowser.Contracts.Communication.Data
{
///
/// The reply to a .
///
[Serializable]
public class PasswordReplyMessage : Message
{
///
/// The password entered by the user, or null if the user interaction was unsuccessful.
///
public string Password { get; private set; }
///
/// The unique identifier for the password request.
///
public Guid RequestId { get; private set; }
///
/// Determines whether the user interaction was successful or not.
///
public bool Success { get; private set; }
public PasswordReplyMessage(string password, Guid requestId, bool success)
{
Password = password;
RequestId = requestId;
Success = success;
}
}
}