diff --git a/apis/management.cattle.io/v3/authn_types.go b/apis/management.cattle.io/v3/authn_types.go index 2dc5479b..2a32bd55 100644 --- a/apis/management.cattle.io/v3/authn_types.go +++ b/apis/management.cattle.io/v3/authn_types.go @@ -14,10 +14,12 @@ type Token struct { ProviderInfo map[string]string `json:"providerInfo,omitempty"` UserID string `json:"userId" norman:"type=reference[user]"` AuthProvider string `json:"authProvider"` - TTLMillis int `json:"ttl"` + TTLMillis int64 `json:"ttl"` LastUpdateTime string `json:"lastUpdateTime"` IsDerived bool `json:"isDerived"` Description string `json:"description"` + Expired bool `json:"expired"` + ExpiresAt string `json:"expiresAt"` } type User struct { diff --git a/apis/management.cattle.io/v3public/authn_types.go b/apis/management.cattle.io/v3public/authn_types.go index 9b6c881d..dce3fa1b 100644 --- a/apis/management.cattle.io/v3public/authn_types.go +++ b/apis/management.cattle.io/v3public/authn_types.go @@ -12,7 +12,7 @@ type AuthProvider struct { } type GenericLogin struct { - TTLMillis int `json:"ttl,omitempty"` + TTLMillis int64 `json:"ttl,omitempty"` Description string `json:"description,omitempty" norman:"type=string,required"` ResponseType string `json:"responseType,omitempty" norman:"type=string,required"` //json or cookie }