import { CommonAuthorizationCodeRequest, AuthenticationResult, AuthorizationCodeClient, Authority, INetworkModule, CcsCredential, Logger } from "@azure/msal-common"; import { BrowserCacheManager } from "../cache/BrowserCacheManager"; export declare type InteractionParams = {}; /** * Abstract class which defines operations for a browser interaction handling class. */ export declare abstract class InteractionHandler { protected authModule: AuthorizationCodeClient; protected browserStorage: BrowserCacheManager; protected authCodeRequest: CommonAuthorizationCodeRequest; protected browserRequestLogger: Logger; constructor(authCodeModule: AuthorizationCodeClient, storageImpl: BrowserCacheManager, authCodeRequest: CommonAuthorizationCodeRequest, browserRequestLogger: Logger); /** * Function to enable user interaction. * @param requestUrl */ abstract initiateAuthRequest(requestUrl: string, params: InteractionParams): Window | Promise | Promise; /** * Function to handle response parameters from hash. * @param locationHash */ handleCodeResponse(locationHash: string, state: string, authority: Authority, networkModule: INetworkModule): Promise; /** * Updates authority based on cloudInstanceHostname * @param cloudInstanceHostname * @param authority * @param networkModule */ protected updateTokenEndpointAuthority(cloudInstanceHostname: string, authority: Authority, networkModule: INetworkModule): Promise; /** * Looks up ccs creds in the cache */ protected checkCcsCredentials(): CcsCredential | null; } //# sourceMappingURL=InteractionHandler.d.ts.map