API Authentication
Selenium Boot supports three auth strategies out of the box: Bearer token, Basic auth, and OAuth2 client credentials.
Bearer Token
ApiClient.get("/api/me")
.auth(ApiAuth.bearerToken("my-secret-token"))
.send();
Basic Auth
ApiClient.get("/api/admin")
.auth(ApiAuth.basicAuth("admin", "password"))
.send();