func (i *OIDCIdentity) Check() error {
	if i.ConnectorID == "" {
		return trace.BadParameter("ConnectorID: missing value")
	}
	if i.Email == "" {
		return trace.BadParameter("Email: missing email")
	}
	return nil
}
// Check returns nil if all parameters are great, err otherwise
Check returns nil if all parameters are great, err otherwise
// Check returns nil if all parameters are great err otherwise
func (i *OIDCIdentity) Check() error {
	if i.ConnectorID == "" {
		return trace.BadParameter("ConnectorID: missing value")
	}
	if i.Email == "" {
		return trace.BadParameter("Email: missing email")
	}
	return nil
}
func ( i * OIDCIdentity ) Check ( ) error { if i . ConnectorID == " " { return trace . BadParameter ( " " ) } if i . Email == " " { return trace . BadParameter ( " " ) } return nil }
Check returns nil if all parameters are great, err otherwise
Check returns nil if all parameters are great err otherwise