import { AuthorizationCodeClient, AuthorizationCodeRequest, ICrypto, AuthenticationResult, Authority, INetworkModule } from "@azure/msal-common"; import { BrowserCacheManager } from "../cache/BrowserCacheManager"; import { InteractionHandler, InteractionParams } from "./InteractionHandler"; export declare type RedirectParams = InteractionParams & { redirectTimeout: number; redirectStartPage: string; }; export declare class RedirectHandler extends InteractionHandler { private browserCrypto; constructor(authCodeModule: AuthorizationCodeClient, storageImpl: BrowserCacheManager, browserCrypto: ICrypto); /** * Redirects window to given URL. * @param urlNavigate */ initiateAuthRequest(requestUrl: string, authCodeRequest: AuthorizationCodeRequest, params: RedirectParams): Promise; /** * Handle authorization code response in the window. * @param hash */ handleCodeResponse(locationHash: string, authority: Authority, networkModule: INetworkModule, clientId?: string): Promise; }