// NewSAMLConnector returns a new SAML connector with specified name and spec
NewSAMLConnector returns a new SAML connector with specified name and spec
// NewSAMLConnector returns a new SAML connector with specified name and spec
func NewSAMLConnector(name string, spec teleservices.SAMLConnectorSpecV2) *teleservices.SAMLConnectorV2 {
	return &teleservices.SAMLConnectorV2{
		Kind:    teleservices.KindSAMLConnector,
		Version: teleservices.V2,
		Metadata: teleservices.Metadata{
			Name:      name,
			Namespace: defaults.Namespace,
		},
		Spec: spec,
	}
}
func NewSAMLConnector ( name string , spec teleservices . SAMLConnectorSpecV2 ) * teleservices . SAMLConnectorV2 { return & teleservices . SAMLConnectorV2 { Kind : teleservices . KindSAMLConnector , Version : teleservices . V2 , Metadata : teleservices . Metadata { Name : name , Namespace : defaults . Namespace , } , Spec : spec , } }
NewSAMLConnector returns a new SAML connector with specified name and spec
NewSAMLConnector returns a new SAML connector with specified name and spec