code: func (i *OIDCAuthRequest) Check() error {
  	if i.ConnectorID == "" {
  		return trace.BadParameter("ConnectorID: missing value")
  	}
  	if i.StateToken == "" {
  		return trace.BadParameter("StateToken: missing value")
  	}
  	if len(i.PublicKey) != 0 {
  		_, _, _, _, err := ssh.ParseAuthorizedKey(i.PublicKey)
  		if err != nil {
  			return trace.BadParameter("PublicKey: bad key: %v", err)
  		}
  		if (i.CertTTL > defaults.MaxCertDuration) || (i.CertTTL < defaults.MinCertDuration) {
  			return trace.BadParameter("CertTTL: wrong certificate TTL")
  		}
  	}
  
  	return nil
  }
docs: // Check returns nil if all parameters are great, err otherwise