All Downloads are FREE. Search and download functionalities are using the official Maven repository.

technology.semi.weaviate.client.v1.misc.api.OpenIDConfigGetter Maven / Gradle / Ivy

There is a newer version: 4.0.0
Show newest version
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);
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy