2using System.Collections.Generic;
3using System.Threading.Tasks;
17 private readonly
string id = Guid.NewGuid().ToString();
45 public override string NodeId => this.id;
50 [Page(7,
"Configuration")]
51 [Header(102,
"Number of attempts:")]
52 [ToolTip(103,
"Number of login attempts permitted during the interval duration.")]
59 [Page(7,
"Configuration")]
60 [Header(104,
"Interval Duration:")]
61 [ToolTip(105,
"Duration of interval. The last interval can be an eternal interval. This is defined by omitting a value for this parameter.")]
88 LinkedList<Parameter> Parameters =
new LinkedList<Parameter>();
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.
virtual INode Parent
Parent Node, or null if a root node.
GatewayConfigSource Source
Source hosting the node.
Data source mirroring the Gateway.config file.
Represents an interval in a LoginAuditor configuration.
IntervalNode()
Represents an interval in a LoginAuditor configuration.
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.
Duration? Interval
Interval duration
int NrAttempts
Number of attempts during interval.
override string NodeId
ID of node.
IntervalNode(GatewayConfigSource Source, int NrAttempts, Duration? Interval)
Represents an interval in a LoginAuditor configuration.
override Task< bool > AcceptsParentAsync(INode Parent)
If the node accepts a presumptive parent, i.e. can be added to that parent (if that parent accepts th...
Contains configuration of the Login Auditor.
Duration-valued parameter.
Tokens available in request.
Interface for nodes that are published through the concentrator interface.
Represents a duration value, as defined by the xsd:duration data type: http://www....