Files
Essentials/src/PepperDash.Essentials.MobileControl/AuthorizationResponse.cs
2025-07-04 16:02:32 -05:00

19 lines
410 B
C#

using Newtonsoft.Json;
namespace PepperDash.Essentials;
public class AuthorizationResponse
{
[JsonProperty("authorized")]
public bool Authorized { get; set; }
[JsonProperty("reason", NullValueHandling = NullValueHandling.Ignore)]
public string Reason { get; set; } = null;
}
public class AuthorizationRequest
{
[JsonProperty("grantCode")]
public string GrantCode { get; set; }
}