// NewOIDCConnector returns a new OIDC connector with specified name and spec
NewOIDCConnector returns a new OIDC connector with specified name and spec
// NewOIDCConnector returns a new OIDC connector with specified name and spec
func NewOIDCConnector(name string, spec teleservices.OIDCConnectorSpecV2) *teleservices.OIDCConnectorV2 {
	return &teleservices.OIDCConnectorV2{
		Kind:    teleservices.KindOIDCConnector,
		Version: teleservices.V2,
		Metadata: teleservices.Metadata{
			Name:      name,
			Namespace: defaults.Namespace,
		},
		Spec: spec,
	}
}
func NewOIDCConnector ( name string , spec teleservices . OIDCConnectorSpecV2 ) * teleservices . OIDCConnectorV2 { return & teleservices . OIDCConnectorV2 { Kind : teleservices . KindOIDCConnector , Version : teleservices . V2 , Metadata : teleservices . Metadata { Name : name , Namespace : defaults . Namespace , } , Spec : spec , } }
NewOIDCConnector returns a new OIDC connector with specified name and spec
NewOIDCConnector returns a new OIDC connector with specified name and spec