UNPKG

@azure/msal-browser

Version:
15 lines (14 loc) 677 B
import { AuthorizationCodeRequest, ICrypto, AuthenticationResult } from "@azure/msal-common"; import { InteractionHandler } from "./InteractionHandler"; export declare class RedirectHandler extends InteractionHandler { /** * Redirects window to given URL. * @param urlNavigate */ initiateAuthRequest(requestUrl: string, authCodeRequest: AuthorizationCodeRequest, redirectStartPage?: string, browserCrypto?: ICrypto): Window; /** * Handle authorization code response in the window. * @param hash */ handleCodeResponse(locationHash: string, browserCrypto?: ICrypto, clientId?: string): Promise<AuthenticationResult>; }