UNPKG

@azure/msal-browser

Version:
16 lines 892 B
import { NavigationClient } from "../navigation/NavigationClient.js"; /** * Processes the authentication response from the redirect URL * For SSO and popup scenarios broadcasts it to the main frame * For redirect scenario navigates to the home page * * @param {NavigationClient} navigationClient - Optional navigation client for redirect scenario. * * @returns {Promise<void>} A promise that resolves when the response has been broadcast and cleanup is complete. * * @throws {AuthError} If no authentication payload is found in the URL (hash or query string). * @throws {AuthError} If the state parameter is missing from the redirect URL. * @throws {AuthError} If the state is missing required 'id' or 'meta' attributes. */ export declare function broadcastResponseToMainFrame(navigationClient?: NavigationClient): Promise<void>; //# sourceMappingURL=index.d.ts.map