From e191aea2a619b772772a9dd98cc88f35208467a4 Mon Sep 17 00:00:00 2001
From: Jeremy Cocks <jcocks@fastly.com>
Date: Sun, 24 Dec 2023 19:37:25 +0000
Subject: [PATCH] extend corp to return api values

---
 api.go | 26 +++++++++++++++++---------
 1 file changed, 17 insertions(+), 9 deletions(-)

diff --git a/api.go b/api.go
index f3ee6fe..ea183c7 100644
--- a/api.go
+++ b/api.go
@@ -129,15 +129,23 @@ func errMsg(b []byte) error {
 
 // Corp contains details for a corp.
 type Corp struct {
-	Name                   string
-	DisplayName            string
-	SmallIconURI           string
-	Created                time.Time
-	SiteLimit              int
-	Sites                  map[string]string
-	AuthType               string
-	MFAEnforced            bool
-	SessionMaxAgeDashboard int
+	Name                        string
+	DisplayName                 string
+	SmallIconURI                string
+	Created                     time.Time
+	SiteLimit                   int
+	Sites                       map[string]string
+	AuthType                    string
+	LogoutURI                   string
+	SamlCert                    string
+	SamlEndpoint                string
+	SignRequestsUsingStoredCert bool
+	SamlRequestCert             string
+	SessionMaxAgeDashboard      int
+	ApiAllowedIPs               []string
+	ApiTokenMaxAge              int
+	RestrictedAccessTokens      bool
+	SsoProvisioningConfigured   bool
 }
 
 // corpsResponse is the response for list corps