@azure/msal-browser 4.24.0 → 5.0.0-alpha.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.d.ts +2 -9
- package/dist/app/IPublicClientApplication.d.ts.map +1 -1
- package/dist/app/IPublicClientApplication.mjs +1 -22
- package/dist/app/IPublicClientApplication.mjs.map +1 -1
- package/dist/app/PublicClientApplication.d.ts +3 -49
- package/dist/app/PublicClientApplication.d.ts.map +1 -1
- package/dist/app/PublicClientApplication.mjs +8 -65
- package/dist/app/PublicClientApplication.mjs.map +1 -1
- package/dist/app/PublicClientNext.d.ts +2 -49
- package/dist/app/PublicClientNext.d.ts.map +1 -1
- package/dist/app/PublicClientNext.mjs +3 -63
- package/dist/app/PublicClientNext.mjs.map +1 -1
- package/dist/broker/nativeBroker/NativeStatusCodes.mjs +3 -2
- package/dist/broker/nativeBroker/NativeStatusCodes.mjs.map +1 -1
- package/dist/broker/nativeBroker/PlatformAuthDOMHandler.d.ts.map +1 -1
- package/dist/broker/nativeBroker/PlatformAuthDOMHandler.mjs +13 -15
- package/dist/broker/nativeBroker/PlatformAuthDOMHandler.mjs.map +1 -1
- package/dist/broker/nativeBroker/PlatformAuthExtensionHandler.d.ts +1 -1
- package/dist/broker/nativeBroker/PlatformAuthExtensionHandler.d.ts.map +1 -1
- package/dist/broker/nativeBroker/PlatformAuthExtensionHandler.mjs +27 -29
- package/dist/broker/nativeBroker/PlatformAuthExtensionHandler.mjs.map +1 -1
- package/dist/broker/nativeBroker/PlatformAuthProvider.d.ts +4 -2
- package/dist/broker/nativeBroker/PlatformAuthProvider.d.ts.map +1 -1
- package/dist/broker/nativeBroker/PlatformAuthProvider.mjs +19 -18
- package/dist/broker/nativeBroker/PlatformAuthProvider.mjs.map +1 -1
- package/dist/cache/AccountManager.d.ts.map +1 -1
- package/dist/cache/AccountManager.mjs +25 -20
- package/dist/cache/AccountManager.mjs.map +1 -1
- package/dist/cache/AsyncMemoryStorage.d.ts +14 -7
- package/dist/cache/AsyncMemoryStorage.d.ts.map +1 -1
- package/dist/cache/AsyncMemoryStorage.mjs +30 -23
- package/dist/cache/AsyncMemoryStorage.mjs.map +1 -1
- package/dist/cache/BrowserCacheManager.d.ts +22 -25
- package/dist/cache/BrowserCacheManager.d.ts.map +1 -1
- package/dist/cache/BrowserCacheManager.mjs +108 -169
- package/dist/cache/BrowserCacheManager.mjs.map +1 -1
- package/dist/cache/CacheHelpers.mjs +1 -1
- package/dist/cache/CacheHelpers.mjs.map +1 -1
- package/dist/cache/CacheKeys.mjs +1 -1
- package/dist/cache/CacheKeys.mjs.map +1 -1
- package/dist/cache/CookieStorage.mjs +1 -1
- package/dist/cache/CookieStorage.mjs.map +1 -1
- package/dist/cache/DatabaseStorage.mjs +1 -1
- package/dist/cache/DatabaseStorage.mjs.map +1 -1
- package/dist/cache/EncryptedData.mjs +1 -1
- package/dist/cache/IAsyncStorage.d.ts +10 -5
- package/dist/cache/IAsyncStorage.d.ts.map +1 -1
- package/dist/cache/LocalStorage.d.ts.map +1 -1
- package/dist/cache/LocalStorage.mjs +23 -19
- package/dist/cache/LocalStorage.mjs.map +1 -1
- package/dist/cache/MemoryStorage.mjs +1 -1
- package/dist/cache/MemoryStorage.mjs.map +1 -1
- package/dist/cache/SessionStorage.mjs +1 -1
- package/dist/cache/SessionStorage.mjs.map +1 -1
- package/dist/cache/TokenCache.d.ts +8 -68
- package/dist/cache/TokenCache.d.ts.map +1 -1
- package/dist/cache/TokenCache.mjs +178 -186
- package/dist/cache/TokenCache.mjs.map +1 -1
- package/dist/config/Configuration.d.ts +6 -55
- package/dist/config/Configuration.d.ts.map +1 -1
- package/dist/config/Configuration.mjs +16 -30
- package/dist/config/Configuration.mjs.map +1 -1
- package/dist/controllers/ControllerFactory.d.ts +1 -1
- package/dist/controllers/ControllerFactory.d.ts.map +1 -1
- package/dist/controllers/ControllerFactory.mjs +13 -7
- package/dist/controllers/ControllerFactory.mjs.map +1 -1
- package/dist/controllers/IController.d.ts +5 -6
- package/dist/controllers/IController.d.ts.map +1 -1
- package/dist/controllers/NestedAppAuthController.d.ts +4 -9
- package/dist/controllers/NestedAppAuthController.d.ts.map +1 -1
- package/dist/controllers/NestedAppAuthController.mjs +48 -64
- package/dist/controllers/NestedAppAuthController.mjs.map +1 -1
- package/dist/controllers/StandardController.d.ts +9 -30
- package/dist/controllers/StandardController.d.ts.map +1 -1
- package/dist/controllers/StandardController.mjs +202 -302
- package/dist/controllers/StandardController.mjs.map +1 -1
- package/dist/controllers/UnknownOperatingContextController.d.ts +4 -8
- package/dist/controllers/UnknownOperatingContextController.d.ts.map +1 -1
- package/dist/controllers/UnknownOperatingContextController.mjs +3 -16
- package/dist/controllers/UnknownOperatingContextController.mjs.map +1 -1
- package/dist/crypto/BrowserCrypto.d.ts +1 -2
- package/dist/crypto/BrowserCrypto.d.ts.map +1 -1
- package/dist/crypto/BrowserCrypto.mjs +2 -4
- package/dist/crypto/BrowserCrypto.mjs.map +1 -1
- package/dist/crypto/CryptoOps.d.ts +4 -2
- package/dist/crypto/CryptoOps.d.ts.map +1 -1
- package/dist/crypto/CryptoOps.mjs +17 -14
- package/dist/crypto/CryptoOps.mjs.map +1 -1
- package/dist/crypto/PkceGenerator.d.ts.map +1 -1
- package/dist/crypto/PkceGenerator.mjs +7 -8
- package/dist/crypto/PkceGenerator.mjs.map +1 -1
- package/dist/crypto/SignedHttpRequest.d.ts +2 -1
- package/dist/crypto/SignedHttpRequest.d.ts.map +1 -1
- package/dist/crypto/SignedHttpRequest.mjs +6 -18
- package/dist/crypto/SignedHttpRequest.mjs.map +1 -1
- package/dist/custom-auth-path/app/IPublicClientApplication.d.ts +2 -9
- package/dist/custom-auth-path/app/IPublicClientApplication.d.ts.map +1 -1
- package/dist/custom-auth-path/app/PublicClientApplication.d.ts +3 -49
- package/dist/custom-auth-path/app/PublicClientApplication.d.ts.map +1 -1
- package/dist/custom-auth-path/app/PublicClientApplication.mjs +4 -63
- package/dist/custom-auth-path/app/PublicClientApplication.mjs.map +1 -1
- package/dist/custom-auth-path/app/PublicClientNext.d.ts +2 -49
- package/dist/custom-auth-path/app/PublicClientNext.d.ts.map +1 -1
- package/dist/custom-auth-path/broker/nativeBroker/NativeStatusCodes.mjs +3 -2
- package/dist/custom-auth-path/broker/nativeBroker/NativeStatusCodes.mjs.map +1 -1
- package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthDOMHandler.d.ts.map +1 -1
- package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthDOMHandler.mjs +13 -15
- package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthDOMHandler.mjs.map +1 -1
- package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthExtensionHandler.d.ts +1 -1
- package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthExtensionHandler.d.ts.map +1 -1
- package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthExtensionHandler.mjs +27 -29
- package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthExtensionHandler.mjs.map +1 -1
- package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthProvider.d.ts +4 -2
- package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthProvider.d.ts.map +1 -1
- package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthProvider.mjs +14 -14
- package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthProvider.mjs.map +1 -1
- package/dist/custom-auth-path/cache/AccountManager.d.ts.map +1 -1
- package/dist/custom-auth-path/cache/AccountManager.mjs +25 -20
- package/dist/custom-auth-path/cache/AccountManager.mjs.map +1 -1
- package/dist/custom-auth-path/cache/AsyncMemoryStorage.d.ts +14 -7
- package/dist/custom-auth-path/cache/AsyncMemoryStorage.d.ts.map +1 -1
- package/dist/custom-auth-path/cache/AsyncMemoryStorage.mjs +30 -23
- package/dist/custom-auth-path/cache/AsyncMemoryStorage.mjs.map +1 -1
- package/dist/custom-auth-path/cache/BrowserCacheManager.d.ts +22 -25
- package/dist/custom-auth-path/cache/BrowserCacheManager.d.ts.map +1 -1
- package/dist/custom-auth-path/cache/BrowserCacheManager.mjs +108 -169
- 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/CacheHelpers.mjs.map +1 -1
- package/dist/custom-auth-path/cache/CacheKeys.mjs +1 -1
- package/dist/custom-auth-path/cache/CacheKeys.mjs.map +1 -1
- package/dist/custom-auth-path/cache/CookieStorage.mjs +1 -1
- 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/DatabaseStorage.mjs.map +1 -1
- package/dist/custom-auth-path/cache/EncryptedData.mjs +1 -1
- package/dist/custom-auth-path/cache/IAsyncStorage.d.ts +10 -5
- package/dist/custom-auth-path/cache/IAsyncStorage.d.ts.map +1 -1
- package/dist/custom-auth-path/cache/LocalStorage.d.ts.map +1 -1
- package/dist/custom-auth-path/cache/LocalStorage.mjs +23 -19
- package/dist/custom-auth-path/cache/LocalStorage.mjs.map +1 -1
- package/dist/custom-auth-path/cache/MemoryStorage.mjs +1 -1
- package/dist/custom-auth-path/cache/MemoryStorage.mjs.map +1 -1
- package/dist/custom-auth-path/cache/SessionStorage.mjs +1 -1
- package/dist/custom-auth-path/cache/SessionStorage.mjs.map +1 -1
- package/dist/custom-auth-path/cache/TokenCache.d.ts +8 -68
- package/dist/custom-auth-path/cache/TokenCache.d.ts.map +1 -1
- package/dist/custom-auth-path/config/Configuration.d.ts +6 -55
- package/dist/custom-auth-path/config/Configuration.d.ts.map +1 -1
- package/dist/custom-auth-path/config/Configuration.mjs +16 -30
- package/dist/custom-auth-path/config/Configuration.mjs.map +1 -1
- package/dist/custom-auth-path/controllers/ControllerFactory.d.ts +1 -1
- package/dist/custom-auth-path/controllers/ControllerFactory.d.ts.map +1 -1
- package/dist/custom-auth-path/controllers/ControllerFactory.mjs +5 -3
- package/dist/custom-auth-path/controllers/ControllerFactory.mjs.map +1 -1
- package/dist/custom-auth-path/controllers/IController.d.ts +5 -6
- package/dist/custom-auth-path/controllers/IController.d.ts.map +1 -1
- package/dist/custom-auth-path/controllers/NestedAppAuthController.d.ts +4 -9
- package/dist/custom-auth-path/controllers/NestedAppAuthController.d.ts.map +1 -1
- package/dist/custom-auth-path/controllers/StandardController.d.ts +9 -30
- package/dist/custom-auth-path/controllers/StandardController.d.ts.map +1 -1
- package/dist/custom-auth-path/controllers/StandardController.mjs +202 -302
- package/dist/custom-auth-path/controllers/StandardController.mjs.map +1 -1
- package/dist/custom-auth-path/controllers/UnknownOperatingContextController.d.ts +4 -8
- package/dist/custom-auth-path/controllers/UnknownOperatingContextController.d.ts.map +1 -1
- package/dist/custom-auth-path/crypto/BrowserCrypto.d.ts +1 -2
- package/dist/custom-auth-path/crypto/BrowserCrypto.d.ts.map +1 -1
- package/dist/custom-auth-path/crypto/BrowserCrypto.mjs +2 -4
- package/dist/custom-auth-path/crypto/BrowserCrypto.mjs.map +1 -1
- package/dist/custom-auth-path/crypto/CryptoOps.d.ts +4 -2
- package/dist/custom-auth-path/crypto/CryptoOps.d.ts.map +1 -1
- package/dist/custom-auth-path/crypto/CryptoOps.mjs +17 -14
- package/dist/custom-auth-path/crypto/CryptoOps.mjs.map +1 -1
- package/dist/custom-auth-path/crypto/PkceGenerator.d.ts.map +1 -1
- package/dist/custom-auth-path/crypto/PkceGenerator.mjs +7 -8
- package/dist/custom-auth-path/crypto/PkceGenerator.mjs.map +1 -1
- package/dist/custom-auth-path/crypto/SignedHttpRequest.d.ts +2 -1
- package/dist/custom-auth-path/crypto/SignedHttpRequest.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/CustomAuthConstants.d.ts +2 -3
- package/dist/custom-auth-path/custom_auth/CustomAuthConstants.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/CustomAuthConstants.mjs +1 -2
- package/dist/custom-auth-path/custom_auth/CustomAuthConstants.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/CustomAuthPublicClientApplication.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/CustomAuthPublicClientApplication.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/controller/CustomAuthStandardController.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/controller/CustomAuthStandardController.mjs +9 -9
- package/dist/custom-auth-path/custom_auth/controller/CustomAuthStandardController.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/CustomAuthAuthority.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/CustomAuthAuthority.mjs +6 -7
- package/dist/custom-auth-path/custom_auth/core/CustomAuthAuthority.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts +1 -2
- package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowErrorBase.mjs +3 -11
- package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowErrorBase.mjs.map +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/AuthFlowResultBase.mjs.map +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/AuthFlowState.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.d.ts +0 -5
- package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.mjs +2 -9
- package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.mjs.map +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/AuthMethodRegistrationChallengeMethodResult.mjs.map +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/result/AuthMethodRegistrationSubmitChallengeResult.mjs.map +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/jit/state/AuthMethodRegistrationState.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/CustomAuthApiError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/CustomAuthApiError.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/CustomAuthError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/CustomAuthError.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/HttpError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/HttpError.mjs.map +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/InvalidArgumentError.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/InvalidConfigurationError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/InvalidConfigurationError.mjs.map +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/MethodNotImplementedError.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/MsalCustomAuthError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/MsalCustomAuthError.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/NoCachedAccountFoundError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/NoCachedAccountFoundError.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/ParsedUrlError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/ParsedUrlError.mjs.map +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/UnexpectedError.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/UnsupportedEnvironmentError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/UnsupportedEnvironmentError.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/UserAccountAttributeError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/UserAccountAttributeError.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/UserAlreadySignedInError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/UserAlreadySignedInError.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.mjs +4 -4
- package/dist/custom-auth-path/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.mjs.map +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/CustomAuthInterationClientFactory.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/interaction_client/jit/JitClient.d.ts +8 -2
- package/dist/custom-auth-path/custom_auth/core/interaction_client/jit/JitClient.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/interaction_client/jit/JitClient.mjs +29 -6
- package/dist/custom-auth-path/custom_auth/core/interaction_client/jit/JitClient.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/interaction_client/jit/parameter/JitParams.d.ts +1 -0
- package/dist/custom-auth-path/custom_auth/core/interaction_client/jit/parameter/JitParams.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/interaction_client/jit/result/JitActionResult.d.ts +11 -2
- package/dist/custom-auth-path/custom_auth/core/interaction_client/jit/result/JitActionResult.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/interaction_client/jit/result/JitActionResult.mjs +9 -2
- package/dist/custom-auth-path/custom_auth/core/interaction_client/jit/result/JitActionResult.mjs.map +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/BaseApiClient.mjs.map +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/CustomAuthApiClient.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.d.ts +0 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.mjs +2 -3
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.mjs.map +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/RegisterApiClient.mjs.map +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/ResetPasswordApiClient.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts +2 -7
- 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 +3 -14
- 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/SignupApiClient.mjs.map +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/ApiRequestTypes.d.ts +0 -5
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiResponseTypes.d.ts +1 -5
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiResponseTypes.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.d.ts +0 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.mjs +3 -4
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/http_client/FetchHttpClient.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/http_client/FetchHttpClient.mjs +5 -5
- package/dist/custom-auth-path/custom_auth/core/network_client/http_client/FetchHttpClient.mjs.map +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/network_client/http_client/IHttpClient.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/telemetry/PublicApiId.d.ts +3 -4
- package/dist/custom-auth-path/custom_auth/core/telemetry/PublicApiId.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/telemetry/PublicApiId.mjs +5 -4
- package/dist/custom-auth-path/custom_auth/core/telemetry/PublicApiId.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/utils/ArgumentValidator.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/utils/ArgumentValidator.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/utils/UrlUtils.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/utils/UrlUtils.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/CustomAuthAccountData.mjs +4 -4
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/CustomAuthAccountData.mjs.map +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/error_type/GetAccountError.mjs.map +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/GetAccessTokenResult.mjs.map +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/GetAccountResult.mjs.map +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/result/SignOutResult.mjs.map +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.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.mjs +7 -9
- package/dist/custom-auth-path/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.mjs.map +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/operating_context/CustomAuthOperatingContext.mjs.map +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/error_type/ResetPasswordError.mjs.map +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/ResetPasswordResendCodeResult.mjs.map +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/ResetPasswordStartResult.mjs.map +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/ResetPasswordSubmitCodeResult.mjs.map +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/result/ResetPasswordSubmitPasswordResult.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordCodeRequiredState.mjs +3 -3
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordCodeRequiredState.mjs.map +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 +2 -2
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordPasswordRequiredState.mjs.map +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/auth_flow/state/ResetPasswordState.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/reset_password/interaction_client/ResetPasswordClient.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/reset_password/interaction_client/ResetPasswordClient.mjs +7 -6
- package/dist/custom-auth-path/custom_auth/reset_password/interaction_client/ResetPasswordClient.mjs.map +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/SignInScenario.mjs.map +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/error_type/SignInError.mjs.map +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/SignInResendCodeResult.mjs.map +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/SignInResult.mjs.map +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/SignInSubmitCodeResult.mjs.map +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/result/SignInSubmitPasswordResult.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.mjs +5 -14
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.mjs.map +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 +2 -2
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInContinuationState.mjs.map +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 +2 -2
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.mjs.map +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/auth_flow/state/SignInState.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/SignInClient.d.ts +6 -8
- package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/SignInClient.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/SignInClient.mjs +36 -57
- package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/SignInClient.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/result/SignInActionResult.d.ts +0 -6
- package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/result/SignInActionResult.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/result/SignInActionResult.mjs +2 -9
- package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/result/SignInActionResult.mjs.map +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/error_type/SignUpError.mjs.map +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/SignUpResendCodeResult.mjs.map +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/SignUpResult.mjs.map +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/SignUpSubmitAttributesResult.mjs.map +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/SignUpSubmitCodeResult.mjs.map +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/result/SignUpSubmitPasswordResult.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.mjs +2 -2
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.mjs +3 -3
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.mjs.map +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 +2 -2
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpPasswordRequiredState.mjs.map +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/auth_flow/state/SignUpState.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/interaction_client/SignUpClient.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/interaction_client/SignUpClient.mjs +10 -9
- package/dist/custom-auth-path/custom_auth/sign_up/interaction_client/SignUpClient.mjs.map +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.d.ts +1 -246
- package/dist/custom-auth-path/error/BrowserAuthError.d.ts.map +1 -1
- package/dist/custom-auth-path/error/BrowserAuthError.mjs +6 -61
- package/dist/custom-auth-path/error/BrowserAuthError.mjs.map +1 -1
- package/dist/custom-auth-path/error/BrowserAuthErrorCodes.mjs +2 -8
- package/dist/custom-auth-path/error/BrowserAuthErrorCodes.mjs.map +1 -1
- package/dist/custom-auth-path/error/BrowserConfigurationAuthError.d.ts +0 -23
- package/dist/custom-auth-path/error/BrowserConfigurationAuthError.d.ts.map +1 -1
- package/dist/custom-auth-path/error/BrowserConfigurationAuthError.mjs +4 -9
- package/dist/custom-auth-path/error/BrowserConfigurationAuthError.mjs.map +1 -1
- package/dist/custom-auth-path/error/BrowserConfigurationAuthErrorCodes.mjs +2 -3
- package/dist/custom-auth-path/error/BrowserConfigurationAuthErrorCodes.mjs.map +1 -1
- package/dist/custom-auth-path/error/NativeAuthError.d.ts +0 -3
- package/dist/custom-auth-path/error/NativeAuthError.d.ts.map +1 -1
- package/dist/custom-auth-path/error/NativeAuthError.mjs +10 -12
- package/dist/custom-auth-path/error/NativeAuthError.mjs.map +1 -1
- package/dist/custom-auth-path/error/NativeAuthErrorCodes.d.ts +1 -0
- package/dist/custom-auth-path/error/NativeAuthErrorCodes.d.ts.map +1 -1
- package/dist/custom-auth-path/error/NativeAuthErrorCodes.mjs +1 -1
- package/dist/custom-auth-path/error/NestedAppAuthError.d.ts +0 -9
- package/dist/custom-auth-path/error/NestedAppAuthError.d.ts.map +1 -1
- package/dist/custom-auth-path/event/EventHandler.d.ts.map +1 -1
- package/dist/custom-auth-path/event/EventHandler.mjs +9 -12
- package/dist/custom-auth-path/event/EventHandler.mjs.map +1 -1
- package/dist/custom-auth-path/event/EventMessage.d.ts.map +1 -1
- package/dist/custom-auth-path/event/EventType.d.ts +3 -10
- package/dist/custom-auth-path/event/EventType.d.ts.map +1 -1
- package/dist/custom-auth-path/event/EventType.mjs +4 -11
- package/dist/custom-auth-path/event/EventType.mjs.map +1 -1
- package/dist/custom-auth-path/index.d.ts +34 -6
- package/dist/custom-auth-path/index.d.ts.map +1 -1
- package/dist/custom-auth-path/interaction_client/BaseInteractionClient.d.ts +50 -32
- package/dist/custom-auth-path/interaction_client/BaseInteractionClient.d.ts.map +1 -1
- package/dist/custom-auth-path/interaction_client/BaseInteractionClient.mjs +116 -97
- package/dist/custom-auth-path/interaction_client/BaseInteractionClient.mjs.map +1 -1
- package/dist/custom-auth-path/interaction_client/HybridSpaAuthorizationCodeClient.d.ts +2 -2
- package/dist/custom-auth-path/interaction_client/HybridSpaAuthorizationCodeClient.d.ts.map +1 -1
- package/dist/custom-auth-path/interaction_client/HybridSpaAuthorizationCodeClient.mjs +3 -3
- package/dist/custom-auth-path/interaction_client/HybridSpaAuthorizationCodeClient.mjs.map +1 -1
- package/dist/custom-auth-path/interaction_client/PlatformAuthInteractionClient.d.ts +5 -3
- package/dist/custom-auth-path/interaction_client/PlatformAuthInteractionClient.d.ts.map +1 -1
- package/dist/custom-auth-path/interaction_client/PlatformAuthInteractionClient.mjs +71 -84
- package/dist/custom-auth-path/interaction_client/PlatformAuthInteractionClient.mjs.map +1 -1
- package/dist/custom-auth-path/interaction_client/PopupClient.d.ts +2 -14
- package/dist/custom-auth-path/interaction_client/PopupClient.d.ts.map +1 -1
- package/dist/custom-auth-path/interaction_client/PopupClient.mjs +64 -153
- package/dist/custom-auth-path/interaction_client/PopupClient.mjs.map +1 -1
- package/dist/custom-auth-path/interaction_client/RedirectClient.d.ts +8 -9
- package/dist/custom-auth-path/interaction_client/RedirectClient.d.ts.map +1 -1
- package/dist/custom-auth-path/interaction_client/RedirectClient.mjs +103 -112
- package/dist/custom-auth-path/interaction_client/RedirectClient.mjs.map +1 -1
- package/dist/custom-auth-path/interaction_client/SilentAuthCodeClient.d.ts +1 -1
- package/dist/custom-auth-path/interaction_client/SilentAuthCodeClient.d.ts.map +1 -1
- package/dist/custom-auth-path/interaction_client/SilentAuthCodeClient.mjs +17 -10
- package/dist/custom-auth-path/interaction_client/SilentAuthCodeClient.mjs.map +1 -1
- package/dist/custom-auth-path/interaction_client/SilentCacheClient.d.ts.map +1 -1
- package/dist/custom-auth-path/interaction_client/SilentCacheClient.mjs +11 -10
- package/dist/custom-auth-path/interaction_client/SilentCacheClient.mjs.map +1 -1
- package/dist/custom-auth-path/interaction_client/SilentIframeClient.d.ts +1 -1
- package/dist/custom-auth-path/interaction_client/SilentIframeClient.d.ts.map +1 -1
- package/dist/custom-auth-path/interaction_client/SilentIframeClient.mjs +38 -49
- package/dist/custom-auth-path/interaction_client/SilentIframeClient.mjs.map +1 -1
- package/dist/custom-auth-path/interaction_client/SilentRefreshClient.d.ts.map +1 -1
- package/dist/custom-auth-path/interaction_client/SilentRefreshClient.mjs +9 -8
- package/dist/custom-auth-path/interaction_client/SilentRefreshClient.mjs.map +1 -1
- package/dist/custom-auth-path/interaction_client/StandardInteractionClient.d.ts +17 -7
- package/dist/custom-auth-path/interaction_client/StandardInteractionClient.d.ts.map +1 -1
- package/dist/custom-auth-path/interaction_client/StandardInteractionClient.mjs +55 -63
- package/dist/custom-auth-path/interaction_client/StandardInteractionClient.mjs.map +1 -1
- package/dist/custom-auth-path/interaction_handler/InteractionHandler.d.ts +2 -3
- package/dist/custom-auth-path/interaction_handler/InteractionHandler.d.ts.map +1 -1
- package/dist/custom-auth-path/interaction_handler/InteractionHandler.mjs +8 -10
- package/dist/custom-auth-path/interaction_handler/InteractionHandler.mjs.map +1 -1
- package/dist/custom-auth-path/interaction_handler/SilentHandler.d.ts +3 -4
- package/dist/custom-auth-path/interaction_handler/SilentHandler.d.ts.map +1 -1
- package/dist/custom-auth-path/interaction_handler/SilentHandler.mjs +11 -48
- package/dist/custom-auth-path/interaction_handler/SilentHandler.mjs.map +1 -1
- package/dist/custom-auth-path/naa/mapping/NestedAppAuthAdapter.d.ts.map +1 -1
- package/dist/custom-auth-path/navigation/NavigationClient.mjs +1 -1
- package/dist/custom-auth-path/navigation/NavigationClient.mjs.map +1 -1
- package/dist/custom-auth-path/network/FetchClient.mjs +1 -1
- package/dist/custom-auth-path/network/FetchClient.mjs.map +1 -1
- package/dist/custom-auth-path/operatingcontext/BaseOperatingContext.d.ts +2 -1
- package/dist/custom-auth-path/operatingcontext/BaseOperatingContext.d.ts.map +1 -1
- package/dist/custom-auth-path/operatingcontext/BaseOperatingContext.mjs +1 -1
- package/dist/custom-auth-path/operatingcontext/BaseOperatingContext.mjs.map +1 -1
- package/dist/custom-auth-path/operatingcontext/NestedAppOperatingContext.d.ts +2 -1
- package/dist/custom-auth-path/operatingcontext/NestedAppOperatingContext.d.ts.map +1 -1
- package/dist/custom-auth-path/operatingcontext/StandardOperatingContext.d.ts +1 -1
- package/dist/custom-auth-path/operatingcontext/StandardOperatingContext.d.ts.map +1 -1
- package/dist/custom-auth-path/operatingcontext/StandardOperatingContext.mjs +3 -2
- package/dist/custom-auth-path/operatingcontext/StandardOperatingContext.mjs.map +1 -1
- package/dist/custom-auth-path/packageMetadata.d.ts +1 -1
- package/dist/custom-auth-path/packageMetadata.d.ts.map +1 -1
- package/dist/custom-auth-path/packageMetadata.mjs +2 -2
- package/dist/custom-auth-path/protocol/Authorize.d.ts +0 -4
- package/dist/custom-auth-path/protocol/Authorize.d.ts.map +1 -1
- package/dist/custom-auth-path/protocol/Authorize.mjs +20 -36
- package/dist/custom-auth-path/protocol/Authorize.mjs.map +1 -1
- package/dist/custom-auth-path/request/AuthorizationCodeRequest.d.ts +1 -1
- package/dist/custom-auth-path/request/AuthorizationCodeRequest.d.ts.map +1 -1
- package/dist/custom-auth-path/request/PopupRequest.d.ts +1 -1
- package/dist/custom-auth-path/request/PopupRequest.d.ts.map +1 -1
- package/dist/custom-auth-path/request/RedirectRequest.d.ts +1 -8
- package/dist/custom-auth-path/request/RedirectRequest.d.ts.map +1 -1
- package/dist/custom-auth-path/request/RequestHelpers.d.ts +6 -12
- package/dist/custom-auth-path/request/RequestHelpers.d.ts.map +1 -1
- package/dist/custom-auth-path/request/RequestHelpers.mjs +16 -48
- package/dist/custom-auth-path/request/RequestHelpers.mjs.map +1 -1
- package/dist/custom-auth-path/request/SilentRequest.d.ts +1 -1
- package/dist/custom-auth-path/request/SilentRequest.d.ts.map +1 -1
- package/dist/custom-auth-path/request/SsoSilentRequest.d.ts +1 -1
- package/dist/custom-auth-path/request/SsoSilentRequest.d.ts.map +1 -1
- package/dist/custom-auth-path/response/ResponseHandler.d.ts +1 -1
- package/dist/custom-auth-path/response/ResponseHandler.d.ts.map +1 -1
- package/dist/custom-auth-path/response/ResponseHandler.mjs +5 -5
- package/dist/custom-auth-path/response/ResponseHandler.mjs.map +1 -1
- package/dist/custom-auth-path/telemetry/BrowserPerformanceClient.d.ts +2 -19
- package/dist/custom-auth-path/telemetry/BrowserPerformanceClient.d.ts.map +1 -1
- package/dist/custom-auth-path/telemetry/BrowserPerformanceEvents.d.ts +131 -0
- package/dist/custom-auth-path/telemetry/BrowserPerformanceEvents.d.ts.map +1 -0
- package/dist/custom-auth-path/telemetry/BrowserPerformanceEvents.mjs +126 -0
- package/dist/custom-auth-path/telemetry/BrowserPerformanceEvents.mjs.map +1 -0
- package/dist/custom-auth-path/telemetry/BrowserRootPerformanceEvents.d.ts +35 -0
- package/dist/custom-auth-path/telemetry/BrowserRootPerformanceEvents.d.ts.map +1 -0
- package/dist/custom-auth-path/telemetry/BrowserRootPerformanceEvents.mjs +45 -0
- package/dist/custom-auth-path/telemetry/BrowserRootPerformanceEvents.mjs.map +1 -0
- package/dist/custom-auth-path/utils/BrowserConstants.d.ts +0 -8
- package/dist/custom-auth-path/utils/BrowserConstants.d.ts.map +1 -1
- package/dist/custom-auth-path/utils/BrowserConstants.mjs +3 -3
- package/dist/custom-auth-path/utils/BrowserConstants.mjs.map +1 -1
- package/dist/custom-auth-path/utils/BrowserProtocolUtils.mjs +1 -1
- package/dist/custom-auth-path/utils/BrowserProtocolUtils.mjs.map +1 -1
- package/dist/custom-auth-path/utils/BrowserUtils.d.ts.map +1 -1
- package/dist/custom-auth-path/utils/BrowserUtils.mjs +5 -6
- package/dist/custom-auth-path/utils/BrowserUtils.mjs.map +1 -1
- package/dist/custom-auth-path/utils/Helpers.mjs +1 -1
- package/dist/custom-auth-path/utils/Helpers.mjs.map +1 -1
- package/dist/custom-auth-path/utils/MsalFrameStatsUtils.d.ts +1 -1
- package/dist/custom-auth-path/utils/MsalFrameStatsUtils.d.ts.map +1 -1
- package/dist/custom-auth-path/utils/MsalFrameStatsUtils.mjs +3 -3
- package/dist/custom-auth-path/utils/MsalFrameStatsUtils.mjs.map +1 -1
- package/dist/custom-auth-path/utils/PopupUtils.d.ts +33 -0
- package/dist/custom-auth-path/utils/PopupUtils.d.ts.map +1 -0
- package/dist/custom-auth-path/utils/PopupUtils.mjs +90 -0
- package/dist/custom-auth-path/utils/PopupUtils.mjs.map +1 -0
- package/dist/custom_auth/CustomAuthConstants.d.ts +2 -3
- package/dist/custom_auth/CustomAuthConstants.d.ts.map +1 -1
- package/dist/custom_auth/controller/CustomAuthStandardController.d.ts.map +1 -1
- package/dist/custom_auth/core/CustomAuthAuthority.d.ts.map +1 -1
- package/dist/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts +1 -2
- package/dist/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts.map +1 -1
- package/dist/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.d.ts +0 -5
- package/dist/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.d.ts.map +1 -1
- package/dist/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.d.ts.map +1 -1
- package/dist/custom_auth/core/interaction_client/jit/JitClient.d.ts +8 -2
- package/dist/custom_auth/core/interaction_client/jit/JitClient.d.ts.map +1 -1
- package/dist/custom_auth/core/interaction_client/jit/parameter/JitParams.d.ts +1 -0
- package/dist/custom_auth/core/interaction_client/jit/parameter/JitParams.d.ts.map +1 -1
- package/dist/custom_auth/core/interaction_client/jit/result/JitActionResult.d.ts +11 -2
- package/dist/custom_auth/core/interaction_client/jit/result/JitActionResult.d.ts.map +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.d.ts +0 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.d.ts.map +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts +2 -7
- package/dist/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts.map +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts +0 -5
- package/dist/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts.map +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/types/ApiResponseTypes.d.ts +1 -5
- package/dist/custom_auth/core/network_client/custom_auth_api/types/ApiResponseTypes.d.ts.map +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.d.ts +0 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.d.ts.map +1 -1
- package/dist/custom_auth/core/network_client/http_client/FetchHttpClient.d.ts.map +1 -1
- package/dist/custom_auth/core/telemetry/PublicApiId.d.ts +3 -4
- package/dist/custom_auth/core/telemetry/PublicApiId.d.ts.map +1 -1
- package/dist/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.d.ts.map +1 -1
- package/dist/custom_auth/reset_password/interaction_client/ResetPasswordClient.d.ts.map +1 -1
- package/dist/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.d.ts.map +1 -1
- package/dist/custom_auth/sign_in/interaction_client/SignInClient.d.ts +6 -8
- package/dist/custom_auth/sign_in/interaction_client/SignInClient.d.ts.map +1 -1
- package/dist/custom_auth/sign_in/interaction_client/result/SignInActionResult.d.ts +0 -6
- package/dist/custom_auth/sign_in/interaction_client/result/SignInActionResult.d.ts.map +1 -1
- package/dist/custom_auth/sign_up/interaction_client/SignUpClient.d.ts.map +1 -1
- package/dist/encode/Base64Decode.mjs +1 -1
- package/dist/encode/Base64Encode.mjs +1 -1
- package/dist/error/BrowserAuthError.d.ts +1 -246
- package/dist/error/BrowserAuthError.d.ts.map +1 -1
- package/dist/error/BrowserAuthError.mjs +6 -253
- package/dist/error/BrowserAuthError.mjs.map +1 -1
- package/dist/error/BrowserAuthErrorCodes.mjs +1 -1
- package/dist/error/BrowserConfigurationAuthError.d.ts +0 -23
- package/dist/error/BrowserConfigurationAuthError.d.ts.map +1 -1
- package/dist/error/BrowserConfigurationAuthError.mjs +4 -29
- package/dist/error/BrowserConfigurationAuthError.mjs.map +1 -1
- package/dist/error/BrowserConfigurationAuthErrorCodes.mjs +1 -1
- package/dist/error/NativeAuthError.d.ts +0 -3
- package/dist/error/NativeAuthError.d.ts.map +1 -1
- package/dist/error/NativeAuthError.mjs +10 -12
- package/dist/error/NativeAuthError.mjs.map +1 -1
- package/dist/error/NativeAuthErrorCodes.d.ts +1 -0
- package/dist/error/NativeAuthErrorCodes.d.ts.map +1 -1
- package/dist/error/NativeAuthErrorCodes.mjs +4 -3
- package/dist/error/NativeAuthErrorCodes.mjs.map +1 -1
- package/dist/error/NestedAppAuthError.d.ts +0 -9
- package/dist/error/NestedAppAuthError.d.ts.map +1 -1
- package/dist/error/NestedAppAuthError.mjs +4 -12
- package/dist/error/NestedAppAuthError.mjs.map +1 -1
- package/dist/event/EventHandler.d.ts.map +1 -1
- package/dist/event/EventHandler.mjs +9 -12
- package/dist/event/EventHandler.mjs.map +1 -1
- package/dist/event/EventMessage.d.ts.map +1 -1
- package/dist/event/EventMessage.mjs +2 -17
- package/dist/event/EventMessage.mjs.map +1 -1
- package/dist/event/EventType.d.ts +3 -10
- package/dist/event/EventType.d.ts.map +1 -1
- package/dist/event/EventType.mjs +4 -11
- package/dist/event/EventType.mjs.map +1 -1
- package/dist/index.d.ts +34 -6
- package/dist/index.d.ts.map +1 -1
- package/dist/index.mjs +25 -6
- package/dist/index.mjs.map +1 -1
- package/dist/interaction_client/BaseInteractionClient.d.ts +50 -32
- package/dist/interaction_client/BaseInteractionClient.d.ts.map +1 -1
- package/dist/interaction_client/BaseInteractionClient.mjs +116 -97
- package/dist/interaction_client/BaseInteractionClient.mjs.map +1 -1
- package/dist/interaction_client/HybridSpaAuthorizationCodeClient.d.ts +2 -2
- package/dist/interaction_client/HybridSpaAuthorizationCodeClient.d.ts.map +1 -1
- package/dist/interaction_client/HybridSpaAuthorizationCodeClient.mjs +3 -3
- package/dist/interaction_client/HybridSpaAuthorizationCodeClient.mjs.map +1 -1
- package/dist/interaction_client/PlatformAuthInteractionClient.d.ts +5 -3
- package/dist/interaction_client/PlatformAuthInteractionClient.d.ts.map +1 -1
- package/dist/interaction_client/PlatformAuthInteractionClient.mjs +71 -84
- package/dist/interaction_client/PlatformAuthInteractionClient.mjs.map +1 -1
- package/dist/interaction_client/PopupClient.d.ts +2 -14
- package/dist/interaction_client/PopupClient.d.ts.map +1 -1
- package/dist/interaction_client/PopupClient.mjs +64 -153
- package/dist/interaction_client/PopupClient.mjs.map +1 -1
- package/dist/interaction_client/RedirectClient.d.ts +8 -9
- package/dist/interaction_client/RedirectClient.d.ts.map +1 -1
- package/dist/interaction_client/RedirectClient.mjs +103 -112
- package/dist/interaction_client/RedirectClient.mjs.map +1 -1
- package/dist/interaction_client/SilentAuthCodeClient.d.ts +1 -1
- package/dist/interaction_client/SilentAuthCodeClient.d.ts.map +1 -1
- package/dist/interaction_client/SilentAuthCodeClient.mjs +17 -10
- package/dist/interaction_client/SilentAuthCodeClient.mjs.map +1 -1
- package/dist/interaction_client/SilentCacheClient.d.ts.map +1 -1
- package/dist/interaction_client/SilentCacheClient.mjs +11 -10
- package/dist/interaction_client/SilentCacheClient.mjs.map +1 -1
- package/dist/interaction_client/SilentIframeClient.d.ts +1 -1
- package/dist/interaction_client/SilentIframeClient.d.ts.map +1 -1
- package/dist/interaction_client/SilentIframeClient.mjs +38 -49
- package/dist/interaction_client/SilentIframeClient.mjs.map +1 -1
- package/dist/interaction_client/SilentRefreshClient.d.ts.map +1 -1
- package/dist/interaction_client/SilentRefreshClient.mjs +9 -8
- package/dist/interaction_client/SilentRefreshClient.mjs.map +1 -1
- package/dist/interaction_client/StandardInteractionClient.d.ts +17 -7
- package/dist/interaction_client/StandardInteractionClient.d.ts.map +1 -1
- package/dist/interaction_client/StandardInteractionClient.mjs +55 -63
- package/dist/interaction_client/StandardInteractionClient.mjs.map +1 -1
- package/dist/interaction_handler/InteractionHandler.d.ts +2 -3
- package/dist/interaction_handler/InteractionHandler.d.ts.map +1 -1
- package/dist/interaction_handler/InteractionHandler.mjs +8 -10
- package/dist/interaction_handler/InteractionHandler.mjs.map +1 -1
- package/dist/interaction_handler/SilentHandler.d.ts +3 -4
- package/dist/interaction_handler/SilentHandler.d.ts.map +1 -1
- package/dist/interaction_handler/SilentHandler.mjs +11 -48
- package/dist/interaction_handler/SilentHandler.mjs.map +1 -1
- package/dist/naa/BridgeError.mjs +1 -1
- package/dist/naa/BridgeProxy.mjs +1 -1
- package/dist/naa/BridgeProxy.mjs.map +1 -1
- package/dist/naa/BridgeStatusCode.mjs +1 -1
- package/dist/naa/BridgeStatusCode.mjs.map +1 -1
- package/dist/naa/mapping/NestedAppAuthAdapter.d.ts.map +1 -1
- package/dist/naa/mapping/NestedAppAuthAdapter.mjs +9 -6
- package/dist/naa/mapping/NestedAppAuthAdapter.mjs.map +1 -1
- package/dist/navigation/NavigationClient.mjs +1 -1
- package/dist/navigation/NavigationClient.mjs.map +1 -1
- package/dist/network/FetchClient.mjs +1 -1
- package/dist/network/FetchClient.mjs.map +1 -1
- package/dist/operatingcontext/BaseOperatingContext.d.ts +2 -1
- package/dist/operatingcontext/BaseOperatingContext.d.ts.map +1 -1
- package/dist/operatingcontext/BaseOperatingContext.mjs +1 -1
- package/dist/operatingcontext/BaseOperatingContext.mjs.map +1 -1
- package/dist/operatingcontext/NestedAppOperatingContext.d.ts +2 -1
- package/dist/operatingcontext/NestedAppOperatingContext.d.ts.map +1 -1
- package/dist/operatingcontext/NestedAppOperatingContext.mjs +5 -4
- package/dist/operatingcontext/NestedAppOperatingContext.mjs.map +1 -1
- package/dist/operatingcontext/StandardOperatingContext.d.ts +1 -1
- package/dist/operatingcontext/StandardOperatingContext.d.ts.map +1 -1
- package/dist/operatingcontext/StandardOperatingContext.mjs +3 -2
- package/dist/operatingcontext/StandardOperatingContext.mjs.map +1 -1
- package/dist/operatingcontext/UnknownOperatingContext.mjs +1 -1
- package/dist/operatingcontext/UnknownOperatingContext.mjs.map +1 -1
- package/dist/packageMetadata.d.ts +1 -1
- package/dist/packageMetadata.d.ts.map +1 -1
- package/dist/packageMetadata.mjs +2 -2
- package/dist/protocol/Authorize.d.ts +0 -4
- package/dist/protocol/Authorize.d.ts.map +1 -1
- package/dist/protocol/Authorize.mjs +20 -36
- package/dist/protocol/Authorize.mjs.map +1 -1
- package/dist/request/AuthorizationCodeRequest.d.ts +1 -1
- package/dist/request/AuthorizationCodeRequest.d.ts.map +1 -1
- package/dist/request/PopupRequest.d.ts +1 -1
- package/dist/request/PopupRequest.d.ts.map +1 -1
- package/dist/request/RedirectRequest.d.ts +1 -8
- package/dist/request/RedirectRequest.d.ts.map +1 -1
- package/dist/request/RequestHelpers.d.ts +6 -12
- package/dist/request/RequestHelpers.d.ts.map +1 -1
- package/dist/request/RequestHelpers.mjs +16 -48
- package/dist/request/RequestHelpers.mjs.map +1 -1
- package/dist/request/SilentRequest.d.ts +1 -1
- package/dist/request/SilentRequest.d.ts.map +1 -1
- package/dist/request/SsoSilentRequest.d.ts +1 -1
- package/dist/request/SsoSilentRequest.d.ts.map +1 -1
- package/dist/response/ResponseHandler.d.ts +1 -1
- package/dist/response/ResponseHandler.d.ts.map +1 -1
- package/dist/response/ResponseHandler.mjs +5 -5
- package/dist/response/ResponseHandler.mjs.map +1 -1
- package/dist/telemetry/BrowserPerformanceClient.d.ts +2 -19
- package/dist/telemetry/BrowserPerformanceClient.d.ts.map +1 -1
- package/dist/telemetry/BrowserPerformanceClient.mjs +5 -60
- package/dist/telemetry/BrowserPerformanceClient.mjs.map +1 -1
- package/dist/telemetry/BrowserPerformanceEvents.d.ts +131 -0
- package/dist/telemetry/BrowserPerformanceEvents.d.ts.map +1 -0
- package/dist/telemetry/BrowserPerformanceEvents.mjs +126 -0
- package/dist/telemetry/BrowserPerformanceEvents.mjs.map +1 -0
- package/dist/telemetry/BrowserPerformanceMeasurement.mjs +1 -1
- package/dist/telemetry/BrowserPerformanceMeasurement.mjs.map +1 -1
- package/dist/telemetry/BrowserRootPerformanceEvents.d.ts +35 -0
- package/dist/telemetry/BrowserRootPerformanceEvents.d.ts.map +1 -0
- package/dist/telemetry/BrowserRootPerformanceEvents.mjs +45 -0
- package/dist/telemetry/BrowserRootPerformanceEvents.mjs.map +1 -0
- package/dist/utils/BrowserConstants.d.ts +0 -8
- package/dist/utils/BrowserConstants.d.ts.map +1 -1
- package/dist/utils/BrowserConstants.mjs +3 -11
- package/dist/utils/BrowserConstants.mjs.map +1 -1
- package/dist/utils/BrowserProtocolUtils.mjs +1 -1
- package/dist/utils/BrowserProtocolUtils.mjs.map +1 -1
- package/dist/utils/BrowserUtils.d.ts.map +1 -1
- package/dist/utils/BrowserUtils.mjs +5 -6
- package/dist/utils/BrowserUtils.mjs.map +1 -1
- package/dist/utils/Helpers.mjs +1 -1
- package/dist/utils/Helpers.mjs.map +1 -1
- package/dist/utils/MsalFrameStatsUtils.d.ts +1 -1
- package/dist/utils/MsalFrameStatsUtils.d.ts.map +1 -1
- package/dist/utils/MsalFrameStatsUtils.mjs +3 -3
- package/dist/utils/MsalFrameStatsUtils.mjs.map +1 -1
- package/dist/utils/PopupUtils.d.ts +33 -0
- package/dist/utils/PopupUtils.d.ts.map +1 -0
- package/dist/utils/PopupUtils.mjs +90 -0
- package/dist/utils/PopupUtils.mjs.map +1 -0
- package/lib/custom-auth-path/msal-custom-auth.cjs +2541 -3592
- package/lib/custom-auth-path/msal-custom-auth.cjs.map +1 -1
- package/lib/custom-auth-path/types/app/IPublicClientApplication.d.ts +2 -9
- package/lib/custom-auth-path/types/app/IPublicClientApplication.d.ts.map +1 -1
- package/lib/custom-auth-path/types/app/PublicClientApplication.d.ts +3 -49
- package/lib/custom-auth-path/types/app/PublicClientApplication.d.ts.map +1 -1
- package/lib/custom-auth-path/types/app/PublicClientNext.d.ts +2 -49
- package/lib/custom-auth-path/types/app/PublicClientNext.d.ts.map +1 -1
- package/lib/custom-auth-path/types/broker/nativeBroker/PlatformAuthDOMHandler.d.ts.map +1 -1
- package/lib/custom-auth-path/types/broker/nativeBroker/PlatformAuthExtensionHandler.d.ts +1 -1
- package/lib/custom-auth-path/types/broker/nativeBroker/PlatformAuthExtensionHandler.d.ts.map +1 -1
- package/lib/custom-auth-path/types/broker/nativeBroker/PlatformAuthProvider.d.ts +4 -2
- package/lib/custom-auth-path/types/broker/nativeBroker/PlatformAuthProvider.d.ts.map +1 -1
- package/lib/custom-auth-path/types/cache/AccountManager.d.ts.map +1 -1
- package/lib/custom-auth-path/types/cache/AsyncMemoryStorage.d.ts +14 -7
- package/lib/custom-auth-path/types/cache/AsyncMemoryStorage.d.ts.map +1 -1
- package/lib/custom-auth-path/types/cache/BrowserCacheManager.d.ts +22 -25
- package/lib/custom-auth-path/types/cache/BrowserCacheManager.d.ts.map +1 -1
- package/lib/custom-auth-path/types/cache/IAsyncStorage.d.ts +10 -5
- package/lib/custom-auth-path/types/cache/IAsyncStorage.d.ts.map +1 -1
- package/lib/custom-auth-path/types/cache/LocalStorage.d.ts.map +1 -1
- package/lib/custom-auth-path/types/cache/TokenCache.d.ts +8 -68
- package/lib/custom-auth-path/types/cache/TokenCache.d.ts.map +1 -1
- package/lib/custom-auth-path/types/config/Configuration.d.ts +6 -55
- package/lib/custom-auth-path/types/config/Configuration.d.ts.map +1 -1
- package/lib/custom-auth-path/types/controllers/ControllerFactory.d.ts +1 -1
- package/lib/custom-auth-path/types/controllers/ControllerFactory.d.ts.map +1 -1
- package/lib/custom-auth-path/types/controllers/IController.d.ts +5 -6
- package/lib/custom-auth-path/types/controllers/IController.d.ts.map +1 -1
- package/lib/custom-auth-path/types/controllers/NestedAppAuthController.d.ts +4 -9
- package/lib/custom-auth-path/types/controllers/NestedAppAuthController.d.ts.map +1 -1
- package/lib/custom-auth-path/types/controllers/StandardController.d.ts +9 -30
- package/lib/custom-auth-path/types/controllers/StandardController.d.ts.map +1 -1
- package/lib/custom-auth-path/types/controllers/UnknownOperatingContextController.d.ts +4 -8
- package/lib/custom-auth-path/types/controllers/UnknownOperatingContextController.d.ts.map +1 -1
- package/lib/custom-auth-path/types/crypto/BrowserCrypto.d.ts +1 -2
- package/lib/custom-auth-path/types/crypto/BrowserCrypto.d.ts.map +1 -1
- package/lib/custom-auth-path/types/crypto/CryptoOps.d.ts +4 -2
- package/lib/custom-auth-path/types/crypto/CryptoOps.d.ts.map +1 -1
- package/lib/custom-auth-path/types/crypto/PkceGenerator.d.ts.map +1 -1
- package/lib/custom-auth-path/types/crypto/SignedHttpRequest.d.ts +2 -1
- package/lib/custom-auth-path/types/crypto/SignedHttpRequest.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/CustomAuthConstants.d.ts +2 -3
- package/lib/custom-auth-path/types/custom_auth/CustomAuthConstants.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/controller/CustomAuthStandardController.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/core/CustomAuthAuthority.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts +1 -2
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.d.ts +0 -5
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/core/interaction_client/jit/JitClient.d.ts +8 -2
- package/lib/custom-auth-path/types/custom_auth/core/interaction_client/jit/JitClient.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/core/interaction_client/jit/parameter/JitParams.d.ts +1 -0
- package/lib/custom-auth-path/types/custom_auth/core/interaction_client/jit/parameter/JitParams.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/core/interaction_client/jit/result/JitActionResult.d.ts +11 -2
- package/lib/custom-auth-path/types/custom_auth/core/interaction_client/jit/result/JitActionResult.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.d.ts +0 -1
- package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts +2 -7
- 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/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts +0 -5
- package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/types/ApiResponseTypes.d.ts +1 -5
- package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/types/ApiResponseTypes.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.d.ts +0 -1
- package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/core/network_client/http_client/FetchHttpClient.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/core/telemetry/PublicApiId.d.ts +3 -4
- package/lib/custom-auth-path/types/custom_auth/core/telemetry/PublicApiId.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/reset_password/interaction_client/ResetPasswordClient.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/sign_in/interaction_client/SignInClient.d.ts +6 -8
- package/lib/custom-auth-path/types/custom_auth/sign_in/interaction_client/SignInClient.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/sign_in/interaction_client/result/SignInActionResult.d.ts +0 -6
- package/lib/custom-auth-path/types/custom_auth/sign_in/interaction_client/result/SignInActionResult.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/sign_up/interaction_client/SignUpClient.d.ts.map +1 -1
- package/lib/custom-auth-path/types/error/BrowserAuthError.d.ts +1 -246
- package/lib/custom-auth-path/types/error/BrowserAuthError.d.ts.map +1 -1
- package/lib/custom-auth-path/types/error/BrowserConfigurationAuthError.d.ts +0 -23
- package/lib/custom-auth-path/types/error/BrowserConfigurationAuthError.d.ts.map +1 -1
- package/lib/custom-auth-path/types/error/NativeAuthError.d.ts +0 -3
- package/lib/custom-auth-path/types/error/NativeAuthError.d.ts.map +1 -1
- package/lib/custom-auth-path/types/error/NativeAuthErrorCodes.d.ts +1 -0
- package/lib/custom-auth-path/types/error/NativeAuthErrorCodes.d.ts.map +1 -1
- package/lib/custom-auth-path/types/error/NestedAppAuthError.d.ts +0 -9
- package/lib/custom-auth-path/types/error/NestedAppAuthError.d.ts.map +1 -1
- package/lib/custom-auth-path/types/event/EventHandler.d.ts.map +1 -1
- package/lib/custom-auth-path/types/event/EventMessage.d.ts.map +1 -1
- package/lib/custom-auth-path/types/event/EventType.d.ts +3 -10
- package/lib/custom-auth-path/types/event/EventType.d.ts.map +1 -1
- package/lib/custom-auth-path/types/index.d.ts +34 -6
- package/lib/custom-auth-path/types/index.d.ts.map +1 -1
- package/lib/custom-auth-path/types/interaction_client/BaseInteractionClient.d.ts +50 -32
- package/lib/custom-auth-path/types/interaction_client/BaseInteractionClient.d.ts.map +1 -1
- package/lib/custom-auth-path/types/interaction_client/HybridSpaAuthorizationCodeClient.d.ts +2 -2
- package/lib/custom-auth-path/types/interaction_client/HybridSpaAuthorizationCodeClient.d.ts.map +1 -1
- package/lib/custom-auth-path/types/interaction_client/PlatformAuthInteractionClient.d.ts +5 -3
- package/lib/custom-auth-path/types/interaction_client/PlatformAuthInteractionClient.d.ts.map +1 -1
- package/lib/custom-auth-path/types/interaction_client/PopupClient.d.ts +2 -14
- package/lib/custom-auth-path/types/interaction_client/PopupClient.d.ts.map +1 -1
- package/lib/custom-auth-path/types/interaction_client/RedirectClient.d.ts +8 -9
- package/lib/custom-auth-path/types/interaction_client/RedirectClient.d.ts.map +1 -1
- package/lib/custom-auth-path/types/interaction_client/SilentAuthCodeClient.d.ts +1 -1
- package/lib/custom-auth-path/types/interaction_client/SilentAuthCodeClient.d.ts.map +1 -1
- package/lib/custom-auth-path/types/interaction_client/SilentCacheClient.d.ts.map +1 -1
- package/lib/custom-auth-path/types/interaction_client/SilentIframeClient.d.ts +1 -1
- package/lib/custom-auth-path/types/interaction_client/SilentIframeClient.d.ts.map +1 -1
- package/lib/custom-auth-path/types/interaction_client/SilentRefreshClient.d.ts.map +1 -1
- package/lib/custom-auth-path/types/interaction_client/StandardInteractionClient.d.ts +17 -7
- package/lib/custom-auth-path/types/interaction_client/StandardInteractionClient.d.ts.map +1 -1
- package/lib/custom-auth-path/types/interaction_handler/InteractionHandler.d.ts +2 -3
- package/lib/custom-auth-path/types/interaction_handler/InteractionHandler.d.ts.map +1 -1
- package/lib/custom-auth-path/types/interaction_handler/SilentHandler.d.ts +3 -4
- package/lib/custom-auth-path/types/interaction_handler/SilentHandler.d.ts.map +1 -1
- package/lib/custom-auth-path/types/naa/mapping/NestedAppAuthAdapter.d.ts.map +1 -1
- package/lib/custom-auth-path/types/operatingcontext/BaseOperatingContext.d.ts +2 -1
- package/lib/custom-auth-path/types/operatingcontext/BaseOperatingContext.d.ts.map +1 -1
- package/lib/custom-auth-path/types/operatingcontext/NestedAppOperatingContext.d.ts +2 -1
- package/lib/custom-auth-path/types/operatingcontext/NestedAppOperatingContext.d.ts.map +1 -1
- package/lib/custom-auth-path/types/operatingcontext/StandardOperatingContext.d.ts +1 -1
- package/lib/custom-auth-path/types/operatingcontext/StandardOperatingContext.d.ts.map +1 -1
- package/lib/custom-auth-path/types/packageMetadata.d.ts +1 -1
- package/lib/custom-auth-path/types/packageMetadata.d.ts.map +1 -1
- package/lib/custom-auth-path/types/protocol/Authorize.d.ts +0 -4
- package/lib/custom-auth-path/types/protocol/Authorize.d.ts.map +1 -1
- package/lib/custom-auth-path/types/request/AuthorizationCodeRequest.d.ts +1 -1
- package/lib/custom-auth-path/types/request/AuthorizationCodeRequest.d.ts.map +1 -1
- package/lib/custom-auth-path/types/request/PopupRequest.d.ts +1 -1
- package/lib/custom-auth-path/types/request/PopupRequest.d.ts.map +1 -1
- package/lib/custom-auth-path/types/request/RedirectRequest.d.ts +1 -8
- package/lib/custom-auth-path/types/request/RedirectRequest.d.ts.map +1 -1
- package/lib/custom-auth-path/types/request/RequestHelpers.d.ts +6 -12
- package/lib/custom-auth-path/types/request/RequestHelpers.d.ts.map +1 -1
- package/lib/custom-auth-path/types/request/SilentRequest.d.ts +1 -1
- package/lib/custom-auth-path/types/request/SilentRequest.d.ts.map +1 -1
- package/lib/custom-auth-path/types/request/SsoSilentRequest.d.ts +1 -1
- package/lib/custom-auth-path/types/request/SsoSilentRequest.d.ts.map +1 -1
- package/lib/custom-auth-path/types/response/ResponseHandler.d.ts +1 -1
- package/lib/custom-auth-path/types/response/ResponseHandler.d.ts.map +1 -1
- package/lib/custom-auth-path/types/telemetry/BrowserPerformanceClient.d.ts +2 -19
- package/lib/custom-auth-path/types/telemetry/BrowserPerformanceClient.d.ts.map +1 -1
- package/lib/custom-auth-path/types/telemetry/BrowserPerformanceEvents.d.ts +131 -0
- package/lib/custom-auth-path/types/telemetry/BrowserPerformanceEvents.d.ts.map +1 -0
- package/lib/custom-auth-path/types/telemetry/BrowserRootPerformanceEvents.d.ts +35 -0
- package/lib/custom-auth-path/types/telemetry/BrowserRootPerformanceEvents.d.ts.map +1 -0
- package/lib/custom-auth-path/types/utils/BrowserConstants.d.ts +0 -8
- package/lib/custom-auth-path/types/utils/BrowserConstants.d.ts.map +1 -1
- package/lib/custom-auth-path/types/utils/BrowserUtils.d.ts.map +1 -1
- package/lib/custom-auth-path/types/utils/MsalFrameStatsUtils.d.ts +1 -1
- package/lib/custom-auth-path/types/utils/MsalFrameStatsUtils.d.ts.map +1 -1
- package/lib/custom-auth-path/types/utils/PopupUtils.d.ts +33 -0
- package/lib/custom-auth-path/types/utils/PopupUtils.d.ts.map +1 -0
- package/lib/msal-browser.cjs +2923 -4754
- package/lib/msal-browser.cjs.map +1 -1
- package/lib/msal-browser.js +2923 -4754
- package/lib/msal-browser.js.map +1 -1
- package/lib/msal-browser.min.js +74 -67
- package/lib/types/app/IPublicClientApplication.d.ts +2 -9
- package/lib/types/app/IPublicClientApplication.d.ts.map +1 -1
- package/lib/types/app/PublicClientApplication.d.ts +3 -49
- package/lib/types/app/PublicClientApplication.d.ts.map +1 -1
- package/lib/types/app/PublicClientNext.d.ts +2 -49
- package/lib/types/app/PublicClientNext.d.ts.map +1 -1
- package/lib/types/broker/nativeBroker/PlatformAuthDOMHandler.d.ts.map +1 -1
- package/lib/types/broker/nativeBroker/PlatformAuthExtensionHandler.d.ts +1 -1
- package/lib/types/broker/nativeBroker/PlatformAuthExtensionHandler.d.ts.map +1 -1
- package/lib/types/broker/nativeBroker/PlatformAuthProvider.d.ts +4 -2
- package/lib/types/broker/nativeBroker/PlatformAuthProvider.d.ts.map +1 -1
- package/lib/types/cache/AccountManager.d.ts.map +1 -1
- package/lib/types/cache/AsyncMemoryStorage.d.ts +14 -7
- package/lib/types/cache/AsyncMemoryStorage.d.ts.map +1 -1
- package/lib/types/cache/BrowserCacheManager.d.ts +22 -25
- package/lib/types/cache/BrowserCacheManager.d.ts.map +1 -1
- package/lib/types/cache/IAsyncStorage.d.ts +10 -5
- package/lib/types/cache/IAsyncStorage.d.ts.map +1 -1
- package/lib/types/cache/LocalStorage.d.ts.map +1 -1
- package/lib/types/cache/TokenCache.d.ts +8 -68
- package/lib/types/cache/TokenCache.d.ts.map +1 -1
- package/lib/types/config/Configuration.d.ts +6 -55
- package/lib/types/config/Configuration.d.ts.map +1 -1
- package/lib/types/controllers/ControllerFactory.d.ts +1 -1
- package/lib/types/controllers/ControllerFactory.d.ts.map +1 -1
- package/lib/types/controllers/IController.d.ts +5 -6
- package/lib/types/controllers/IController.d.ts.map +1 -1
- package/lib/types/controllers/NestedAppAuthController.d.ts +4 -9
- package/lib/types/controllers/NestedAppAuthController.d.ts.map +1 -1
- package/lib/types/controllers/StandardController.d.ts +9 -30
- package/lib/types/controllers/StandardController.d.ts.map +1 -1
- package/lib/types/controllers/UnknownOperatingContextController.d.ts +4 -8
- package/lib/types/controllers/UnknownOperatingContextController.d.ts.map +1 -1
- package/lib/types/crypto/BrowserCrypto.d.ts +1 -2
- package/lib/types/crypto/BrowserCrypto.d.ts.map +1 -1
- package/lib/types/crypto/CryptoOps.d.ts +4 -2
- package/lib/types/crypto/CryptoOps.d.ts.map +1 -1
- package/lib/types/crypto/PkceGenerator.d.ts.map +1 -1
- package/lib/types/crypto/SignedHttpRequest.d.ts +2 -1
- package/lib/types/crypto/SignedHttpRequest.d.ts.map +1 -1
- package/lib/types/custom_auth/CustomAuthConstants.d.ts +2 -3
- package/lib/types/custom_auth/CustomAuthConstants.d.ts.map +1 -1
- package/lib/types/custom_auth/controller/CustomAuthStandardController.d.ts.map +1 -1
- package/lib/types/custom_auth/core/CustomAuthAuthority.d.ts.map +1 -1
- package/lib/types/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts +1 -2
- package/lib/types/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts.map +1 -1
- package/lib/types/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.d.ts +0 -5
- package/lib/types/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.d.ts.map +1 -1
- package/lib/types/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.d.ts.map +1 -1
- package/lib/types/custom_auth/core/interaction_client/jit/JitClient.d.ts +8 -2
- package/lib/types/custom_auth/core/interaction_client/jit/JitClient.d.ts.map +1 -1
- package/lib/types/custom_auth/core/interaction_client/jit/parameter/JitParams.d.ts +1 -0
- package/lib/types/custom_auth/core/interaction_client/jit/parameter/JitParams.d.ts.map +1 -1
- package/lib/types/custom_auth/core/interaction_client/jit/result/JitActionResult.d.ts +11 -2
- package/lib/types/custom_auth/core/interaction_client/jit/result/JitActionResult.d.ts.map +1 -1
- package/lib/types/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.d.ts +0 -1
- package/lib/types/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.d.ts.map +1 -1
- package/lib/types/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts +2 -7
- package/lib/types/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts.map +1 -1
- package/lib/types/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts +0 -5
- package/lib/types/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts.map +1 -1
- package/lib/types/custom_auth/core/network_client/custom_auth_api/types/ApiResponseTypes.d.ts +1 -5
- package/lib/types/custom_auth/core/network_client/custom_auth_api/types/ApiResponseTypes.d.ts.map +1 -1
- package/lib/types/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.d.ts +0 -1
- package/lib/types/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.d.ts.map +1 -1
- package/lib/types/custom_auth/core/network_client/http_client/FetchHttpClient.d.ts.map +1 -1
- package/lib/types/custom_auth/core/telemetry/PublicApiId.d.ts +3 -4
- package/lib/types/custom_auth/core/telemetry/PublicApiId.d.ts.map +1 -1
- package/lib/types/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.d.ts.map +1 -1
- package/lib/types/custom_auth/reset_password/interaction_client/ResetPasswordClient.d.ts.map +1 -1
- package/lib/types/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.d.ts.map +1 -1
- package/lib/types/custom_auth/sign_in/interaction_client/SignInClient.d.ts +6 -8
- package/lib/types/custom_auth/sign_in/interaction_client/SignInClient.d.ts.map +1 -1
- package/lib/types/custom_auth/sign_in/interaction_client/result/SignInActionResult.d.ts +0 -6
- package/lib/types/custom_auth/sign_in/interaction_client/result/SignInActionResult.d.ts.map +1 -1
- package/lib/types/custom_auth/sign_up/interaction_client/SignUpClient.d.ts.map +1 -1
- package/lib/types/error/BrowserAuthError.d.ts +1 -246
- package/lib/types/error/BrowserAuthError.d.ts.map +1 -1
- package/lib/types/error/BrowserConfigurationAuthError.d.ts +0 -23
- package/lib/types/error/BrowserConfigurationAuthError.d.ts.map +1 -1
- package/lib/types/error/NativeAuthError.d.ts +0 -3
- package/lib/types/error/NativeAuthError.d.ts.map +1 -1
- package/lib/types/error/NativeAuthErrorCodes.d.ts +1 -0
- package/lib/types/error/NativeAuthErrorCodes.d.ts.map +1 -1
- package/lib/types/error/NestedAppAuthError.d.ts +0 -9
- package/lib/types/error/NestedAppAuthError.d.ts.map +1 -1
- package/lib/types/event/EventHandler.d.ts.map +1 -1
- package/lib/types/event/EventMessage.d.ts.map +1 -1
- package/lib/types/event/EventType.d.ts +3 -10
- package/lib/types/event/EventType.d.ts.map +1 -1
- package/lib/types/index.d.ts +34 -6
- package/lib/types/index.d.ts.map +1 -1
- package/lib/types/interaction_client/BaseInteractionClient.d.ts +50 -32
- package/lib/types/interaction_client/BaseInteractionClient.d.ts.map +1 -1
- package/lib/types/interaction_client/HybridSpaAuthorizationCodeClient.d.ts +2 -2
- package/lib/types/interaction_client/HybridSpaAuthorizationCodeClient.d.ts.map +1 -1
- package/lib/types/interaction_client/PlatformAuthInteractionClient.d.ts +5 -3
- package/lib/types/interaction_client/PlatformAuthInteractionClient.d.ts.map +1 -1
- package/lib/types/interaction_client/PopupClient.d.ts +2 -14
- package/lib/types/interaction_client/PopupClient.d.ts.map +1 -1
- package/lib/types/interaction_client/RedirectClient.d.ts +8 -9
- package/lib/types/interaction_client/RedirectClient.d.ts.map +1 -1
- package/lib/types/interaction_client/SilentAuthCodeClient.d.ts +1 -1
- package/lib/types/interaction_client/SilentAuthCodeClient.d.ts.map +1 -1
- package/lib/types/interaction_client/SilentCacheClient.d.ts.map +1 -1
- package/lib/types/interaction_client/SilentIframeClient.d.ts +1 -1
- package/lib/types/interaction_client/SilentIframeClient.d.ts.map +1 -1
- package/lib/types/interaction_client/SilentRefreshClient.d.ts.map +1 -1
- package/lib/types/interaction_client/StandardInteractionClient.d.ts +17 -7
- package/lib/types/interaction_client/StandardInteractionClient.d.ts.map +1 -1
- package/lib/types/interaction_handler/InteractionHandler.d.ts +2 -3
- package/lib/types/interaction_handler/InteractionHandler.d.ts.map +1 -1
- package/lib/types/interaction_handler/SilentHandler.d.ts +3 -4
- package/lib/types/interaction_handler/SilentHandler.d.ts.map +1 -1
- package/lib/types/naa/mapping/NestedAppAuthAdapter.d.ts.map +1 -1
- package/lib/types/operatingcontext/BaseOperatingContext.d.ts +2 -1
- package/lib/types/operatingcontext/BaseOperatingContext.d.ts.map +1 -1
- package/lib/types/operatingcontext/NestedAppOperatingContext.d.ts +2 -1
- package/lib/types/operatingcontext/NestedAppOperatingContext.d.ts.map +1 -1
- package/lib/types/operatingcontext/StandardOperatingContext.d.ts +1 -1
- package/lib/types/operatingcontext/StandardOperatingContext.d.ts.map +1 -1
- package/lib/types/packageMetadata.d.ts +1 -1
- package/lib/types/packageMetadata.d.ts.map +1 -1
- package/lib/types/protocol/Authorize.d.ts +0 -4
- package/lib/types/protocol/Authorize.d.ts.map +1 -1
- package/lib/types/request/AuthorizationCodeRequest.d.ts +1 -1
- package/lib/types/request/AuthorizationCodeRequest.d.ts.map +1 -1
- package/lib/types/request/PopupRequest.d.ts +1 -1
- package/lib/types/request/PopupRequest.d.ts.map +1 -1
- package/lib/types/request/RedirectRequest.d.ts +1 -8
- package/lib/types/request/RedirectRequest.d.ts.map +1 -1
- package/lib/types/request/RequestHelpers.d.ts +6 -12
- package/lib/types/request/RequestHelpers.d.ts.map +1 -1
- package/lib/types/request/SilentRequest.d.ts +1 -1
- package/lib/types/request/SilentRequest.d.ts.map +1 -1
- package/lib/types/request/SsoSilentRequest.d.ts +1 -1
- package/lib/types/request/SsoSilentRequest.d.ts.map +1 -1
- package/lib/types/response/ResponseHandler.d.ts +1 -1
- package/lib/types/response/ResponseHandler.d.ts.map +1 -1
- package/lib/types/telemetry/BrowserPerformanceClient.d.ts +2 -19
- package/lib/types/telemetry/BrowserPerformanceClient.d.ts.map +1 -1
- package/lib/types/telemetry/BrowserPerformanceEvents.d.ts +131 -0
- package/lib/types/telemetry/BrowserPerformanceEvents.d.ts.map +1 -0
- package/lib/types/telemetry/BrowserRootPerformanceEvents.d.ts +35 -0
- package/lib/types/telemetry/BrowserRootPerformanceEvents.d.ts.map +1 -0
- package/lib/types/utils/BrowserConstants.d.ts +0 -8
- package/lib/types/utils/BrowserConstants.d.ts.map +1 -1
- package/lib/types/utils/BrowserUtils.d.ts.map +1 -1
- package/lib/types/utils/MsalFrameStatsUtils.d.ts +1 -1
- package/lib/types/utils/MsalFrameStatsUtils.d.ts.map +1 -1
- package/lib/types/utils/PopupUtils.d.ts +33 -0
- package/lib/types/utils/PopupUtils.d.ts.map +1 -0
- package/package.json +113 -115
- package/src/app/IPublicClientApplication.ts +4 -36
- package/src/app/PublicClientApplication.ts +11 -73
- package/src/app/PublicClientNext.ts +6 -71
- package/src/broker/nativeBroker/PlatformAuthDOMHandler.ts +30 -14
- package/src/broker/nativeBroker/PlatformAuthExtensionHandler.ts +57 -32
- package/src/broker/nativeBroker/PlatformAuthProvider.ts +26 -21
- package/src/cache/AccountManager.ts +47 -19
- package/src/cache/AsyncMemoryStorage.ts +39 -22
- package/src/cache/BrowserCacheManager.ts +234 -213
- package/src/cache/IAsyncStorage.ts +10 -5
- package/src/cache/LocalStorage.ts +31 -18
- package/src/cache/TokenCache.ts +367 -360
- package/src/config/Configuration.ts +23 -86
- package/src/controllers/ControllerFactory.ts +13 -6
- package/src/controllers/IController.ts +8 -10
- package/src/controllers/NestedAppAuthController.ts +75 -108
- package/src/controllers/StandardController.ts +335 -518
- package/src/controllers/UnknownOperatingContextController.ts +3 -20
- package/src/crypto/BrowserCrypto.ts +1 -13
- package/src/crypto/CryptoOps.ts +32 -18
- package/src/crypto/PkceGenerator.ts +6 -14
- package/src/crypto/SignedHttpRequest.ts +14 -21
- package/src/custom_auth/CustomAuthConstants.ts +0 -1
- package/src/custom_auth/controller/CustomAuthStandardController.ts +10 -9
- package/src/custom_auth/core/CustomAuthAuthority.ts +11 -5
- package/src/custom_auth/core/auth_flow/AuthFlowErrorBase.ts +2 -15
- package/src/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.ts +1 -9
- package/src/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.ts +4 -2
- package/src/custom_auth/core/interaction_client/jit/JitClient.ts +63 -3
- package/src/custom_auth/core/interaction_client/jit/parameter/JitParams.ts +2 -0
- package/src/custom_auth/core/interaction_client/jit/result/JitActionResult.ts +22 -2
- package/src/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.ts +0 -1
- package/src/custom_auth/core/network_client/custom_auth_api/SignInApiClient.ts +1 -27
- package/src/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.ts +0 -6
- package/src/custom_auth/core/network_client/custom_auth_api/types/ApiResponseTypes.ts +1 -6
- package/src/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.ts +0 -1
- package/src/custom_auth/core/network_client/http_client/FetchHttpClient.ts +8 -5
- package/src/custom_auth/core/telemetry/PublicApiId.ts +3 -6
- package/src/custom_auth/get_account/auth_flow/CustomAuthAccountData.ts +3 -3
- package/src/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.ts +19 -14
- package/src/custom_auth/reset_password/auth_flow/state/ResetPasswordCodeRequiredState.ts +2 -2
- package/src/custom_auth/reset_password/auth_flow/state/ResetPasswordPasswordRequiredState.ts +1 -1
- package/src/custom_auth/reset_password/interaction_client/ResetPasswordClient.ts +30 -5
- package/src/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.ts +13 -23
- package/src/custom_auth/sign_in/auth_flow/state/SignInContinuationState.ts +1 -1
- package/src/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.ts +1 -1
- package/src/custom_auth/sign_in/interaction_client/SignInClient.ts +77 -128
- package/src/custom_auth/sign_in/interaction_client/result/SignInActionResult.ts +0 -15
- package/src/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.ts +1 -1
- package/src/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.ts +2 -2
- package/src/custom_auth/sign_up/auth_flow/state/SignUpPasswordRequiredState.ts +1 -1
- package/src/custom_auth/sign_up/interaction_client/SignUpClient.ts +39 -8
- package/src/error/BrowserAuthError.ts +4 -339
- package/src/error/BrowserConfigurationAuthError.ts +2 -37
- package/src/error/NativeAuthError.ts +7 -13
- package/src/error/NativeAuthErrorCodes.ts +1 -0
- package/src/error/NestedAppAuthError.ts +2 -14
- package/src/event/EventHandler.ts +13 -11
- package/src/event/EventMessage.ts +1 -18
- package/src/event/EventType.ts +3 -10
- package/src/index.ts +19 -19
- package/src/interaction_client/BaseInteractionClient.ts +181 -158
- package/src/interaction_client/HybridSpaAuthorizationCodeClient.ts +6 -2
- package/src/interaction_client/PlatformAuthInteractionClient.ts +160 -108
- package/src/interaction_client/PopupClient.ts +217 -308
- package/src/interaction_client/RedirectClient.ts +245 -184
- package/src/interaction_client/SilentAuthCodeClient.ts +41 -16
- package/src/interaction_client/SilentCacheClient.ts +23 -15
- package/src/interaction_client/SilentIframeClient.ts +101 -101
- package/src/interaction_client/SilentRefreshClient.ts +26 -14
- package/src/interaction_client/StandardInteractionClient.ts +112 -107
- package/src/interaction_handler/InteractionHandler.ts +7 -16
- package/src/interaction_handler/SilentHandler.ts +12 -91
- package/src/naa/mapping/NestedAppAuthAdapter.ts +8 -6
- package/src/operatingcontext/BaseOperatingContext.ts +2 -1
- package/src/operatingcontext/NestedAppOperatingContext.ts +8 -3
- package/src/operatingcontext/StandardOperatingContext.ts +2 -1
- package/src/packageMetadata.ts +1 -1
- package/src/protocol/Authorize.ts +30 -86
- package/src/request/AuthorizationCodeRequest.ts +1 -4
- package/src/request/PopupRequest.ts +0 -1
- package/src/request/RedirectRequest.ts +0 -8
- package/src/request/RequestHelpers.ts +18 -75
- package/src/request/SilentRequest.ts +1 -5
- package/src/request/SsoSilentRequest.ts +0 -1
- package/src/response/ResponseHandler.ts +8 -4
- package/src/telemetry/BrowserPerformanceClient.ts +4 -108
- package/src/telemetry/BrowserPerformanceEvents.ts +182 -0
- package/src/telemetry/BrowserRootPerformanceEvents.ts +41 -0
- package/src/utils/BrowserConstants.ts +2 -10
- package/src/utils/BrowserUtils.ts +4 -6
- package/src/utils/MsalFrameStatsUtils.ts +4 -2
- package/src/utils/PopupUtils.ts +117 -0
- package/dist/cache/ITokenCache.d.ts +0 -12
- package/dist/cache/ITokenCache.d.ts.map +0 -1
- package/dist/custom-auth-path/cache/ITokenCache.d.ts +0 -12
- package/dist/custom-auth-path/cache/ITokenCache.d.ts.map +0 -1
- package/dist/custom-auth-path/cache/TokenCache.mjs +0 -207
- package/dist/custom-auth-path/cache/TokenCache.mjs.map +0 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/error_type/MfaError.d.ts +0 -22
- package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/error_type/MfaError.d.ts.map +0 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.d.ts +0 -36
- package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.d.ts.map +0 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.d.ts +0 -30
- package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.d.ts.map +0 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.d.ts +0 -7
- package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.d.ts.map +0 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaFailedState.d.ts +0 -7
- package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaFailedState.d.ts.map +0 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaState.d.ts +0 -59
- package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaState.d.ts.map +0 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaStateParameters.d.ts +0 -19
- package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaStateParameters.d.ts.map +0 -1
- package/dist/custom-auth-path/custom_auth/core/interaction_client/mfa/MfaClient.d.ts +0 -21
- package/dist/custom-auth-path/custom_auth/core/interaction_client/mfa/MfaClient.d.ts.map +0 -1
- package/dist/custom-auth-path/custom_auth/core/interaction_client/mfa/parameter/MfaClientParameters.d.ts +0 -14
- package/dist/custom-auth-path/custom_auth/core/interaction_client/mfa/parameter/MfaClientParameters.d.ts.map +0 -1
- package/dist/custom-auth-path/custom_auth/core/interaction_client/mfa/result/MfaActionResult.d.ts +0 -23
- package/dist/custom-auth-path/custom_auth/core/interaction_client/mfa/result/MfaActionResult.d.ts.map +0 -1
- package/dist/custom-auth-path/request/AuthorizationUrlRequest.d.ts +0 -7
- package/dist/custom-auth-path/request/AuthorizationUrlRequest.d.ts.map +0 -1
- package/dist/custom_auth/core/auth_flow/mfa/error_type/MfaError.d.ts +0 -22
- package/dist/custom_auth/core/auth_flow/mfa/error_type/MfaError.d.ts.map +0 -1
- package/dist/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.d.ts +0 -36
- package/dist/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.d.ts.map +0 -1
- package/dist/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.d.ts +0 -30
- package/dist/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.d.ts.map +0 -1
- package/dist/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.d.ts +0 -7
- package/dist/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.d.ts.map +0 -1
- package/dist/custom_auth/core/auth_flow/mfa/state/MfaFailedState.d.ts +0 -7
- package/dist/custom_auth/core/auth_flow/mfa/state/MfaFailedState.d.ts.map +0 -1
- package/dist/custom_auth/core/auth_flow/mfa/state/MfaState.d.ts +0 -59
- package/dist/custom_auth/core/auth_flow/mfa/state/MfaState.d.ts.map +0 -1
- package/dist/custom_auth/core/auth_flow/mfa/state/MfaStateParameters.d.ts +0 -19
- package/dist/custom_auth/core/auth_flow/mfa/state/MfaStateParameters.d.ts.map +0 -1
- package/dist/custom_auth/core/interaction_client/mfa/MfaClient.d.ts +0 -21
- package/dist/custom_auth/core/interaction_client/mfa/MfaClient.d.ts.map +0 -1
- package/dist/custom_auth/core/interaction_client/mfa/parameter/MfaClientParameters.d.ts +0 -14
- package/dist/custom_auth/core/interaction_client/mfa/parameter/MfaClientParameters.d.ts.map +0 -1
- package/dist/custom_auth/core/interaction_client/mfa/result/MfaActionResult.d.ts +0 -23
- package/dist/custom_auth/core/interaction_client/mfa/result/MfaActionResult.d.ts.map +0 -1
- package/dist/request/AuthorizationUrlRequest.d.ts +0 -7
- package/dist/request/AuthorizationUrlRequest.d.ts.map +0 -1
- package/lib/custom-auth-path/types/cache/ITokenCache.d.ts +0 -12
- package/lib/custom-auth-path/types/cache/ITokenCache.d.ts.map +0 -1
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/error_type/MfaError.d.ts +0 -22
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/error_type/MfaError.d.ts.map +0 -1
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.d.ts +0 -36
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.d.ts.map +0 -1
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.d.ts +0 -30
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.d.ts.map +0 -1
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.d.ts +0 -7
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.d.ts.map +0 -1
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/state/MfaFailedState.d.ts +0 -7
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/state/MfaFailedState.d.ts.map +0 -1
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/state/MfaState.d.ts +0 -59
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/state/MfaState.d.ts.map +0 -1
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/state/MfaStateParameters.d.ts +0 -19
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/state/MfaStateParameters.d.ts.map +0 -1
- package/lib/custom-auth-path/types/custom_auth/core/interaction_client/mfa/MfaClient.d.ts +0 -21
- package/lib/custom-auth-path/types/custom_auth/core/interaction_client/mfa/MfaClient.d.ts.map +0 -1
- package/lib/custom-auth-path/types/custom_auth/core/interaction_client/mfa/parameter/MfaClientParameters.d.ts +0 -14
- package/lib/custom-auth-path/types/custom_auth/core/interaction_client/mfa/parameter/MfaClientParameters.d.ts.map +0 -1
- package/lib/custom-auth-path/types/custom_auth/core/interaction_client/mfa/result/MfaActionResult.d.ts +0 -23
- package/lib/custom-auth-path/types/custom_auth/core/interaction_client/mfa/result/MfaActionResult.d.ts.map +0 -1
- package/lib/custom-auth-path/types/request/AuthorizationUrlRequest.d.ts +0 -7
- package/lib/custom-auth-path/types/request/AuthorizationUrlRequest.d.ts.map +0 -1
- package/lib/types/cache/ITokenCache.d.ts +0 -12
- package/lib/types/cache/ITokenCache.d.ts.map +0 -1
- package/lib/types/custom_auth/core/auth_flow/mfa/error_type/MfaError.d.ts +0 -22
- package/lib/types/custom_auth/core/auth_flow/mfa/error_type/MfaError.d.ts.map +0 -1
- package/lib/types/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.d.ts +0 -36
- package/lib/types/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.d.ts.map +0 -1
- package/lib/types/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.d.ts +0 -30
- package/lib/types/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.d.ts.map +0 -1
- package/lib/types/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.d.ts +0 -7
- package/lib/types/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.d.ts.map +0 -1
- package/lib/types/custom_auth/core/auth_flow/mfa/state/MfaFailedState.d.ts +0 -7
- package/lib/types/custom_auth/core/auth_flow/mfa/state/MfaFailedState.d.ts.map +0 -1
- package/lib/types/custom_auth/core/auth_flow/mfa/state/MfaState.d.ts +0 -59
- package/lib/types/custom_auth/core/auth_flow/mfa/state/MfaState.d.ts.map +0 -1
- package/lib/types/custom_auth/core/auth_flow/mfa/state/MfaStateParameters.d.ts +0 -19
- package/lib/types/custom_auth/core/auth_flow/mfa/state/MfaStateParameters.d.ts.map +0 -1
- package/lib/types/custom_auth/core/interaction_client/mfa/MfaClient.d.ts +0 -21
- package/lib/types/custom_auth/core/interaction_client/mfa/MfaClient.d.ts.map +0 -1
- package/lib/types/custom_auth/core/interaction_client/mfa/parameter/MfaClientParameters.d.ts +0 -14
- package/lib/types/custom_auth/core/interaction_client/mfa/parameter/MfaClientParameters.d.ts.map +0 -1
- package/lib/types/custom_auth/core/interaction_client/mfa/result/MfaActionResult.d.ts +0 -23
- package/lib/types/custom_auth/core/interaction_client/mfa/result/MfaActionResult.d.ts.map +0 -1
- package/lib/types/request/AuthorizationUrlRequest.d.ts +0 -7
- package/lib/types/request/AuthorizationUrlRequest.d.ts.map +0 -1
- package/src/cache/ITokenCache.ts +0 -21
- package/src/custom_auth/core/auth_flow/mfa/error_type/MfaError.ts +0 -32
- package/src/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.ts +0 -59
- package/src/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.ts +0 -52
- package/src/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.ts +0 -11
- package/src/custom_auth/core/auth_flow/mfa/state/MfaFailedState.ts +0 -11
- package/src/custom_auth/core/auth_flow/mfa/state/MfaState.ts +0 -188
- package/src/custom_auth/core/auth_flow/mfa/state/MfaStateParameters.ts +0 -28
- package/src/custom_auth/core/interaction_client/mfa/MfaClient.ts +0 -148
- package/src/custom_auth/core/interaction_client/mfa/parameter/MfaClientParameters.ts +0 -20
- package/src/custom_auth/core/interaction_client/mfa/result/MfaActionResult.ts +0 -48
- package/src/request/AuthorizationUrlRequest.ts +0 -15
|
@@ -1,26 +1,28 @@
|
|
|
1
|
-
/*! @azure/msal-browser
|
|
1
|
+
/*! @azure/msal-browser v5.0.0-alpha.0 2025-10-02 */
|
|
2
2
|
'use strict';
|
|
3
|
-
import {
|
|
4
|
-
import { StandardInteractionClient } from './StandardInteractionClient.mjs';
|
|
3
|
+
import { Constants, invokeAsync, ProtocolMode, PerformanceEvents, invoke, AuthError, UrlString } from '@azure/msal-common/browser';
|
|
4
|
+
import { StandardInteractionClient, initializeAuthorizationRequest } from './StandardInteractionClient.mjs';
|
|
5
|
+
import { StandardInteractionClientInitializeAuthorizationRequest, GeneratePkceCodes, StandardInteractionClientCreateAuthCodeClient, DeserializeResponse, HandleResponseCode, StandardInteractionClientGetDiscoveredAuthority, GenerateEarKey, SilentHandlerMonitorIframeForHash, HandleResponseEar } from '../telemetry/BrowserPerformanceEvents.mjs';
|
|
5
6
|
import { EventType } from '../event/EventType.mjs';
|
|
6
7
|
import { InteractionType, ApiId, BrowserConstants } from '../utils/BrowserConstants.mjs';
|
|
7
8
|
import { preconnect, getCurrentUri } from '../utils/BrowserUtils.mjs';
|
|
8
9
|
import { createBrowserAuthError } from '../error/BrowserAuthError.mjs';
|
|
9
10
|
import { deserializeResponse } from '../response/ResponseHandler.mjs';
|
|
10
|
-
import { getAuthCodeRequestUrl, handleResponseCode, getEARForm, handleResponseEAR
|
|
11
|
+
import { getAuthCodeRequestUrl, handleResponseCode, getEARForm, handleResponseEAR } from '../protocol/Authorize.mjs';
|
|
11
12
|
import { generatePkceCodes } from '../crypto/PkceGenerator.mjs';
|
|
12
13
|
import { isPlatformAuthAllowed } from '../broker/nativeBroker/PlatformAuthProvider.mjs';
|
|
13
14
|
import { generateEarKey } from '../crypto/BrowserCrypto.mjs';
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
15
|
+
import { initializeServerTelemetryManager, getDiscoveredAuthority, clearCacheOnLogout } from './BaseInteractionClient.mjs';
|
|
16
|
+
import { monitorPopupForHash } from '../utils/PopupUtils.mjs';
|
|
17
|
+
import { emptyNavigateUri, emptyWindowError, popupWindowError } from '../error/BrowserAuthErrorCodes.mjs';
|
|
16
18
|
|
|
17
19
|
/*
|
|
18
20
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
19
21
|
* Licensed under the MIT License.
|
|
20
22
|
*/
|
|
21
23
|
class PopupClient extends StandardInteractionClient {
|
|
22
|
-
constructor(config, storageImpl, browserCrypto, logger, eventHandler, navigationClient, performanceClient, nativeStorageImpl,
|
|
23
|
-
super(config, storageImpl, browserCrypto, logger, eventHandler, navigationClient, performanceClient,
|
|
24
|
+
constructor(config, storageImpl, browserCrypto, logger, eventHandler, navigationClient, performanceClient, nativeStorageImpl, correlationId, platformAuthHandler) {
|
|
25
|
+
super(config, storageImpl, browserCrypto, logger, eventHandler, navigationClient, performanceClient, correlationId, platformAuthHandler);
|
|
24
26
|
// Properly sets this reference for the unload event.
|
|
25
27
|
this.unloadWindow = this.unloadWindow.bind(this);
|
|
26
28
|
this.nativeStorage = nativeStorageImpl;
|
|
@@ -32,31 +34,25 @@ class PopupClient extends StandardInteractionClient {
|
|
|
32
34
|
* @param pkceCodes
|
|
33
35
|
*/
|
|
34
36
|
acquireToken(request, pkceCodes) {
|
|
35
|
-
let popupParams = undefined;
|
|
36
37
|
try {
|
|
37
|
-
const popupName = this.generatePopupName(request.scopes || OIDC_DEFAULT_SCOPES, request.authority || this.config.auth.authority);
|
|
38
|
-
popupParams = {
|
|
38
|
+
const popupName = this.generatePopupName(request.scopes || Constants.OIDC_DEFAULT_SCOPES, request.authority || this.config.auth.authority);
|
|
39
|
+
const popupParams = {
|
|
39
40
|
popupName,
|
|
40
41
|
popupWindowAttributes: request.popupWindowAttributes || {},
|
|
41
42
|
popupWindowParent: request.popupWindowParent ?? window,
|
|
42
43
|
};
|
|
43
|
-
this.performanceClient.addFields({ isAsyncPopup: this.config.system.
|
|
44
|
-
//
|
|
45
|
-
if (this.config.system.
|
|
46
|
-
this.logger.verbose("
|
|
44
|
+
this.performanceClient.addFields({ isAsyncPopup: !this.config.system.navigatePopups }, this.correlationId);
|
|
45
|
+
// navigatePopups flag is false. Acquires token without first opening popup. Popup will be opened later asynchronously.
|
|
46
|
+
if (!this.config.system.navigatePopups) {
|
|
47
|
+
this.logger.verbose("navigatePopups set to false, acquiring token", this.correlationId);
|
|
47
48
|
// Passes on popup position and dimensions if in request
|
|
48
49
|
return this.acquireTokenPopupAsync(request, popupParams, pkceCodes);
|
|
49
50
|
}
|
|
50
51
|
else {
|
|
51
|
-
//
|
|
52
|
-
|
|
53
|
-
...request,
|
|
54
|
-
httpMethod: validateRequestMethod(request, this.config.auth.protocolMode),
|
|
55
|
-
};
|
|
56
|
-
// asyncPopups flag is set to false. Opens popup before acquiring token.
|
|
57
|
-
this.logger.verbose("asyncPopup set to false, opening popup before acquiring token");
|
|
52
|
+
// navigatePopups flag is set to true. Opens popup before acquiring token.
|
|
53
|
+
this.logger.verbose("navigatePopups set to true, opening popup before acquiring token", this.correlationId);
|
|
58
54
|
popupParams.popup = this.openSizedPopup("about:blank", popupParams);
|
|
59
|
-
return this.acquireTokenPopupAsync(
|
|
55
|
+
return this.acquireTokenPopupAsync(request, popupParams, pkceCodes);
|
|
60
56
|
}
|
|
61
57
|
}
|
|
62
58
|
catch (e) {
|
|
@@ -69,7 +65,7 @@ class PopupClient extends StandardInteractionClient {
|
|
|
69
65
|
*/
|
|
70
66
|
logout(logoutRequest) {
|
|
71
67
|
try {
|
|
72
|
-
this.logger.verbose("logoutPopup called");
|
|
68
|
+
this.logger.verbose("logoutPopup called", this.correlationId);
|
|
73
69
|
const validLogoutRequest = this.initializeLogoutRequest(logoutRequest);
|
|
74
70
|
const popupParams = {
|
|
75
71
|
popupName: this.generateLogoutPopupName(validLogoutRequest),
|
|
@@ -78,15 +74,15 @@ class PopupClient extends StandardInteractionClient {
|
|
|
78
74
|
};
|
|
79
75
|
const authority = logoutRequest && logoutRequest.authority;
|
|
80
76
|
const mainWindowRedirectUri = logoutRequest && logoutRequest.mainWindowRedirectUri;
|
|
81
|
-
//
|
|
82
|
-
if (this.config.system.
|
|
83
|
-
this.logger.verbose("
|
|
77
|
+
// navigatePopups flag set to false. Acquires token without first opening popup. Popup will be opened later asynchronously.
|
|
78
|
+
if (!this.config.system.navigatePopups) {
|
|
79
|
+
this.logger.verbose("navigatePopups set to false", this.correlationId);
|
|
84
80
|
// Passes on popup position and dimensions if in request
|
|
85
81
|
return this.logoutPopupAsync(validLogoutRequest, popupParams, authority, mainWindowRedirectUri);
|
|
86
82
|
}
|
|
87
83
|
else {
|
|
88
|
-
//
|
|
89
|
-
this.logger.verbose("
|
|
84
|
+
// navigatePopups flag is set to true. Opens popup before logging out.
|
|
85
|
+
this.logger.verbose("navigatePopups set to true, opening popup", this.correlationId);
|
|
90
86
|
popupParams.popup = this.openSizedPopup("about:blank", popupParams);
|
|
91
87
|
return this.logoutPopupAsync(validLogoutRequest, popupParams, authority, mainWindowRedirectUri);
|
|
92
88
|
}
|
|
@@ -105,8 +101,8 @@ class PopupClient extends StandardInteractionClient {
|
|
|
105
101
|
* @returns A promise that is fulfilled when this function has completed, or rejected if an error was raised.
|
|
106
102
|
*/
|
|
107
103
|
async acquireTokenPopupAsync(request, popupParams, pkceCodes) {
|
|
108
|
-
this.logger.verbose("acquireTokenPopupAsync called");
|
|
109
|
-
const validRequest = await invokeAsync(
|
|
104
|
+
this.logger.verbose("acquireTokenPopupAsync called", this.correlationId);
|
|
105
|
+
const validRequest = await invokeAsync(initializeAuthorizationRequest, StandardInteractionClientInitializeAuthorizationRequest, this.logger, this.performanceClient, this.correlationId)(request, InteractionType.Popup, this.config, this.browserCrypto, this.browserStorage, this.logger, this.performanceClient, this.correlationId);
|
|
110
106
|
/*
|
|
111
107
|
* Skip pre-connect for async popups to reduce time between user interaction and popup window creation to avoid
|
|
112
108
|
* popup from being blocked by browsers with shorter popup timers
|
|
@@ -114,9 +110,9 @@ class PopupClient extends StandardInteractionClient {
|
|
|
114
110
|
if (popupParams.popup) {
|
|
115
111
|
preconnect(validRequest.authority);
|
|
116
112
|
}
|
|
117
|
-
const isPlatformBroker = isPlatformAuthAllowed(this.config, this.logger, this.platformAuthProvider, request.authenticationScheme);
|
|
113
|
+
const isPlatformBroker = isPlatformAuthAllowed(this.config, this.logger, this.correlationId, this.platformAuthProvider, request.authenticationScheme);
|
|
118
114
|
validRequest.platformBroker = isPlatformBroker;
|
|
119
|
-
if (this.config.
|
|
115
|
+
if (this.config.system.protocolMode === ProtocolMode.EAR) {
|
|
120
116
|
return this.executeEarFlow(validRequest, popupParams);
|
|
121
117
|
}
|
|
122
118
|
else {
|
|
@@ -132,36 +128,31 @@ class PopupClient extends StandardInteractionClient {
|
|
|
132
128
|
*/
|
|
133
129
|
async executeCodeFlow(request, popupParams, pkceCodes) {
|
|
134
130
|
const correlationId = request.correlationId;
|
|
135
|
-
const serverTelemetryManager =
|
|
131
|
+
const serverTelemetryManager = initializeServerTelemetryManager(ApiId.acquireTokenPopup, this.config.auth.clientId, this.correlationId, this.browserStorage, this.logger);
|
|
136
132
|
const pkce = pkceCodes ||
|
|
137
|
-
(await invokeAsync(generatePkceCodes,
|
|
133
|
+
(await invokeAsync(generatePkceCodes, GeneratePkceCodes, this.logger, this.performanceClient, correlationId)(this.performanceClient, this.logger, correlationId));
|
|
138
134
|
const popupRequest = {
|
|
139
135
|
...request,
|
|
140
136
|
codeChallenge: pkce.challenge,
|
|
141
137
|
};
|
|
142
138
|
try {
|
|
143
139
|
// Initialize the client
|
|
144
|
-
const authClient = await invokeAsync(this.createAuthCodeClient.bind(this),
|
|
140
|
+
const authClient = await invokeAsync(this.createAuthCodeClient.bind(this), StandardInteractionClientCreateAuthCodeClient, this.logger, this.performanceClient, correlationId)({
|
|
145
141
|
serverTelemetryManager,
|
|
146
142
|
requestAuthority: popupRequest.authority,
|
|
147
143
|
requestAzureCloudOptions: popupRequest.azureCloudOptions,
|
|
148
144
|
requestExtraQueryParameters: popupRequest.extraQueryParameters,
|
|
149
145
|
account: popupRequest.account,
|
|
150
146
|
});
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
// Monitor the window for the hash. Return the string value and close the popup when the hash is received. Default timeout is 60 seconds.
|
|
161
|
-
const responseString = await this.monitorPopupForHash(popupWindow, popupParams.popupWindowParent);
|
|
162
|
-
const serverParams = invoke(deserializeResponse, PerformanceEvents.DeserializeResponse, this.logger, this.performanceClient, this.correlationId)(responseString, this.config.auth.OIDCOptions.serverResponseType, this.logger);
|
|
163
|
-
return await invokeAsync(handleResponseCode, PerformanceEvents.HandleResponseCode, this.logger, this.performanceClient, correlationId)(request, serverParams, pkce.verifier, ApiId.acquireTokenPopup, this.config, authClient, this.browserStorage, this.nativeStorage, this.eventHandler, this.logger, this.performanceClient, this.platformAuthProvider);
|
|
164
|
-
}
|
|
147
|
+
// Create acquire token url.
|
|
148
|
+
const navigateUrl = await invokeAsync(getAuthCodeRequestUrl, PerformanceEvents.GetAuthCodeUrl, this.logger, this.performanceClient, correlationId)(this.config, authClient.authority, popupRequest, this.logger, this.performanceClient);
|
|
149
|
+
// Show the UI once the url has been created. Get the window handle for the popup.
|
|
150
|
+
const popupWindow = this.initiateAuthRequest(navigateUrl, popupParams);
|
|
151
|
+
this.eventHandler.emitEvent(EventType.POPUP_OPENED, InteractionType.Popup, { popupWindow }, null);
|
|
152
|
+
// Monitor the window for the hash. Return the string value and close the popup when the hash is received. Default timeout is 60 seconds.
|
|
153
|
+
const responseString = await monitorPopupForHash(popupWindow, popupParams.popupWindowParent, this.config.auth.OIDCOptions.responseMode, this.config.system.pollIntervalMilliseconds, this.logger, this.unloadWindow, this.correlationId);
|
|
154
|
+
const serverParams = invoke(deserializeResponse, DeserializeResponse, this.logger, this.performanceClient, this.correlationId)(responseString, this.config.auth.OIDCOptions.responseMode, this.logger, this.correlationId);
|
|
155
|
+
return await invokeAsync(handleResponseCode, HandleResponseCode, this.logger, this.performanceClient, correlationId)(request, serverParams, pkce.verifier, ApiId.acquireTokenPopup, this.config, authClient, this.browserStorage, this.nativeStorage, this.eventHandler, this.logger, this.performanceClient, this.platformAuthProvider);
|
|
165
156
|
}
|
|
166
157
|
catch (e) {
|
|
167
158
|
// Close the synchronous popup if an error is thrown before the window unload event is registered
|
|
@@ -178,15 +169,10 @@ class PopupClient extends StandardInteractionClient {
|
|
|
178
169
|
* @param request
|
|
179
170
|
*/
|
|
180
171
|
async executeEarFlow(request, popupParams) {
|
|
181
|
-
const correlationId = request
|
|
172
|
+
const { correlationId, authority, azureCloudOptions, extraQueryParameters, account, } = request;
|
|
182
173
|
// Get the frame handle for the silent request
|
|
183
|
-
const discoveredAuthority = await invokeAsync(this.
|
|
184
|
-
|
|
185
|
-
requestAzureCloudOptions: request.azureCloudOptions,
|
|
186
|
-
requestExtraQueryParameters: request.extraQueryParameters,
|
|
187
|
-
account: request.account,
|
|
188
|
-
});
|
|
189
|
-
const earJwk = await invokeAsync(generateEarKey, PerformanceEvents.GenerateEarKey, this.logger, this.performanceClient, correlationId)();
|
|
174
|
+
const discoveredAuthority = await invokeAsync(getDiscoveredAuthority, StandardInteractionClientGetDiscoveredAuthority, this.logger, this.performanceClient, correlationId)(this.config, this.correlationId, this.performanceClient, this.browserStorage, this.logger, authority, azureCloudOptions, extraQueryParameters, account);
|
|
175
|
+
const earJwk = await invokeAsync(generateEarKey, GenerateEarKey, this.logger, this.performanceClient, correlationId)();
|
|
190
176
|
const popupRequest = {
|
|
191
177
|
...request,
|
|
192
178
|
earJwk: earJwk,
|
|
@@ -195,26 +181,9 @@ class PopupClient extends StandardInteractionClient {
|
|
|
195
181
|
const form = await getEARForm(popupWindow.document, this.config, discoveredAuthority, popupRequest, this.logger, this.performanceClient);
|
|
196
182
|
form.submit();
|
|
197
183
|
// Monitor the popup for the hash. Return the string value and close the popup when the hash is received. Default timeout is 60 seconds.
|
|
198
|
-
const responseString = await invokeAsync(
|
|
199
|
-
const serverParams = invoke(deserializeResponse,
|
|
200
|
-
return invokeAsync(handleResponseEAR,
|
|
201
|
-
}
|
|
202
|
-
async executeCodeFlowWithPost(request, popupParams, authClient, pkceVerifier) {
|
|
203
|
-
const correlationId = request.correlationId;
|
|
204
|
-
// Get the frame handle for the silent request
|
|
205
|
-
const discoveredAuthority = await invokeAsync(this.getDiscoveredAuthority.bind(this), PerformanceEvents.StandardInteractionClientGetDiscoveredAuthority, this.logger, this.performanceClient, correlationId)({
|
|
206
|
-
requestAuthority: request.authority,
|
|
207
|
-
requestAzureCloudOptions: request.azureCloudOptions,
|
|
208
|
-
requestExtraQueryParameters: request.extraQueryParameters,
|
|
209
|
-
account: request.account,
|
|
210
|
-
});
|
|
211
|
-
const popupWindow = popupParams.popup || this.openPopup("about:blank", popupParams);
|
|
212
|
-
const form = await getCodeForm(popupWindow.document, this.config, discoveredAuthority, request, this.logger, this.performanceClient);
|
|
213
|
-
form.submit();
|
|
214
|
-
// Monitor the popup for the hash. Return the string value and close the popup when the hash is received. Default timeout is 60 seconds.
|
|
215
|
-
const responseString = await invokeAsync(this.monitorPopupForHash.bind(this), PerformanceEvents.SilentHandlerMonitorIframeForHash, this.logger, this.performanceClient, correlationId)(popupWindow, popupParams.popupWindowParent);
|
|
216
|
-
const serverParams = invoke(deserializeResponse, PerformanceEvents.DeserializeResponse, this.logger, this.performanceClient, this.correlationId)(responseString, this.config.auth.OIDCOptions.serverResponseType, this.logger);
|
|
217
|
-
return invokeAsync(handleResponseCode, PerformanceEvents.HandleResponseCode, this.logger, this.performanceClient, correlationId)(request, serverParams, pkceVerifier, ApiId.acquireTokenPopup, this.config, authClient, this.browserStorage, this.nativeStorage, this.eventHandler, this.logger, this.performanceClient, this.platformAuthProvider);
|
|
184
|
+
const responseString = await invokeAsync(monitorPopupForHash, SilentHandlerMonitorIframeForHash, this.logger, this.performanceClient, correlationId)(popupWindow, popupParams.popupWindowParent, this.config.auth.OIDCOptions.responseMode, this.config.system.pollIntervalMilliseconds, this.logger, this.unloadWindow, correlationId);
|
|
185
|
+
const serverParams = invoke(deserializeResponse, DeserializeResponse, this.logger, this.performanceClient, this.correlationId)(responseString, this.config.auth.OIDCOptions.responseMode, this.logger, this.correlationId);
|
|
186
|
+
return invokeAsync(handleResponseEAR, HandleResponseEar, this.logger, this.performanceClient, correlationId)(popupRequest, serverParams, ApiId.acquireTokenPopup, this.config, discoveredAuthority, this.browserStorage, this.nativeStorage, this.eventHandler, this.logger, this.performanceClient, this.platformAuthProvider);
|
|
218
187
|
}
|
|
219
188
|
/**
|
|
220
189
|
*
|
|
@@ -226,14 +195,14 @@ class PopupClient extends StandardInteractionClient {
|
|
|
226
195
|
* @param popupWindowAttributes
|
|
227
196
|
*/
|
|
228
197
|
async logoutPopupAsync(validRequest, popupParams, requestAuthority, mainWindowRedirectUri) {
|
|
229
|
-
this.logger.verbose("logoutPopupAsync called");
|
|
198
|
+
this.logger.verbose("logoutPopupAsync called", this.correlationId);
|
|
230
199
|
this.eventHandler.emitEvent(EventType.LOGOUT_START, InteractionType.Popup, validRequest);
|
|
231
|
-
const serverTelemetryManager =
|
|
200
|
+
const serverTelemetryManager = initializeServerTelemetryManager(ApiId.logoutPopup, this.config.auth.clientId, this.correlationId, this.browserStorage, this.logger);
|
|
232
201
|
try {
|
|
233
202
|
// Clear cache on logout
|
|
234
|
-
await
|
|
203
|
+
await clearCacheOnLogout(this.browserStorage, this.browserCrypto, this.logger, this.correlationId, validRequest.account);
|
|
235
204
|
// Initialize the client
|
|
236
|
-
const authClient = await invokeAsync(this.createAuthCodeClient.bind(this),
|
|
205
|
+
const authClient = await invokeAsync(this.createAuthCodeClient.bind(this), StandardInteractionClientCreateAuthCodeClient, this.logger, this.performanceClient, this.correlationId)({
|
|
237
206
|
serverTelemetryManager,
|
|
238
207
|
requestAuthority: requestAuthority,
|
|
239
208
|
account: validRequest.account || undefined,
|
|
@@ -265,7 +234,7 @@ class PopupClient extends StandardInteractionClient {
|
|
|
265
234
|
// Open the popup window to requestUrl.
|
|
266
235
|
const popupWindow = this.openPopup(logoutUri, popupParams);
|
|
267
236
|
this.eventHandler.emitEvent(EventType.POPUP_OPENED, InteractionType.Popup, { popupWindow }, null);
|
|
268
|
-
await
|
|
237
|
+
await monitorPopupForHash(popupWindow, popupParams.popupWindowParent, this.config.auth.OIDCOptions.responseMode, this.config.system.pollIntervalMilliseconds, this.logger, this.unloadWindow, this.correlationId).catch(() => {
|
|
269
238
|
// Swallow any errors related to monitoring the window. Server logout is best effort
|
|
270
239
|
});
|
|
271
240
|
if (mainWindowRedirectUri) {
|
|
@@ -275,12 +244,12 @@ class PopupClient extends StandardInteractionClient {
|
|
|
275
244
|
noHistory: false,
|
|
276
245
|
};
|
|
277
246
|
const absoluteUrl = UrlString.getAbsoluteUrl(mainWindowRedirectUri, getCurrentUri());
|
|
278
|
-
this.logger.verbose("Redirecting main window to url specified in the request");
|
|
279
|
-
this.logger.verbosePii(`Redirecting main window to: ${absoluteUrl}
|
|
247
|
+
this.logger.verbose("Redirecting main window to url specified in the request", this.correlationId);
|
|
248
|
+
this.logger.verbosePii(`Redirecting main window to: '${absoluteUrl}'`, this.correlationId);
|
|
280
249
|
await this.navigationClient.navigateInternal(absoluteUrl, navigationOptions);
|
|
281
250
|
}
|
|
282
251
|
else {
|
|
283
|
-
this.logger.verbose("No main window navigation requested");
|
|
252
|
+
this.logger.verbose("No main window navigation requested", this.correlationId);
|
|
284
253
|
}
|
|
285
254
|
}
|
|
286
255
|
catch (e) {
|
|
@@ -303,64 +272,16 @@ class PopupClient extends StandardInteractionClient {
|
|
|
303
272
|
initiateAuthRequest(requestUrl, params) {
|
|
304
273
|
// Check that request url is not empty.
|
|
305
274
|
if (requestUrl) {
|
|
306
|
-
this.logger.infoPii(`Navigate to: ${requestUrl}
|
|
275
|
+
this.logger.infoPii(`Navigate to: '${requestUrl}'`, this.correlationId);
|
|
307
276
|
// Open the popup window to requestUrl.
|
|
308
277
|
return this.openPopup(requestUrl, params);
|
|
309
278
|
}
|
|
310
279
|
else {
|
|
311
280
|
// Throw error if request URL is empty.
|
|
312
|
-
this.logger.error("Navigate url is empty");
|
|
281
|
+
this.logger.error("Navigate url is empty", this.correlationId);
|
|
313
282
|
throw createBrowserAuthError(emptyNavigateUri);
|
|
314
283
|
}
|
|
315
284
|
}
|
|
316
|
-
/**
|
|
317
|
-
* Monitors a window until it loads a url with the same origin.
|
|
318
|
-
* @param popupWindow - window that is being monitored
|
|
319
|
-
* @param timeout - timeout for processing hash once popup is redirected back to application
|
|
320
|
-
*/
|
|
321
|
-
monitorPopupForHash(popupWindow, popupWindowParent) {
|
|
322
|
-
return new Promise((resolve, reject) => {
|
|
323
|
-
this.logger.verbose("PopupHandler.monitorPopupForHash - polling started");
|
|
324
|
-
const intervalId = setInterval(() => {
|
|
325
|
-
// Window is closed
|
|
326
|
-
if (popupWindow.closed) {
|
|
327
|
-
this.logger.error("PopupHandler.monitorPopupForHash - window closed");
|
|
328
|
-
clearInterval(intervalId);
|
|
329
|
-
reject(createBrowserAuthError(userCancelled));
|
|
330
|
-
return;
|
|
331
|
-
}
|
|
332
|
-
let href = "";
|
|
333
|
-
try {
|
|
334
|
-
/*
|
|
335
|
-
* Will throw if cross origin,
|
|
336
|
-
* which should be caught and ignored
|
|
337
|
-
* since we need the interval to keep running while on STS UI.
|
|
338
|
-
*/
|
|
339
|
-
href = popupWindow.location.href;
|
|
340
|
-
}
|
|
341
|
-
catch (e) { }
|
|
342
|
-
// Don't process blank pages or cross domain
|
|
343
|
-
if (!href || href === "about:blank") {
|
|
344
|
-
return;
|
|
345
|
-
}
|
|
346
|
-
clearInterval(intervalId);
|
|
347
|
-
let responseString = "";
|
|
348
|
-
const responseType = this.config.auth.OIDCOptions.serverResponseType;
|
|
349
|
-
if (popupWindow) {
|
|
350
|
-
if (responseType === ServerResponseType.QUERY) {
|
|
351
|
-
responseString = popupWindow.location.search;
|
|
352
|
-
}
|
|
353
|
-
else {
|
|
354
|
-
responseString = popupWindow.location.hash;
|
|
355
|
-
}
|
|
356
|
-
}
|
|
357
|
-
this.logger.verbose("PopupHandler.monitorPopupForHash - popup window is on same origin as caller");
|
|
358
|
-
resolve(responseString);
|
|
359
|
-
}, this.config.system.pollIntervalMilliseconds);
|
|
360
|
-
}).finally(() => {
|
|
361
|
-
this.cleanPopup(popupWindow, popupWindowParent);
|
|
362
|
-
});
|
|
363
|
-
}
|
|
364
285
|
/**
|
|
365
286
|
* @hidden
|
|
366
287
|
*
|
|
@@ -380,12 +301,12 @@ class PopupClient extends StandardInteractionClient {
|
|
|
380
301
|
// Popup window passed in, setting url to navigate to
|
|
381
302
|
if (popupParams.popup) {
|
|
382
303
|
popupWindow = popupParams.popup;
|
|
383
|
-
this.logger.verbosePii(`Navigating popup window to: ${urlNavigate}
|
|
304
|
+
this.logger.verbosePii(`Navigating popup window to: '${urlNavigate}'`, this.correlationId);
|
|
384
305
|
popupWindow.location.assign(urlNavigate);
|
|
385
306
|
}
|
|
386
307
|
else if (typeof popupParams.popup === "undefined") {
|
|
387
308
|
// Popup will be undefined if it was not passed in
|
|
388
|
-
this.logger.verbosePii(`Opening popup window to: ${urlNavigate}
|
|
309
|
+
this.logger.verbosePii(`Opening popup window to: '${urlNavigate}'`, this.correlationId);
|
|
389
310
|
popupWindow = this.openSizedPopup(urlNavigate, popupParams);
|
|
390
311
|
}
|
|
391
312
|
// Popup will be null if popups are blocked
|
|
@@ -400,7 +321,7 @@ class PopupClient extends StandardInteractionClient {
|
|
|
400
321
|
return popupWindow;
|
|
401
322
|
}
|
|
402
323
|
catch (e) {
|
|
403
|
-
this.logger.error(
|
|
324
|
+
this.logger.error(`error opening popup '${e.message}'`, this.correlationId);
|
|
404
325
|
throw createBrowserAuthError(popupWindowError);
|
|
405
326
|
}
|
|
406
327
|
}
|
|
@@ -437,19 +358,19 @@ class PopupClient extends StandardInteractionClient {
|
|
|
437
358
|
let top = popupWindowAttributes.popupPosition?.top;
|
|
438
359
|
let left = popupWindowAttributes.popupPosition?.left;
|
|
439
360
|
if (!width || width < 0 || width > winWidth) {
|
|
440
|
-
this.logger.verbose("Default popup window width used. Window width not configured or invalid.");
|
|
361
|
+
this.logger.verbose("Default popup window width used. Window width not configured or invalid.", this.correlationId);
|
|
441
362
|
width = BrowserConstants.POPUP_WIDTH;
|
|
442
363
|
}
|
|
443
364
|
if (!height || height < 0 || height > winHeight) {
|
|
444
|
-
this.logger.verbose("Default popup window height used. Window height not configured or invalid.");
|
|
365
|
+
this.logger.verbose("Default popup window height used. Window height not configured or invalid.", this.correlationId);
|
|
445
366
|
height = BrowserConstants.POPUP_HEIGHT;
|
|
446
367
|
}
|
|
447
368
|
if (!top || top < 0 || top > winHeight) {
|
|
448
|
-
this.logger.verbose("Default popup window top position used. Window top not configured or invalid.");
|
|
369
|
+
this.logger.verbose("Default popup window top position used. Window top not configured or invalid.", this.correlationId);
|
|
449
370
|
top = Math.max(0, winHeight / 2 - BrowserConstants.POPUP_HEIGHT / 2 + winTop);
|
|
450
371
|
}
|
|
451
372
|
if (!left || left < 0 || left > winWidth) {
|
|
452
|
-
this.logger.verbose("Default popup window left position used. Window left not configured or invalid.");
|
|
373
|
+
this.logger.verbose("Default popup window left position used. Window left not configured or invalid.", this.correlationId);
|
|
453
374
|
left = Math.max(0, winWidth / 2 - BrowserConstants.POPUP_WIDTH / 2 + winLeft);
|
|
454
375
|
}
|
|
455
376
|
return popupWindowParent.open(urlNavigate, popupName, `width=${width}, height=${height}, top=${top}, left=${left}, scrollbars=yes`);
|
|
@@ -464,16 +385,6 @@ class PopupClient extends StandardInteractionClient {
|
|
|
464
385
|
// Guarantees browser unload will happen, so no other errors will be thrown.
|
|
465
386
|
e.preventDefault();
|
|
466
387
|
}
|
|
467
|
-
/**
|
|
468
|
-
* Closes popup, removes any state vars created during popup calls.
|
|
469
|
-
* @param popupWindow
|
|
470
|
-
*/
|
|
471
|
-
cleanPopup(popupWindow, popupWindowParent) {
|
|
472
|
-
// Close window.
|
|
473
|
-
popupWindow.close();
|
|
474
|
-
// Remove window unload function
|
|
475
|
-
popupWindowParent.removeEventListener("beforeunload", this.unloadWindow);
|
|
476
|
-
}
|
|
477
388
|
/**
|
|
478
389
|
* Generates the name for the popup based on the client id and request
|
|
479
390
|
* @param clientId
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PopupClient.mjs","sources":["../../src/interaction_client/PopupClient.ts"],"sourcesContent":[null],"names":["BrowserUtils.preconnect","Authorize.getAuthCodeRequestUrl","ResponseHandler.deserializeResponse","Authorize.handleResponseCode","Authorize.getEARForm","Authorize.handleResponseEAR","Authorize.getCodeForm","BrowserUtils.getCurrentUri","BrowserAuthErrorCodes.emptyNavigateUri","BrowserAuthErrorCodes.userCancelled","BrowserAuthErrorCodes.emptyWindowError","BrowserAuthErrorCodes.popupWindowError"],"mappings":";;;;;;;;;;;;;;;;AAAA;;;AAGG;AAyDG,MAAO,WAAY,SAAQ,yBAAyB,CAAA;AAItD,IAAA,WAAA,CACI,MAA4B,EAC5B,WAAgC,EAChC,aAAsB,EACtB,MAAc,EACd,YAA0B,EAC1B,gBAAmC,EACnC,iBAAqC,EACrC,iBAAsC,EACtC,mBAA0C,EAC1C,aAAsB,EAAA;AAEtB,QAAA,KAAK,CACD,MAAM,EACN,WAAW,EACX,aAAa,EACb,MAAM,EACN,YAAY,EACZ,gBAAgB,EAChB,iBAAiB,EACjB,mBAAmB,EACnB,aAAa,CAChB,CAAC;;QAEF,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,I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,CAAC,OAAO,CAAC,aAAa,CAAC;AACvE,QAAA,OAAO,GAAG,gBAAgB,CAAC,iBAAiB,CAAI,CAAA,EAAA,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,QAAQ,IAAI,aAAa,CAAA,CAAA,EAAI,IAAI,CAAC,aAAa,EAAE,CAAC;KACtH;AACJ;;;;"}
|
|
1
|
+
{"version":3,"file":"PopupClient.mjs","sources":["../../src/interaction_client/PopupClient.ts"],"sourcesContent":[null],"names":["BrowserPerformanceEvents.StandardInteractionClientInitializeAuthorizationRequest","BrowserUtils.preconnect","BrowserPerformanceEvents.GeneratePkceCodes","BrowserPerformanceEvents.StandardInteractionClientCreateAuthCodeClient","Authorize.getAuthCodeRequestUrl","ResponseHandler.deserializeResponse","BrowserPerformanceEvents.DeserializeResponse","Authorize.handleResponseCode","BrowserPerformanceEvents.HandleResponseCode","BrowserPerformanceEvents.StandardInteractionClientGetDiscoveredAuthority","BrowserPerformanceEvents.GenerateEarKey","Authorize.getEARForm","BrowserPerformanceEvents.SilentHandlerMonitorIframeForHash","Authorize.handleResponseEAR","BrowserPerformanceEvents.HandleResponseEar","BrowserUtils.getCurrentUri","BrowserAuthErrorCodes.emptyNavigateUri","BrowserAuthErrorCodes.emptyWindowError","BrowserAuthErrorCodes.popupWindowError"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;;;AAGG;AAgEG,MAAO,WAAY,SAAQ,yBAAyB,CAAA;AAItD,IAAA,WAAA,CACI,MAA4B,EAC5B,WAAgC,EAChC,aAAsB,EACtB,MAAc,EACd,YAA0B,EAC1B,gBAAmC,EACnC,iBAAqC,EACrC,iBAAsC,EACtC,aAAqB,EACrB,mBAA0C,EAAA;AAE1C,QAAA,KAAK,CACD,MAAM,EACN,WAAW,EACX,aAAa,EACb,MAAM,EACN,YAAY,EACZ,gBAAgB,EAChB,iBAAiB,EACjB,aAAa,EACb,mBAAmB,CACtB,CAAC;;QAEF,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC,Y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AAC,aAAa,CAAA,CAAE,CAAC;IAC9D,CAAC;AAED;;;;AAIG;AACH,IAAA,uBAAuB,CAAC,OAAgC,EAAA;QACpD,MAAM,aAAa,GAAG,OAAO,CAAC,OAAO,IAAI,OAAO,CAAC,OAAO,CAAC,aAAa,CAAC;AACvE,QAAA,OAAO,GAAG,gBAAgB,CAAC,iBAAiB,CAAA,CAAA,EAAI,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,QAAQ,IAAI,aAAa,CAAA,CAAA,EAAI,IAAI,CAAC,aAAa,EAAE,CAAC;IACvH,CAAC;AACJ;;;;"}
|
|
@@ -8,9 +8,10 @@ import { EventHandler } from "../event/EventHandler.js";
|
|
|
8
8
|
import { INavigationClient } from "../navigation/INavigationClient.js";
|
|
9
9
|
import { AuthenticationResult } from "../response/AuthenticationResult.js";
|
|
10
10
|
import { IPlatformAuthHandler } from "../broker/nativeBroker/IPlatformAuthHandler.js";
|
|
11
|
+
import { HandleRedirectPromiseOptions } from "../controllers/IController.js";
|
|
11
12
|
export declare class RedirectClient extends StandardInteractionClient {
|
|
12
13
|
protected nativeStorage: BrowserCacheManager;
|
|
13
|
-
constructor(config: BrowserConfiguration, storageImpl: BrowserCacheManager, browserCrypto: ICrypto, logger: Logger, eventHandler: EventHandler, navigationClient: INavigationClient, performanceClient: IPerformanceClient, nativeStorageImpl: BrowserCacheManager,
|
|
14
|
+
constructor(config: BrowserConfiguration, storageImpl: BrowserCacheManager, browserCrypto: ICrypto, logger: Logger, eventHandler: EventHandler, navigationClient: INavigationClient, performanceClient: IPerformanceClient, nativeStorageImpl: BrowserCacheManager, correlationId: string, platformAuthHandler?: IPlatformAuthHandler);
|
|
14
15
|
/**
|
|
15
16
|
* Redirects the page to the /authorize endpoint of the IDP
|
|
16
17
|
* @param request
|
|
@@ -21,25 +22,23 @@ export declare class RedirectClient extends StandardInteractionClient {
|
|
|
21
22
|
* @param request
|
|
22
23
|
* @returns
|
|
23
24
|
*/
|
|
24
|
-
executeCodeFlow(request: CommonAuthorizationUrlRequest
|
|
25
|
+
executeCodeFlow(request: CommonAuthorizationUrlRequest): Promise<void>;
|
|
25
26
|
/**
|
|
26
27
|
* Executes EAR flow
|
|
27
28
|
* @param request
|
|
28
29
|
*/
|
|
29
30
|
executeEarFlow(request: CommonAuthorizationUrlRequest): Promise<void>;
|
|
30
|
-
/**
|
|
31
|
-
* Executes classic Authorization Code flow with a POST request.
|
|
32
|
-
* @param request
|
|
33
|
-
*/
|
|
34
|
-
executeCodeFlowWithPost(request: CommonAuthorizationUrlRequest): Promise<void>;
|
|
35
31
|
/**
|
|
36
32
|
* Checks if navigateToLoginRequestUrl is set, and:
|
|
37
33
|
* - if true, performs logic to cache and navigate
|
|
38
34
|
* - if false, handles hash string and parses response
|
|
39
35
|
* @param hash {string} url hash
|
|
40
36
|
* @param parentMeasurement {InProgressPerformanceEvent} parent measurement
|
|
37
|
+
* @param request {CommonAuthorizationUrlRequest} request object
|
|
38
|
+
* @param pkceVerifier {string} PKCE verifier
|
|
39
|
+
* @param options {HandleRedirectPromiseOptions} options for handling redirect promise
|
|
41
40
|
*/
|
|
42
|
-
handleRedirectPromise(
|
|
41
|
+
handleRedirectPromise(request: CommonAuthorizationUrlRequest, pkceVerifier: string, parentMeasurement: InProgressPerformanceEvent, options?: HandleRedirectPromiseOptions): Promise<AuthenticationResult | null>;
|
|
43
42
|
/**
|
|
44
43
|
* Gets the response hash for a redirect request
|
|
45
44
|
* Returns null if interactionType in the state value is not "redirect" or the hash does not contain known properties
|
|
@@ -57,7 +56,7 @@ export declare class RedirectClient extends StandardInteractionClient {
|
|
|
57
56
|
* @param urlNavigate
|
|
58
57
|
* @param onRedirectNavigateRequest - onRedirectNavigate callback provided on the request
|
|
59
58
|
*/
|
|
60
|
-
initiateAuthRequest(requestUrl: string
|
|
59
|
+
initiateAuthRequest(requestUrl: string): Promise<void>;
|
|
61
60
|
/**
|
|
62
61
|
* Use to log out the current user, and redirect the user to the postLogoutRedirectUri.
|
|
63
62
|
* Default behaviour is to redirect the user to `window.location.href`.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RedirectClient.d.ts","sourceRoot":"","sources":["../../src/interaction_client/RedirectClient.ts"],"names":[],"mappings":"AAKA,OAAO,EAIH,sBAAsB,
|
|
1
|
+
{"version":3,"file":"RedirectClient.d.ts","sourceRoot":"","sources":["../../src/interaction_client/RedirectClient.ts"],"names":[],"mappings":"AAKA,OAAO,EAIH,sBAAsB,EACtB,iBAAiB,EACjB,OAAO,EACP,MAAM,EACN,kBAAkB,EAMlB,0BAA0B,EAC1B,6BAA6B,EAChC,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAEH,yBAAyB,EAC5B,MAAM,gCAAgC,CAAC;AASxC,OAAO,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAC;AAOpE,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAChE,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAClE,OAAO,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AACtE,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACxD,OAAO,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAC;AAEvE,OAAO,EAAE,oBAAoB,EAAE,MAAM,qCAAqC,CAAC;AAM3E,OAAO,EAAE,oBAAoB,EAAE,MAAM,gDAAgD,CAAC;AAMtF,OAAO,EAAE,4BAA4B,EAAE,MAAM,+BAA+B,CAAC;AAkB7E,qBAAa,cAAe,SAAQ,yBAAyB;IACzD,SAAS,CAAC,aAAa,EAAE,mBAAmB,CAAC;gBAGzC,MAAM,EAAE,oBAAoB,EAC5B,WAAW,EAAE,mBAAmB,EAChC,aAAa,EAAE,OAAO,EACtB,MAAM,EAAE,MAAM,EACd,YAAY,EAAE,YAAY,EAC1B,gBAAgB,EAAE,iBAAiB,EACnC,iBAAiB,EAAE,kBAAkB,EACrC,iBAAiB,EAAE,mBAAmB,EACtC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