@azure/msal-browser
Version:
Microsoft Authentication Library for js
15 lines (14 loc) • 677 B
TypeScript
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>;
}