@azure/msal-browser
Version:
Microsoft Authentication Library for js
18 lines (16 loc) • 601 B
text/typescript
/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License.
*/
/**
* postMessage envelope type used to relay an auth response from a popup-relay
* page (see `runPopupRelay`) back to the embedded frame that opened it. See
* {@link BrowserAuthOptions.popupRelayUri}.
*
* Kept dependency-free so both the relay-page entry (`./index.js`) and the
* client-side helpers (`./relayClient.js`) can import it without either bundle
* pulling in the other's dependencies.
*
* @internal
*/
export const POPUP_RELAY_RESPONSE_TYPE = "msal:popup-relay-response:v1";