import { Logger } from '../..'; import { Oauth2Service } from '../services/types/oauth2.type'; import { HeaderBasedAuthentication, Oauth2Authentication } from './authns'; import { AuthenticationManager } from './types/authn.type'; export declare class Oauth2AuthenticationManager implements AuthenticationManager { private oauth2Service; private clientId; private clientSecret; private authUrl; private logger; constructor(opts: { oauth2Service: Oauth2Service; clientId: string; clientSecret: string; authUrl: string; logger: Logger; }); authenticate(authentication: HeaderBasedAuthentication): Promise; private searchPermission; }