@azure/msal-browser 5.0.0-beta.0 → 5.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/app/IPublicClientApplication.mjs +1 -1
- package/dist/app/PublicClientApplication.mjs +1 -1
- package/dist/broker/nativeBroker/NativeStatusCodes.mjs +1 -1
- package/dist/broker/nativeBroker/PlatformAuthDOMHandler.mjs +1 -1
- package/dist/broker/nativeBroker/PlatformAuthExtensionHandler.mjs +1 -1
- package/dist/broker/nativeBroker/PlatformAuthProvider.mjs +1 -1
- package/dist/cache/AccountManager.mjs +1 -1
- package/dist/cache/AsyncMemoryStorage.mjs +1 -1
- package/dist/cache/BrowserCacheManager.mjs +1 -1
- package/dist/cache/CacheHelpers.mjs +1 -1
- package/dist/cache/CacheKeys.mjs +1 -1
- package/dist/cache/CookieStorage.mjs +1 -1
- package/dist/cache/DatabaseStorage.mjs +1 -1
- package/dist/cache/EncryptedData.mjs +1 -1
- package/dist/cache/LocalStorage.mjs +1 -1
- package/dist/cache/MemoryStorage.mjs +1 -1
- package/dist/cache/SessionStorage.mjs +1 -1
- package/dist/cache/TokenCache.d.ts +7 -5
- package/dist/cache/TokenCache.d.ts.map +1 -1
- package/dist/cache/TokenCache.mjs +44 -32
- package/dist/cache/TokenCache.mjs.map +1 -1
- package/dist/config/Configuration.mjs +1 -1
- package/dist/controllers/NestedAppAuthController.mjs +1 -1
- package/dist/controllers/StandardController.mjs +1 -1
- package/dist/crypto/BrowserCrypto.mjs +1 -1
- package/dist/crypto/CryptoOps.mjs +1 -1
- package/dist/crypto/PkceGenerator.mjs +1 -1
- package/dist/crypto/SignedHttpRequest.mjs +1 -1
- package/dist/custom-auth-path/app/PublicClientApplication.mjs +1 -1
- package/dist/custom-auth-path/broker/nativeBroker/NativeStatusCodes.mjs +1 -1
- package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthDOMHandler.mjs +1 -1
- package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthExtensionHandler.mjs +1 -1
- package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthProvider.mjs +1 -1
- package/dist/custom-auth-path/cache/AccountManager.mjs +1 -1
- package/dist/custom-auth-path/cache/AsyncMemoryStorage.mjs +1 -1
- package/dist/custom-auth-path/cache/BrowserCacheManager.mjs +1 -1
- package/dist/custom-auth-path/cache/CacheHelpers.mjs +1 -1
- package/dist/custom-auth-path/cache/CacheKeys.mjs +1 -1
- package/dist/custom-auth-path/cache/CookieStorage.mjs +1 -1
- package/dist/custom-auth-path/cache/DatabaseStorage.mjs +1 -1
- package/dist/custom-auth-path/cache/EncryptedData.mjs +1 -1
- package/dist/custom-auth-path/cache/LocalStorage.mjs +1 -1
- package/dist/custom-auth-path/cache/MemoryStorage.mjs +1 -1
- package/dist/custom-auth-path/cache/SessionStorage.mjs +1 -1
- package/dist/custom-auth-path/cache/TokenCache.d.ts +7 -5
- package/dist/custom-auth-path/cache/TokenCache.d.ts.map +1 -1
- package/dist/custom-auth-path/config/Configuration.mjs +1 -1
- package/dist/custom-auth-path/controllers/StandardController.mjs +1 -1
- package/dist/custom-auth-path/crypto/BrowserCrypto.mjs +1 -1
- package/dist/custom-auth-path/crypto/CryptoOps.mjs +1 -1
- package/dist/custom-auth-path/crypto/PkceGenerator.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/CustomAuthConstants.d.ts +1 -1
- package/dist/custom-auth-path/custom_auth/CustomAuthConstants.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/CustomAuthPublicClientApplication.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/controller/CustomAuthStandardController.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/CustomAuthAuthority.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowErrorBase.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowResultBase.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowStateTypes.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationChallengeMethodResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationSubmitChallengeResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationCompletedState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationFailedState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/error_type/MfaError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaFailedState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/CustomAuthApiError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/CustomAuthError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/HttpError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/HttpErrorCodes.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/InvalidArgumentError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/InvalidConfigurationError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/InvalidConfigurationErrorCodes.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/MethodNotImplementedError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/MsalCustomAuthError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/NoCachedAccountFoundError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/ParsedUrlError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/ParsedUrlErrorCodes.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/UnexpectedError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/UnsupportedEnvironmentError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/UserAccountAttributeError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/UserAlreadySignedInError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/interaction_client/CustomAuthInterationClientFactory.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/interaction_client/jit/JitClient.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/interaction_client/jit/result/JitActionResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/interaction_client/mfa/MfaClient.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/interaction_client/mfa/result/MfaActionResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/BaseApiClient.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/RegisterApiClient.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/ResetPasswordApiClient.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/SignInApiClient.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/SignupApiClient.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiErrorCodes.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/http_client/FetchHttpClient.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/http_client/IHttpClient.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/telemetry/PublicApiId.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/utils/ArgumentValidator.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/utils/UrlUtils.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/CustomAuthAccountData.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/error_type/GetAccountError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/result/GetAccessTokenResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/result/GetAccountResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/result/SignOutResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/state/GetAccessTokenState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/state/GetAccountState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/state/SignOutState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/index.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/operating_context/CustomAuthOperatingContext.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/error_type/ResetPasswordError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordResendCodeResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordStartResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitCodeResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitPasswordResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordCodeRequiredState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordCompletedState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordFailedState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordPasswordRequiredState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/reset_password/interaction_client/ResetPasswordClient.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/SignInScenario.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/error_type/SignInError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInResendCodeResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInCompletedState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInContinuationState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInFailedState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/SignInClient.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/result/SignInActionResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/error_type/SignUpError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpResendCodeResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpSubmitAttributesResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpSubmitCodeResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpSubmitPasswordResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpCompletedState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpFailedState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpPasswordRequiredState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/interaction_client/SignUpClient.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/interaction_client/result/SignUpActionResult.mjs +1 -1
- package/dist/custom-auth-path/encode/Base64Decode.mjs +1 -1
- package/dist/custom-auth-path/encode/Base64Encode.mjs +1 -1
- package/dist/custom-auth-path/error/BrowserAuthError.mjs +1 -1
- package/dist/custom-auth-path/error/BrowserAuthErrorCodes.mjs +1 -1
- package/dist/custom-auth-path/error/BrowserConfigurationAuthError.mjs +1 -1
- package/dist/custom-auth-path/error/BrowserConfigurationAuthErrorCodes.mjs +1 -1
- package/dist/custom-auth-path/error/NativeAuthError.mjs +1 -1
- package/dist/custom-auth-path/error/NativeAuthErrorCodes.mjs +1 -1
- package/dist/custom-auth-path/event/EventHandler.mjs +1 -1
- package/dist/custom-auth-path/event/EventType.mjs +1 -1
- package/dist/custom-auth-path/interaction_client/BaseInteractionClient.mjs +1 -1
- package/dist/custom-auth-path/interaction_client/HybridSpaAuthorizationCodeClient.mjs +1 -1
- package/dist/custom-auth-path/interaction_client/PlatformAuthInteractionClient.mjs +1 -1
- package/dist/custom-auth-path/interaction_client/PopupClient.mjs +1 -1
- package/dist/custom-auth-path/interaction_client/RedirectClient.mjs +1 -1
- package/dist/custom-auth-path/interaction_client/SilentAuthCodeClient.mjs +1 -1
- package/dist/custom-auth-path/interaction_client/SilentCacheClient.mjs +1 -1
- package/dist/custom-auth-path/interaction_client/SilentIframeClient.mjs +1 -1
- package/dist/custom-auth-path/interaction_client/SilentRefreshClient.mjs +1 -1
- package/dist/custom-auth-path/interaction_client/StandardInteractionClient.mjs +1 -1
- package/dist/custom-auth-path/interaction_handler/InteractionHandler.mjs +1 -1
- package/dist/custom-auth-path/interaction_handler/SilentHandler.mjs +1 -1
- package/dist/custom-auth-path/log-strings-mapping.json +2 -2
- package/dist/custom-auth-path/navigation/NavigationClient.mjs +1 -1
- package/dist/custom-auth-path/network/FetchClient.mjs +1 -1
- package/dist/custom-auth-path/operatingcontext/BaseOperatingContext.mjs +1 -1
- package/dist/custom-auth-path/operatingcontext/StandardOperatingContext.mjs +1 -1
- package/dist/custom-auth-path/packageMetadata.d.ts +1 -1
- package/dist/custom-auth-path/packageMetadata.d.ts.map +1 -1
- package/dist/custom-auth-path/packageMetadata.mjs +2 -2
- package/dist/custom-auth-path/protocol/Authorize.mjs +1 -1
- package/dist/custom-auth-path/request/AuthorizationCodeRequest.d.ts +18 -0
- package/dist/custom-auth-path/request/AuthorizationCodeRequest.d.ts.map +1 -1
- package/dist/custom-auth-path/request/ClearCacheRequest.d.ts +6 -2
- package/dist/custom-auth-path/request/ClearCacheRequest.d.ts.map +1 -1
- package/dist/custom-auth-path/request/EndSessionPopupRequest.d.ts +12 -9
- package/dist/custom-auth-path/request/EndSessionPopupRequest.d.ts.map +1 -1
- package/dist/custom-auth-path/request/EndSessionRequest.d.ts +3 -6
- package/dist/custom-auth-path/request/EndSessionRequest.d.ts.map +1 -1
- package/dist/custom-auth-path/request/InitializeApplicationRequest.d.ts +3 -2
- package/dist/custom-auth-path/request/InitializeApplicationRequest.d.ts.map +1 -1
- package/dist/custom-auth-path/request/PopupRequest.d.ts +12 -24
- package/dist/custom-auth-path/request/PopupRequest.d.ts.map +1 -1
- package/dist/custom-auth-path/request/RedirectRequest.d.ts +6 -22
- package/dist/custom-auth-path/request/RedirectRequest.d.ts.map +1 -1
- package/dist/custom-auth-path/request/RequestHelpers.mjs +1 -1
- package/dist/custom-auth-path/request/SilentRequest.d.ts +33 -13
- package/dist/custom-auth-path/request/SilentRequest.d.ts.map +1 -1
- package/dist/custom-auth-path/request/SsoSilentRequest.d.ts +0 -21
- package/dist/custom-auth-path/request/SsoSilentRequest.d.ts.map +1 -1
- package/dist/custom-auth-path/response/ResponseHandler.mjs +1 -1
- package/dist/custom-auth-path/telemetry/BrowserPerformanceEvents.d.ts +4 -0
- package/dist/custom-auth-path/telemetry/BrowserPerformanceEvents.d.ts.map +1 -1
- package/dist/custom-auth-path/telemetry/BrowserPerformanceEvents.mjs +1 -1
- package/dist/custom-auth-path/telemetry/BrowserRootPerformanceEvents.d.ts +1 -0
- package/dist/custom-auth-path/telemetry/BrowserRootPerformanceEvents.d.ts.map +1 -1
- package/dist/custom-auth-path/telemetry/BrowserRootPerformanceEvents.mjs +1 -1
- package/dist/custom-auth-path/utils/BrowserConstants.mjs +1 -1
- package/dist/custom-auth-path/utils/BrowserProtocolUtils.mjs +1 -1
- package/dist/custom-auth-path/utils/BrowserUtils.mjs +1 -1
- package/dist/custom-auth-path/utils/Helpers.mjs +1 -1
- package/dist/custom-auth-path/utils/MsalFrameStatsUtils.mjs +1 -1
- package/dist/custom_auth/CustomAuthConstants.d.ts +1 -1
- package/dist/encode/Base64Decode.mjs +1 -1
- package/dist/encode/Base64Encode.mjs +1 -1
- package/dist/error/BrowserAuthError.mjs +1 -1
- package/dist/error/BrowserAuthErrorCodes.mjs +1 -1
- package/dist/error/BrowserConfigurationAuthError.mjs +1 -1
- package/dist/error/BrowserConfigurationAuthErrorCodes.mjs +1 -1
- package/dist/error/NativeAuthError.mjs +1 -1
- package/dist/error/NativeAuthErrorCodes.mjs +1 -1
- package/dist/error/NestedAppAuthError.mjs +1 -1
- package/dist/event/EventHandler.mjs +1 -1
- package/dist/event/EventMessage.mjs +1 -1
- package/dist/event/EventType.mjs +1 -1
- package/dist/index.mjs +1 -1
- package/dist/interaction_client/BaseInteractionClient.mjs +1 -1
- package/dist/interaction_client/HybridSpaAuthorizationCodeClient.mjs +1 -1
- package/dist/interaction_client/PlatformAuthInteractionClient.mjs +1 -1
- package/dist/interaction_client/PopupClient.mjs +1 -1
- package/dist/interaction_client/RedirectClient.mjs +1 -1
- package/dist/interaction_client/SilentAuthCodeClient.mjs +1 -1
- package/dist/interaction_client/SilentCacheClient.mjs +1 -1
- package/dist/interaction_client/SilentIframeClient.mjs +1 -1
- package/dist/interaction_client/SilentRefreshClient.mjs +1 -1
- package/dist/interaction_client/StandardInteractionClient.mjs +1 -1
- package/dist/interaction_handler/InteractionHandler.mjs +1 -1
- package/dist/interaction_handler/SilentHandler.mjs +1 -1
- package/dist/log-strings-mapping.json +2 -2
- package/dist/naa/BridgeError.mjs +1 -1
- package/dist/naa/BridgeProxy.mjs +1 -1
- package/dist/naa/BridgeStatusCode.mjs +1 -1
- package/dist/naa/mapping/NestedAppAuthAdapter.mjs +1 -1
- package/dist/navigation/NavigationClient.mjs +1 -1
- package/dist/network/FetchClient.mjs +1 -1
- package/dist/operatingcontext/BaseOperatingContext.mjs +1 -1
- package/dist/operatingcontext/NestedAppOperatingContext.mjs +1 -1
- package/dist/operatingcontext/StandardOperatingContext.mjs +1 -1
- package/dist/packageMetadata.d.ts +1 -1
- package/dist/packageMetadata.d.ts.map +1 -1
- package/dist/packageMetadata.mjs +2 -2
- package/dist/protocol/Authorize.mjs +1 -1
- package/dist/redirect-bridge/cache/CacheKeys.mjs +1 -1
- package/dist/redirect-bridge/cache/TokenCache.d.ts +7 -5
- package/dist/redirect-bridge/cache/TokenCache.d.ts.map +1 -1
- package/dist/redirect-bridge/config/Configuration.mjs +1 -1
- package/dist/redirect-bridge/custom_auth/CustomAuthConstants.d.ts +1 -1
- package/dist/redirect-bridge/encode/Base64Decode.mjs +1 -1
- package/dist/redirect-bridge/error/BrowserAuthError.mjs +1 -1
- package/dist/redirect-bridge/error/BrowserAuthErrorCodes.mjs +1 -1
- package/dist/redirect-bridge/navigation/NavigationClient.mjs +1 -1
- package/dist/redirect-bridge/packageMetadata.d.ts +1 -1
- package/dist/redirect-bridge/packageMetadata.d.ts.map +1 -1
- package/dist/redirect-bridge/redirect_bridge/index.mjs +1 -1
- package/dist/redirect-bridge/request/AuthorizationCodeRequest.d.ts +18 -0
- package/dist/redirect-bridge/request/AuthorizationCodeRequest.d.ts.map +1 -1
- package/dist/redirect-bridge/request/ClearCacheRequest.d.ts +6 -2
- package/dist/redirect-bridge/request/ClearCacheRequest.d.ts.map +1 -1
- package/dist/redirect-bridge/request/EndSessionPopupRequest.d.ts +12 -9
- package/dist/redirect-bridge/request/EndSessionPopupRequest.d.ts.map +1 -1
- package/dist/redirect-bridge/request/EndSessionRequest.d.ts +3 -6
- package/dist/redirect-bridge/request/EndSessionRequest.d.ts.map +1 -1
- package/dist/redirect-bridge/request/InitializeApplicationRequest.d.ts +3 -2
- package/dist/redirect-bridge/request/InitializeApplicationRequest.d.ts.map +1 -1
- package/dist/redirect-bridge/request/PopupRequest.d.ts +12 -24
- package/dist/redirect-bridge/request/PopupRequest.d.ts.map +1 -1
- package/dist/redirect-bridge/request/RedirectRequest.d.ts +6 -22
- package/dist/redirect-bridge/request/RedirectRequest.d.ts.map +1 -1
- package/dist/redirect-bridge/request/SilentRequest.d.ts +33 -13
- package/dist/redirect-bridge/request/SilentRequest.d.ts.map +1 -1
- package/dist/redirect-bridge/request/SsoSilentRequest.d.ts +0 -21
- package/dist/redirect-bridge/request/SsoSilentRequest.d.ts.map +1 -1
- package/dist/redirect-bridge/telemetry/BrowserPerformanceEvents.d.ts +4 -0
- package/dist/redirect-bridge/telemetry/BrowserPerformanceEvents.d.ts.map +1 -1
- package/dist/redirect-bridge/telemetry/BrowserRootPerformanceEvents.d.ts +1 -0
- package/dist/redirect-bridge/telemetry/BrowserRootPerformanceEvents.d.ts.map +1 -1
- package/dist/redirect-bridge/utils/BrowserConstants.mjs +1 -1
- package/dist/redirect-bridge/utils/BrowserUtils.mjs +1 -1
- package/dist/request/AuthorizationCodeRequest.d.ts +18 -0
- package/dist/request/AuthorizationCodeRequest.d.ts.map +1 -1
- package/dist/request/ClearCacheRequest.d.ts +6 -2
- package/dist/request/ClearCacheRequest.d.ts.map +1 -1
- package/dist/request/EndSessionPopupRequest.d.ts +12 -9
- package/dist/request/EndSessionPopupRequest.d.ts.map +1 -1
- package/dist/request/EndSessionRequest.d.ts +3 -6
- package/dist/request/EndSessionRequest.d.ts.map +1 -1
- package/dist/request/InitializeApplicationRequest.d.ts +3 -2
- package/dist/request/InitializeApplicationRequest.d.ts.map +1 -1
- package/dist/request/PopupRequest.d.ts +12 -24
- package/dist/request/PopupRequest.d.ts.map +1 -1
- package/dist/request/RedirectRequest.d.ts +6 -22
- package/dist/request/RedirectRequest.d.ts.map +1 -1
- package/dist/request/RequestHelpers.mjs +1 -1
- package/dist/request/SilentRequest.d.ts +33 -13
- package/dist/request/SilentRequest.d.ts.map +1 -1
- package/dist/request/SsoSilentRequest.d.ts +0 -21
- package/dist/request/SsoSilentRequest.d.ts.map +1 -1
- package/dist/response/ResponseHandler.mjs +1 -1
- package/dist/telemetry/BrowserPerformanceClient.mjs +1 -1
- package/dist/telemetry/BrowserPerformanceEvents.d.ts +4 -0
- package/dist/telemetry/BrowserPerformanceEvents.d.ts.map +1 -1
- package/dist/telemetry/BrowserPerformanceEvents.mjs +7 -3
- package/dist/telemetry/BrowserPerformanceEvents.mjs.map +1 -1
- package/dist/telemetry/BrowserPerformanceMeasurement.mjs +1 -1
- package/dist/telemetry/BrowserRootPerformanceEvents.d.ts +1 -0
- package/dist/telemetry/BrowserRootPerformanceEvents.d.ts.map +1 -1
- package/dist/telemetry/BrowserRootPerformanceEvents.mjs +5 -3
- package/dist/telemetry/BrowserRootPerformanceEvents.mjs.map +1 -1
- package/dist/utils/BrowserConstants.mjs +1 -1
- package/dist/utils/BrowserProtocolUtils.mjs +1 -1
- package/dist/utils/BrowserUtils.mjs +1 -1
- package/dist/utils/Helpers.mjs +1 -1
- package/dist/utils/MsalFrameStatsUtils.mjs +1 -1
- package/lib/custom-auth-path/log-strings-mapping.json +2 -2
- package/lib/custom-auth-path/msal-custom-auth.cjs +77 -72
- package/lib/custom-auth-path/msal-custom-auth.cjs.map +1 -1
- package/lib/custom-auth-path/types/cache/TokenCache.d.ts +7 -5
- package/lib/custom-auth-path/types/cache/TokenCache.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/CustomAuthConstants.d.ts +1 -1
- package/lib/custom-auth-path/types/packageMetadata.d.ts +1 -1
- package/lib/custom-auth-path/types/packageMetadata.d.ts.map +1 -1
- package/lib/custom-auth-path/types/request/AuthorizationCodeRequest.d.ts +18 -0
- package/lib/custom-auth-path/types/request/AuthorizationCodeRequest.d.ts.map +1 -1
- package/lib/custom-auth-path/types/request/ClearCacheRequest.d.ts +6 -2
- package/lib/custom-auth-path/types/request/ClearCacheRequest.d.ts.map +1 -1
- package/lib/custom-auth-path/types/request/EndSessionPopupRequest.d.ts +12 -9
- package/lib/custom-auth-path/types/request/EndSessionPopupRequest.d.ts.map +1 -1
- package/lib/custom-auth-path/types/request/EndSessionRequest.d.ts +3 -6
- package/lib/custom-auth-path/types/request/EndSessionRequest.d.ts.map +1 -1
- package/lib/custom-auth-path/types/request/InitializeApplicationRequest.d.ts +3 -2
- package/lib/custom-auth-path/types/request/InitializeApplicationRequest.d.ts.map +1 -1
- package/lib/custom-auth-path/types/request/PopupRequest.d.ts +12 -24
- package/lib/custom-auth-path/types/request/PopupRequest.d.ts.map +1 -1
- package/lib/custom-auth-path/types/request/RedirectRequest.d.ts +6 -22
- package/lib/custom-auth-path/types/request/RedirectRequest.d.ts.map +1 -1
- package/lib/custom-auth-path/types/request/SilentRequest.d.ts +33 -13
- package/lib/custom-auth-path/types/request/SilentRequest.d.ts.map +1 -1
- package/lib/custom-auth-path/types/request/SsoSilentRequest.d.ts +0 -21
- package/lib/custom-auth-path/types/request/SsoSilentRequest.d.ts.map +1 -1
- package/lib/custom-auth-path/types/telemetry/BrowserPerformanceEvents.d.ts +4 -0
- package/lib/custom-auth-path/types/telemetry/BrowserPerformanceEvents.d.ts.map +1 -1
- package/lib/custom-auth-path/types/telemetry/BrowserRootPerformanceEvents.d.ts +1 -0
- package/lib/custom-auth-path/types/telemetry/BrowserRootPerformanceEvents.d.ts.map +1 -1
- package/lib/log-strings-mapping.json +2 -2
- package/lib/msal-browser.cjs +128 -106
- package/lib/msal-browser.cjs.map +1 -1
- package/lib/msal-browser.js +128 -106
- package/lib/msal-browser.js.map +1 -1
- package/lib/msal-browser.min.js +2 -2
- package/lib/redirect-bridge/msal-redirect-bridge.js +10 -10
- package/lib/redirect-bridge/msal-redirect-bridge.js.map +1 -1
- package/lib/redirect-bridge/msal-redirect-bridge.min.js +1 -1
- package/lib/types/cache/TokenCache.d.ts +7 -5
- package/lib/types/cache/TokenCache.d.ts.map +1 -1
- package/lib/types/custom_auth/CustomAuthConstants.d.ts +1 -1
- package/lib/types/packageMetadata.d.ts +1 -1
- package/lib/types/packageMetadata.d.ts.map +1 -1
- package/lib/types/request/AuthorizationCodeRequest.d.ts +18 -0
- package/lib/types/request/AuthorizationCodeRequest.d.ts.map +1 -1
- package/lib/types/request/ClearCacheRequest.d.ts +6 -2
- package/lib/types/request/ClearCacheRequest.d.ts.map +1 -1
- package/lib/types/request/EndSessionPopupRequest.d.ts +12 -9
- package/lib/types/request/EndSessionPopupRequest.d.ts.map +1 -1
- package/lib/types/request/EndSessionRequest.d.ts +3 -6
- package/lib/types/request/EndSessionRequest.d.ts.map +1 -1
- package/lib/types/request/InitializeApplicationRequest.d.ts +3 -2
- package/lib/types/request/InitializeApplicationRequest.d.ts.map +1 -1
- package/lib/types/request/PopupRequest.d.ts +12 -24
- package/lib/types/request/PopupRequest.d.ts.map +1 -1
- package/lib/types/request/RedirectRequest.d.ts +6 -22
- package/lib/types/request/RedirectRequest.d.ts.map +1 -1
- package/lib/types/request/SilentRequest.d.ts +33 -13
- package/lib/types/request/SilentRequest.d.ts.map +1 -1
- package/lib/types/request/SsoSilentRequest.d.ts +0 -21
- package/lib/types/request/SsoSilentRequest.d.ts.map +1 -1
- package/lib/types/telemetry/BrowserPerformanceEvents.d.ts +4 -0
- package/lib/types/telemetry/BrowserPerformanceEvents.d.ts.map +1 -1
- package/lib/types/telemetry/BrowserRootPerformanceEvents.d.ts +1 -0
- package/lib/types/telemetry/BrowserRootPerformanceEvents.d.ts.map +1 -1
- package/package.json +5 -4
- package/src/cache/TokenCache.ts +143 -95
- package/src/packageMetadata.ts +1 -1
- package/src/request/AuthorizationCodeRequest.ts +18 -0
- package/src/request/ClearCacheRequest.ts +6 -2
- package/src/request/EndSessionPopupRequest.ts +12 -9
- package/src/request/EndSessionRequest.ts +3 -6
- package/src/request/InitializeApplicationRequest.ts +3 -2
- package/src/request/PopupRequest.ts +12 -24
- package/src/request/RedirectRequest.ts +6 -22
- package/src/request/SilentRequest.ts +33 -13
- package/src/request/SsoSilentRequest.ts +0 -21
- package/src/telemetry/BrowserPerformanceEvents.ts +5 -0
- package/src/telemetry/BrowserRootPerformanceEvents.ts +2 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ExternalTokenResponse } from "@azure/msal-common/browser";
|
|
1
|
+
import { ExternalTokenResponse, IPerformanceClient } from "@azure/msal-common/browser";
|
|
2
2
|
import { Configuration } from "../config/Configuration.js";
|
|
3
3
|
import type { SilentRequest } from "../request/SilentRequest.js";
|
|
4
4
|
import type { AuthenticationResult } from "../response/AuthenticationResult.js";
|
|
@@ -9,10 +9,12 @@ export type LoadTokenOptions = {
|
|
|
9
9
|
};
|
|
10
10
|
/**
|
|
11
11
|
* API to load tokens to msal-browser cache.
|
|
12
|
-
* @param
|
|
13
|
-
* @param
|
|
14
|
-
* @param
|
|
12
|
+
* @param config - Object to configure the MSAL app.
|
|
13
|
+
* @param request - Silent request containing authority, scopes, and account.
|
|
14
|
+
* @param response - External token response to load into the cache.
|
|
15
|
+
* @param options - Options controlling how tokens are loaded into the cache.
|
|
16
|
+
* @param performanceClient - Optional performance client used for telemetry measurements.
|
|
15
17
|
* @returns `AuthenticationResult` for the response that was loaded.
|
|
16
18
|
*/
|
|
17
|
-
export declare function loadExternalTokens(config: Configuration, request: SilentRequest, response: ExternalTokenResponse, options: LoadTokenOptions): Promise<AuthenticationResult>;
|
|
19
|
+
export declare function loadExternalTokens(config: Configuration, request: SilentRequest, response: ExternalTokenResponse, options: LoadTokenOptions, performanceClient?: IPerformanceClient): Promise<AuthenticationResult>;
|
|
18
20
|
//# sourceMappingURL=TokenCache.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TokenCache.d.ts","sourceRoot":"","sources":["../../../src/cache/TokenCache.ts"],"names":[],"mappings":"AAKA,OAAO,EAQH,qBAAqB,
|
|
1
|
+
{"version":3,"file":"TokenCache.d.ts","sourceRoot":"","sources":["../../../src/cache/TokenCache.ts"],"names":[],"mappings":"AAKA,OAAO,EAQH,qBAAqB,EAYrB,kBAAkB,EAErB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAsB,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAC/E,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAMjE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,qCAAqC,CAAC;AAShF,MAAM,MAAM,gBAAgB,GAAG;IAC3B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC9B,CAAC;AAEF;;;;;;;;GAQG;AACH,wBAAsB,kBAAkB,CACpC,MAAM,EAAE,aAAa,EACrB,OAAO,EAAE,aAAa,EACtB,QAAQ,EAAE,qBAAqB,EAC/B,OAAO,EAAE,gBAAgB,EACzB,iBAAiB,GAAE,kBAAgD,GACpE,OAAO,CAAC,oBAAoB,CAAC,CAkJ/B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"packageMetadata.d.ts","sourceRoot":"","sources":["../../src/packageMetadata.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,IAAI,wBAAwB,CAAC;AAC1C,eAAO,MAAM,OAAO,
|
|
1
|
+
{"version":3,"file":"packageMetadata.d.ts","sourceRoot":"","sources":["../../src/packageMetadata.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,IAAI,wBAAwB,CAAC;AAC1C,eAAO,MAAM,OAAO,UAAU,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @azure/msal-browser v5.0.
|
|
1
|
+
/*! @azure/msal-browser v5.0.1 2026-01-16 */
|
|
2
2
|
'use strict';
|
|
3
3
|
import { parseAuthResponseFromUrl, getHomepage } from '../utils/BrowserUtils.mjs';
|
|
4
4
|
import { InteractionType, TemporaryCacheKeys, ApiId } from '../utils/BrowserConstants.mjs';
|
|
@@ -1,9 +1,27 @@
|
|
|
1
1
|
import { CommonAuthorizationCodeRequest } from "@azure/msal-common/browser";
|
|
2
|
+
/**
|
|
3
|
+
* AuthorizationCodeRequest: Request object passed by browser clients to exchange an authorization code for tokens.
|
|
4
|
+
*/
|
|
2
5
|
export type AuthorizationCodeRequest = Partial<Omit<CommonAuthorizationCodeRequest, "code" | "enableSpaAuthorizationCode">> & {
|
|
6
|
+
/**
|
|
7
|
+
* The authorization_code that the user acquired in the first leg of the flow.
|
|
8
|
+
*/
|
|
3
9
|
code?: string;
|
|
10
|
+
/**
|
|
11
|
+
* Identifier for the native account when integrating with native or brokered experiences.
|
|
12
|
+
*/
|
|
4
13
|
nativeAccountId?: string;
|
|
14
|
+
/**
|
|
15
|
+
* Hostname for the Microsoft Cloud instance's Graph endpoint (for example, graph.microsoft.com).
|
|
16
|
+
*/
|
|
5
17
|
cloudGraphHostName?: string;
|
|
18
|
+
/**
|
|
19
|
+
* Hostname for the Microsoft Graph endpoint when overriding defaults.
|
|
20
|
+
*/
|
|
6
21
|
msGraphHost?: string;
|
|
22
|
+
/**
|
|
23
|
+
* Hostname for the Azure AD cloud instance that issued the authorization code.
|
|
24
|
+
*/
|
|
7
25
|
cloudInstanceHostName?: string;
|
|
8
26
|
};
|
|
9
27
|
//# sourceMappingURL=AuthorizationCodeRequest.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AuthorizationCodeRequest.d.ts","sourceRoot":"","sources":["../../../src/request/AuthorizationCodeRequest.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,8BAA8B,EAAE,MAAM,4BAA4B,CAAC;AAE5E,MAAM,MAAM,wBAAwB,GAAG,OAAO,CAC1C,IAAI,CAAC,8BAA8B,EAAE,MAAM,GAAG,4BAA4B,CAAC,CAC9E,GAAG;IACA,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,qBAAqB,CAAC,EAAE,MAAM,CAAC;CAClC,CAAC"}
|
|
1
|
+
{"version":3,"file":"AuthorizationCodeRequest.d.ts","sourceRoot":"","sources":["../../../src/request/AuthorizationCodeRequest.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,8BAA8B,EAAE,MAAM,4BAA4B,CAAC;AAE5E;;GAEG;AACH,MAAM,MAAM,wBAAwB,GAAG,OAAO,CAC1C,IAAI,CAAC,8BAA8B,EAAE,MAAM,GAAG,4BAA4B,CAAC,CAC9E,GAAG;IACA;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB;;OAEG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,qBAAqB,CAAC,EAAE,MAAM,CAAC;CAClC,CAAC"}
|
|
@@ -1,11 +1,15 @@
|
|
|
1
1
|
import { AccountInfo } from "@azure/msal-common/browser";
|
|
2
2
|
/**
|
|
3
3
|
* ClearCacheRequest
|
|
4
|
-
* - correlationId - Unique GUID set per request to trace a request end-to-end for telemetry purposes.
|
|
5
|
-
* - account - Account object that will be logged out of. All tokens tied to this account will be cleared.
|
|
6
4
|
*/
|
|
7
5
|
export type ClearCacheRequest = {
|
|
6
|
+
/**
|
|
7
|
+
* Unique GUID set per request to trace a request end-to-end for telemetry purposes.
|
|
8
|
+
*/
|
|
8
9
|
correlationId?: string;
|
|
10
|
+
/**
|
|
11
|
+
* Account object that will be logged out of. All tokens tied to this account will be cleared.
|
|
12
|
+
*/
|
|
9
13
|
account?: AccountInfo | null;
|
|
10
14
|
};
|
|
11
15
|
//# sourceMappingURL=ClearCacheRequest.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ClearCacheRequest.d.ts","sourceRoot":"","sources":["../../../src/request/ClearCacheRequest.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AAEzD
|
|
1
|
+
{"version":3,"file":"ClearCacheRequest.d.ts","sourceRoot":"","sources":["../../../src/request/ClearCacheRequest.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AAEzD;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG;IAC5B;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,OAAO,CAAC,EAAE,WAAW,GAAG,IAAI,CAAC;CAChC,CAAC"}
|
|
@@ -2,20 +2,23 @@ import { CommonEndSessionRequest } from "@azure/msal-common/browser";
|
|
|
2
2
|
import { PopupWindowAttributes } from "./PopupWindowAttributes.js";
|
|
3
3
|
/**
|
|
4
4
|
* EndSessionPopupRequest
|
|
5
|
-
* - account - Account object that will be logged out of. All tokens tied to this account will be cleared.
|
|
6
|
-
* - postLogoutRedirectUri - URI to navigate to after logout page inside the popup. Required to ensure popup can be closed.
|
|
7
|
-
* - authority - Authority to send logout request to.
|
|
8
|
-
* - correlationId - Unique GUID set per request to trace a request end-to-end for telemetry purposes.
|
|
9
|
-
* - idTokenHint - ID Token used by B2C to validate logout if required by the policy
|
|
10
|
-
* - mainWindowRedirectUri - URI to navigate the main window to after logout is complete
|
|
11
|
-
* - popupWindowAttributes - Optional popup window attributes. popupSize with height and width, and popupPosition with top and left can be set.
|
|
12
|
-
* - logoutHint - A string that specifies the account that is being logged out in order to skip the server account picker on logout
|
|
13
|
-
* - popupWindowParent - Optional window object to use as the parent when opening popup windows. Uses global `window` if not given.
|
|
14
5
|
*/
|
|
15
6
|
export type EndSessionPopupRequest = Partial<CommonEndSessionRequest> & {
|
|
7
|
+
/**
|
|
8
|
+
* Authority to send logout request to.
|
|
9
|
+
*/
|
|
16
10
|
authority?: string;
|
|
11
|
+
/**
|
|
12
|
+
* URI to navigate the main window to after logout is complete
|
|
13
|
+
*/
|
|
17
14
|
mainWindowRedirectUri?: string;
|
|
15
|
+
/**
|
|
16
|
+
* Optional popup window attributes. popupSize with height and width, and popupPosition with top and left can be set.
|
|
17
|
+
*/
|
|
18
18
|
popupWindowAttributes?: PopupWindowAttributes;
|
|
19
|
+
/**
|
|
20
|
+
* Optional window object to use as the parent when opening popup windows. Uses global `window` if not given.
|
|
21
|
+
*/
|
|
19
22
|
popupWindowParent?: Window;
|
|
20
23
|
};
|
|
21
24
|
//# sourceMappingURL=EndSessionPopupRequest.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EndSessionPopupRequest.d.ts","sourceRoot":"","sources":["../../../src/request/EndSessionPopupRequest.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,uBAAuB,EAAE,MAAM,4BAA4B,CAAC;AACrE,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AAEnE
|
|
1
|
+
{"version":3,"file":"EndSessionPopupRequest.d.ts","sourceRoot":"","sources":["../../../src/request/EndSessionPopupRequest.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,uBAAuB,EAAE,MAAM,4BAA4B,CAAC;AACrE,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AAEnE;;GAEG;AACH,MAAM,MAAM,sBAAsB,GAAG,OAAO,CAAC,uBAAuB,CAAC,GAAG;IACpE;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B;;OAEG;IACH,qBAAqB,CAAC,EAAE,qBAAqB,CAAC;IAC9C;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC9B,CAAC"}
|
|
@@ -1,14 +1,11 @@
|
|
|
1
1
|
import { CommonEndSessionRequest } from "@azure/msal-common/browser";
|
|
2
2
|
/**
|
|
3
3
|
* EndSessionRequest
|
|
4
|
-
* - account - Account object that will be logged out of. All tokens tied to this account will be cleared.
|
|
5
|
-
* - postLogoutRedirectUri - URI to navigate to after logout page.
|
|
6
|
-
* - authority - Authority to send logout request to.
|
|
7
|
-
* - correlationId - Unique GUID set per request to trace a request end-to-end for telemetry purposes.
|
|
8
|
-
* - idTokenHint - ID Token used by B2C to validate logout if required by the policy
|
|
9
|
-
* - logoutHint - A string that specifies the account that is being logged out in order to skip the server account picker on logout
|
|
10
4
|
*/
|
|
11
5
|
export type EndSessionRequest = Partial<CommonEndSessionRequest> & {
|
|
6
|
+
/**
|
|
7
|
+
* Authority to send logout request.
|
|
8
|
+
*/
|
|
12
9
|
authority?: string;
|
|
13
10
|
};
|
|
14
11
|
//# sourceMappingURL=EndSessionRequest.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EndSessionRequest.d.ts","sourceRoot":"","sources":["../../../src/request/EndSessionRequest.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,uBAAuB,EAAE,MAAM,4BAA4B,CAAC;AAErE
|
|
1
|
+
{"version":3,"file":"EndSessionRequest.d.ts","sourceRoot":"","sources":["../../../src/request/EndSessionRequest.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,uBAAuB,EAAE,MAAM,4BAA4B,CAAC;AAErE;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG,OAAO,CAAC,uBAAuB,CAAC,GAAG;IAC/D;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC"}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* InitializeApplicationRequest: Request object passed by user to initialize application
|
|
3
|
-
*
|
|
4
|
-
* - correlationId - Unique GUID set per request to trace a request end-to-end for telemetry purposes.
|
|
5
3
|
*/
|
|
6
4
|
export type InitializeApplicationRequest = {
|
|
5
|
+
/**
|
|
6
|
+
* Unique GUID set per request to trace a request end-to-end for telemetry purposes.
|
|
7
|
+
*/
|
|
7
8
|
correlationId?: string;
|
|
8
9
|
};
|
|
9
10
|
//# sourceMappingURL=InitializeApplicationRequest.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InitializeApplicationRequest.d.ts","sourceRoot":"","sources":["../../../src/request/InitializeApplicationRequest.ts"],"names":[],"mappings":"AAKA
|
|
1
|
+
{"version":3,"file":"InitializeApplicationRequest.d.ts","sourceRoot":"","sources":["../../../src/request/InitializeApplicationRequest.ts"],"names":[],"mappings":"AAKA;;GAEG;AACH,MAAM,MAAM,4BAA4B,GAAG;IACvC;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;CAC1B,CAAC"}
|
|
@@ -3,35 +3,23 @@ import { PopupWindowAttributes } from "./PopupWindowAttributes.js";
|
|
|
3
3
|
/**
|
|
4
4
|
* PopupRequest: Request object passed by user to retrieve a Code from the
|
|
5
5
|
* server (first leg of authorization code grant flow) with a popup window.
|
|
6
|
-
*
|
|
7
|
-
* - scopes - Array of scopes the application is requesting access to.
|
|
8
|
-
* - authority - Url of the authority which the application acquires tokens from.
|
|
9
|
-
* - correlationId - Unique GUID set per request to trace a request end-to-end for telemetry purposes.
|
|
10
|
-
* - redirectUri - The redirect URI where authentication responses can be received by your application. It must exactly match one of the redirect URIs registered in the Azure portal.
|
|
11
|
-
* - extraScopesToConsent - Scopes for a different resource when the user needs consent upfront.
|
|
12
|
-
* - state - A value included in the request that is also returned in the token response. A randomly generated unique value is typically used for preventing cross site request forgery attacks. The state is also used to encode information about the user's state in the app before the authentication request occurred.
|
|
13
|
-
* - prompt - Indicates the type of user interaction that is required.
|
|
14
|
-
* login: will force the user to enter their credentials on that request, negating single-sign on
|
|
15
|
-
* none: will ensure that the user isn't presented with any interactive prompt. if request can't be completed via single-sign on, the endpoint will return an interaction_required error
|
|
16
|
-
* consent: will the trigger the OAuth consent dialog after the user signs in, asking the user to grant permissions to the app
|
|
17
|
-
* select_account: will interrupt single sign-=on providing account selection experience listing all the accounts in session or any remembered accounts or an option to choose to use a different account
|
|
18
|
-
* create: will direct the user to the account creation experience instead of the log in experience
|
|
19
|
-
* no_session: will not read existing session token when authenticating the user. Upon user being successfully authenticated, EVO won’t create a new session for the user. FOR INTERNAL USE ONLY.
|
|
20
|
-
* - loginHint - Can be used to pre-fill the username/email address field of the sign-in page for the user, if you know the username/email address ahead of time. Often apps use this parameter during re-authentication, having already extracted the username from a previous sign-in using the login_hint or preferred_username claim.
|
|
21
|
-
* - sid - Session ID, unique identifier for the session. Available as an optional claim on ID tokens.
|
|
22
|
-
* - domainHint - Provides a hint about the tenant or domain that the user should use to sign in. The value of the domain hint is a registered domain for the tenant.
|
|
23
|
-
* - extraQueryParameters - String to string map of custom query parameters added to outgoing token service requests
|
|
24
|
-
* - extraParameters - String to string map of custom query parameters added to outgoing token service requests
|
|
25
|
-
* - claims - In cases where Azure AD tenant admin has enabled conditional access policies, and the policy has not been met, exceptions will contain claims that need to be consented to.
|
|
26
|
-
* - nonce - A value included in the request that is returned in the id token. A randomly generated unique value is typically used to mitigate replay attacks.
|
|
27
|
-
* - popupWindowAttributes - Optional popup window attributes. popupSize with height and width, and popupPosition with top and left can be set.
|
|
28
|
-
* - popupWindowParent - Optional window object to use as the parent when opening popup windows. Uses global `window` if not given.
|
|
29
|
-
* - overrideInteractionInProgress - Optional flag to allow overriding an existing interaction_in_progress state for popup flows. **WARNING**: Use with caution! For usage details and examples, see the [login-user.md](../../../docs/login-user.md#handling-interaction_in_progress-errors) documentation.
|
|
30
6
|
*/
|
|
31
7
|
export type PopupRequest = Partial<Omit<CommonAuthorizationUrlRequest, "responseMode" | "scopes" | "earJwk" | "codeChallenge" | "codeChallengeMethod" | "platformBroker">> & {
|
|
8
|
+
/**
|
|
9
|
+
* Array of scopes the application is requesting access to.
|
|
10
|
+
*/
|
|
32
11
|
scopes: Array<string>;
|
|
12
|
+
/**
|
|
13
|
+
* Optional popup window attributes. popupSize with height and width, and popupPosition with top and left can be set.
|
|
14
|
+
*/
|
|
33
15
|
popupWindowAttributes?: PopupWindowAttributes;
|
|
16
|
+
/**
|
|
17
|
+
* Optional window object to use as the parent when opening popup windows. Uses global `window` if not given.
|
|
18
|
+
*/
|
|
34
19
|
popupWindowParent?: Window;
|
|
20
|
+
/**
|
|
21
|
+
* Optional flag to allow overriding an existing interaction_in_progress state for popup flows. **WARNING**: Use with caution! For usage details and examples, see the [login-user.md](../../../docs/login-user.md#handling-interaction_in_progress-errors) documentation.
|
|
22
|
+
*/
|
|
35
23
|
overrideInteractionInProgress?: boolean;
|
|
36
24
|
};
|
|
37
25
|
//# sourceMappingURL=PopupRequest.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PopupRequest.d.ts","sourceRoot":"","sources":["../../../src/request/PopupRequest.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,6BAA6B,EAAE,MAAM,4BAA4B,CAAC;AAC3E,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AAEnE
|
|
1
|
+
{"version":3,"file":"PopupRequest.d.ts","sourceRoot":"","sources":["../../../src/request/PopupRequest.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,6BAA6B,EAAE,MAAM,4BAA4B,CAAC;AAC3E,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AAEnE;;;GAGG;AAEH,MAAM,MAAM,YAAY,GAAG,OAAO,CAC9B,IAAI,CACA,6BAA6B,EAC3B,cAAc,GACd,QAAQ,GACR,QAAQ,GACR,eAAe,GACf,qBAAqB,GACrB,gBAAgB,CACrB,CACJ,GAAG;IACA;;OAEG;IACH,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACtB;;OAEG;IACH,qBAAqB,CAAC,EAAE,qBAAqB,CAAC;IAC9C;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B;;OAEG;IACH,6BAA6B,CAAC,EAAE,OAAO,CAAC;CAC3C,CAAC"}
|
|
@@ -2,31 +2,15 @@ import { CommonAuthorizationUrlRequest } from "@azure/msal-common/browser";
|
|
|
2
2
|
/**
|
|
3
3
|
* RedirectRequest: Request object passed by user to retrieve a Code from the
|
|
4
4
|
* server (first leg of authorization code grant flow) with a full page redirect.
|
|
5
|
-
*
|
|
6
|
-
* - scopes - Array of scopes the application is requesting access to.
|
|
7
|
-
* - authority - Url of the authority which the application acquires tokens from.
|
|
8
|
-
* - correlationId - Unique GUID set per request to trace a request end-to-end for telemetry purposes.
|
|
9
|
-
* - redirectUri - The redirect URI where authentication responses can be received by your application. It must exactly match one of the redirect URIs registered in the Azure portal.
|
|
10
|
-
* - extraScopesToConsent - Scopes for a different resource when the user needs consent upfront.
|
|
11
|
-
* - state - A value included in the request that is also returned in the token response. A randomly generated unique value is typically used for preventing cross site request forgery attacks. The state is also used to encode information about the user's state in the app before the authentication request occurred.
|
|
12
|
-
* - prompt - Indicates the type of user interaction that is required.
|
|
13
|
-
* login: will force the user to enter their credentials on that request, negating single-sign on
|
|
14
|
-
* none: will ensure that the user isn't presented with any interactive prompt. if request can't be completed via single-sign on, the endpoint will return an interaction_required error
|
|
15
|
-
* consent: will the trigger the OAuth consent dialog after the user signs in, asking the user to grant permissions to the app
|
|
16
|
-
* select_account: will interrupt single sign-=on providing account selection experience listing all the accounts in session or any remembered accounts or an option to choose to use a different account
|
|
17
|
-
* create: will direct the user to the account creation experience instead of the log in experience
|
|
18
|
-
* no_session: will not read existing session token when authenticating the user. Upon user being successfully authenticated, EVO won’t create a new session for the user. FOR INTERNAL USE ONLY.
|
|
19
|
-
* - loginHint - Can be used to pre-fill the username/email address field of the sign-in page for the user, if you know the username/email address ahead of time. Often apps use this parameter during re-authentication, having already extracted the username from a previous sign-in using the login_hint or preferred_username claim.
|
|
20
|
-
* - sid - Session ID, unique identifier for the session. Available as an optional claim on ID tokens.
|
|
21
|
-
* - domainHint - Provides a hint about the tenant or domain that the user should use to sign in. The value of the domain hint is a registered domain for the tenant.
|
|
22
|
-
* - extraQueryParameters - String to string map of custom query parameters added to outgoing token service requests
|
|
23
|
-
* - extraParameters - String to string map of custom query parameters added to outgoing token service requests
|
|
24
|
-
* - claims - In cases where Azure AD tenant admin has enabled conditional access policies, and the policy has not been met, exceptions will contain claims that need to be consented to.
|
|
25
|
-
* - nonce - A value included in the request that is returned in the id token. A randomly generated unique value is typically used to mitigate replay attacks.
|
|
26
|
-
* - redirectStartPage - The page that should be returned to after loginRedirect or acquireTokenRedirect. This should only be used if this is different from the redirectUri and will default to the page that initiates the request. When the navigateToLoginRequestUrl config option is set to false this parameter will be ignored.
|
|
27
5
|
*/
|
|
28
6
|
export type RedirectRequest = Partial<Omit<CommonAuthorizationUrlRequest, "responseMode" | "scopes" | "earJwk" | "codeChallenge" | "codeChallengeMethod" | "platformBroker">> & {
|
|
7
|
+
/**
|
|
8
|
+
* Array of scopes the application is requesting access to.
|
|
9
|
+
*/
|
|
29
10
|
scopes: Array<string>;
|
|
11
|
+
/**
|
|
12
|
+
* The page that should be returned to after loginRedirect or acquireTokenRedirect. This should only be used if this is different from the redirectUri and will default to the page that initiates the request. When the navigateToLoginRequestUrl config option is set to false this parameter will be ignored.
|
|
13
|
+
*/
|
|
30
14
|
redirectStartPage?: string;
|
|
31
15
|
};
|
|
32
16
|
//# sourceMappingURL=RedirectRequest.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RedirectRequest.d.ts","sourceRoot":"","sources":["../../../src/request/RedirectRequest.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,6BAA6B,EAAE,MAAM,4BAA4B,CAAC;AAE3E
|
|
1
|
+
{"version":3,"file":"RedirectRequest.d.ts","sourceRoot":"","sources":["../../../src/request/RedirectRequest.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,6BAA6B,EAAE,MAAM,4BAA4B,CAAC;AAE3E;;;GAGG;AACH,MAAM,MAAM,eAAe,GAAG,OAAO,CACjC,IAAI,CACA,6BAA6B,EAC3B,cAAc,GACd,QAAQ,GACR,QAAQ,GACR,eAAe,GACf,qBAAqB,GACrB,gBAAgB,CACrB,CACJ,GAAG;IACA;;OAEG;IACH,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACtB;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC9B,CAAC"}
|
|
@@ -4,29 +4,49 @@ import { CacheLookupPolicy } from "../utils/BrowserConstants.js";
|
|
|
4
4
|
* SilentRequest: Request object passed by user to retrieve tokens from the
|
|
5
5
|
* cache, renew an expired token with a refresh token, or retrieve a code (first leg of authorization code grant flow)
|
|
6
6
|
* in a hidden iframe.
|
|
7
|
-
*
|
|
8
|
-
* - scopes - Array of scopes the application is requesting access to.
|
|
9
|
-
* - authority - Url of the authority which the application acquires tokens from.
|
|
10
|
-
* - correlationId - Unique GUID set per request to trace a request end-to-end for telemetry purposes.
|
|
11
|
-
* - account - Account entity to lookup the credentials.
|
|
12
|
-
* - forceRefresh - Forces silent requests to make network calls if true.
|
|
13
|
-
* - extraQueryParameters - String to string map of custom query parameters added to outgoing token service requests. Only used when renewing access tokens.
|
|
14
|
-
* - extraParameters - String to string map of custom query parameters added to outgoing token service requests. only used when renewing access tokens.
|
|
15
|
-
* - redirectUri - The redirect URI where authentication responses can be received by your application. It must exactly match one of the redirect URIs registered in the Azure portal. Only used for cases where refresh token is expired.
|
|
16
|
-
* - cacheLookupPolicy - Enum of different ways the silent token can be retrieved.
|
|
17
|
-
* - prompt - Indicates the type of user interaction that is required.
|
|
18
|
-
* none: will ensure that the user isn't presented with any interactive prompt. if request can't be completed via single-sign on, the endpoint will return an interaction_required error
|
|
19
|
-
* no_session: will not read existing session token when authenticating the user. Upon user being successfully authenticated, EVO won’t create a new session for the user. FOR INTERNAL USE ONLY.
|
|
20
7
|
*/
|
|
21
8
|
export type SilentRequest = Omit<CommonSilentFlowRequest, "authority" | "correlationId" | "forceRefresh" | "account"> & {
|
|
9
|
+
/**
|
|
10
|
+
* The redirect URI where authentication responses can be received by your application. It must exactly match one of the redirect URIs registered in the Azure portal. Only used for cases where refresh token is expired.
|
|
11
|
+
*/
|
|
22
12
|
redirectUri?: string;
|
|
13
|
+
/**
|
|
14
|
+
* String to string map of custom query parameters added to outgoing token service requests. Unless the parameter is ONLY supported on query string use extraParameters instead.
|
|
15
|
+
*/
|
|
23
16
|
extraQueryParameters?: StringDict;
|
|
17
|
+
/**
|
|
18
|
+
* Url of the authority which the application acquires tokens from.
|
|
19
|
+
*/
|
|
24
20
|
authority?: string;
|
|
21
|
+
/**
|
|
22
|
+
* Account entity to lookup the credentials.
|
|
23
|
+
*/
|
|
25
24
|
account?: AccountInfo;
|
|
25
|
+
/**
|
|
26
|
+
* Unique GUID set per request to trace a request end-to-end for telemetry purposes.
|
|
27
|
+
*/
|
|
26
28
|
correlationId?: string;
|
|
29
|
+
/**
|
|
30
|
+
* Forces silent requests to make network calls if true.
|
|
31
|
+
*/
|
|
27
32
|
forceRefresh?: boolean;
|
|
33
|
+
/**
|
|
34
|
+
* Enum of different ways the silent token can be retrieved.
|
|
35
|
+
*/
|
|
28
36
|
cacheLookupPolicy?: CacheLookupPolicy;
|
|
37
|
+
/**
|
|
38
|
+
* Indicates the type of user interaction that is required.
|
|
39
|
+
* login: will force the user to enter their credentials on that request, negating single-sign on
|
|
40
|
+
* none: will ensure that the user isn't presented with any interactive prompt. if request can't be completed via single-sign on, the endpoint will return an interaction_required error
|
|
41
|
+
* consent: will the trigger the OAuth consent dialog after the user signs in, asking the user to grant permissions to the app
|
|
42
|
+
* select_account: will interrupt single sign-=on providing account selection experience listing all the accounts in session or any remembered accounts or an option to choose to use a different account
|
|
43
|
+
* create: will direct the user to the account creation experience instead of the log in experience
|
|
44
|
+
* no_session: will not read existing session token when authenticating the user. Upon user being successfully authenticated, EVO won’t create a new session for the user. FOR INTERNAL USE ONLY.
|
|
45
|
+
*/
|
|
29
46
|
prompt?: string;
|
|
47
|
+
/**
|
|
48
|
+
* A value included in the request that is also returned in the token response when a hidden iframe is used.
|
|
49
|
+
*/
|
|
30
50
|
state?: string;
|
|
31
51
|
};
|
|
32
52
|
//# sourceMappingURL=SilentRequest.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SilentRequest.d.ts","sourceRoot":"","sources":["../../../src/request/SilentRequest.ts"],"names":[],"mappings":"AAKA,OAAO,EACH,WAAW,EACX,uBAAuB,EACvB,UAAU,EACb,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AAEjE
|
|
1
|
+
{"version":3,"file":"SilentRequest.d.ts","sourceRoot":"","sources":["../../../src/request/SilentRequest.ts"],"names":[],"mappings":"AAKA,OAAO,EACH,WAAW,EACX,uBAAuB,EACvB,UAAU,EACb,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AAEjE;;;;GAIG;AACH,MAAM,MAAM,aAAa,GAAG,IAAI,CAC5B,uBAAuB,EACvB,WAAW,GAAG,eAAe,GAAG,cAAc,GAAG,SAAS,CAC7D,GAAG;IACA;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,oBAAoB,CAAC,EAAE,UAAU,CAAC;IAClC;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,OAAO,CAAC,EAAE,WAAW,CAAC;IACtB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB;;OAEG;IACH,iBAAiB,CAAC,EAAE,iBAAiB,CAAC;IACtC;;;;;;;;OAQG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC"}
|
|
@@ -1,27 +1,6 @@
|
|
|
1
1
|
import { CommonAuthorizationUrlRequest } from "@azure/msal-common/browser";
|
|
2
2
|
/**
|
|
3
3
|
* Request object passed by user to ssoSilent to retrieve a Code from the server (first leg of authorization code grant flow)
|
|
4
|
-
*
|
|
5
|
-
* - scopes - Array of scopes the application is requesting access to (optional for ssoSilent calls)
|
|
6
|
-
* - claims - A stringified claims request which will be added to all /authorize and /token calls
|
|
7
|
-
* - authority - Url of the authority which the application acquires tokens from.
|
|
8
|
-
* - correlationId - Unique GUID set per request to trace a request end-to-end for telemetry purposes.
|
|
9
|
-
* - redirectUri - The redirect URI where authentication responses can be received by your application. It must exactly match one of the redirect URIs registered in the Azure portal.
|
|
10
|
-
* - extraScopesToConsent - Scopes for a different resource when the user needs consent upfront.
|
|
11
|
-
* - state - A value included in the request that is also returned in the token response. A randomly generated unique value is typically used for preventing cross site request forgery attacks. The state is also used to encode information about the user's state in the app before the authentication request occurred.
|
|
12
|
-
* - prompt - Indicates the type of user interaction that is required.
|
|
13
|
-
* login: will force the user to enter their credentials on that request, negating single-sign on
|
|
14
|
-
* none: will ensure that the user isn't presented with any interactive prompt. if request can't be completed via single-sign on, the endpoint will return an interaction_required error
|
|
15
|
-
* consent: will trigger the OAuth consent dialog after the user signs in, asking the user to grant permissions to the app
|
|
16
|
-
* select_account: will interrupt single sign-=on providing account selection experience listing all the accounts in session or any remembered accounts or an option to choose to use a different account
|
|
17
|
-
* create: will direct the user to the account creation experience instead of the log in experience
|
|
18
|
-
* no_session: will not read existing session token when authenticating the user. Upon user being successfully authenticated, EVO won’t create a new session for the user. FOR INTERNAL USE ONLY.
|
|
19
|
-
* - loginHint - Can be used to pre-fill the username/email address field of the sign-in page for the user, if you know the username/email address ahead of time. Often apps use this parameter during re-authentication, having already extracted the username from a previous sign-in using the login_hint or preferred_username claim.
|
|
20
|
-
* - sid - Session ID, unique identifier for the session. Available as an optional claim on ID tokens.
|
|
21
|
-
* - domainHint - Provides a hint about the tenant or domain that the user should use to sign in. The value of the domain hint is a registered domain for the tenant.
|
|
22
|
-
* - extraQueryParameters - String to string map of custom query parameters added to outgoing token service requests. Only used when renewing access tokens.
|
|
23
|
-
* - extraParameters - String to string map of custom query parameters added to outgoing token service requests. Only used when renewing access tokens.
|
|
24
|
-
* - nonce - A value included in the request that is returned in the id token. A randomly generated unique value is typically used to mitigate replay attacks.
|
|
25
4
|
*/
|
|
26
5
|
export type SsoSilentRequest = Partial<Omit<CommonAuthorizationUrlRequest, "responseMode" | "earJwk" | "codeChallenge" | "codeChallengeMethod" | "platformBroker">>;
|
|
27
6
|
//# sourceMappingURL=SsoSilentRequest.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SsoSilentRequest.d.ts","sourceRoot":"","sources":["../../../src/request/SsoSilentRequest.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,6BAA6B,EAAE,MAAM,4BAA4B,CAAC;AAE3E
|
|
1
|
+
{"version":3,"file":"SsoSilentRequest.d.ts","sourceRoot":"","sources":["../../../src/request/SsoSilentRequest.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,6BAA6B,EAAE,MAAM,4BAA4B,CAAC;AAE3E;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG,OAAO,CAClC,IAAI,CACA,6BAA6B,EAC3B,cAAc,GACd,QAAQ,GACR,eAAe,GACf,qBAAqB,GACrB,gBAAgB,CACrB,CACJ,CAAC"}
|
|
@@ -127,4 +127,8 @@ export declare const Encrypt = "encrypt";
|
|
|
127
127
|
export declare const Decrypt = "decrypt";
|
|
128
128
|
export declare const GenerateEarKey = "generateEarKey";
|
|
129
129
|
export declare const DecryptEarResponse = "decryptEarResponse";
|
|
130
|
+
export declare const LoadAccount = "loadAccount";
|
|
131
|
+
export declare const LoadIdToken = "loadIdToken";
|
|
132
|
+
export declare const LoadAccessToken = "loadAccessToken";
|
|
133
|
+
export declare const LoadRefreshToken = "loadRefreshToken";
|
|
130
134
|
//# sourceMappingURL=BrowserPerformanceEvents.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BrowserPerformanceEvents.d.ts","sourceRoot":"","sources":["../../../src/telemetry/BrowserPerformanceEvents.ts"],"names":[],"mappings":"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"}
|
|
1
|
+
{"version":3,"file":"BrowserPerformanceEvents.d.ts","sourceRoot":"","sources":["../../../src/telemetry/BrowserPerformanceEvents.ts"],"names":[],"mappings":"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"}
|
|
@@ -32,4 +32,5 @@ export declare const AcquireTokenRedirect = "acquireTokenRedirect";
|
|
|
32
32
|
export declare const SsoSilent = "ssoSilent";
|
|
33
33
|
export declare const InitializeClientApplication = "initializeClientApplication";
|
|
34
34
|
export declare const LocalStorageUpdated = "localStorageUpdated";
|
|
35
|
+
export declare const LoadExternalTokens = "loadExternalTokens";
|
|
35
36
|
//# sourceMappingURL=BrowserRootPerformanceEvents.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BrowserRootPerformanceEvents.d.ts","sourceRoot":"","sources":["../../../src/telemetry/BrowserRootPerformanceEvents.ts"],"names":[],"mappings":"AAKA;;;GAGG;AACH,eAAO,MAAM,kBAAkB,uBAAuB,CAAC;AACvD;;;GAGG;AACH,eAAO,MAAM,kBAAkB,uBAAuB,CAAC;AACvD;;;GAGG;AACH,eAAO,MAAM,iBAAiB,sBAAsB,CAAC;AACrD;;;;GAIG;AACH,eAAO,MAAM,uBAAuB,4BAA4B,CAAC;AACjE;;;;GAIG;AACH,eAAO,MAAM,oBAAoB,yBAAyB,CAAC;AAC3D;;;GAGG;AACH,eAAO,MAAM,SAAS,cAAc,CAAC;AAErC,eAAO,MAAM,2BAA2B,gCAAgC,CAAC;AAEzE,eAAO,MAAM,mBAAmB,wBAAwB,CAAC"}
|
|
1
|
+
{"version":3,"file":"BrowserRootPerformanceEvents.d.ts","sourceRoot":"","sources":["../../../src/telemetry/BrowserRootPerformanceEvents.ts"],"names":[],"mappings":"AAKA;;;GAGG;AACH,eAAO,MAAM,kBAAkB,uBAAuB,CAAC;AACvD;;;GAGG;AACH,eAAO,MAAM,kBAAkB,uBAAuB,CAAC;AACvD;;;GAGG;AACH,eAAO,MAAM,iBAAiB,sBAAsB,CAAC;AACrD;;;;GAIG;AACH,eAAO,MAAM,uBAAuB,4BAA4B,CAAC;AACjE;;;;GAIG;AACH,eAAO,MAAM,oBAAoB,yBAAyB,CAAC;AAC3D;;;GAGG;AACH,eAAO,MAAM,SAAS,cAAc,CAAC;AAErC,eAAO,MAAM,2BAA2B,gCAAgC,CAAC;AAEzE,eAAO,MAAM,mBAAmB,wBAAwB,CAAC;AAEzD,eAAO,MAAM,kBAAkB,uBAAuB,CAAC"}
|
|
@@ -1,9 +1,27 @@
|
|
|
1
1
|
import { CommonAuthorizationCodeRequest } from "@azure/msal-common/browser";
|
|
2
|
+
/**
|
|
3
|
+
* AuthorizationCodeRequest: Request object passed by browser clients to exchange an authorization code for tokens.
|
|
4
|
+
*/
|
|
2
5
|
export type AuthorizationCodeRequest = Partial<Omit<CommonAuthorizationCodeRequest, "code" | "enableSpaAuthorizationCode">> & {
|
|
6
|
+
/**
|
|
7
|
+
* The authorization_code that the user acquired in the first leg of the flow.
|
|
8
|
+
*/
|
|
3
9
|
code?: string;
|
|
10
|
+
/**
|
|
11
|
+
* Identifier for the native account when integrating with native or brokered experiences.
|
|
12
|
+
*/
|
|
4
13
|
nativeAccountId?: string;
|
|
14
|
+
/**
|
|
15
|
+
* Hostname for the Microsoft Cloud instance's Graph endpoint (for example, graph.microsoft.com).
|
|
16
|
+
*/
|
|
5
17
|
cloudGraphHostName?: string;
|
|
18
|
+
/**
|
|
19
|
+
* Hostname for the Microsoft Graph endpoint when overriding defaults.
|
|
20
|
+
*/
|
|
6
21
|
msGraphHost?: string;
|
|
22
|
+
/**
|
|
23
|
+
* Hostname for the Azure AD cloud instance that issued the authorization code.
|
|
24
|
+
*/
|
|
7
25
|
cloudInstanceHostName?: string;
|
|
8
26
|
};
|
|
9
27
|
//# sourceMappingURL=AuthorizationCodeRequest.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AuthorizationCodeRequest.d.ts","sourceRoot":"","sources":["../../src/request/AuthorizationCodeRequest.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,8BAA8B,EAAE,MAAM,4BAA4B,CAAC;AAE5E,MAAM,MAAM,wBAAwB,GAAG,OAAO,CAC1C,IAAI,CAAC,8BAA8B,EAAE,MAAM,GAAG,4BAA4B,CAAC,CAC9E,GAAG;IACA,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,qBAAqB,CAAC,EAAE,MAAM,CAAC;CAClC,CAAC"}
|
|
1
|
+
{"version":3,"file":"AuthorizationCodeRequest.d.ts","sourceRoot":"","sources":["../../src/request/AuthorizationCodeRequest.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,8BAA8B,EAAE,MAAM,4BAA4B,CAAC;AAE5E;;GAEG;AACH,MAAM,MAAM,wBAAwB,GAAG,OAAO,CAC1C,IAAI,CAAC,8BAA8B,EAAE,MAAM,GAAG,4BAA4B,CAAC,CAC9E,GAAG;IACA;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB;;OAEG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,qBAAqB,CAAC,EAAE,MAAM,CAAC;CAClC,CAAC"}
|
|
@@ -1,11 +1,15 @@
|
|
|
1
1
|
import { AccountInfo } from "@azure/msal-common/browser";
|
|
2
2
|
/**
|
|
3
3
|
* ClearCacheRequest
|
|
4
|
-
* - correlationId - Unique GUID set per request to trace a request end-to-end for telemetry purposes.
|
|
5
|
-
* - account - Account object that will be logged out of. All tokens tied to this account will be cleared.
|
|
6
4
|
*/
|
|
7
5
|
export type ClearCacheRequest = {
|
|
6
|
+
/**
|
|
7
|
+
* Unique GUID set per request to trace a request end-to-end for telemetry purposes.
|
|
8
|
+
*/
|
|
8
9
|
correlationId?: string;
|
|
10
|
+
/**
|
|
11
|
+
* Account object that will be logged out of. All tokens tied to this account will be cleared.
|
|
12
|
+
*/
|
|
9
13
|
account?: AccountInfo | null;
|
|
10
14
|
};
|
|
11
15
|
//# sourceMappingURL=ClearCacheRequest.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ClearCacheRequest.d.ts","sourceRoot":"","sources":["../../src/request/ClearCacheRequest.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AAEzD
|
|
1
|
+
{"version":3,"file":"ClearCacheRequest.d.ts","sourceRoot":"","sources":["../../src/request/ClearCacheRequest.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AAEzD;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG;IAC5B;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,OAAO,CAAC,EAAE,WAAW,GAAG,IAAI,CAAC;CAChC,CAAC"}
|
|
@@ -2,20 +2,23 @@ import { CommonEndSessionRequest } from "@azure/msal-common/browser";
|
|
|
2
2
|
import { PopupWindowAttributes } from "./PopupWindowAttributes.js";
|
|
3
3
|
/**
|
|
4
4
|
* EndSessionPopupRequest
|
|
5
|
-
* - account - Account object that will be logged out of. All tokens tied to this account will be cleared.
|
|
6
|
-
* - postLogoutRedirectUri - URI to navigate to after logout page inside the popup. Required to ensure popup can be closed.
|
|
7
|
-
* - authority - Authority to send logout request to.
|
|
8
|
-
* - correlationId - Unique GUID set per request to trace a request end-to-end for telemetry purposes.
|
|
9
|
-
* - idTokenHint - ID Token used by B2C to validate logout if required by the policy
|
|
10
|
-
* - mainWindowRedirectUri - URI to navigate the main window to after logout is complete
|
|
11
|
-
* - popupWindowAttributes - Optional popup window attributes. popupSize with height and width, and popupPosition with top and left can be set.
|
|
12
|
-
* - logoutHint - A string that specifies the account that is being logged out in order to skip the server account picker on logout
|
|
13
|
-
* - popupWindowParent - Optional window object to use as the parent when opening popup windows. Uses global `window` if not given.
|
|
14
5
|
*/
|
|
15
6
|
export type EndSessionPopupRequest = Partial<CommonEndSessionRequest> & {
|
|
7
|
+
/**
|
|
8
|
+
* Authority to send logout request to.
|
|
9
|
+
*/
|
|
16
10
|
authority?: string;
|
|
11
|
+
/**
|
|
12
|
+
* URI to navigate the main window to after logout is complete
|
|
13
|
+
*/
|
|
17
14
|
mainWindowRedirectUri?: string;
|
|
15
|
+
/**
|
|
16
|
+
* Optional popup window attributes. popupSize with height and width, and popupPosition with top and left can be set.
|
|
17
|
+
*/
|
|
18
18
|
popupWindowAttributes?: PopupWindowAttributes;
|
|
19
|
+
/**
|
|
20
|
+
* Optional window object to use as the parent when opening popup windows. Uses global `window` if not given.
|
|
21
|
+
*/
|
|
19
22
|
popupWindowParent?: Window;
|
|
20
23
|
};
|
|
21
24
|
//# sourceMappingURL=EndSessionPopupRequest.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EndSessionPopupRequest.d.ts","sourceRoot":"","sources":["../../src/request/EndSessionPopupRequest.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,uBAAuB,EAAE,MAAM,4BAA4B,CAAC;AACrE,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AAEnE
|
|
1
|
+
{"version":3,"file":"EndSessionPopupRequest.d.ts","sourceRoot":"","sources":["../../src/request/EndSessionPopupRequest.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,uBAAuB,EAAE,MAAM,4BAA4B,CAAC;AACrE,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AAEnE;;GAEG;AACH,MAAM,MAAM,sBAAsB,GAAG,OAAO,CAAC,uBAAuB,CAAC,GAAG;IACpE;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B;;OAEG;IACH,qBAAqB,CAAC,EAAE,qBAAqB,CAAC;IAC9C;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC9B,CAAC"}
|