Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
ILoginAuditor.cs
1using System;
2using System.Threading.Tasks;
3
4namespace Waher.Security
5{
9 public interface ILoginAuditor
10 {
19 Task ProcessLoginSuccessful(string RemoteEndpoint, string Protocol);
20
33 Task<bool> ProcessLoginFailure(string RemoteEndpoint, string Protocol, DateTime Timestamp, string Reason);
34
47 Task<DateTime?> GetEarliestLoginOpportunity(string RemoteEndpoint, string Protocol);
48
49 }
50}
Interface for classes that monitor login events, and help applications determine malicious intent.
Task ProcessLoginSuccessful(string RemoteEndpoint, string Protocol)
Processes a successful login attempt.
Task< DateTime?> GetEarliestLoginOpportunity(string RemoteEndpoint, string Protocol)
Checks when a remote endpoint can login.
Task< bool > ProcessLoginFailure(string RemoteEndpoint, string Protocol, DateTime Timestamp, string Reason)
Processes a failed login attempt.