/* * 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; namespace SafeExamBrowser.Communication.Contracts.Data { /// /// This message is transmitted to the client to request a password input by the user. /// [Serializable] public class PasswordRequestMessage : Message { /// /// The purpose of the password request. /// public PasswordRequestPurpose Purpose { get; private set; } /// /// The unique identifier for the password request. /// public Guid RequestId { get; private set; } public PasswordRequestMessage(PasswordRequestPurpose purpose, Guid requestId) { Purpose = purpose; RequestId = requestId; } } }