import { TokenServerAuthError } from '../../silent-login'; import { WithMicroserviceContext } from '../with-microservice'; import { AuthAdapter } from './auth-adapter'; export interface TokenServerAuthOptions { authInfoURL?: string; onError?: (defaultErrorHandler: (error: TokenServerAuthError) => void, error: TokenServerAuthError) => void; } export { TokenServerAuthError } from '../../silent-login'; export declare class TokenServerAuth implements AuthAdapter { #private; constructor(context: WithMicroserviceContext, options?: TokenServerAuthOptions); onDestroy(): void; authenticate(): Promise; private get authUrl(); private handleError; private abortAuthRequest; } //# sourceMappingURL=token-server-auth.d.ts.map