maksit-certs-ui/v2.0/LetsEncrypt/Entities/LetsEncrypt/AuthorizationChallengeResponse.cs

33 lines
718 B
C#

using System;
using Newtonsoft.Json;
namespace LetsEncrypt.Entities
{
public class AuthorizationChallengeResponse
{
[JsonProperty("identifier")]
public OrderIdentifier Identifier { get; set; }
[JsonProperty("status")]
public string Status { get; set; }
[JsonProperty("expires")]
public DateTime? Expires { get; set; }
[JsonProperty("wildcard")]
public bool Wildcard { get; set; }
[JsonProperty("challenges")]
public AuthorizationChallenge[] Challenges { get; set; }
}
public class AuthorizeChallenge
{
[JsonProperty("keyAuthorization")]
public string KeyAuthorization { get; set; }
}
}