mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-01-30 21:04:48 +00:00
19 lines
410 B
C#
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; }
|
|
}
|