|
|
|
|
@ -18,6 +18,7 @@ public class AuthRequestResponseModel : ResponseModel
@@ -18,6 +18,7 @@ public class AuthRequestResponseModel : ResponseModel
|
|
|
|
|
|
|
|
|
|
Id = authRequest.Id; |
|
|
|
|
PublicKey = authRequest.PublicKey; |
|
|
|
|
RequestDeviceIdentifier = authRequest.RequestDeviceIdentifier; |
|
|
|
|
RequestDeviceTypeValue = authRequest.RequestDeviceType; |
|
|
|
|
RequestDeviceType = authRequest.RequestDeviceType.GetType().GetMember(authRequest.RequestDeviceType.ToString()) |
|
|
|
|
.FirstOrDefault()?.GetCustomAttribute<DisplayAttribute>()?.GetName(); |
|
|
|
|
@ -32,6 +33,7 @@ public class AuthRequestResponseModel : ResponseModel
@@ -32,6 +33,7 @@ public class AuthRequestResponseModel : ResponseModel
|
|
|
|
|
|
|
|
|
|
public Guid Id { get; set; } |
|
|
|
|
public string PublicKey { get; set; } |
|
|
|
|
public string RequestDeviceIdentifier { get; set; } |
|
|
|
|
public DeviceType RequestDeviceTypeValue { get; set; } |
|
|
|
|
public string RequestDeviceType { get; set; } |
|
|
|
|
public string RequestIpAddress { get; set; } |
|
|
|
|
|