ark::catalog::CatalogApi
Defined in header “ark/catalog/catalog_api/api.hh”.
Wrapper around the base Catalog API which adds automatic authentication/refreshing. Otherwise, this is a straight passthrough.
Methods
-
CatalogApi(const core::Url & url, const std::string & bearer_token)
Connect to the given URL using the specified bearer token. If the token is empty, we will read it with the authentication client. -
CatalogApi(const comms::NetworkAddress & address, const std::string & bearer_token)
Connect to the given address using the specified bearer token. If the token is empty, we will read it with the authentication client. -
CatalogApi(const core::Url & url)
Connect to the given URL. Gets the bearer token from the authentication client.