mirror of
https://github.com/achiez/NebulaAuth-Steam-Desktop-Authenticator-by-Achies.git
synced 2026-07-25 06:14:31 +00:00
21 lines
421 B
C#
21 lines
421 B
C#
using System.Diagnostics.CodeAnalysis;
|
|
|
|
namespace NebulaAuth.Model.Entities;
|
|
|
|
public class LoginConfirmationResult
|
|
{
|
|
[MemberNotNullWhen(false, nameof(Error))]
|
|
public bool Success { get; set; }
|
|
public string IP { get; set; }
|
|
public string Country { get; set; }
|
|
public LoginConfirmationError? Error { get; set; }
|
|
|
|
|
|
}
|
|
|
|
|
|
public enum LoginConfirmationError
|
|
{
|
|
NoRequests,
|
|
MoreThanOneRequest
|
|
} |