Restore SEBPatch
This commit is contained in:
19
SafeExamBrowser.Server/Data/ApiVersion1.cs
Normal file
19
SafeExamBrowser.Server/Data/ApiVersion1.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
/*
|
||||
* 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/.
|
||||
*/
|
||||
|
||||
namespace SafeExamBrowser.Server.Data
|
||||
{
|
||||
internal class ApiVersion1
|
||||
{
|
||||
public string AccessTokenEndpoint { get; set; }
|
||||
public string HandshakeEndpoint { get; set; }
|
||||
public string ConfigurationEndpoint { get; set; }
|
||||
public string PingEndpoint { get; set; }
|
||||
public string LogEndpoint { get; set; }
|
||||
}
|
||||
}
|
17
SafeExamBrowser.Server/Data/AttributeType.cs
Normal file
17
SafeExamBrowser.Server/Data/AttributeType.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
/*
|
||||
* 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/.
|
||||
*/
|
||||
|
||||
namespace SafeExamBrowser.Server.Data
|
||||
{
|
||||
internal enum AttributeType
|
||||
{
|
||||
None,
|
||||
Hand,
|
||||
LockScreen
|
||||
}
|
||||
}
|
23
SafeExamBrowser.Server/Data/Attributes.cs
Normal file
23
SafeExamBrowser.Server/Data/Attributes.cs
Normal file
@@ -0,0 +1,23 @@
|
||||
/*
|
||||
* 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 SafeExamBrowser.Server.Contracts.Events.Proctoring;
|
||||
|
||||
namespace SafeExamBrowser.Server.Data
|
||||
{
|
||||
internal class Attributes
|
||||
{
|
||||
internal bool AllowChat { get; set; }
|
||||
internal int Id { get; set; }
|
||||
internal InstructionEventArgs Instruction { get; set; }
|
||||
internal string Message { get; set; }
|
||||
internal bool ReceiveAudio { get; set; }
|
||||
internal bool ReceiveVideo { get; set; }
|
||||
internal AttributeType Type { get; set; }
|
||||
}
|
||||
}
|
19
SafeExamBrowser.Server/Data/Instructions.cs
Normal file
19
SafeExamBrowser.Server/Data/Instructions.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
/*
|
||||
* 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/.
|
||||
*/
|
||||
|
||||
namespace SafeExamBrowser.Server.Data
|
||||
{
|
||||
internal sealed class Instructions
|
||||
{
|
||||
internal const string LOCK_SCREEN = "SEB_FORCE_LOCK_SCREEN";
|
||||
internal const string NOTIFICATION_CONFIRM = "NOTIFICATION_CONFIRM";
|
||||
internal const string PROCTORING = "SEB_PROCTORING";
|
||||
internal const string PROCTORING_RECONFIGURATION = "SEB_RECONFIGURE_SETTINGS";
|
||||
internal const string QUIT = "SEB_QUIT";
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user