1using System.Collections.Generic;
2using System.Threading.Tasks;
16 internal const string Id =
"WebServer";
30 [Page(7,
"Configuration")]
31 [Header(14,
"Client Certificates (mTLS):")]
32 [ToolTip(15,
"How to allow clients authenticate themselves using X.509 certificates.")]
34 [Option(
ClientCertificates.NotUsed, 16,
"Client certificates are not used, and will not be requested.")]
35 [Option(
ClientCertificates.Optional, 17,
"Client certificates are requested, but not required.")]
36 [Option(
ClientCertificates.Required, 18,
"Client certificates are requested, and required.")]
42 [Page(7,
"Configuration")]
43 [Header(19,
"Trust client certificates.")]
44 [ToolTip(20,
"If client certificates should be trusted, even if they don't validate.")]
65 return Task.FromResult(
84 LinkedList<Parameter> Parameters =
new LinkedList<Parameter>();
100 return Task.FromResult(
false);
Contains information about a language.
Task< string > GetStringAsync(Type Type, int Id, string Default)
Gets the string value of a string ID. If no such string exists, a string is created with the default ...
async Task< Namespace > GetNamespaceAsync(string Name)
Gets the namespace object, given its name, if available.
Contains information about a namespace in a language.
Task< LanguageString > GetStringAsync(int Id)
Gets the string object, given its ID, if available.
Abstract base class for gateway configuration nodes.
GatewayConfigSource Source
Source hosting the node.
Configures a Content-Encoding in the web server.
Defines a default page for a host.
Data source mirroring the Gateway.config file.
mTLS-configuration for a specific port number.
Defines a proxy resource to act as a reverse proxy.
Defines a vanity resource.
Settings for the Web Server.
WebServer(GatewayConfigSource Source)
Settings for the Web Server.
override Task< bool > AcceptsChildAsync(INode Child)
If the node accepts a presumptive child, i.e. can receive as a child (if that child accepts the node ...
override string NodeId
ID of node.
override Task< string > GetTypeNameAsync(Language Language)
Gets the type name of the node.
override async Task< IEnumerable< Parameter > > GetDisplayableParametersAsync(Language Language, RequestOrigin Caller)
Gets displayable parameters.
override Task< bool > CanDestroyAsync(RequestOrigin Caller)
If the node can be destroyed to by the caller.
bool TrustClientCertificates
If certificates are to be trusted, or if they are required to be valid.
Boolean-valued parameter.
Tokens available in request.
Interface for nodes that are published through the concentrator interface.
ClientCertificates
Client Certificate Options