@databricks/sql
Version:
Driver for connection to Databricks SQL via Thrift API.
16 lines • 437 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.OAuthPersistenceCache = void 0;
class OAuthPersistenceCache {
constructor() {
this.tokens = {};
}
async persist(host, token) {
this.tokens[host] = token;
}
async read(host) {
return this.tokens[host];
}
}
exports.OAuthPersistenceCache = OAuthPersistenceCache;
//# sourceMappingURL=OAuthPersistence.js.map
;