@@ -21,6 +21,9 @@ namespace IRaCIS.Application.Contracts
|
||||
{
|
||||
public string UserName { get; set; } = string.Empty;
|
||||
public string Password { get; set; } = string.Empty;
|
||||
|
||||
public Guid? UserId { get; set; }
|
||||
public string MFACode { get; set; } = string.Empty;
|
||||
}
|
||||
|
||||
public class LoginReturnDTO
|
||||
@@ -28,6 +31,8 @@ namespace IRaCIS.Application.Contracts
|
||||
public UserBasicInfo BasicInfo { get; set; } = new UserBasicInfo();
|
||||
public string JWTStr { get; set; }=string.Empty;
|
||||
|
||||
public bool IsMFA { get; set; } = false;
|
||||
|
||||
}
|
||||
|
||||
public class UserBasicInfo
|
||||
@@ -59,7 +64,7 @@ namespace IRaCIS.Application.Contracts
|
||||
|
||||
public string PermissionStr { get; set; } = String.Empty;
|
||||
|
||||
|
||||
public string EMail { get; set; } = string.Empty;
|
||||
public bool IsFirstAdd { get; set; }
|
||||
public bool IsReviewer { get; set; } = false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user