@azure/msal-browser 5.0.0-alpha.0 → 5.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +24 -32
- package/dist/app/IPublicClientApplication.d.ts +2 -2
- package/dist/app/IPublicClientApplication.d.ts.map +1 -1
- package/dist/app/IPublicClientApplication.mjs +1 -1
- package/dist/app/IPublicClientApplication.mjs.map +1 -1
- package/dist/app/PublicClientApplication.d.ts +5 -9
- package/dist/app/PublicClientApplication.d.ts.map +1 -1
- package/dist/app/PublicClientApplication.mjs +11 -19
- package/dist/app/PublicClientApplication.mjs.map +1 -1
- package/dist/broker/nativeBroker/NativeStatusCodes.mjs +1 -1
- package/dist/broker/nativeBroker/PlatformAuthDOMHandler.mjs +9 -9
- package/dist/broker/nativeBroker/PlatformAuthDOMHandler.mjs.map +1 -1
- package/dist/broker/nativeBroker/PlatformAuthExtensionHandler.mjs +17 -17
- package/dist/broker/nativeBroker/PlatformAuthExtensionHandler.mjs.map +1 -1
- package/dist/broker/nativeBroker/PlatformAuthProvider.mjs +12 -12
- package/dist/broker/nativeBroker/PlatformAuthProvider.mjs.map +1 -1
- package/dist/cache/AccountManager.d.ts +0 -25
- package/dist/cache/AccountManager.d.ts.map +1 -1
- package/dist/cache/AccountManager.mjs +7 -86
- package/dist/cache/AccountManager.mjs.map +1 -1
- package/dist/cache/AsyncMemoryStorage.mjs +9 -9
- package/dist/cache/AsyncMemoryStorage.mjs.map +1 -1
- package/dist/cache/BrowserCacheManager.d.ts +65 -8
- package/dist/cache/BrowserCacheManager.d.ts.map +1 -1
- package/dist/cache/BrowserCacheManager.mjs +475 -209
- 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.d.ts +3 -3
- package/dist/cache/CacheKeys.mjs +4 -4
- 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/IWindowStorage.d.ts +1 -1
- package/dist/cache/IWindowStorage.d.ts.map +1 -1
- package/dist/cache/LocalStorage.d.ts +1 -1
- package/dist/cache/LocalStorage.d.ts.map +1 -1
- package/dist/cache/LocalStorage.mjs +26 -17
- 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 +7 -5
- package/dist/cache/TokenCache.d.ts.map +1 -1
- package/dist/cache/TokenCache.mjs +62 -49
- package/dist/cache/TokenCache.mjs.map +1 -1
- package/dist/config/Configuration.d.ts +4 -12
- package/dist/config/Configuration.d.ts.map +1 -1
- package/dist/config/Configuration.mjs +7 -9
- package/dist/config/Configuration.mjs.map +1 -1
- package/dist/controllers/IController.d.ts +2 -57
- package/dist/controllers/IController.d.ts.map +1 -1
- package/dist/controllers/NestedAppAuthController.d.ts +4 -43
- package/dist/controllers/NestedAppAuthController.d.ts.map +1 -1
- package/dist/controllers/NestedAppAuthController.mjs +30 -82
- package/dist/controllers/NestedAppAuthController.mjs.map +1 -1
- package/dist/controllers/StandardController.d.ts +3 -27
- package/dist/controllers/StandardController.d.ts.map +1 -1
- package/dist/controllers/StandardController.mjs +80 -135
- package/dist/controllers/StandardController.mjs.map +1 -1
- package/dist/controllers/UnknownOperatingContextController.d.ts +4 -13
- package/dist/controllers/UnknownOperatingContextController.d.ts.map +1 -1
- package/dist/crypto/BrowserCrypto.mjs +1 -1
- package/dist/crypto/BrowserCrypto.mjs.map +1 -1
- package/dist/crypto/CryptoOps.mjs +3 -3
- package/dist/crypto/CryptoOps.mjs.map +1 -1
- package/dist/crypto/PkceGenerator.mjs +1 -1
- package/dist/crypto/PkceGenerator.mjs.map +1 -1
- package/dist/crypto/SignedHttpRequest.mjs +1 -1
- package/dist/crypto/SignedHttpRequest.mjs.map +1 -1
- package/dist/custom-auth-path/app/IPublicClientApplication.d.ts +2 -2
- package/dist/custom-auth-path/app/IPublicClientApplication.d.ts.map +1 -1
- package/dist/custom-auth-path/app/PublicClientApplication.d.ts +5 -9
- package/dist/custom-auth-path/app/PublicClientApplication.d.ts.map +1 -1
- package/dist/custom-auth-path/app/PublicClientApplication.mjs +2 -14
- package/dist/custom-auth-path/app/PublicClientApplication.mjs.map +1 -1
- package/dist/custom-auth-path/broker/nativeBroker/NativeStatusCodes.mjs +1 -1
- package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthDOMHandler.mjs +9 -9
- package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthDOMHandler.mjs.map +1 -1
- package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthExtensionHandler.mjs +17 -17
- package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthExtensionHandler.mjs.map +1 -1
- package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthProvider.mjs +10 -10
- package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthProvider.mjs.map +1 -1
- package/dist/custom-auth-path/cache/AccountManager.d.ts +0 -25
- package/dist/custom-auth-path/cache/AccountManager.d.ts.map +1 -1
- package/dist/custom-auth-path/cache/AccountManager.mjs +7 -86
- package/dist/custom-auth-path/cache/AccountManager.mjs.map +1 -1
- package/dist/custom-auth-path/cache/AsyncMemoryStorage.mjs +9 -9
- package/dist/custom-auth-path/cache/AsyncMemoryStorage.mjs.map +1 -1
- package/dist/custom-auth-path/cache/BrowserCacheManager.d.ts +65 -8
- package/dist/custom-auth-path/cache/BrowserCacheManager.d.ts.map +1 -1
- package/dist/custom-auth-path/cache/BrowserCacheManager.mjs +475 -209
- 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.d.ts +3 -3
- package/dist/custom-auth-path/cache/CacheKeys.mjs +4 -4
- 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/IWindowStorage.d.ts +1 -1
- package/dist/custom-auth-path/cache/IWindowStorage.d.ts.map +1 -1
- package/dist/custom-auth-path/cache/LocalStorage.d.ts +1 -1
- package/dist/custom-auth-path/cache/LocalStorage.d.ts.map +1 -1
- package/dist/custom-auth-path/cache/LocalStorage.mjs +26 -17
- 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 +7 -5
- package/dist/custom-auth-path/cache/TokenCache.d.ts.map +1 -1
- package/dist/custom-auth-path/config/Configuration.d.ts +4 -12
- package/dist/custom-auth-path/config/Configuration.d.ts.map +1 -1
- package/dist/custom-auth-path/config/Configuration.mjs +7 -9
- package/dist/custom-auth-path/config/Configuration.mjs.map +1 -1
- package/dist/custom-auth-path/controllers/IController.d.ts +2 -57
- package/dist/custom-auth-path/controllers/IController.d.ts.map +1 -1
- package/dist/custom-auth-path/controllers/NestedAppAuthController.d.ts +4 -43
- package/dist/custom-auth-path/controllers/NestedAppAuthController.d.ts.map +1 -1
- package/dist/custom-auth-path/controllers/StandardController.d.ts +3 -27
- package/dist/custom-auth-path/controllers/StandardController.d.ts.map +1 -1
- package/dist/custom-auth-path/controllers/StandardController.mjs +80 -135
- package/dist/custom-auth-path/controllers/StandardController.mjs.map +1 -1
- package/dist/custom-auth-path/controllers/UnknownOperatingContextController.d.ts +4 -13
- package/dist/custom-auth-path/controllers/UnknownOperatingContextController.d.ts.map +1 -1
- package/dist/custom-auth-path/crypto/BrowserCrypto.mjs +1 -1
- package/dist/custom-auth-path/crypto/BrowserCrypto.mjs.map +1 -1
- package/dist/custom-auth-path/crypto/CryptoOps.mjs +3 -3
- package/dist/custom-auth-path/crypto/CryptoOps.mjs.map +1 -1
- package/dist/custom-auth-path/crypto/PkceGenerator.mjs +1 -1
- package/dist/custom-auth-path/crypto/PkceGenerator.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/CustomAuthConstants.d.ts +2 -1
- package/dist/custom-auth-path/custom_auth/CustomAuthConstants.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/CustomAuthConstants.mjs +2 -1
- 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 +1 -0
- package/dist/custom-auth-path/custom_auth/controller/CustomAuthStandardController.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/controller/CustomAuthStandardController.mjs +50 -31
- package/dist/custom-auth-path/custom_auth/controller/CustomAuthStandardController.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/CustomAuthAuthority.d.ts +2 -2
- package/dist/custom-auth-path/custom_auth/core/CustomAuthAuthority.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/CustomAuthAuthority.mjs +4 -4
- 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 +2 -1
- 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 +13 -5
- 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.d.ts +4 -0
- package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowState.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowState.mjs +3 -3
- 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/AuthFlowStateTypes.d.ts +29 -0
- package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowStateTypes.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowStateTypes.mjs +45 -0
- package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowStateTypes.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.d.ts +5 -0
- 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 +9 -2
- 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.d.ts +9 -3
- package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationChallengeMethodResult.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationChallengeMethodResult.mjs +7 -6
- 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.d.ts +6 -2
- package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationSubmitChallengeResult.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationSubmitChallengeResult.mjs +5 -4
- 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.d.ts +7 -0
- package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationCompletedState.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationCompletedState.mjs +12 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationCompletedState.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationFailedState.d.ts +7 -0
- package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationFailedState.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationFailedState.mjs +12 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationFailedState.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationState.d.ts +8 -0
- package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationState.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationState.mjs +25 -10
- 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/auth_flow/mfa/error_type/MfaError.d.ts +27 -0
- package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/error_type/MfaError.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/error_type/MfaError.mjs +42 -0
- package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/error_type/MfaError.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.d.ts +40 -0
- package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.mjs +46 -0
- package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.d.ts +34 -0
- package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.mjs +45 -0
- package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.d.ts +11 -0
- package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.mjs +24 -0
- package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaFailedState.d.ts +11 -0
- package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaFailedState.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaFailedState.mjs +24 -0
- package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaFailedState.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaState.d.ts +67 -0
- package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaState.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaState.mjs +140 -0
- package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaState.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaStateParameters.d.ts +19 -0
- package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaStateParameters.d.ts.map +1 -0
- 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.mjs +3 -3
- 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 +2 -8
- 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 +21 -39
- 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 +0 -1
- 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 +2 -11
- 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 +2 -9
- 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/interaction_client/mfa/MfaClient.d.ts +21 -0
- package/dist/custom-auth-path/custom_auth/core/interaction_client/mfa/MfaClient.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/interaction_client/mfa/MfaClient.mjs +88 -0
- package/dist/custom-auth-path/custom_auth/core/interaction_client/mfa/MfaClient.mjs.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/interaction_client/mfa/parameter/MfaClientParameters.d.ts +14 -0
- package/dist/custom-auth-path/custom_auth/core/interaction_client/mfa/parameter/MfaClientParameters.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/interaction_client/mfa/result/MfaActionResult.d.ts +23 -0
- package/dist/custom-auth-path/custom_auth/core/interaction_client/mfa/result/MfaActionResult.d.ts.map +1 -0
- package/dist/custom-auth-path/custom_auth/core/interaction_client/mfa/result/MfaActionResult.mjs +24 -0
- package/dist/custom-auth-path/custom_auth/core/interaction_client/mfa/result/MfaActionResult.mjs.map +1 -0
- 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.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.mjs +2 -2
- 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 +1 -0
- 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 +3 -2
- 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 +7 -2
- 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 +14 -3
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/SignInApiClient.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/SignupApiClient.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/SignupApiClient.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiErrorCodes.d.ts +1 -0
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiErrorCodes.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiErrorCodes.mjs +4 -3
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiErrorCodes.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts +5 -0
- 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 +5 -1
- 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 +2 -0
- 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 +5 -3
- 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.mjs +4 -4
- 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 +4 -3
- 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 +7 -5
- 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 +8 -8
- 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.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/result/GetAccessTokenResult.mjs +4 -3
- 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.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/result/GetAccountResult.mjs +4 -3
- 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.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/result/SignOutResult.mjs +4 -3
- 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.d.ts +8 -0
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/state/GetAccessTokenState.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/state/GetAccessTokenState.mjs +16 -1
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/state/GetAccessTokenState.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/state/GetAccountState.d.ts +8 -0
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/state/GetAccountState.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/state/GetAccountState.mjs +16 -1
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/state/GetAccountState.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/state/SignOutState.d.ts +8 -0
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/state/SignOutState.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/state/SignOutState.mjs +16 -1
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/state/SignOutState.mjs.map +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 +20 -18
- package/dist/custom-auth-path/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/index.d.ts +7 -0
- package/dist/custom-auth-path/custom_auth/index.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/index.mjs +7 -1
- package/dist/custom-auth-path/custom_auth/index.mjs.map +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.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordResendCodeResult.mjs +4 -7
- 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.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordStartResult.mjs +4 -4
- 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.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitCodeResult.mjs +4 -4
- 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.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitPasswordResult.mjs +4 -4
- 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.d.ts +4 -0
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordCodeRequiredState.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordCodeRequiredState.mjs +17 -7
- 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.d.ts +4 -0
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordCompletedState.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordCompletedState.mjs +9 -1
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordCompletedState.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordFailedState.d.ts +4 -0
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordFailedState.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordFailedState.mjs +9 -1
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordFailedState.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordPasswordRequiredState.d.ts +4 -0
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordPasswordRequiredState.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordPasswordRequiredState.mjs +13 -4
- 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/auth_flow/state/ResetPasswordStateParameters.d.ts +2 -0
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordStateParameters.d.ts.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 +29 -28
- 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.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInResendCodeResult.mjs +4 -3
- 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.d.ts +10 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInResult.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInResult.mjs +15 -10
- 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.d.ts +19 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.mjs +19 -4
- 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.d.ts +10 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.mjs +13 -6
- 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 +4 -0
- 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 +21 -11
- 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.d.ts +4 -0
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInCompletedState.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInCompletedState.mjs +9 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInCompletedState.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInContinuationState.d.ts +4 -0
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInContinuationState.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInContinuationState.mjs +16 -36
- 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.d.ts +4 -0
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInFailedState.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInFailedState.mjs +9 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInFailedState.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.d.ts +4 -0
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.mjs +16 -33
- 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.d.ts +16 -0
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInState.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInState.mjs +68 -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/auth_flow/state/SignInStateParameters.d.ts +2 -0
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInStateParameters.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/SignInClient.d.ts +8 -6
- 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 +86 -59
- 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 +6 -0
- 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 +9 -2
- 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.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpResendCodeResult.mjs +4 -7
- 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.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpResult.mjs +6 -8
- 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.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpSubmitAttributesResult.mjs +4 -4
- 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.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpSubmitCodeResult.mjs +6 -8
- 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.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpSubmitPasswordResult.mjs +5 -6
- 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.d.ts +4 -0
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.mjs +15 -6
- 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.d.ts +4 -0
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.mjs +22 -10
- 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.d.ts +5 -1
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpCompletedState.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpCompletedState.mjs +10 -2
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpCompletedState.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpFailedState.d.ts +4 -0
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpFailedState.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpFailedState.mjs +9 -1
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpFailedState.mjs.map +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpPasswordRequiredState.d.ts +4 -0
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpPasswordRequiredState.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpPasswordRequiredState.mjs +16 -6
- 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/auth_flow/state/SignUpStateParameters.d.ts +2 -0
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpStateParameters.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/interaction_client/SignUpClient.d.ts +4 -4
- 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 +55 -50
- 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.mjs +1 -1
- package/dist/custom-auth-path/error/BrowserAuthError.mjs.map +1 -1
- package/dist/custom-auth-path/error/BrowserAuthErrorCodes.d.ts +3 -2
- package/dist/custom-auth-path/error/BrowserAuthErrorCodes.d.ts.map +1 -1
- package/dist/custom-auth-path/error/BrowserAuthErrorCodes.mjs +6 -4
- package/dist/custom-auth-path/error/BrowserAuthErrorCodes.mjs.map +1 -1
- package/dist/custom-auth-path/error/BrowserConfigurationAuthError.mjs +1 -1
- package/dist/custom-auth-path/error/BrowserConfigurationAuthError.mjs.map +1 -1
- package/dist/custom-auth-path/error/BrowserConfigurationAuthErrorCodes.mjs +1 -1
- package/dist/custom-auth-path/error/NativeAuthError.d.ts.map +1 -1
- package/dist/custom-auth-path/error/NativeAuthError.mjs +3 -2
- 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 +3 -2
- package/dist/custom-auth-path/error/NativeAuthErrorCodes.mjs.map +1 -1
- package/dist/custom-auth-path/event/EventHandler.mjs +5 -5
- package/dist/custom-auth-path/event/EventHandler.mjs.map +1 -1
- package/dist/custom-auth-path/event/EventType.mjs +1 -1
- package/dist/custom-auth-path/event/EventType.mjs.map +1 -1
- package/dist/custom-auth-path/index.d.ts +4 -4
- package/dist/custom-auth-path/index.d.ts.map +1 -1
- package/dist/custom-auth-path/interaction_client/BaseInteractionClient.mjs +7 -7
- package/dist/custom-auth-path/interaction_client/BaseInteractionClient.mjs.map +1 -1
- package/dist/custom-auth-path/interaction_client/HybridSpaAuthorizationCodeClient.mjs +1 -1
- package/dist/custom-auth-path/interaction_client/HybridSpaAuthorizationCodeClient.mjs.map +1 -1
- package/dist/custom-auth-path/interaction_client/PlatformAuthInteractionClient.d.ts +2 -2
- package/dist/custom-auth-path/interaction_client/PlatformAuthInteractionClient.d.ts.map +1 -1
- package/dist/custom-auth-path/interaction_client/PlatformAuthInteractionClient.mjs +27 -28
- package/dist/custom-auth-path/interaction_client/PlatformAuthInteractionClient.mjs.map +1 -1
- package/dist/custom-auth-path/interaction_client/PopupClient.d.ts +3 -6
- package/dist/custom-auth-path/interaction_client/PopupClient.d.ts.map +1 -1
- package/dist/custom-auth-path/interaction_client/PopupClient.mjs +78 -52
- package/dist/custom-auth-path/interaction_client/PopupClient.mjs.map +1 -1
- package/dist/custom-auth-path/interaction_client/RedirectClient.d.ts +6 -1
- package/dist/custom-auth-path/interaction_client/RedirectClient.d.ts.map +1 -1
- package/dist/custom-auth-path/interaction_client/RedirectClient.mjs +67 -63
- package/dist/custom-auth-path/interaction_client/RedirectClient.mjs.map +1 -1
- package/dist/custom-auth-path/interaction_client/SilentAuthCodeClient.mjs +2 -2
- package/dist/custom-auth-path/interaction_client/SilentAuthCodeClient.mjs.map +1 -1
- package/dist/custom-auth-path/interaction_client/SilentCacheClient.mjs +4 -4
- package/dist/custom-auth-path/interaction_client/SilentCacheClient.mjs.map +1 -1
- package/dist/custom-auth-path/interaction_client/SilentIframeClient.d.ts.map +1 -1
- package/dist/custom-auth-path/interaction_client/SilentIframeClient.mjs +37 -17
- package/dist/custom-auth-path/interaction_client/SilentIframeClient.mjs.map +1 -1
- package/dist/custom-auth-path/interaction_client/SilentRefreshClient.mjs +1 -1
- package/dist/custom-auth-path/interaction_client/SilentRefreshClient.mjs.map +1 -1
- package/dist/custom-auth-path/interaction_client/StandardInteractionClient.d.ts +3 -1
- package/dist/custom-auth-path/interaction_client/StandardInteractionClient.d.ts.map +1 -1
- package/dist/custom-auth-path/interaction_client/StandardInteractionClient.mjs +23 -18
- package/dist/custom-auth-path/interaction_client/StandardInteractionClient.mjs.map +1 -1
- package/dist/custom-auth-path/interaction_handler/InteractionHandler.d.ts.map +1 -1
- package/dist/custom-auth-path/interaction_handler/InteractionHandler.mjs +3 -7
- package/dist/custom-auth-path/interaction_handler/InteractionHandler.mjs.map +1 -1
- package/dist/custom-auth-path/interaction_handler/SilentHandler.d.ts +2 -7
- package/dist/custom-auth-path/interaction_handler/SilentHandler.d.ts.map +1 -1
- package/dist/custom-auth-path/interaction_handler/SilentHandler.mjs +17 -68
- package/dist/custom-auth-path/interaction_handler/SilentHandler.mjs.map +1 -1
- package/dist/custom-auth-path/log-strings-mapping.json +1703 -0
- 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.mjs +1 -1
- package/dist/custom-auth-path/operatingcontext/BaseOperatingContext.mjs.map +1 -1
- package/dist/custom-auth-path/operatingcontext/StandardOperatingContext.mjs +1 -1
- 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 +4 -0
- package/dist/custom-auth-path/protocol/Authorize.d.ts.map +1 -1
- package/dist/custom-auth-path/protocol/Authorize.mjs +32 -6
- package/dist/custom-auth-path/protocol/Authorize.mjs.map +1 -1
- package/dist/custom-auth-path/redirect_bridge/index.d.ts +16 -0
- package/dist/custom-auth-path/redirect_bridge/index.d.ts.map +1 -0
- package/dist/custom-auth-path/request/AuthorizationCodeRequest.d.ts +18 -0
- package/dist/custom-auth-path/request/AuthorizationCodeRequest.d.ts.map +1 -1
- package/dist/custom-auth-path/request/ClearCacheRequest.d.ts +6 -2
- package/dist/custom-auth-path/request/ClearCacheRequest.d.ts.map +1 -1
- package/dist/custom-auth-path/request/EndSessionPopupRequest.d.ts +13 -10
- package/dist/custom-auth-path/request/EndSessionPopupRequest.d.ts.map +1 -1
- package/dist/custom-auth-path/request/EndSessionRequest.d.ts +4 -9
- package/dist/custom-auth-path/request/EndSessionRequest.d.ts.map +1 -1
- package/dist/custom-auth-path/request/HandleRedirectPromiseOptions.d.ts +5 -0
- package/dist/custom-auth-path/request/HandleRedirectPromiseOptions.d.ts.map +1 -0
- package/dist/custom-auth-path/request/InitializeApplicationRequest.d.ts +3 -2
- package/dist/custom-auth-path/request/InitializeApplicationRequest.d.ts.map +1 -1
- package/dist/custom-auth-path/request/PopupRequest.d.ts +13 -24
- package/dist/custom-auth-path/request/PopupRequest.d.ts.map +1 -1
- package/dist/custom-auth-path/request/RedirectRequest.d.ts +6 -23
- package/dist/custom-auth-path/request/RedirectRequest.d.ts.map +1 -1
- package/dist/custom-auth-path/request/RequestHelpers.d.ts +11 -1
- package/dist/custom-auth-path/request/RequestHelpers.d.ts.map +1 -1
- package/dist/custom-auth-path/request/RequestHelpers.mjs +30 -5
- package/dist/custom-auth-path/request/RequestHelpers.mjs.map +1 -1
- package/dist/custom-auth-path/request/SilentRequest.d.ts +33 -14
- package/dist/custom-auth-path/request/SilentRequest.d.ts.map +1 -1
- package/dist/custom-auth-path/request/SsoSilentRequest.d.ts +0 -22
- package/dist/custom-auth-path/request/SsoSilentRequest.d.ts.map +1 -1
- package/dist/custom-auth-path/response/ResponseHandler.mjs +4 -4
- package/dist/custom-auth-path/response/ResponseHandler.mjs.map +1 -1
- package/dist/custom-auth-path/telemetry/BrowserPerformanceClient.d.ts.map +1 -1
- package/dist/custom-auth-path/telemetry/BrowserPerformanceEvents.d.ts +4 -1
- package/dist/custom-auth-path/telemetry/BrowserPerformanceEvents.d.ts.map +1 -1
- package/dist/custom-auth-path/telemetry/BrowserPerformanceEvents.mjs +2 -4
- package/dist/custom-auth-path/telemetry/BrowserPerformanceEvents.mjs.map +1 -1
- package/dist/custom-auth-path/telemetry/BrowserRootPerformanceEvents.d.ts +1 -0
- package/dist/custom-auth-path/telemetry/BrowserRootPerformanceEvents.d.ts.map +1 -1
- package/dist/custom-auth-path/telemetry/BrowserRootPerformanceEvents.mjs +1 -1
- package/dist/custom-auth-path/utils/BrowserConstants.d.ts +0 -4
- package/dist/custom-auth-path/utils/BrowserConstants.d.ts.map +1 -1
- package/dist/custom-auth-path/utils/BrowserConstants.mjs +1 -5
- package/dist/custom-auth-path/utils/BrowserConstants.mjs.map +1 -1
- package/dist/custom-auth-path/utils/BrowserProtocolUtils.mjs +2 -2
- package/dist/custom-auth-path/utils/BrowserProtocolUtils.mjs.map +1 -1
- package/dist/custom-auth-path/utils/BrowserUtils.d.ts +36 -2
- package/dist/custom-auth-path/utils/BrowserUtils.d.ts.map +1 -1
- package/dist/custom-auth-path/utils/BrowserUtils.mjs +152 -10
- 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.mjs +2 -2
- package/dist/custom-auth-path/utils/MsalFrameStatsUtils.mjs.map +1 -1
- package/dist/custom_auth/CustomAuthConstants.d.ts +2 -1
- package/dist/custom_auth/CustomAuthConstants.d.ts.map +1 -1
- package/dist/custom_auth/controller/CustomAuthStandardController.d.ts +1 -0
- package/dist/custom_auth/controller/CustomAuthStandardController.d.ts.map +1 -1
- package/dist/custom_auth/core/CustomAuthAuthority.d.ts +2 -2
- package/dist/custom_auth/core/CustomAuthAuthority.d.ts.map +1 -1
- package/dist/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts +2 -1
- package/dist/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts.map +1 -1
- package/dist/custom_auth/core/auth_flow/AuthFlowState.d.ts +4 -0
- package/dist/custom_auth/core/auth_flow/AuthFlowState.d.ts.map +1 -1
- package/dist/custom_auth/core/auth_flow/AuthFlowStateTypes.d.ts +29 -0
- package/dist/custom_auth/core/auth_flow/AuthFlowStateTypes.d.ts.map +1 -0
- package/dist/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.d.ts +5 -0
- package/dist/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.d.ts.map +1 -1
- package/dist/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationChallengeMethodResult.d.ts +9 -3
- package/dist/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationChallengeMethodResult.d.ts.map +1 -1
- package/dist/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationSubmitChallengeResult.d.ts +6 -2
- package/dist/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationSubmitChallengeResult.d.ts.map +1 -1
- package/dist/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationCompletedState.d.ts +7 -0
- package/dist/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationCompletedState.d.ts.map +1 -1
- package/dist/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationFailedState.d.ts +7 -0
- package/dist/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationFailedState.d.ts.map +1 -1
- package/dist/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationState.d.ts +8 -0
- package/dist/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationState.d.ts.map +1 -1
- package/dist/custom_auth/core/auth_flow/mfa/error_type/MfaError.d.ts +27 -0
- package/dist/custom_auth/core/auth_flow/mfa/error_type/MfaError.d.ts.map +1 -0
- package/dist/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.d.ts +40 -0
- package/dist/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.d.ts.map +1 -0
- package/dist/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.d.ts +34 -0
- package/dist/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.d.ts.map +1 -0
- package/dist/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.d.ts +11 -0
- package/dist/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.d.ts.map +1 -0
- package/dist/custom_auth/core/auth_flow/mfa/state/MfaFailedState.d.ts +11 -0
- package/dist/custom_auth/core/auth_flow/mfa/state/MfaFailedState.d.ts.map +1 -0
- package/dist/custom_auth/core/auth_flow/mfa/state/MfaState.d.ts +67 -0
- package/dist/custom_auth/core/auth_flow/mfa/state/MfaState.d.ts.map +1 -0
- package/dist/custom_auth/core/auth_flow/mfa/state/MfaStateParameters.d.ts +19 -0
- package/dist/custom_auth/core/auth_flow/mfa/state/MfaStateParameters.d.ts.map +1 -0
- package/dist/custom_auth/core/interaction_client/jit/JitClient.d.ts +2 -8
- 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 +0 -1
- 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 +2 -11
- package/dist/custom_auth/core/interaction_client/jit/result/JitActionResult.d.ts.map +1 -1
- package/dist/custom_auth/core/interaction_client/mfa/MfaClient.d.ts +21 -0
- package/dist/custom_auth/core/interaction_client/mfa/MfaClient.d.ts.map +1 -0
- package/dist/custom_auth/core/interaction_client/mfa/parameter/MfaClientParameters.d.ts +14 -0
- package/dist/custom_auth/core/interaction_client/mfa/parameter/MfaClientParameters.d.ts.map +1 -0
- package/dist/custom_auth/core/interaction_client/mfa/result/MfaActionResult.d.ts +23 -0
- package/dist/custom_auth/core/interaction_client/mfa/result/MfaActionResult.d.ts.map +1 -0
- package/dist/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.d.ts.map +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.d.ts +1 -0
- 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 +7 -2
- 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/ApiErrorCodes.d.ts +1 -0
- package/dist/custom_auth/core/network_client/custom_auth_api/types/ApiErrorCodes.d.ts.map +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts +5 -0
- 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 +5 -1
- 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 +2 -0
- package/dist/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.d.ts.map +1 -1
- package/dist/custom_auth/core/telemetry/PublicApiId.d.ts +4 -3
- package/dist/custom_auth/core/telemetry/PublicApiId.d.ts.map +1 -1
- package/dist/custom_auth/get_account/auth_flow/result/GetAccessTokenResult.d.ts.map +1 -1
- package/dist/custom_auth/get_account/auth_flow/result/GetAccountResult.d.ts.map +1 -1
- package/dist/custom_auth/get_account/auth_flow/result/SignOutResult.d.ts.map +1 -1
- package/dist/custom_auth/get_account/auth_flow/state/GetAccessTokenState.d.ts +8 -0
- package/dist/custom_auth/get_account/auth_flow/state/GetAccessTokenState.d.ts.map +1 -1
- package/dist/custom_auth/get_account/auth_flow/state/GetAccountState.d.ts +8 -0
- package/dist/custom_auth/get_account/auth_flow/state/GetAccountState.d.ts.map +1 -1
- package/dist/custom_auth/get_account/auth_flow/state/SignOutState.d.ts +8 -0
- package/dist/custom_auth/get_account/auth_flow/state/SignOutState.d.ts.map +1 -1
- package/dist/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.d.ts.map +1 -1
- package/dist/custom_auth/index.d.ts +7 -0
- package/dist/custom_auth/index.d.ts.map +1 -1
- package/dist/custom_auth/reset_password/auth_flow/result/ResetPasswordResendCodeResult.d.ts.map +1 -1
- package/dist/custom_auth/reset_password/auth_flow/result/ResetPasswordStartResult.d.ts.map +1 -1
- package/dist/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitCodeResult.d.ts.map +1 -1
- package/dist/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitPasswordResult.d.ts.map +1 -1
- package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordCodeRequiredState.d.ts +4 -0
- package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordCodeRequiredState.d.ts.map +1 -1
- package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordCompletedState.d.ts +4 -0
- package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordCompletedState.d.ts.map +1 -1
- package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordFailedState.d.ts +4 -0
- package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordFailedState.d.ts.map +1 -1
- package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordPasswordRequiredState.d.ts +4 -0
- package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordPasswordRequiredState.d.ts.map +1 -1
- package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordStateParameters.d.ts +2 -0
- package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordStateParameters.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/result/SignInResendCodeResult.d.ts.map +1 -1
- package/dist/custom_auth/sign_in/auth_flow/result/SignInResult.d.ts +10 -1
- package/dist/custom_auth/sign_in/auth_flow/result/SignInResult.d.ts.map +1 -1
- package/dist/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.d.ts +19 -1
- package/dist/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.d.ts.map +1 -1
- package/dist/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.d.ts +10 -1
- package/dist/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.d.ts.map +1 -1
- package/dist/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.d.ts +4 -0
- package/dist/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.d.ts.map +1 -1
- package/dist/custom_auth/sign_in/auth_flow/state/SignInCompletedState.d.ts +4 -0
- package/dist/custom_auth/sign_in/auth_flow/state/SignInCompletedState.d.ts.map +1 -1
- package/dist/custom_auth/sign_in/auth_flow/state/SignInContinuationState.d.ts +4 -0
- package/dist/custom_auth/sign_in/auth_flow/state/SignInContinuationState.d.ts.map +1 -1
- package/dist/custom_auth/sign_in/auth_flow/state/SignInFailedState.d.ts +4 -0
- package/dist/custom_auth/sign_in/auth_flow/state/SignInFailedState.d.ts.map +1 -1
- package/dist/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.d.ts +4 -0
- package/dist/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.d.ts.map +1 -1
- package/dist/custom_auth/sign_in/auth_flow/state/SignInState.d.ts +16 -0
- package/dist/custom_auth/sign_in/auth_flow/state/SignInState.d.ts.map +1 -1
- package/dist/custom_auth/sign_in/auth_flow/state/SignInStateParameters.d.ts +2 -0
- package/dist/custom_auth/sign_in/auth_flow/state/SignInStateParameters.d.ts.map +1 -1
- package/dist/custom_auth/sign_in/interaction_client/SignInClient.d.ts +8 -6
- 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 +6 -0
- package/dist/custom_auth/sign_in/interaction_client/result/SignInActionResult.d.ts.map +1 -1
- package/dist/custom_auth/sign_up/auth_flow/result/SignUpResendCodeResult.d.ts.map +1 -1
- package/dist/custom_auth/sign_up/auth_flow/result/SignUpResult.d.ts.map +1 -1
- package/dist/custom_auth/sign_up/auth_flow/result/SignUpSubmitAttributesResult.d.ts.map +1 -1
- package/dist/custom_auth/sign_up/auth_flow/result/SignUpSubmitCodeResult.d.ts.map +1 -1
- package/dist/custom_auth/sign_up/auth_flow/result/SignUpSubmitPasswordResult.d.ts.map +1 -1
- package/dist/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.d.ts +4 -0
- package/dist/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.d.ts.map +1 -1
- package/dist/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.d.ts +4 -0
- package/dist/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.d.ts.map +1 -1
- package/dist/custom_auth/sign_up/auth_flow/state/SignUpCompletedState.d.ts +5 -1
- package/dist/custom_auth/sign_up/auth_flow/state/SignUpCompletedState.d.ts.map +1 -1
- package/dist/custom_auth/sign_up/auth_flow/state/SignUpFailedState.d.ts +4 -0
- package/dist/custom_auth/sign_up/auth_flow/state/SignUpFailedState.d.ts.map +1 -1
- package/dist/custom_auth/sign_up/auth_flow/state/SignUpPasswordRequiredState.d.ts +4 -0
- package/dist/custom_auth/sign_up/auth_flow/state/SignUpPasswordRequiredState.d.ts.map +1 -1
- package/dist/custom_auth/sign_up/auth_flow/state/SignUpStateParameters.d.ts +2 -0
- package/dist/custom_auth/sign_up/auth_flow/state/SignUpStateParameters.d.ts.map +1 -1
- package/dist/custom_auth/sign_up/interaction_client/SignUpClient.d.ts +4 -4
- 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.mjs +1 -1
- package/dist/error/BrowserAuthError.mjs.map +1 -1
- package/dist/error/BrowserAuthErrorCodes.d.ts +3 -2
- package/dist/error/BrowserAuthErrorCodes.d.ts.map +1 -1
- package/dist/error/BrowserAuthErrorCodes.mjs +6 -5
- package/dist/error/BrowserAuthErrorCodes.mjs.map +1 -1
- package/dist/error/BrowserConfigurationAuthError.mjs +1 -1
- package/dist/error/BrowserConfigurationAuthError.mjs.map +1 -1
- package/dist/error/BrowserConfigurationAuthErrorCodes.mjs +1 -1
- package/dist/error/NativeAuthError.d.ts.map +1 -1
- package/dist/error/NativeAuthError.mjs +3 -2
- 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 +3 -2
- package/dist/error/NativeAuthErrorCodes.mjs.map +1 -1
- package/dist/error/NestedAppAuthError.mjs +1 -1
- package/dist/error/NestedAppAuthError.mjs.map +1 -1
- package/dist/event/EventHandler.mjs +5 -5
- package/dist/event/EventHandler.mjs.map +1 -1
- package/dist/event/EventMessage.mjs +1 -1
- package/dist/event/EventMessage.mjs.map +1 -1
- package/dist/event/EventType.mjs +1 -1
- package/dist/event/EventType.mjs.map +1 -1
- package/dist/index.d.ts +4 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.mjs +4 -3
- package/dist/index.mjs.map +1 -1
- package/dist/interaction_client/BaseInteractionClient.mjs +7 -7
- package/dist/interaction_client/BaseInteractionClient.mjs.map +1 -1
- package/dist/interaction_client/HybridSpaAuthorizationCodeClient.mjs +1 -1
- package/dist/interaction_client/HybridSpaAuthorizationCodeClient.mjs.map +1 -1
- package/dist/interaction_client/PlatformAuthInteractionClient.d.ts +2 -2
- package/dist/interaction_client/PlatformAuthInteractionClient.d.ts.map +1 -1
- package/dist/interaction_client/PlatformAuthInteractionClient.mjs +27 -28
- package/dist/interaction_client/PlatformAuthInteractionClient.mjs.map +1 -1
- package/dist/interaction_client/PopupClient.d.ts +3 -6
- package/dist/interaction_client/PopupClient.d.ts.map +1 -1
- package/dist/interaction_client/PopupClient.mjs +78 -52
- package/dist/interaction_client/PopupClient.mjs.map +1 -1
- package/dist/interaction_client/RedirectClient.d.ts +6 -1
- package/dist/interaction_client/RedirectClient.d.ts.map +1 -1
- package/dist/interaction_client/RedirectClient.mjs +67 -63
- package/dist/interaction_client/RedirectClient.mjs.map +1 -1
- package/dist/interaction_client/SilentAuthCodeClient.mjs +2 -2
- package/dist/interaction_client/SilentAuthCodeClient.mjs.map +1 -1
- package/dist/interaction_client/SilentCacheClient.mjs +4 -4
- package/dist/interaction_client/SilentCacheClient.mjs.map +1 -1
- package/dist/interaction_client/SilentIframeClient.d.ts.map +1 -1
- package/dist/interaction_client/SilentIframeClient.mjs +37 -17
- package/dist/interaction_client/SilentIframeClient.mjs.map +1 -1
- package/dist/interaction_client/SilentRefreshClient.mjs +1 -1
- package/dist/interaction_client/SilentRefreshClient.mjs.map +1 -1
- package/dist/interaction_client/StandardInteractionClient.d.ts +3 -1
- package/dist/interaction_client/StandardInteractionClient.d.ts.map +1 -1
- package/dist/interaction_client/StandardInteractionClient.mjs +23 -18
- package/dist/interaction_client/StandardInteractionClient.mjs.map +1 -1
- package/dist/interaction_handler/InteractionHandler.d.ts.map +1 -1
- package/dist/interaction_handler/InteractionHandler.mjs +3 -7
- package/dist/interaction_handler/InteractionHandler.mjs.map +1 -1
- package/dist/interaction_handler/SilentHandler.d.ts +2 -7
- package/dist/interaction_handler/SilentHandler.d.ts.map +1 -1
- package/dist/interaction_handler/SilentHandler.mjs +17 -68
- package/dist/interaction_handler/SilentHandler.mjs.map +1 -1
- package/dist/log-strings-mapping.json +1135 -0
- 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.mjs +1 -1
- 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.mjs +1 -1
- package/dist/operatingcontext/BaseOperatingContext.mjs.map +1 -1
- package/dist/operatingcontext/NestedAppOperatingContext.mjs +3 -3
- package/dist/operatingcontext/NestedAppOperatingContext.mjs.map +1 -1
- package/dist/operatingcontext/StandardOperatingContext.mjs +1 -1
- package/dist/operatingcontext/StandardOperatingContext.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 +4 -0
- package/dist/protocol/Authorize.d.ts.map +1 -1
- package/dist/protocol/Authorize.mjs +32 -6
- package/dist/protocol/Authorize.mjs.map +1 -1
- package/dist/redirect-bridge/app/IPublicClientApplication.d.ts +48 -0
- package/dist/redirect-bridge/app/IPublicClientApplication.d.ts.map +1 -0
- package/dist/{app/PublicClientNext.d.ts → redirect-bridge/app/PublicClientApplication.d.ts} +35 -19
- package/dist/redirect-bridge/app/PublicClientApplication.d.ts.map +1 -0
- package/dist/redirect-bridge/broker/nativeBroker/IPlatformAuthHandler.d.ts +12 -0
- package/dist/redirect-bridge/broker/nativeBroker/IPlatformAuthHandler.d.ts.map +1 -0
- package/dist/redirect-bridge/broker/nativeBroker/NativeStatusCodes.d.ts +9 -0
- package/dist/redirect-bridge/broker/nativeBroker/NativeStatusCodes.d.ts.map +1 -0
- package/dist/redirect-bridge/broker/nativeBroker/PlatformAuthDOMHandler.d.ts +30 -0
- package/dist/redirect-bridge/broker/nativeBroker/PlatformAuthDOMHandler.d.ts.map +1 -0
- package/dist/redirect-bridge/broker/nativeBroker/PlatformAuthExtensionHandler.d.ts +63 -0
- package/dist/redirect-bridge/broker/nativeBroker/PlatformAuthExtensionHandler.d.ts.map +1 -0
- package/dist/redirect-bridge/broker/nativeBroker/PlatformAuthProvider.d.ts +28 -0
- package/dist/redirect-bridge/broker/nativeBroker/PlatformAuthProvider.d.ts.map +1 -0
- package/dist/redirect-bridge/broker/nativeBroker/PlatformAuthRequest.d.ts +78 -0
- package/dist/redirect-bridge/broker/nativeBroker/PlatformAuthRequest.d.ts.map +1 -0
- package/dist/redirect-bridge/broker/nativeBroker/PlatformAuthResponse.d.ts +71 -0
- package/dist/redirect-bridge/broker/nativeBroker/PlatformAuthResponse.d.ts.map +1 -0
- package/dist/redirect-bridge/cache/AccountManager.d.ts +24 -0
- package/dist/redirect-bridge/cache/AccountManager.d.ts.map +1 -0
- package/dist/redirect-bridge/cache/AsyncMemoryStorage.d.ts +58 -0
- package/dist/redirect-bridge/cache/AsyncMemoryStorage.d.ts.map +1 -0
- package/dist/redirect-bridge/cache/BrowserCacheManager.d.ts +366 -0
- package/dist/redirect-bridge/cache/BrowserCacheManager.d.ts.map +1 -0
- package/dist/redirect-bridge/cache/CacheHelpers.d.ts +16 -0
- package/dist/redirect-bridge/cache/CacheHelpers.d.ts.map +1 -0
- package/dist/redirect-bridge/cache/CacheKeys.d.ts +14 -0
- package/dist/redirect-bridge/cache/CacheKeys.d.ts.map +1 -0
- package/dist/redirect-bridge/cache/CacheKeys.mjs +10 -0
- package/dist/redirect-bridge/cache/CacheKeys.mjs.map +1 -0
- package/dist/redirect-bridge/cache/CookieStorage.d.ts +23 -0
- package/dist/redirect-bridge/cache/CookieStorage.d.ts.map +1 -0
- package/dist/redirect-bridge/cache/DatabaseStorage.d.ts +57 -0
- package/dist/redirect-bridge/cache/DatabaseStorage.d.ts.map +1 -0
- package/dist/redirect-bridge/cache/EncryptedData.d.ts +8 -0
- package/dist/redirect-bridge/cache/EncryptedData.d.ts.map +1 -0
- package/dist/redirect-bridge/cache/IAsyncStorage.d.ts +33 -0
- package/dist/redirect-bridge/cache/IAsyncStorage.d.ts.map +1 -0
- package/dist/redirect-bridge/cache/IWindowStorage.d.ts +42 -0
- package/dist/redirect-bridge/cache/IWindowStorage.d.ts.map +1 -0
- package/dist/redirect-bridge/cache/LocalStorage.d.ts +51 -0
- package/dist/redirect-bridge/cache/LocalStorage.d.ts.map +1 -0
- package/dist/redirect-bridge/cache/MemoryStorage.d.ts +16 -0
- package/dist/redirect-bridge/cache/MemoryStorage.d.ts.map +1 -0
- package/dist/redirect-bridge/cache/SessionStorage.d.ts +14 -0
- package/dist/redirect-bridge/cache/SessionStorage.d.ts.map +1 -0
- package/dist/redirect-bridge/cache/TokenCache.d.ts +20 -0
- package/dist/redirect-bridge/cache/TokenCache.d.ts.map +1 -0
- package/dist/redirect-bridge/config/Configuration.d.ts +175 -0
- package/dist/redirect-bridge/config/Configuration.d.ts.map +1 -0
- package/dist/redirect-bridge/config/Configuration.mjs +10 -0
- package/dist/redirect-bridge/config/Configuration.mjs.map +1 -0
- package/dist/redirect-bridge/controllers/IController.d.ts +3 -0
- package/dist/redirect-bridge/controllers/IController.d.ts.map +1 -0
- package/dist/redirect-bridge/controllers/NestedAppAuthController.d.ts +159 -0
- package/dist/redirect-bridge/controllers/NestedAppAuthController.d.ts.map +1 -0
- package/dist/{custom-auth-path/app/PublicClientNext.d.ts → redirect-bridge/controllers/StandardController.d.ts} +265 -116
- package/dist/redirect-bridge/controllers/StandardController.d.ts.map +1 -0
- package/dist/redirect-bridge/controllers/UnknownOperatingContextController.d.ts +73 -0
- package/dist/redirect-bridge/controllers/UnknownOperatingContextController.d.ts.map +1 -0
- package/dist/redirect-bridge/crypto/BrowserCrypto.d.ts +96 -0
- package/dist/redirect-bridge/crypto/BrowserCrypto.d.ts.map +1 -0
- package/dist/redirect-bridge/crypto/CryptoOps.d.ts +77 -0
- package/dist/redirect-bridge/crypto/CryptoOps.d.ts.map +1 -0
- package/dist/redirect-bridge/crypto/PkceGenerator.d.ts +9 -0
- package/dist/redirect-bridge/crypto/PkceGenerator.d.ts.map +1 -0
- package/dist/redirect-bridge/crypto/SignedHttpRequest.d.ts +32 -0
- package/dist/redirect-bridge/crypto/SignedHttpRequest.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/CustomAuthActionInputs.d.ts +29 -0
- package/dist/redirect-bridge/custom_auth/CustomAuthActionInputs.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/CustomAuthConstants.d.ts +35 -0
- package/dist/redirect-bridge/custom_auth/CustomAuthConstants.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/CustomAuthPublicClientApplication.d.ts +55 -0
- package/dist/redirect-bridge/custom_auth/CustomAuthPublicClientApplication.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/ICustomAuthPublicClientApplication.d.ts +33 -0
- package/dist/redirect-bridge/custom_auth/ICustomAuthPublicClientApplication.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/UserAccountAttributes.d.ts +12 -0
- package/dist/redirect-bridge/custom_auth/UserAccountAttributes.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/configuration/CustomAuthConfiguration.d.ts +14 -0
- package/dist/redirect-bridge/custom_auth/configuration/CustomAuthConfiguration.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/controller/CustomAuthStandardController.d.ts +27 -0
- package/dist/redirect-bridge/custom_auth/controller/CustomAuthStandardController.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/controller/ICustomAuthStandardController.d.ts +13 -0
- package/dist/redirect-bridge/custom_auth/controller/ICustomAuthStandardController.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/core/CustomAuthAuthority.d.ts +29 -0
- package/dist/redirect-bridge/custom_auth/core/CustomAuthAuthority.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts +40 -0
- package/dist/redirect-bridge/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/core/auth_flow/AuthFlowResultBase.d.ts +11 -0
- package/dist/redirect-bridge/custom_auth/core/auth_flow/AuthFlowResultBase.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/core/auth_flow/AuthFlowState.d.ts +31 -0
- package/dist/redirect-bridge/custom_auth/core/auth_flow/AuthFlowState.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/core/auth_flow/AuthFlowStateTypes.d.ts +29 -0
- package/dist/redirect-bridge/custom_auth/core/auth_flow/AuthFlowStateTypes.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/core/auth_flow/jit/AuthMethodDetails.d.ts +15 -0
- package/dist/redirect-bridge/custom_auth/core/auth_flow/jit/AuthMethodDetails.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.d.ts +27 -0
- package/dist/redirect-bridge/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationChallengeMethodResult.d.ts +47 -0
- package/dist/redirect-bridge/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationChallengeMethodResult.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationSubmitChallengeResult.d.ts +37 -0
- package/dist/redirect-bridge/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationSubmitChallengeResult.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationCompletedState.d.ts +11 -0
- package/dist/redirect-bridge/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationCompletedState.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationFailedState.d.ts +11 -0
- package/dist/redirect-bridge/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationFailedState.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationState.d.ts +82 -0
- package/dist/redirect-bridge/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationState.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationStateParameters.d.ts +20 -0
- package/dist/redirect-bridge/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationStateParameters.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/core/auth_flow/mfa/error_type/MfaError.d.ts +27 -0
- package/dist/redirect-bridge/custom_auth/core/auth_flow/mfa/error_type/MfaError.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.d.ts +40 -0
- package/dist/redirect-bridge/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.d.ts +34 -0
- package/dist/redirect-bridge/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.d.ts +11 -0
- package/dist/redirect-bridge/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/core/auth_flow/mfa/state/MfaFailedState.d.ts +11 -0
- package/dist/redirect-bridge/custom_auth/core/auth_flow/mfa/state/MfaFailedState.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/core/auth_flow/mfa/state/MfaState.d.ts +67 -0
- package/dist/redirect-bridge/custom_auth/core/auth_flow/mfa/state/MfaState.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/core/auth_flow/mfa/state/MfaStateParameters.d.ts +19 -0
- package/dist/redirect-bridge/custom_auth/core/auth_flow/mfa/state/MfaStateParameters.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/core/error/CustomAuthApiError.d.ts +20 -0
- package/dist/redirect-bridge/custom_auth/core/error/CustomAuthApiError.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/core/error/CustomAuthError.d.ts +9 -0
- package/dist/redirect-bridge/custom_auth/core/error/CustomAuthError.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/core/error/HttpError.d.ts +5 -0
- package/dist/redirect-bridge/custom_auth/core/error/HttpError.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/core/error/HttpErrorCodes.d.ts +3 -0
- package/dist/redirect-bridge/custom_auth/core/error/HttpErrorCodes.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/core/error/InvalidArgumentError.d.ts +5 -0
- package/dist/redirect-bridge/custom_auth/core/error/InvalidArgumentError.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/core/error/InvalidConfigurationError.d.ts +5 -0
- package/dist/redirect-bridge/custom_auth/core/error/InvalidConfigurationError.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/core/error/InvalidConfigurationErrorCodes.d.ts +4 -0
- package/dist/redirect-bridge/custom_auth/core/error/InvalidConfigurationErrorCodes.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/core/error/MethodNotImplementedError.d.ts +5 -0
- package/dist/redirect-bridge/custom_auth/core/error/MethodNotImplementedError.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/core/error/MsalCustomAuthError.d.ts +5 -0
- package/dist/redirect-bridge/custom_auth/core/error/MsalCustomAuthError.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/core/error/NoCachedAccountFoundError.d.ts +5 -0
- package/dist/redirect-bridge/custom_auth/core/error/NoCachedAccountFoundError.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/core/error/ParsedUrlError.d.ts +5 -0
- package/dist/redirect-bridge/custom_auth/core/error/ParsedUrlError.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/core/error/ParsedUrlErrorCodes.d.ts +2 -0
- package/dist/redirect-bridge/custom_auth/core/error/ParsedUrlErrorCodes.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/core/error/UnexpectedError.d.ts +5 -0
- package/dist/redirect-bridge/custom_auth/core/error/UnexpectedError.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/core/error/UnsupportedEnvironmentError.d.ts +5 -0
- package/dist/redirect-bridge/custom_auth/core/error/UnsupportedEnvironmentError.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/core/error/UserAccountAttributeError.d.ts +5 -0
- package/dist/redirect-bridge/custom_auth/core/error/UserAccountAttributeError.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/core/error/UserAccountAttributeErrorCodes.d.ts +2 -0
- package/dist/redirect-bridge/custom_auth/core/error/UserAccountAttributeErrorCodes.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/core/error/UserAlreadySignedInError.d.ts +5 -0
- package/dist/redirect-bridge/custom_auth/core/error/UserAlreadySignedInError.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.d.ts +34 -0
- package/dist/redirect-bridge/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/core/interaction_client/CustomAuthInterationClientFactory.d.ts +22 -0
- package/dist/redirect-bridge/custom_auth/core/interaction_client/CustomAuthInterationClientFactory.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/core/interaction_client/jit/JitClient.d.ts +21 -0
- package/dist/redirect-bridge/custom_auth/core/interaction_client/jit/JitClient.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/core/interaction_client/jit/parameter/JitParams.d.ts +20 -0
- package/dist/redirect-bridge/custom_auth/core/interaction_client/jit/parameter/JitParams.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/core/interaction_client/jit/result/JitActionResult.d.ts +22 -0
- package/dist/redirect-bridge/custom_auth/core/interaction_client/jit/result/JitActionResult.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/core/interaction_client/mfa/MfaClient.d.ts +21 -0
- package/dist/redirect-bridge/custom_auth/core/interaction_client/mfa/MfaClient.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/core/interaction_client/mfa/parameter/MfaClientParameters.d.ts +14 -0
- package/dist/redirect-bridge/custom_auth/core/interaction_client/mfa/parameter/MfaClientParameters.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/core/interaction_client/mfa/result/MfaActionResult.d.ts +23 -0
- package/dist/redirect-bridge/custom_auth/core/interaction_client/mfa/result/MfaActionResult.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/core/network_client/custom_auth_api/BaseApiClient.d.ts +15 -0
- package/dist/redirect-bridge/custom_auth/core/network_client/custom_auth_api/BaseApiClient.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.d.ts +14 -0
- package/dist/redirect-bridge/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.d.ts +16 -0
- package/dist/redirect-bridge/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/core/network_client/custom_auth_api/ICustomAuthApiClient.d.ts +11 -0
- package/dist/redirect-bridge/custom_auth/core/network_client/custom_auth_api/ICustomAuthApiClient.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/core/network_client/custom_auth_api/RegisterApiClient.d.ts +18 -0
- package/dist/redirect-bridge/custom_auth/core/network_client/custom_auth_api/RegisterApiClient.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/core/network_client/custom_auth_api/ResetPasswordApiClient.d.ts +34 -0
- package/dist/redirect-bridge/custom_auth/core/network_client/custom_auth_api/ResetPasswordApiClient.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts +37 -0
- package/dist/redirect-bridge/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/core/network_client/custom_auth_api/SignupApiClient.d.ts +23 -0
- package/dist/redirect-bridge/custom_auth/core/network_client/custom_auth_api/SignupApiClient.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/core/network_client/custom_auth_api/types/ApiErrorCodes.d.ts +23 -0
- package/dist/redirect-bridge/custom_auth/core/network_client/custom_auth_api/types/ApiErrorCodes.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/core/network_client/custom_auth_api/types/ApiErrorResponseTypes.d.ts +29 -0
- package/dist/redirect-bridge/custom_auth/core/network_client/custom_auth_api/types/ApiErrorResponseTypes.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts +86 -0
- package/dist/redirect-bridge/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/core/network_client/custom_auth_api/types/ApiResponseTypes.d.ts +71 -0
- package/dist/redirect-bridge/custom_auth/core/network_client/custom_auth_api/types/ApiResponseTypes.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.d.ts +13 -0
- package/dist/redirect-bridge/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/core/network_client/custom_auth_api/types/ApiTypesBase.d.ts +9 -0
- package/dist/redirect-bridge/custom_auth/core/network_client/custom_auth_api/types/ApiTypesBase.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/core/network_client/http_client/FetchHttpClient.d.ts +13 -0
- package/dist/redirect-bridge/custom_auth/core/network_client/http_client/FetchHttpClient.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/core/network_client/http_client/IHttpClient.d.ts +35 -0
- package/dist/redirect-bridge/custom_auth/core/network_client/http_client/IHttpClient.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/core/telemetry/PublicApiId.d.ts +25 -0
- package/dist/redirect-bridge/custom_auth/core/telemetry/PublicApiId.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/core/utils/ArgumentValidator.d.ts +4 -0
- package/dist/redirect-bridge/custom_auth/core/utils/ArgumentValidator.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/core/utils/UrlUtils.d.ts +3 -0
- package/dist/redirect-bridge/custom_auth/core/utils/UrlUtils.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/get_account/auth_flow/CustomAuthAccountData.d.ts +47 -0
- package/dist/redirect-bridge/custom_auth/get_account/auth_flow/CustomAuthAccountData.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/get_account/auth_flow/error_type/GetAccountError.d.ts +32 -0
- package/dist/redirect-bridge/custom_auth/get_account/auth_flow/error_type/GetAccountError.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/get_account/auth_flow/result/GetAccessTokenResult.d.ts +37 -0
- package/dist/redirect-bridge/custom_auth/get_account/auth_flow/result/GetAccessTokenResult.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/get_account/auth_flow/result/GetAccountResult.d.ts +36 -0
- package/dist/redirect-bridge/custom_auth/get_account/auth_flow/result/GetAccountResult.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/get_account/auth_flow/result/SignOutResult.d.ts +35 -0
- package/dist/redirect-bridge/custom_auth/get_account/auth_flow/result/SignOutResult.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/get_account/auth_flow/state/GetAccessTokenState.d.ts +20 -0
- package/dist/redirect-bridge/custom_auth/get_account/auth_flow/state/GetAccessTokenState.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/get_account/auth_flow/state/GetAccountState.d.ts +20 -0
- package/dist/redirect-bridge/custom_auth/get_account/auth_flow/state/GetAccountState.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/get_account/auth_flow/state/SignOutState.d.ts +20 -0
- package/dist/redirect-bridge/custom_auth/get_account/auth_flow/state/SignOutState.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.d.ts +21 -0
- package/dist/redirect-bridge/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/index.d.ts +84 -0
- package/dist/redirect-bridge/custom_auth/index.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/operating_context/CustomAuthOperatingContext.d.ts +13 -0
- package/dist/redirect-bridge/custom_auth/operating_context/CustomAuthOperatingContext.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/reset_password/auth_flow/error_type/ResetPasswordError.d.ts +40 -0
- package/dist/redirect-bridge/custom_auth/reset_password/auth_flow/error_type/ResetPasswordError.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/reset_password/auth_flow/result/ResetPasswordResendCodeResult.d.ts +37 -0
- package/dist/redirect-bridge/custom_auth/reset_password/auth_flow/result/ResetPasswordResendCodeResult.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/reset_password/auth_flow/result/ResetPasswordStartResult.d.ts +37 -0
- package/dist/redirect-bridge/custom_auth/reset_password/auth_flow/result/ResetPasswordStartResult.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitCodeResult.d.ts +37 -0
- package/dist/redirect-bridge/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitCodeResult.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitPasswordResult.d.ts +32 -0
- package/dist/redirect-bridge/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitPasswordResult.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/reset_password/auth_flow/state/ResetPasswordCodeRequiredState.d.ts +27 -0
- package/dist/redirect-bridge/custom_auth/reset_password/auth_flow/state/ResetPasswordCodeRequiredState.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/reset_password/auth_flow/state/ResetPasswordCompletedState.d.ts +11 -0
- package/dist/redirect-bridge/custom_auth/reset_password/auth_flow/state/ResetPasswordCompletedState.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/reset_password/auth_flow/state/ResetPasswordFailedState.d.ts +11 -0
- package/dist/redirect-bridge/custom_auth/reset_password/auth_flow/state/ResetPasswordFailedState.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/reset_password/auth_flow/state/ResetPasswordPasswordRequiredState.d.ts +16 -0
- package/dist/redirect-bridge/custom_auth/reset_password/auth_flow/state/ResetPasswordPasswordRequiredState.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/reset_password/auth_flow/state/ResetPasswordState.d.ts +6 -0
- package/dist/redirect-bridge/custom_auth/reset_password/auth_flow/state/ResetPasswordState.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/reset_password/auth_flow/state/ResetPasswordStateParameters.d.ts +19 -0
- package/dist/redirect-bridge/custom_auth/reset_password/auth_flow/state/ResetPasswordStateParameters.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/reset_password/interaction_client/ResetPasswordClient.d.ts +33 -0
- package/dist/redirect-bridge/custom_auth/reset_password/interaction_client/ResetPasswordClient.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/reset_password/interaction_client/parameter/ResetPasswordParams.d.ts +19 -0
- package/dist/redirect-bridge/custom_auth/reset_password/interaction_client/parameter/ResetPasswordParams.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/reset_password/interaction_client/result/ResetPasswordActionResult.d.ts +14 -0
- package/dist/redirect-bridge/custom_auth/reset_password/interaction_client/result/ResetPasswordActionResult.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/sign_in/auth_flow/SignInScenario.d.ts +6 -0
- package/dist/redirect-bridge/custom_auth/sign_in/auth_flow/SignInScenario.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/sign_in/auth_flow/error_type/SignInError.d.ts +45 -0
- package/dist/redirect-bridge/custom_auth/sign_in/auth_flow/error_type/SignInError.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/sign_in/auth_flow/result/SignInResendCodeResult.d.ts +37 -0
- package/dist/redirect-bridge/custom_auth/sign_in/auth_flow/result/SignInResendCodeResult.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/sign_in/auth_flow/result/SignInResult.d.ts +72 -0
- package/dist/redirect-bridge/custom_auth/sign_in/auth_flow/result/SignInResult.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.d.ts +51 -0
- package/dist/redirect-bridge/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.d.ts +46 -0
- package/dist/redirect-bridge/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.d.ts +33 -0
- package/dist/redirect-bridge/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/sign_in/auth_flow/state/SignInCompletedState.d.ts +12 -0
- package/dist/redirect-bridge/custom_auth/sign_in/auth_flow/state/SignInCompletedState.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/sign_in/auth_flow/state/SignInContinuationState.d.ts +17 -0
- package/dist/redirect-bridge/custom_auth/sign_in/auth_flow/state/SignInContinuationState.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/sign_in/auth_flow/state/SignInFailedState.d.ts +11 -0
- package/dist/redirect-bridge/custom_auth/sign_in/auth_flow/state/SignInFailedState.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.d.ts +21 -0
- package/dist/redirect-bridge/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/sign_in/auth_flow/state/SignInState.d.ts +22 -0
- package/dist/redirect-bridge/custom_auth/sign_in/auth_flow/state/SignInState.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/sign_in/auth_flow/state/SignInStateParameters.d.ts +25 -0
- package/dist/redirect-bridge/custom_auth/sign_in/auth_flow/state/SignInStateParameters.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/sign_in/interaction_client/SignInClient.d.ts +49 -0
- package/dist/redirect-bridge/custom_auth/sign_in/interaction_client/SignInClient.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/sign_in/interaction_client/parameter/SignInParams.d.ts +32 -0
- package/dist/redirect-bridge/custom_auth/sign_in/interaction_client/parameter/SignInParams.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/sign_in/interaction_client/result/SignInActionResult.d.ts +43 -0
- package/dist/redirect-bridge/custom_auth/sign_in/interaction_client/result/SignInActionResult.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/sign_up/auth_flow/error_type/SignUpError.d.ts +62 -0
- package/dist/redirect-bridge/custom_auth/sign_up/auth_flow/error_type/SignUpError.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/sign_up/auth_flow/result/SignUpResendCodeResult.d.ts +37 -0
- package/dist/redirect-bridge/custom_auth/sign_up/auth_flow/result/SignUpResendCodeResult.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/sign_up/auth_flow/result/SignUpResult.d.ts +53 -0
- package/dist/redirect-bridge/custom_auth/sign_up/auth_flow/result/SignUpResult.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/sign_up/auth_flow/result/SignUpSubmitAttributesResult.d.ts +37 -0
- package/dist/redirect-bridge/custom_auth/sign_up/auth_flow/result/SignUpSubmitAttributesResult.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/sign_up/auth_flow/result/SignUpSubmitCodeResult.d.ts +53 -0
- package/dist/redirect-bridge/custom_auth/sign_up/auth_flow/result/SignUpSubmitCodeResult.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/sign_up/auth_flow/result/SignUpSubmitPasswordResult.d.ts +45 -0
- package/dist/redirect-bridge/custom_auth/sign_up/auth_flow/result/SignUpSubmitPasswordResult.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.d.ts +25 -0
- package/dist/redirect-bridge/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.d.ts +32 -0
- package/dist/redirect-bridge/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/sign_up/auth_flow/state/SignUpCompletedState.d.ts +11 -0
- package/dist/redirect-bridge/custom_auth/sign_up/auth_flow/state/SignUpCompletedState.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/sign_up/auth_flow/state/SignUpFailedState.d.ts +11 -0
- package/dist/redirect-bridge/custom_auth/sign_up/auth_flow/state/SignUpFailedState.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/sign_up/auth_flow/state/SignUpPasswordRequiredState.d.ts +16 -0
- package/dist/redirect-bridge/custom_auth/sign_up/auth_flow/state/SignUpPasswordRequiredState.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/sign_up/auth_flow/state/SignUpState.d.ts +6 -0
- package/dist/redirect-bridge/custom_auth/sign_up/auth_flow/state/SignUpState.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/sign_up/auth_flow/state/SignUpStateParameters.d.ts +24 -0
- package/dist/redirect-bridge/custom_auth/sign_up/auth_flow/state/SignUpStateParameters.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/sign_up/interaction_client/SignUpClient.d.ts +41 -0
- package/dist/redirect-bridge/custom_auth/sign_up/interaction_client/SignUpClient.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/sign_up/interaction_client/parameter/SignUpParams.d.ts +26 -0
- package/dist/redirect-bridge/custom_auth/sign_up/interaction_client/parameter/SignUpParams.d.ts.map +1 -0
- package/dist/redirect-bridge/custom_auth/sign_up/interaction_client/result/SignUpActionResult.d.ts +34 -0
- package/dist/redirect-bridge/custom_auth/sign_up/interaction_client/result/SignUpActionResult.d.ts.map +1 -0
- package/dist/redirect-bridge/encode/Base64Decode.d.ts +15 -0
- package/dist/redirect-bridge/encode/Base64Decode.d.ts.map +1 -0
- package/dist/redirect-bridge/encode/Base64Decode.mjs +44 -0
- package/dist/redirect-bridge/encode/Base64Decode.mjs.map +1 -0
- package/dist/redirect-bridge/encode/Base64Encode.d.ts +20 -0
- package/dist/redirect-bridge/encode/Base64Encode.d.ts.map +1 -0
- package/dist/redirect-bridge/error/BrowserAuthError.d.ts +12 -0
- package/dist/redirect-bridge/error/BrowserAuthError.d.ts.map +1 -0
- package/dist/redirect-bridge/error/BrowserAuthError.mjs +27 -0
- package/dist/redirect-bridge/error/BrowserAuthError.mjs.map +1 -0
- package/dist/redirect-bridge/error/BrowserAuthErrorCodes.d.ts +53 -0
- package/dist/redirect-bridge/error/BrowserAuthErrorCodes.d.ts.map +1 -0
- package/dist/redirect-bridge/error/BrowserAuthErrorCodes.mjs +14 -0
- package/dist/redirect-bridge/error/BrowserAuthErrorCodes.mjs.map +1 -0
- package/dist/redirect-bridge/error/BrowserConfigurationAuthError.d.ts +11 -0
- package/dist/redirect-bridge/error/BrowserConfigurationAuthError.d.ts.map +1 -0
- package/dist/redirect-bridge/error/BrowserConfigurationAuthErrorCodes.d.ts +4 -0
- package/dist/redirect-bridge/error/BrowserConfigurationAuthErrorCodes.d.ts.map +1 -0
- package/dist/redirect-bridge/error/NativeAuthError.d.ts +27 -0
- package/dist/redirect-bridge/error/NativeAuthError.d.ts.map +1 -0
- package/dist/redirect-bridge/error/NativeAuthErrorCodes.d.ts +5 -0
- package/dist/redirect-bridge/error/NativeAuthErrorCodes.d.ts.map +1 -0
- package/dist/redirect-bridge/error/NestedAppAuthError.d.ts +6 -0
- package/dist/redirect-bridge/error/NestedAppAuthError.d.ts.map +1 -0
- package/dist/redirect-bridge/event/EventHandler.d.ts +49 -0
- package/dist/redirect-bridge/event/EventHandler.d.ts.map +1 -0
- package/dist/redirect-bridge/event/EventMessage.d.ts +40 -0
- package/dist/redirect-bridge/event/EventMessage.d.ts.map +1 -0
- package/dist/redirect-bridge/event/EventType.d.ts +24 -0
- package/dist/redirect-bridge/event/EventType.d.ts.map +1 -0
- package/dist/redirect-bridge/index.d.ts +73 -0
- package/dist/redirect-bridge/index.d.ts.map +1 -0
- package/dist/redirect-bridge/interaction_client/BaseInteractionClient.d.ts +77 -0
- package/dist/redirect-bridge/interaction_client/BaseInteractionClient.d.ts.map +1 -0
- package/dist/redirect-bridge/interaction_client/HybridSpaAuthorizationCodeClient.d.ts +5 -0
- package/dist/redirect-bridge/interaction_client/HybridSpaAuthorizationCodeClient.d.ts.map +1 -0
- package/dist/redirect-bridge/interaction_client/PlatformAuthInteractionClient.d.ts +151 -0
- package/dist/redirect-bridge/interaction_client/PlatformAuthInteractionClient.d.ts.map +1 -0
- package/dist/redirect-bridge/interaction_client/PopupClient.d.ts +106 -0
- package/dist/redirect-bridge/interaction_client/PopupClient.d.ts.map +1 -0
- package/dist/redirect-bridge/interaction_client/RedirectClient.d.ts +77 -0
- package/dist/redirect-bridge/interaction_client/RedirectClient.d.ts.map +1 -0
- package/dist/redirect-bridge/interaction_client/SilentAuthCodeClient.d.ts +24 -0
- package/dist/redirect-bridge/interaction_client/SilentAuthCodeClient.d.ts.map +1 -0
- package/dist/redirect-bridge/interaction_client/SilentCacheClient.d.ts +17 -0
- package/dist/redirect-bridge/interaction_client/SilentCacheClient.d.ts.map +1 -0
- package/dist/redirect-bridge/interaction_client/SilentIframeClient.d.ts +43 -0
- package/dist/redirect-bridge/interaction_client/SilentIframeClient.d.ts.map +1 -0
- package/dist/redirect-bridge/interaction_client/SilentRefreshClient.d.ts +32 -0
- package/dist/redirect-bridge/interaction_client/SilentRefreshClient.d.ts.map +1 -0
- package/dist/redirect-bridge/interaction_client/StandardInteractionClient.d.ts +76 -0
- package/dist/redirect-bridge/interaction_client/StandardInteractionClient.d.ts.map +1 -0
- package/dist/redirect-bridge/interaction_handler/InteractionHandler.d.ts +32 -0
- package/dist/redirect-bridge/interaction_handler/InteractionHandler.d.ts.map +1 -0
- package/dist/redirect-bridge/interaction_handler/SilentHandler.d.ts +11 -0
- package/dist/redirect-bridge/interaction_handler/SilentHandler.d.ts.map +1 -0
- package/dist/redirect-bridge/naa/AccountInfo.d.ts +13 -0
- package/dist/redirect-bridge/naa/AccountInfo.d.ts.map +1 -0
- package/dist/redirect-bridge/naa/AuthBridge.d.ts +9 -0
- package/dist/redirect-bridge/naa/AuthBridge.d.ts.map +1 -0
- package/dist/redirect-bridge/naa/AuthResult.d.ts +7 -0
- package/dist/redirect-bridge/naa/AuthResult.d.ts.map +1 -0
- package/dist/redirect-bridge/naa/BridgeAccountContext.d.ts +13 -0
- package/dist/redirect-bridge/naa/BridgeAccountContext.d.ts.map +1 -0
- package/dist/redirect-bridge/naa/BridgeCapabilities.d.ts +4 -0
- package/dist/redirect-bridge/naa/BridgeCapabilities.d.ts.map +1 -0
- package/dist/redirect-bridge/naa/BridgeError.d.ts +10 -0
- package/dist/redirect-bridge/naa/BridgeError.d.ts.map +1 -0
- package/dist/redirect-bridge/naa/BridgeProxy.d.ts +69 -0
- package/dist/redirect-bridge/naa/BridgeProxy.d.ts.map +1 -0
- package/dist/redirect-bridge/naa/BridgeRequest.d.ts +8 -0
- package/dist/redirect-bridge/naa/BridgeRequest.d.ts.map +1 -0
- package/dist/redirect-bridge/naa/BridgeRequestEnvelope.d.ts +13 -0
- package/dist/redirect-bridge/naa/BridgeRequestEnvelope.d.ts.map +1 -0
- package/dist/redirect-bridge/naa/BridgeResponseEnvelope.d.ts +14 -0
- package/dist/redirect-bridge/naa/BridgeResponseEnvelope.d.ts.map +1 -0
- package/dist/redirect-bridge/naa/BridgeStatusCode.d.ts +12 -0
- package/dist/redirect-bridge/naa/BridgeStatusCode.d.ts.map +1 -0
- package/dist/redirect-bridge/naa/IBridgeProxy.d.ts +11 -0
- package/dist/redirect-bridge/naa/IBridgeProxy.d.ts.map +1 -0
- package/dist/redirect-bridge/naa/InitContext.d.ts +9 -0
- package/dist/redirect-bridge/naa/InitContext.d.ts.map +1 -0
- package/dist/redirect-bridge/naa/TokenRequest.d.ts +20 -0
- package/dist/redirect-bridge/naa/TokenRequest.d.ts.map +1 -0
- package/dist/redirect-bridge/naa/TokenResponse.d.ts +14 -0
- package/dist/redirect-bridge/naa/TokenResponse.d.ts.map +1 -0
- package/dist/redirect-bridge/naa/mapping/NestedAppAuthAdapter.d.ts +36 -0
- package/dist/redirect-bridge/naa/mapping/NestedAppAuthAdapter.d.ts.map +1 -0
- package/dist/redirect-bridge/navigation/INavigationClient.d.ts +17 -0
- package/dist/redirect-bridge/navigation/INavigationClient.d.ts.map +1 -0
- package/dist/redirect-bridge/navigation/NavigationClient.d.ts +23 -0
- package/dist/redirect-bridge/navigation/NavigationClient.d.ts.map +1 -0
- package/dist/redirect-bridge/navigation/NavigationClient.mjs +48 -0
- package/dist/redirect-bridge/navigation/NavigationClient.mjs.map +1 -0
- package/dist/redirect-bridge/navigation/NavigationOptions.d.ts +13 -0
- package/dist/redirect-bridge/navigation/NavigationOptions.d.ts.map +1 -0
- package/dist/redirect-bridge/network/FetchClient.d.ts +21 -0
- package/dist/redirect-bridge/network/FetchClient.d.ts.map +1 -0
- package/dist/redirect-bridge/operatingcontext/BaseOperatingContext.d.ts +43 -0
- package/dist/redirect-bridge/operatingcontext/BaseOperatingContext.d.ts.map +1 -0
- package/dist/redirect-bridge/operatingcontext/NestedAppOperatingContext.d.ts +41 -0
- package/dist/redirect-bridge/operatingcontext/NestedAppOperatingContext.d.ts.map +1 -0
- package/dist/redirect-bridge/operatingcontext/StandardOperatingContext.d.ts +26 -0
- package/dist/redirect-bridge/operatingcontext/StandardOperatingContext.d.ts.map +1 -0
- package/dist/redirect-bridge/operatingcontext/UnknownOperatingContext.d.ts +26 -0
- package/dist/redirect-bridge/operatingcontext/UnknownOperatingContext.d.ts.map +1 -0
- package/dist/redirect-bridge/packageMetadata.d.ts +3 -0
- package/dist/redirect-bridge/packageMetadata.d.ts.map +1 -0
- package/dist/redirect-bridge/protocol/Authorize.d.ts +69 -0
- package/dist/redirect-bridge/protocol/Authorize.d.ts.map +1 -0
- package/dist/redirect-bridge/redirect_bridge/index.d.ts +16 -0
- package/dist/redirect-bridge/redirect_bridge/index.d.ts.map +1 -0
- package/dist/redirect-bridge/redirect_bridge/index.mjs +108 -0
- package/dist/redirect-bridge/redirect_bridge/index.mjs.map +1 -0
- package/dist/redirect-bridge/request/AuthorizationCodeRequest.d.ts +27 -0
- package/dist/redirect-bridge/request/AuthorizationCodeRequest.d.ts.map +1 -0
- package/dist/redirect-bridge/request/ClearCacheRequest.d.ts +15 -0
- package/dist/redirect-bridge/request/ClearCacheRequest.d.ts.map +1 -0
- package/dist/redirect-bridge/request/EndSessionPopupRequest.d.ts +24 -0
- package/dist/redirect-bridge/request/EndSessionPopupRequest.d.ts.map +1 -0
- package/dist/redirect-bridge/request/EndSessionRequest.d.ts +11 -0
- package/dist/redirect-bridge/request/EndSessionRequest.d.ts.map +1 -0
- package/dist/redirect-bridge/request/HandleRedirectPromiseOptions.d.ts +5 -0
- package/dist/redirect-bridge/request/HandleRedirectPromiseOptions.d.ts.map +1 -0
- package/dist/redirect-bridge/request/InitializeApplicationRequest.d.ts +10 -0
- package/dist/redirect-bridge/request/InitializeApplicationRequest.d.ts.map +1 -0
- package/dist/redirect-bridge/request/PopupRequest.d.ts +25 -0
- package/dist/redirect-bridge/request/PopupRequest.d.ts.map +1 -0
- package/dist/redirect-bridge/request/PopupWindowAttributes.d.ts +16 -0
- package/dist/redirect-bridge/request/PopupWindowAttributes.d.ts.map +1 -0
- package/dist/redirect-bridge/request/RedirectRequest.d.ts +16 -0
- package/dist/redirect-bridge/request/RedirectRequest.d.ts.map +1 -0
- package/dist/redirect-bridge/request/RequestHelpers.d.ts +28 -0
- package/dist/redirect-bridge/request/RequestHelpers.d.ts.map +1 -0
- package/dist/redirect-bridge/request/SilentRequest.d.ts +52 -0
- package/dist/redirect-bridge/request/SilentRequest.d.ts.map +1 -0
- package/dist/redirect-bridge/request/SsoSilentRequest.d.ts +6 -0
- package/dist/redirect-bridge/request/SsoSilentRequest.d.ts.map +1 -0
- package/dist/redirect-bridge/response/AuthenticationResult.d.ts +5 -0
- package/dist/redirect-bridge/response/AuthenticationResult.d.ts.map +1 -0
- package/dist/redirect-bridge/response/ResponseHandler.d.ts +8 -0
- package/dist/redirect-bridge/response/ResponseHandler.d.ts.map +1 -0
- package/dist/redirect-bridge/telemetry/BrowserPerformanceClient.d.ts +18 -0
- package/dist/redirect-bridge/telemetry/BrowserPerformanceClient.d.ts.map +1 -0
- package/dist/redirect-bridge/telemetry/BrowserPerformanceEvents.d.ts +134 -0
- package/dist/redirect-bridge/telemetry/BrowserPerformanceEvents.d.ts.map +1 -0
- package/dist/redirect-bridge/telemetry/BrowserPerformanceMeasurement.d.ts +22 -0
- package/dist/redirect-bridge/telemetry/BrowserPerformanceMeasurement.d.ts.map +1 -0
- package/dist/redirect-bridge/telemetry/BrowserRootPerformanceEvents.d.ts +36 -0
- package/dist/redirect-bridge/telemetry/BrowserRootPerformanceEvents.d.ts.map +1 -0
- package/dist/redirect-bridge/utils/BrowserConstants.d.ts +162 -0
- package/dist/redirect-bridge/utils/BrowserConstants.d.ts.map +1 -0
- package/dist/redirect-bridge/utils/BrowserConstants.mjs +38 -0
- package/dist/redirect-bridge/utils/BrowserConstants.mjs.map +1 -0
- package/dist/redirect-bridge/utils/BrowserProtocolUtils.d.ts +12 -0
- package/dist/redirect-bridge/utils/BrowserProtocolUtils.d.ts.map +1 -0
- package/dist/redirect-bridge/utils/BrowserUtils.d.ts +111 -0
- package/dist/redirect-bridge/utils/BrowserUtils.d.ts.map +1 -0
- package/dist/redirect-bridge/utils/BrowserUtils.mjs +97 -0
- package/dist/redirect-bridge/utils/BrowserUtils.mjs.map +1 -0
- package/dist/redirect-bridge/utils/Helpers.d.ts +7 -0
- package/dist/redirect-bridge/utils/Helpers.d.ts.map +1 -0
- package/dist/redirect-bridge/utils/MsalFrameStatsUtils.d.ts +3 -0
- package/dist/redirect-bridge/utils/MsalFrameStatsUtils.d.ts.map +1 -0
- package/dist/redirect_bridge/index.d.ts +16 -0
- package/dist/redirect_bridge/index.d.ts.map +1 -0
- package/dist/request/AuthorizationCodeRequest.d.ts +18 -0
- package/dist/request/AuthorizationCodeRequest.d.ts.map +1 -1
- package/dist/request/ClearCacheRequest.d.ts +6 -2
- package/dist/request/ClearCacheRequest.d.ts.map +1 -1
- package/dist/request/EndSessionPopupRequest.d.ts +13 -10
- package/dist/request/EndSessionPopupRequest.d.ts.map +1 -1
- package/dist/request/EndSessionRequest.d.ts +4 -9
- package/dist/request/EndSessionRequest.d.ts.map +1 -1
- package/dist/request/HandleRedirectPromiseOptions.d.ts +5 -0
- package/dist/request/HandleRedirectPromiseOptions.d.ts.map +1 -0
- package/dist/request/InitializeApplicationRequest.d.ts +3 -2
- package/dist/request/InitializeApplicationRequest.d.ts.map +1 -1
- package/dist/request/PopupRequest.d.ts +13 -24
- package/dist/request/PopupRequest.d.ts.map +1 -1
- package/dist/request/RedirectRequest.d.ts +6 -23
- package/dist/request/RedirectRequest.d.ts.map +1 -1
- package/dist/request/RequestHelpers.d.ts +11 -1
- package/dist/request/RequestHelpers.d.ts.map +1 -1
- package/dist/request/RequestHelpers.mjs +30 -5
- package/dist/request/RequestHelpers.mjs.map +1 -1
- package/dist/request/SilentRequest.d.ts +33 -14
- package/dist/request/SilentRequest.d.ts.map +1 -1
- package/dist/request/SsoSilentRequest.d.ts +0 -22
- package/dist/request/SsoSilentRequest.d.ts.map +1 -1
- package/dist/response/ResponseHandler.mjs +4 -4
- package/dist/response/ResponseHandler.mjs.map +1 -1
- package/dist/telemetry/BrowserPerformanceClient.d.ts.map +1 -1
- package/dist/telemetry/BrowserPerformanceClient.mjs +3 -3
- package/dist/telemetry/BrowserPerformanceClient.mjs.map +1 -1
- package/dist/telemetry/BrowserPerformanceEvents.d.ts +4 -1
- package/dist/telemetry/BrowserPerformanceEvents.d.ts.map +1 -1
- package/dist/telemetry/BrowserPerformanceEvents.mjs +7 -5
- package/dist/telemetry/BrowserPerformanceEvents.mjs.map +1 -1
- package/dist/telemetry/BrowserPerformanceMeasurement.mjs +1 -1
- package/dist/telemetry/BrowserPerformanceMeasurement.mjs.map +1 -1
- package/dist/telemetry/BrowserRootPerformanceEvents.d.ts +1 -0
- package/dist/telemetry/BrowserRootPerformanceEvents.d.ts.map +1 -1
- package/dist/telemetry/BrowserRootPerformanceEvents.mjs +5 -3
- package/dist/telemetry/BrowserRootPerformanceEvents.mjs.map +1 -1
- package/dist/utils/BrowserConstants.d.ts +0 -4
- package/dist/utils/BrowserConstants.d.ts.map +1 -1
- package/dist/utils/BrowserConstants.mjs +1 -5
- package/dist/utils/BrowserConstants.mjs.map +1 -1
- package/dist/utils/BrowserProtocolUtils.mjs +2 -2
- package/dist/utils/BrowserProtocolUtils.mjs.map +1 -1
- package/dist/utils/BrowserUtils.d.ts +36 -2
- package/dist/utils/BrowserUtils.d.ts.map +1 -1
- package/dist/utils/BrowserUtils.mjs +152 -10
- 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.mjs +2 -2
- package/dist/utils/MsalFrameStatsUtils.mjs.map +1 -1
- package/lib/custom-auth-path/log-strings-mapping.json +1703 -0
- package/lib/custom-auth-path/msal-custom-auth.cjs +11652 -10579
- package/lib/custom-auth-path/msal-custom-auth.cjs.map +1 -1
- package/lib/custom-auth-path/types/app/IPublicClientApplication.d.ts +2 -2
- package/lib/custom-auth-path/types/app/IPublicClientApplication.d.ts.map +1 -1
- package/lib/custom-auth-path/types/app/PublicClientApplication.d.ts +5 -9
- package/lib/custom-auth-path/types/app/PublicClientApplication.d.ts.map +1 -1
- package/lib/custom-auth-path/types/cache/AccountManager.d.ts +0 -25
- package/lib/custom-auth-path/types/cache/AccountManager.d.ts.map +1 -1
- package/lib/custom-auth-path/types/cache/BrowserCacheManager.d.ts +65 -8
- package/lib/custom-auth-path/types/cache/BrowserCacheManager.d.ts.map +1 -1
- package/lib/custom-auth-path/types/cache/CacheKeys.d.ts +3 -3
- package/lib/custom-auth-path/types/cache/IWindowStorage.d.ts +1 -1
- package/lib/custom-auth-path/types/cache/IWindowStorage.d.ts.map +1 -1
- package/lib/custom-auth-path/types/cache/LocalStorage.d.ts +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 +7 -5
- package/lib/custom-auth-path/types/cache/TokenCache.d.ts.map +1 -1
- package/lib/custom-auth-path/types/config/Configuration.d.ts +4 -12
- package/lib/custom-auth-path/types/config/Configuration.d.ts.map +1 -1
- package/lib/custom-auth-path/types/controllers/IController.d.ts +2 -57
- package/lib/custom-auth-path/types/controllers/IController.d.ts.map +1 -1
- package/lib/custom-auth-path/types/controllers/NestedAppAuthController.d.ts +4 -43
- package/lib/custom-auth-path/types/controllers/NestedAppAuthController.d.ts.map +1 -1
- package/lib/custom-auth-path/types/controllers/StandardController.d.ts +3 -27
- package/lib/custom-auth-path/types/controllers/StandardController.d.ts.map +1 -1
- package/lib/custom-auth-path/types/controllers/UnknownOperatingContextController.d.ts +4 -13
- package/lib/custom-auth-path/types/controllers/UnknownOperatingContextController.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/CustomAuthConstants.d.ts +2 -1
- 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 +1 -0
- 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 +2 -2
- 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 +2 -1
- 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/AuthFlowState.d.ts +4 -0
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/AuthFlowState.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/AuthFlowStateTypes.d.ts +29 -0
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/AuthFlowStateTypes.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.d.ts +5 -0
- 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/auth_flow/jit/result/AuthMethodRegistrationChallengeMethodResult.d.ts +9 -3
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationChallengeMethodResult.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationSubmitChallengeResult.d.ts +6 -2
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationSubmitChallengeResult.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationCompletedState.d.ts +7 -0
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationCompletedState.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationFailedState.d.ts +7 -0
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationFailedState.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationState.d.ts +8 -0
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationState.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/error_type/MfaError.d.ts +27 -0
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/error_type/MfaError.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.d.ts +40 -0
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.d.ts +34 -0
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.d.ts +11 -0
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/state/MfaFailedState.d.ts +11 -0
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/state/MfaFailedState.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/state/MfaState.d.ts +67 -0
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/state/MfaState.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/state/MfaStateParameters.d.ts +19 -0
- package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/state/MfaStateParameters.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/core/interaction_client/jit/JitClient.d.ts +2 -8
- 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 +0 -1
- 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 +2 -11
- 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/interaction_client/mfa/MfaClient.d.ts +21 -0
- package/lib/custom-auth-path/types/custom_auth/core/interaction_client/mfa/MfaClient.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/core/interaction_client/mfa/parameter/MfaClientParameters.d.ts +14 -0
- package/lib/custom-auth-path/types/custom_auth/core/interaction_client/mfa/parameter/MfaClientParameters.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/core/interaction_client/mfa/result/MfaActionResult.d.ts +23 -0
- package/lib/custom-auth-path/types/custom_auth/core/interaction_client/mfa/result/MfaActionResult.d.ts.map +1 -0
- package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.d.ts +1 -0
- 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 +7 -2
- 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/ApiErrorCodes.d.ts +1 -0
- package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/types/ApiErrorCodes.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts +5 -0
- 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 +5 -1
- 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 +2 -0
- 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/telemetry/PublicApiId.d.ts +4 -3
- 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/auth_flow/result/GetAccessTokenResult.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/get_account/auth_flow/result/GetAccountResult.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/get_account/auth_flow/result/SignOutResult.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/get_account/auth_flow/state/GetAccessTokenState.d.ts +8 -0
- package/lib/custom-auth-path/types/custom_auth/get_account/auth_flow/state/GetAccessTokenState.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/get_account/auth_flow/state/GetAccountState.d.ts +8 -0
- package/lib/custom-auth-path/types/custom_auth/get_account/auth_flow/state/GetAccountState.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/get_account/auth_flow/state/SignOutState.d.ts +8 -0
- package/lib/custom-auth-path/types/custom_auth/get_account/auth_flow/state/SignOutState.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/index.d.ts +7 -0
- package/lib/custom-auth-path/types/custom_auth/index.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/reset_password/auth_flow/result/ResetPasswordResendCodeResult.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/reset_password/auth_flow/result/ResetPasswordStartResult.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitCodeResult.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitPasswordResult.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/reset_password/auth_flow/state/ResetPasswordCodeRequiredState.d.ts +4 -0
- package/lib/custom-auth-path/types/custom_auth/reset_password/auth_flow/state/ResetPasswordCodeRequiredState.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/reset_password/auth_flow/state/ResetPasswordCompletedState.d.ts +4 -0
- package/lib/custom-auth-path/types/custom_auth/reset_password/auth_flow/state/ResetPasswordCompletedState.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/reset_password/auth_flow/state/ResetPasswordFailedState.d.ts +4 -0
- package/lib/custom-auth-path/types/custom_auth/reset_password/auth_flow/state/ResetPasswordFailedState.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/reset_password/auth_flow/state/ResetPasswordPasswordRequiredState.d.ts +4 -0
- package/lib/custom-auth-path/types/custom_auth/reset_password/auth_flow/state/ResetPasswordPasswordRequiredState.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/reset_password/auth_flow/state/ResetPasswordStateParameters.d.ts +2 -0
- package/lib/custom-auth-path/types/custom_auth/reset_password/auth_flow/state/ResetPasswordStateParameters.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/result/SignInResendCodeResult.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/result/SignInResult.d.ts +10 -1
- package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/result/SignInResult.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.d.ts +19 -1
- package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.d.ts +10 -1
- package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.d.ts +4 -0
- 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/auth_flow/state/SignInCompletedState.d.ts +4 -0
- package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/state/SignInCompletedState.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/state/SignInContinuationState.d.ts +4 -0
- package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/state/SignInContinuationState.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/state/SignInFailedState.d.ts +4 -0
- package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/state/SignInFailedState.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.d.ts +4 -0
- package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/state/SignInState.d.ts +16 -0
- package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/state/SignInState.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/state/SignInStateParameters.d.ts +2 -0
- package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/state/SignInStateParameters.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/sign_in/interaction_client/SignInClient.d.ts +8 -6
- 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 +6 -0
- 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/auth_flow/result/SignUpResendCodeResult.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/sign_up/auth_flow/result/SignUpResult.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/sign_up/auth_flow/result/SignUpSubmitAttributesResult.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/sign_up/auth_flow/result/SignUpSubmitCodeResult.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/sign_up/auth_flow/result/SignUpSubmitPasswordResult.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.d.ts +4 -0
- package/lib/custom-auth-path/types/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.d.ts +4 -0
- package/lib/custom-auth-path/types/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/sign_up/auth_flow/state/SignUpCompletedState.d.ts +5 -1
- package/lib/custom-auth-path/types/custom_auth/sign_up/auth_flow/state/SignUpCompletedState.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/sign_up/auth_flow/state/SignUpFailedState.d.ts +4 -0
- package/lib/custom-auth-path/types/custom_auth/sign_up/auth_flow/state/SignUpFailedState.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/sign_up/auth_flow/state/SignUpPasswordRequiredState.d.ts +4 -0
- package/lib/custom-auth-path/types/custom_auth/sign_up/auth_flow/state/SignUpPasswordRequiredState.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/sign_up/auth_flow/state/SignUpStateParameters.d.ts +2 -0
- package/lib/custom-auth-path/types/custom_auth/sign_up/auth_flow/state/SignUpStateParameters.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/sign_up/interaction_client/SignUpClient.d.ts +4 -4
- 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/BrowserAuthErrorCodes.d.ts +3 -2
- package/lib/custom-auth-path/types/error/BrowserAuthErrorCodes.d.ts.map +1 -1
- 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/index.d.ts +4 -4
- package/lib/custom-auth-path/types/index.d.ts.map +1 -1
- package/lib/custom-auth-path/types/interaction_client/PlatformAuthInteractionClient.d.ts +2 -2
- 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 +3 -6
- 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 +6 -1
- package/lib/custom-auth-path/types/interaction_client/RedirectClient.d.ts.map +1 -1
- package/lib/custom-auth-path/types/interaction_client/SilentIframeClient.d.ts.map +1 -1
- package/lib/custom-auth-path/types/interaction_client/StandardInteractionClient.d.ts +3 -1
- 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.map +1 -1
- package/lib/custom-auth-path/types/interaction_handler/SilentHandler.d.ts +2 -7
- package/lib/custom-auth-path/types/interaction_handler/SilentHandler.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 +4 -0
- package/lib/custom-auth-path/types/protocol/Authorize.d.ts.map +1 -1
- package/lib/custom-auth-path/types/redirect_bridge/index.d.ts +16 -0
- package/lib/custom-auth-path/types/redirect_bridge/index.d.ts.map +1 -0
- package/lib/custom-auth-path/types/request/AuthorizationCodeRequest.d.ts +18 -0
- package/lib/custom-auth-path/types/request/AuthorizationCodeRequest.d.ts.map +1 -1
- package/lib/custom-auth-path/types/request/ClearCacheRequest.d.ts +6 -2
- package/lib/custom-auth-path/types/request/ClearCacheRequest.d.ts.map +1 -1
- package/lib/custom-auth-path/types/request/EndSessionPopupRequest.d.ts +13 -10
- package/lib/custom-auth-path/types/request/EndSessionPopupRequest.d.ts.map +1 -1
- package/lib/custom-auth-path/types/request/EndSessionRequest.d.ts +4 -9
- package/lib/custom-auth-path/types/request/EndSessionRequest.d.ts.map +1 -1
- package/lib/custom-auth-path/types/request/HandleRedirectPromiseOptions.d.ts +5 -0
- package/lib/custom-auth-path/types/request/HandleRedirectPromiseOptions.d.ts.map +1 -0
- package/lib/custom-auth-path/types/request/InitializeApplicationRequest.d.ts +3 -2
- package/lib/custom-auth-path/types/request/InitializeApplicationRequest.d.ts.map +1 -1
- package/lib/custom-auth-path/types/request/PopupRequest.d.ts +13 -24
- package/lib/custom-auth-path/types/request/PopupRequest.d.ts.map +1 -1
- package/lib/custom-auth-path/types/request/RedirectRequest.d.ts +6 -23
- package/lib/custom-auth-path/types/request/RedirectRequest.d.ts.map +1 -1
- package/lib/custom-auth-path/types/request/RequestHelpers.d.ts +11 -1
- package/lib/custom-auth-path/types/request/RequestHelpers.d.ts.map +1 -1
- package/lib/custom-auth-path/types/request/SilentRequest.d.ts +33 -14
- package/lib/custom-auth-path/types/request/SilentRequest.d.ts.map +1 -1
- package/lib/custom-auth-path/types/request/SsoSilentRequest.d.ts +0 -22
- package/lib/custom-auth-path/types/request/SsoSilentRequest.d.ts.map +1 -1
- package/lib/custom-auth-path/types/telemetry/BrowserPerformanceClient.d.ts.map +1 -1
- package/lib/custom-auth-path/types/telemetry/BrowserPerformanceEvents.d.ts +4 -1
- package/lib/custom-auth-path/types/telemetry/BrowserPerformanceEvents.d.ts.map +1 -1
- package/lib/custom-auth-path/types/telemetry/BrowserRootPerformanceEvents.d.ts +1 -0
- package/lib/custom-auth-path/types/telemetry/BrowserRootPerformanceEvents.d.ts.map +1 -1
- package/lib/custom-auth-path/types/utils/BrowserConstants.d.ts +0 -4
- package/lib/custom-auth-path/types/utils/BrowserConstants.d.ts.map +1 -1
- package/lib/custom-auth-path/types/utils/BrowserUtils.d.ts +36 -2
- package/lib/custom-auth-path/types/utils/BrowserUtils.d.ts.map +1 -1
- package/lib/log-strings-mapping.json +1135 -0
- package/lib/msal-browser.cjs +15070 -15362
- package/lib/msal-browser.cjs.map +1 -1
- package/lib/msal-browser.js +15070 -15362
- package/lib/msal-browser.js.map +1 -1
- package/lib/msal-browser.min.js +2 -75
- package/lib/redirect-bridge/msal-redirect-bridge.js +729 -0
- package/lib/redirect-bridge/msal-redirect-bridge.js.map +1 -0
- package/lib/redirect-bridge/msal-redirect-bridge.min.js +2 -0
- package/lib/types/app/IPublicClientApplication.d.ts +2 -2
- package/lib/types/app/IPublicClientApplication.d.ts.map +1 -1
- package/lib/types/app/PublicClientApplication.d.ts +5 -9
- package/lib/types/app/PublicClientApplication.d.ts.map +1 -1
- package/lib/types/cache/AccountManager.d.ts +0 -25
- package/lib/types/cache/AccountManager.d.ts.map +1 -1
- package/lib/types/cache/BrowserCacheManager.d.ts +65 -8
- package/lib/types/cache/BrowserCacheManager.d.ts.map +1 -1
- package/lib/types/cache/CacheKeys.d.ts +3 -3
- package/lib/types/cache/IWindowStorage.d.ts +1 -1
- package/lib/types/cache/IWindowStorage.d.ts.map +1 -1
- package/lib/types/cache/LocalStorage.d.ts +1 -1
- package/lib/types/cache/LocalStorage.d.ts.map +1 -1
- package/lib/types/cache/TokenCache.d.ts +7 -5
- package/lib/types/cache/TokenCache.d.ts.map +1 -1
- package/lib/types/config/Configuration.d.ts +4 -12
- package/lib/types/config/Configuration.d.ts.map +1 -1
- package/lib/types/controllers/IController.d.ts +2 -57
- package/lib/types/controllers/IController.d.ts.map +1 -1
- package/lib/types/controllers/NestedAppAuthController.d.ts +4 -43
- package/lib/types/controllers/NestedAppAuthController.d.ts.map +1 -1
- package/lib/types/controllers/StandardController.d.ts +3 -27
- package/lib/types/controllers/StandardController.d.ts.map +1 -1
- package/lib/types/controllers/UnknownOperatingContextController.d.ts +4 -13
- package/lib/types/controllers/UnknownOperatingContextController.d.ts.map +1 -1
- package/lib/types/custom_auth/CustomAuthConstants.d.ts +2 -1
- package/lib/types/custom_auth/CustomAuthConstants.d.ts.map +1 -1
- package/lib/types/custom_auth/controller/CustomAuthStandardController.d.ts +1 -0
- package/lib/types/custom_auth/controller/CustomAuthStandardController.d.ts.map +1 -1
- package/lib/types/custom_auth/core/CustomAuthAuthority.d.ts +2 -2
- package/lib/types/custom_auth/core/CustomAuthAuthority.d.ts.map +1 -1
- package/lib/types/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts +2 -1
- package/lib/types/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts.map +1 -1
- package/lib/types/custom_auth/core/auth_flow/AuthFlowState.d.ts +4 -0
- package/lib/types/custom_auth/core/auth_flow/AuthFlowState.d.ts.map +1 -1
- package/lib/types/custom_auth/core/auth_flow/AuthFlowStateTypes.d.ts +29 -0
- package/lib/types/custom_auth/core/auth_flow/AuthFlowStateTypes.d.ts.map +1 -0
- package/lib/types/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.d.ts +5 -0
- package/lib/types/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.d.ts.map +1 -1
- package/lib/types/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationChallengeMethodResult.d.ts +9 -3
- package/lib/types/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationChallengeMethodResult.d.ts.map +1 -1
- package/lib/types/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationSubmitChallengeResult.d.ts +6 -2
- package/lib/types/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationSubmitChallengeResult.d.ts.map +1 -1
- package/lib/types/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationCompletedState.d.ts +7 -0
- package/lib/types/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationCompletedState.d.ts.map +1 -1
- package/lib/types/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationFailedState.d.ts +7 -0
- package/lib/types/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationFailedState.d.ts.map +1 -1
- package/lib/types/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationState.d.ts +8 -0
- package/lib/types/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationState.d.ts.map +1 -1
- package/lib/types/custom_auth/core/auth_flow/mfa/error_type/MfaError.d.ts +27 -0
- package/lib/types/custom_auth/core/auth_flow/mfa/error_type/MfaError.d.ts.map +1 -0
- package/lib/types/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.d.ts +40 -0
- package/lib/types/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.d.ts.map +1 -0
- package/lib/types/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.d.ts +34 -0
- package/lib/types/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.d.ts.map +1 -0
- package/lib/types/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.d.ts +11 -0
- package/lib/types/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.d.ts.map +1 -0
- package/lib/types/custom_auth/core/auth_flow/mfa/state/MfaFailedState.d.ts +11 -0
- package/lib/types/custom_auth/core/auth_flow/mfa/state/MfaFailedState.d.ts.map +1 -0
- package/lib/types/custom_auth/core/auth_flow/mfa/state/MfaState.d.ts +67 -0
- package/lib/types/custom_auth/core/auth_flow/mfa/state/MfaState.d.ts.map +1 -0
- package/lib/types/custom_auth/core/auth_flow/mfa/state/MfaStateParameters.d.ts +19 -0
- package/lib/types/custom_auth/core/auth_flow/mfa/state/MfaStateParameters.d.ts.map +1 -0
- package/lib/types/custom_auth/core/interaction_client/jit/JitClient.d.ts +2 -8
- 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 +0 -1
- 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 +2 -11
- package/lib/types/custom_auth/core/interaction_client/jit/result/JitActionResult.d.ts.map +1 -1
- package/lib/types/custom_auth/core/interaction_client/mfa/MfaClient.d.ts +21 -0
- package/lib/types/custom_auth/core/interaction_client/mfa/MfaClient.d.ts.map +1 -0
- package/lib/types/custom_auth/core/interaction_client/mfa/parameter/MfaClientParameters.d.ts +14 -0
- package/lib/types/custom_auth/core/interaction_client/mfa/parameter/MfaClientParameters.d.ts.map +1 -0
- package/lib/types/custom_auth/core/interaction_client/mfa/result/MfaActionResult.d.ts +23 -0
- package/lib/types/custom_auth/core/interaction_client/mfa/result/MfaActionResult.d.ts.map +1 -0
- package/lib/types/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.d.ts.map +1 -1
- package/lib/types/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.d.ts +1 -0
- 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 +7 -2
- 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/ApiErrorCodes.d.ts +1 -0
- package/lib/types/custom_auth/core/network_client/custom_auth_api/types/ApiErrorCodes.d.ts.map +1 -1
- package/lib/types/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts +5 -0
- 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 +5 -1
- 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 +2 -0
- package/lib/types/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.d.ts.map +1 -1
- package/lib/types/custom_auth/core/telemetry/PublicApiId.d.ts +4 -3
- package/lib/types/custom_auth/core/telemetry/PublicApiId.d.ts.map +1 -1
- package/lib/types/custom_auth/get_account/auth_flow/result/GetAccessTokenResult.d.ts.map +1 -1
- package/lib/types/custom_auth/get_account/auth_flow/result/GetAccountResult.d.ts.map +1 -1
- package/lib/types/custom_auth/get_account/auth_flow/result/SignOutResult.d.ts.map +1 -1
- package/lib/types/custom_auth/get_account/auth_flow/state/GetAccessTokenState.d.ts +8 -0
- package/lib/types/custom_auth/get_account/auth_flow/state/GetAccessTokenState.d.ts.map +1 -1
- package/lib/types/custom_auth/get_account/auth_flow/state/GetAccountState.d.ts +8 -0
- package/lib/types/custom_auth/get_account/auth_flow/state/GetAccountState.d.ts.map +1 -1
- package/lib/types/custom_auth/get_account/auth_flow/state/SignOutState.d.ts +8 -0
- package/lib/types/custom_auth/get_account/auth_flow/state/SignOutState.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/index.d.ts +7 -0
- package/lib/types/custom_auth/index.d.ts.map +1 -1
- package/lib/types/custom_auth/reset_password/auth_flow/result/ResetPasswordResendCodeResult.d.ts.map +1 -1
- package/lib/types/custom_auth/reset_password/auth_flow/result/ResetPasswordStartResult.d.ts.map +1 -1
- package/lib/types/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitCodeResult.d.ts.map +1 -1
- package/lib/types/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitPasswordResult.d.ts.map +1 -1
- package/lib/types/custom_auth/reset_password/auth_flow/state/ResetPasswordCodeRequiredState.d.ts +4 -0
- package/lib/types/custom_auth/reset_password/auth_flow/state/ResetPasswordCodeRequiredState.d.ts.map +1 -1
- package/lib/types/custom_auth/reset_password/auth_flow/state/ResetPasswordCompletedState.d.ts +4 -0
- package/lib/types/custom_auth/reset_password/auth_flow/state/ResetPasswordCompletedState.d.ts.map +1 -1
- package/lib/types/custom_auth/reset_password/auth_flow/state/ResetPasswordFailedState.d.ts +4 -0
- package/lib/types/custom_auth/reset_password/auth_flow/state/ResetPasswordFailedState.d.ts.map +1 -1
- package/lib/types/custom_auth/reset_password/auth_flow/state/ResetPasswordPasswordRequiredState.d.ts +4 -0
- package/lib/types/custom_auth/reset_password/auth_flow/state/ResetPasswordPasswordRequiredState.d.ts.map +1 -1
- package/lib/types/custom_auth/reset_password/auth_flow/state/ResetPasswordStateParameters.d.ts +2 -0
- package/lib/types/custom_auth/reset_password/auth_flow/state/ResetPasswordStateParameters.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/result/SignInResendCodeResult.d.ts.map +1 -1
- package/lib/types/custom_auth/sign_in/auth_flow/result/SignInResult.d.ts +10 -1
- package/lib/types/custom_auth/sign_in/auth_flow/result/SignInResult.d.ts.map +1 -1
- package/lib/types/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.d.ts +19 -1
- package/lib/types/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.d.ts.map +1 -1
- package/lib/types/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.d.ts +10 -1
- package/lib/types/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.d.ts.map +1 -1
- package/lib/types/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.d.ts +4 -0
- package/lib/types/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.d.ts.map +1 -1
- package/lib/types/custom_auth/sign_in/auth_flow/state/SignInCompletedState.d.ts +4 -0
- package/lib/types/custom_auth/sign_in/auth_flow/state/SignInCompletedState.d.ts.map +1 -1
- package/lib/types/custom_auth/sign_in/auth_flow/state/SignInContinuationState.d.ts +4 -0
- package/lib/types/custom_auth/sign_in/auth_flow/state/SignInContinuationState.d.ts.map +1 -1
- package/lib/types/custom_auth/sign_in/auth_flow/state/SignInFailedState.d.ts +4 -0
- package/lib/types/custom_auth/sign_in/auth_flow/state/SignInFailedState.d.ts.map +1 -1
- package/lib/types/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.d.ts +4 -0
- package/lib/types/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.d.ts.map +1 -1
- package/lib/types/custom_auth/sign_in/auth_flow/state/SignInState.d.ts +16 -0
- package/lib/types/custom_auth/sign_in/auth_flow/state/SignInState.d.ts.map +1 -1
- package/lib/types/custom_auth/sign_in/auth_flow/state/SignInStateParameters.d.ts +2 -0
- package/lib/types/custom_auth/sign_in/auth_flow/state/SignInStateParameters.d.ts.map +1 -1
- package/lib/types/custom_auth/sign_in/interaction_client/SignInClient.d.ts +8 -6
- 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 +6 -0
- package/lib/types/custom_auth/sign_in/interaction_client/result/SignInActionResult.d.ts.map +1 -1
- package/lib/types/custom_auth/sign_up/auth_flow/result/SignUpResendCodeResult.d.ts.map +1 -1
- package/lib/types/custom_auth/sign_up/auth_flow/result/SignUpResult.d.ts.map +1 -1
- package/lib/types/custom_auth/sign_up/auth_flow/result/SignUpSubmitAttributesResult.d.ts.map +1 -1
- package/lib/types/custom_auth/sign_up/auth_flow/result/SignUpSubmitCodeResult.d.ts.map +1 -1
- package/lib/types/custom_auth/sign_up/auth_flow/result/SignUpSubmitPasswordResult.d.ts.map +1 -1
- package/lib/types/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.d.ts +4 -0
- package/lib/types/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.d.ts.map +1 -1
- package/lib/types/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.d.ts +4 -0
- package/lib/types/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.d.ts.map +1 -1
- package/lib/types/custom_auth/sign_up/auth_flow/state/SignUpCompletedState.d.ts +5 -1
- package/lib/types/custom_auth/sign_up/auth_flow/state/SignUpCompletedState.d.ts.map +1 -1
- package/lib/types/custom_auth/sign_up/auth_flow/state/SignUpFailedState.d.ts +4 -0
- package/lib/types/custom_auth/sign_up/auth_flow/state/SignUpFailedState.d.ts.map +1 -1
- package/lib/types/custom_auth/sign_up/auth_flow/state/SignUpPasswordRequiredState.d.ts +4 -0
- package/lib/types/custom_auth/sign_up/auth_flow/state/SignUpPasswordRequiredState.d.ts.map +1 -1
- package/lib/types/custom_auth/sign_up/auth_flow/state/SignUpStateParameters.d.ts +2 -0
- package/lib/types/custom_auth/sign_up/auth_flow/state/SignUpStateParameters.d.ts.map +1 -1
- package/lib/types/custom_auth/sign_up/interaction_client/SignUpClient.d.ts +4 -4
- package/lib/types/custom_auth/sign_up/interaction_client/SignUpClient.d.ts.map +1 -1
- package/lib/types/error/BrowserAuthErrorCodes.d.ts +3 -2
- package/lib/types/error/BrowserAuthErrorCodes.d.ts.map +1 -1
- 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/index.d.ts +4 -4
- package/lib/types/index.d.ts.map +1 -1
- package/lib/types/interaction_client/PlatformAuthInteractionClient.d.ts +2 -2
- package/lib/types/interaction_client/PlatformAuthInteractionClient.d.ts.map +1 -1
- package/lib/types/interaction_client/PopupClient.d.ts +3 -6
- package/lib/types/interaction_client/PopupClient.d.ts.map +1 -1
- package/lib/types/interaction_client/RedirectClient.d.ts +6 -1
- package/lib/types/interaction_client/RedirectClient.d.ts.map +1 -1
- package/lib/types/interaction_client/SilentIframeClient.d.ts.map +1 -1
- package/lib/types/interaction_client/StandardInteractionClient.d.ts +3 -1
- package/lib/types/interaction_client/StandardInteractionClient.d.ts.map +1 -1
- package/lib/types/interaction_handler/InteractionHandler.d.ts.map +1 -1
- package/lib/types/interaction_handler/SilentHandler.d.ts +2 -7
- package/lib/types/interaction_handler/SilentHandler.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 +4 -0
- package/lib/types/protocol/Authorize.d.ts.map +1 -1
- package/lib/types/redirect_bridge/index.d.ts +16 -0
- package/lib/types/redirect_bridge/index.d.ts.map +1 -0
- package/lib/types/request/AuthorizationCodeRequest.d.ts +18 -0
- package/lib/types/request/AuthorizationCodeRequest.d.ts.map +1 -1
- package/lib/types/request/ClearCacheRequest.d.ts +6 -2
- package/lib/types/request/ClearCacheRequest.d.ts.map +1 -1
- package/lib/types/request/EndSessionPopupRequest.d.ts +13 -10
- package/lib/types/request/EndSessionPopupRequest.d.ts.map +1 -1
- package/lib/types/request/EndSessionRequest.d.ts +4 -9
- package/lib/types/request/EndSessionRequest.d.ts.map +1 -1
- package/lib/types/request/HandleRedirectPromiseOptions.d.ts +5 -0
- package/lib/types/request/HandleRedirectPromiseOptions.d.ts.map +1 -0
- package/lib/types/request/InitializeApplicationRequest.d.ts +3 -2
- package/lib/types/request/InitializeApplicationRequest.d.ts.map +1 -1
- package/lib/types/request/PopupRequest.d.ts +13 -24
- package/lib/types/request/PopupRequest.d.ts.map +1 -1
- package/lib/types/request/RedirectRequest.d.ts +6 -23
- package/lib/types/request/RedirectRequest.d.ts.map +1 -1
- package/lib/types/request/RequestHelpers.d.ts +11 -1
- package/lib/types/request/RequestHelpers.d.ts.map +1 -1
- package/lib/types/request/SilentRequest.d.ts +33 -14
- package/lib/types/request/SilentRequest.d.ts.map +1 -1
- package/lib/types/request/SsoSilentRequest.d.ts +0 -22
- package/lib/types/request/SsoSilentRequest.d.ts.map +1 -1
- package/lib/types/telemetry/BrowserPerformanceClient.d.ts.map +1 -1
- package/lib/types/telemetry/BrowserPerformanceEvents.d.ts +4 -1
- package/lib/types/telemetry/BrowserPerformanceEvents.d.ts.map +1 -1
- package/lib/types/telemetry/BrowserRootPerformanceEvents.d.ts +1 -0
- package/lib/types/telemetry/BrowserRootPerformanceEvents.d.ts.map +1 -1
- package/lib/types/utils/BrowserConstants.d.ts +0 -4
- package/lib/types/utils/BrowserConstants.d.ts.map +1 -1
- package/lib/types/utils/BrowserUtils.d.ts +36 -2
- package/lib/types/utils/BrowserUtils.d.ts.map +1 -1
- package/package.json +126 -112
- package/src/app/IPublicClientApplication.ts +2 -2
- package/src/app/PublicClientApplication.ts +17 -31
- package/src/cache/AccountManager.ts +0 -142
- package/src/cache/BrowserCacheManager.ts +765 -239
- package/src/cache/CacheKeys.ts +3 -3
- package/src/cache/IWindowStorage.ts +2 -1
- package/src/cache/LocalStorage.ts +30 -17
- package/src/cache/TokenCache.ts +167 -96
- package/src/config/Configuration.ts +12 -25
- package/src/controllers/IController.ts +2 -119
- package/src/controllers/NestedAppAuthController.ts +46 -114
- package/src/controllers/StandardController.ts +112 -141
- package/src/controllers/UnknownOperatingContextController.ts +3 -72
- package/src/custom_auth/CustomAuthConstants.ts +1 -0
- package/src/custom_auth/controller/CustomAuthStandardController.ts +34 -0
- package/src/custom_auth/core/CustomAuthAuthority.ts +3 -2
- package/src/custom_auth/core/auth_flow/AuthFlowErrorBase.ts +13 -2
- package/src/custom_auth/core/auth_flow/AuthFlowState.ts +6 -1
- package/src/custom_auth/core/auth_flow/AuthFlowStateTypes.ts +60 -0
- package/src/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.ts +9 -1
- package/src/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationChallengeMethodResult.ts +21 -8
- package/src/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationSubmitChallengeResult.ts +15 -5
- package/src/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationCompletedState.ts +10 -1
- package/src/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationFailedState.ts +10 -1
- package/src/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationState.ts +18 -4
- package/src/custom_auth/core/auth_flow/mfa/error_type/MfaError.ts +40 -0
- package/src/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.ts +67 -0
- package/src/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.ts +60 -0
- package/src/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.ts +17 -0
- package/src/custom_auth/core/auth_flow/mfa/state/MfaFailedState.ts +17 -0
- package/src/custom_auth/core/auth_flow/mfa/state/MfaState.ts +202 -0
- package/src/custom_auth/core/auth_flow/mfa/state/MfaStateParameters.ts +28 -0
- package/src/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.ts +1 -1
- package/src/custom_auth/core/interaction_client/jit/JitClient.ts +18 -60
- package/src/custom_auth/core/interaction_client/jit/parameter/JitParams.ts +0 -2
- package/src/custom_auth/core/interaction_client/jit/result/JitActionResult.ts +2 -22
- package/src/custom_auth/core/interaction_client/mfa/MfaClient.ts +165 -0
- package/src/custom_auth/core/interaction_client/mfa/parameter/MfaClientParameters.ts +20 -0
- package/src/custom_auth/core/interaction_client/mfa/result/MfaActionResult.ts +48 -0
- package/src/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.ts +2 -1
- package/src/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.ts +1 -0
- package/src/custom_auth/core/network_client/custom_auth_api/SignInApiClient.ts +27 -1
- package/src/custom_auth/core/network_client/custom_auth_api/types/ApiErrorCodes.ts +1 -0
- package/src/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.ts +6 -0
- package/src/custom_auth/core/network_client/custom_auth_api/types/ApiResponseTypes.ts +6 -1
- package/src/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.ts +2 -0
- package/src/custom_auth/core/telemetry/PublicApiId.ts +6 -3
- package/src/custom_auth/get_account/auth_flow/result/GetAccessTokenResult.ts +6 -2
- package/src/custom_auth/get_account/auth_flow/result/GetAccountResult.ts +6 -2
- package/src/custom_auth/get_account/auth_flow/result/SignOutResult.ts +6 -2
- package/src/custom_auth/get_account/auth_flow/state/GetAccessTokenState.ts +16 -2
- package/src/custom_auth/get_account/auth_flow/state/GetAccountState.ts +16 -2
- package/src/custom_auth/get_account/auth_flow/state/SignOutState.ts +16 -2
- package/src/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.ts +18 -13
- package/src/custom_auth/index.ts +22 -0
- package/src/custom_auth/reset_password/auth_flow/result/ResetPasswordResendCodeResult.ts +6 -8
- package/src/custom_auth/reset_password/auth_flow/result/ResetPasswordStartResult.ts +6 -2
- package/src/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitCodeResult.ts +8 -2
- package/src/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitPasswordResult.ts +6 -2
- package/src/custom_auth/reset_password/auth_flow/state/ResetPasswordCodeRequiredState.ts +8 -0
- package/src/custom_auth/reset_password/auth_flow/state/ResetPasswordCompletedState.ts +7 -1
- package/src/custom_auth/reset_password/auth_flow/state/ResetPasswordFailedState.ts +7 -1
- package/src/custom_auth/reset_password/auth_flow/state/ResetPasswordPasswordRequiredState.ts +7 -0
- package/src/custom_auth/reset_password/auth_flow/state/ResetPasswordStateParameters.ts +2 -0
- package/src/custom_auth/reset_password/interaction_client/ResetPasswordClient.ts +18 -17
- package/src/custom_auth/sign_in/auth_flow/result/SignInResendCodeResult.ts +6 -2
- package/src/custom_auth/sign_in/auth_flow/result/SignInResult.ts +28 -6
- package/src/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.ts +38 -3
- package/src/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.ts +26 -4
- package/src/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.ts +17 -11
- package/src/custom_auth/sign_in/auth_flow/state/SignInCompletedState.ts +7 -1
- package/src/custom_auth/sign_in/auth_flow/state/SignInContinuationState.ts +14 -50
- package/src/custom_auth/sign_in/auth_flow/state/SignInFailedState.ts +7 -1
- package/src/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.ts +18 -49
- package/src/custom_auth/sign_in/auth_flow/state/SignInState.ts +108 -0
- package/src/custom_auth/sign_in/auth_flow/state/SignInStateParameters.ts +2 -0
- package/src/custom_auth/sign_in/interaction_client/SignInClient.ts +162 -73
- package/src/custom_auth/sign_in/interaction_client/result/SignInActionResult.ts +15 -0
- package/src/custom_auth/sign_up/auth_flow/result/SignUpResendCodeResult.ts +6 -6
- package/src/custom_auth/sign_up/auth_flow/result/SignUpResult.ts +10 -4
- package/src/custom_auth/sign_up/auth_flow/result/SignUpSubmitAttributesResult.ts +6 -2
- package/src/custom_auth/sign_up/auth_flow/result/SignUpSubmitCodeResult.ts +10 -4
- package/src/custom_auth/sign_up/auth_flow/result/SignUpSubmitPasswordResult.ts +8 -3
- package/src/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.ts +7 -0
- package/src/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.ts +10 -0
- package/src/custom_auth/sign_up/auth_flow/state/SignUpCompletedState.ts +8 -2
- package/src/custom_auth/sign_up/auth_flow/state/SignUpFailedState.ts +7 -1
- package/src/custom_auth/sign_up/auth_flow/state/SignUpPasswordRequiredState.ts +8 -0
- package/src/custom_auth/sign_up/auth_flow/state/SignUpStateParameters.ts +2 -0
- package/src/custom_auth/sign_up/interaction_client/SignUpClient.ts +62 -46
- package/src/error/BrowserAuthErrorCodes.ts +4 -2
- package/src/error/NativeAuthError.ts +1 -0
- package/src/error/NativeAuthErrorCodes.ts +1 -0
- package/src/index.ts +6 -11
- package/src/interaction_client/PlatformAuthInteractionClient.ts +13 -6
- package/src/interaction_client/PopupClient.ts +239 -105
- package/src/interaction_client/RedirectClient.ts +109 -80
- package/src/interaction_client/SilentIframeClient.ts +123 -59
- package/src/interaction_client/StandardInteractionClient.ts +35 -19
- package/src/interaction_handler/InteractionHandler.ts +0 -11
- package/src/interaction_handler/SilentHandler.ts +25 -90
- package/src/packageMetadata.ts +1 -1
- package/src/protocol/Authorize.ts +65 -6
- package/src/redirect_bridge/index.ts +131 -0
- package/src/request/AuthorizationCodeRequest.ts +18 -0
- package/src/request/ClearCacheRequest.ts +6 -2
- package/src/request/EndSessionPopupRequest.ts +13 -12
- package/src/request/EndSessionRequest.ts +4 -11
- package/src/request/HandleRedirectPromiseOptions.ts +9 -0
- package/src/request/InitializeApplicationRequest.ts +3 -2
- package/src/request/PopupRequest.ts +13 -24
- package/src/request/RedirectRequest.ts +6 -23
- package/src/request/RequestHelpers.ts +34 -0
- package/src/request/SilentRequest.ts +33 -14
- package/src/request/SsoSilentRequest.ts +0 -22
- package/src/telemetry/BrowserPerformanceClient.ts +5 -2
- package/src/telemetry/BrowserPerformanceEvents.ts +5 -1
- package/src/telemetry/BrowserRootPerformanceEvents.ts +2 -0
- package/src/utils/BrowserConstants.ts +0 -4
- package/src/utils/BrowserProtocolUtils.ts +1 -1
- package/src/utils/BrowserUtils.ts +228 -9
- package/dist/app/PublicClientNext.d.ts.map +0 -1
- package/dist/app/PublicClientNext.mjs +0 -303
- package/dist/app/PublicClientNext.mjs.map +0 -1
- package/dist/controllers/ControllerFactory.d.ts +0 -6
- package/dist/controllers/ControllerFactory.d.ts.map +0 -1
- package/dist/controllers/ControllerFactory.mjs +0 -41
- package/dist/controllers/ControllerFactory.mjs.map +0 -1
- package/dist/controllers/UnknownOperatingContextController.mjs +0 -255
- package/dist/controllers/UnknownOperatingContextController.mjs.map +0 -1
- package/dist/custom-auth-path/app/PublicClientNext.d.ts.map +0 -1
- package/dist/custom-auth-path/controllers/ControllerFactory.d.ts +0 -6
- package/dist/custom-auth-path/controllers/ControllerFactory.d.ts.map +0 -1
- package/dist/custom-auth-path/controllers/ControllerFactory.mjs +0 -19
- package/dist/custom-auth-path/controllers/ControllerFactory.mjs.map +0 -1
- package/dist/custom-auth-path/utils/PopupUtils.d.ts +0 -33
- package/dist/custom-auth-path/utils/PopupUtils.d.ts.map +0 -1
- package/dist/custom-auth-path/utils/PopupUtils.mjs +0 -90
- package/dist/custom-auth-path/utils/PopupUtils.mjs.map +0 -1
- package/dist/operatingcontext/UnknownOperatingContext.mjs +0 -49
- package/dist/operatingcontext/UnknownOperatingContext.mjs.map +0 -1
- package/dist/utils/PopupUtils.d.ts +0 -33
- package/dist/utils/PopupUtils.d.ts.map +0 -1
- package/dist/utils/PopupUtils.mjs +0 -90
- package/dist/utils/PopupUtils.mjs.map +0 -1
- package/lib/custom-auth-path/types/app/PublicClientNext.d.ts +0 -231
- package/lib/custom-auth-path/types/app/PublicClientNext.d.ts.map +0 -1
- package/lib/custom-auth-path/types/controllers/ControllerFactory.d.ts +0 -6
- package/lib/custom-auth-path/types/controllers/ControllerFactory.d.ts.map +0 -1
- package/lib/custom-auth-path/types/utils/PopupUtils.d.ts +0 -33
- package/lib/custom-auth-path/types/utils/PopupUtils.d.ts.map +0 -1
- package/lib/types/app/PublicClientNext.d.ts +0 -231
- package/lib/types/app/PublicClientNext.d.ts.map +0 -1
- package/lib/types/controllers/ControllerFactory.d.ts +0 -6
- package/lib/types/controllers/ControllerFactory.d.ts.map +0 -1
- package/lib/types/utils/PopupUtils.d.ts +0 -33
- package/lib/types/utils/PopupUtils.d.ts.map +0 -1
- package/src/app/PublicClientNext.ts +0 -389
- package/src/controllers/ControllerFactory.ts +0 -49
- package/src/utils/PopupUtils.ts +0 -117
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
/*! @azure/msal-browser v5.0.
|
|
1
|
+
/*! @azure/msal-browser v5.0.1 2026-01-16 */
|
|
2
2
|
'use strict';
|
|
3
|
-
import { CacheManager,
|
|
3
|
+
import { CacheManager, TimeUtils, CacheHelpers, Constants, AuthToken, getTenantIdFromIdTokenClaims, buildTenantProfile, AccountEntityUtils, createCacheError, CacheErrorCodes, invokeAsync, PerformanceEvents, StringUtils, CacheError, DEFAULT_CRYPTO_IMPLEMENTATION } from '@azure/msal-common/browser';
|
|
4
4
|
import { createBrowserAuthError } from '../error/BrowserAuthError.mjs';
|
|
5
|
-
import {
|
|
6
|
-
import { ACCOUNT_SCHEMA_VERSION, CREDENTIAL_SCHEMA_VERSION,
|
|
5
|
+
import { InMemoryCacheKeys, BrowserCacheLocation, TemporaryCacheKeys, INTERACTION_TYPE } from '../utils/BrowserConstants.mjs';
|
|
6
|
+
import { ACCOUNT_SCHEMA_VERSION, CREDENTIAL_SCHEMA_VERSION, VERSION_CACHE_KEY, getTokenKeysCacheKey, getAccountKeysCacheKey, PREFIX, CACHE_KEY_SEPARATOR } from './CacheKeys.mjs';
|
|
7
7
|
import { LocalStorage } from './LocalStorage.mjs';
|
|
8
8
|
import { SessionStorage } from './SessionStorage.mjs';
|
|
9
9
|
import { MemoryStorage } from './MemoryStorage.mjs';
|
|
@@ -12,7 +12,7 @@ import { base64Encode } from '../encode/Base64Encode.mjs';
|
|
|
12
12
|
import { CookieStorage } from './CookieStorage.mjs';
|
|
13
13
|
import { getAccountKeys, getTokenKeys } from './CacheHelpers.mjs';
|
|
14
14
|
import { EventType } from '../event/EventType.mjs';
|
|
15
|
-
import { clearHash } from '../utils/BrowserUtils.mjs';
|
|
15
|
+
import { clearHash, cancelPendingBridgeResponse } from '../utils/BrowserUtils.mjs';
|
|
16
16
|
import { version } from '../packageMetadata.mjs';
|
|
17
17
|
import { removeElementFromArray } from '../utils/Helpers.mjs';
|
|
18
18
|
import { isEncrypted } from './EncryptedData.mjs';
|
|
@@ -49,108 +49,338 @@ class BrowserCacheManager extends CacheManager {
|
|
|
49
49
|
* Migrates any existing cache data from previous versions of MSAL.js into the current cache structure.
|
|
50
50
|
*/
|
|
51
51
|
async migrateExistingCache(correlationId) {
|
|
52
|
-
|
|
53
|
-
|
|
52
|
+
let accountKeys = getAccountKeys(this.browserStorage);
|
|
53
|
+
let tokenKeys = getTokenKeys(this.clientId, this.browserStorage);
|
|
54
54
|
this.performanceClient.addFields({
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
55
|
+
preMigrateAcntCount: accountKeys.length,
|
|
56
|
+
preMigrateATCount: tokenKeys.accessToken.length,
|
|
57
|
+
preMigrateITCount: tokenKeys.idToken.length,
|
|
58
|
+
preMigrateRTCount: tokenKeys.refreshToken.length,
|
|
59
59
|
}, correlationId);
|
|
60
|
-
|
|
61
|
-
|
|
60
|
+
for (let i = 0; i < ACCOUNT_SCHEMA_VERSION; i++) {
|
|
61
|
+
const credentialSchema = i; // For now account and credential schemas are the same, but may diverge in future
|
|
62
|
+
await this.removeStaleAccounts(i, credentialSchema, correlationId);
|
|
63
|
+
}
|
|
64
|
+
// Must migrate idTokens first to ensure we have KMSI info for the rest
|
|
65
|
+
for (let i = 0; i < CREDENTIAL_SCHEMA_VERSION; i++) {
|
|
66
|
+
const accountSchema = i; // For now account and credential schemas are the same, but may diverge in future
|
|
67
|
+
await this.migrateIdTokens(i, accountSchema, correlationId);
|
|
68
|
+
}
|
|
69
|
+
const kmsiMap = this.getKMSIValues();
|
|
70
|
+
for (let i = 0; i < CREDENTIAL_SCHEMA_VERSION; i++) {
|
|
71
|
+
await this.migrateAccessTokens(i, kmsiMap, correlationId);
|
|
72
|
+
await this.migrateRefreshTokens(i, kmsiMap, correlationId);
|
|
73
|
+
}
|
|
74
|
+
accountKeys = getAccountKeys(this.browserStorage);
|
|
75
|
+
tokenKeys = getTokenKeys(this.clientId, this.browserStorage);
|
|
62
76
|
this.performanceClient.addFields({
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
77
|
+
postMigrateAcntCount: accountKeys.length,
|
|
78
|
+
postMigrateATCount: tokenKeys.accessToken.length,
|
|
79
|
+
postMigrateITCount: tokenKeys.idToken.length,
|
|
80
|
+
postMigrateRTCount: tokenKeys.refreshToken.length,
|
|
67
81
|
}, correlationId);
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* Parses entry, adds lastUpdatedAt if it doesn't exist, removes entry if expired or invalid
|
|
85
|
+
* @param key
|
|
86
|
+
* @param correlationId
|
|
87
|
+
* @returns
|
|
88
|
+
*/
|
|
89
|
+
async updateOldEntry(key, correlationId) {
|
|
90
|
+
const rawValue = this.browserStorage.getItem(key);
|
|
91
|
+
const parsedValue = this.validateAndParseJson(rawValue || "");
|
|
92
|
+
if (!parsedValue) {
|
|
93
|
+
this.browserStorage.removeItem(key);
|
|
94
|
+
return null;
|
|
76
95
|
}
|
|
77
|
-
|
|
78
|
-
|
|
96
|
+
if (!parsedValue.lastUpdatedAt) {
|
|
97
|
+
// Add lastUpdatedAt to the existing v0 entry if it doesnt exist so we know when it's safe to remove it
|
|
98
|
+
parsedValue.lastUpdatedAt = Date.now().toString();
|
|
99
|
+
this.setItem(key, JSON.stringify(parsedValue), correlationId);
|
|
79
100
|
}
|
|
80
|
-
if (
|
|
81
|
-
this.browserStorage.
|
|
101
|
+
else if (TimeUtils.isCacheExpired(parsedValue.lastUpdatedAt, this.cacheConfig.cacheRetentionDays)) {
|
|
102
|
+
this.browserStorage.removeItem(key);
|
|
103
|
+
this.performanceClient.incrementFields({ expiredCacheRemovedCount: 1 }, correlationId);
|
|
104
|
+
return null;
|
|
82
105
|
}
|
|
83
|
-
|
|
84
|
-
this.browserStorage.
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
106
|
+
const decryptedData = isEncrypted(parsedValue)
|
|
107
|
+
? await this.browserStorage.decryptData(key, parsedValue, correlationId)
|
|
108
|
+
: parsedValue;
|
|
109
|
+
if (!decryptedData || !CacheHelpers.isCredentialEntity(decryptedData)) {
|
|
110
|
+
this.performanceClient.incrementFields({ invalidCacheCount: 1 }, correlationId);
|
|
111
|
+
return null;
|
|
112
|
+
}
|
|
113
|
+
if ((CacheHelpers.isAccessTokenEntity(decryptedData) ||
|
|
114
|
+
CacheHelpers.isRefreshTokenEntity(decryptedData)) &&
|
|
115
|
+
decryptedData.expiresOn &&
|
|
116
|
+
TimeUtils.isTokenExpired(decryptedData.expiresOn, Constants.DEFAULT_TOKEN_RENEWAL_OFFSET_SEC)) {
|
|
117
|
+
this.browserStorage.removeItem(key);
|
|
118
|
+
this.performanceClient.incrementFields({ expiredCacheRemovedCount: 1 }, correlationId);
|
|
119
|
+
return null;
|
|
120
|
+
}
|
|
121
|
+
return decryptedData;
|
|
122
|
+
}
|
|
123
|
+
/**
|
|
124
|
+
* Remove accounts from the cache for older schema versions if they have not been updated in the last cacheRetentionDays
|
|
125
|
+
* @param accountSchema
|
|
126
|
+
* @param credentialSchema
|
|
127
|
+
* @param correlationId
|
|
128
|
+
* @returns
|
|
129
|
+
*/
|
|
130
|
+
async removeStaleAccounts(accountSchema, credentialSchema, correlationId) {
|
|
131
|
+
const accountKeysToCheck = getAccountKeys(this.browserStorage, accountSchema);
|
|
132
|
+
if (accountKeysToCheck.length === 0) {
|
|
133
|
+
return;
|
|
134
|
+
}
|
|
135
|
+
for (const accountKey of [...accountKeysToCheck]) {
|
|
136
|
+
this.performanceClient.incrementFields({ oldAcntCount: 1 }, correlationId);
|
|
137
|
+
const rawValue = this.browserStorage.getItem(accountKey);
|
|
138
|
+
const parsedValue = this.validateAndParseJson(rawValue || "");
|
|
139
|
+
if (!parsedValue) {
|
|
140
|
+
removeElementFromArray(accountKeysToCheck, accountKey);
|
|
141
|
+
continue;
|
|
142
|
+
}
|
|
143
|
+
if (!parsedValue.lastUpdatedAt) {
|
|
144
|
+
// Add lastUpdatedAt to the existing entry if it doesnt exist so we know when it's safe to remove it
|
|
145
|
+
parsedValue.lastUpdatedAt = Date.now().toString();
|
|
146
|
+
this.setItem(accountKey, JSON.stringify(parsedValue), correlationId);
|
|
96
147
|
continue;
|
|
97
148
|
}
|
|
98
|
-
if (
|
|
99
|
-
//
|
|
100
|
-
|
|
101
|
-
|
|
149
|
+
else if (TimeUtils.isCacheExpired(parsedValue.lastUpdatedAt, this.cacheConfig.cacheRetentionDays)) {
|
|
150
|
+
// Cache expired remove account and associated tokens
|
|
151
|
+
await this.removeAccountOldSchema(accountKey, parsedValue, credentialSchema, correlationId);
|
|
152
|
+
removeElementFromArray(accountKeysToCheck, accountKey);
|
|
102
153
|
}
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
154
|
+
}
|
|
155
|
+
this.setAccountKeys(accountKeysToCheck, correlationId, accountSchema);
|
|
156
|
+
}
|
|
157
|
+
/**
|
|
158
|
+
* Remove the given account and all associated tokens from the cache
|
|
159
|
+
* @param accountKey
|
|
160
|
+
* @param rawObject
|
|
161
|
+
* @param credentialSchema
|
|
162
|
+
* @param correlationId
|
|
163
|
+
*/
|
|
164
|
+
async removeAccountOldSchema(accountKey, rawObject, credentialSchema, correlationId) {
|
|
165
|
+
const decryptedData = isEncrypted(rawObject)
|
|
166
|
+
? (await this.browserStorage.decryptData(accountKey, rawObject, correlationId))
|
|
167
|
+
: rawObject;
|
|
168
|
+
const homeAccountId = decryptedData?.homeAccountId;
|
|
169
|
+
if (homeAccountId) {
|
|
170
|
+
const tokenKeys = this.getTokenKeys(credentialSchema);
|
|
171
|
+
[...tokenKeys.idToken]
|
|
172
|
+
.filter((key) => key.includes(homeAccountId))
|
|
173
|
+
.forEach((key) => {
|
|
174
|
+
this.browserStorage.removeItem(key);
|
|
175
|
+
removeElementFromArray(tokenKeys.idToken, key);
|
|
176
|
+
});
|
|
177
|
+
[...tokenKeys.accessToken]
|
|
178
|
+
.filter((key) => key.includes(homeAccountId))
|
|
179
|
+
.forEach((key) => {
|
|
180
|
+
this.browserStorage.removeItem(key);
|
|
181
|
+
removeElementFromArray(tokenKeys.accessToken, key);
|
|
182
|
+
});
|
|
183
|
+
[...tokenKeys.refreshToken]
|
|
184
|
+
.filter((key) => key.includes(homeAccountId))
|
|
185
|
+
.forEach((key) => {
|
|
186
|
+
this.browserStorage.removeItem(key);
|
|
187
|
+
removeElementFromArray(tokenKeys.refreshToken, key);
|
|
188
|
+
});
|
|
189
|
+
this.setTokenKeys(tokenKeys, correlationId, credentialSchema);
|
|
190
|
+
}
|
|
191
|
+
this.performanceClient.incrementFields({ expiredAcntRemovedCount: 1 }, correlationId);
|
|
192
|
+
this.browserStorage.removeItem(accountKey);
|
|
193
|
+
}
|
|
194
|
+
/**
|
|
195
|
+
* Gets key value pair mapping homeAccountId to KMSI value
|
|
196
|
+
* @returns
|
|
197
|
+
*/
|
|
198
|
+
getKMSIValues() {
|
|
199
|
+
const kmsiMap = {};
|
|
200
|
+
const tokenKeys = this.getTokenKeys().idToken;
|
|
201
|
+
for (const key of tokenKeys) {
|
|
202
|
+
const rawValue = this.browserStorage.getUserData(key);
|
|
203
|
+
if (rawValue) {
|
|
204
|
+
const idToken = JSON.parse(rawValue);
|
|
205
|
+
const claims = AuthToken.extractTokenClaims(idToken.secret, base64Decode);
|
|
206
|
+
if (claims) {
|
|
207
|
+
kmsiMap[idToken.homeAccountId] = AuthToken.isKmsi(claims);
|
|
110
208
|
}
|
|
111
|
-
|
|
112
|
-
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
return kmsiMap;
|
|
212
|
+
}
|
|
213
|
+
/**
|
|
214
|
+
* Migrates id tokens from the old schema to the new schema, also migrates associated account object if it doesn't already exist in the new schema
|
|
215
|
+
* @param credentialSchema
|
|
216
|
+
* @param accountSchema
|
|
217
|
+
* @param correlationId
|
|
218
|
+
* @returns
|
|
219
|
+
*/
|
|
220
|
+
async migrateIdTokens(credentialSchema, accountSchema, correlationId) {
|
|
221
|
+
const credentialKeysToMigrate = getTokenKeys(this.clientId, this.browserStorage, credentialSchema);
|
|
222
|
+
if (credentialKeysToMigrate.idToken.length === 0) {
|
|
223
|
+
return;
|
|
224
|
+
}
|
|
225
|
+
const currentCredentialKeys = getTokenKeys(this.clientId, this.browserStorage, CREDENTIAL_SCHEMA_VERSION);
|
|
226
|
+
const currentAccountKeys = getAccountKeys(this.browserStorage);
|
|
227
|
+
const previousAccountKeys = getAccountKeys(this.browserStorage, accountSchema);
|
|
228
|
+
for (const idTokenKey of [...credentialKeysToMigrate.idToken]) {
|
|
229
|
+
this.performanceClient.incrementFields({ oldITCount: 1 }, correlationId);
|
|
230
|
+
const oldSchemaData = (await this.updateOldEntry(idTokenKey, correlationId));
|
|
231
|
+
if (!oldSchemaData) {
|
|
232
|
+
removeElementFromArray(credentialKeysToMigrate.idToken, idTokenKey);
|
|
233
|
+
continue;
|
|
234
|
+
}
|
|
235
|
+
const currentAccountKey = currentAccountKeys.find((key) => key.includes(oldSchemaData.homeAccountId));
|
|
236
|
+
const previousAccountKey = previousAccountKeys.find((key) => key.includes(oldSchemaData.homeAccountId));
|
|
237
|
+
let account = null;
|
|
238
|
+
if (currentAccountKey) {
|
|
239
|
+
account = this.getAccount(currentAccountKey, correlationId);
|
|
240
|
+
}
|
|
241
|
+
else if (previousAccountKey) {
|
|
242
|
+
const rawValue = this.browserStorage.getItem(previousAccountKey);
|
|
243
|
+
const parsedValue = this.validateAndParseJson(rawValue || "");
|
|
244
|
+
account =
|
|
245
|
+
parsedValue && isEncrypted(parsedValue)
|
|
246
|
+
? (await this.browserStorage.decryptData(previousAccountKey, parsedValue, correlationId))
|
|
247
|
+
: parsedValue;
|
|
248
|
+
}
|
|
249
|
+
if (!account) {
|
|
250
|
+
// Don't migrate idToken if we don't have an account for it
|
|
251
|
+
this.performanceClient.incrementFields({ skipITMigrateCount: 1 }, correlationId);
|
|
252
|
+
continue;
|
|
253
|
+
}
|
|
254
|
+
const claims = AuthToken.extractTokenClaims(oldSchemaData.secret, base64Decode);
|
|
255
|
+
const newIdTokenKey = this.generateCredentialKey(oldSchemaData);
|
|
256
|
+
const currentIdToken = this.getIdTokenCredential(newIdTokenKey, correlationId);
|
|
257
|
+
const oldTokenHasSignInState = Object.keys(claims).includes("signin_state");
|
|
258
|
+
const currentTokenHasSignInState = currentIdToken &&
|
|
259
|
+
Object.keys(AuthToken.extractTokenClaims(currentIdToken.secret, base64Decode) || {}).includes("signin_state");
|
|
260
|
+
/**
|
|
261
|
+
* Only migrate if:
|
|
262
|
+
* 1. Token doesn't yet exist in current schema
|
|
263
|
+
* 2. Old schema token has been updated more recently than the current one AND migrating it won't result in loss of KMSI state
|
|
264
|
+
*/
|
|
265
|
+
if (!currentIdToken ||
|
|
266
|
+
(oldSchemaData.lastUpdatedAt > currentIdToken.lastUpdatedAt &&
|
|
267
|
+
(oldTokenHasSignInState || !currentTokenHasSignInState))) {
|
|
268
|
+
const tenantProfiles = account.tenantProfiles || [];
|
|
269
|
+
const tenantId = getTenantIdFromIdTokenClaims(claims) || account.realm;
|
|
270
|
+
if (tenantId &&
|
|
271
|
+
!tenantProfiles.find((tenantProfile) => {
|
|
272
|
+
return tenantProfile.tenantId === tenantId;
|
|
273
|
+
})) {
|
|
274
|
+
const newTenantProfile = buildTenantProfile(account.homeAccountId, account.localAccountId, tenantId, claims);
|
|
275
|
+
tenantProfiles.push(newTenantProfile);
|
|
276
|
+
}
|
|
277
|
+
account.tenantProfiles = tenantProfiles;
|
|
278
|
+
const newAccountKey = this.generateAccountKey(AccountEntityUtils.getAccountInfo(account));
|
|
279
|
+
const kmsi = AuthToken.isKmsi(claims);
|
|
280
|
+
await this.setUserData(newAccountKey, JSON.stringify(account), correlationId, account.lastUpdatedAt, kmsi);
|
|
281
|
+
if (!currentAccountKeys.includes(newAccountKey)) {
|
|
282
|
+
currentAccountKeys.push(newAccountKey);
|
|
113
283
|
}
|
|
284
|
+
await this.setUserData(newIdTokenKey, JSON.stringify(oldSchemaData), correlationId, oldSchemaData.lastUpdatedAt, kmsi);
|
|
285
|
+
this.performanceClient.incrementFields({ migratedITCount: 1 }, correlationId);
|
|
286
|
+
currentCredentialKeys.idToken.push(newIdTokenKey);
|
|
287
|
+
}
|
|
288
|
+
}
|
|
289
|
+
this.setTokenKeys(credentialKeysToMigrate, correlationId, credentialSchema);
|
|
290
|
+
this.setTokenKeys(currentCredentialKeys, correlationId);
|
|
291
|
+
this.setAccountKeys(currentAccountKeys, correlationId);
|
|
292
|
+
}
|
|
293
|
+
/**
|
|
294
|
+
* Migrates access tokens from old cache schema to current schema
|
|
295
|
+
* @param credentialSchema
|
|
296
|
+
* @param kmsiMap
|
|
297
|
+
* @param correlationId
|
|
298
|
+
* @returns
|
|
299
|
+
*/
|
|
300
|
+
async migrateAccessTokens(credentialSchema, kmsiMap, correlationId) {
|
|
301
|
+
const credentialKeysToMigrate = getTokenKeys(this.clientId, this.browserStorage, credentialSchema);
|
|
302
|
+
if (credentialKeysToMigrate.accessToken.length === 0) {
|
|
303
|
+
return;
|
|
304
|
+
}
|
|
305
|
+
const currentCredentialKeys = getTokenKeys(this.clientId, this.browserStorage, CREDENTIAL_SCHEMA_VERSION);
|
|
306
|
+
for (const accessTokenKey of [...credentialKeysToMigrate.accessToken]) {
|
|
307
|
+
this.performanceClient.incrementFields({ oldATCount: 1 }, correlationId);
|
|
308
|
+
const oldSchemaData = (await this.updateOldEntry(accessTokenKey, correlationId));
|
|
309
|
+
if (!oldSchemaData) {
|
|
310
|
+
removeElementFromArray(credentialKeysToMigrate.accessToken, accessTokenKey);
|
|
311
|
+
continue;
|
|
114
312
|
}
|
|
115
|
-
if (!
|
|
116
|
-
|
|
117
|
-
(
|
|
118
|
-
TimeUtils.isTokenExpired(expirationTime, Constants.DEFAULT_TOKEN_RENEWAL_OFFSET_SEC))) {
|
|
119
|
-
this.browserStorage.removeItem(v0Key);
|
|
120
|
-
removeElementFromArray(v0Keys, v0Key);
|
|
121
|
-
this.performanceClient.incrementFields({ expiredCacheRemovedCount: 1 }, correlationId);
|
|
313
|
+
if (!(oldSchemaData.homeAccountId in kmsiMap)) {
|
|
314
|
+
// Don't migrate tokens if we don't have an idToken for them
|
|
315
|
+
this.performanceClient.incrementFields({ skipATMigrateCount: 1 }, correlationId);
|
|
122
316
|
continue;
|
|
123
317
|
}
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
318
|
+
const newKey = this.generateCredentialKey(oldSchemaData);
|
|
319
|
+
const kmsi = kmsiMap[oldSchemaData.homeAccountId];
|
|
320
|
+
if (!currentCredentialKeys.accessToken.includes(newKey)) {
|
|
321
|
+
await this.setUserData(newKey, JSON.stringify(oldSchemaData), correlationId, oldSchemaData.lastUpdatedAt, kmsi);
|
|
322
|
+
this.performanceClient.incrementFields({ migratedATCount: 1 }, correlationId);
|
|
323
|
+
currentCredentialKeys.accessToken.push(newKey);
|
|
324
|
+
}
|
|
325
|
+
else {
|
|
326
|
+
const currentToken = this.getAccessTokenCredential(newKey, correlationId);
|
|
327
|
+
if (!currentToken ||
|
|
328
|
+
oldSchemaData.lastUpdatedAt > currentToken.lastUpdatedAt) {
|
|
329
|
+
// If the token already exists, only overwrite it if the old token has a more recent lastUpdatedAt
|
|
330
|
+
await this.setUserData(newKey, JSON.stringify(oldSchemaData), correlationId, oldSchemaData.lastUpdatedAt, kmsi);
|
|
331
|
+
this.performanceClient.incrementFields({ migratedATCount: 1 }, correlationId);
|
|
135
332
|
}
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
333
|
+
}
|
|
334
|
+
}
|
|
335
|
+
this.setTokenKeys(credentialKeysToMigrate, correlationId, credentialSchema);
|
|
336
|
+
this.setTokenKeys(currentCredentialKeys, correlationId);
|
|
337
|
+
}
|
|
338
|
+
/**
|
|
339
|
+
* Migrates refresh tokens from old cache schema to current schema
|
|
340
|
+
* @param credentialSchema
|
|
341
|
+
* @param kmsiMap
|
|
342
|
+
* @param correlationId
|
|
343
|
+
* @returns
|
|
344
|
+
*/
|
|
345
|
+
async migrateRefreshTokens(credentialSchema, kmsiMap, correlationId) {
|
|
346
|
+
const credentialKeysToMigrate = getTokenKeys(this.clientId, this.browserStorage, credentialSchema);
|
|
347
|
+
if (credentialKeysToMigrate.refreshToken.length === 0) {
|
|
348
|
+
return;
|
|
349
|
+
}
|
|
350
|
+
const currentCredentialKeys = getTokenKeys(this.clientId, this.browserStorage, CREDENTIAL_SCHEMA_VERSION);
|
|
351
|
+
for (const refreshTokenKey of [
|
|
352
|
+
...credentialKeysToMigrate.refreshToken,
|
|
353
|
+
]) {
|
|
354
|
+
this.performanceClient.incrementFields({ oldRTCount: 1 }, correlationId);
|
|
355
|
+
const oldSchemaData = (await this.updateOldEntry(refreshTokenKey, correlationId));
|
|
356
|
+
if (!oldSchemaData) {
|
|
357
|
+
removeElementFromArray(credentialKeysToMigrate.refreshToken, refreshTokenKey);
|
|
358
|
+
continue;
|
|
359
|
+
}
|
|
360
|
+
if (!(oldSchemaData.homeAccountId in kmsiMap)) {
|
|
361
|
+
// Don't migrate tokens if we don't have an idToken for them
|
|
362
|
+
this.performanceClient.incrementFields({ skipRTMigrateCount: 1 }, correlationId);
|
|
363
|
+
continue;
|
|
364
|
+
}
|
|
365
|
+
const newKey = this.generateCredentialKey(oldSchemaData);
|
|
366
|
+
const kmsi = kmsiMap[oldSchemaData.homeAccountId];
|
|
367
|
+
if (!currentCredentialKeys.refreshToken.includes(newKey)) {
|
|
368
|
+
await this.setUserData(newKey, JSON.stringify(oldSchemaData), correlationId, oldSchemaData.lastUpdatedAt, kmsi);
|
|
369
|
+
this.performanceClient.incrementFields({ migratedRTCount: 1 }, correlationId);
|
|
370
|
+
currentCredentialKeys.refreshToken.push(newKey);
|
|
371
|
+
}
|
|
372
|
+
else {
|
|
373
|
+
const currentToken = this.getRefreshTokenCredential(newKey, correlationId);
|
|
374
|
+
if (!currentToken ||
|
|
375
|
+
oldSchemaData.lastUpdatedAt > currentToken.lastUpdatedAt) {
|
|
376
|
+
// If the token already exists, only overwrite it if the old token has a more recent lastUpdatedAt
|
|
377
|
+
await this.setUserData(newKey, JSON.stringify(oldSchemaData), correlationId, oldSchemaData.lastUpdatedAt, kmsi);
|
|
378
|
+
this.performanceClient.incrementFields({ migratedRTCount: 1 }, correlationId);
|
|
146
379
|
}
|
|
147
380
|
}
|
|
148
|
-
/*
|
|
149
|
-
* Note: If we reach here for unencrypted localStorage data, we continue without migrating
|
|
150
|
-
* as we can't migrate unencrypted localStorage data right now since we can't guarantee KMSI=no
|
|
151
|
-
*/
|
|
152
381
|
}
|
|
153
|
-
|
|
382
|
+
this.setTokenKeys(credentialKeysToMigrate, correlationId, credentialSchema);
|
|
383
|
+
this.setTokenKeys(currentCredentialKeys, correlationId);
|
|
154
384
|
}
|
|
155
385
|
/**
|
|
156
386
|
* Tracks upgrades and downgrades for telemetry and debugging purposes
|
|
@@ -158,7 +388,7 @@ class BrowserCacheManager extends CacheManager {
|
|
|
158
388
|
trackVersionChanges(correlationId) {
|
|
159
389
|
const previousVersion = this.browserStorage.getItem(VERSION_CACHE_KEY);
|
|
160
390
|
if (previousVersion) {
|
|
161
|
-
this.logger.info(
|
|
391
|
+
this.logger.info("1wuc87", correlationId);
|
|
162
392
|
this.performanceClient.addFields({ previousLibraryVersion: previousVersion }, correlationId);
|
|
163
393
|
}
|
|
164
394
|
if (previousVersion !== version) {
|
|
@@ -195,20 +425,31 @@ class BrowserCacheManager extends CacheManager {
|
|
|
195
425
|
* @param value
|
|
196
426
|
*/
|
|
197
427
|
setItem(key, value, correlationId) {
|
|
198
|
-
|
|
199
|
-
|
|
428
|
+
const tokenKeysCount = new Array(CREDENTIAL_SCHEMA_VERSION + 1).fill(0); // Array mapping schema version to number of token keys stored for that version
|
|
429
|
+
const accessTokenKeys = []; // Flat map of all access token keys stored, ordered by schema version
|
|
200
430
|
const maxRetries = 20;
|
|
201
431
|
for (let i = 0; i <= maxRetries; i++) {
|
|
432
|
+
// Attempt to store item in cache, if cache is full this call will throw and we'll attempt to clear space by removing access tokens from the cache one by one, starting with tokens stored by previous versions of MSAL.js
|
|
202
433
|
try {
|
|
203
434
|
this.browserStorage.setItem(key, value);
|
|
204
435
|
if (i > 0) {
|
|
205
|
-
//
|
|
206
|
-
|
|
207
|
-
this
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
436
|
+
// If any tokens were removed in order to store this item update the token keys array with the tokens removed
|
|
437
|
+
for (let schemaVersion = 0; schemaVersion <= CREDENTIAL_SCHEMA_VERSION; schemaVersion++) {
|
|
438
|
+
// Get the sum of all previous token counts to use as start index for this schema version
|
|
439
|
+
const startIndex = tokenKeysCount
|
|
440
|
+
.slice(0, schemaVersion)
|
|
441
|
+
.reduce((sum, count) => sum + count, 0);
|
|
442
|
+
if (startIndex >= i) {
|
|
443
|
+
// Done removing tokens
|
|
444
|
+
break;
|
|
445
|
+
}
|
|
446
|
+
const endIndex = i > startIndex + tokenKeysCount[schemaVersion]
|
|
447
|
+
? startIndex + tokenKeysCount[schemaVersion]
|
|
448
|
+
: i;
|
|
449
|
+
if (i > startIndex &&
|
|
450
|
+
tokenKeysCount[schemaVersion] > 0) {
|
|
451
|
+
this.removeAccessTokenKeys(accessTokenKeys.slice(startIndex, endIndex), correlationId, schemaVersion);
|
|
452
|
+
}
|
|
212
453
|
}
|
|
213
454
|
}
|
|
214
455
|
break; // If setItem succeeds, exit the loop
|
|
@@ -220,16 +461,19 @@ class BrowserCacheManager extends CacheManager {
|
|
|
220
461
|
i < maxRetries) {
|
|
221
462
|
if (!accessTokenKeys.length) {
|
|
222
463
|
// If we are currently trying to set the token keys, use the value we're trying to set
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
464
|
+
for (let i = 0; i <= CREDENTIAL_SCHEMA_VERSION; i++) {
|
|
465
|
+
if (key ===
|
|
466
|
+
getTokenKeysCacheKey(this.clientId, i)) {
|
|
467
|
+
const tokenKeys = JSON.parse(value).accessToken;
|
|
468
|
+
accessTokenKeys.push(...tokenKeys);
|
|
469
|
+
tokenKeysCount[i] = tokenKeys.length;
|
|
470
|
+
}
|
|
471
|
+
else {
|
|
472
|
+
const tokenKeys = this.getTokenKeys(i).accessToken;
|
|
473
|
+
accessTokenKeys.push(...tokenKeys);
|
|
474
|
+
tokenKeysCount[i] = tokenKeys.length;
|
|
475
|
+
}
|
|
476
|
+
}
|
|
233
477
|
}
|
|
234
478
|
if (accessTokenKeys.length <= i) {
|
|
235
479
|
// Nothing to remove, rethrow the error
|
|
@@ -252,21 +496,32 @@ class BrowserCacheManager extends CacheManager {
|
|
|
252
496
|
* @param value
|
|
253
497
|
* @param correlationId
|
|
254
498
|
*/
|
|
255
|
-
async setUserData(key, value, correlationId, timestamp) {
|
|
256
|
-
|
|
257
|
-
|
|
499
|
+
async setUserData(key, value, correlationId, timestamp, kmsi) {
|
|
500
|
+
const tokenKeysCount = new Array(CREDENTIAL_SCHEMA_VERSION + 1).fill(0); // Array mapping schema version to number of token keys stored for that version
|
|
501
|
+
const accessTokenKeys = []; // Flat map of all access token keys stored, ordered by schema version
|
|
258
502
|
const maxRetries = 20;
|
|
259
503
|
for (let i = 0; i <= maxRetries; i++) {
|
|
260
504
|
try {
|
|
261
|
-
|
|
505
|
+
// Attempt to store item in cache, if cache is full this call will throw and we'll attempt to clear space by removing access tokens from the cache one by one, starting with tokens stored by previous versions of MSAL.js
|
|
506
|
+
await invokeAsync(this.browserStorage.setUserData.bind(this.browserStorage), PerformanceEvents.SetUserData, this.logger, this.performanceClient, correlationId)(key, value, correlationId, timestamp, kmsi);
|
|
262
507
|
if (i > 0) {
|
|
263
|
-
//
|
|
264
|
-
|
|
265
|
-
this
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
508
|
+
// If any tokens were removed in order to store this item update the token keys array with the tokens removed
|
|
509
|
+
for (let schemaVersion = 0; schemaVersion <= CREDENTIAL_SCHEMA_VERSION; schemaVersion++) {
|
|
510
|
+
// Get the sum of all previous token counts to use as start index for this schema version
|
|
511
|
+
const startIndex = tokenKeysCount
|
|
512
|
+
.slice(0, schemaVersion)
|
|
513
|
+
.reduce((sum, count) => sum + count, 0);
|
|
514
|
+
if (startIndex >= i) {
|
|
515
|
+
// Done removing tokens
|
|
516
|
+
break;
|
|
517
|
+
}
|
|
518
|
+
const endIndex = i > startIndex + tokenKeysCount[schemaVersion]
|
|
519
|
+
? startIndex + tokenKeysCount[schemaVersion]
|
|
520
|
+
: i;
|
|
521
|
+
if (i > startIndex &&
|
|
522
|
+
tokenKeysCount[schemaVersion] > 0) {
|
|
523
|
+
this.removeAccessTokenKeys(accessTokenKeys.slice(startIndex, endIndex), correlationId, schemaVersion);
|
|
524
|
+
}
|
|
270
525
|
}
|
|
271
526
|
}
|
|
272
527
|
break; // If setItem succeeds, exit the loop
|
|
@@ -277,10 +532,12 @@ class BrowserCacheManager extends CacheManager {
|
|
|
277
532
|
CacheErrorCodes.cacheQuotaExceeded &&
|
|
278
533
|
i < maxRetries) {
|
|
279
534
|
if (!accessTokenKeys.length) {
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
535
|
+
// If we are currently trying to set the token keys, use the value we're trying to set
|
|
536
|
+
for (let i = 0; i <= CREDENTIAL_SCHEMA_VERSION; i++) {
|
|
537
|
+
const tokenKeys = this.getTokenKeys(i).accessToken;
|
|
538
|
+
accessTokenKeys.push(...tokenKeys);
|
|
539
|
+
tokenKeysCount[i] = tokenKeys.length;
|
|
540
|
+
}
|
|
284
541
|
}
|
|
285
542
|
if (accessTokenKeys.length <= i) {
|
|
286
543
|
// Nothing left to remove, rethrow the error
|
|
@@ -304,7 +561,7 @@ class BrowserCacheManager extends CacheManager {
|
|
|
304
561
|
* @returns
|
|
305
562
|
*/
|
|
306
563
|
getAccount(accountKey, correlationId) {
|
|
307
|
-
this.logger.trace("
|
|
564
|
+
this.logger.trace("1lfvm6", correlationId);
|
|
308
565
|
const serializedAccount = this.browserStorage.getUserData(accountKey);
|
|
309
566
|
if (!serializedAccount) {
|
|
310
567
|
this.removeAccountKeyFromMap(accountKey, correlationId);
|
|
@@ -321,13 +578,22 @@ class BrowserCacheManager extends CacheManager {
|
|
|
321
578
|
* set account entity in the platform cache
|
|
322
579
|
* @param account
|
|
323
580
|
*/
|
|
324
|
-
async setAccount(account, correlationId) {
|
|
325
|
-
this.logger.trace("
|
|
581
|
+
async setAccount(account, correlationId, kmsi) {
|
|
582
|
+
this.logger.trace("1bz3wr", correlationId);
|
|
326
583
|
const key = this.generateAccountKey(AccountEntityUtils.getAccountInfo(account));
|
|
327
584
|
const timestamp = Date.now().toString();
|
|
328
585
|
account.lastUpdatedAt = timestamp;
|
|
329
|
-
await this.setUserData(key, JSON.stringify(account), correlationId, timestamp);
|
|
586
|
+
await this.setUserData(key, JSON.stringify(account), correlationId, timestamp, kmsi);
|
|
330
587
|
this.addAccountKeyToMap(key, correlationId);
|
|
588
|
+
this.performanceClient.addFields({ kmsi: kmsi }, correlationId);
|
|
589
|
+
}
|
|
590
|
+
setAccountKeys(accountKeys, correlationId, schemaVersion = ACCOUNT_SCHEMA_VERSION) {
|
|
591
|
+
if (accountKeys.length === 0) {
|
|
592
|
+
this.removeItem(getAccountKeysCacheKey(schemaVersion));
|
|
593
|
+
}
|
|
594
|
+
else {
|
|
595
|
+
this.setItem(getAccountKeysCacheKey(schemaVersion), JSON.stringify(accountKeys), correlationId);
|
|
596
|
+
}
|
|
331
597
|
}
|
|
332
598
|
/**
|
|
333
599
|
* Returns the array of account keys currently cached
|
|
@@ -341,18 +607,18 @@ class BrowserCacheManager extends CacheManager {
|
|
|
341
607
|
* @param key
|
|
342
608
|
*/
|
|
343
609
|
addAccountKeyToMap(key, correlationId) {
|
|
344
|
-
this.logger.trace("
|
|
345
|
-
this.logger.tracePii(
|
|
610
|
+
this.logger.trace("0rb85k", correlationId);
|
|
611
|
+
this.logger.tracePii("1l9bdo", correlationId);
|
|
346
612
|
const accountKeys = this.getAccountKeys();
|
|
347
613
|
if (accountKeys.indexOf(key) === -1) {
|
|
348
614
|
// Only add key if it does not already exist in the map
|
|
349
615
|
accountKeys.push(key);
|
|
350
616
|
this.setItem(getAccountKeysCacheKey(), JSON.stringify(accountKeys), correlationId);
|
|
351
|
-
this.logger.verbose("
|
|
617
|
+
this.logger.verbose("0xia39", correlationId);
|
|
352
618
|
return true;
|
|
353
619
|
}
|
|
354
620
|
else {
|
|
355
|
-
this.logger.verbose("
|
|
621
|
+
this.logger.verbose("0161kk", correlationId);
|
|
356
622
|
return false;
|
|
357
623
|
}
|
|
358
624
|
}
|
|
@@ -361,24 +627,16 @@ class BrowserCacheManager extends CacheManager {
|
|
|
361
627
|
* @param key
|
|
362
628
|
*/
|
|
363
629
|
removeAccountKeyFromMap(key, correlationId) {
|
|
364
|
-
this.logger.trace("
|
|
365
|
-
this.logger.tracePii(
|
|
630
|
+
this.logger.trace("1jpigu", correlationId);
|
|
631
|
+
this.logger.tracePii("1xzspl", correlationId);
|
|
366
632
|
const accountKeys = this.getAccountKeys();
|
|
367
633
|
const removalIndex = accountKeys.indexOf(key);
|
|
368
634
|
if (removalIndex > -1) {
|
|
369
635
|
accountKeys.splice(removalIndex, 1);
|
|
370
|
-
|
|
371
|
-
// If no keys left, remove the map
|
|
372
|
-
this.removeItem(getAccountKeysCacheKey());
|
|
373
|
-
return;
|
|
374
|
-
}
|
|
375
|
-
else {
|
|
376
|
-
this.setItem(getAccountKeysCacheKey(), JSON.stringify(accountKeys), correlationId);
|
|
377
|
-
}
|
|
378
|
-
this.logger.trace("BrowserCacheManager.removeAccountKeyFromMap account key removed", correlationId);
|
|
636
|
+
this.setAccountKeys(accountKeys, correlationId);
|
|
379
637
|
}
|
|
380
638
|
else {
|
|
381
|
-
this.logger.trace("
|
|
639
|
+
this.logger.trace("1dytu2", correlationId);
|
|
382
640
|
}
|
|
383
641
|
}
|
|
384
642
|
/**
|
|
@@ -410,7 +668,7 @@ class BrowserCacheManager extends CacheManager {
|
|
|
410
668
|
const tokenKeys = this.getTokenKeys();
|
|
411
669
|
const idRemoval = tokenKeys.idToken.indexOf(key);
|
|
412
670
|
if (idRemoval > -1) {
|
|
413
|
-
this.logger.info("
|
|
671
|
+
this.logger.info("05udv9", correlationId);
|
|
414
672
|
tokenKeys.idToken.splice(idRemoval, 1);
|
|
415
673
|
this.setTokenKeys(tokenKeys, correlationId);
|
|
416
674
|
}
|
|
@@ -430,7 +688,7 @@ class BrowserCacheManager extends CacheManager {
|
|
|
430
688
|
* @param tokenKeys
|
|
431
689
|
*/
|
|
432
690
|
removeAccessTokenKeys(keys, correlationId, schemaVersion = CREDENTIAL_SCHEMA_VERSION) {
|
|
433
|
-
this.logger.trace("
|
|
691
|
+
this.logger.trace("17o18n", correlationId);
|
|
434
692
|
const tokenKeys = this.getTokenKeys(schemaVersion);
|
|
435
693
|
let keysRemoved = 0;
|
|
436
694
|
keys.forEach((key) => {
|
|
@@ -441,7 +699,7 @@ class BrowserCacheManager extends CacheManager {
|
|
|
441
699
|
}
|
|
442
700
|
});
|
|
443
701
|
if (keysRemoved > 0) {
|
|
444
|
-
this.logger.info(
|
|
702
|
+
this.logger.info("15i5d5", correlationId);
|
|
445
703
|
this.setTokenKeys(tokenKeys, correlationId, schemaVersion);
|
|
446
704
|
return;
|
|
447
705
|
}
|
|
@@ -455,7 +713,7 @@ class BrowserCacheManager extends CacheManager {
|
|
|
455
713
|
const tokenKeys = this.getTokenKeys();
|
|
456
714
|
const refreshRemoval = tokenKeys.refreshToken.indexOf(key);
|
|
457
715
|
if (refreshRemoval > -1) {
|
|
458
|
-
this.logger.info("
|
|
716
|
+
this.logger.info("1f4fq3", correlationId);
|
|
459
717
|
tokenKeys.refreshToken.splice(refreshRemoval, 1);
|
|
460
718
|
this.setTokenKeys(tokenKeys, correlationId);
|
|
461
719
|
}
|
|
@@ -492,31 +750,31 @@ class BrowserCacheManager extends CacheManager {
|
|
|
492
750
|
getIdTokenCredential(idTokenKey, correlationId) {
|
|
493
751
|
const value = this.browserStorage.getUserData(idTokenKey);
|
|
494
752
|
if (!value) {
|
|
495
|
-
this.logger.trace("
|
|
753
|
+
this.logger.trace("1jukz6", correlationId);
|
|
496
754
|
this.removeIdToken(idTokenKey, correlationId);
|
|
497
755
|
return null;
|
|
498
756
|
}
|
|
499
757
|
const parsedIdToken = this.validateAndParseJson(value);
|
|
500
758
|
if (!parsedIdToken || !CacheHelpers.isIdTokenEntity(parsedIdToken)) {
|
|
501
|
-
this.logger.trace("
|
|
759
|
+
this.logger.trace("1jukz6", correlationId);
|
|
502
760
|
return null;
|
|
503
761
|
}
|
|
504
|
-
this.logger.trace("
|
|
762
|
+
this.logger.trace("01ju66", correlationId);
|
|
505
763
|
return parsedIdToken;
|
|
506
764
|
}
|
|
507
765
|
/**
|
|
508
766
|
* set IdToken credential to the platform cache
|
|
509
767
|
* @param idToken
|
|
510
768
|
*/
|
|
511
|
-
async setIdTokenCredential(idToken, correlationId) {
|
|
512
|
-
this.logger.trace("
|
|
769
|
+
async setIdTokenCredential(idToken, correlationId, kmsi) {
|
|
770
|
+
this.logger.trace("13hjll", correlationId);
|
|
513
771
|
const idTokenKey = this.generateCredentialKey(idToken);
|
|
514
772
|
const timestamp = Date.now().toString();
|
|
515
773
|
idToken.lastUpdatedAt = timestamp;
|
|
516
|
-
await this.setUserData(idTokenKey, JSON.stringify(idToken), correlationId, timestamp);
|
|
774
|
+
await this.setUserData(idTokenKey, JSON.stringify(idToken), correlationId, timestamp, kmsi);
|
|
517
775
|
const tokenKeys = this.getTokenKeys();
|
|
518
776
|
if (tokenKeys.idToken.indexOf(idTokenKey) === -1) {
|
|
519
|
-
this.logger.info("
|
|
777
|
+
this.logger.info("07jy92", correlationId);
|
|
520
778
|
tokenKeys.idToken.push(idTokenKey);
|
|
521
779
|
this.setTokenKeys(tokenKeys, correlationId);
|
|
522
780
|
}
|
|
@@ -528,35 +786,35 @@ class BrowserCacheManager extends CacheManager {
|
|
|
528
786
|
getAccessTokenCredential(accessTokenKey, correlationId) {
|
|
529
787
|
const value = this.browserStorage.getUserData(accessTokenKey);
|
|
530
788
|
if (!value) {
|
|
531
|
-
this.logger.trace("
|
|
789
|
+
this.logger.trace("0bqvx8", correlationId);
|
|
532
790
|
this.removeAccessTokenKeys([accessTokenKey], correlationId);
|
|
533
791
|
return null;
|
|
534
792
|
}
|
|
535
793
|
const parsedAccessToken = this.validateAndParseJson(value);
|
|
536
794
|
if (!parsedAccessToken ||
|
|
537
795
|
!CacheHelpers.isAccessTokenEntity(parsedAccessToken)) {
|
|
538
|
-
this.logger.trace("
|
|
796
|
+
this.logger.trace("0bqvx8", correlationId);
|
|
539
797
|
return null;
|
|
540
798
|
}
|
|
541
|
-
this.logger.trace("
|
|
799
|
+
this.logger.trace("1o81rl", correlationId);
|
|
542
800
|
return parsedAccessToken;
|
|
543
801
|
}
|
|
544
802
|
/**
|
|
545
803
|
* set accessToken credential to the platform cache
|
|
546
804
|
* @param accessToken
|
|
547
805
|
*/
|
|
548
|
-
async setAccessTokenCredential(accessToken, correlationId) {
|
|
549
|
-
this.logger.trace("
|
|
806
|
+
async setAccessTokenCredential(accessToken, correlationId, kmsi) {
|
|
807
|
+
this.logger.trace("1pondb", correlationId);
|
|
550
808
|
const accessTokenKey = this.generateCredentialKey(accessToken);
|
|
551
809
|
const timestamp = Date.now().toString();
|
|
552
810
|
accessToken.lastUpdatedAt = timestamp;
|
|
553
|
-
await this.setUserData(accessTokenKey, JSON.stringify(accessToken), correlationId, timestamp);
|
|
811
|
+
await this.setUserData(accessTokenKey, JSON.stringify(accessToken), correlationId, timestamp, kmsi);
|
|
554
812
|
const tokenKeys = this.getTokenKeys();
|
|
555
813
|
const index = tokenKeys.accessToken.indexOf(accessTokenKey);
|
|
556
814
|
if (index !== -1) {
|
|
557
815
|
tokenKeys.accessToken.splice(index, 1); // Remove existing key before pushing to the end
|
|
558
816
|
}
|
|
559
|
-
this.logger.trace(
|
|
817
|
+
this.logger.trace("1onhey", correlationId);
|
|
560
818
|
tokenKeys.accessToken.push(accessTokenKey);
|
|
561
819
|
this.setTokenKeys(tokenKeys, correlationId);
|
|
562
820
|
}
|
|
@@ -567,32 +825,32 @@ class BrowserCacheManager extends CacheManager {
|
|
|
567
825
|
getRefreshTokenCredential(refreshTokenKey, correlationId) {
|
|
568
826
|
const value = this.browserStorage.getUserData(refreshTokenKey);
|
|
569
827
|
if (!value) {
|
|
570
|
-
this.logger.trace("
|
|
828
|
+
this.logger.trace("0jlizt", correlationId);
|
|
571
829
|
this.removeRefreshToken(refreshTokenKey, correlationId);
|
|
572
830
|
return null;
|
|
573
831
|
}
|
|
574
832
|
const parsedRefreshToken = this.validateAndParseJson(value);
|
|
575
833
|
if (!parsedRefreshToken ||
|
|
576
834
|
!CacheHelpers.isRefreshTokenEntity(parsedRefreshToken)) {
|
|
577
|
-
this.logger.trace("
|
|
835
|
+
this.logger.trace("0jlizt", correlationId);
|
|
578
836
|
return null;
|
|
579
837
|
}
|
|
580
|
-
this.logger.trace("
|
|
838
|
+
this.logger.trace("0nokxi", correlationId);
|
|
581
839
|
return parsedRefreshToken;
|
|
582
840
|
}
|
|
583
841
|
/**
|
|
584
842
|
* set refreshToken credential to the platform cache
|
|
585
843
|
* @param refreshToken
|
|
586
844
|
*/
|
|
587
|
-
async setRefreshTokenCredential(refreshToken, correlationId) {
|
|
588
|
-
this.logger.trace("
|
|
845
|
+
async setRefreshTokenCredential(refreshToken, correlationId, kmsi) {
|
|
846
|
+
this.logger.trace("0tcg8d", correlationId);
|
|
589
847
|
const refreshTokenKey = this.generateCredentialKey(refreshToken);
|
|
590
848
|
const timestamp = Date.now().toString();
|
|
591
849
|
refreshToken.lastUpdatedAt = timestamp;
|
|
592
|
-
await this.setUserData(refreshTokenKey, JSON.stringify(refreshToken), correlationId, timestamp);
|
|
850
|
+
await this.setUserData(refreshTokenKey, JSON.stringify(refreshToken), correlationId, timestamp, kmsi);
|
|
593
851
|
const tokenKeys = this.getTokenKeys();
|
|
594
852
|
if (tokenKeys.refreshToken.indexOf(refreshTokenKey) === -1) {
|
|
595
|
-
this.logger.info("
|
|
853
|
+
this.logger.info("0eckjs", correlationId);
|
|
596
854
|
tokenKeys.refreshToken.push(refreshTokenKey);
|
|
597
855
|
this.setTokenKeys(tokenKeys, correlationId);
|
|
598
856
|
}
|
|
@@ -605,16 +863,16 @@ class BrowserCacheManager extends CacheManager {
|
|
|
605
863
|
getAppMetadata(appMetadataKey, correlationId) {
|
|
606
864
|
const value = this.browserStorage.getItem(appMetadataKey);
|
|
607
865
|
if (!value) {
|
|
608
|
-
this.logger.trace("
|
|
866
|
+
this.logger.trace("1q101h", correlationId);
|
|
609
867
|
return null;
|
|
610
868
|
}
|
|
611
869
|
const parsedMetadata = this.validateAndParseJson(value);
|
|
612
870
|
if (!parsedMetadata ||
|
|
613
871
|
!CacheHelpers.isAppMetadataEntity(appMetadataKey, parsedMetadata)) {
|
|
614
|
-
this.logger.trace("
|
|
872
|
+
this.logger.trace("1q101h", correlationId);
|
|
615
873
|
return null;
|
|
616
874
|
}
|
|
617
|
-
this.logger.trace("
|
|
875
|
+
this.logger.trace("19pvg2", correlationId);
|
|
618
876
|
return parsedMetadata;
|
|
619
877
|
}
|
|
620
878
|
/**
|
|
@@ -623,7 +881,7 @@ class BrowserCacheManager extends CacheManager {
|
|
|
623
881
|
* @param correlationId
|
|
624
882
|
*/
|
|
625
883
|
setAppMetadata(appMetadata, correlationId) {
|
|
626
|
-
this.logger.trace("
|
|
884
|
+
this.logger.trace("0cyma6", correlationId);
|
|
627
885
|
const appMetadataKey = CacheHelpers.generateAppMetadataKey(appMetadata);
|
|
628
886
|
this.setItem(appMetadataKey, JSON.stringify(appMetadata), correlationId);
|
|
629
887
|
}
|
|
@@ -635,16 +893,16 @@ class BrowserCacheManager extends CacheManager {
|
|
|
635
893
|
getServerTelemetry(serverTelemetryKey, correlationId) {
|
|
636
894
|
const value = this.browserStorage.getItem(serverTelemetryKey);
|
|
637
895
|
if (!value) {
|
|
638
|
-
this.logger.trace("
|
|
896
|
+
this.logger.trace("0jk19c", correlationId);
|
|
639
897
|
return null;
|
|
640
898
|
}
|
|
641
899
|
const parsedEntity = this.validateAndParseJson(value);
|
|
642
900
|
if (!parsedEntity ||
|
|
643
901
|
!CacheHelpers.isServerTelemetryEntity(serverTelemetryKey, parsedEntity)) {
|
|
644
|
-
this.logger.trace("
|
|
902
|
+
this.logger.trace("0jk19c", correlationId);
|
|
645
903
|
return null;
|
|
646
904
|
}
|
|
647
|
-
this.logger.trace("
|
|
905
|
+
this.logger.trace("12jguk", correlationId);
|
|
648
906
|
return parsedEntity;
|
|
649
907
|
}
|
|
650
908
|
/**
|
|
@@ -653,7 +911,7 @@ class BrowserCacheManager extends CacheManager {
|
|
|
653
911
|
* @param serverTelemetry
|
|
654
912
|
*/
|
|
655
913
|
setServerTelemetry(serverTelemetryKey, serverTelemetry, correlationId) {
|
|
656
|
-
this.logger.trace("
|
|
914
|
+
this.logger.trace("1poh61", correlationId);
|
|
657
915
|
this.setItem(serverTelemetryKey, JSON.stringify(serverTelemetry), correlationId);
|
|
658
916
|
}
|
|
659
917
|
/**
|
|
@@ -662,13 +920,13 @@ class BrowserCacheManager extends CacheManager {
|
|
|
662
920
|
getAuthorityMetadata(key, correlationId) {
|
|
663
921
|
const value = this.internalStorage.getItem(key);
|
|
664
922
|
if (!value) {
|
|
665
|
-
this.logger.trace("
|
|
923
|
+
this.logger.trace("1r39oe", correlationId);
|
|
666
924
|
return null;
|
|
667
925
|
}
|
|
668
926
|
const parsedMetadata = this.validateAndParseJson(value);
|
|
669
927
|
if (parsedMetadata &&
|
|
670
928
|
CacheHelpers.isAuthorityMetadataEntity(key, parsedMetadata)) {
|
|
671
|
-
this.logger.trace("
|
|
929
|
+
this.logger.trace("1ohvk3", correlationId);
|
|
672
930
|
return parsedMetadata;
|
|
673
931
|
}
|
|
674
932
|
return null;
|
|
@@ -706,7 +964,7 @@ class BrowserCacheManager extends CacheManager {
|
|
|
706
964
|
* @param correlationId
|
|
707
965
|
*/
|
|
708
966
|
setAuthorityMetadata(key, entity, correlationId) {
|
|
709
|
-
this.logger.trace("
|
|
967
|
+
this.logger.trace("07w8n2", correlationId);
|
|
710
968
|
this.internalStorage.setItem(key, JSON.stringify(entity));
|
|
711
969
|
}
|
|
712
970
|
/**
|
|
@@ -716,19 +974,19 @@ class BrowserCacheManager extends CacheManager {
|
|
|
716
974
|
const activeAccountKeyFilters = this.generateCacheKey(Constants.PersistentCacheKeys.ACTIVE_ACCOUNT_FILTERS);
|
|
717
975
|
const activeAccountValueFilters = this.browserStorage.getItem(activeAccountKeyFilters);
|
|
718
976
|
if (!activeAccountValueFilters) {
|
|
719
|
-
this.logger.trace("
|
|
977
|
+
this.logger.trace("08gw0e", correlationId);
|
|
720
978
|
return null;
|
|
721
979
|
}
|
|
722
980
|
const activeAccountValueObj = this.validateAndParseJson(activeAccountValueFilters);
|
|
723
981
|
if (activeAccountValueObj) {
|
|
724
|
-
this.logger.trace("
|
|
982
|
+
this.logger.trace("1t3ch7", correlationId);
|
|
725
983
|
return this.getAccountInfoFilteredBy({
|
|
726
984
|
homeAccountId: activeAccountValueObj.homeAccountId,
|
|
727
985
|
localAccountId: activeAccountValueObj.localAccountId,
|
|
728
986
|
tenantId: activeAccountValueObj.tenantId,
|
|
729
987
|
}, correlationId);
|
|
730
988
|
}
|
|
731
|
-
this.logger.trace("
|
|
989
|
+
this.logger.trace("0me1up", correlationId);
|
|
732
990
|
return null;
|
|
733
991
|
}
|
|
734
992
|
/**
|
|
@@ -738,7 +996,7 @@ class BrowserCacheManager extends CacheManager {
|
|
|
738
996
|
setActiveAccount(account, correlationId) {
|
|
739
997
|
const activeAccountKey = this.generateCacheKey(Constants.PersistentCacheKeys.ACTIVE_ACCOUNT_FILTERS);
|
|
740
998
|
if (account) {
|
|
741
|
-
this.logger.verbose("
|
|
999
|
+
this.logger.verbose("0rsj80", correlationId);
|
|
742
1000
|
const activeAccountValue = {
|
|
743
1001
|
homeAccountId: account.homeAccountId,
|
|
744
1002
|
localAccountId: account.localAccountId,
|
|
@@ -747,7 +1005,7 @@ class BrowserCacheManager extends CacheManager {
|
|
|
747
1005
|
this.setItem(activeAccountKey, JSON.stringify(activeAccountValue), correlationId);
|
|
748
1006
|
}
|
|
749
1007
|
else {
|
|
750
|
-
this.logger.verbose("
|
|
1008
|
+
this.logger.verbose("1bp5z5", correlationId);
|
|
751
1009
|
this.browserStorage.removeItem(activeAccountKey);
|
|
752
1010
|
}
|
|
753
1011
|
this.eventHandler.emitEvent(EventType.ACTIVE_ACCOUNT_CHANGED);
|
|
@@ -760,16 +1018,16 @@ class BrowserCacheManager extends CacheManager {
|
|
|
760
1018
|
getThrottlingCache(throttlingCacheKey, correlationId) {
|
|
761
1019
|
const value = this.browserStorage.getItem(throttlingCacheKey);
|
|
762
1020
|
if (!value) {
|
|
763
|
-
this.logger.trace("
|
|
1021
|
+
this.logger.trace("1h4wa6", correlationId);
|
|
764
1022
|
return null;
|
|
765
1023
|
}
|
|
766
1024
|
const parsedThrottlingCache = this.validateAndParseJson(value);
|
|
767
1025
|
if (!parsedThrottlingCache ||
|
|
768
1026
|
!CacheHelpers.isThrottlingEntity(throttlingCacheKey, parsedThrottlingCache)) {
|
|
769
|
-
this.logger.trace("
|
|
1027
|
+
this.logger.trace("1h4wa6", correlationId);
|
|
770
1028
|
return null;
|
|
771
1029
|
}
|
|
772
|
-
this.logger.trace("
|
|
1030
|
+
this.logger.trace("0of6n8", correlationId);
|
|
773
1031
|
return parsedThrottlingCache;
|
|
774
1032
|
}
|
|
775
1033
|
/**
|
|
@@ -778,7 +1036,7 @@ class BrowserCacheManager extends CacheManager {
|
|
|
778
1036
|
* @param throttlingCache
|
|
779
1037
|
*/
|
|
780
1038
|
setThrottlingCache(throttlingCacheKey, throttlingCache, correlationId) {
|
|
781
|
-
this.logger.trace("
|
|
1039
|
+
this.logger.trace("0wfgh6", correlationId);
|
|
782
1040
|
this.setItem(throttlingCacheKey, JSON.stringify(throttlingCache), correlationId);
|
|
783
1041
|
}
|
|
784
1042
|
/**
|
|
@@ -796,11 +1054,11 @@ class BrowserCacheManager extends CacheManager {
|
|
|
796
1054
|
BrowserCacheLocation.LocalStorage) {
|
|
797
1055
|
const item = this.browserStorage.getItem(key);
|
|
798
1056
|
if (item) {
|
|
799
|
-
this.logger.trace("
|
|
1057
|
+
this.logger.trace("1yt61y", correlationId);
|
|
800
1058
|
return item;
|
|
801
1059
|
}
|
|
802
1060
|
}
|
|
803
|
-
this.logger.trace("
|
|
1061
|
+
this.logger.trace("1qhy81", correlationId);
|
|
804
1062
|
return null;
|
|
805
1063
|
}
|
|
806
1064
|
return value;
|
|
@@ -918,7 +1176,7 @@ class BrowserCacheManager extends CacheManager {
|
|
|
918
1176
|
* @param correlationId
|
|
919
1177
|
*/
|
|
920
1178
|
resetRequestCache(correlationId) {
|
|
921
|
-
this.logger.trace("
|
|
1179
|
+
this.logger.trace("0h0ynu", correlationId);
|
|
922
1180
|
this.removeTemporaryItem(this.generateCacheKey(TemporaryCacheKeys.REQUEST_PARAMS));
|
|
923
1181
|
this.removeTemporaryItem(this.generateCacheKey(TemporaryCacheKeys.VERIFIER));
|
|
924
1182
|
this.removeTemporaryItem(this.generateCacheKey(TemporaryCacheKeys.ORIGIN_URI));
|
|
@@ -927,7 +1185,7 @@ class BrowserCacheManager extends CacheManager {
|
|
|
927
1185
|
this.setInteractionInProgress(false, undefined);
|
|
928
1186
|
}
|
|
929
1187
|
cacheAuthorizeRequest(authCodeRequest, correlationId, codeVerifier) {
|
|
930
|
-
this.logger.trace("
|
|
1188
|
+
this.logger.trace("1tzef5", correlationId);
|
|
931
1189
|
const encodedValue = base64Encode(JSON.stringify(authCodeRequest));
|
|
932
1190
|
this.setTemporaryCache(TemporaryCacheKeys.REQUEST_PARAMS, encodedValue, true);
|
|
933
1191
|
if (codeVerifier) {
|
|
@@ -940,7 +1198,7 @@ class BrowserCacheManager extends CacheManager {
|
|
|
940
1198
|
* @param correlationId
|
|
941
1199
|
*/
|
|
942
1200
|
getCachedRequest(correlationId) {
|
|
943
|
-
this.logger.trace("
|
|
1201
|
+
this.logger.trace("0uen20", correlationId);
|
|
944
1202
|
// Get token request from cache and parse as TokenExchangeParameters.
|
|
945
1203
|
const encodedTokenRequest = this.getTemporaryCache(TemporaryCacheKeys.REQUEST_PARAMS, correlationId, true);
|
|
946
1204
|
if (!encodedTokenRequest) {
|
|
@@ -956,8 +1214,8 @@ class BrowserCacheManager extends CacheManager {
|
|
|
956
1214
|
}
|
|
957
1215
|
}
|
|
958
1216
|
catch (e) {
|
|
959
|
-
this.logger.errorPii(
|
|
960
|
-
this.logger.error(
|
|
1217
|
+
this.logger.errorPii("0ewsey", correlationId);
|
|
1218
|
+
this.logger.error("0tvdic", correlationId);
|
|
961
1219
|
throw createBrowserAuthError(unableToParseTokenRequestCacheError);
|
|
962
1220
|
}
|
|
963
1221
|
return [parsedRequest, verifier];
|
|
@@ -967,15 +1225,15 @@ class BrowserCacheManager extends CacheManager {
|
|
|
967
1225
|
* @param correlationId
|
|
968
1226
|
*/
|
|
969
1227
|
getCachedNativeRequest() {
|
|
970
|
-
this.logger.trace("
|
|
1228
|
+
this.logger.trace("1yxcdm", "");
|
|
971
1229
|
const cachedRequest = this.getTemporaryCache(TemporaryCacheKeys.NATIVE_REQUEST, "", true);
|
|
972
1230
|
if (!cachedRequest) {
|
|
973
|
-
this.logger.trace("
|
|
1231
|
+
this.logger.trace("0mnxd4", "");
|
|
974
1232
|
return null;
|
|
975
1233
|
}
|
|
976
1234
|
const parsedRequest = this.validateAndParseJson(cachedRequest);
|
|
977
1235
|
if (!parsedRequest) {
|
|
978
|
-
this.logger.error("
|
|
1236
|
+
this.logger.error("0rrkip", "");
|
|
979
1237
|
return null;
|
|
980
1238
|
}
|
|
981
1239
|
return parsedRequest;
|
|
@@ -997,24 +1255,32 @@ class BrowserCacheManager extends CacheManager {
|
|
|
997
1255
|
}
|
|
998
1256
|
catch (e) {
|
|
999
1257
|
// Remove interaction and other temp keys if interaction status can't be parsed
|
|
1000
|
-
this.logger.error(
|
|
1258
|
+
this.logger.error("0jjyys", "");
|
|
1001
1259
|
this.removeTemporaryItem(key);
|
|
1002
1260
|
this.resetRequestCache("");
|
|
1003
1261
|
clearHash(window);
|
|
1004
1262
|
return null;
|
|
1005
1263
|
}
|
|
1006
1264
|
}
|
|
1007
|
-
setInteractionInProgress(inProgress, type = INTERACTION_TYPE.SIGNIN) {
|
|
1265
|
+
setInteractionInProgress(inProgress, type = INTERACTION_TYPE.SIGNIN, allowOverride = false, correlationId = "") {
|
|
1008
1266
|
// Ensure we don't overwrite interaction in progress for a different clientId
|
|
1009
1267
|
const key = `${PREFIX}.${TemporaryCacheKeys.INTERACTION_STATUS_KEY}`;
|
|
1010
1268
|
if (inProgress) {
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1269
|
+
const existingInteraction = this.getInteractionInProgress();
|
|
1270
|
+
if (existingInteraction) {
|
|
1271
|
+
if (allowOverride) {
|
|
1272
|
+
this.logger.warning("1pmscr", correlationId);
|
|
1273
|
+
// Cancel any active bridge monitor from the previous interaction
|
|
1274
|
+
cancelPendingBridgeResponse(this.logger, correlationId);
|
|
1275
|
+
// Clear existing interaction to allow new one
|
|
1276
|
+
this.removeTemporaryItem(key);
|
|
1277
|
+
}
|
|
1278
|
+
else {
|
|
1279
|
+
throw createBrowserAuthError(interactionInProgress);
|
|
1280
|
+
}
|
|
1017
1281
|
}
|
|
1282
|
+
// Set new interaction
|
|
1283
|
+
this.setTemporaryCache(key, JSON.stringify({ clientId: this.clientId, type }), false);
|
|
1018
1284
|
}
|
|
1019
1285
|
else if (!inProgress &&
|
|
1020
1286
|
this.getInteractionInProgress()?.clientId === this.clientId) {
|
|
@@ -1048,7 +1314,7 @@ class BrowserCacheManager extends CacheManager {
|
|
|
1048
1314
|
idToken: idTokenEntity,
|
|
1049
1315
|
accessToken: accessTokenEntity,
|
|
1050
1316
|
};
|
|
1051
|
-
return this.saveCacheRecord(cacheRecord, result.correlationId);
|
|
1317
|
+
return this.saveCacheRecord(cacheRecord, result.correlationId, AuthToken.isKmsi(AuthToken.extractTokenClaims(result.idToken, base64Decode)));
|
|
1052
1318
|
}
|
|
1053
1319
|
/**
|
|
1054
1320
|
* saves a cache record
|
|
@@ -1056,9 +1322,9 @@ class BrowserCacheManager extends CacheManager {
|
|
|
1056
1322
|
* @param storeInCache {?StoreInCache}
|
|
1057
1323
|
* @param correlationId {?string} correlation id
|
|
1058
1324
|
*/
|
|
1059
|
-
async saveCacheRecord(cacheRecord, correlationId, storeInCache) {
|
|
1325
|
+
async saveCacheRecord(cacheRecord, correlationId, kmsi, storeInCache) {
|
|
1060
1326
|
try {
|
|
1061
|
-
await super.saveCacheRecord(cacheRecord, correlationId, storeInCache);
|
|
1327
|
+
await super.saveCacheRecord(cacheRecord, correlationId, kmsi, storeInCache);
|
|
1062
1328
|
}
|
|
1063
1329
|
catch (e) {
|
|
1064
1330
|
if (e instanceof CacheError &&
|