aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--messages.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/messages.go b/messages.go
index c469c5b..07c6fe7 100644
--- a/messages.go
+++ b/messages.go
@@ -30,9 +30,10 @@ type Registration struct {
// Authorization Objects
type Authorization struct {
+ Resource string `json:"resource"`
Identifier Identifier `json:"identifier"`
Status string `json:"status,omitemtpy"` // valid
- Expires string `json:"expires,omitempty"` // 2015-03-01
+ Expires string `json:"expires,omitempty"` // 2006-01-02
Challenges []Challenge `json:"challenges"`
Combinations [][]int `json:"combinations,omitemtpy"`
}
@@ -47,6 +48,6 @@ type Identifier struct {
type Challege struct {
Type string `json:"type"` // http-01
Status string `json:"status"` // valid
- Validated string `json:"validated"` // 2014-12-01T12:05Z
+ Validated string `json:"validated"` // 2006-01-02T15:04Z
KeyAuthorization string `json:"keyAuthorization"`
}