We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1e8e488 + 1592e9b commit fe12fdeCopy full SHA for fe12fde
sample-scripts/open_server.groovy
@@ -8,7 +8,10 @@ import qupath.lib.images.servers.*
8
9
// Create a connection to an OMERO server
10
def serverURL = "https://idr.openmicroscopy.org/"
11
-def client = WebClients.createClient(serverURL).get()
+def authentication = WebClient.Authentication.TRY_TO_SKIP // try to skip authentication if the server allows it. Can be
12
+ // WebClient.Authentication.ENFORCE to enforce authentication or
13
+ // WebClient.Authentication.SKIP to skip authentication (even if the server doesn't allow it)
14
+def client = WebClients.createClient(serverURL, authentication).get()
15
16
// List projects of the OMERO server
17
def projects = client.getApisHandler().getProjects().get()
0 commit comments