aboutsummaryrefslogtreecommitdiff
path: root/authorize.go
diff options
context:
space:
mode:
Diffstat (limited to 'authorize.go')
-rw-r--r--authorize.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/authorize.go b/authorize.go
index 240f802..55e8edf 100644
--- a/authorize.go
+++ b/authorize.go
@@ -5,6 +5,7 @@ import "time"
// Authorization request
type Authorization struct {
Resource Resource `json:"resource"` // new-authz
+ ID string `json:"id,omitempty"`
Identifier Identifier `json:"identifier"`
Status Status `json:"status,omitempty"` // e.g. valid
Expires *time.Time `json:"expires,omitempty"`