forked from TrueCloudLab/certificates
[acme db interface] wip
This commit is contained in:
parent
1135ae04fc
commit
491c188a5e
1 changed files with 8 additions and 9 deletions
|
@ -8,15 +8,14 @@ import (
|
||||||
|
|
||||||
// Authorization representst an ACME Authorization.
|
// Authorization representst an ACME Authorization.
|
||||||
type Authorization struct {
|
type Authorization struct {
|
||||||
Identifier Identifier `json:"identifier"`
|
Identifier Identifier `json:"identifier"`
|
||||||
Status Status `json:"status"`
|
Status Status `json:"status"`
|
||||||
Expires string `json:"expires"`
|
Expires time.Time `json:"expires"`
|
||||||
Challenges []*Challenge `json:"challenges"`
|
Challenges []*Challenge `json:"challenges"`
|
||||||
ChallengeIDs string `json::"-"`
|
Wildcard bool `json:"wildcard"`
|
||||||
Wildcard bool `json:"wildcard"`
|
ID string `json:"-"`
|
||||||
ID string `json:"-"`
|
AccountID string `json:"-"`
|
||||||
AccountID string `json:"-"`
|
Token string `json:"-"`
|
||||||
Token string `json:"-"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// ToLog enables response logging.
|
// ToLog enables response logging.
|
||||||
|
|
Loading…
Reference in a new issue