UNPKG

search-client

Version:

Javascript library for executing searches in the Haive search-index via the SearchManager REST interface.

20 lines 727 B
/** * This class defines the auth-token that all the services in the SearchClient instance passes along it's serverside lookups. */ var AuthToken = /** @class */ (function () { function AuthToken() { } Object.defineProperty(AuthToken.prototype, "authenticationToken", { /** * Getter will call token resolver to obtain the Json Web Token that is to be used to authenticate the rest-calls to the search-service. */ get: function () { return this.tokenResolver instanceof Function ? this.tokenResolver() : ""; }, enumerable: false, configurable: true }); return AuthToken; }()); export { AuthToken }; //# sourceMappingURL=AuthToken.js.map