41 private readonly
IUser user;
42 private readonly DateTime? next;
53 this.type =
Next == DateTime.MaxValue ? LoginResultType.PermanentlyBlocked :
LoginResultType.TemporarilyBlocked;
85 public DateTime?
Next => this.next;
Contains information about a login attempt.
IUser User
User object corresponding to the successfully logged in user.
DateTime? Next
Time when a new login can be attempted.
LoginResult(IUser User)
Login attempt has been made.
LoginResultType Type
Type of login result.
LoginResult(DateTime Next)
Remote endpoint has been blocked.
LoginResult()
Empty password provided
Corresponds to a user in the system.
Basic interface for a user.
LoginResultType
Result of login attempt