@azure/msal-browser 5.7.0 → 5.9.0
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 +2 -2
- package/dist/broker/nativeBroker/PlatformAuthExtensionHandler.mjs.map +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.d.ts +2 -4
- package/dist/cache/BrowserCacheManager.d.ts.map +1 -1
- package/dist/cache/BrowserCacheManager.mjs +6 -6
- package/dist/cache/BrowserCacheManager.mjs.map +1 -1
- package/dist/cache/CacheHelpers.mjs +1 -1
- package/dist/cache/CacheKeys.d.ts +2 -2
- package/dist/cache/CacheKeys.mjs +3 -3
- package/dist/cache/CookieStorage.d.ts.map +1 -1
- package/dist/cache/CookieStorage.mjs +22 -9
- package/dist/cache/CookieStorage.mjs.map +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.mjs +1 -1
- package/dist/config/Configuration.mjs +1 -1
- package/dist/controllers/NestedAppAuthController.mjs +1 -1
- package/dist/controllers/StandardController.d.ts.map +1 -1
- package/dist/controllers/StandardController.mjs +25 -6
- package/dist/controllers/StandardController.mjs.map +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 +2 -2
- package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthExtensionHandler.mjs.map +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.d.ts +2 -4
- package/dist/custom-auth-path/cache/BrowserCacheManager.d.ts.map +1 -1
- package/dist/custom-auth-path/cache/BrowserCacheManager.mjs +6 -6
- package/dist/custom-auth-path/cache/BrowserCacheManager.mjs.map +1 -1
- package/dist/custom-auth-path/cache/CacheHelpers.mjs +1 -1
- package/dist/custom-auth-path/cache/CacheKeys.d.ts +2 -2
- package/dist/custom-auth-path/cache/CacheKeys.mjs +3 -3
- package/dist/custom-auth-path/cache/CookieStorage.d.ts.map +1 -1
- package/dist/custom-auth-path/cache/CookieStorage.mjs +22 -9
- package/dist/custom-auth-path/cache/CookieStorage.mjs.map +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/config/Configuration.mjs +1 -1
- package/dist/custom-auth-path/controllers/StandardController.d.ts.map +1 -1
- package/dist/custom-auth-path/controllers/StandardController.mjs +25 -6
- package/dist/custom-auth-path/controllers/StandardController.mjs.map +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/UserAccountAttributes.d.ts +1 -0
- package/dist/custom-auth-path/custom_auth/UserAccountAttributes.d.ts.map +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.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/SignInApiClient.mjs +2 -3
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/SignInApiClient.mjs.map +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.d.ts +1 -1
- package/dist/custom-auth-path/interaction_client/PlatformAuthInteractionClient.d.ts.map +1 -1
- package/dist/custom-auth-path/interaction_client/PlatformAuthInteractionClient.mjs +18 -12
- package/dist/custom-auth-path/interaction_client/PlatformAuthInteractionClient.mjs.map +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 +4 -4
- 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.mjs +2 -2
- package/dist/custom-auth-path/protocol/Authorize.mjs +1 -1
- package/dist/custom-auth-path/request/RequestHelpers.mjs +1 -1
- package/dist/custom-auth-path/response/ResponseHandler.mjs +1 -1
- package/dist/custom-auth-path/telemetry/BrowserPerformanceEvents.mjs +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/custom_auth/UserAccountAttributes.d.ts +1 -0
- package/dist/custom_auth/UserAccountAttributes.d.ts.map +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts.map +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.d.ts +1 -1
- package/dist/interaction_client/PlatformAuthInteractionClient.d.ts.map +1 -1
- package/dist/interaction_client/PlatformAuthInteractionClient.mjs +18 -12
- package/dist/interaction_client/PlatformAuthInteractionClient.mjs.map +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 +4 -4
- 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.mjs +2 -2
- package/dist/protocol/Authorize.mjs +1 -1
- package/dist/redirect-bridge/cache/BrowserCacheManager.d.ts +2 -4
- package/dist/redirect-bridge/cache/BrowserCacheManager.d.ts.map +1 -1
- package/dist/redirect-bridge/cache/CacheKeys.d.ts +2 -2
- package/dist/redirect-bridge/cache/CacheKeys.mjs +1 -1
- package/dist/redirect-bridge/cache/CookieStorage.d.ts.map +1 -1
- package/dist/redirect-bridge/config/Configuration.mjs +1 -1
- package/dist/redirect-bridge/controllers/StandardController.d.ts.map +1 -1
- package/dist/redirect-bridge/custom_auth/CustomAuthConstants.d.ts +1 -1
- package/dist/redirect-bridge/custom_auth/UserAccountAttributes.d.ts +1 -0
- package/dist/redirect-bridge/custom_auth/UserAccountAttributes.d.ts.map +1 -1
- package/dist/redirect-bridge/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts.map +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/interaction_client/PlatformAuthInteractionClient.d.ts +1 -1
- package/dist/redirect-bridge/interaction_client/PlatformAuthInteractionClient.d.ts.map +1 -1
- package/dist/redirect-bridge/navigation/NavigationClient.mjs +1 -1
- package/dist/redirect-bridge/packageMetadata.d.ts +1 -1
- package/dist/redirect-bridge/redirect_bridge/index.mjs +1 -1
- package/dist/redirect-bridge/utils/BrowserConstants.mjs +1 -1
- package/dist/redirect-bridge/utils/BrowserUtils.mjs +1 -1
- package/dist/request/RequestHelpers.mjs +1 -1
- package/dist/response/ResponseHandler.mjs +1 -1
- package/dist/telemetry/BrowserPerformanceClient.mjs +1 -1
- package/dist/telemetry/BrowserPerformanceEvents.mjs +1 -1
- package/dist/telemetry/BrowserPerformanceMeasurement.mjs +1 -1
- package/dist/telemetry/BrowserRootPerformanceEvents.mjs +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 +4 -4
- package/lib/custom-auth-path/msal-custom-auth.cjs +177 -110
- package/lib/custom-auth-path/msal-custom-auth.cjs.map +1 -1
- package/lib/custom-auth-path/types/cache/BrowserCacheManager.d.ts +2 -4
- package/lib/custom-auth-path/types/cache/BrowserCacheManager.d.ts.map +1 -1
- package/lib/custom-auth-path/types/cache/CacheKeys.d.ts +2 -2
- package/lib/custom-auth-path/types/cache/CookieStorage.d.ts.map +1 -1
- package/lib/custom-auth-path/types/controllers/StandardController.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/CustomAuthConstants.d.ts +1 -1
- package/lib/custom-auth-path/types/custom_auth/UserAccountAttributes.d.ts +1 -0
- package/lib/custom-auth-path/types/custom_auth/UserAccountAttributes.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts.map +1 -1
- package/lib/custom-auth-path/types/interaction_client/PlatformAuthInteractionClient.d.ts +1 -1
- package/lib/custom-auth-path/types/interaction_client/PlatformAuthInteractionClient.d.ts.map +1 -1
- package/lib/custom-auth-path/types/packageMetadata.d.ts +1 -1
- package/lib/log-strings-mapping.json +4 -4
- package/lib/msal-browser.cjs +178 -110
- package/lib/msal-browser.cjs.map +1 -1
- package/lib/msal-browser.js +178 -110
- package/lib/msal-browser.js.map +1 -1
- package/lib/msal-browser.min.js +2 -2
- package/lib/redirect-bridge/msal-redirect-bridge.cjs +734 -0
- package/lib/redirect-bridge/msal-redirect-bridge.cjs.map +1 -0
- 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/redirect-bridge/types/app/IPublicClientApplication.d.ts +48 -0
- package/lib/redirect-bridge/types/app/IPublicClientApplication.d.ts.map +1 -0
- package/lib/redirect-bridge/types/app/PublicClientApplication.d.ts +247 -0
- package/lib/redirect-bridge/types/app/PublicClientApplication.d.ts.map +1 -0
- package/lib/redirect-bridge/types/broker/nativeBroker/IPlatformAuthHandler.d.ts +12 -0
- package/lib/redirect-bridge/types/broker/nativeBroker/IPlatformAuthHandler.d.ts.map +1 -0
- package/lib/redirect-bridge/types/broker/nativeBroker/NativeStatusCodes.d.ts +9 -0
- package/lib/redirect-bridge/types/broker/nativeBroker/NativeStatusCodes.d.ts.map +1 -0
- package/lib/redirect-bridge/types/broker/nativeBroker/PlatformAuthDOMHandler.d.ts +30 -0
- package/lib/redirect-bridge/types/broker/nativeBroker/PlatformAuthDOMHandler.d.ts.map +1 -0
- package/lib/redirect-bridge/types/broker/nativeBroker/PlatformAuthExtensionHandler.d.ts +63 -0
- package/lib/redirect-bridge/types/broker/nativeBroker/PlatformAuthExtensionHandler.d.ts.map +1 -0
- package/lib/redirect-bridge/types/broker/nativeBroker/PlatformAuthProvider.d.ts +28 -0
- package/lib/redirect-bridge/types/broker/nativeBroker/PlatformAuthProvider.d.ts.map +1 -0
- package/lib/redirect-bridge/types/broker/nativeBroker/PlatformAuthRequest.d.ts +79 -0
- package/lib/redirect-bridge/types/broker/nativeBroker/PlatformAuthRequest.d.ts.map +1 -0
- package/lib/redirect-bridge/types/broker/nativeBroker/PlatformAuthResponse.d.ts +71 -0
- package/lib/redirect-bridge/types/broker/nativeBroker/PlatformAuthResponse.d.ts.map +1 -0
- package/lib/redirect-bridge/types/cache/AccountManager.d.ts +24 -0
- package/lib/redirect-bridge/types/cache/AccountManager.d.ts.map +1 -0
- package/lib/redirect-bridge/types/cache/AsyncMemoryStorage.d.ts +58 -0
- package/lib/redirect-bridge/types/cache/AsyncMemoryStorage.d.ts.map +1 -0
- package/lib/redirect-bridge/types/cache/BrowserCacheManager.d.ts +364 -0
- package/lib/redirect-bridge/types/cache/BrowserCacheManager.d.ts.map +1 -0
- package/lib/redirect-bridge/types/cache/CacheHelpers.d.ts +16 -0
- package/lib/redirect-bridge/types/cache/CacheHelpers.d.ts.map +1 -0
- package/lib/redirect-bridge/types/cache/CacheKeys.d.ts +15 -0
- package/lib/redirect-bridge/types/cache/CacheKeys.d.ts.map +1 -0
- package/lib/redirect-bridge/types/cache/CookieStorage.d.ts +23 -0
- package/lib/redirect-bridge/types/cache/CookieStorage.d.ts.map +1 -0
- package/lib/redirect-bridge/types/cache/DatabaseStorage.d.ts +57 -0
- package/lib/redirect-bridge/types/cache/DatabaseStorage.d.ts.map +1 -0
- package/lib/redirect-bridge/types/cache/EncryptedData.d.ts +8 -0
- package/lib/redirect-bridge/types/cache/EncryptedData.d.ts.map +1 -0
- package/lib/redirect-bridge/types/cache/IAsyncStorage.d.ts +33 -0
- package/lib/redirect-bridge/types/cache/IAsyncStorage.d.ts.map +1 -0
- package/lib/redirect-bridge/types/cache/IWindowStorage.d.ts +42 -0
- package/lib/redirect-bridge/types/cache/IWindowStorage.d.ts.map +1 -0
- package/lib/redirect-bridge/types/cache/LocalStorage.d.ts +51 -0
- package/lib/redirect-bridge/types/cache/LocalStorage.d.ts.map +1 -0
- package/lib/redirect-bridge/types/cache/MemoryStorage.d.ts +16 -0
- package/lib/redirect-bridge/types/cache/MemoryStorage.d.ts.map +1 -0
- package/lib/redirect-bridge/types/cache/SessionStorage.d.ts +14 -0
- package/lib/redirect-bridge/types/cache/SessionStorage.d.ts.map +1 -0
- package/lib/redirect-bridge/types/cache/TokenCache.d.ts +20 -0
- package/lib/redirect-bridge/types/cache/TokenCache.d.ts.map +1 -0
- package/lib/redirect-bridge/types/config/Configuration.d.ts +198 -0
- package/lib/redirect-bridge/types/config/Configuration.d.ts.map +1 -0
- package/lib/redirect-bridge/types/controllers/IController.d.ts +3 -0
- package/lib/redirect-bridge/types/controllers/IController.d.ts.map +1 -0
- package/lib/redirect-bridge/types/controllers/NestedAppAuthController.d.ts +159 -0
- package/lib/redirect-bridge/types/controllers/NestedAppAuthController.d.ts.map +1 -0
- package/lib/redirect-bridge/types/controllers/StandardController.d.ts +398 -0
- package/lib/redirect-bridge/types/controllers/StandardController.d.ts.map +1 -0
- package/lib/redirect-bridge/types/controllers/UnknownOperatingContextController.d.ts +73 -0
- package/lib/redirect-bridge/types/controllers/UnknownOperatingContextController.d.ts.map +1 -0
- package/lib/redirect-bridge/types/crypto/BrowserCrypto.d.ts +96 -0
- package/lib/redirect-bridge/types/crypto/BrowserCrypto.d.ts.map +1 -0
- package/lib/redirect-bridge/types/crypto/CryptoOps.d.ts +77 -0
- package/lib/redirect-bridge/types/crypto/CryptoOps.d.ts.map +1 -0
- package/lib/redirect-bridge/types/crypto/PkceGenerator.d.ts +9 -0
- package/lib/redirect-bridge/types/crypto/PkceGenerator.d.ts.map +1 -0
- package/lib/redirect-bridge/types/crypto/SignedHttpRequest.d.ts +32 -0
- package/lib/redirect-bridge/types/crypto/SignedHttpRequest.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/CustomAuthActionInputs.d.ts +29 -0
- package/lib/redirect-bridge/types/custom_auth/CustomAuthActionInputs.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/CustomAuthConstants.d.ts +35 -0
- package/lib/redirect-bridge/types/custom_auth/CustomAuthConstants.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/CustomAuthPublicClientApplication.d.ts +55 -0
- package/lib/redirect-bridge/types/custom_auth/CustomAuthPublicClientApplication.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/ICustomAuthPublicClientApplication.d.ts +33 -0
- package/lib/redirect-bridge/types/custom_auth/ICustomAuthPublicClientApplication.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/UserAccountAttributes.d.ts +13 -0
- package/lib/redirect-bridge/types/custom_auth/UserAccountAttributes.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/configuration/CustomAuthConfiguration.d.ts +14 -0
- package/lib/redirect-bridge/types/custom_auth/configuration/CustomAuthConfiguration.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/controller/CustomAuthStandardController.d.ts +27 -0
- package/lib/redirect-bridge/types/custom_auth/controller/CustomAuthStandardController.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/controller/ICustomAuthStandardController.d.ts +13 -0
- package/lib/redirect-bridge/types/custom_auth/controller/ICustomAuthStandardController.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/CustomAuthAuthority.d.ts +29 -0
- package/lib/redirect-bridge/types/custom_auth/core/CustomAuthAuthority.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts +40 -0
- package/lib/redirect-bridge/types/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/auth_flow/AuthFlowResultBase.d.ts +11 -0
- package/lib/redirect-bridge/types/custom_auth/core/auth_flow/AuthFlowResultBase.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/auth_flow/AuthFlowState.d.ts +31 -0
- package/lib/redirect-bridge/types/custom_auth/core/auth_flow/AuthFlowState.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/auth_flow/AuthFlowStateTypes.d.ts +29 -0
- package/lib/redirect-bridge/types/custom_auth/core/auth_flow/AuthFlowStateTypes.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/auth_flow/jit/AuthMethodDetails.d.ts +15 -0
- package/lib/redirect-bridge/types/custom_auth/core/auth_flow/jit/AuthMethodDetails.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.d.ts +27 -0
- package/lib/redirect-bridge/types/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationChallengeMethodResult.d.ts +47 -0
- package/lib/redirect-bridge/types/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationChallengeMethodResult.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationSubmitChallengeResult.d.ts +37 -0
- package/lib/redirect-bridge/types/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationSubmitChallengeResult.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationCompletedState.d.ts +11 -0
- package/lib/redirect-bridge/types/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationCompletedState.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationFailedState.d.ts +11 -0
- package/lib/redirect-bridge/types/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationFailedState.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationState.d.ts +82 -0
- package/lib/redirect-bridge/types/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationState.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationStateParameters.d.ts +20 -0
- package/lib/redirect-bridge/types/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationStateParameters.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/auth_flow/mfa/error_type/MfaError.d.ts +27 -0
- package/lib/redirect-bridge/types/custom_auth/core/auth_flow/mfa/error_type/MfaError.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.d.ts +40 -0
- package/lib/redirect-bridge/types/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.d.ts +34 -0
- package/lib/redirect-bridge/types/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.d.ts +11 -0
- package/lib/redirect-bridge/types/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/auth_flow/mfa/state/MfaFailedState.d.ts +11 -0
- package/lib/redirect-bridge/types/custom_auth/core/auth_flow/mfa/state/MfaFailedState.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/auth_flow/mfa/state/MfaState.d.ts +67 -0
- package/lib/redirect-bridge/types/custom_auth/core/auth_flow/mfa/state/MfaState.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/auth_flow/mfa/state/MfaStateParameters.d.ts +19 -0
- package/lib/redirect-bridge/types/custom_auth/core/auth_flow/mfa/state/MfaStateParameters.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/error/CustomAuthApiError.d.ts +20 -0
- package/lib/redirect-bridge/types/custom_auth/core/error/CustomAuthApiError.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/error/CustomAuthError.d.ts +9 -0
- package/lib/redirect-bridge/types/custom_auth/core/error/CustomAuthError.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/error/HttpError.d.ts +5 -0
- package/lib/redirect-bridge/types/custom_auth/core/error/HttpError.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/error/HttpErrorCodes.d.ts +3 -0
- package/lib/redirect-bridge/types/custom_auth/core/error/HttpErrorCodes.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/error/InvalidArgumentError.d.ts +5 -0
- package/lib/redirect-bridge/types/custom_auth/core/error/InvalidArgumentError.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/error/InvalidConfigurationError.d.ts +5 -0
- package/lib/redirect-bridge/types/custom_auth/core/error/InvalidConfigurationError.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/error/InvalidConfigurationErrorCodes.d.ts +4 -0
- package/lib/redirect-bridge/types/custom_auth/core/error/InvalidConfigurationErrorCodes.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/error/MethodNotImplementedError.d.ts +5 -0
- package/lib/redirect-bridge/types/custom_auth/core/error/MethodNotImplementedError.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/error/MsalCustomAuthError.d.ts +5 -0
- package/lib/redirect-bridge/types/custom_auth/core/error/MsalCustomAuthError.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/error/NoCachedAccountFoundError.d.ts +5 -0
- package/lib/redirect-bridge/types/custom_auth/core/error/NoCachedAccountFoundError.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/error/ParsedUrlError.d.ts +5 -0
- package/lib/redirect-bridge/types/custom_auth/core/error/ParsedUrlError.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/error/ParsedUrlErrorCodes.d.ts +2 -0
- package/lib/redirect-bridge/types/custom_auth/core/error/ParsedUrlErrorCodes.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/error/UnexpectedError.d.ts +5 -0
- package/lib/redirect-bridge/types/custom_auth/core/error/UnexpectedError.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/error/UnsupportedEnvironmentError.d.ts +5 -0
- package/lib/redirect-bridge/types/custom_auth/core/error/UnsupportedEnvironmentError.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/error/UserAccountAttributeError.d.ts +5 -0
- package/lib/redirect-bridge/types/custom_auth/core/error/UserAccountAttributeError.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/error/UserAccountAttributeErrorCodes.d.ts +2 -0
- package/lib/redirect-bridge/types/custom_auth/core/error/UserAccountAttributeErrorCodes.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/error/UserAlreadySignedInError.d.ts +5 -0
- package/lib/redirect-bridge/types/custom_auth/core/error/UserAlreadySignedInError.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.d.ts +34 -0
- package/lib/redirect-bridge/types/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/interaction_client/CustomAuthInterationClientFactory.d.ts +22 -0
- package/lib/redirect-bridge/types/custom_auth/core/interaction_client/CustomAuthInterationClientFactory.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/interaction_client/jit/JitClient.d.ts +21 -0
- package/lib/redirect-bridge/types/custom_auth/core/interaction_client/jit/JitClient.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/interaction_client/jit/parameter/JitParams.d.ts +20 -0
- package/lib/redirect-bridge/types/custom_auth/core/interaction_client/jit/parameter/JitParams.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/interaction_client/jit/result/JitActionResult.d.ts +22 -0
- package/lib/redirect-bridge/types/custom_auth/core/interaction_client/jit/result/JitActionResult.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/interaction_client/mfa/MfaClient.d.ts +21 -0
- package/lib/redirect-bridge/types/custom_auth/core/interaction_client/mfa/MfaClient.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/interaction_client/mfa/parameter/MfaClientParameters.d.ts +14 -0
- package/lib/redirect-bridge/types/custom_auth/core/interaction_client/mfa/parameter/MfaClientParameters.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/interaction_client/mfa/result/MfaActionResult.d.ts +23 -0
- package/lib/redirect-bridge/types/custom_auth/core/interaction_client/mfa/result/MfaActionResult.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/network_client/custom_auth_api/BaseApiClient.d.ts +15 -0
- package/lib/redirect-bridge/types/custom_auth/core/network_client/custom_auth_api/BaseApiClient.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.d.ts +14 -0
- package/lib/redirect-bridge/types/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.d.ts +16 -0
- package/lib/redirect-bridge/types/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/network_client/custom_auth_api/ICustomAuthApiClient.d.ts +11 -0
- package/lib/redirect-bridge/types/custom_auth/core/network_client/custom_auth_api/ICustomAuthApiClient.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/network_client/custom_auth_api/RegisterApiClient.d.ts +18 -0
- package/lib/redirect-bridge/types/custom_auth/core/network_client/custom_auth_api/RegisterApiClient.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/network_client/custom_auth_api/ResetPasswordApiClient.d.ts +34 -0
- package/lib/redirect-bridge/types/custom_auth/core/network_client/custom_auth_api/ResetPasswordApiClient.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts +37 -0
- package/lib/redirect-bridge/types/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/network_client/custom_auth_api/SignupApiClient.d.ts +23 -0
- package/lib/redirect-bridge/types/custom_auth/core/network_client/custom_auth_api/SignupApiClient.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/network_client/custom_auth_api/types/ApiErrorCodes.d.ts +23 -0
- package/lib/redirect-bridge/types/custom_auth/core/network_client/custom_auth_api/types/ApiErrorCodes.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/network_client/custom_auth_api/types/ApiErrorResponseTypes.d.ts +29 -0
- package/lib/redirect-bridge/types/custom_auth/core/network_client/custom_auth_api/types/ApiErrorResponseTypes.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts +86 -0
- package/lib/redirect-bridge/types/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/network_client/custom_auth_api/types/ApiResponseTypes.d.ts +71 -0
- package/lib/redirect-bridge/types/custom_auth/core/network_client/custom_auth_api/types/ApiResponseTypes.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.d.ts +13 -0
- package/lib/redirect-bridge/types/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/network_client/custom_auth_api/types/ApiTypesBase.d.ts +9 -0
- package/lib/redirect-bridge/types/custom_auth/core/network_client/custom_auth_api/types/ApiTypesBase.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/network_client/http_client/FetchHttpClient.d.ts +13 -0
- package/lib/redirect-bridge/types/custom_auth/core/network_client/http_client/FetchHttpClient.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/network_client/http_client/IHttpClient.d.ts +35 -0
- package/lib/redirect-bridge/types/custom_auth/core/network_client/http_client/IHttpClient.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/telemetry/PublicApiId.d.ts +25 -0
- package/lib/redirect-bridge/types/custom_auth/core/telemetry/PublicApiId.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/utils/ArgumentValidator.d.ts +4 -0
- package/lib/redirect-bridge/types/custom_auth/core/utils/ArgumentValidator.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/utils/UrlUtils.d.ts +3 -0
- package/lib/redirect-bridge/types/custom_auth/core/utils/UrlUtils.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/get_account/auth_flow/CustomAuthAccountData.d.ts +47 -0
- package/lib/redirect-bridge/types/custom_auth/get_account/auth_flow/CustomAuthAccountData.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/get_account/auth_flow/error_type/GetAccountError.d.ts +32 -0
- package/lib/redirect-bridge/types/custom_auth/get_account/auth_flow/error_type/GetAccountError.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/get_account/auth_flow/result/GetAccessTokenResult.d.ts +37 -0
- package/lib/redirect-bridge/types/custom_auth/get_account/auth_flow/result/GetAccessTokenResult.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/get_account/auth_flow/result/GetAccountResult.d.ts +36 -0
- package/lib/redirect-bridge/types/custom_auth/get_account/auth_flow/result/GetAccountResult.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/get_account/auth_flow/result/SignOutResult.d.ts +35 -0
- package/lib/redirect-bridge/types/custom_auth/get_account/auth_flow/result/SignOutResult.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/get_account/auth_flow/state/GetAccessTokenState.d.ts +20 -0
- package/lib/redirect-bridge/types/custom_auth/get_account/auth_flow/state/GetAccessTokenState.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/get_account/auth_flow/state/GetAccountState.d.ts +20 -0
- package/lib/redirect-bridge/types/custom_auth/get_account/auth_flow/state/GetAccountState.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/get_account/auth_flow/state/SignOutState.d.ts +20 -0
- package/lib/redirect-bridge/types/custom_auth/get_account/auth_flow/state/SignOutState.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.d.ts +21 -0
- package/lib/redirect-bridge/types/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/index.d.ts +84 -0
- package/lib/redirect-bridge/types/custom_auth/index.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/operating_context/CustomAuthOperatingContext.d.ts +13 -0
- package/lib/redirect-bridge/types/custom_auth/operating_context/CustomAuthOperatingContext.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/reset_password/auth_flow/error_type/ResetPasswordError.d.ts +40 -0
- package/lib/redirect-bridge/types/custom_auth/reset_password/auth_flow/error_type/ResetPasswordError.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/reset_password/auth_flow/result/ResetPasswordResendCodeResult.d.ts +37 -0
- package/lib/redirect-bridge/types/custom_auth/reset_password/auth_flow/result/ResetPasswordResendCodeResult.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/reset_password/auth_flow/result/ResetPasswordStartResult.d.ts +37 -0
- package/lib/redirect-bridge/types/custom_auth/reset_password/auth_flow/result/ResetPasswordStartResult.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitCodeResult.d.ts +37 -0
- package/lib/redirect-bridge/types/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitCodeResult.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitPasswordResult.d.ts +32 -0
- package/lib/redirect-bridge/types/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitPasswordResult.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/reset_password/auth_flow/state/ResetPasswordCodeRequiredState.d.ts +27 -0
- package/lib/redirect-bridge/types/custom_auth/reset_password/auth_flow/state/ResetPasswordCodeRequiredState.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/reset_password/auth_flow/state/ResetPasswordCompletedState.d.ts +11 -0
- package/lib/redirect-bridge/types/custom_auth/reset_password/auth_flow/state/ResetPasswordCompletedState.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/reset_password/auth_flow/state/ResetPasswordFailedState.d.ts +11 -0
- package/lib/redirect-bridge/types/custom_auth/reset_password/auth_flow/state/ResetPasswordFailedState.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/reset_password/auth_flow/state/ResetPasswordPasswordRequiredState.d.ts +16 -0
- package/lib/redirect-bridge/types/custom_auth/reset_password/auth_flow/state/ResetPasswordPasswordRequiredState.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/reset_password/auth_flow/state/ResetPasswordState.d.ts +6 -0
- package/lib/redirect-bridge/types/custom_auth/reset_password/auth_flow/state/ResetPasswordState.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/reset_password/auth_flow/state/ResetPasswordStateParameters.d.ts +19 -0
- package/lib/redirect-bridge/types/custom_auth/reset_password/auth_flow/state/ResetPasswordStateParameters.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/reset_password/interaction_client/ResetPasswordClient.d.ts +33 -0
- package/lib/redirect-bridge/types/custom_auth/reset_password/interaction_client/ResetPasswordClient.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/reset_password/interaction_client/parameter/ResetPasswordParams.d.ts +19 -0
- package/lib/redirect-bridge/types/custom_auth/reset_password/interaction_client/parameter/ResetPasswordParams.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/reset_password/interaction_client/result/ResetPasswordActionResult.d.ts +14 -0
- package/lib/redirect-bridge/types/custom_auth/reset_password/interaction_client/result/ResetPasswordActionResult.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/sign_in/auth_flow/SignInScenario.d.ts +6 -0
- package/lib/redirect-bridge/types/custom_auth/sign_in/auth_flow/SignInScenario.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/sign_in/auth_flow/error_type/SignInError.d.ts +45 -0
- package/lib/redirect-bridge/types/custom_auth/sign_in/auth_flow/error_type/SignInError.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/sign_in/auth_flow/result/SignInResendCodeResult.d.ts +37 -0
- package/lib/redirect-bridge/types/custom_auth/sign_in/auth_flow/result/SignInResendCodeResult.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/sign_in/auth_flow/result/SignInResult.d.ts +72 -0
- package/lib/redirect-bridge/types/custom_auth/sign_in/auth_flow/result/SignInResult.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.d.ts +51 -0
- package/lib/redirect-bridge/types/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.d.ts +46 -0
- package/lib/redirect-bridge/types/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.d.ts +33 -0
- package/lib/redirect-bridge/types/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/sign_in/auth_flow/state/SignInCompletedState.d.ts +12 -0
- package/lib/redirect-bridge/types/custom_auth/sign_in/auth_flow/state/SignInCompletedState.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/sign_in/auth_flow/state/SignInContinuationState.d.ts +17 -0
- package/lib/redirect-bridge/types/custom_auth/sign_in/auth_flow/state/SignInContinuationState.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/sign_in/auth_flow/state/SignInFailedState.d.ts +11 -0
- package/lib/redirect-bridge/types/custom_auth/sign_in/auth_flow/state/SignInFailedState.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.d.ts +21 -0
- package/lib/redirect-bridge/types/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/sign_in/auth_flow/state/SignInState.d.ts +22 -0
- package/lib/redirect-bridge/types/custom_auth/sign_in/auth_flow/state/SignInState.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/sign_in/auth_flow/state/SignInStateParameters.d.ts +25 -0
- package/lib/redirect-bridge/types/custom_auth/sign_in/auth_flow/state/SignInStateParameters.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/sign_in/interaction_client/SignInClient.d.ts +49 -0
- package/lib/redirect-bridge/types/custom_auth/sign_in/interaction_client/SignInClient.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/sign_in/interaction_client/parameter/SignInParams.d.ts +32 -0
- package/lib/redirect-bridge/types/custom_auth/sign_in/interaction_client/parameter/SignInParams.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/sign_in/interaction_client/result/SignInActionResult.d.ts +43 -0
- package/lib/redirect-bridge/types/custom_auth/sign_in/interaction_client/result/SignInActionResult.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/sign_up/auth_flow/error_type/SignUpError.d.ts +62 -0
- package/lib/redirect-bridge/types/custom_auth/sign_up/auth_flow/error_type/SignUpError.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/sign_up/auth_flow/result/SignUpResendCodeResult.d.ts +37 -0
- package/lib/redirect-bridge/types/custom_auth/sign_up/auth_flow/result/SignUpResendCodeResult.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/sign_up/auth_flow/result/SignUpResult.d.ts +53 -0
- package/lib/redirect-bridge/types/custom_auth/sign_up/auth_flow/result/SignUpResult.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/sign_up/auth_flow/result/SignUpSubmitAttributesResult.d.ts +37 -0
- package/lib/redirect-bridge/types/custom_auth/sign_up/auth_flow/result/SignUpSubmitAttributesResult.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/sign_up/auth_flow/result/SignUpSubmitCodeResult.d.ts +53 -0
- package/lib/redirect-bridge/types/custom_auth/sign_up/auth_flow/result/SignUpSubmitCodeResult.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/sign_up/auth_flow/result/SignUpSubmitPasswordResult.d.ts +45 -0
- package/lib/redirect-bridge/types/custom_auth/sign_up/auth_flow/result/SignUpSubmitPasswordResult.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.d.ts +25 -0
- package/lib/redirect-bridge/types/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.d.ts +32 -0
- package/lib/redirect-bridge/types/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/sign_up/auth_flow/state/SignUpCompletedState.d.ts +11 -0
- package/lib/redirect-bridge/types/custom_auth/sign_up/auth_flow/state/SignUpCompletedState.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/sign_up/auth_flow/state/SignUpFailedState.d.ts +11 -0
- package/lib/redirect-bridge/types/custom_auth/sign_up/auth_flow/state/SignUpFailedState.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/sign_up/auth_flow/state/SignUpPasswordRequiredState.d.ts +16 -0
- package/lib/redirect-bridge/types/custom_auth/sign_up/auth_flow/state/SignUpPasswordRequiredState.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/sign_up/auth_flow/state/SignUpState.d.ts +6 -0
- package/lib/redirect-bridge/types/custom_auth/sign_up/auth_flow/state/SignUpState.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/sign_up/auth_flow/state/SignUpStateParameters.d.ts +24 -0
- package/lib/redirect-bridge/types/custom_auth/sign_up/auth_flow/state/SignUpStateParameters.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/sign_up/interaction_client/SignUpClient.d.ts +41 -0
- package/lib/redirect-bridge/types/custom_auth/sign_up/interaction_client/SignUpClient.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/sign_up/interaction_client/parameter/SignUpParams.d.ts +26 -0
- package/lib/redirect-bridge/types/custom_auth/sign_up/interaction_client/parameter/SignUpParams.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/sign_up/interaction_client/result/SignUpActionResult.d.ts +34 -0
- package/lib/redirect-bridge/types/custom_auth/sign_up/interaction_client/result/SignUpActionResult.d.ts.map +1 -0
- package/lib/redirect-bridge/types/encode/Base64Decode.d.ts +15 -0
- package/lib/redirect-bridge/types/encode/Base64Decode.d.ts.map +1 -0
- package/lib/redirect-bridge/types/encode/Base64Encode.d.ts +20 -0
- package/lib/redirect-bridge/types/encode/Base64Encode.d.ts.map +1 -0
- package/lib/redirect-bridge/types/error/BrowserAuthError.d.ts +12 -0
- package/lib/redirect-bridge/types/error/BrowserAuthError.d.ts.map +1 -0
- package/lib/redirect-bridge/types/error/BrowserAuthErrorCodes.d.ts +53 -0
- package/lib/redirect-bridge/types/error/BrowserAuthErrorCodes.d.ts.map +1 -0
- package/lib/redirect-bridge/types/error/BrowserConfigurationAuthError.d.ts +11 -0
- package/lib/redirect-bridge/types/error/BrowserConfigurationAuthError.d.ts.map +1 -0
- package/lib/redirect-bridge/types/error/BrowserConfigurationAuthErrorCodes.d.ts +4 -0
- package/lib/redirect-bridge/types/error/BrowserConfigurationAuthErrorCodes.d.ts.map +1 -0
- package/lib/redirect-bridge/types/error/NativeAuthError.d.ts +27 -0
- package/lib/redirect-bridge/types/error/NativeAuthError.d.ts.map +1 -0
- package/lib/redirect-bridge/types/error/NativeAuthErrorCodes.d.ts +5 -0
- package/lib/redirect-bridge/types/error/NativeAuthErrorCodes.d.ts.map +1 -0
- package/lib/redirect-bridge/types/error/NestedAppAuthError.d.ts +6 -0
- package/lib/redirect-bridge/types/error/NestedAppAuthError.d.ts.map +1 -0
- package/lib/redirect-bridge/types/event/EventHandler.d.ts +49 -0
- package/lib/redirect-bridge/types/event/EventHandler.d.ts.map +1 -0
- package/lib/redirect-bridge/types/event/EventMessage.d.ts +41 -0
- package/lib/redirect-bridge/types/event/EventMessage.d.ts.map +1 -0
- package/lib/redirect-bridge/types/event/EventType.d.ts +24 -0
- package/lib/redirect-bridge/types/event/EventType.d.ts.map +1 -0
- package/lib/redirect-bridge/types/index.d.ts +73 -0
- package/lib/redirect-bridge/types/index.d.ts.map +1 -0
- package/lib/redirect-bridge/types/interaction_client/BaseInteractionClient.d.ts +77 -0
- package/lib/redirect-bridge/types/interaction_client/BaseInteractionClient.d.ts.map +1 -0
- package/lib/redirect-bridge/types/interaction_client/HybridSpaAuthorizationCodeClient.d.ts +5 -0
- package/lib/redirect-bridge/types/interaction_client/HybridSpaAuthorizationCodeClient.d.ts.map +1 -0
- package/lib/redirect-bridge/types/interaction_client/PlatformAuthInteractionClient.d.ts +151 -0
- package/lib/redirect-bridge/types/interaction_client/PlatformAuthInteractionClient.d.ts.map +1 -0
- package/lib/redirect-bridge/types/interaction_client/PopupClient.d.ts +106 -0
- package/lib/redirect-bridge/types/interaction_client/PopupClient.d.ts.map +1 -0
- package/lib/redirect-bridge/types/interaction_client/RedirectClient.d.ts +77 -0
- package/lib/redirect-bridge/types/interaction_client/RedirectClient.d.ts.map +1 -0
- package/lib/redirect-bridge/types/interaction_client/SilentAuthCodeClient.d.ts +24 -0
- package/lib/redirect-bridge/types/interaction_client/SilentAuthCodeClient.d.ts.map +1 -0
- package/lib/redirect-bridge/types/interaction_client/SilentCacheClient.d.ts +17 -0
- package/lib/redirect-bridge/types/interaction_client/SilentCacheClient.d.ts.map +1 -0
- package/lib/redirect-bridge/types/interaction_client/SilentIframeClient.d.ts +57 -0
- package/lib/redirect-bridge/types/interaction_client/SilentIframeClient.d.ts.map +1 -0
- package/lib/redirect-bridge/types/interaction_client/SilentRefreshClient.d.ts +32 -0
- package/lib/redirect-bridge/types/interaction_client/SilentRefreshClient.d.ts.map +1 -0
- package/lib/redirect-bridge/types/interaction_client/StandardInteractionClient.d.ts +76 -0
- package/lib/redirect-bridge/types/interaction_client/StandardInteractionClient.d.ts.map +1 -0
- package/lib/redirect-bridge/types/interaction_handler/InteractionHandler.d.ts +33 -0
- package/lib/redirect-bridge/types/interaction_handler/InteractionHandler.d.ts.map +1 -0
- package/lib/redirect-bridge/types/interaction_handler/SilentHandler.d.ts +17 -0
- package/lib/redirect-bridge/types/interaction_handler/SilentHandler.d.ts.map +1 -0
- package/lib/redirect-bridge/types/naa/AccountInfo.d.ts +13 -0
- package/lib/redirect-bridge/types/naa/AccountInfo.d.ts.map +1 -0
- package/lib/redirect-bridge/types/naa/AuthBridge.d.ts +9 -0
- package/lib/redirect-bridge/types/naa/AuthBridge.d.ts.map +1 -0
- package/lib/redirect-bridge/types/naa/AuthResult.d.ts +7 -0
- package/lib/redirect-bridge/types/naa/AuthResult.d.ts.map +1 -0
- package/lib/redirect-bridge/types/naa/BridgeAccountContext.d.ts +13 -0
- package/lib/redirect-bridge/types/naa/BridgeAccountContext.d.ts.map +1 -0
- package/lib/redirect-bridge/types/naa/BridgeCapabilities.d.ts +4 -0
- package/lib/redirect-bridge/types/naa/BridgeCapabilities.d.ts.map +1 -0
- package/lib/redirect-bridge/types/naa/BridgeError.d.ts +10 -0
- package/lib/redirect-bridge/types/naa/BridgeError.d.ts.map +1 -0
- package/lib/redirect-bridge/types/naa/BridgeProxy.d.ts +69 -0
- package/lib/redirect-bridge/types/naa/BridgeProxy.d.ts.map +1 -0
- package/lib/redirect-bridge/types/naa/BridgeRequest.d.ts +8 -0
- package/lib/redirect-bridge/types/naa/BridgeRequest.d.ts.map +1 -0
- package/lib/redirect-bridge/types/naa/BridgeRequestEnvelope.d.ts +13 -0
- package/lib/redirect-bridge/types/naa/BridgeRequestEnvelope.d.ts.map +1 -0
- package/lib/redirect-bridge/types/naa/BridgeResponseEnvelope.d.ts +14 -0
- package/lib/redirect-bridge/types/naa/BridgeResponseEnvelope.d.ts.map +1 -0
- package/lib/redirect-bridge/types/naa/BridgeStatusCode.d.ts +12 -0
- package/lib/redirect-bridge/types/naa/BridgeStatusCode.d.ts.map +1 -0
- package/lib/redirect-bridge/types/naa/IBridgeProxy.d.ts +11 -0
- package/lib/redirect-bridge/types/naa/IBridgeProxy.d.ts.map +1 -0
- package/lib/redirect-bridge/types/naa/InitContext.d.ts +9 -0
- package/lib/redirect-bridge/types/naa/InitContext.d.ts.map +1 -0
- package/lib/redirect-bridge/types/naa/TokenRequest.d.ts +21 -0
- package/lib/redirect-bridge/types/naa/TokenRequest.d.ts.map +1 -0
- package/lib/redirect-bridge/types/naa/TokenResponse.d.ts +14 -0
- package/lib/redirect-bridge/types/naa/TokenResponse.d.ts.map +1 -0
- package/lib/redirect-bridge/types/naa/mapping/NestedAppAuthAdapter.d.ts +36 -0
- package/lib/redirect-bridge/types/naa/mapping/NestedAppAuthAdapter.d.ts.map +1 -0
- package/lib/redirect-bridge/types/navigation/INavigationClient.d.ts +17 -0
- package/lib/redirect-bridge/types/navigation/INavigationClient.d.ts.map +1 -0
- package/lib/redirect-bridge/types/navigation/NavigationClient.d.ts +23 -0
- package/lib/redirect-bridge/types/navigation/NavigationClient.d.ts.map +1 -0
- package/lib/redirect-bridge/types/navigation/NavigationOptions.d.ts +13 -0
- package/lib/redirect-bridge/types/navigation/NavigationOptions.d.ts.map +1 -0
- package/lib/redirect-bridge/types/network/FetchClient.d.ts +21 -0
- package/lib/redirect-bridge/types/network/FetchClient.d.ts.map +1 -0
- package/lib/redirect-bridge/types/operatingcontext/BaseOperatingContext.d.ts +43 -0
- package/lib/redirect-bridge/types/operatingcontext/BaseOperatingContext.d.ts.map +1 -0
- package/lib/redirect-bridge/types/operatingcontext/NestedAppOperatingContext.d.ts +41 -0
- package/lib/redirect-bridge/types/operatingcontext/NestedAppOperatingContext.d.ts.map +1 -0
- package/lib/redirect-bridge/types/operatingcontext/StandardOperatingContext.d.ts +26 -0
- package/lib/redirect-bridge/types/operatingcontext/StandardOperatingContext.d.ts.map +1 -0
- package/lib/redirect-bridge/types/operatingcontext/UnknownOperatingContext.d.ts +26 -0
- package/lib/redirect-bridge/types/operatingcontext/UnknownOperatingContext.d.ts.map +1 -0
- package/lib/redirect-bridge/types/packageMetadata.d.ts +3 -0
- package/lib/redirect-bridge/types/packageMetadata.d.ts.map +1 -0
- package/lib/redirect-bridge/types/protocol/Authorize.d.ts +102 -0
- package/lib/redirect-bridge/types/protocol/Authorize.d.ts.map +1 -0
- package/lib/redirect-bridge/types/redirect_bridge/index.d.ts +16 -0
- package/lib/redirect-bridge/types/redirect_bridge/index.d.ts.map +1 -0
- package/lib/redirect-bridge/types/request/AuthorizationCodeRequest.d.ts +27 -0
- package/lib/redirect-bridge/types/request/AuthorizationCodeRequest.d.ts.map +1 -0
- package/lib/redirect-bridge/types/request/ClearCacheRequest.d.ts +15 -0
- package/lib/redirect-bridge/types/request/ClearCacheRequest.d.ts.map +1 -0
- package/lib/redirect-bridge/types/request/EndSessionPopupRequest.d.ts +24 -0
- package/lib/redirect-bridge/types/request/EndSessionPopupRequest.d.ts.map +1 -0
- package/lib/redirect-bridge/types/request/EndSessionRequest.d.ts +11 -0
- package/lib/redirect-bridge/types/request/EndSessionRequest.d.ts.map +1 -0
- package/lib/redirect-bridge/types/request/HandleRedirectPromiseOptions.d.ts +5 -0
- package/lib/redirect-bridge/types/request/HandleRedirectPromiseOptions.d.ts.map +1 -0
- package/lib/redirect-bridge/types/request/InitializeApplicationRequest.d.ts +10 -0
- package/lib/redirect-bridge/types/request/InitializeApplicationRequest.d.ts.map +1 -0
- package/lib/redirect-bridge/types/request/PopupRequest.d.ts +25 -0
- package/lib/redirect-bridge/types/request/PopupRequest.d.ts.map +1 -0
- package/lib/redirect-bridge/types/request/PopupWindowAttributes.d.ts +16 -0
- package/lib/redirect-bridge/types/request/PopupWindowAttributes.d.ts.map +1 -0
- package/lib/redirect-bridge/types/request/RedirectRequest.d.ts +16 -0
- package/lib/redirect-bridge/types/request/RedirectRequest.d.ts.map +1 -0
- package/lib/redirect-bridge/types/request/RequestHelpers.d.ts +28 -0
- package/lib/redirect-bridge/types/request/RequestHelpers.d.ts.map +1 -0
- package/lib/redirect-bridge/types/request/SilentRequest.d.ts +52 -0
- package/lib/redirect-bridge/types/request/SilentRequest.d.ts.map +1 -0
- package/lib/redirect-bridge/types/request/SsoSilentRequest.d.ts +6 -0
- package/lib/redirect-bridge/types/request/SsoSilentRequest.d.ts.map +1 -0
- package/lib/redirect-bridge/types/response/AuthenticationResult.d.ts +5 -0
- package/lib/redirect-bridge/types/response/AuthenticationResult.d.ts.map +1 -0
- package/lib/redirect-bridge/types/response/ResponseHandler.d.ts +8 -0
- package/lib/redirect-bridge/types/response/ResponseHandler.d.ts.map +1 -0
- package/lib/redirect-bridge/types/telemetry/BrowserPerformanceClient.d.ts +19 -0
- package/lib/redirect-bridge/types/telemetry/BrowserPerformanceClient.d.ts.map +1 -0
- package/lib/redirect-bridge/types/telemetry/BrowserPerformanceEvents.d.ts +140 -0
- package/lib/redirect-bridge/types/telemetry/BrowserPerformanceEvents.d.ts.map +1 -0
- package/lib/redirect-bridge/types/telemetry/BrowserPerformanceMeasurement.d.ts +22 -0
- package/lib/redirect-bridge/types/telemetry/BrowserPerformanceMeasurement.d.ts.map +1 -0
- package/lib/redirect-bridge/types/telemetry/BrowserRootPerformanceEvents.d.ts +42 -0
- package/lib/redirect-bridge/types/telemetry/BrowserRootPerformanceEvents.d.ts.map +1 -0
- package/lib/redirect-bridge/types/utils/BrowserConstants.d.ts +182 -0
- package/lib/redirect-bridge/types/utils/BrowserConstants.d.ts.map +1 -0
- package/lib/redirect-bridge/types/utils/BrowserProtocolUtils.d.ts +12 -0
- package/lib/redirect-bridge/types/utils/BrowserProtocolUtils.d.ts.map +1 -0
- package/lib/redirect-bridge/types/utils/BrowserUtils.d.ts +111 -0
- package/lib/redirect-bridge/types/utils/BrowserUtils.d.ts.map +1 -0
- package/lib/redirect-bridge/types/utils/Helpers.d.ts +7 -0
- package/lib/redirect-bridge/types/utils/Helpers.d.ts.map +1 -0
- package/lib/redirect-bridge/types/utils/MsalFrameStatsUtils.d.ts +13 -0
- package/lib/redirect-bridge/types/utils/MsalFrameStatsUtils.d.ts.map +1 -0
- package/lib/types/cache/BrowserCacheManager.d.ts +2 -4
- package/lib/types/cache/BrowserCacheManager.d.ts.map +1 -1
- package/lib/types/cache/CacheKeys.d.ts +2 -2
- package/lib/types/cache/CookieStorage.d.ts.map +1 -1
- package/lib/types/controllers/StandardController.d.ts.map +1 -1
- package/lib/types/custom_auth/CustomAuthConstants.d.ts +1 -1
- package/lib/types/custom_auth/UserAccountAttributes.d.ts +1 -0
- package/lib/types/custom_auth/UserAccountAttributes.d.ts.map +1 -1
- package/lib/types/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts.map +1 -1
- package/lib/types/interaction_client/PlatformAuthInteractionClient.d.ts +1 -1
- package/lib/types/interaction_client/PlatformAuthInteractionClient.d.ts.map +1 -1
- package/lib/types/packageMetadata.d.ts +1 -1
- package/package.json +3 -3
- package/src/broker/nativeBroker/PlatformAuthExtensionHandler.ts +1 -1
- package/src/cache/BrowserCacheManager.ts +5 -5
- package/src/cache/CacheKeys.ts +2 -2
- package/src/cache/CookieStorage.ts +22 -9
- package/src/controllers/StandardController.ts +57 -4
- package/src/custom_auth/UserAccountAttributes.ts +1 -0
- package/src/custom_auth/core/network_client/custom_auth_api/SignInApiClient.ts +2 -3
- package/src/interaction_client/PlatformAuthInteractionClient.ts +38 -14
- package/src/packageMetadata.ts +1 -1
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
export declare const pkceNotCreated = "pkce_not_created";
|
|
2
|
+
export declare const earJwkEmpty = "ear_jwk_empty";
|
|
3
|
+
export declare const earJweEmpty = "ear_jwe_empty";
|
|
4
|
+
export declare const cryptoNonExistent = "crypto_nonexistent";
|
|
5
|
+
export declare const emptyNavigateUri = "empty_navigate_uri";
|
|
6
|
+
export declare const hashEmptyError = "hash_empty_error";
|
|
7
|
+
export declare const noStateInHash = "no_state_in_hash";
|
|
8
|
+
export declare const hashDoesNotContainKnownProperties = "hash_does_not_contain_known_properties";
|
|
9
|
+
export declare const unableToParseState = "unable_to_parse_state";
|
|
10
|
+
export declare const stateInteractionTypeMismatch = "state_interaction_type_mismatch";
|
|
11
|
+
export declare const interactionInProgress = "interaction_in_progress";
|
|
12
|
+
export declare const interactionInProgressCancelled = "interaction_in_progress_cancelled";
|
|
13
|
+
export declare const popupWindowError = "popup_window_error";
|
|
14
|
+
export declare const emptyWindowError = "empty_window_error";
|
|
15
|
+
export declare const userCancelled = "user_cancelled";
|
|
16
|
+
export declare const redirectBridgeEmptyResponse = "redirect_bridge_empty_response";
|
|
17
|
+
export declare const redirectInIframe = "redirect_in_iframe";
|
|
18
|
+
export declare const blockIframeReload = "block_iframe_reload";
|
|
19
|
+
export declare const blockNestedPopups = "block_nested_popups";
|
|
20
|
+
export declare const iframeClosedPrematurely = "iframe_closed_prematurely";
|
|
21
|
+
export declare const silentLogoutUnsupported = "silent_logout_unsupported";
|
|
22
|
+
export declare const noAccountError = "no_account_error";
|
|
23
|
+
export declare const silentPromptValueError = "silent_prompt_value_error";
|
|
24
|
+
export declare const noTokenRequestCacheError = "no_token_request_cache_error";
|
|
25
|
+
export declare const unableToParseTokenRequestCacheError = "unable_to_parse_token_request_cache_error";
|
|
26
|
+
export declare const authRequestNotSetError = "auth_request_not_set_error";
|
|
27
|
+
export declare const invalidCacheType = "invalid_cache_type";
|
|
28
|
+
export declare const nonBrowserEnvironment = "non_browser_environment";
|
|
29
|
+
export declare const databaseNotOpen = "database_not_open";
|
|
30
|
+
export declare const noNetworkConnectivity = "no_network_connectivity";
|
|
31
|
+
export declare const postRequestFailed = "post_request_failed";
|
|
32
|
+
export declare const getRequestFailed = "get_request_failed";
|
|
33
|
+
export declare const failedToParseResponse = "failed_to_parse_response";
|
|
34
|
+
export declare const unableToLoadToken = "unable_to_load_token";
|
|
35
|
+
export declare const cryptoKeyNotFound = "crypto_key_not_found";
|
|
36
|
+
export declare const authCodeRequired = "auth_code_required";
|
|
37
|
+
export declare const authCodeOrNativeAccountIdRequired = "auth_code_or_nativeAccountId_required";
|
|
38
|
+
export declare const spaCodeAndNativeAccountIdPresent = "spa_code_and_nativeAccountId_present";
|
|
39
|
+
export declare const databaseUnavailable = "database_unavailable";
|
|
40
|
+
export declare const unableToAcquireTokenFromNativePlatform = "unable_to_acquire_token_from_native_platform";
|
|
41
|
+
export declare const nativeHandshakeTimeout = "native_handshake_timeout";
|
|
42
|
+
export declare const nativeExtensionNotInstalled = "native_extension_not_installed";
|
|
43
|
+
export declare const nativeConnectionNotEstablished = "native_connection_not_established";
|
|
44
|
+
export declare const uninitializedPublicClientApplication = "uninitialized_public_client_application";
|
|
45
|
+
export declare const nativePromptNotSupported = "native_prompt_not_supported";
|
|
46
|
+
export declare const invalidBase64String = "invalid_base64_string";
|
|
47
|
+
export declare const invalidPopTokenRequest = "invalid_pop_token_request";
|
|
48
|
+
export declare const failedToBuildHeaders = "failed_to_build_headers";
|
|
49
|
+
export declare const failedToParseHeaders = "failed_to_parse_headers";
|
|
50
|
+
export declare const failedToDecryptEarResponse = "failed_to_decrypt_ear_response";
|
|
51
|
+
export declare const timedOut = "timed_out";
|
|
52
|
+
export declare const emptyResponse = "empty_response";
|
|
53
|
+
//# sourceMappingURL=BrowserAuthErrorCodes.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BrowserAuthErrorCodes.d.ts","sourceRoot":"","sources":["../../../../src/error/BrowserAuthErrorC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C;AAC/D,eAAO,MAAM,iBAAiB,wBAAwB,CAAC;AACvD,eAAO,MAAM,gBAAgB,uBAAuB,CAAC;AACrD,eAAO,MAAM,qBAAqB,6BAA6B,CAAC;AAChE,eAAO,MAAM,iBAAiB,yBAAyB,CAAC;AACxD,eAAO,MAAM,iBAAiB,yBAAyB,CAAC;AACxD,eAAO,MAAM,gBAAgB,uBAAuB,CAAC;AACrD,eAAO,MAAM,iCAAiC,0CACH,CAAC;AAC5C,eAAO,MAAM,gCAAgC,yCACH,CAAC;AAC3C,eAAO,MAAM,mBAAmB,yBAAyB,CAAC;AAC1D,eAAO,MAAM,sCAAsC,iDACD,CAAC;AACnD,eAAO,MAAM,sBAAsB,6BAA6B,CAAC;AACjE,eAAO,MAAM,2BAA2B,mCAAmC,CAAC;AAC5E,eAAO,MAAM,8BAA8B,sCACJ,CAAC;AACxC,eAAO,MAAM,oCAAoC,4CACJ,CAAC;AAC9C,eAAO,MAAM,wBAAwB,gCAAgC,CAAC;AACtE,eAAO,MAAM,mBAAmB,0BAA0B,CAAC;AAC3D,eAAO,MAAM,sBAAsB,8BAA8B,CAAC;AAClE,eAAO,MAAM,oBAAoB,4BAA4B,CAAC;AAC9D,eAAO,MAAM,oBAAoB,4BAA4B,CAAC;AAC9D,eAAO,MAAM,0BAA0B,mCAAmC,CAAC;AAC3E,eAAO,MAAM,QAAQ,cAAc,CAAC;AACpC,eAAO,MAAM,aAAa,mBAAmB,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { AuthError } from "@azure/msal-common/browser";
|
|
2
|
+
import * as BrowserConfigurationAuthErrorCodes from "./BrowserConfigurationAuthErrorCodes.js";
|
|
3
|
+
export { BrowserConfigurationAuthErrorCodes };
|
|
4
|
+
/**
|
|
5
|
+
* Browser library error class thrown by the MSAL.js library for SPAs
|
|
6
|
+
*/
|
|
7
|
+
export declare class BrowserConfigurationAuthError extends AuthError {
|
|
8
|
+
constructor(errorCode: string, errorMessage?: string);
|
|
9
|
+
}
|
|
10
|
+
export declare function createBrowserConfigurationAuthError(errorCode: string): BrowserConfigurationAuthError;
|
|
11
|
+
//# sourceMappingURL=BrowserConfigurationAuthError.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BrowserConfigurationAuthError.d.ts","sourceRoot":"","sources":["../../../../src/error/BrowserConfigurationAuthError.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AACvD,OAAO,KAAK,kCAAkC,MAAM,yCAAyC,CAAC;AAE9F,OAAO,EAAE,kCAAkC,EAAE,CAAC;AAC9C;;GAEG;AACH,qBAAa,6BAA8B,SAAQ,SAAS;gBAC5C,SAAS,EAAE,MAAM,EAAE,YAAY,CAAC,EAAE,MAAM;CAMvD;AAED,wBAAgB,mCAAmC,CAC/C,SAAS,EAAE,MAAM,GAClB,6BAA6B,CAK/B"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export declare const storageNotSupported = "storage_not_supported";
|
|
2
|
+
export declare const stubbedPublicClientApplicationCalled = "stubbed_public_client_application_called";
|
|
3
|
+
export declare const inMemRedirectUnavailable = "in_mem_redirect_unavailable";
|
|
4
|
+
//# sourceMappingURL=BrowserConfigurationAuthErrorCodes.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BrowserConfigurationAuthErrorCodes.d.ts","sourceRoot":"","sources":["../../../../src/error/BrowserConfigurationAuthErrorCodes.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,mBAAmB,0BAA0B,CAAC;AAC3D,eAAO,MAAM,oCAAoC,6CACH,CAAC;AAC/C,eAAO,MAAM,wBAAwB,gCAAgC,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { AuthError } from "@azure/msal-common/browser";
|
|
2
|
+
import * as NativeAuthErrorCodes from "./NativeAuthErrorCodes.js";
|
|
3
|
+
export { NativeAuthErrorCodes };
|
|
4
|
+
export type OSError = {
|
|
5
|
+
error?: number;
|
|
6
|
+
protocol_error?: string;
|
|
7
|
+
properties?: object;
|
|
8
|
+
status?: string;
|
|
9
|
+
retryable?: boolean;
|
|
10
|
+
};
|
|
11
|
+
export declare class NativeAuthError extends AuthError {
|
|
12
|
+
ext: OSError | undefined;
|
|
13
|
+
constructor(errorCode: string, description?: string, ext?: OSError);
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* These errors should result in a fallback to the 'standard' browser based auth flow.
|
|
17
|
+
*/
|
|
18
|
+
export declare function isFatalNativeAuthError(error: NativeAuthError): boolean;
|
|
19
|
+
/**
|
|
20
|
+
* Create the appropriate error object based on the WAM status code.
|
|
21
|
+
* @param code
|
|
22
|
+
* @param description
|
|
23
|
+
* @param ext
|
|
24
|
+
* @returns
|
|
25
|
+
*/
|
|
26
|
+
export declare function createNativeAuthError(code: string, description?: string, ext?: OSError): AuthError;
|
|
27
|
+
//# sourceMappingURL=NativeAuthError.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NativeAuthError.d.ts","sourceRoot":"","sources":["../../../../src/error/NativeAuthError.ts"],"names":[],"mappings":"AAKA,OAAO,EACH,SAAS,EAIZ,MAAM,4BAA4B,CAAC;AAOpC,OAAO,KAAK,oBAAoB,MAAM,2BAA2B,CAAC;AAElE,OAAO,EAAE,oBAAoB,EAAE,CAAC;AAEhC,MAAM,MAAM,OAAO,GAAG;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,OAAO,CAAC;CACvB,CAAC;AAIF,qBAAa,eAAgB,SAAQ,SAAS;IAC1C,GAAG,EAAE,OAAO,GAAG,SAAS,CAAC;gBAEb,SAAS,EAAE,MAAM,EAAE,WAAW,CAAC,EAAE,MAAM,EAAE,GAAG,CAAC,EAAE,OAAO;CAOrE;AAED;;GAEG;AACH,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,eAAe,GAAG,OAAO,CAwBtE;AAED;;;;;;GAMG;AACH,wBAAgB,qBAAqB,CACjC,IAAI,EAAE,MAAM,EACZ,WAAW,CAAC,EAAE,MAAM,EACpB,GAAG,CAAC,EAAE,OAAO,GACd,SAAS,CA0BX"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export declare const contentError = "ContentError";
|
|
2
|
+
export declare const pageException = "PageException";
|
|
3
|
+
export declare const userSwitch = "user_switch";
|
|
4
|
+
export declare const unsupportedMethod = "unsupported_method";
|
|
5
|
+
//# sourceMappingURL=NativeAuthErrorCodes.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NativeAuthErrorCodes.d.ts","sourceRoot":"","sources":["../../../../src/error/NativeAuthErrorCodes.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,YAAY,iBAAiB,CAAC;AAC3C,eAAO,MAAM,aAAa,kBAAkB,CAAC;AAC7C,eAAO,MAAM,UAAU,gBAAgB,CAAC;AACxC,eAAO,MAAM,iBAAiB,uBAAuB,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { AuthError } from "@azure/msal-common/browser";
|
|
2
|
+
export declare class NestedAppAuthError extends AuthError {
|
|
3
|
+
constructor(errorCode: string, errorMessage?: string);
|
|
4
|
+
static createUnsupportedError(): NestedAppAuthError;
|
|
5
|
+
}
|
|
6
|
+
//# sourceMappingURL=NestedAppAuthError.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NestedAppAuthError.d.ts","sourceRoot":"","sources":["../../../../src/error/NestedAppAuthError.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AAGvD,qBAAa,kBAAmB,SAAQ,SAAS;gBACjC,SAAS,EAAE,MAAM,EAAE,YAAY,CAAC,EAAE,MAAM;WAOtC,sBAAsB,IAAI,kBAAkB;CAG7D"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { Logger } from "@azure/msal-common/browser";
|
|
2
|
+
import { InteractionType } from "../utils/BrowserConstants.js";
|
|
3
|
+
import { EventCallbackFunction, EventError, EventPayload } from "./EventMessage.js";
|
|
4
|
+
import { EventType } from "./EventType.js";
|
|
5
|
+
export declare class EventHandler {
|
|
6
|
+
private eventCallbacks;
|
|
7
|
+
private logger;
|
|
8
|
+
private broadcastChannel?;
|
|
9
|
+
constructor(logger?: Logger);
|
|
10
|
+
/**
|
|
11
|
+
* Adds event callbacks to array
|
|
12
|
+
* @param callback - callback to be invoked when an event is raised
|
|
13
|
+
* @param eventTypes - list of events that this callback will be invoked for, if not provided callback will be invoked for all events
|
|
14
|
+
* @param callbackId - Identifier for the callback, used to locate and remove the callback when no longer required
|
|
15
|
+
*/
|
|
16
|
+
addEventCallback(callback: EventCallbackFunction, eventTypes?: Array<EventType>, callbackId?: string): string | null;
|
|
17
|
+
/**
|
|
18
|
+
* Removes callback with provided id from callback array
|
|
19
|
+
* @param callbackId
|
|
20
|
+
*/
|
|
21
|
+
removeEventCallback(callbackId: string): void;
|
|
22
|
+
/**
|
|
23
|
+
* Emits events by calling callback with event message
|
|
24
|
+
* @param eventType
|
|
25
|
+
* @param interactionType
|
|
26
|
+
* @param payload
|
|
27
|
+
* @param error
|
|
28
|
+
*/
|
|
29
|
+
emitEvent(eventType: EventType, correlationId: string, interactionType?: InteractionType, payload?: EventPayload, error?: EventError): void;
|
|
30
|
+
/**
|
|
31
|
+
* Invoke registered callbacks
|
|
32
|
+
* @param message
|
|
33
|
+
*/
|
|
34
|
+
private invokeCallbacks;
|
|
35
|
+
/**
|
|
36
|
+
* Wrapper around invokeCallbacks to handle broadcast events received from other tabs/instances
|
|
37
|
+
* @param event
|
|
38
|
+
*/
|
|
39
|
+
private invokeCrossTabCallbacks;
|
|
40
|
+
/**
|
|
41
|
+
* Listen for events broadcasted from other tabs/instances
|
|
42
|
+
*/
|
|
43
|
+
subscribeCrossTab(): void;
|
|
44
|
+
/**
|
|
45
|
+
* Unsubscribe from broadcast events
|
|
46
|
+
*/
|
|
47
|
+
unsubscribeCrossTab(): void;
|
|
48
|
+
}
|
|
49
|
+
//# sourceMappingURL=EventHandler.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EventHandler.d.ts","sourceRoot":"","sources":["../../../../src/event/EventHandler.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;AACpD,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAC/D,OAAO,EACH,qBAAqB,EACrB,UAAU,EAEV,YAAY,EACf,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAK3C,qBAAa,YAAY;IAErB,OAAO,CAAC,cAAc,CAGpB;IACF,OAAO,CAAC,MAAM,CAAS;IACvB,OAAO,CAAC,gBAAgB,CAAC,CAAmB;gBAEhC,MAAM,CAAC,EAAE,MAAM;IAW3B;;;;;OAKG;IACH,gBAAgB,CACZ,QAAQ,EAAE,qBAAqB,EAC/B,UAAU,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,EAC7B,UAAU,CAAC,EAAE,MAAM,GACpB,MAAM,GAAG,IAAI;IAsBhB;;;OAGG;IACH,mBAAmB,CAAC,UAAU,EAAE,MAAM,GAAG,IAAI;IAK7C;;;;;;OAMG;IACH,SAAS,CACL,SAAS,EAAE,SAAS,EACpB,aAAa,EAAE,MAAM,EACrB,eAAe,CAAC,EAAE,eAAe,EACjC,OAAO,CAAC,EAAE,YAAY,EACtB,KAAK,CAAC,EAAE,UAAU,GACnB,IAAI;IAqBP;;;OAGG;IACH,OAAO,CAAC,eAAe;IAuBvB;;;OAGG;IACH,OAAO,CAAC,uBAAuB;IAK/B;;OAEG;IACH,iBAAiB,IAAI,IAAI;IAOzB;;OAEG;IACH,mBAAmB,IAAI,IAAI;CAM9B"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { AuthError, AccountInfo } from "@azure/msal-common/browser";
|
|
2
|
+
import { EventType } from "./EventType.js";
|
|
3
|
+
import { InteractionStatus, InteractionType } from "../utils/BrowserConstants.js";
|
|
4
|
+
import { PopupRequest } from "../request/PopupRequest.js";
|
|
5
|
+
import { RedirectRequest } from "../request/RedirectRequest.js";
|
|
6
|
+
import { SilentRequest } from "../request/SilentRequest.js";
|
|
7
|
+
import { SsoSilentRequest } from "../request/SsoSilentRequest.js";
|
|
8
|
+
import { EndSessionRequest } from "../request/EndSessionRequest.js";
|
|
9
|
+
import { AuthenticationResult } from "../response/AuthenticationResult.js";
|
|
10
|
+
export type EventMessage = {
|
|
11
|
+
eventType: EventType;
|
|
12
|
+
interactionType: InteractionType | null;
|
|
13
|
+
payload: EventPayload;
|
|
14
|
+
error: EventError;
|
|
15
|
+
correlationId: string;
|
|
16
|
+
timestamp: number;
|
|
17
|
+
};
|
|
18
|
+
export type PopupEvent = {
|
|
19
|
+
popupWindow: Window;
|
|
20
|
+
};
|
|
21
|
+
/**
|
|
22
|
+
* Payload for the BrokerConnectionEstablished event
|
|
23
|
+
*/
|
|
24
|
+
export type BrokerConnectionEvent = {
|
|
25
|
+
/**
|
|
26
|
+
* The origin of the broker that is connected to the client
|
|
27
|
+
*/
|
|
28
|
+
pairwiseBrokerOrigin: string;
|
|
29
|
+
};
|
|
30
|
+
export type EventPayload = AccountInfo | PopupRequest | RedirectRequest | SilentRequest | SsoSilentRequest | EndSessionRequest | AuthenticationResult | PopupEvent | BrokerConnectionEvent | null;
|
|
31
|
+
export type EventError = AuthError | Error | null;
|
|
32
|
+
export type EventCallbackFunction = (message: EventMessage) => void;
|
|
33
|
+
export declare class EventMessageUtils {
|
|
34
|
+
/**
|
|
35
|
+
* Gets interaction status from event message
|
|
36
|
+
* @param message
|
|
37
|
+
* @param currentStatus
|
|
38
|
+
*/
|
|
39
|
+
static getInteractionStatusFromEvent(message: EventMessage, currentStatus?: InteractionStatus): InteractionStatus | null;
|
|
40
|
+
}
|
|
41
|
+
//# sourceMappingURL=EventMessage.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EventMessage.d.ts","sourceRoot":"","sources":["../../../../src/event/EventMessage.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AACpE,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EACH,iBAAiB,EACjB,eAAe,EAClB,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC1D,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAChE,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAC5D,OAAO,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAClE,OAAO,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAC;AACpE,OAAO,EAAE,oBAAoB,EAAE,MAAM,qCAAqC,CAAC;AAE3E,MAAM,MAAM,YAAY,GAAG;IACvB,SAAS,EAAE,SAAS,CAAC;IACrB,eAAe,EAAE,eAAe,GAAG,IAAI,CAAC;IACxC,OAAO,EAAE,YAAY,CAAC;IACtB,KAAK,EAAE,UAAU,CAAC;IAClB,aAAa,EAAE,MAAM,CAAC;IACtB,SAAS,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,UAAU,GAAG;IACrB,WAAW,EAAE,MAAM,CAAC;CACvB,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,qBAAqB,GAAG;IAChC;;OAEG;IACH,oBAAoB,EAAE,MAAM,CAAC;CAChC,CAAC;AAEF,MAAM,MAAM,YAAY,GAClB,WAAW,GACX,YAAY,GACZ,eAAe,GACf,aAAa,GACb,gBAAgB,GAChB,iBAAiB,GACjB,oBAAoB,GACpB,UAAU,GACV,qBAAqB,GACrB,IAAI,CAAC;AAEX,MAAM,MAAM,UAAU,GAAG,SAAS,GAAG,KAAK,GAAG,IAAI,CAAC;AAElD,MAAM,MAAM,qBAAqB,GAAG,CAAC,OAAO,EAAE,YAAY,KAAK,IAAI,CAAC;AAEpE,qBAAa,iBAAiB;IAC1B;;;;OAIG;IACH,MAAM,CAAC,6BAA6B,CAChC,OAAO,EAAE,YAAY,EACrB,aAAa,CAAC,EAAE,iBAAiB,GAClC,iBAAiB,GAAG,IAAI;CAsD9B"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export declare const EventType: {
|
|
2
|
+
readonly INITIALIZE_START: "msal:initializeStart";
|
|
3
|
+
readonly INITIALIZE_END: "msal:initializeEnd";
|
|
4
|
+
readonly ACTIVE_ACCOUNT_CHANGED: "msal:activeAccountChanged";
|
|
5
|
+
readonly LOGIN_SUCCESS: "msal:loginSuccess";
|
|
6
|
+
readonly ACQUIRE_TOKEN_START: "msal:acquireTokenStart";
|
|
7
|
+
readonly BROKERED_REQUEST_START: "msal:brokeredRequestStart";
|
|
8
|
+
readonly ACQUIRE_TOKEN_SUCCESS: "msal:acquireTokenSuccess";
|
|
9
|
+
readonly BROKERED_REQUEST_SUCCESS: "msal:brokeredRequestSuccess";
|
|
10
|
+
readonly ACQUIRE_TOKEN_FAILURE: "msal:acquireTokenFailure";
|
|
11
|
+
readonly BROKERED_REQUEST_FAILURE: "msal:brokeredRequestFailure";
|
|
12
|
+
readonly ACQUIRE_TOKEN_NETWORK_START: "msal:acquireTokenFromNetworkStart";
|
|
13
|
+
readonly HANDLE_REDIRECT_START: "msal:handleRedirectStart";
|
|
14
|
+
readonly HANDLE_REDIRECT_END: "msal:handleRedirectEnd";
|
|
15
|
+
readonly POPUP_OPENED: "msal:popupOpened";
|
|
16
|
+
readonly LOGOUT_START: "msal:logoutStart";
|
|
17
|
+
readonly LOGOUT_SUCCESS: "msal:logoutSuccess";
|
|
18
|
+
readonly LOGOUT_FAILURE: "msal:logoutFailure";
|
|
19
|
+
readonly LOGOUT_END: "msal:logoutEnd";
|
|
20
|
+
readonly RESTORE_FROM_BFCACHE: "msal:restoreFromBFCache";
|
|
21
|
+
readonly BROKER_CONNECTION_ESTABLISHED: "msal:brokerConnectionEstablished";
|
|
22
|
+
};
|
|
23
|
+
export type EventType = (typeof EventType)[keyof typeof EventType];
|
|
24
|
+
//# sourceMappingURL=EventType.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EventType.d.ts","sourceRoot":"","sources":["../../../../src/event/EventType.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;CAqBZ,CAAC;AACX,MAAM,MAAM,SAAS,GAAG,CAAC,OAAO,SAAS,CAAC,CAAC,MAAM,OAAO,SAAS,CAAC,CAAC"}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @packageDocumentation
|
|
3
|
+
* @module @azure/msal-browser
|
|
4
|
+
*/
|
|
5
|
+
import * as BrowserUtils from "./utils/BrowserUtils.js";
|
|
6
|
+
import { Constants } from "@azure/msal-common/browser";
|
|
7
|
+
export { BrowserUtils };
|
|
8
|
+
export { PublicClientApplication, createNestablePublicClientApplication, createStandardPublicClientApplication, } from "./app/PublicClientApplication.js";
|
|
9
|
+
export { IController } from "./controllers/IController.js";
|
|
10
|
+
export { Configuration, BrowserAuthOptions, CacheOptions, BrowserSystemOptions, BrowserExperimentalOptions, BrowserTelemetryOptions, BrowserConfiguration, DEFAULT_IFRAME_TIMEOUT_MS, } from "./config/Configuration.js";
|
|
11
|
+
export { InteractionType, InteractionStatus, BrowserCacheLocation, WrapperSKU, ApiId, CacheLookupPolicy, } from "./utils/BrowserConstants.js";
|
|
12
|
+
export { BrowserAuthError, BrowserAuthErrorCodes, } from "./error/BrowserAuthError.js";
|
|
13
|
+
export { BrowserConfigurationAuthError, BrowserConfigurationAuthErrorCodes, } from "./error/BrowserConfigurationAuthError.js";
|
|
14
|
+
export { IPublicClientApplication, stubbedPublicClientApplication, } from "./app/IPublicClientApplication.js";
|
|
15
|
+
export { INavigationClient } from "./navigation/INavigationClient.js";
|
|
16
|
+
export { NavigationClient } from "./navigation/NavigationClient.js";
|
|
17
|
+
export { NavigationOptions } from "./navigation/NavigationOptions.js";
|
|
18
|
+
export { PopupRequest } from "./request/PopupRequest.js";
|
|
19
|
+
export { RedirectRequest } from "./request/RedirectRequest.js";
|
|
20
|
+
export { SilentRequest } from "./request/SilentRequest.js";
|
|
21
|
+
export { SsoSilentRequest } from "./request/SsoSilentRequest.js";
|
|
22
|
+
export { EndSessionRequest } from "./request/EndSessionRequest.js";
|
|
23
|
+
export { EndSessionPopupRequest } from "./request/EndSessionPopupRequest.js";
|
|
24
|
+
export { AuthorizationCodeRequest } from "./request/AuthorizationCodeRequest.js";
|
|
25
|
+
export { AuthenticationResult } from "./response/AuthenticationResult.js";
|
|
26
|
+
export { ClearCacheRequest } from "./request/ClearCacheRequest.js";
|
|
27
|
+
export { InitializeApplicationRequest } from "./request/InitializeApplicationRequest.js";
|
|
28
|
+
export { HandleRedirectPromiseOptions } from "./request/HandleRedirectPromiseOptions.js";
|
|
29
|
+
export { LoadTokenOptions } from "./cache/TokenCache.js";
|
|
30
|
+
export { loadExternalTokens } from "./cache/TokenCache.js";
|
|
31
|
+
export { MemoryStorage } from "./cache/MemoryStorage.js";
|
|
32
|
+
export { LocalStorage } from "./cache/LocalStorage.js";
|
|
33
|
+
export { SessionStorage } from "./cache/SessionStorage.js";
|
|
34
|
+
export { IWindowStorage } from "./cache/IWindowStorage.js";
|
|
35
|
+
export { EventMessage, EventPayload, EventError, EventCallbackFunction, EventMessageUtils, PopupEvent, BrokerConnectionEvent, } from "./event/EventMessage.js";
|
|
36
|
+
export { EventType } from "./event/EventType.js";
|
|
37
|
+
export { EventHandler } from "./event/EventHandler.js";
|
|
38
|
+
export { SignedHttpRequest, SignedHttpRequestOptions, } from "./crypto/SignedHttpRequest.js";
|
|
39
|
+
export { PopupWindowAttributes, PopupSize, PopupPosition, } from "./request/PopupWindowAttributes.js";
|
|
40
|
+
export { BrowserPerformanceClient } from "./telemetry/BrowserPerformanceClient.js";
|
|
41
|
+
export { BrowserPerformanceMeasurement } from "./telemetry/BrowserPerformanceMeasurement.js";
|
|
42
|
+
export declare const AuthenticationScheme: {
|
|
43
|
+
readonly BEARER: "Bearer";
|
|
44
|
+
readonly POP: "pop";
|
|
45
|
+
readonly SSH: "ssh-cert";
|
|
46
|
+
};
|
|
47
|
+
export type AuthenticationScheme = Constants.AuthenticationScheme;
|
|
48
|
+
export declare const ResponseMode: {
|
|
49
|
+
readonly QUERY: "query";
|
|
50
|
+
readonly FRAGMENT: "fragment";
|
|
51
|
+
readonly FORM_POST: "form_post";
|
|
52
|
+
};
|
|
53
|
+
export type ResponseMode = Constants.ResponseMode;
|
|
54
|
+
export declare const PromptValue: {
|
|
55
|
+
LOGIN: string;
|
|
56
|
+
SELECT_ACCOUNT: string;
|
|
57
|
+
CONSENT: string;
|
|
58
|
+
NONE: string;
|
|
59
|
+
CREATE: string;
|
|
60
|
+
NO_SESSION: string;
|
|
61
|
+
};
|
|
62
|
+
export declare const JsonWebTokenTypes: {
|
|
63
|
+
readonly Jwt: "JWT";
|
|
64
|
+
readonly Jwk: "JWK";
|
|
65
|
+
readonly Pop: "pop";
|
|
66
|
+
};
|
|
67
|
+
export type JsonWebTokenTypes = Constants.JsonWebTokenTypes;
|
|
68
|
+
export declare const OIDC_DEFAULT_SCOPES: string[];
|
|
69
|
+
export { AccountInfo, IdTokenClaims, AuthError, AuthErrorCodes, ClientAuthError, ClientAuthErrorCodes, ClientConfigurationError, ClientConfigurationErrorCodes, InteractionRequiredAuthError, InteractionRequiredAuthErrorCodes, ServerError, INetworkModule, NetworkResponse, NetworkRequestOptions, ILoggerCallback, Logger, LogLevel, ProtocolMode, ExternalTokenResponse, AzureCloudInstance, AzureCloudOptions, AuthenticationHeaderParser, PerformanceCallbackFunction, PerformanceEvent, InProgressPerformanceEvent, TenantProfile, IPerformanceClient, StubPerformanceClient, enforceResourceParameter, } from "@azure/msal-common/browser";
|
|
70
|
+
export * as BrowserRootPerformanceEvents from "./telemetry/BrowserRootPerformanceEvents.js";
|
|
71
|
+
export { version } from "./packageMetadata.js";
|
|
72
|
+
export { isPlatformBrokerAvailable } from "./broker/nativeBroker/PlatformAuthProvider.js";
|
|
73
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAKA;;;GAGG;AAEH,OAAO,KAAK,YAAY,MAAM,yBAAyB,CAAC;AACxD,OAAO,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AACvD,OAAO,EAAE,YAAY,EAAE,CAAC;AAExB,OAAO,EACH,uBAAuB,EACvB,qCAAqC,EACrC,qCAAqC,GACxC,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAC3D,OAAO,EACH,aAAa,EACb,kBAAkB,EAClB,YAAY,EACZ,oBAAoB,EACpB,0BAA0B,EAC1B,uBAAuB,EACvB,oBAAoB,EACpB,yBAAyB,GAC5B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACH,eAAe,EACf,iBAAiB,EACjB,oBAAoB,EACpB,UAAU,EACV,KAAK,EACL,iBAAiB,GACpB,MAAM,6BAA6B,CAAC;AAGrC,OAAO,EACH,gBAAgB,EAChB,qBAAqB,GACxB,MAAM,6BAA6B,CAAC;AACrC,OAAO,EACH,6BAA6B,EAC7B,kCAAkC,GACrC,MAAM,0CAA0C,CAAC;AAGlD,OAAO,EACH,wBAAwB,EACxB,8BAA8B,GACjC,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AACtE,OA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|
|
1
|
+
import { ICrypto, INetworkModule, Logger, AccountInfo, ServerTelemetryManager, Authority, IPerformanceClient, AzureCloudOptions, StringDict } from "@azure/msal-common/browser";
|
|
2
|
+
import { BrowserConfiguration } from "../config/Configuration.js";
|
|
3
|
+
import { BrowserCacheManager } from "../cache/BrowserCacheManager.js";
|
|
4
|
+
import { EventHandler } from "../event/EventHandler.js";
|
|
5
|
+
import { EndSessionRequest } from "../request/EndSessionRequest.js";
|
|
6
|
+
import { RedirectRequest } from "../request/RedirectRequest.js";
|
|
7
|
+
import { PopupRequest } from "../request/PopupRequest.js";
|
|
8
|
+
import { SsoSilentRequest } from "../request/SsoSilentRequest.js";
|
|
9
|
+
import { INavigationClient } from "../navigation/INavigationClient.js";
|
|
10
|
+
import { AuthenticationResult } from "../response/AuthenticationResult.js";
|
|
11
|
+
import { ClearCacheRequest } from "../request/ClearCacheRequest.js";
|
|
12
|
+
import { IPlatformAuthHandler } from "../broker/nativeBroker/IPlatformAuthHandler.js";
|
|
13
|
+
export declare abstract class BaseInteractionClient {
|
|
14
|
+
protected config: BrowserConfiguration;
|
|
15
|
+
protected browserStorage: BrowserCacheManager;
|
|
16
|
+
protected browserCrypto: ICrypto;
|
|
17
|
+
protected networkClient: INetworkModule;
|
|
18
|
+
protected logger: Logger;
|
|
19
|
+
protected eventHandler: EventHandler;
|
|
20
|
+
protected navigationClient: INavigationClient;
|
|
21
|
+
protected platformAuthProvider: IPlatformAuthHandler | undefined;
|
|
22
|
+
protected correlationId: string;
|
|
23
|
+
protected performanceClient: IPerformanceClient;
|
|
24
|
+
constructor(config: BrowserConfiguration, storageImpl: BrowserCacheManager, browserCrypto: ICrypto, logger: Logger, eventHandler: EventHandler, navigationClient: INavigationClient, performanceClient: IPerformanceClient, correlationId: string, platformAuthProvider?: IPlatformAuthHandler);
|
|
25
|
+
abstract acquireToken(request: RedirectRequest | PopupRequest | SsoSilentRequest): Promise<AuthenticationResult | void>;
|
|
26
|
+
abstract logout(request: EndSessionRequest | ClearCacheRequest | undefined): Promise<void>;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Use to get the redirect URI configured in MSAL or construct one from the current page.
|
|
30
|
+
* @param requestRedirectUri - Redirect URI from the request or undefined if not configured
|
|
31
|
+
* @param clientConfigRedirectUri - Redirect URI from the client configuration or undefined if not configured
|
|
32
|
+
* @param logger - Logger instance from the calling client
|
|
33
|
+
* @param correlationId
|
|
34
|
+
* @returns Absolute redirect URL constructed from the provided URI, config, or current page
|
|
35
|
+
*/
|
|
36
|
+
export declare function getRedirectUri(requestRedirectUri: string | undefined, clientConfigRedirectUri: string | undefined, logger: Logger, correlationId: string): string;
|
|
37
|
+
/**
|
|
38
|
+
* Initializes and returns a ServerTelemetryManager with the provided telemetry configuration.
|
|
39
|
+
* @param apiId - The API identifier for telemetry tracking
|
|
40
|
+
* @param clientId - The client application identifier
|
|
41
|
+
* @param correlationId - Unique identifier for correlating requests
|
|
42
|
+
* @param browserStorage - Browser cache manager instance for storing telemetry data
|
|
43
|
+
* @param logger - Optional logger instance for verbose logging
|
|
44
|
+
* @param forceRefresh - Optional flag to force refresh of telemetry data
|
|
45
|
+
* @returns Configured ServerTelemetryManager instance
|
|
46
|
+
*/
|
|
47
|
+
export declare function initializeServerTelemetryManager(apiId: number, clientId: string, correlationId: string, browserStorage: BrowserCacheManager, logger: Logger, forceRefresh?: boolean): ServerTelemetryManager;
|
|
48
|
+
/**
|
|
49
|
+
* Used to get a discovered version of the default authority.
|
|
50
|
+
* @param params - Configuration object containing authority and cloud options
|
|
51
|
+
* @param params.requestAuthority - Optional specific authority URL to use
|
|
52
|
+
* @param params.requestAzureCloudOptions - Optional Azure cloud configuration options
|
|
53
|
+
* @param params.requestExtraQueryParameters - Optional additional query parameters
|
|
54
|
+
* @param params.account - Optional account info for instance-aware scenarios
|
|
55
|
+
* @param config - Browser configuration containing auth settings
|
|
56
|
+
* @param correlationId - Unique identifier for correlating requests
|
|
57
|
+
* @param performanceClient - Performance monitoring client instance
|
|
58
|
+
* @param browserStorage - Browser cache manager instance
|
|
59
|
+
* @param logger - Logger instance for tracking operations
|
|
60
|
+
* @returns Promise that resolves to a discovered Authority instance
|
|
61
|
+
*/
|
|
62
|
+
export declare function getDiscoveredAuthority(config: BrowserConfiguration, correlationId: string, performanceClient: IPerformanceClient, browserStorage: BrowserCacheManager, logger: Logger, requestAuthority?: string, requestAzureCloudOptions?: AzureCloudOptions, requestExtraQueryParameters?: StringDict, account?: AccountInfo): Promise<Authority>;
|
|
63
|
+
/**
|
|
64
|
+
* Clears cache and account information during logout.
|
|
65
|
+
*
|
|
66
|
+
* If an account is provided, removes the account from cache and, if it is the active account, sets the active account to null.
|
|
67
|
+
* If no account is provided, clears all accounts and tokens from cache.
|
|
68
|
+
*
|
|
69
|
+
* @param browserStorage - The browser cache manager instance used to manage cache.
|
|
70
|
+
* @param browserCrypto - The crypto interface for cache operations.
|
|
71
|
+
* @param logger - Logger instance for logging operations.
|
|
72
|
+
* @param correlationId - Correlation ID for the logout operation.
|
|
73
|
+
* @param account - (Optional) The account to clear from cache. If not provided, all accounts are cleared.
|
|
74
|
+
* @returns A promise that resolves when the cache has been cleared.
|
|
75
|
+
*/
|
|
76
|
+
export declare function clearCacheOnLogout(browserStorage: BrowserCacheManager, browserCrypto: ICrypto, logger: Logger, correlationId: string, account?: AccountInfo | null): Promise<void>;
|
|
77
|
+
//# sourceMappingURL=BaseInteractionClient.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BaseInteractionClient.d.ts","sourceRoot":"","sources":["../../../../src/interaction_client/BaseInteractionClient.ts"],"names":[],"mappings":"AAKA,OAAO,EACH,OAAO,EACP,cAAc,EACd,MAAM,EACN,WAAW,EAEX,sBAAsB,EAItB,SAAS,EAGT,kBAAkB,EAClB,iBAAiB,EAEjB,UAAU,EACb,MAAM,4BAA4B,CAAC;AAEpC,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAClE,OAAO,EA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@@
|
|
|
1
|
+
import { AuthorizationCodeClient, ClientConfiguration, IPerformanceClient } from "@azure/msal-common/browser";
|
|
2
|
+
export declare class HybridSpaAuthorizationCodeClient extends AuthorizationCodeClient {
|
|
3
|
+
constructor(config: ClientConfiguration, performanceClient: IPerformanceClient);
|
|
4
|
+
}
|
|
5
|
+
//# sourceMappingURL=HybridSpaAuthorizationCodeClient.d.ts.map
|
package/lib/redirect-bridge/types/interaction_client/HybridSpaAuthorizationCodeClient.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HybridSpaAuthorizationCodeClient.d.ts","sourceRoot":"","sources":["../../../../src/interaction_client/HybridSpaAuthorizationCodeClient.ts"],"names":[],"mappings":"AAKA,OAAO,EACH,uBAAuB,EACvB,mBAAmB,EACnB,kBAAkB,EACrB,MAAM,4BAA4B,CAAC;AAEpC,qBAAa,gCAAiC,SAAQ,uBAAuB;gBAErE,MAAM,EAAE,mBAAmB,EAC3B,iBAAiB,EAAE,kBAAkB;CAK5C"}
|
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
import { AccountEntity, ICrypto, IPerformanceClient, InProgressPerformanceEvent, Logger, ScopeSet, TokenClaims } from "@azure/msal-common/browser";
|
|
2
|
+
import { IPlatformAuthHandler } from "../broker/nativeBroker/IPlatformAuthHandler.js";
|
|
3
|
+
import { PlatformAuthRequest } from "../broker/nativeBroker/PlatformAuthRequest.js";
|
|
4
|
+
import { MATS, PlatformAuthResponse } from "../broker/nativeBroker/PlatformAuthResponse.js";
|
|
5
|
+
import { BrowserCacheManager } from "../cache/BrowserCacheManager.js";
|
|
6
|
+
import { BrowserConfiguration } from "../config/Configuration.js";
|
|
7
|
+
import { EventHandler } from "../event/EventHandler.js";
|
|
8
|
+
import { INavigationClient } from "../navigation/INavigationClient.js";
|
|
9
|
+
import { HandleRedirectPromiseOptions } from "../request/HandleRedirectPromiseOptions.js";
|
|
10
|
+
import { PopupRequest } from "../request/PopupRequest.js";
|
|
11
|
+
import { RedirectRequest } from "../request/RedirectRequest.js";
|
|
12
|
+
import { SilentRequest } from "../request/SilentRequest.js";
|
|
13
|
+
import { SsoSilentRequest } from "../request/SsoSilentRequest.js";
|
|
14
|
+
import { AuthenticationResult } from "../response/AuthenticationResult.js";
|
|
15
|
+
import { ApiId, CacheLookupPolicy } from "../utils/BrowserConstants.js";
|
|
16
|
+
import { BaseInteractionClient } from "./BaseInteractionClient.js";
|
|
17
|
+
import { SilentCacheClient } from "./SilentCacheClient.js";
|
|
18
|
+
export declare class PlatformAuthInteractionClient extends BaseInteractionClient {
|
|
19
|
+
protected apiId: ApiId;
|
|
20
|
+
protected accountId: string;
|
|
21
|
+
protected platformAuthProvider: IPlatformAuthHandler;
|
|
22
|
+
protected silentCacheClient: SilentCacheClient;
|
|
23
|
+
protected nativeStorageManager: BrowserCacheManager;
|
|
24
|
+
protected skus: string;
|
|
25
|
+
constructor(config: BrowserConfiguration, browserStorage: BrowserCacheManager, browserCrypto: ICrypto, logger: Logger, eventHandler: EventHandler, navigationClient: INavigationClient, apiId: ApiId, performanceClient: IPerformanceClient, provider: IPlatformAuthHandler, accountId: string, nativeStorageImpl: BrowserCacheManager, correlationId: string);
|
|
26
|
+
/**
|
|
27
|
+
* Adds SKUs to request extra query parameters
|
|
28
|
+
* @param request {PlatformAuthRequest}
|
|
29
|
+
* @private
|
|
30
|
+
*/
|
|
31
|
+
private addRequestSKUs;
|
|
32
|
+
/**
|
|
33
|
+
* Acquire token from native platform via browser extension
|
|
34
|
+
* @param request
|
|
35
|
+
*/
|
|
36
|
+
acquireToken(request: PopupRequest | SilentRequest | SsoSilentRequest, cacheLookupPolicy?: CacheLookupPolicy): Promise<AuthenticationResult>;
|
|
37
|
+
/**
|
|
38
|
+
* Creates silent flow request
|
|
39
|
+
* @param request
|
|
40
|
+
* @param cachedAccount
|
|
41
|
+
* @returns CommonSilentFlowRequest
|
|
42
|
+
*/
|
|
43
|
+
private createSilentCacheRequest;
|
|
44
|
+
/**
|
|
45
|
+
* Fetches the tokens from the cache if un-expired
|
|
46
|
+
* @param nativeAccountId
|
|
47
|
+
* @param request
|
|
48
|
+
* @returns authenticationResult
|
|
49
|
+
*/
|
|
50
|
+
protected acquireTokensFromCache(nativeAccountId: string, request: PlatformAuthRequest): Promise<AuthenticationResult>;
|
|
51
|
+
/**
|
|
52
|
+
* Acquires a token from native platform then redirects to the redirectUri instead of returning the response
|
|
53
|
+
* @param {RedirectRequest} request
|
|
54
|
+
* @param {InProgressPerformanceEvent} rootMeasurement
|
|
55
|
+
* @param {HandleRedirectPromiseOptions} options
|
|
56
|
+
*/
|
|
57
|
+
acquireTokenRedirect(request: RedirectRequest, rootMeasurement: InProgressPerformanceEvent, options?: HandleRedirectPromiseOptions): Promise<void>;
|
|
58
|
+
/**
|
|
59
|
+
* If the previous page called native platform for a token using redirect APIs, send the same request again and return the response
|
|
60
|
+
* @param performanceClient {IPerformanceClient?}
|
|
61
|
+
* @param correlationId {string?} correlation identifier
|
|
62
|
+
*/
|
|
63
|
+
handleRedirectPromise(): Promise<AuthenticationResult | null>;
|
|
64
|
+
/**
|
|
65
|
+
* Logout from native platform via browser extension
|
|
66
|
+
* @param request
|
|
67
|
+
*/
|
|
68
|
+
logout(): Promise<void>;
|
|
69
|
+
/**
|
|
70
|
+
* Transform response from native platform into AuthenticationResult object which will be returned to the end user
|
|
71
|
+
* @param response
|
|
72
|
+
* @param request
|
|
73
|
+
* @param reqTimestamp
|
|
74
|
+
*/
|
|
75
|
+
protected handleNativeResponse(response: PlatformAuthResponse, request: PlatformAuthRequest, reqTimestamp: number): Promise<AuthenticationResult>;
|
|
76
|
+
/**
|
|
77
|
+
* creates an homeAccountIdentifier for the account
|
|
78
|
+
* @param response
|
|
79
|
+
* @param idTokenObj
|
|
80
|
+
* @returns
|
|
81
|
+
*/
|
|
82
|
+
protected createHomeAccountIdentifier(response: PlatformAuthResponse, idTokenClaims: TokenClaims): string;
|
|
83
|
+
/**
|
|
84
|
+
* Helper to generate scopes
|
|
85
|
+
* @param response
|
|
86
|
+
* @param request
|
|
87
|
+
* @returns
|
|
88
|
+
*/
|
|
89
|
+
generateScopes(requestScopes: string, responseScopes?: string): ScopeSet;
|
|
90
|
+
/**
|
|
91
|
+
* If PoP token is requesred, records the PoP token if returned from the WAM, else generates one in the browser
|
|
92
|
+
* @param request
|
|
93
|
+
* @param response
|
|
94
|
+
*/
|
|
95
|
+
generatePopAccessToken(response: PlatformAuthResponse, request: PlatformAuthRequest): Promise<string>;
|
|
96
|
+
/**
|
|
97
|
+
* Generates authentication result
|
|
98
|
+
* @param response
|
|
99
|
+
* @param request
|
|
100
|
+
* @param idTokenObj
|
|
101
|
+
* @param accountEntity
|
|
102
|
+
* @param authority
|
|
103
|
+
* @param reqTimestamp
|
|
104
|
+
* @returns
|
|
105
|
+
*/
|
|
106
|
+
protected generateAuthenticationResult(response: PlatformAuthResponse, request: PlatformAuthRequest, idTokenClaims: TokenClaims, accountEntity: AccountEntity, authority: string, reqTimestamp: number): Promise<AuthenticationResult>;
|
|
107
|
+
/**
|
|
108
|
+
* cache the account entity in browser storage
|
|
109
|
+
* @param accountEntity
|
|
110
|
+
*/
|
|
111
|
+
cacheAccount(accountEntity: AccountEntity, kmsi: boolean): Promise<void>;
|
|
112
|
+
/**
|
|
113
|
+
* Stores the access_token and id_token in inmemory storage
|
|
114
|
+
* @param response
|
|
115
|
+
* @param request
|
|
116
|
+
* @param homeAccountIdentifier
|
|
117
|
+
* @param idTokenObj
|
|
118
|
+
* @param responseAccessToken
|
|
119
|
+
* @param tenantId
|
|
120
|
+
* @param reqTimestamp
|
|
121
|
+
*/
|
|
122
|
+
cacheNativeTokens(response: PlatformAuthResponse, request: PlatformAuthRequest, homeAccountIdentifier: string, idTokenClaims: TokenClaims, tenantId: string, reqTimestamp: number, environment: string): Promise<void>;
|
|
123
|
+
getExpiresInValue(tokenType: string, expiresIn: string | number | undefined): number;
|
|
124
|
+
protected addTelemetryFromNativeResponse(matsResponse?: string): MATS | null;
|
|
125
|
+
/**
|
|
126
|
+
* Gets MATS telemetry from native response
|
|
127
|
+
* @param response
|
|
128
|
+
* @returns
|
|
129
|
+
*/
|
|
130
|
+
private getMATSFromResponse;
|
|
131
|
+
/**
|
|
132
|
+
* Returns whether or not response came from native cache
|
|
133
|
+
* @param response
|
|
134
|
+
* @returns
|
|
135
|
+
*/
|
|
136
|
+
protected isResponseFromCache(mats: MATS): boolean;
|
|
137
|
+
/**
|
|
138
|
+
* Translates developer provided request object into NativeRequest object
|
|
139
|
+
* @param request
|
|
140
|
+
*/
|
|
141
|
+
protected initializePlatformRequest(request: PopupRequest | SsoSilentRequest): Promise<PlatformAuthRequest>;
|
|
142
|
+
private getCanonicalAuthority;
|
|
143
|
+
private getPrompt;
|
|
144
|
+
/**
|
|
145
|
+
* Handles extra broker request parameters
|
|
146
|
+
* @param request {PlatformAuthRequest}
|
|
147
|
+
* @private
|
|
148
|
+
*/
|
|
149
|
+
private handleExtraBrokerParams;
|
|
150
|
+
}
|
|
151
|
+
//# sourceMappingURL=PlatformAuthInteractionClient.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PlatformAuthInteractionClient.d.ts","sourceRoot":"","sources":["../../../../src/interaction_client/PlatformAuthInteractionClient.ts"],"names":[],"mappings":"AAKA,OAAO,EAGH,aAAa,EAUb,OAAO,EACP,kBAAkB,EAElB,0BAA0B,EAC1B,MAAM,EAIN,QAAQ,EAIR,WAAW,EAMd,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,oBAAoB,EAAE,MAAM,gDAAgD,CAAC;AACtF,OAAO,EAAE,mBAAmB,EAAE,MAAM,+CAA+C,CAAC;AACpF,OAAO,EACH,IAAI,EACJ,oBAAoB,EACvB,MAAM,gDAAgD,CAAC;AACxD,OAAO,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AACtE,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAYlE,OAAO,EAAE,YAAY,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