diff --git a/management/connection.go b/management/connection.go index 3310d023..3f4b19c5 100644 --- a/management/connection.go +++ b/management/connection.go @@ -1424,7 +1424,9 @@ type ConnectionOptionsSAML struct { SetUserAttributes *string `json:"set_user_root_attributes,omitempty"` NonPersistentAttrs *[]string `json:"non_persistent_attrs,omitempty"` - UpstreamParams map[string]interface{} `json:"upstream_params,omitempty"` + UpstreamParams map[string]interface{} `json:"upstream_params,omitempty"` + GlobalTokenRevocationJWTIss *string `json:"global_token_revocation_jwt_iss,omitempty"` + GlobalTokenRevocationJWTSub *string `json:"global_token_revocation_jwt_sub,omitempty"` } // ConnectionOptionsSAMLIdpInitiated is used to configure the diff --git a/management/management.gen.go b/management/management.gen.go index 30efd040..5b5ac0a4 100644 --- a/management/management.gen.go +++ b/management/management.gen.go @@ -5484,6 +5484,22 @@ func (c *ConnectionOptionsSAML) GetFieldsMap() map[string]interface{} { return c.FieldsMap } +// GetGlobalTokenRevocationJWTIss returns the GlobalTokenRevocationJWTIss field if it's non-nil, zero value otherwise. +func (c *ConnectionOptionsSAML) GetGlobalTokenRevocationJWTIss() string { + if c == nil || c.GlobalTokenRevocationJWTIss == nil { + return "" + } + return *c.GlobalTokenRevocationJWTIss +} + +// GetGlobalTokenRevocationJWTSub returns the GlobalTokenRevocationJWTSub field if it's non-nil, zero value otherwise. +func (c *ConnectionOptionsSAML) GetGlobalTokenRevocationJWTSub() string { + if c == nil || c.GlobalTokenRevocationJWTSub == nil { + return "" + } + return *c.GlobalTokenRevocationJWTSub +} + // GetIdpInitiated returns the IdpInitiated field. func (c *ConnectionOptionsSAML) GetIdpInitiated() *ConnectionOptionsSAMLIdpInitiated { if c == nil { diff --git a/management/management.gen_test.go b/management/management.gen_test.go index 06b98bbc..75788a36 100644 --- a/management/management.gen_test.go +++ b/management/management.gen_test.go @@ -6768,6 +6768,26 @@ func TestConnectionOptionsSAML_GetFieldsMap(tt *testing.T) { c.GetFieldsMap() } +func TestConnectionOptionsSAML_GetGlobalTokenRevocationJWTIss(tt *testing.T) { + var zeroValue string + c := &ConnectionOptionsSAML{GlobalTokenRevocationJWTIss: &zeroValue} + c.GetGlobalTokenRevocationJWTIss() + c = &ConnectionOptionsSAML{} + c.GetGlobalTokenRevocationJWTIss() + c = nil + c.GetGlobalTokenRevocationJWTIss() +} + +func TestConnectionOptionsSAML_GetGlobalTokenRevocationJWTSub(tt *testing.T) { + var zeroValue string + c := &ConnectionOptionsSAML{GlobalTokenRevocationJWTSub: &zeroValue} + c.GetGlobalTokenRevocationJWTSub() + c = &ConnectionOptionsSAML{} + c.GetGlobalTokenRevocationJWTSub() + c = nil + c.GetGlobalTokenRevocationJWTSub() +} + func TestConnectionOptionsSAML_GetIdpInitiated(tt *testing.T) { c := &ConnectionOptionsSAML{} c.GetIdpInitiated()