UCTokenBasedRestClientFactory¶
UCTokenBasedRestClientFactory is a UCClientFactory to create a UCTokenBasedRestClient.
createUCClient¶
UCClientFactory
createUCClient is part of the UCClientFactory abstraction.
createUCClient createUCClientWithVersions.
createUCClientWithVersions¶
createUCClientWithVersions(
uri: String,
authConfig: Map[String, String],
appVersions: Map[String, String]): UCClient
createUCClientWithVersions creates a TokenProvider (Unity Catalog) for the given authConfig.
In the end, createUCClientWithVersions creates a UCTokenBasedRestClient for the given uri (with the TokenProvider and appVersions).
createUCClientWithVersions is used when:
UCTokenBasedRestClientFactoryis requested to createUCClient and createUCClientWithVersions