Skip to content

Commit

Permalink
extend corp to return api values
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremy-cxf committed Dec 24, 2023
1 parent c552bb9 commit e191aea
Showing 1 changed file with 17 additions and 9 deletions.
26 changes: 17 additions & 9 deletions api.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e191aea

Please sign in to comment.