-
Notifications
You must be signed in to change notification settings - Fork 28
Expand file tree
/
Copy pathApiAuthenticationMode.cs
More file actions
34 lines (33 loc) · 1.03 KB
/
ApiAuthenticationMode.cs
File metadata and controls
34 lines (33 loc) · 1.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
// Copyright (c) 2026, Siemens AG
//
// SPDX-License-Identifier: MIT
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using Newtonsoft.Json.Serialization;
namespace Siemens.Simatic.S7.Webserver.API.Enums
{
/// <summary>
/// User Authentication modes of the PLC.<br/>
/// Depends on the configured user management which authentication modes will be supported by the PLC based on the authentication mode.
/// </summary>
[JsonConverter(typeof(StringEnumConverter), converterParameters: typeof(SnakeCaseNamingStrategy))]
public enum ApiAuthenticationMode
{
/// <summary>
/// The users are stored on the PLC
/// </summary>
Local,
/// <summary>
/// Legacy User Management
/// </summary>
Static,
/// <summary>
/// Only Anonymous user is available
/// </summary>
Disabled,
/// <summary>
/// Central User Management (via remote authentication with Username and Password)
/// </summary>
Umc,
}
}