search-client
Version:
Javascript library for executing searches in the Haive search-index via the SearchManager REST interface.
16 lines (15 loc) • 556 B
TypeScript
/**
* These are the triggers that define when and when not to trigger an authentication lookup.
*/
export declare class AuthenticationTriggers {
/**
* Defines how long in seconds before expiry we should request a new auth token.
* Default: 60 - Refresh the token after 1 minute.
*/
expiryOverlap?: number;
/**
* Creates an AuthenticationTrigger object for you.
* @param triggers - The trigger defined here will override the default AuthenticationTrigger.
*/
constructor(triggers?: AuthenticationTriggers);
}