/** * Copyright(c) Microsoft Corporation.All rights reserved. * Licensed under the MIT License. */ import { ComponentDialog, PromptValidatorContext, OAuthPromptSettings } from 'botbuilder-dialogs'; import { Activity } from 'botframework-schema'; import { IOAuthConnection } from '../authentication'; import { AppCredentials } from 'botframework-connector'; /** * Provides the ability to prompt for which Authentication provider the user wishes to use. */ export declare class MultiProviderAuthDialog extends ComponentDialog { private static readonly acceptedLocales; private selectedAuthType; private authenticationConnections; private responseManager; private oauthCredentials; constructor(authenticationConnections: IOAuthConnection[], locale: string, promptSettings: OAuthPromptSettings[], oauthCredentials?: AppCredentials); private getLocalizedDialog; protected tokenResponseValidator(pc: PromptValidatorContext): Promise; private firstStep; private promptForProvider; private promptForAuth; private handleTokenResponse; private createProviderTokenResponse; private getTokenStatus; private authPromptValidator; }