technology.semi.weaviate.client.v1.misc.api.OpenIDConfigGetter Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of client Show documentation
Show all versions of client Show documentation
A java client for Weaviate Vector Search Engine
package technology.semi.weaviate.client.v1.misc.api;
import technology.semi.weaviate.client.Config;
import technology.semi.weaviate.client.base.BaseClient;
import technology.semi.weaviate.client.base.ClientResult;
import technology.semi.weaviate.client.base.Response;
import technology.semi.weaviate.client.base.Result;
import technology.semi.weaviate.client.v1.misc.model.OpenIDConfiguration;
public class OpenIDConfigGetter extends BaseClient implements ClientResult {
public OpenIDConfigGetter(Config config) {
super(config);
}
@Override
public Result run() {
Response resp = sendGetRequest("/.well-known/openid-configuration", OpenIDConfiguration.class);
return new Result<>(resp);
}
}