@azure/msal-browser 5.7.0 → 5.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/app/IPublicClientApplication.mjs +1 -1
- package/dist/app/PublicClientApplication.mjs +1 -1
- package/dist/broker/nativeBroker/NativeStatusCodes.mjs +1 -1
- package/dist/broker/nativeBroker/PlatformAuthDOMHandler.mjs +1 -1
- package/dist/broker/nativeBroker/PlatformAuthExtensionHandler.mjs +2 -2
- package/dist/broker/nativeBroker/PlatformAuthExtensionHandler.mjs.map +1 -1
- package/dist/broker/nativeBroker/PlatformAuthProvider.mjs +1 -1
- package/dist/cache/AccountManager.mjs +1 -1
- package/dist/cache/AsyncMemoryStorage.mjs +1 -1
- package/dist/cache/BrowserCacheManager.d.ts +2 -4
- package/dist/cache/BrowserCacheManager.d.ts.map +1 -1
- package/dist/cache/BrowserCacheManager.mjs +6 -6
- package/dist/cache/BrowserCacheManager.mjs.map +1 -1
- package/dist/cache/CacheHelpers.mjs +1 -1
- package/dist/cache/CacheKeys.d.ts +2 -2
- package/dist/cache/CacheKeys.mjs +3 -3
- package/dist/cache/CookieStorage.mjs +1 -1
- package/dist/cache/DatabaseStorage.mjs +1 -1
- package/dist/cache/EncryptedData.mjs +1 -1
- package/dist/cache/LocalStorage.mjs +1 -1
- package/dist/cache/MemoryStorage.mjs +1 -1
- package/dist/cache/SessionStorage.mjs +1 -1
- package/dist/cache/TokenCache.mjs +1 -1
- package/dist/config/Configuration.mjs +1 -1
- package/dist/controllers/NestedAppAuthController.mjs +1 -1
- package/dist/controllers/StandardController.d.ts.map +1 -1
- package/dist/controllers/StandardController.mjs +25 -6
- package/dist/controllers/StandardController.mjs.map +1 -1
- package/dist/crypto/BrowserCrypto.mjs +1 -1
- package/dist/crypto/CryptoOps.mjs +1 -1
- package/dist/crypto/PkceGenerator.mjs +1 -1
- package/dist/crypto/SignedHttpRequest.mjs +1 -1
- package/dist/custom-auth-path/app/PublicClientApplication.mjs +1 -1
- package/dist/custom-auth-path/broker/nativeBroker/NativeStatusCodes.mjs +1 -1
- package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthDOMHandler.mjs +1 -1
- package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthExtensionHandler.mjs +2 -2
- package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthExtensionHandler.mjs.map +1 -1
- package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthProvider.mjs +1 -1
- package/dist/custom-auth-path/cache/AccountManager.mjs +1 -1
- package/dist/custom-auth-path/cache/AsyncMemoryStorage.mjs +1 -1
- package/dist/custom-auth-path/cache/BrowserCacheManager.d.ts +2 -4
- package/dist/custom-auth-path/cache/BrowserCacheManager.d.ts.map +1 -1
- package/dist/custom-auth-path/cache/BrowserCacheManager.mjs +6 -6
- package/dist/custom-auth-path/cache/BrowserCacheManager.mjs.map +1 -1
- package/dist/custom-auth-path/cache/CacheHelpers.mjs +1 -1
- package/dist/custom-auth-path/cache/CacheKeys.d.ts +2 -2
- package/dist/custom-auth-path/cache/CacheKeys.mjs +3 -3
- package/dist/custom-auth-path/cache/CookieStorage.mjs +1 -1
- package/dist/custom-auth-path/cache/DatabaseStorage.mjs +1 -1
- package/dist/custom-auth-path/cache/EncryptedData.mjs +1 -1
- package/dist/custom-auth-path/cache/LocalStorage.mjs +1 -1
- package/dist/custom-auth-path/cache/MemoryStorage.mjs +1 -1
- package/dist/custom-auth-path/cache/SessionStorage.mjs +1 -1
- package/dist/custom-auth-path/config/Configuration.mjs +1 -1
- package/dist/custom-auth-path/controllers/StandardController.d.ts.map +1 -1
- package/dist/custom-auth-path/controllers/StandardController.mjs +25 -6
- package/dist/custom-auth-path/controllers/StandardController.mjs.map +1 -1
- package/dist/custom-auth-path/crypto/BrowserCrypto.mjs +1 -1
- package/dist/custom-auth-path/crypto/CryptoOps.mjs +1 -1
- package/dist/custom-auth-path/crypto/PkceGenerator.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/CustomAuthConstants.d.ts +1 -1
- package/dist/custom-auth-path/custom_auth/CustomAuthConstants.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/CustomAuthPublicClientApplication.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/UserAccountAttributes.d.ts +1 -0
- package/dist/custom-auth-path/custom_auth/UserAccountAttributes.d.ts.map +1 -1
- package/dist/custom-auth-path/custom_auth/controller/CustomAuthStandardController.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/CustomAuthAuthority.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowErrorBase.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowResultBase.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowStateTypes.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationChallengeMethodResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationSubmitChallengeResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationCompletedState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationFailedState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/error_type/MfaError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaFailedState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/CustomAuthApiError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/CustomAuthError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/HttpError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/HttpErrorCodes.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/InvalidArgumentError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/InvalidConfigurationError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/InvalidConfigurationErrorCodes.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/MethodNotImplementedError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/MsalCustomAuthError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/NoCachedAccountFoundError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/ParsedUrlError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/ParsedUrlErrorCodes.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/UnexpectedError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/UnsupportedEnvironmentError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/UserAccountAttributeError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/UserAlreadySignedInError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/interaction_client/CustomAuthInterationClientFactory.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/interaction_client/jit/JitClient.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/interaction_client/jit/result/JitActionResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/interaction_client/mfa/MfaClient.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/interaction_client/mfa/result/MfaActionResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/BaseApiClient.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/RegisterApiClient.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/ResetPasswordApiClient.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/SignInApiClient.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/SignupApiClient.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiErrorCodes.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/http_client/FetchHttpClient.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/http_client/IHttpClient.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/telemetry/PublicApiId.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/utils/ArgumentValidator.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/utils/UrlUtils.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/CustomAuthAccountData.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/error_type/GetAccountError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/result/GetAccessTokenResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/result/GetAccountResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/result/SignOutResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/state/GetAccessTokenState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/state/GetAccountState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/state/SignOutState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/index.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/operating_context/CustomAuthOperatingContext.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/error_type/ResetPasswordError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordResendCodeResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordStartResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitCodeResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitPasswordResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordCodeRequiredState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordCompletedState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordFailedState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordPasswordRequiredState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/reset_password/interaction_client/ResetPasswordClient.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/SignInScenario.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/error_type/SignInError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInResendCodeResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInCompletedState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInContinuationState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInFailedState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/SignInClient.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/result/SignInActionResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/error_type/SignUpError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpResendCodeResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpSubmitAttributesResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpSubmitCodeResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpSubmitPasswordResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpCompletedState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpFailedState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpPasswordRequiredState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/interaction_client/SignUpClient.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/interaction_client/result/SignUpActionResult.mjs +1 -1
- package/dist/custom-auth-path/encode/Base64Decode.mjs +1 -1
- package/dist/custom-auth-path/encode/Base64Encode.mjs +1 -1
- package/dist/custom-auth-path/error/BrowserAuthError.mjs +1 -1
- package/dist/custom-auth-path/error/BrowserAuthErrorCodes.mjs +1 -1
- package/dist/custom-auth-path/error/BrowserConfigurationAuthError.mjs +1 -1
- package/dist/custom-auth-path/error/BrowserConfigurationAuthErrorCodes.mjs +1 -1
- package/dist/custom-auth-path/error/NativeAuthError.mjs +1 -1
- package/dist/custom-auth-path/error/NativeAuthErrorCodes.mjs +1 -1
- package/dist/custom-auth-path/event/EventHandler.mjs +1 -1
- package/dist/custom-auth-path/event/EventType.mjs +1 -1
- package/dist/custom-auth-path/interaction_client/BaseInteractionClient.mjs +1 -1
- package/dist/custom-auth-path/interaction_client/HybridSpaAuthorizationCodeClient.mjs +1 -1
- package/dist/custom-auth-path/interaction_client/PlatformAuthInteractionClient.d.ts +1 -1
- package/dist/custom-auth-path/interaction_client/PlatformAuthInteractionClient.d.ts.map +1 -1
- package/dist/custom-auth-path/interaction_client/PlatformAuthInteractionClient.mjs +18 -12
- package/dist/custom-auth-path/interaction_client/PlatformAuthInteractionClient.mjs.map +1 -1
- package/dist/custom-auth-path/interaction_client/PopupClient.mjs +1 -1
- package/dist/custom-auth-path/interaction_client/RedirectClient.mjs +1 -1
- package/dist/custom-auth-path/interaction_client/SilentAuthCodeClient.mjs +1 -1
- package/dist/custom-auth-path/interaction_client/SilentCacheClient.mjs +1 -1
- package/dist/custom-auth-path/interaction_client/SilentIframeClient.mjs +1 -1
- package/dist/custom-auth-path/interaction_client/SilentRefreshClient.mjs +1 -1
- package/dist/custom-auth-path/interaction_client/StandardInteractionClient.mjs +1 -1
- package/dist/custom-auth-path/interaction_handler/InteractionHandler.mjs +1 -1
- package/dist/custom-auth-path/interaction_handler/SilentHandler.mjs +1 -1
- package/dist/custom-auth-path/log-strings-mapping.json +4 -4
- package/dist/custom-auth-path/navigation/NavigationClient.mjs +1 -1
- package/dist/custom-auth-path/network/FetchClient.mjs +1 -1
- package/dist/custom-auth-path/operatingcontext/BaseOperatingContext.mjs +1 -1
- package/dist/custom-auth-path/operatingcontext/StandardOperatingContext.mjs +1 -1
- package/dist/custom-auth-path/packageMetadata.d.ts +1 -1
- package/dist/custom-auth-path/packageMetadata.mjs +2 -2
- package/dist/custom-auth-path/protocol/Authorize.mjs +1 -1
- package/dist/custom-auth-path/request/RequestHelpers.mjs +1 -1
- package/dist/custom-auth-path/response/ResponseHandler.mjs +1 -1
- package/dist/custom-auth-path/telemetry/BrowserPerformanceEvents.mjs +1 -1
- package/dist/custom-auth-path/telemetry/BrowserRootPerformanceEvents.mjs +1 -1
- package/dist/custom-auth-path/utils/BrowserConstants.mjs +1 -1
- package/dist/custom-auth-path/utils/BrowserProtocolUtils.mjs +1 -1
- package/dist/custom-auth-path/utils/BrowserUtils.mjs +1 -1
- package/dist/custom-auth-path/utils/Helpers.mjs +1 -1
- package/dist/custom-auth-path/utils/MsalFrameStatsUtils.mjs +1 -1
- package/dist/custom_auth/CustomAuthConstants.d.ts +1 -1
- package/dist/custom_auth/UserAccountAttributes.d.ts +1 -0
- package/dist/custom_auth/UserAccountAttributes.d.ts.map +1 -1
- package/dist/encode/Base64Decode.mjs +1 -1
- package/dist/encode/Base64Encode.mjs +1 -1
- package/dist/error/BrowserAuthError.mjs +1 -1
- package/dist/error/BrowserAuthErrorCodes.mjs +1 -1
- package/dist/error/BrowserConfigurationAuthError.mjs +1 -1
- package/dist/error/BrowserConfigurationAuthErrorCodes.mjs +1 -1
- package/dist/error/NativeAuthError.mjs +1 -1
- package/dist/error/NativeAuthErrorCodes.mjs +1 -1
- package/dist/error/NestedAppAuthError.mjs +1 -1
- package/dist/event/EventHandler.mjs +1 -1
- package/dist/event/EventMessage.mjs +1 -1
- package/dist/event/EventType.mjs +1 -1
- package/dist/index.mjs +1 -1
- package/dist/interaction_client/BaseInteractionClient.mjs +1 -1
- package/dist/interaction_client/HybridSpaAuthorizationCodeClient.mjs +1 -1
- package/dist/interaction_client/PlatformAuthInteractionClient.d.ts +1 -1
- package/dist/interaction_client/PlatformAuthInteractionClient.d.ts.map +1 -1
- package/dist/interaction_client/PlatformAuthInteractionClient.mjs +18 -12
- package/dist/interaction_client/PlatformAuthInteractionClient.mjs.map +1 -1
- package/dist/interaction_client/PopupClient.mjs +1 -1
- package/dist/interaction_client/RedirectClient.mjs +1 -1
- package/dist/interaction_client/SilentAuthCodeClient.mjs +1 -1
- package/dist/interaction_client/SilentCacheClient.mjs +1 -1
- package/dist/interaction_client/SilentIframeClient.mjs +1 -1
- package/dist/interaction_client/SilentRefreshClient.mjs +1 -1
- package/dist/interaction_client/StandardInteractionClient.mjs +1 -1
- package/dist/interaction_handler/InteractionHandler.mjs +1 -1
- package/dist/interaction_handler/SilentHandler.mjs +1 -1
- package/dist/log-strings-mapping.json +4 -4
- package/dist/naa/BridgeError.mjs +1 -1
- package/dist/naa/BridgeProxy.mjs +1 -1
- package/dist/naa/BridgeStatusCode.mjs +1 -1
- package/dist/naa/mapping/NestedAppAuthAdapter.mjs +1 -1
- package/dist/navigation/NavigationClient.mjs +1 -1
- package/dist/network/FetchClient.mjs +1 -1
- package/dist/operatingcontext/BaseOperatingContext.mjs +1 -1
- package/dist/operatingcontext/NestedAppOperatingContext.mjs +1 -1
- package/dist/operatingcontext/StandardOperatingContext.mjs +1 -1
- package/dist/packageMetadata.d.ts +1 -1
- package/dist/packageMetadata.mjs +2 -2
- package/dist/protocol/Authorize.mjs +1 -1
- package/dist/redirect-bridge/cache/BrowserCacheManager.d.ts +2 -4
- package/dist/redirect-bridge/cache/BrowserCacheManager.d.ts.map +1 -1
- package/dist/redirect-bridge/cache/CacheKeys.d.ts +2 -2
- package/dist/redirect-bridge/cache/CacheKeys.mjs +1 -1
- package/dist/redirect-bridge/config/Configuration.mjs +1 -1
- package/dist/redirect-bridge/controllers/StandardController.d.ts.map +1 -1
- package/dist/redirect-bridge/custom_auth/CustomAuthConstants.d.ts +1 -1
- package/dist/redirect-bridge/custom_auth/UserAccountAttributes.d.ts +1 -0
- package/dist/redirect-bridge/custom_auth/UserAccountAttributes.d.ts.map +1 -1
- package/dist/redirect-bridge/encode/Base64Decode.mjs +1 -1
- package/dist/redirect-bridge/error/BrowserAuthError.mjs +1 -1
- package/dist/redirect-bridge/error/BrowserAuthErrorCodes.mjs +1 -1
- package/dist/redirect-bridge/interaction_client/PlatformAuthInteractionClient.d.ts +1 -1
- package/dist/redirect-bridge/interaction_client/PlatformAuthInteractionClient.d.ts.map +1 -1
- package/dist/redirect-bridge/navigation/NavigationClient.mjs +1 -1
- package/dist/redirect-bridge/packageMetadata.d.ts +1 -1
- package/dist/redirect-bridge/redirect_bridge/index.mjs +1 -1
- package/dist/redirect-bridge/utils/BrowserConstants.mjs +1 -1
- package/dist/redirect-bridge/utils/BrowserUtils.mjs +1 -1
- package/dist/request/RequestHelpers.mjs +1 -1
- package/dist/response/ResponseHandler.mjs +1 -1
- package/dist/telemetry/BrowserPerformanceClient.mjs +1 -1
- package/dist/telemetry/BrowserPerformanceEvents.mjs +1 -1
- package/dist/telemetry/BrowserPerformanceMeasurement.mjs +1 -1
- package/dist/telemetry/BrowserRootPerformanceEvents.mjs +1 -1
- package/dist/utils/BrowserConstants.mjs +1 -1
- package/dist/utils/BrowserProtocolUtils.mjs +1 -1
- package/dist/utils/BrowserUtils.mjs +1 -1
- package/dist/utils/Helpers.mjs +1 -1
- package/dist/utils/MsalFrameStatsUtils.mjs +1 -1
- package/lib/custom-auth-path/log-strings-mapping.json +4 -4
- package/lib/custom-auth-path/msal-custom-auth.cjs +151 -98
- package/lib/custom-auth-path/msal-custom-auth.cjs.map +1 -1
- package/lib/custom-auth-path/types/cache/BrowserCacheManager.d.ts +2 -4
- package/lib/custom-auth-path/types/cache/BrowserCacheManager.d.ts.map +1 -1
- package/lib/custom-auth-path/types/cache/CacheKeys.d.ts +2 -2
- package/lib/custom-auth-path/types/controllers/StandardController.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/CustomAuthConstants.d.ts +1 -1
- package/lib/custom-auth-path/types/custom_auth/UserAccountAttributes.d.ts +1 -0
- package/lib/custom-auth-path/types/custom_auth/UserAccountAttributes.d.ts.map +1 -1
- package/lib/custom-auth-path/types/interaction_client/PlatformAuthInteractionClient.d.ts +1 -1
- package/lib/custom-auth-path/types/interaction_client/PlatformAuthInteractionClient.d.ts.map +1 -1
- package/lib/custom-auth-path/types/packageMetadata.d.ts +1 -1
- package/lib/log-strings-mapping.json +4 -4
- package/lib/msal-browser.cjs +153 -100
- package/lib/msal-browser.cjs.map +1 -1
- package/lib/msal-browser.js +153 -100
- package/lib/msal-browser.js.map +1 -1
- package/lib/msal-browser.min.js +2 -2
- package/lib/redirect-bridge/msal-redirect-bridge.cjs +734 -0
- package/lib/redirect-bridge/msal-redirect-bridge.cjs.map +1 -0
- package/lib/redirect-bridge/msal-redirect-bridge.js +10 -10
- package/lib/redirect-bridge/msal-redirect-bridge.js.map +1 -1
- package/lib/redirect-bridge/msal-redirect-bridge.min.js +1 -1
- package/lib/redirect-bridge/types/app/IPublicClientApplication.d.ts +48 -0
- package/lib/redirect-bridge/types/app/IPublicClientApplication.d.ts.map +1 -0
- package/lib/redirect-bridge/types/app/PublicClientApplication.d.ts +247 -0
- package/lib/redirect-bridge/types/app/PublicClientApplication.d.ts.map +1 -0
- package/lib/redirect-bridge/types/broker/nativeBroker/IPlatformAuthHandler.d.ts +12 -0
- package/lib/redirect-bridge/types/broker/nativeBroker/IPlatformAuthHandler.d.ts.map +1 -0
- package/lib/redirect-bridge/types/broker/nativeBroker/NativeStatusCodes.d.ts +9 -0
- package/lib/redirect-bridge/types/broker/nativeBroker/NativeStatusCodes.d.ts.map +1 -0
- package/lib/redirect-bridge/types/broker/nativeBroker/PlatformAuthDOMHandler.d.ts +30 -0
- package/lib/redirect-bridge/types/broker/nativeBroker/PlatformAuthDOMHandler.d.ts.map +1 -0
- package/lib/redirect-bridge/types/broker/nativeBroker/PlatformAuthExtensionHandler.d.ts +63 -0
- package/lib/redirect-bridge/types/broker/nativeBroker/PlatformAuthExtensionHandler.d.ts.map +1 -0
- package/lib/redirect-bridge/types/broker/nativeBroker/PlatformAuthProvider.d.ts +28 -0
- package/lib/redirect-bridge/types/broker/nativeBroker/PlatformAuthProvider.d.ts.map +1 -0
- package/lib/redirect-bridge/types/broker/nativeBroker/PlatformAuthRequest.d.ts +79 -0
- package/lib/redirect-bridge/types/broker/nativeBroker/PlatformAuthRequest.d.ts.map +1 -0
- package/lib/redirect-bridge/types/broker/nativeBroker/PlatformAuthResponse.d.ts +71 -0
- package/lib/redirect-bridge/types/broker/nativeBroker/PlatformAuthResponse.d.ts.map +1 -0
- package/lib/redirect-bridge/types/cache/AccountManager.d.ts +24 -0
- package/lib/redirect-bridge/types/cache/AccountManager.d.ts.map +1 -0
- package/lib/redirect-bridge/types/cache/AsyncMemoryStorage.d.ts +58 -0
- package/lib/redirect-bridge/types/cache/AsyncMemoryStorage.d.ts.map +1 -0
- package/lib/redirect-bridge/types/cache/BrowserCacheManager.d.ts +364 -0
- package/lib/redirect-bridge/types/cache/BrowserCacheManager.d.ts.map +1 -0
- package/lib/redirect-bridge/types/cache/CacheHelpers.d.ts +16 -0
- package/lib/redirect-bridge/types/cache/CacheHelpers.d.ts.map +1 -0
- package/lib/redirect-bridge/types/cache/CacheKeys.d.ts +15 -0
- package/lib/redirect-bridge/types/cache/CacheKeys.d.ts.map +1 -0
- package/lib/redirect-bridge/types/cache/CookieStorage.d.ts +23 -0
- package/lib/redirect-bridge/types/cache/CookieStorage.d.ts.map +1 -0
- package/lib/redirect-bridge/types/cache/DatabaseStorage.d.ts +57 -0
- package/lib/redirect-bridge/types/cache/DatabaseStorage.d.ts.map +1 -0
- package/lib/redirect-bridge/types/cache/EncryptedData.d.ts +8 -0
- package/lib/redirect-bridge/types/cache/EncryptedData.d.ts.map +1 -0
- package/lib/redirect-bridge/types/cache/IAsyncStorage.d.ts +33 -0
- package/lib/redirect-bridge/types/cache/IAsyncStorage.d.ts.map +1 -0
- package/lib/redirect-bridge/types/cache/IWindowStorage.d.ts +42 -0
- package/lib/redirect-bridge/types/cache/IWindowStorage.d.ts.map +1 -0
- package/lib/redirect-bridge/types/cache/LocalStorage.d.ts +51 -0
- package/lib/redirect-bridge/types/cache/LocalStorage.d.ts.map +1 -0
- package/lib/redirect-bridge/types/cache/MemoryStorage.d.ts +16 -0
- package/lib/redirect-bridge/types/cache/MemoryStorage.d.ts.map +1 -0
- package/lib/redirect-bridge/types/cache/SessionStorage.d.ts +14 -0
- package/lib/redirect-bridge/types/cache/SessionStorage.d.ts.map +1 -0
- package/lib/redirect-bridge/types/cache/TokenCache.d.ts +20 -0
- package/lib/redirect-bridge/types/cache/TokenCache.d.ts.map +1 -0
- package/lib/redirect-bridge/types/config/Configuration.d.ts +198 -0
- package/lib/redirect-bridge/types/config/Configuration.d.ts.map +1 -0
- package/lib/redirect-bridge/types/controllers/IController.d.ts +3 -0
- package/lib/redirect-bridge/types/controllers/IController.d.ts.map +1 -0
- package/lib/redirect-bridge/types/controllers/NestedAppAuthController.d.ts +159 -0
- package/lib/redirect-bridge/types/controllers/NestedAppAuthController.d.ts.map +1 -0
- package/lib/redirect-bridge/types/controllers/StandardController.d.ts +398 -0
- package/lib/redirect-bridge/types/controllers/StandardController.d.ts.map +1 -0
- package/lib/redirect-bridge/types/controllers/UnknownOperatingContextController.d.ts +73 -0
- package/lib/redirect-bridge/types/controllers/UnknownOperatingContextController.d.ts.map +1 -0
- package/lib/redirect-bridge/types/crypto/BrowserCrypto.d.ts +96 -0
- package/lib/redirect-bridge/types/crypto/BrowserCrypto.d.ts.map +1 -0
- package/lib/redirect-bridge/types/crypto/CryptoOps.d.ts +77 -0
- package/lib/redirect-bridge/types/crypto/CryptoOps.d.ts.map +1 -0
- package/lib/redirect-bridge/types/crypto/PkceGenerator.d.ts +9 -0
- package/lib/redirect-bridge/types/crypto/PkceGenerator.d.ts.map +1 -0
- package/lib/redirect-bridge/types/crypto/SignedHttpRequest.d.ts +32 -0
- package/lib/redirect-bridge/types/crypto/SignedHttpRequest.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/CustomAuthActionInputs.d.ts +29 -0
- package/lib/redirect-bridge/types/custom_auth/CustomAuthActionInputs.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/CustomAuthConstants.d.ts +35 -0
- package/lib/redirect-bridge/types/custom_auth/CustomAuthConstants.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/CustomAuthPublicClientApplication.d.ts +55 -0
- package/lib/redirect-bridge/types/custom_auth/CustomAuthPublicClientApplication.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/ICustomAuthPublicClientApplication.d.ts +33 -0
- package/lib/redirect-bridge/types/custom_auth/ICustomAuthPublicClientApplication.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/UserAccountAttributes.d.ts +13 -0
- package/lib/redirect-bridge/types/custom_auth/UserAccountAttributes.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/configuration/CustomAuthConfiguration.d.ts +14 -0
- package/lib/redirect-bridge/types/custom_auth/configuration/CustomAuthConfiguration.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/controller/CustomAuthStandardController.d.ts +27 -0
- package/lib/redirect-bridge/types/custom_auth/controller/CustomAuthStandardController.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/controller/ICustomAuthStandardController.d.ts +13 -0
- package/lib/redirect-bridge/types/custom_auth/controller/ICustomAuthStandardController.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/CustomAuthAuthority.d.ts +29 -0
- package/lib/redirect-bridge/types/custom_auth/core/CustomAuthAuthority.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts +40 -0
- package/lib/redirect-bridge/types/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/auth_flow/AuthFlowResultBase.d.ts +11 -0
- package/lib/redirect-bridge/types/custom_auth/core/auth_flow/AuthFlowResultBase.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/auth_flow/AuthFlowState.d.ts +31 -0
- package/lib/redirect-bridge/types/custom_auth/core/auth_flow/AuthFlowState.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/auth_flow/AuthFlowStateTypes.d.ts +29 -0
- package/lib/redirect-bridge/types/custom_auth/core/auth_flow/AuthFlowStateTypes.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/auth_flow/jit/AuthMethodDetails.d.ts +15 -0
- package/lib/redirect-bridge/types/custom_auth/core/auth_flow/jit/AuthMethodDetails.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.d.ts +27 -0
- package/lib/redirect-bridge/types/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationChallengeMethodResult.d.ts +47 -0
- package/lib/redirect-bridge/types/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationChallengeMethodResult.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationSubmitChallengeResult.d.ts +37 -0
- package/lib/redirect-bridge/types/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationSubmitChallengeResult.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationCompletedState.d.ts +11 -0
- package/lib/redirect-bridge/types/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationCompletedState.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationFailedState.d.ts +11 -0
- package/lib/redirect-bridge/types/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationFailedState.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationState.d.ts +82 -0
- package/lib/redirect-bridge/types/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationState.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationStateParameters.d.ts +20 -0
- package/lib/redirect-bridge/types/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationStateParameters.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/auth_flow/mfa/error_type/MfaError.d.ts +27 -0
- package/lib/redirect-bridge/types/custom_auth/core/auth_flow/mfa/error_type/MfaError.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.d.ts +40 -0
- package/lib/redirect-bridge/types/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.d.ts +34 -0
- package/lib/redirect-bridge/types/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.d.ts +11 -0
- package/lib/redirect-bridge/types/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/auth_flow/mfa/state/MfaFailedState.d.ts +11 -0
- package/lib/redirect-bridge/types/custom_auth/core/auth_flow/mfa/state/MfaFailedState.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/auth_flow/mfa/state/MfaState.d.ts +67 -0
- package/lib/redirect-bridge/types/custom_auth/core/auth_flow/mfa/state/MfaState.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/auth_flow/mfa/state/MfaStateParameters.d.ts +19 -0
- package/lib/redirect-bridge/types/custom_auth/core/auth_flow/mfa/state/MfaStateParameters.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/error/CustomAuthApiError.d.ts +20 -0
- package/lib/redirect-bridge/types/custom_auth/core/error/CustomAuthApiError.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/error/CustomAuthError.d.ts +9 -0
- package/lib/redirect-bridge/types/custom_auth/core/error/CustomAuthError.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/error/HttpError.d.ts +5 -0
- package/lib/redirect-bridge/types/custom_auth/core/error/HttpError.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/error/HttpErrorCodes.d.ts +3 -0
- package/lib/redirect-bridge/types/custom_auth/core/error/HttpErrorCodes.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/error/InvalidArgumentError.d.ts +5 -0
- package/lib/redirect-bridge/types/custom_auth/core/error/InvalidArgumentError.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/error/InvalidConfigurationError.d.ts +5 -0
- package/lib/redirect-bridge/types/custom_auth/core/error/InvalidConfigurationError.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/error/InvalidConfigurationErrorCodes.d.ts +4 -0
- package/lib/redirect-bridge/types/custom_auth/core/error/InvalidConfigurationErrorCodes.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/error/MethodNotImplementedError.d.ts +5 -0
- package/lib/redirect-bridge/types/custom_auth/core/error/MethodNotImplementedError.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/error/MsalCustomAuthError.d.ts +5 -0
- package/lib/redirect-bridge/types/custom_auth/core/error/MsalCustomAuthError.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/error/NoCachedAccountFoundError.d.ts +5 -0
- package/lib/redirect-bridge/types/custom_auth/core/error/NoCachedAccountFoundError.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/error/ParsedUrlError.d.ts +5 -0
- package/lib/redirect-bridge/types/custom_auth/core/error/ParsedUrlError.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/error/ParsedUrlErrorCodes.d.ts +2 -0
- package/lib/redirect-bridge/types/custom_auth/core/error/ParsedUrlErrorCodes.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/error/UnexpectedError.d.ts +5 -0
- package/lib/redirect-bridge/types/custom_auth/core/error/UnexpectedError.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/error/UnsupportedEnvironmentError.d.ts +5 -0
- package/lib/redirect-bridge/types/custom_auth/core/error/UnsupportedEnvironmentError.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/error/UserAccountAttributeError.d.ts +5 -0
- package/lib/redirect-bridge/types/custom_auth/core/error/UserAccountAttributeError.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/error/UserAccountAttributeErrorCodes.d.ts +2 -0
- package/lib/redirect-bridge/types/custom_auth/core/error/UserAccountAttributeErrorCodes.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/error/UserAlreadySignedInError.d.ts +5 -0
- package/lib/redirect-bridge/types/custom_auth/core/error/UserAlreadySignedInError.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.d.ts +34 -0
- package/lib/redirect-bridge/types/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/interaction_client/CustomAuthInterationClientFactory.d.ts +22 -0
- package/lib/redirect-bridge/types/custom_auth/core/interaction_client/CustomAuthInterationClientFactory.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/interaction_client/jit/JitClient.d.ts +21 -0
- package/lib/redirect-bridge/types/custom_auth/core/interaction_client/jit/JitClient.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/interaction_client/jit/parameter/JitParams.d.ts +20 -0
- package/lib/redirect-bridge/types/custom_auth/core/interaction_client/jit/parameter/JitParams.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/interaction_client/jit/result/JitActionResult.d.ts +22 -0
- package/lib/redirect-bridge/types/custom_auth/core/interaction_client/jit/result/JitActionResult.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/interaction_client/mfa/MfaClient.d.ts +21 -0
- package/lib/redirect-bridge/types/custom_auth/core/interaction_client/mfa/MfaClient.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/interaction_client/mfa/parameter/MfaClientParameters.d.ts +14 -0
- package/lib/redirect-bridge/types/custom_auth/core/interaction_client/mfa/parameter/MfaClientParameters.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/interaction_client/mfa/result/MfaActionResult.d.ts +23 -0
- package/lib/redirect-bridge/types/custom_auth/core/interaction_client/mfa/result/MfaActionResult.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/network_client/custom_auth_api/BaseApiClient.d.ts +15 -0
- package/lib/redirect-bridge/types/custom_auth/core/network_client/custom_auth_api/BaseApiClient.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.d.ts +14 -0
- package/lib/redirect-bridge/types/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.d.ts +16 -0
- package/lib/redirect-bridge/types/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/network_client/custom_auth_api/ICustomAuthApiClient.d.ts +11 -0
- package/lib/redirect-bridge/types/custom_auth/core/network_client/custom_auth_api/ICustomAuthApiClient.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/network_client/custom_auth_api/RegisterApiClient.d.ts +18 -0
- package/lib/redirect-bridge/types/custom_auth/core/network_client/custom_auth_api/RegisterApiClient.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/network_client/custom_auth_api/ResetPasswordApiClient.d.ts +34 -0
- package/lib/redirect-bridge/types/custom_auth/core/network_client/custom_auth_api/ResetPasswordApiClient.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts +37 -0
- package/lib/redirect-bridge/types/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/network_client/custom_auth_api/SignupApiClient.d.ts +23 -0
- package/lib/redirect-bridge/types/custom_auth/core/network_client/custom_auth_api/SignupApiClient.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/network_client/custom_auth_api/types/ApiErrorCodes.d.ts +23 -0
- package/lib/redirect-bridge/types/custom_auth/core/network_client/custom_auth_api/types/ApiErrorCodes.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/network_client/custom_auth_api/types/ApiErrorResponseTypes.d.ts +29 -0
- package/lib/redirect-bridge/types/custom_auth/core/network_client/custom_auth_api/types/ApiErrorResponseTypes.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts +86 -0
- package/lib/redirect-bridge/types/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/network_client/custom_auth_api/types/ApiResponseTypes.d.ts +71 -0
- package/lib/redirect-bridge/types/custom_auth/core/network_client/custom_auth_api/types/ApiResponseTypes.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.d.ts +13 -0
- package/lib/redirect-bridge/types/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/network_client/custom_auth_api/types/ApiTypesBase.d.ts +9 -0
- package/lib/redirect-bridge/types/custom_auth/core/network_client/custom_auth_api/types/ApiTypesBase.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/network_client/http_client/FetchHttpClient.d.ts +13 -0
- package/lib/redirect-bridge/types/custom_auth/core/network_client/http_client/FetchHttpClient.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/network_client/http_client/IHttpClient.d.ts +35 -0
- package/lib/redirect-bridge/types/custom_auth/core/network_client/http_client/IHttpClient.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/telemetry/PublicApiId.d.ts +25 -0
- package/lib/redirect-bridge/types/custom_auth/core/telemetry/PublicApiId.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/utils/ArgumentValidator.d.ts +4 -0
- package/lib/redirect-bridge/types/custom_auth/core/utils/ArgumentValidator.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/core/utils/UrlUtils.d.ts +3 -0
- package/lib/redirect-bridge/types/custom_auth/core/utils/UrlUtils.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/get_account/auth_flow/CustomAuthAccountData.d.ts +47 -0
- package/lib/redirect-bridge/types/custom_auth/get_account/auth_flow/CustomAuthAccountData.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/get_account/auth_flow/error_type/GetAccountError.d.ts +32 -0
- package/lib/redirect-bridge/types/custom_auth/get_account/auth_flow/error_type/GetAccountError.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/get_account/auth_flow/result/GetAccessTokenResult.d.ts +37 -0
- package/lib/redirect-bridge/types/custom_auth/get_account/auth_flow/result/GetAccessTokenResult.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/get_account/auth_flow/result/GetAccountResult.d.ts +36 -0
- package/lib/redirect-bridge/types/custom_auth/get_account/auth_flow/result/GetAccountResult.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/get_account/auth_flow/result/SignOutResult.d.ts +35 -0
- package/lib/redirect-bridge/types/custom_auth/get_account/auth_flow/result/SignOutResult.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/get_account/auth_flow/state/GetAccessTokenState.d.ts +20 -0
- package/lib/redirect-bridge/types/custom_auth/get_account/auth_flow/state/GetAccessTokenState.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/get_account/auth_flow/state/GetAccountState.d.ts +20 -0
- package/lib/redirect-bridge/types/custom_auth/get_account/auth_flow/state/GetAccountState.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/get_account/auth_flow/state/SignOutState.d.ts +20 -0
- package/lib/redirect-bridge/types/custom_auth/get_account/auth_flow/state/SignOutState.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.d.ts +21 -0
- package/lib/redirect-bridge/types/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/index.d.ts +84 -0
- package/lib/redirect-bridge/types/custom_auth/index.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/operating_context/CustomAuthOperatingContext.d.ts +13 -0
- package/lib/redirect-bridge/types/custom_auth/operating_context/CustomAuthOperatingContext.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/reset_password/auth_flow/error_type/ResetPasswordError.d.ts +40 -0
- package/lib/redirect-bridge/types/custom_auth/reset_password/auth_flow/error_type/ResetPasswordError.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/reset_password/auth_flow/result/ResetPasswordResendCodeResult.d.ts +37 -0
- package/lib/redirect-bridge/types/custom_auth/reset_password/auth_flow/result/ResetPasswordResendCodeResult.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/reset_password/auth_flow/result/ResetPasswordStartResult.d.ts +37 -0
- package/lib/redirect-bridge/types/custom_auth/reset_password/auth_flow/result/ResetPasswordStartResult.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitCodeResult.d.ts +37 -0
- package/lib/redirect-bridge/types/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitCodeResult.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitPasswordResult.d.ts +32 -0
- package/lib/redirect-bridge/types/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitPasswordResult.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/reset_password/auth_flow/state/ResetPasswordCodeRequiredState.d.ts +27 -0
- package/lib/redirect-bridge/types/custom_auth/reset_password/auth_flow/state/ResetPasswordCodeRequiredState.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/reset_password/auth_flow/state/ResetPasswordCompletedState.d.ts +11 -0
- package/lib/redirect-bridge/types/custom_auth/reset_password/auth_flow/state/ResetPasswordCompletedState.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/reset_password/auth_flow/state/ResetPasswordFailedState.d.ts +11 -0
- package/lib/redirect-bridge/types/custom_auth/reset_password/auth_flow/state/ResetPasswordFailedState.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/reset_password/auth_flow/state/ResetPasswordPasswordRequiredState.d.ts +16 -0
- package/lib/redirect-bridge/types/custom_auth/reset_password/auth_flow/state/ResetPasswordPasswordRequiredState.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/reset_password/auth_flow/state/ResetPasswordState.d.ts +6 -0
- package/lib/redirect-bridge/types/custom_auth/reset_password/auth_flow/state/ResetPasswordState.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/reset_password/auth_flow/state/ResetPasswordStateParameters.d.ts +19 -0
- package/lib/redirect-bridge/types/custom_auth/reset_password/auth_flow/state/ResetPasswordStateParameters.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/reset_password/interaction_client/ResetPasswordClient.d.ts +33 -0
- package/lib/redirect-bridge/types/custom_auth/reset_password/interaction_client/ResetPasswordClient.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/reset_password/interaction_client/parameter/ResetPasswordParams.d.ts +19 -0
- package/lib/redirect-bridge/types/custom_auth/reset_password/interaction_client/parameter/ResetPasswordParams.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/reset_password/interaction_client/result/ResetPasswordActionResult.d.ts +14 -0
- package/lib/redirect-bridge/types/custom_auth/reset_password/interaction_client/result/ResetPasswordActionResult.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/sign_in/auth_flow/SignInScenario.d.ts +6 -0
- package/lib/redirect-bridge/types/custom_auth/sign_in/auth_flow/SignInScenario.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/sign_in/auth_flow/error_type/SignInError.d.ts +45 -0
- package/lib/redirect-bridge/types/custom_auth/sign_in/auth_flow/error_type/SignInError.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/sign_in/auth_flow/result/SignInResendCodeResult.d.ts +37 -0
- package/lib/redirect-bridge/types/custom_auth/sign_in/auth_flow/result/SignInResendCodeResult.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/sign_in/auth_flow/result/SignInResult.d.ts +72 -0
- package/lib/redirect-bridge/types/custom_auth/sign_in/auth_flow/result/SignInResult.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.d.ts +51 -0
- package/lib/redirect-bridge/types/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.d.ts +46 -0
- package/lib/redirect-bridge/types/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.d.ts +33 -0
- package/lib/redirect-bridge/types/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/sign_in/auth_flow/state/SignInCompletedState.d.ts +12 -0
- package/lib/redirect-bridge/types/custom_auth/sign_in/auth_flow/state/SignInCompletedState.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/sign_in/auth_flow/state/SignInContinuationState.d.ts +17 -0
- package/lib/redirect-bridge/types/custom_auth/sign_in/auth_flow/state/SignInContinuationState.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/sign_in/auth_flow/state/SignInFailedState.d.ts +11 -0
- package/lib/redirect-bridge/types/custom_auth/sign_in/auth_flow/state/SignInFailedState.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.d.ts +21 -0
- package/lib/redirect-bridge/types/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/sign_in/auth_flow/state/SignInState.d.ts +22 -0
- package/lib/redirect-bridge/types/custom_auth/sign_in/auth_flow/state/SignInState.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/sign_in/auth_flow/state/SignInStateParameters.d.ts +25 -0
- package/lib/redirect-bridge/types/custom_auth/sign_in/auth_flow/state/SignInStateParameters.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/sign_in/interaction_client/SignInClient.d.ts +49 -0
- package/lib/redirect-bridge/types/custom_auth/sign_in/interaction_client/SignInClient.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/sign_in/interaction_client/parameter/SignInParams.d.ts +32 -0
- package/lib/redirect-bridge/types/custom_auth/sign_in/interaction_client/parameter/SignInParams.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/sign_in/interaction_client/result/SignInActionResult.d.ts +43 -0
- package/lib/redirect-bridge/types/custom_auth/sign_in/interaction_client/result/SignInActionResult.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/sign_up/auth_flow/error_type/SignUpError.d.ts +62 -0
- package/lib/redirect-bridge/types/custom_auth/sign_up/auth_flow/error_type/SignUpError.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/sign_up/auth_flow/result/SignUpResendCodeResult.d.ts +37 -0
- package/lib/redirect-bridge/types/custom_auth/sign_up/auth_flow/result/SignUpResendCodeResult.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/sign_up/auth_flow/result/SignUpResult.d.ts +53 -0
- package/lib/redirect-bridge/types/custom_auth/sign_up/auth_flow/result/SignUpResult.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/sign_up/auth_flow/result/SignUpSubmitAttributesResult.d.ts +37 -0
- package/lib/redirect-bridge/types/custom_auth/sign_up/auth_flow/result/SignUpSubmitAttributesResult.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/sign_up/auth_flow/result/SignUpSubmitCodeResult.d.ts +53 -0
- package/lib/redirect-bridge/types/custom_auth/sign_up/auth_flow/result/SignUpSubmitCodeResult.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/sign_up/auth_flow/result/SignUpSubmitPasswordResult.d.ts +45 -0
- package/lib/redirect-bridge/types/custom_auth/sign_up/auth_flow/result/SignUpSubmitPasswordResult.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.d.ts +25 -0
- package/lib/redirect-bridge/types/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.d.ts +32 -0
- package/lib/redirect-bridge/types/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/sign_up/auth_flow/state/SignUpCompletedState.d.ts +11 -0
- package/lib/redirect-bridge/types/custom_auth/sign_up/auth_flow/state/SignUpCompletedState.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/sign_up/auth_flow/state/SignUpFailedState.d.ts +11 -0
- package/lib/redirect-bridge/types/custom_auth/sign_up/auth_flow/state/SignUpFailedState.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/sign_up/auth_flow/state/SignUpPasswordRequiredState.d.ts +16 -0
- package/lib/redirect-bridge/types/custom_auth/sign_up/auth_flow/state/SignUpPasswordRequiredState.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/sign_up/auth_flow/state/SignUpState.d.ts +6 -0
- package/lib/redirect-bridge/types/custom_auth/sign_up/auth_flow/state/SignUpState.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/sign_up/auth_flow/state/SignUpStateParameters.d.ts +24 -0
- package/lib/redirect-bridge/types/custom_auth/sign_up/auth_flow/state/SignUpStateParameters.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/sign_up/interaction_client/SignUpClient.d.ts +41 -0
- package/lib/redirect-bridge/types/custom_auth/sign_up/interaction_client/SignUpClient.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/sign_up/interaction_client/parameter/SignUpParams.d.ts +26 -0
- package/lib/redirect-bridge/types/custom_auth/sign_up/interaction_client/parameter/SignUpParams.d.ts.map +1 -0
- package/lib/redirect-bridge/types/custom_auth/sign_up/interaction_client/result/SignUpActionResult.d.ts +34 -0
- package/lib/redirect-bridge/types/custom_auth/sign_up/interaction_client/result/SignUpActionResult.d.ts.map +1 -0
- package/lib/redirect-bridge/types/encode/Base64Decode.d.ts +15 -0
- package/lib/redirect-bridge/types/encode/Base64Decode.d.ts.map +1 -0
- package/lib/redirect-bridge/types/encode/Base64Encode.d.ts +20 -0
- package/lib/redirect-bridge/types/encode/Base64Encode.d.ts.map +1 -0
- package/lib/redirect-bridge/types/error/BrowserAuthError.d.ts +12 -0
- package/lib/redirect-bridge/types/error/BrowserAuthError.d.ts.map +1 -0
- package/lib/redirect-bridge/types/error/BrowserAuthErrorCodes.d.ts +53 -0
- package/lib/redirect-bridge/types/error/BrowserAuthErrorCodes.d.ts.map +1 -0
- package/lib/redirect-bridge/types/error/BrowserConfigurationAuthError.d.ts +11 -0
- package/lib/redirect-bridge/types/error/BrowserConfigurationAuthError.d.ts.map +1 -0
- package/lib/redirect-bridge/types/error/BrowserConfigurationAuthErrorCodes.d.ts +4 -0
- package/lib/redirect-bridge/types/error/BrowserConfigurationAuthErrorCodes.d.ts.map +1 -0
- package/lib/redirect-bridge/types/error/NativeAuthError.d.ts +27 -0
- package/lib/redirect-bridge/types/error/NativeAuthError.d.ts.map +1 -0
- package/lib/redirect-bridge/types/error/NativeAuthErrorCodes.d.ts +5 -0
- package/lib/redirect-bridge/types/error/NativeAuthErrorCodes.d.ts.map +1 -0
- package/lib/redirect-bridge/types/error/NestedAppAuthError.d.ts +6 -0
- package/lib/redirect-bridge/types/error/NestedAppAuthError.d.ts.map +1 -0
- package/lib/redirect-bridge/types/event/EventHandler.d.ts +49 -0
- package/lib/redirect-bridge/types/event/EventHandler.d.ts.map +1 -0
- package/lib/redirect-bridge/types/event/EventMessage.d.ts +41 -0
- package/lib/redirect-bridge/types/event/EventMessage.d.ts.map +1 -0
- package/lib/redirect-bridge/types/event/EventType.d.ts +24 -0
- package/lib/redirect-bridge/types/event/EventType.d.ts.map +1 -0
- package/lib/redirect-bridge/types/index.d.ts +73 -0
- package/lib/redirect-bridge/types/index.d.ts.map +1 -0
- package/lib/redirect-bridge/types/interaction_client/BaseInteractionClient.d.ts +77 -0
- package/lib/redirect-bridge/types/interaction_client/BaseInteractionClient.d.ts.map +1 -0
- package/lib/redirect-bridge/types/interaction_client/HybridSpaAuthorizationCodeClient.d.ts +5 -0
- package/lib/redirect-bridge/types/interaction_client/HybridSpaAuthorizationCodeClient.d.ts.map +1 -0
- package/lib/redirect-bridge/types/interaction_client/PlatformAuthInteractionClient.d.ts +151 -0
- package/lib/redirect-bridge/types/interaction_client/PlatformAuthInteractionClient.d.ts.map +1 -0
- package/lib/redirect-bridge/types/interaction_client/PopupClient.d.ts +106 -0
- package/lib/redirect-bridge/types/interaction_client/PopupClient.d.ts.map +1 -0
- package/lib/redirect-bridge/types/interaction_client/RedirectClient.d.ts +77 -0
- package/lib/redirect-bridge/types/interaction_client/RedirectClient.d.ts.map +1 -0
- package/lib/redirect-bridge/types/interaction_client/SilentAuthCodeClient.d.ts +24 -0
- package/lib/redirect-bridge/types/interaction_client/SilentAuthCodeClient.d.ts.map +1 -0
- package/lib/redirect-bridge/types/interaction_client/SilentCacheClient.d.ts +17 -0
- package/lib/redirect-bridge/types/interaction_client/SilentCacheClient.d.ts.map +1 -0
- package/lib/redirect-bridge/types/interaction_client/SilentIframeClient.d.ts +57 -0
- package/lib/redirect-bridge/types/interaction_client/SilentIframeClient.d.ts.map +1 -0
- package/lib/redirect-bridge/types/interaction_client/SilentRefreshClient.d.ts +32 -0
- package/lib/redirect-bridge/types/interaction_client/SilentRefreshClient.d.ts.map +1 -0
- package/lib/redirect-bridge/types/interaction_client/StandardInteractionClient.d.ts +76 -0
- package/lib/redirect-bridge/types/interaction_client/StandardInteractionClient.d.ts.map +1 -0
- package/lib/redirect-bridge/types/interaction_handler/InteractionHandler.d.ts +33 -0
- package/lib/redirect-bridge/types/interaction_handler/InteractionHandler.d.ts.map +1 -0
- package/lib/redirect-bridge/types/interaction_handler/SilentHandler.d.ts +17 -0
- package/lib/redirect-bridge/types/interaction_handler/SilentHandler.d.ts.map +1 -0
- package/lib/redirect-bridge/types/naa/AccountInfo.d.ts +13 -0
- package/lib/redirect-bridge/types/naa/AccountInfo.d.ts.map +1 -0
- package/lib/redirect-bridge/types/naa/AuthBridge.d.ts +9 -0
- package/lib/redirect-bridge/types/naa/AuthBridge.d.ts.map +1 -0
- package/lib/redirect-bridge/types/naa/AuthResult.d.ts +7 -0
- package/lib/redirect-bridge/types/naa/AuthResult.d.ts.map +1 -0
- package/lib/redirect-bridge/types/naa/BridgeAccountContext.d.ts +13 -0
- package/lib/redirect-bridge/types/naa/BridgeAccountContext.d.ts.map +1 -0
- package/lib/redirect-bridge/types/naa/BridgeCapabilities.d.ts +4 -0
- package/lib/redirect-bridge/types/naa/BridgeCapabilities.d.ts.map +1 -0
- package/lib/redirect-bridge/types/naa/BridgeError.d.ts +10 -0
- package/lib/redirect-bridge/types/naa/BridgeError.d.ts.map +1 -0
- package/lib/redirect-bridge/types/naa/BridgeProxy.d.ts +69 -0
- package/lib/redirect-bridge/types/naa/BridgeProxy.d.ts.map +1 -0
- package/lib/redirect-bridge/types/naa/BridgeRequest.d.ts +8 -0
- package/lib/redirect-bridge/types/naa/BridgeRequest.d.ts.map +1 -0
- package/lib/redirect-bridge/types/naa/BridgeRequestEnvelope.d.ts +13 -0
- package/lib/redirect-bridge/types/naa/BridgeRequestEnvelope.d.ts.map +1 -0
- package/lib/redirect-bridge/types/naa/BridgeResponseEnvelope.d.ts +14 -0
- package/lib/redirect-bridge/types/naa/BridgeResponseEnvelope.d.ts.map +1 -0
- package/lib/redirect-bridge/types/naa/BridgeStatusCode.d.ts +12 -0
- package/lib/redirect-bridge/types/naa/BridgeStatusCode.d.ts.map +1 -0
- package/lib/redirect-bridge/types/naa/IBridgeProxy.d.ts +11 -0
- package/lib/redirect-bridge/types/naa/IBridgeProxy.d.ts.map +1 -0
- package/lib/redirect-bridge/types/naa/InitContext.d.ts +9 -0
- package/lib/redirect-bridge/types/naa/InitContext.d.ts.map +1 -0
- package/lib/redirect-bridge/types/naa/TokenRequest.d.ts +21 -0
- package/lib/redirect-bridge/types/naa/TokenRequest.d.ts.map +1 -0
- package/lib/redirect-bridge/types/naa/TokenResponse.d.ts +14 -0
- package/lib/redirect-bridge/types/naa/TokenResponse.d.ts.map +1 -0
- package/lib/redirect-bridge/types/naa/mapping/NestedAppAuthAdapter.d.ts +36 -0
- package/lib/redirect-bridge/types/naa/mapping/NestedAppAuthAdapter.d.ts.map +1 -0
- package/lib/redirect-bridge/types/navigation/INavigationClient.d.ts +17 -0
- package/lib/redirect-bridge/types/navigation/INavigationClient.d.ts.map +1 -0
- package/lib/redirect-bridge/types/navigation/NavigationClient.d.ts +23 -0
- package/lib/redirect-bridge/types/navigation/NavigationClient.d.ts.map +1 -0
- package/lib/redirect-bridge/types/navigation/NavigationOptions.d.ts +13 -0
- package/lib/redirect-bridge/types/navigation/NavigationOptions.d.ts.map +1 -0
- package/lib/redirect-bridge/types/network/FetchClient.d.ts +21 -0
- package/lib/redirect-bridge/types/network/FetchClient.d.ts.map +1 -0
- package/lib/redirect-bridge/types/operatingcontext/BaseOperatingContext.d.ts +43 -0
- package/lib/redirect-bridge/types/operatingcontext/BaseOperatingContext.d.ts.map +1 -0
- package/lib/redirect-bridge/types/operatingcontext/NestedAppOperatingContext.d.ts +41 -0
- package/lib/redirect-bridge/types/operatingcontext/NestedAppOperatingContext.d.ts.map +1 -0
- package/lib/redirect-bridge/types/operatingcontext/StandardOperatingContext.d.ts +26 -0
- package/lib/redirect-bridge/types/operatingcontext/StandardOperatingContext.d.ts.map +1 -0
- package/lib/redirect-bridge/types/operatingcontext/UnknownOperatingContext.d.ts +26 -0
- package/lib/redirect-bridge/types/operatingcontext/UnknownOperatingContext.d.ts.map +1 -0
- package/lib/redirect-bridge/types/packageMetadata.d.ts +3 -0
- package/lib/redirect-bridge/types/packageMetadata.d.ts.map +1 -0
- package/lib/redirect-bridge/types/protocol/Authorize.d.ts +102 -0
- package/lib/redirect-bridge/types/protocol/Authorize.d.ts.map +1 -0
- package/lib/redirect-bridge/types/redirect_bridge/index.d.ts +16 -0
- package/lib/redirect-bridge/types/redirect_bridge/index.d.ts.map +1 -0
- package/lib/redirect-bridge/types/request/AuthorizationCodeRequest.d.ts +27 -0
- package/lib/redirect-bridge/types/request/AuthorizationCodeRequest.d.ts.map +1 -0
- package/lib/redirect-bridge/types/request/ClearCacheRequest.d.ts +15 -0
- package/lib/redirect-bridge/types/request/ClearCacheRequest.d.ts.map +1 -0
- package/lib/redirect-bridge/types/request/EndSessionPopupRequest.d.ts +24 -0
- package/lib/redirect-bridge/types/request/EndSessionPopupRequest.d.ts.map +1 -0
- package/lib/redirect-bridge/types/request/EndSessionRequest.d.ts +11 -0
- package/lib/redirect-bridge/types/request/EndSessionRequest.d.ts.map +1 -0
- package/lib/redirect-bridge/types/request/HandleRedirectPromiseOptions.d.ts +5 -0
- package/lib/redirect-bridge/types/request/HandleRedirectPromiseOptions.d.ts.map +1 -0
- package/lib/redirect-bridge/types/request/InitializeApplicationRequest.d.ts +10 -0
- package/lib/redirect-bridge/types/request/InitializeApplicationRequest.d.ts.map +1 -0
- package/lib/redirect-bridge/types/request/PopupRequest.d.ts +25 -0
- package/lib/redirect-bridge/types/request/PopupRequest.d.ts.map +1 -0
- package/lib/redirect-bridge/types/request/PopupWindowAttributes.d.ts +16 -0
- package/lib/redirect-bridge/types/request/PopupWindowAttributes.d.ts.map +1 -0
- package/lib/redirect-bridge/types/request/RedirectRequest.d.ts +16 -0
- package/lib/redirect-bridge/types/request/RedirectRequest.d.ts.map +1 -0
- package/lib/redirect-bridge/types/request/RequestHelpers.d.ts +28 -0
- package/lib/redirect-bridge/types/request/RequestHelpers.d.ts.map +1 -0
- package/lib/redirect-bridge/types/request/SilentRequest.d.ts +52 -0
- package/lib/redirect-bridge/types/request/SilentRequest.d.ts.map +1 -0
- package/lib/redirect-bridge/types/request/SsoSilentRequest.d.ts +6 -0
- package/lib/redirect-bridge/types/request/SsoSilentRequest.d.ts.map +1 -0
- package/lib/redirect-bridge/types/response/AuthenticationResult.d.ts +5 -0
- package/lib/redirect-bridge/types/response/AuthenticationResult.d.ts.map +1 -0
- package/lib/redirect-bridge/types/response/ResponseHandler.d.ts +8 -0
- package/lib/redirect-bridge/types/response/ResponseHandler.d.ts.map +1 -0
- package/lib/redirect-bridge/types/telemetry/BrowserPerformanceClient.d.ts +19 -0
- package/lib/redirect-bridge/types/telemetry/BrowserPerformanceClient.d.ts.map +1 -0
- package/lib/redirect-bridge/types/telemetry/BrowserPerformanceEvents.d.ts +140 -0
- package/lib/redirect-bridge/types/telemetry/BrowserPerformanceEvents.d.ts.map +1 -0
- package/lib/redirect-bridge/types/telemetry/BrowserPerformanceMeasurement.d.ts +22 -0
- package/lib/redirect-bridge/types/telemetry/BrowserPerformanceMeasurement.d.ts.map +1 -0
- package/lib/redirect-bridge/types/telemetry/BrowserRootPerformanceEvents.d.ts +42 -0
- package/lib/redirect-bridge/types/telemetry/BrowserRootPerformanceEvents.d.ts.map +1 -0
- package/lib/redirect-bridge/types/utils/BrowserConstants.d.ts +182 -0
- package/lib/redirect-bridge/types/utils/BrowserConstants.d.ts.map +1 -0
- package/lib/redirect-bridge/types/utils/BrowserProtocolUtils.d.ts +12 -0
- package/lib/redirect-bridge/types/utils/BrowserProtocolUtils.d.ts.map +1 -0
- package/lib/redirect-bridge/types/utils/BrowserUtils.d.ts +111 -0
- package/lib/redirect-bridge/types/utils/BrowserUtils.d.ts.map +1 -0
- package/lib/redirect-bridge/types/utils/Helpers.d.ts +7 -0
- package/lib/redirect-bridge/types/utils/Helpers.d.ts.map +1 -0
- package/lib/redirect-bridge/types/utils/MsalFrameStatsUtils.d.ts +13 -0
- package/lib/redirect-bridge/types/utils/MsalFrameStatsUtils.d.ts.map +1 -0
- package/lib/types/cache/BrowserCacheManager.d.ts +2 -4
- package/lib/types/cache/BrowserCacheManager.d.ts.map +1 -1
- package/lib/types/cache/CacheKeys.d.ts +2 -2
- package/lib/types/controllers/StandardController.d.ts.map +1 -1
- package/lib/types/custom_auth/CustomAuthConstants.d.ts +1 -1
- package/lib/types/custom_auth/UserAccountAttributes.d.ts +1 -0
- package/lib/types/custom_auth/UserAccountAttributes.d.ts.map +1 -1
- package/lib/types/interaction_client/PlatformAuthInteractionClient.d.ts +1 -1
- package/lib/types/interaction_client/PlatformAuthInteractionClient.d.ts.map +1 -1
- package/lib/types/packageMetadata.d.ts +1 -1
- package/package.json +3 -3
- package/src/broker/nativeBroker/PlatformAuthExtensionHandler.ts +1 -1
- package/src/cache/BrowserCacheManager.ts +5 -5
- package/src/cache/CacheKeys.ts +2 -2
- package/src/controllers/StandardController.ts +57 -4
- package/src/custom_auth/UserAccountAttributes.ts +1 -0
- package/src/interaction_client/PlatformAuthInteractionClient.ts +38 -14
- package/src/packageMetadata.ts +1 -1
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
import { AuthorizationCodeClient, CommonEndSessionRequest, IPerformanceClient, Logger, ICrypto, PkceCodes, CommonAuthorizationUrlRequest } from "@azure/msal-common/browser";
|
|
2
|
+
import { StandardInteractionClient } from "./StandardInteractionClient.js";
|
|
3
|
+
import { EndSessionPopupRequest } from "../request/EndSessionPopupRequest.js";
|
|
4
|
+
import { PopupRequest } from "../request/PopupRequest.js";
|
|
5
|
+
import { INavigationClient } from "../navigation/INavigationClient.js";
|
|
6
|
+
import { EventHandler } from "../event/EventHandler.js";
|
|
7
|
+
import { BrowserCacheManager } from "../cache/BrowserCacheManager.js";
|
|
8
|
+
import { BrowserConfiguration } from "../config/Configuration.js";
|
|
9
|
+
import { PopupWindowAttributes } from "../request/PopupWindowAttributes.js";
|
|
10
|
+
import { AuthenticationResult } from "../response/AuthenticationResult.js";
|
|
11
|
+
import { IPlatformAuthHandler } from "../broker/nativeBroker/IPlatformAuthHandler.js";
|
|
12
|
+
export type PopupParams = {
|
|
13
|
+
popup?: Window | null;
|
|
14
|
+
popupName: string;
|
|
15
|
+
popupWindowAttributes: PopupWindowAttributes;
|
|
16
|
+
popupWindowParent: Window;
|
|
17
|
+
};
|
|
18
|
+
export declare class PopupClient extends StandardInteractionClient {
|
|
19
|
+
private currentWindow;
|
|
20
|
+
protected nativeStorage: BrowserCacheManager;
|
|
21
|
+
constructor(config: BrowserConfiguration, storageImpl: BrowserCacheManager, browserCrypto: ICrypto, logger: Logger, eventHandler: EventHandler, navigationClient: INavigationClient, performanceClient: IPerformanceClient, nativeStorageImpl: BrowserCacheManager, correlationId: string, platformAuthHandler?: IPlatformAuthHandler);
|
|
22
|
+
/**
|
|
23
|
+
* Acquires tokens by opening a popup window to the /authorize endpoint of the authority
|
|
24
|
+
* @param request
|
|
25
|
+
* @param pkceCodes
|
|
26
|
+
*/
|
|
27
|
+
acquireToken(request: PopupRequest, pkceCodes?: PkceCodes): Promise<AuthenticationResult>;
|
|
28
|
+
/**
|
|
29
|
+
* Clears local cache for the current user then opens a popup window prompting the user to sign-out of the server
|
|
30
|
+
* @param logoutRequest
|
|
31
|
+
*/
|
|
32
|
+
logout(logoutRequest?: EndSessionPopupRequest): Promise<void>;
|
|
33
|
+
/**
|
|
34
|
+
* Helper which obtains an access_token for your API via opening a popup window in the user's browser
|
|
35
|
+
* @param request
|
|
36
|
+
* @param popupParams
|
|
37
|
+
* @param pkceCodes
|
|
38
|
+
*
|
|
39
|
+
* @returns A promise that is fulfilled when this function has completed, or rejected if an error was raised.
|
|
40
|
+
*/
|
|
41
|
+
protected acquireTokenPopupAsync(request: PopupRequest, popupParams: PopupParams, pkceCodes?: PkceCodes): Promise<AuthenticationResult>;
|
|
42
|
+
/**
|
|
43
|
+
* Executes auth code + PKCE flow
|
|
44
|
+
* @param request
|
|
45
|
+
* @param popupParams
|
|
46
|
+
* @param pkceCodes
|
|
47
|
+
* @returns
|
|
48
|
+
*/
|
|
49
|
+
executeCodeFlow(request: CommonAuthorizationUrlRequest, popupParams: PopupParams, pkceCodes?: PkceCodes): Promise<AuthenticationResult>;
|
|
50
|
+
/**
|
|
51
|
+
* Executes EAR flow
|
|
52
|
+
* @param request
|
|
53
|
+
*/
|
|
54
|
+
executeEarFlow(request: CommonAuthorizationUrlRequest, popupParams: PopupParams, pkceCodes?: PkceCodes): Promise<AuthenticationResult>;
|
|
55
|
+
executeCodeFlowWithPost(request: CommonAuthorizationUrlRequest, popupParams: PopupParams, authClient: AuthorizationCodeClient, pkceVerifier: string): Promise<AuthenticationResult>;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @param validRequest
|
|
59
|
+
* @param popupName
|
|
60
|
+
* @param requestAuthority
|
|
61
|
+
* @param popup
|
|
62
|
+
* @param mainWindowRedirectUri
|
|
63
|
+
* @param popupWindowAttributes
|
|
64
|
+
*/
|
|
65
|
+
protected logoutPopupAsync(validRequest: CommonEndSessionRequest, popupParams: PopupParams, requestAuthority?: string, mainWindowRedirectUri?: string): Promise<void>;
|
|
66
|
+
/**
|
|
67
|
+
* Opens a popup window with given request Url.
|
|
68
|
+
* @param requestUrl
|
|
69
|
+
*/
|
|
70
|
+
initiateAuthRequest(requestUrl: string, params: PopupParams): Window;
|
|
71
|
+
/**
|
|
72
|
+
* @hidden
|
|
73
|
+
*
|
|
74
|
+
* Configures popup window for login.
|
|
75
|
+
*
|
|
76
|
+
* @param urlNavigate
|
|
77
|
+
* @param title
|
|
78
|
+
* @param popUpWidth
|
|
79
|
+
* @param popUpHeight
|
|
80
|
+
* @param popupWindowAttributes
|
|
81
|
+
* @ignore
|
|
82
|
+
* @hidden
|
|
83
|
+
*/
|
|
84
|
+
openPopup(urlNavigate: string, popupParams: PopupParams): Window;
|
|
85
|
+
/**
|
|
86
|
+
* Helper function to set popup window dimensions and position
|
|
87
|
+
* @param urlNavigate
|
|
88
|
+
* @param popupName
|
|
89
|
+
* @param popupWindowAttributes
|
|
90
|
+
* @returns
|
|
91
|
+
*/
|
|
92
|
+
openSizedPopup(urlNavigate: string, { popupName, popupWindowAttributes, popupWindowParent }: PopupParams): Window | null;
|
|
93
|
+
/**
|
|
94
|
+
* Generates the name for the popup based on the client id and request
|
|
95
|
+
* @param clientId
|
|
96
|
+
* @param request
|
|
97
|
+
*/
|
|
98
|
+
generatePopupName(scopes: Array<string>, authority: string): string;
|
|
99
|
+
/**
|
|
100
|
+
* Generates the name for the popup based on the client id and request for logouts
|
|
101
|
+
* @param clientId
|
|
102
|
+
* @param request
|
|
103
|
+
*/
|
|
104
|
+
generateLogoutPopupName(request: CommonEndSessionRequest): string;
|
|
105
|
+
}
|
|
106
|
+
//# sourceMappingURL=PopupClient.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PopupClient.d.ts","sourceRoot":"","sources":["../../../../src/interaction_client/PopupClient.ts"],"names":[],"mappings":"AAKA,OAAO,EACH,uBAAuB,EACvB,uBAAuB,EAGvB,kBAAkB,EAClB,MAAM,EACN,OAAO,EAMP,SAAS,EACT,6BAA6B,EAEhC,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAEH,yBAAyB,EAC5B,MAAM,gCAAgC,CAAC;AAQxC,OAAO,EAAE,sBAAsB,EAAE,MAAM,sCAAsC,CAAC;AAG9E,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAK1D,OAAO,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAC;AACvE,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACxD,OAAO,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AACtE,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAClE,OAAO,EAAE,qBAAqB,EAAE,MAAM,qCAAqC,CAAC;AAE5E,OAAO,EAAE,oBAAoB,EAAE,MAAM,qCAAqC,CAAC;AAM3E,OAAO,EAAE,oBAAoB,EAAE,MAAM,gDAAgD,CAAC;AAQtF,MAAM,MAAM,WAAW,GAAG;IACtB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,SAAS,EAAE,MAAM,CAAC;IAClB,qBAAqB,EAAE,qBAAqB,CAAC;IAC7C,iBAAiB,EAAE,MAAM,CAAC;CAC7B,CAAC;AAEF,qBAAa,WAAY,SAAQ,yBAAyB;IACtD,OAAO,CAAC,aAAa,CAAqB;IAC1C,SAAS,CAAC,aAAa,EAAE,mBAAmB,CAAC;gBAGzC,MAAM,EAAE,oBAAoB,EAC5B,WAAW,EAAE,mBAAmB,EAChC,aAAa,EAAE,OAAO,EACtB,MAAM,EAAE,MAAM,EACd,YAAY,EAAE,YAAY,EAC1B,gBAAgB,EAAE,iBAAiB,EACnC,iBAAiB,EAAE,kBAAkB,EACrC,iBAAiB,EAAE,mBAAmB,EACtC,aAAa,EAAE,MAAM,EACrB,mBAAmB,CAAC,EAAE,oBAAoB;IAiB9C;;;;OAIG;IACH,YAAY,CACR,OAAO,EAAE,YAAY,EACrB,SAAS,CAAC,EAAE,SAAS,GACtB,OAAO,CAAC,oBAAoB,CAAC;IA6DhC;;;OAGG;IACH,MAAM,CAAC,aAAa,CAAC,EAAE,sBAAsB,GAAG,OAAO,CAAC,IAAI,CAAC;IAmD7D;;;;;;;OAOG;cACa,sBAAsB,CAClC,OAAO,EAAE,YAAY,EACrB,WAAW,EAAE,WAAW,EACxB,SAAS,CAAC,EAAE,SAAS,GACtB,OAAO,CAAC,oBAAoB,CAAC;IA+ChC;;;;;;OAMG;IACG,eAAe,CACjB,OAAO,EAAE,6BAA6B,EACtC,WAAW,EAAE,WAAW,EACxB,SAAS,CAAC,EAAE,SAAS,GACtB,OAAO,CAAC,oBAAoB,CAAC;IAoIhC;;;OAGG;IACG,cAAc,CAChB,OAAO,EAAE,6BAA6B,EACtC,WAAW,EAAE,WAAW,EACxB,SAAS,CAAC,EAAE,SAAS,GACtB,OAAO,CAAC,oBAAoB,CAAC;IA0J1B,uBAAuB,CACzB,OAAO,EAAE,6BAA6B,EACtC,WAAW,EAAE,WAAW,EACxB,UAAU,EAAE,uBAAuB,EACnC,YAAY,EAAE,MAAM,GACrB,OAAO,CAAC,oBAAoB,CAAC;IAiFhC;;;;;;;;OAQG;cACa,gBAAgB,CAC5B,YAAY,EAAE,uBAAuB,EACrC,WAAW,EAAE,WAAW,EACxB,gBAAgB,CAAC,EAAE,MAAM,EACzB,qBAAqB,CAAC,EAAE,MAAM,GAC/B,OAAO,CAAC,IAAI,CAAC;IAgLhB;;;OAGG;IACH,mBAAmB,CAAC,UAAU,EAAE,MAAM,EAAE,MAAM,EAAE,WAAW,GAAG,MAAM;IAkBpE;;;;;;;;;;;;OAYG;IACH,SAAS,CAAC,WAAW,EAAE,MAAM,EAAE,WAAW,EAAE,WAAW,GAAG,MAAM;IA2ChE;;;;;;OAMG;IACH,cAAc,CACV,WAAW,EAAE,MAAM,EACnB,EAAE,SAAS,EAAE,qBAAqB,EAAE,iBAAiB,EAAE,EAAE,WAAW,GACrE,MAAM,GAAG,IAAI;IA0EhB;;;;OAIG;IACH,iBAAiB,CAAC,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,EAAE,SAAS,EAAE,MAAM,GAAG,MAAM;IAMnE;;;;OAIG;IACH,uBAAuB,CAAC,OAAO,EAAE,uBAAuB,GAAG,MAAM;CAIpE"}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import { ServerTelemetryManager, AuthorizeResponse, ICrypto, Logger, IPerformanceClient, InProgressPerformanceEvent, CommonAuthorizationUrlRequest } from "@azure/msal-common/browser";
|
|
2
|
+
import { StandardInteractionClient } from "./StandardInteractionClient.js";
|
|
3
|
+
import { EndSessionRequest } from "../request/EndSessionRequest.js";
|
|
4
|
+
import { RedirectRequest } from "../request/RedirectRequest.js";
|
|
5
|
+
import { BrowserConfiguration } from "../config/Configuration.js";
|
|
6
|
+
import { BrowserCacheManager } from "../cache/BrowserCacheManager.js";
|
|
7
|
+
import { EventHandler } from "../event/EventHandler.js";
|
|
8
|
+
import { INavigationClient } from "../navigation/INavigationClient.js";
|
|
9
|
+
import { AuthenticationResult } from "../response/AuthenticationResult.js";
|
|
10
|
+
import { IPlatformAuthHandler } from "../broker/nativeBroker/IPlatformAuthHandler.js";
|
|
11
|
+
import { HandleRedirectPromiseOptions } from "../request/HandleRedirectPromiseOptions.js";
|
|
12
|
+
export declare class RedirectClient extends StandardInteractionClient {
|
|
13
|
+
protected nativeStorage: BrowserCacheManager;
|
|
14
|
+
constructor(config: BrowserConfiguration, storageImpl: BrowserCacheManager, browserCrypto: ICrypto, logger: Logger, eventHandler: EventHandler, navigationClient: INavigationClient, performanceClient: IPerformanceClient, nativeStorageImpl: BrowserCacheManager, correlationId: string, platformAuthHandler?: IPlatformAuthHandler);
|
|
15
|
+
/**
|
|
16
|
+
* Redirects the page to the /authorize endpoint of the IDP
|
|
17
|
+
* @param request
|
|
18
|
+
*/
|
|
19
|
+
acquireToken(request: RedirectRequest): Promise<void>;
|
|
20
|
+
/**
|
|
21
|
+
* Executes auth code + PKCE flow
|
|
22
|
+
* @param request
|
|
23
|
+
* @returns
|
|
24
|
+
*/
|
|
25
|
+
executeCodeFlow(request: CommonAuthorizationUrlRequest): Promise<void>;
|
|
26
|
+
/**
|
|
27
|
+
* Executes EAR flow
|
|
28
|
+
* @param request
|
|
29
|
+
*/
|
|
30
|
+
executeEarFlow(request: CommonAuthorizationUrlRequest): Promise<void>;
|
|
31
|
+
/**
|
|
32
|
+
* Executes classic Authorization Code flow with a POST request.
|
|
33
|
+
* @param request
|
|
34
|
+
*/
|
|
35
|
+
executeCodeFlowWithPost(request: CommonAuthorizationUrlRequest): Promise<void>;
|
|
36
|
+
/**
|
|
37
|
+
* Checks if navigateToLoginRequestUrl is set, and:
|
|
38
|
+
* - if true, performs logic to cache and navigate
|
|
39
|
+
* - if false, handles hash string and parses response
|
|
40
|
+
* @param hash {string} url hash
|
|
41
|
+
* @param parentMeasurement {InProgressPerformanceEvent} parent measurement
|
|
42
|
+
* @param request {CommonAuthorizationUrlRequest} request object
|
|
43
|
+
* @param pkceVerifier {string} PKCE verifier
|
|
44
|
+
* @param options {HandleRedirectPromiseOptions} options for handling redirect promise
|
|
45
|
+
*/
|
|
46
|
+
handleRedirectPromise(request: CommonAuthorizationUrlRequest, pkceVerifier: string, parentMeasurement: InProgressPerformanceEvent, options?: HandleRedirectPromiseOptions): Promise<AuthenticationResult | null>;
|
|
47
|
+
/**
|
|
48
|
+
* Gets the response hash for a redirect request
|
|
49
|
+
* Returns null if interactionType in the state value is not "redirect" or the hash does not contain known properties
|
|
50
|
+
* @param hash
|
|
51
|
+
*/
|
|
52
|
+
protected getRedirectResponse(userProvidedResponse: string): [AuthorizeResponse | null, string];
|
|
53
|
+
/**
|
|
54
|
+
* Checks if hash exists and handles in window.
|
|
55
|
+
* @param hash
|
|
56
|
+
* @param state
|
|
57
|
+
*/
|
|
58
|
+
protected handleResponse(serverParams: AuthorizeResponse, request: CommonAuthorizationUrlRequest, codeVerifier: string, serverTelemetryManager: ServerTelemetryManager): Promise<AuthenticationResult>;
|
|
59
|
+
/**
|
|
60
|
+
* Redirects window to given URL.
|
|
61
|
+
* @param urlNavigate
|
|
62
|
+
* @param onRedirectNavigateRequest - onRedirectNavigate callback provided on the request
|
|
63
|
+
*/
|
|
64
|
+
initiateAuthRequest(requestUrl: string): Promise<void>;
|
|
65
|
+
/**
|
|
66
|
+
* Use to log out the current user, and redirect the user to the postLogoutRedirectUri.
|
|
67
|
+
* Default behaviour is to redirect the user to `window.location.href`.
|
|
68
|
+
* @param logoutRequest
|
|
69
|
+
*/
|
|
70
|
+
logout(logoutRequest?: EndSessionRequest): Promise<void>;
|
|
71
|
+
/**
|
|
72
|
+
* Use to get the redirectStartPage either from request or use current window
|
|
73
|
+
* @param requestStartPage
|
|
74
|
+
*/
|
|
75
|
+
protected getRedirectStartPage(requestStartPage?: string): string;
|
|
76
|
+
}
|
|
77
|
+
//# sourceMappingURL=RedirectClient.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RedirectClient.d.ts","sourceRoot":"","sources":["../../../../src/interaction_client/RedirectClient.ts"],"names":[],"mappings":"AAKA,OAAO,EAIH,sBAAsB,EACtB,iBAAiB,EACjB,OAAO,EACP,MAAM,EACN,kBAAkB,EAMlB,0BAA0B,EAC1B,6BAA6B,EAEhC,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAEH,yBAAyB,EAC5B,MAAM,gCAAgC,CAAC;AASxC,OAAO,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAC;AAOpE,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAChE,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAClE,OAAO,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AACtE,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACxD,OAAO,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAC;AAEvE,OAAO,EAAE,oBAAoB,EAAE,MAAM,qCAAqC,CAAC;AAM3E,OAAO,EAAE,oBAAoB,EAAE,MAAM,gDAAgD,CAAC;AAMtF,OAAO,EAAE,4BAA4B,EAAE,MAAM,4CAA4C,CAAC;AAkB1F,qBAAa,cAAe,SAAQ,yBAAyB;IACzD,SAAS,CAAC,aAAa,EAAE,mBAAmB,CAAC;gBAGzC,MAAM,EAAE,oBAAoB,EAC5B,WAAW,EAAE,mBAAmB,EAChC,aAAa,EAAE,OAAO,EACtB,MAAM,EAAE,MAAM,EACd,YAAY,EAAE,YAAY,EAC1B,gBAAgB,EAAE,iBAAiB,EACnC,iBAAiB,EAAE,kBAAkB,EACrC,iBAAiB,EAAE,mBAAmB,EACtC,aAAa,EAAE,MAAM,EACrB,mBAAmB,CAAC,EAAE,oBAAoB;IAgB9C;;;OAGG;IACG,YAAY,CAAC,OAAO,EAAE,eAAe,GAAG,OAAO,CAAC,IAAI,CAAC;IA0E3D;;;;OAIG;IACG,eAAe,CACjB,OAAO,EAAE,6BAA6B,GACvC,OAAO,CAAC,IAAI,CAAC;IA2EhB;;;OAGG;IACG,cAAc,CAChB,OAAO,EAAE,6BAA6B,GACvC,OAAO,CAAC,IAAI,CAAC;IA2EhB;;;OAGG;IACG,uBAAuB,CACzB,OAAO,EAAE,6BAA6B,GACvC,OAAO,CAAC,IAAI,CAAC;IAyChB;;;;;;;;;OASG;IACG,qBAAqB,CACvB,OAAO,EAAE,6BAA6B,EACtC,YAAY,EAAE,MAAM,EACpB,iBAAiB,EAAE,0BAA0B,EAC7C,OAAO,CAAC,EAAE,4BAA4B,GACvC,OAAO,CAAC,oBAAoB,GAAG,IAAI,CAAC;IA+JvC;;;;OAIG;IACH,SAAS,CAAC,mBAAmB,CACzB,oBAAoB,EAAE,MAAM,GAC7B,CAAC,iBAAiB,GAAG,IAAI,EAAE,MAAM,CAAC;IAmErC;;;;OAIG;cACa,cAAc,CAC1B,YAAY,EAAE,iBAAiB,EAC/B,OAAO,EAAE,6BAA6B,EACtC,YAAY,EAAE,MAAM,EACpB,sBAAsB,EAAE,sBAAsB,GAC/C,OAAO,CAAC,oBAAoB,CAAC;IA6EhC;;;;OAIG;IACG,mBAAmB,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAqE5D;;;;OAIG;IACG,MAAM,CAAC,aAAa,CAAC,EAAE,iBAAiB,GAAG,OAAO,CAAC,IAAI,CAAC;IA4J9D;;;OAGG;IACH,SAAS,CAAC,oBAAoB,CAAC,gBAAgB,CAAC,EAAE,MAAM,GAAG,MAAM;CAOpE"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { ICrypto, Logger, IPerformanceClient } from "@azure/msal-common/browser";
|
|
2
|
+
import { StandardInteractionClient } from "./StandardInteractionClient.js";
|
|
3
|
+
import { BrowserConfiguration } from "../config/Configuration.js";
|
|
4
|
+
import { BrowserCacheManager } from "../cache/BrowserCacheManager.js";
|
|
5
|
+
import { EventHandler } from "../event/EventHandler.js";
|
|
6
|
+
import { INavigationClient } from "../navigation/INavigationClient.js";
|
|
7
|
+
import { ApiId } from "../utils/BrowserConstants.js";
|
|
8
|
+
import { AuthorizationCodeRequest } from "../request/AuthorizationCodeRequest.js";
|
|
9
|
+
import { AuthenticationResult } from "../response/AuthenticationResult.js";
|
|
10
|
+
import { IPlatformAuthHandler } from "../broker/nativeBroker/IPlatformAuthHandler.js";
|
|
11
|
+
export declare class SilentAuthCodeClient extends StandardInteractionClient {
|
|
12
|
+
private apiId;
|
|
13
|
+
constructor(config: BrowserConfiguration, storageImpl: BrowserCacheManager, browserCrypto: ICrypto, logger: Logger, eventHandler: EventHandler, navigationClient: INavigationClient, apiId: ApiId, performanceClient: IPerformanceClient, correlationId: string, platformAuthProvider?: IPlatformAuthHandler);
|
|
14
|
+
/**
|
|
15
|
+
* Acquires a token silently by redeeming an authorization code against the /token endpoint
|
|
16
|
+
* @param request
|
|
17
|
+
*/
|
|
18
|
+
acquireToken(request: AuthorizationCodeRequest): Promise<AuthenticationResult>;
|
|
19
|
+
/**
|
|
20
|
+
* Currently Unsupported
|
|
21
|
+
*/
|
|
22
|
+
logout(): Promise<void>;
|
|
23
|
+
}
|
|
24
|
+
//# sourceMappingURL=SilentAuthCodeClient.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SilentAuthCodeClient.d.ts","sourceRoot":"","sources":["../../../../src/interaction_client/SilentAuthCodeClient.ts"],"names":[],"mappings":"AAKA,OAAO,EACH,OAAO,EACP,MAAM,EAGN,kBAAkB,EAIrB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAEH,yBAAyB,EAC5B,MAAM,gCAAgC,CAAC;AAExC,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAClE,OAAO,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AACtE,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACxD,OAAO,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAC;AAKvE,OAAO,EAAmB,KAAK,EAAE,MAAM,8BAA8B,CAAC;AACtE,OAAO,EAAE,wBAAwB,EAAE,MAAM,wCAAwC,CAAC;AAElF,OAAO,EAAE,oBAAoB,EAAE,MAAM,qCAAqC,CAAC;AAE3E,OAAO,EAAE,oBAAoB,EAAE,MAAM,gDAAgD,CAAC;AAGtF,qBAAa,oBAAqB,SAAQ,yBAAyB;IAC/D,OAAO,CAAC,KAAK,CAAQ;gBAGjB,MAAM,EAAE,oBAAoB,EAC5B,WAAW,EAAE,mBAAmB,EAChC,aAAa,EAAE,OAAO,EACtB,MAAM,EAAE,MAAM,EACd,YAAY,EAAE,YAAY,EAC1B,gBAAgB,EAAE,iBAAiB,EACnC,KAAK,EAAE,KAAK,EACZ,iBAAiB,EAAE,kBAAkB,EACrC,aAAa,EAAE,MAAM,EACrB,oBAAoB,CAAC,EAAE,oBAAoB;IAgB/C;;;OAGG;IACG,YAAY,CACd,OAAO,EAAE,wBAAwB,GAClC,OAAO,CAAC,oBAAoB,CAAC;IAwGhC;;OAEG;IACH,MAAM,IAAI,OAAO,CAAC,IAAI,CAAC;CAQ1B"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { StandardInteractionClient } from "./StandardInteractionClient.js";
|
|
2
|
+
import { CommonSilentFlowRequest } from "@azure/msal-common/browser";
|
|
3
|
+
import { AuthenticationResult } from "../response/AuthenticationResult.js";
|
|
4
|
+
import { ClearCacheRequest } from "../request/ClearCacheRequest.js";
|
|
5
|
+
export declare class SilentCacheClient extends StandardInteractionClient {
|
|
6
|
+
/**
|
|
7
|
+
* Returns unexpired tokens from the cache, if available
|
|
8
|
+
* @param silentRequest
|
|
9
|
+
*/
|
|
10
|
+
acquireToken(silentRequest: CommonSilentFlowRequest): Promise<AuthenticationResult>;
|
|
11
|
+
/**
|
|
12
|
+
* API to silenty clear the browser cache.
|
|
13
|
+
* @param logoutRequest
|
|
14
|
+
*/
|
|
15
|
+
logout(logoutRequest?: ClearCacheRequest): Promise<void>;
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=SilentCacheClient.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SilentCacheClient.d.ts","sourceRoot":"","sources":["../../../../src/interaction_client/SilentCacheClient.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,yBAAyB,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,EACH,uBAAuB,EAG1B,MAAM,4BAA4B,CAAC;AAOpC,OAAO,EAAE,oBAAoB,EAAE,MAAM,qCAAqC,CAAC;AAC3E,OAAO,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAC;AAMpE,qBAAa,iBAAkB,SAAQ,yBAAyB;IAC5D;;;OAGG;IACG,YAAY,CACd,aAAa,EAAE,uBAAuB,GACvC,OAAO,CAAC,oBAAoB,CAAC;IA2DhC;;;OAGG;IACH,MAAM,CAAC,aAAa,CAAC,EAAE,iBAAiB,GAAG,OAAO,CAAC,IAAI,CAAC;CAW3D"}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { ICrypto, Logger, AuthorizationCodeClient, IPerformanceClient, CommonAuthorizationUrlRequest } from "@azure/msal-common/browser";
|
|
2
|
+
import { StandardInteractionClient } from "./StandardInteractionClient.js";
|
|
3
|
+
import { BrowserConfiguration } from "../config/Configuration.js";
|
|
4
|
+
import { BrowserCacheManager } from "../cache/BrowserCacheManager.js";
|
|
5
|
+
import { EventHandler } from "../event/EventHandler.js";
|
|
6
|
+
import { INavigationClient } from "../navigation/INavigationClient.js";
|
|
7
|
+
import { ApiId } from "../utils/BrowserConstants.js";
|
|
8
|
+
import { SsoSilentRequest } from "../request/SsoSilentRequest.js";
|
|
9
|
+
import { AuthenticationResult } from "../response/AuthenticationResult.js";
|
|
10
|
+
import { IPlatformAuthHandler } from "../broker/nativeBroker/IPlatformAuthHandler.js";
|
|
11
|
+
export declare class SilentIframeClient extends StandardInteractionClient {
|
|
12
|
+
protected apiId: ApiId;
|
|
13
|
+
protected nativeStorage: BrowserCacheManager;
|
|
14
|
+
constructor(config: BrowserConfiguration, storageImpl: BrowserCacheManager, browserCrypto: ICrypto, logger: Logger, eventHandler: EventHandler, navigationClient: INavigationClient, apiId: ApiId, performanceClient: IPerformanceClient, nativeStorageImpl: BrowserCacheManager, correlationId: string, platformAuthProvider?: IPlatformAuthHandler);
|
|
15
|
+
/**
|
|
16
|
+
* Acquires a token silently by opening a hidden iframe to the /authorize endpoint with prompt=none or prompt=no_session
|
|
17
|
+
* @param request
|
|
18
|
+
*/
|
|
19
|
+
acquireToken(request: SsoSilentRequest): Promise<AuthenticationResult>;
|
|
20
|
+
/**
|
|
21
|
+
* Executes auth code + PKCE flow
|
|
22
|
+
* @param request
|
|
23
|
+
* @returns
|
|
24
|
+
*/
|
|
25
|
+
executeCodeFlow(request: CommonAuthorizationUrlRequest): Promise<AuthenticationResult>;
|
|
26
|
+
/**
|
|
27
|
+
* Executes EAR flow
|
|
28
|
+
* @param request
|
|
29
|
+
*/
|
|
30
|
+
executeEarFlow(request: CommonAuthorizationUrlRequest): Promise<AuthenticationResult>;
|
|
31
|
+
/**
|
|
32
|
+
* Verifies SSO capability by making an iframe request to /authorize without exchanging the code for tokens.
|
|
33
|
+
* This is useful for verifying SSO capability in the background without the overhead of a full token exchange.
|
|
34
|
+
* @param request - The SSO silent request
|
|
35
|
+
* @returns true if SSO verification was successful with a valid authorization code, false otherwise
|
|
36
|
+
*/
|
|
37
|
+
verifySso(request: SsoSilentRequest): Promise<boolean>;
|
|
38
|
+
/**
|
|
39
|
+
* Currently Unsupported
|
|
40
|
+
*/
|
|
41
|
+
logout(): Promise<void>;
|
|
42
|
+
/**
|
|
43
|
+
* Helper which acquires an authorization code silently using a hidden iframe from given url
|
|
44
|
+
* using the scopes requested as part of the id, and exchanges the code for a set of OAuth tokens.
|
|
45
|
+
* @param navigateUrl
|
|
46
|
+
* @param userRequestScopes
|
|
47
|
+
*/
|
|
48
|
+
protected silentTokenHelper(authClient: AuthorizationCodeClient, request: CommonAuthorizationUrlRequest): Promise<AuthenticationResult>;
|
|
49
|
+
/**
|
|
50
|
+
* Shared helper that generates PKCE codes, builds the /authorize URL,
|
|
51
|
+
* loads it in a hidden iframe, waits for the redirect-bridge response,
|
|
52
|
+
* and returns the deserialized server parameters along with the PKCE codes
|
|
53
|
+
* and the request that was sent.
|
|
54
|
+
*/
|
|
55
|
+
private silentAuthorizeHelper;
|
|
56
|
+
}
|
|
57
|
+
//# sourceMappingURL=SilentIframeClient.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SilentIframeClient.d.ts","sourceRoot":"","sources":["../../../../src/interaction_client/SilentIframeClient.ts"],"names":[],"mappings":"AAKA,OAAO,EACH,OAAO,EACP,MAAM,EAEN,uBAAuB,EAEvB,kBAAkB,EAKlB,6BAA6B,EAGhC,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAEH,yBAAyB,EAC5B,MAAM,gCAAgC,CAAC;AAExC,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAClE,OAAO,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AACtE,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACxD,OAAO,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAC;AAKvE,OAAO,EAEH,KAAK,EAER,MAAM,8BAA8B,CAAC;AAOtC,OAAO,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAClE,OAAO,EAAE,oBAAoB,EAAE,MAAM,qCAAqC,CAAC;AAO3E,OAAO,EAAE,oBAAoB,EAAE,MAAM,gDAAgD,CAAC;AAMtF,qBAAa,kBAAmB,SAAQ,yBAAyB;IAC7D,SAAS,CAAC,KAAK,EAAE,KAAK,CAAC;IACvB,SAAS,CAAC,aAAa,EAAE,mBAAmB,CAAC;gBAGzC,MAAM,EAAE,oBAAoB,EAC5B,WAAW,EAAE,mBAAmB,EAChC,aAAa,EAAE,OAAO,EACtB,MAAM,EAAE,MAAM,EACd,YAAY,EAAE,YAAY,EAC1B,gBAAgB,EAAE,iBAAiB,EACnC,KAAK,EAAE,KAAK,EACZ,iBAAiB,EAAE,kBAAkB,EACrC,iBAAiB,EAAE,mBAAmB,EACtC,aAAa,EAAE,MAAM,EACrB,oBAAoB,CAAC,EAAE,oBAAoB;IAiB/C;;;OAGG;IACG,YAAY,CACd,OAAO,EAAE,gBAAgB,GAC1B,OAAO,CAAC,oBAAoB,CAAC;IA+DhC;;;;OAIG;IACG,eAAe,CACjB,OAAO,EAAE,6BAA6B,GACvC,OAAO,CAAC,oBAAoB,CAAC;IAgEhC;;;OAGG;IACG,cAAc,CAChB,OAAO,EAAE,6BAA6B,GACvC,OAAO,CAAC,oBAAoB,CAAC;IAgKhC;;;;;OAKG;IACG,SAAS,CAAC,OAAO,EAAE,gBAAgB,GAAG,OAAO,CAAC,OAAO,CAAC;IAyE5D;;OAEG;IACH,MAAM,IAAI,OAAO,CAAC,IAAI,CAAC;IASvB;;;;;OAKG;cACa,iBAAiB,CAC7B,UAAU,EAAE,uBAAuB,EACnC,OAAO,EAAE,6BAA6B,GACvC,OAAO,CAAC,oBAAoB,CAAC;IA4BhC;;;;;OAKG;YACW,qBAAqB;CAqGtC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { StandardInteractionClient } from "./StandardInteractionClient.js";
|
|
2
|
+
import { CommonSilentFlowRequest, ServerTelemetryManager, RefreshTokenClient, AzureCloudOptions, AccountInfo, StringDict } from "@azure/msal-common/browser";
|
|
3
|
+
import { AuthenticationResult } from "../response/AuthenticationResult.js";
|
|
4
|
+
export declare class SilentRefreshClient extends StandardInteractionClient {
|
|
5
|
+
/**
|
|
6
|
+
* Exchanges the refresh token for new tokens
|
|
7
|
+
* @param request
|
|
8
|
+
*/
|
|
9
|
+
acquireToken(request: CommonSilentFlowRequest): Promise<AuthenticationResult>;
|
|
10
|
+
/**
|
|
11
|
+
* Currently Unsupported
|
|
12
|
+
*/
|
|
13
|
+
logout(): Promise<void>;
|
|
14
|
+
/**
|
|
15
|
+
* Creates a Refresh Client with the given authority, or the default authority.
|
|
16
|
+
* @param params {
|
|
17
|
+
* serverTelemetryManager: ServerTelemetryManager;
|
|
18
|
+
* authorityUrl?: string;
|
|
19
|
+
* azureCloudOptions?: AzureCloudOptions;
|
|
20
|
+
* extraQueryParams?: StringDict;
|
|
21
|
+
* account?: AccountInfo;
|
|
22
|
+
* }
|
|
23
|
+
*/
|
|
24
|
+
protected createRefreshTokenClient(params: {
|
|
25
|
+
serverTelemetryManager: ServerTelemetryManager;
|
|
26
|
+
authorityUrl?: string;
|
|
27
|
+
azureCloudOptions?: AzureCloudOptions;
|
|
28
|
+
extraQueryParameters?: StringDict;
|
|
29
|
+
account?: AccountInfo;
|
|
30
|
+
}): Promise<RefreshTokenClient>;
|
|
31
|
+
}
|
|
32
|
+
//# sourceMappingURL=SilentRefreshClient.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SilentRefreshClient.d.ts","sourceRoot":"","sources":["../../../../src/interaction_client/SilentRefreshClient.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,yBAAyB,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,EACH,uBAAuB,EACvB,sBAAsB,EACtB,kBAAkB,EAElB,iBAAiB,EAEjB,WAAW,EACX,UAAU,EACb,MAAM,4BAA4B,CAAC;AAOpC,OAAO,EAAE,oBAAoB,EAAE,MAAM,qCAAqC,CAAC;AAO3E,qBAAa,mBAAoB,SAAQ,yBAAyB;IAC9D;;;OAGG;IACG,YAAY,CACd,OAAO,EAAE,uBAAuB,GACjC,OAAO,CAAC,oBAAoB,CAAC;IA6DhC;;OAEG;IACH,MAAM,IAAI,OAAO,CAAC,IAAI,CAAC;IASvB;;;;;;;;;OASG;cACa,wBAAwB,CAAC,MAAM,EAAE;QAC7C,sBAAsB,EAAE,sBAAsB,CAAC;QAC/C,YAAY,CAAC,EAAE,MAAM,CAAC;QACtB,iBAAiB,CAAC,EAAE,iBAAiB,CAAC;QACtC,oBAAoB,CAAC,EAAE,UAAU,CAAC;QAClC,OAAO,CAAC,EAAE,WAAW,CAAC;KACzB,GAAG,OAAO,CAAC,kBAAkB,CAAC;CAiBlC"}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { ServerTelemetryManager, AuthorizationCodeClient, ClientConfiguration, CommonEndSessionRequest, AccountInfo, AzureCloudOptions, StringDict, CommonAuthorizationUrlRequest, ICrypto, Logger, IPerformanceClient, Authority } from "@azure/msal-common/browser";
|
|
2
|
+
import { BaseInteractionClient } from "./BaseInteractionClient.js";
|
|
3
|
+
import { InteractionType } from "../utils/BrowserConstants.js";
|
|
4
|
+
import { EndSessionRequest } from "../request/EndSessionRequest.js";
|
|
5
|
+
import { RedirectRequest } from "../request/RedirectRequest.js";
|
|
6
|
+
import { PopupRequest } from "../request/PopupRequest.js";
|
|
7
|
+
import { SsoSilentRequest } from "../request/SsoSilentRequest.js";
|
|
8
|
+
import { BrowserConfiguration } from "../config/Configuration.js";
|
|
9
|
+
import { BrowserCacheManager } from "../cache/BrowserCacheManager.js";
|
|
10
|
+
/**
|
|
11
|
+
* Defines the class structure and helper functions used by the "standard", non-brokered auth flows (popup, redirect, silent (RT), silent (iframe))
|
|
12
|
+
*/
|
|
13
|
+
export declare abstract class StandardInteractionClient extends BaseInteractionClient {
|
|
14
|
+
/**
|
|
15
|
+
* Initializer for the logout request.
|
|
16
|
+
* @param logoutRequest
|
|
17
|
+
*/
|
|
18
|
+
protected initializeLogoutRequest(logoutRequest?: EndSessionRequest): CommonEndSessionRequest;
|
|
19
|
+
/**
|
|
20
|
+
* Parses login_hint ID Token Claim out of AccountInfo object to be used as
|
|
21
|
+
* logout_hint in end session request.
|
|
22
|
+
* @param account
|
|
23
|
+
*/
|
|
24
|
+
protected getLogoutHintFromIdTokenClaims(account: AccountInfo): string | null;
|
|
25
|
+
/**
|
|
26
|
+
* Creates an Authorization Code Client with the given authority, or the default authority.
|
|
27
|
+
* @param params {
|
|
28
|
+
* serverTelemetryManager: ServerTelemetryManager;
|
|
29
|
+
* authorityUrl?: string;
|
|
30
|
+
* requestAzureCloudOptions?: AzureCloudOptions;
|
|
31
|
+
* requestExtraQueryParameters?: StringDict;
|
|
32
|
+
* account?: AccountInfo;
|
|
33
|
+
* }
|
|
34
|
+
*/
|
|
35
|
+
protected createAuthCodeClient(params: {
|
|
36
|
+
serverTelemetryManager: ServerTelemetryManager;
|
|
37
|
+
requestAuthority?: string;
|
|
38
|
+
requestAzureCloudOptions?: AzureCloudOptions;
|
|
39
|
+
requestExtraQueryParameters?: StringDict;
|
|
40
|
+
account?: AccountInfo;
|
|
41
|
+
authority?: Authority;
|
|
42
|
+
}): Promise<AuthorizationCodeClient>;
|
|
43
|
+
/**
|
|
44
|
+
* Creates a Client Configuration object with the given request authority, or the default authority.
|
|
45
|
+
* @param params {
|
|
46
|
+
* serverTelemetryManager: ServerTelemetryManager;
|
|
47
|
+
* requestAuthority?: string;
|
|
48
|
+
* requestAzureCloudOptions?: AzureCloudOptions;
|
|
49
|
+
* requestExtraQueryParameters?: boolean;
|
|
50
|
+
* account?: AccountInfo;
|
|
51
|
+
* }
|
|
52
|
+
*/
|
|
53
|
+
protected getClientConfiguration(params: {
|
|
54
|
+
serverTelemetryManager: ServerTelemetryManager;
|
|
55
|
+
requestAuthority?: string;
|
|
56
|
+
requestAzureCloudOptions?: AzureCloudOptions;
|
|
57
|
+
requestExtraQueryParameters?: StringDict;
|
|
58
|
+
account?: AccountInfo;
|
|
59
|
+
authority?: Authority;
|
|
60
|
+
}): Promise<ClientConfiguration>;
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* Helper to initialize required request parameters for interactive APIs and ssoSilent().
|
|
64
|
+
*
|
|
65
|
+
* @param request - The authentication request object (RedirectRequest, PopupRequest, or SsoSilentRequest).
|
|
66
|
+
* @param interactionType - The type of interaction (e.g., redirect, popup, silent).
|
|
67
|
+
* @param config - The browser configuration object.
|
|
68
|
+
* @param browserCrypto - The cryptographic interface for browser operations.
|
|
69
|
+
* @param browserStorage - The browser storage manager instance.
|
|
70
|
+
* @param logger - The logger instance for logging messages.
|
|
71
|
+
* @param performanceClient - The performance client for telemetry.
|
|
72
|
+
* @param correlationId - The correlation ID for the request.
|
|
73
|
+
* @returns A promise that resolves to a CommonAuthorizationUrlRequest object with initialized parameters.
|
|
74
|
+
*/
|
|
75
|
+
export declare function initializeAuthorizationRequest(request: RedirectRequest | PopupRequest | SsoSilentRequest, interactionType: InteractionType, config: BrowserConfiguration, browserCrypto: ICrypto, browserStorage: BrowserCacheManager, logger: Logger, performanceClient: IPerformanceClient, correlationId: string): Promise<CommonAuthorizationUrlRequest>;
|
|
76
|
+
//# sourceMappingURL=StandardInteractionClient.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StandardInteractionClient.d.ts","sourceRoot":"","sources":["../../../../src/interaction_client/StandardInteractionClient.ts"],"names":[],"mappings":"AAKA,OAAO,EACH,sBAAsB,EACtB,uBAAuB,EACvB,mBAAmB,EAEnB,uBAAuB,EAGvB,WAAW,EACX,iBAAiB,EAGjB,UAAU,EACV,6BAA6B,EAC7B,OAAO,EACP,MAAM,EACN,kBAAkB,EAClB,SAAS,EACZ,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACH,qBAAqB,EAGxB,MAAM,4BAA4B,CAAC;AAEpC,OAAO,EAEH,eAAe,EAClB,MAAM,8BAA8B,CAAC;AAGtC,OAAO,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAC;AAEpE,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAChE,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC1D,OAAO,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAElE,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAClE,OAAO,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AAMtE;;GAEG;AACH,8BAAsB,yBAA0B,SAAQ,qBAAqB;IACzE;;;OAGG;IACH,SAAS,CAAC,uBAAuB,CAC7B,aAAa,CAAC,EAAE,iBAAiB,GAClC,uBAAuB;IAmG1B;;;;OAIG;IACH,SAAS,CAAC,8BAA8B,CACpC,OAAO,EAAE,WAAW,GACrB,MAAM,GAAG,IAAI;IAqBhB;;;;;;;;;OASG;cACa,oBAAoB,CAAC,MAAM,EAAE;QACzC,sBAAsB,EAAE,sBAAsB,CAAC;QAC/C,gBAAgB,CAAC,EAAE,MAAM,CAAC;QAC1B,wBAAwB,CAAC,EAAE,iBAAiB,CAAC;QAC7C,2BAA2B,CAAC,EAAE,UAAU,CAAC;QACzC,OAAO,CAAC,EAAE,WAAW,CAAC;QACtB,SAAS,CAAC,EAAE,SAAS,CAAC;KACzB,GAAG,OAAO,CAAC,uBAAuB,CAAC;IAgBpC;;;;;;;;;OASG;cACa,sBAAsB,CAAC,MAAM,EAAE;QAC3C,sBAAsB,EAAE,sBAAsB,CAAC;QAC/C,gBAAgB,CAAC,EAAE,MAAM,CAAC;QAC1B,wBAAwB,CAAC,EAAE,iBAAiB,CAAC;QAC7C,2BAA2B,CAAC,EAAE,UAAU,CAAC;QACzC,OAAO,CAAC,EAAE,WAAW,CAAC;QACtB,SAAS,CAAC,EAAE,SAAS,CAAC;KACzB,GAAG,OAAO,CAAC,mBAAmB,CAAC;CA8DnC;AAED;;;;;;;;;;;;GAYG;AACH,wBAAsB,8BAA8B,CAChD,OAAO,EAAE,eAAe,GAAG,YAAY,GAAG,gBAAgB,EAC1D,eAAe,EAAE,eAAe,EAChC,MAAM,EAAE,oBAAoB,EAC5B,aAAa,EAAE,OAAO,EACtB,cAAc,EAAE,mBAAmB,EACnC,MAAM,EAAE,MAAM,EACd,iBAAiB,EAAE,kBAAkB,EACrC,aAAa,EAAE,MAAM,GACtB,OAAO,CAAC,6BAA6B,CAAC,CAyExC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { AuthorizationCodePayload, CommonAuthorizationCodeRequest, AuthorizationCodeClient, CcsCredential, Logger, IPerformanceClient, AuthorizeResponse, CommonAuthorizationUrlRequest } from "@azure/msal-common/browser";
|
|
2
|
+
import { ApiId } from "../utils/BrowserConstants.js";
|
|
3
|
+
import { BrowserCacheManager } from "../cache/BrowserCacheManager.js";
|
|
4
|
+
import { AuthenticationResult } from "../response/AuthenticationResult.js";
|
|
5
|
+
/**
|
|
6
|
+
* Abstract class which defines operations for a browser interaction handling class.
|
|
7
|
+
*/
|
|
8
|
+
export declare class InteractionHandler {
|
|
9
|
+
protected authModule: AuthorizationCodeClient;
|
|
10
|
+
protected browserStorage: BrowserCacheManager;
|
|
11
|
+
protected authCodeRequest: CommonAuthorizationCodeRequest;
|
|
12
|
+
protected logger: Logger;
|
|
13
|
+
protected performanceClient: IPerformanceClient;
|
|
14
|
+
constructor(authCodeModule: AuthorizationCodeClient, storageImpl: BrowserCacheManager, authCodeRequest: CommonAuthorizationCodeRequest, logger: Logger, performanceClient: IPerformanceClient);
|
|
15
|
+
/**
|
|
16
|
+
* Function to handle response parameters from hash.
|
|
17
|
+
* @param locationHash
|
|
18
|
+
*/
|
|
19
|
+
handleCodeResponse(response: AuthorizeResponse, request: CommonAuthorizationUrlRequest, apiId: ApiId): Promise<AuthenticationResult>;
|
|
20
|
+
/**
|
|
21
|
+
* Process auth code response from AAD
|
|
22
|
+
* @param authCodeResponse
|
|
23
|
+
* @param request
|
|
24
|
+
* @param validateNonce
|
|
25
|
+
* @returns
|
|
26
|
+
*/
|
|
27
|
+
handleCodeResponseFromServer(authCodeResponse: AuthorizationCodePayload, request: CommonAuthorizationUrlRequest, apiId: ApiId, validateNonce?: boolean): Promise<AuthenticationResult>;
|
|
28
|
+
/**
|
|
29
|
+
* Build ccs creds if available
|
|
30
|
+
*/
|
|
31
|
+
protected createCcsCredentials(request: CommonAuthorizationUrlRequest): CcsCredential | null;
|
|
32
|
+
}
|
|
33
|
+
//# sourceMappingURL=InteractionHandler.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InteractionHandler.d.ts","sourceRoot":"","sources":["../../../../src/interaction_handler/InteractionHandler.ts"],"names":[],"mappings":"AAKA,OAAO,EACH,wBAAwB,EACxB,8BAA8B,EAC9B,uBAAuB,EACvB,aAAa,EACb,MAAM,EAEN,kBAAkB,EAIlB,iBAAiB,EAEjB,6BAA6B,EAChC,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,KAAK,EAAE,MAAM,8BAA8B,CAAC;AAErD,OAAO,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AAKtE,OAAO,EAAE,oBAAoB,EAAE,MAAM,qCAAqC,CAAC;AAE3E;;GAEG;AACH,qBAAa,kBAAkB;IAC3B,SAAS,CAAC,UAAU,EAAE,uBAAuB,CAAC;IAC9C,SAAS,CAAC,cAAc,EAAE,mBAAmB,CAAC;IAC9C,SAAS,CAAC,eAAe,EAAE,8BAA8B,CAAC;IAC1D,SAAS,CAAC,MAAM,EAAE,MAAM,CAAC;IACzB,SAAS,CAAC,iBAAiB,EAAE,kBAAkB,CAAC;gBAG5C,cAAc,EAAE,uBAAuB,EACvC,WAAW,EAAE,mBAAmB,EAChC,eAAe,EAAE,8BAA8B,EAC/C,MAAM,EAAE,MAAM,EACd,iBAAiB,EAAE,kBAAkB;IASzC;;;OAGG;IACG,kBAAkB,CACpB,QAAQ,EAAE,iBAAiB,EAC3B,OAAO,EAAE,6BAA6B,EACtC,KAAK,EAAE,KAAK,GACb,OAAO,CAAC,oBAAoB,CAAC;IA8BhC;;;;;;OAMG;IACG,4BAA4B,CAC9B,gBAAgB,EAAE,wBAAwB,EAC1C,OAAO,EAAE,6BAA6B,EACtC,KAAK,EAAE,KAAK,EACZ,aAAa,GAAE,OAAc,GAC9B,OAAO,CAAC,oBAAoB,CAAC;IA0ChC;;OAEG;IACH,SAAS,CAAC,oBAAoB,CAC1B,OAAO,EAAE,6BAA6B,GACvC,aAAa,GAAG,IAAI;CAe1B"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Logger, IPerformanceClient, Authority, CommonAuthorizationUrlRequest } from "@azure/msal-common/browser";
|
|
2
|
+
import { BrowserConfiguration } from "../config/Configuration.js";
|
|
3
|
+
/**
|
|
4
|
+
* Creates a hidden iframe to given URL using user-requested scopes as an id.
|
|
5
|
+
* @param urlNavigate
|
|
6
|
+
* @param userRequestScopes
|
|
7
|
+
*/
|
|
8
|
+
export declare function initiateCodeRequest(requestUrl: string, performanceClient: IPerformanceClient, logger: Logger, correlationId: string): Promise<HTMLIFrameElement>;
|
|
9
|
+
export declare function initiateCodeFlowWithPost(config: BrowserConfiguration, authority: Authority, request: CommonAuthorizationUrlRequest, logger: Logger, performanceClient: IPerformanceClient): Promise<HTMLIFrameElement>;
|
|
10
|
+
export declare function initiateEarRequest(config: BrowserConfiguration, authority: Authority, request: CommonAuthorizationUrlRequest, logger: Logger, performanceClient: IPerformanceClient): Promise<HTMLIFrameElement>;
|
|
11
|
+
/**
|
|
12
|
+
* @hidden
|
|
13
|
+
* Removes a hidden iframe from `document.body` if it is a direct child.
|
|
14
|
+
* @param iframe - The iframe element to remove.
|
|
15
|
+
*/
|
|
16
|
+
export declare function removeHiddenIframe(iframe: HTMLIFrameElement): void;
|
|
17
|
+
//# sourceMappingURL=SilentHandler.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SilentHandler.d.ts","sourceRoot":"","sources":["../../../../src/interaction_handler/SilentHandler.ts"],"names":[],"mappings":"AAKA,OAAO,EACH,MAAM,EACN,kBAAkB,EAElB,SAAS,EACT,6BAA6B,EAChC,MAAM,4BAA4B,CAAC;AAMpC,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAGlE;;;;GAIG;AACH,wBAAsB,mBAAmB,CACrC,UAAU,EAAE,MAAM,EAClB,iBAAiB,EAAE,kBAAkB,EACrC,MAAM,EAAE,MAAM,EACd,aAAa,EAAE,MAAM,GACtB,OAAO,CAAC,iBAAiB,CAAC,CAc5B;AAED,wBAAsB,wBAAwB,CAC1C,MAAM,EAAE,oBAAoB,EAC5B,SAAS,EAAE,SAAS,EACpB,OAAO,EAAE,6BAA6B,EACtC,MAAM,EAAE,MAAM,EACd,iBAAiB,EAAE,kBAAkB,GACtC,OAAO,CAAC,iBAAiB,CAAC,CAe5B;AAED,wBAAsB,kBAAkB,CACpC,MAAM,EAAE,oBAAoB,EAC5B,SAAS,EAAE,SAAS,EACpB,OAAO,EAAE,6BAA6B,EACtC,MAAM,EAAE,MAAM,EACd,iBAAiB,EAAE,kBAAkB,GACtC,OAAO,CAAC,iBAAiB,CAAC,CAe5B;AAwCD;;;;GAIG;AACH,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,iBAAiB,GAAG,IAAI,CAIlE"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export type AccountInfo = {
|
|
2
|
+
homeAccountId?: string;
|
|
3
|
+
environment: string;
|
|
4
|
+
tenantId?: string;
|
|
5
|
+
username: string;
|
|
6
|
+
localAccountId?: string;
|
|
7
|
+
name?: string;
|
|
8
|
+
idToken?: string;
|
|
9
|
+
platformBrokerId?: string;
|
|
10
|
+
idTokenClaims?: object;
|
|
11
|
+
loginHint?: string;
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=AccountInfo.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AccountInfo.d.ts","sourceRoot":"","sources":["../../../../src/naa/AccountInfo.ts"],"names":[],"mappings":"AAKA,MAAM,MAAM,WAAW,GAAG;IACtB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export type AuthBridgeResponse = string | {
|
|
2
|
+
data: string;
|
|
3
|
+
};
|
|
4
|
+
export interface AuthBridge {
|
|
5
|
+
addEventListener: (eventName: string, callback: (response: AuthBridgeResponse) => void) => void;
|
|
6
|
+
postMessage: (message: string) => void;
|
|
7
|
+
removeEventListener: (eventName: string, callback: (response: AuthBridgeResponse) => void) => void;
|
|
8
|
+
}
|
|
9
|
+
//# sourceMappingURL=AuthBridge.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AuthBridge.d.ts","sourceRoot":"","sources":["../../../../src/naa/AuthBridge.ts"],"names":[],"mappings":"AAKA,MAAM,MAAM,kBAAkB,GAAG,MAAM,GAAG;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,CAAC;AAC3D,MAAM,WAAW,UAAU;IACvB,gBAAgB,EAAE,CACd,SAAS,EAAE,MAAM,EACjB,QAAQ,EAAE,CAAC,QAAQ,EAAE,kBAAkB,KAAK,IAAI,KAC/C,IAAI,CAAC;IACV,WAAW,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,mBAAmB,EAAE,CACjB,SAAS,EAAE,MAAM,EACjB,QAAQ,EAAE,CAAC,QAAQ,EAAE,kBAAkB,KAAK,IAAI,KAC/C,IAAI,CAAC;CACb"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AuthResult.d.ts","sourceRoot":"","sources":["../../../../src/naa/AuthResult.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAC/C,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAEnD,MAAM,MAAM,UAAU,GAAG;IACrB,KAAK,EAAE,aAAa,CAAC;IACrB,OAAO,EAAE,WAAW,CAAC;CACxB,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* AccountContext is used to pass account information when the bridge is initialized
|
|
3
|
+
*
|
|
4
|
+
* NAA (MetaOS) apps are created and destroyed for the same session multiple times.
|
|
5
|
+
* `AccountContext` helps in booting up the cached account when the bridge
|
|
6
|
+
* is recreated for a new NAA instance in the same auth session.
|
|
7
|
+
*/
|
|
8
|
+
export interface AccountContext {
|
|
9
|
+
homeAccountId: string;
|
|
10
|
+
environment: string;
|
|
11
|
+
tenantId: string;
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=BridgeAccountContext.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BridgeAccountContext.d.ts","sourceRoot":"","sources":["../../../../src/naa/BridgeAccountContext.ts"],"names":[],"mappings":"AAKA;;;;;;GAMG;AACH,MAAM,WAAW,cAAc;IAC3B,aAAa,EAAE,MAAM,CAAC;IACtB,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;CACpB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BridgeCapabilities.d.ts","sourceRoot":"","sources":["../../../../src/naa/BridgeCapabilities.ts"],"names":[],"mappings":"AAMA,MAAM,WAAW,kBAAkB;IAC/B,YAAY,CAAC,EAAE,OAAO,CAAC;CAC1B"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { BridgeStatusCode } from "./BridgeStatusCode.js";
|
|
2
|
+
export type BridgeError = {
|
|
3
|
+
status: BridgeStatusCode;
|
|
4
|
+
code?: string;
|
|
5
|
+
subError?: string;
|
|
6
|
+
description?: string;
|
|
7
|
+
properties?: object;
|
|
8
|
+
};
|
|
9
|
+
export declare function isBridgeError(error: unknown): error is BridgeError;
|
|
10
|
+
//# sourceMappingURL=BridgeError.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BridgeError.d.ts","sourceRoot":"","sources":["../../../../src/naa/BridgeError.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAEzD,MAAM,MAAM,WAAW,GAAG;IACtB,MAAM,EAAE,gBAAgB,CAAC;IACzB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;CACvB,CAAC;AAEF,wBAAgB,aAAa,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,WAAW,CAElE"}
|