41 private readonly
User 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.
DateTime? Next
Time when a new login can be attempted.
User User
User object corresponding to the successfully logged in user.
LoginResultType Type
Type of login result.
LoginResult(DateTime Next)
Remote endpoint has been blocked.
LoginResult(User User)
Login attempt has been made.
LoginResult()
Empty password provided
Corresponds to a user in the system.
LoginResultType
Result of login attempt