search-client
Version:
Javascript library for executing searches in the Haive search-index via the SearchManager REST interface.
11 lines (10 loc) • 398 B
TypeScript
/**
* This class defines the auth-token that all the services in the SearchClient instance passes along it's serverside lookups.
*/
export declare class AuthToken {
/**
* 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 authenticationToken(): string;
tokenResolver: () => string;
}