UNPKG

search-client

Version:

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

9 lines (8 loc) 433 B
import { Fetch } from '../Common'; import { AuthToken } from './AuthToken'; import { JwtAuthentication } from './JwtAuthentication'; import { OidcAuthentication } from './OidcAuthentication'; import { IAuthenticationSettings } from './AuthenticationSettings'; export declare class AuthenticationFactory { create(settings: IAuthenticationSettings, auth?: AuthToken, fetchMethod?: Fetch): JwtAuthentication | OidcAuthentication; }