@azure/msal-browser 5.10.1 → 5.11.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 +1 -1
- package/dist/broker/nativeBroker/PlatformAuthProvider.mjs +18 -32
- package/dist/broker/nativeBroker/PlatformAuthProvider.mjs.map +1 -1
- package/dist/cache/AccountManager.mjs +1 -1
- package/dist/cache/AsyncMemoryStorage.mjs +1 -1
- package/dist/cache/BrowserCacheManager.mjs +1 -1
- package/dist/cache/CacheHelpers.mjs +1 -1
- package/dist/cache/CacheKeys.mjs +2 -3
- package/dist/cache/CacheKeys.mjs.map +1 -1
- package/dist/cache/CookieStorage.mjs +1 -1
- package/dist/cache/DatabaseStorage.mjs +1 -1
- package/dist/cache/EncryptedData.mjs +1 -1
- package/dist/cache/LocalStorage.mjs +1 -1
- package/dist/cache/MemoryStorage.mjs +1 -1
- package/dist/cache/SessionStorage.mjs +1 -1
- package/dist/cache/TokenCache.mjs +1 -1
- package/dist/config/Configuration.mjs +2 -1
- package/dist/config/Configuration.mjs.map +1 -1
- package/dist/controllers/NestedAppAuthController.mjs +1 -1
- package/dist/controllers/StandardController.mjs +2 -2
- 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/CustomAuthConstants.mjs +11 -2
- package/dist/custom_auth/CustomAuthConstants.mjs.map +1 -1
- package/dist/custom_auth/CustomAuthPublicClientApplication.mjs +1 -1
- package/dist/custom_auth/controller/CustomAuthStandardController.mjs +2 -2
- package/dist/custom_auth/controller/CustomAuthStandardController.mjs.map +1 -1
- package/dist/custom_auth/core/CustomAuthAuthority.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/AuthFlowErrorBase.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/AuthFlowResultBase.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/AuthFlowState.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/AuthFlowStateTypes.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationChallengeMethodResult.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationSubmitChallengeResult.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationCompletedState.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationFailedState.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationState.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/mfa/error_type/MfaError.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/mfa/state/MfaFailedState.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/mfa/state/MfaState.mjs +1 -1
- package/dist/custom_auth/core/error/CustomAuthApiError.mjs +1 -1
- package/dist/custom_auth/core/error/CustomAuthError.mjs +1 -1
- package/dist/custom_auth/core/error/HttpError.mjs +1 -1
- package/dist/custom_auth/core/error/HttpErrorCodes.mjs +1 -1
- package/dist/custom_auth/core/error/InvalidArgumentError.mjs +1 -1
- package/dist/custom_auth/core/error/InvalidConfigurationError.mjs +1 -1
- package/dist/custom_auth/core/error/InvalidConfigurationErrorCodes.mjs +1 -1
- package/dist/custom_auth/core/error/MethodNotImplementedError.mjs +1 -1
- package/dist/custom_auth/core/error/MsalCustomAuthError.mjs +1 -1
- package/dist/custom_auth/core/error/NoCachedAccountFoundError.mjs +1 -1
- package/dist/custom_auth/core/error/ParsedUrlError.mjs +1 -1
- package/dist/custom_auth/core/error/ParsedUrlErrorCodes.mjs +1 -1
- package/dist/custom_auth/core/error/UnexpectedError.mjs +1 -1
- package/dist/custom_auth/core/error/UnsupportedEnvironmentError.mjs +1 -1
- package/dist/custom_auth/core/error/UserAccountAttributeError.mjs +1 -1
- package/dist/custom_auth/core/error/UserAlreadySignedInError.mjs +1 -1
- package/dist/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.mjs +1 -1
- package/dist/custom_auth/core/interaction_client/CustomAuthInterationClientFactory.mjs +1 -1
- package/dist/custom_auth/core/interaction_client/jit/JitClient.mjs +1 -1
- package/dist/custom_auth/core/interaction_client/jit/result/JitActionResult.mjs +1 -1
- package/dist/custom_auth/core/interaction_client/mfa/MfaClient.mjs +1 -1
- package/dist/custom_auth/core/interaction_client/mfa/result/MfaActionResult.mjs +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/BaseApiClient.mjs +21 -3
- package/dist/custom_auth/core/network_client/custom_auth_api/BaseApiClient.mjs.map +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.mjs +6 -6
- package/dist/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.mjs.map +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.mjs +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/RegisterApiClient.mjs +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/ResetPasswordApiClient.mjs +3 -3
- package/dist/custom_auth/core/network_client/custom_auth_api/ResetPasswordApiClient.mjs.map +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/SignInApiClient.mjs +3 -3
- package/dist/custom_auth/core/network_client/custom_auth_api/SignInApiClient.mjs.map +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/SignupApiClient.mjs +3 -3
- package/dist/custom_auth/core/network_client/custom_auth_api/SignupApiClient.mjs.map +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/types/ApiErrorCodes.mjs +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.mjs +1 -1
- package/dist/custom_auth/core/network_client/http_client/FetchHttpClient.mjs +1 -1
- package/dist/custom_auth/core/network_client/http_client/IHttpClient.mjs +1 -1
- package/dist/custom_auth/core/telemetry/PublicApiId.mjs +1 -1
- package/dist/custom_auth/core/utils/ArgumentValidator.mjs +1 -1
- package/dist/custom_auth/core/utils/CustomHeaderUtils.mjs +56 -0
- package/dist/custom_auth/core/utils/CustomHeaderUtils.mjs.map +1 -0
- package/dist/custom_auth/core/utils/UrlUtils.mjs +1 -1
- package/dist/custom_auth/get_account/auth_flow/CustomAuthAccountData.mjs +1 -1
- package/dist/custom_auth/get_account/auth_flow/error_type/GetAccountError.mjs +1 -1
- package/dist/custom_auth/get_account/auth_flow/result/GetAccessTokenResult.mjs +1 -1
- package/dist/custom_auth/get_account/auth_flow/result/GetAccountResult.mjs +1 -1
- package/dist/custom_auth/get_account/auth_flow/result/SignOutResult.mjs +1 -1
- package/dist/custom_auth/get_account/auth_flow/state/GetAccessTokenState.mjs +1 -1
- package/dist/custom_auth/get_account/auth_flow/state/GetAccountState.mjs +1 -1
- package/dist/custom_auth/get_account/auth_flow/state/SignOutState.mjs +1 -1
- package/dist/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.mjs +1 -1
- package/dist/custom_auth/index.mjs +1 -1
- package/dist/custom_auth/operating_context/CustomAuthOperatingContext.mjs +1 -1
- package/dist/custom_auth/reset_password/auth_flow/error_type/ResetPasswordError.mjs +1 -1
- package/dist/custom_auth/reset_password/auth_flow/result/ResetPasswordResendCodeResult.mjs +1 -1
- package/dist/custom_auth/reset_password/auth_flow/result/ResetPasswordStartResult.mjs +1 -1
- package/dist/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitCodeResult.mjs +1 -1
- package/dist/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitPasswordResult.mjs +1 -1
- package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordCodeRequiredState.mjs +1 -1
- package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordCompletedState.mjs +1 -1
- package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordFailedState.mjs +1 -1
- package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordPasswordRequiredState.mjs +1 -1
- package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordState.mjs +1 -1
- package/dist/custom_auth/reset_password/interaction_client/ResetPasswordClient.mjs +1 -1
- package/dist/custom_auth/sign_in/auth_flow/SignInScenario.mjs +1 -1
- package/dist/custom_auth/sign_in/auth_flow/error_type/SignInError.mjs +1 -1
- package/dist/custom_auth/sign_in/auth_flow/result/SignInResendCodeResult.mjs +1 -1
- package/dist/custom_auth/sign_in/auth_flow/result/SignInResult.mjs +1 -1
- package/dist/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.mjs +1 -1
- package/dist/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.mjs +1 -1
- package/dist/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.mjs +1 -1
- package/dist/custom_auth/sign_in/auth_flow/state/SignInCompletedState.mjs +1 -1
- package/dist/custom_auth/sign_in/auth_flow/state/SignInContinuationState.mjs +1 -1
- package/dist/custom_auth/sign_in/auth_flow/state/SignInFailedState.mjs +1 -1
- package/dist/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.mjs +1 -1
- package/dist/custom_auth/sign_in/auth_flow/state/SignInState.mjs +1 -1
- package/dist/custom_auth/sign_in/interaction_client/SignInClient.mjs +1 -1
- package/dist/custom_auth/sign_in/interaction_client/result/SignInActionResult.mjs +1 -1
- package/dist/custom_auth/sign_up/auth_flow/error_type/SignUpError.mjs +1 -1
- package/dist/custom_auth/sign_up/auth_flow/result/SignUpResendCodeResult.mjs +1 -1
- package/dist/custom_auth/sign_up/auth_flow/result/SignUpResult.mjs +1 -1
- package/dist/custom_auth/sign_up/auth_flow/result/SignUpSubmitAttributesResult.mjs +1 -1
- package/dist/custom_auth/sign_up/auth_flow/result/SignUpSubmitCodeResult.mjs +1 -1
- package/dist/custom_auth/sign_up/auth_flow/result/SignUpSubmitPasswordResult.mjs +1 -1
- package/dist/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.mjs +1 -1
- package/dist/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.mjs +1 -1
- package/dist/custom_auth/sign_up/auth_flow/state/SignUpCompletedState.mjs +1 -1
- package/dist/custom_auth/sign_up/auth_flow/state/SignUpFailedState.mjs +1 -1
- package/dist/custom_auth/sign_up/auth_flow/state/SignUpPasswordRequiredState.mjs +1 -1
- package/dist/custom_auth/sign_up/auth_flow/state/SignUpState.mjs +1 -1
- package/dist/custom_auth/sign_up/interaction_client/SignUpClient.mjs +1 -1
- package/dist/custom_auth/sign_up/interaction_client/result/SignUpActionResult.mjs +1 -1
- package/dist/encode/Base64Decode.mjs +1 -1
- package/dist/encode/Base64Encode.mjs +1 -1
- package/dist/error/BrowserAuthError.mjs +1 -1
- package/dist/error/BrowserAuthErrorCodes.mjs +1 -1
- package/dist/error/BrowserConfigurationAuthError.mjs +1 -1
- package/dist/error/BrowserConfigurationAuthErrorCodes.mjs +1 -1
- package/dist/error/NativeAuthError.mjs +1 -1
- package/dist/error/NativeAuthErrorCodes.mjs +1 -1
- package/dist/error/NestedAppAuthError.mjs +1 -1
- package/dist/event/EventHandler.mjs +1 -1
- package/dist/event/EventMessage.mjs +1 -1
- package/dist/event/EventType.mjs +1 -1
- package/dist/index.mjs +1 -1
- package/dist/interaction_client/BaseInteractionClient.mjs +1 -1
- package/dist/interaction_client/HybridSpaAuthorizationCodeClient.mjs +1 -1
- package/dist/interaction_client/PlatformAuthInteractionClient.mjs +1 -1
- package/dist/interaction_client/PopupClient.mjs +1 -1
- package/dist/interaction_client/RedirectClient.mjs +1 -1
- package/dist/interaction_client/SilentAuthCodeClient.mjs +1 -1
- package/dist/interaction_client/SilentCacheClient.mjs +1 -1
- package/dist/interaction_client/SilentIframeClient.mjs +1 -1
- package/dist/interaction_client/SilentRefreshClient.mjs +1 -1
- package/dist/interaction_client/StandardInteractionClient.mjs +6 -4
- package/dist/interaction_client/StandardInteractionClient.mjs.map +1 -1
- package/dist/interaction_handler/InteractionHandler.mjs +1 -1
- package/dist/interaction_handler/SilentHandler.mjs +1 -1
- package/dist/log-strings-mapping.json +1200 -1188
- 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.mjs +2 -2
- package/dist/protocol/Authorize.mjs +1 -1
- package/dist/redirect_bridge/index.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 +21 -9
- package/lib/custom-auth-path/msal-custom-auth.cjs +171 -104
- package/lib/custom-auth-path/msal-custom-auth.cjs.map +1 -1
- package/lib/custom-auth-path/msal-custom-auth.js +171 -104
- package/lib/custom-auth-path/msal-custom-auth.js.map +1 -1
- package/lib/log-strings-mapping.json +8 -8
- package/lib/msal-browser.cjs +92 -101
- package/lib/msal-browser.cjs.map +1 -1
- package/lib/msal-browser.js +92 -101
- package/lib/msal-browser.js.map +1 -1
- package/lib/msal-browser.min.js +2 -2
- package/lib/redirect-bridge/msal-redirect-bridge.cjs +10 -10
- package/lib/redirect-bridge/msal-redirect-bridge.cjs.map +1 -1
- 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/package.json +2 -2
- package/src/broker/nativeBroker/PlatformAuthProvider.ts +34 -30
- package/src/config/Configuration.ts +5 -0
- package/src/controllers/StandardController.ts +2 -1
- package/src/custom_auth/CustomAuthConstants.ts +10 -0
- package/src/custom_auth/configuration/CustomAuthConfiguration.ts +2 -0
- package/src/custom_auth/configuration/CustomAuthRequestInterceptor.ts +54 -0
- package/src/custom_auth/controller/CustomAuthStandardController.ts +3 -1
- package/src/custom_auth/core/network_client/custom_auth_api/BaseApiClient.ts +41 -2
- package/src/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.ts +17 -5
- package/src/custom_auth/core/network_client/custom_auth_api/ResetPasswordApiClient.ts +8 -2
- package/src/custom_auth/core/network_client/custom_auth_api/SignInApiClient.ts +8 -3
- package/src/custom_auth/core/network_client/custom_auth_api/SignupApiClient.ts +8 -2
- package/src/custom_auth/core/utils/CustomHeaderUtils.ts +75 -0
- package/src/custom_auth/index.ts +4 -0
- package/src/interaction_client/StandardInteractionClient.ts +11 -5
- package/src/packageMetadata.ts +1 -1
- package/types/broker/nativeBroker/PlatformAuthProvider.d.ts +7 -12
- package/types/broker/nativeBroker/PlatformAuthProvider.d.ts.map +1 -1
- package/types/config/Configuration.d.ts +4 -0
- package/types/config/Configuration.d.ts.map +1 -1
- package/types/controllers/StandardController.d.ts.map +1 -1
- package/types/custom_auth/CustomAuthConstants.d.ts +5 -1
- package/types/custom_auth/CustomAuthConstants.d.ts.map +1 -1
- package/types/custom_auth/configuration/CustomAuthConfiguration.d.ts +2 -0
- package/types/custom_auth/configuration/CustomAuthConfiguration.d.ts.map +1 -1
- package/types/custom_auth/configuration/CustomAuthRequestInterceptor.d.ts +42 -0
- package/types/custom_auth/configuration/CustomAuthRequestInterceptor.d.ts.map +1 -0
- package/types/custom_auth/controller/CustomAuthStandardController.d.ts.map +1 -1
- package/types/custom_auth/core/network_client/custom_auth_api/BaseApiClient.d.ts +6 -2
- package/types/custom_auth/core/network_client/custom_auth_api/BaseApiClient.d.ts.map +1 -1
- package/types/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.d.ts +3 -1
- package/types/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.d.ts.map +1 -1
- package/types/custom_auth/core/network_client/custom_auth_api/ResetPasswordApiClient.d.ts +3 -1
- package/types/custom_auth/core/network_client/custom_auth_api/ResetPasswordApiClient.d.ts.map +1 -1
- package/types/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts +3 -1
- package/types/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts.map +1 -1
- package/types/custom_auth/core/network_client/custom_auth_api/SignupApiClient.d.ts +3 -1
- package/types/custom_auth/core/network_client/custom_auth_api/SignupApiClient.d.ts.map +1 -1
- package/types/custom_auth/core/utils/CustomHeaderUtils.d.ts +21 -0
- package/types/custom_auth/core/utils/CustomHeaderUtils.d.ts.map +1 -0
- package/types/custom_auth/index.d.ts +1 -0
- package/types/custom_auth/index.d.ts.map +1 -1
- package/types/interaction_client/StandardInteractionClient.d.ts.map +1 -1
- package/types/packageMetadata.d.ts +1 -1
|
@@ -9,6 +9,8 @@ import { SignInApiClient } from "./SignInApiClient.js";
|
|
|
9
9
|
import { RegisterApiClient } from "./RegisterApiClient.js";
|
|
10
10
|
import { ICustomAuthApiClient } from "./ICustomAuthApiClient.js";
|
|
11
11
|
import { IHttpClient } from "../http_client/IHttpClient.js";
|
|
12
|
+
import { Logger } from "@azure/msal-common/browser";
|
|
13
|
+
import { CustomAuthRequestInterceptor } from "../../../configuration/CustomAuthRequestInterceptor.js";
|
|
12
14
|
|
|
13
15
|
export class CustomAuthApiClient implements ICustomAuthApiClient {
|
|
14
16
|
signInApi: SignInApiClient;
|
|
@@ -21,34 +23,44 @@ export class CustomAuthApiClient implements ICustomAuthApiClient {
|
|
|
21
23
|
clientId: string,
|
|
22
24
|
httpClient: IHttpClient,
|
|
23
25
|
capabilities?: string,
|
|
24
|
-
customAuthApiQueryParams?: Record<string, string
|
|
26
|
+
customAuthApiQueryParams?: Record<string, string>,
|
|
27
|
+
requestInterceptor?: CustomAuthRequestInterceptor,
|
|
28
|
+
logger?: Logger
|
|
25
29
|
) {
|
|
26
30
|
this.signInApi = new SignInApiClient(
|
|
27
31
|
customAuthApiBaseUrl,
|
|
28
32
|
clientId,
|
|
29
33
|
httpClient,
|
|
30
34
|
capabilities,
|
|
31
|
-
customAuthApiQueryParams
|
|
35
|
+
customAuthApiQueryParams,
|
|
36
|
+
requestInterceptor,
|
|
37
|
+
logger
|
|
32
38
|
);
|
|
33
39
|
this.signUpApi = new SignupApiClient(
|
|
34
40
|
customAuthApiBaseUrl,
|
|
35
41
|
clientId,
|
|
36
42
|
httpClient,
|
|
37
43
|
capabilities,
|
|
38
|
-
customAuthApiQueryParams
|
|
44
|
+
customAuthApiQueryParams,
|
|
45
|
+
requestInterceptor,
|
|
46
|
+
logger
|
|
39
47
|
);
|
|
40
48
|
this.resetPasswordApi = new ResetPasswordApiClient(
|
|
41
49
|
customAuthApiBaseUrl,
|
|
42
50
|
clientId,
|
|
43
51
|
httpClient,
|
|
44
52
|
capabilities,
|
|
45
|
-
customAuthApiQueryParams
|
|
53
|
+
customAuthApiQueryParams,
|
|
54
|
+
requestInterceptor,
|
|
55
|
+
logger
|
|
46
56
|
);
|
|
47
57
|
this.registerApi = new RegisterApiClient(
|
|
48
58
|
customAuthApiBaseUrl,
|
|
49
59
|
clientId,
|
|
50
60
|
httpClient,
|
|
51
|
-
customAuthApiQueryParams
|
|
61
|
+
customAuthApiQueryParams,
|
|
62
|
+
requestInterceptor,
|
|
63
|
+
logger
|
|
52
64
|
);
|
|
53
65
|
}
|
|
54
66
|
}
|
|
@@ -10,6 +10,7 @@ import {
|
|
|
10
10
|
import { CustomAuthApiError } from "../../error/CustomAuthApiError.js";
|
|
11
11
|
import { BaseApiClient } from "./BaseApiClient.js";
|
|
12
12
|
import { IHttpClient } from "../http_client/IHttpClient.js";
|
|
13
|
+
import { Logger } from "@azure/msal-common/browser";
|
|
13
14
|
import * as CustomAuthApiEndpoint from "./CustomAuthApiEndpoint.js";
|
|
14
15
|
import * as CustomAuthApiErrorCode from "./types/ApiErrorCodes.js";
|
|
15
16
|
import {
|
|
@@ -26,6 +27,7 @@ import {
|
|
|
26
27
|
ResetPasswordStartResponse,
|
|
27
28
|
ResetPasswordSubmitResponse,
|
|
28
29
|
} from "./types/ApiResponseTypes.js";
|
|
30
|
+
import { CustomAuthRequestInterceptor } from "../../../configuration/CustomAuthRequestInterceptor.js";
|
|
29
31
|
|
|
30
32
|
export class ResetPasswordApiClient extends BaseApiClient {
|
|
31
33
|
private readonly capabilities?: string;
|
|
@@ -35,13 +37,17 @@ export class ResetPasswordApiClient extends BaseApiClient {
|
|
|
35
37
|
clientId: string,
|
|
36
38
|
httpClient: IHttpClient,
|
|
37
39
|
capabilities?: string,
|
|
38
|
-
customAuthApiQueryParams?: Record<string, string
|
|
40
|
+
customAuthApiQueryParams?: Record<string, string>,
|
|
41
|
+
requestInterceptor?: CustomAuthRequestInterceptor,
|
|
42
|
+
logger?: Logger
|
|
39
43
|
) {
|
|
40
44
|
super(
|
|
41
45
|
customAuthApiBaseUrl,
|
|
42
46
|
clientId,
|
|
43
47
|
httpClient,
|
|
44
|
-
customAuthApiQueryParams
|
|
48
|
+
customAuthApiQueryParams,
|
|
49
|
+
requestInterceptor,
|
|
50
|
+
logger
|
|
45
51
|
);
|
|
46
52
|
this.capabilities = capabilities;
|
|
47
53
|
}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Licensed under the MIT License.
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
import { ServerTelemetryManager } from "@azure/msal-common/browser";
|
|
6
|
+
import { Logger, ServerTelemetryManager } from "@azure/msal-common/browser";
|
|
7
7
|
import { GrantType } from "../../../CustomAuthConstants.js";
|
|
8
8
|
import { CustomAuthApiError } from "../../error/CustomAuthApiError.js";
|
|
9
9
|
import { BaseApiClient } from "./BaseApiClient.js";
|
|
@@ -24,6 +24,7 @@ import {
|
|
|
24
24
|
SignInIntrospectResponse,
|
|
25
25
|
SignInTokenResponse,
|
|
26
26
|
} from "./types/ApiResponseTypes.js";
|
|
27
|
+
import { CustomAuthRequestInterceptor } from "../../../configuration/CustomAuthRequestInterceptor.js";
|
|
27
28
|
|
|
28
29
|
export class SignInApiClient extends BaseApiClient {
|
|
29
30
|
private readonly capabilities?: string;
|
|
@@ -33,13 +34,17 @@ export class SignInApiClient extends BaseApiClient {
|
|
|
33
34
|
clientId: string,
|
|
34
35
|
httpClient: IHttpClient,
|
|
35
36
|
capabilities?: string,
|
|
36
|
-
customAuthApiQueryParams?: Record<string, string
|
|
37
|
+
customAuthApiQueryParams?: Record<string, string>,
|
|
38
|
+
requestInterceptor?: CustomAuthRequestInterceptor,
|
|
39
|
+
logger?: Logger
|
|
37
40
|
) {
|
|
38
41
|
super(
|
|
39
42
|
customAuthApiBaseUrl,
|
|
40
43
|
clientId,
|
|
41
44
|
httpClient,
|
|
42
|
-
customAuthApiQueryParams
|
|
45
|
+
customAuthApiQueryParams,
|
|
46
|
+
requestInterceptor,
|
|
47
|
+
logger
|
|
43
48
|
);
|
|
44
49
|
this.capabilities = capabilities;
|
|
45
50
|
}
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
import { GrantType } from "../../../CustomAuthConstants.js";
|
|
7
7
|
import { BaseApiClient } from "./BaseApiClient.js";
|
|
8
8
|
import { IHttpClient } from "../http_client/IHttpClient.js";
|
|
9
|
+
import { Logger } from "@azure/msal-common/browser";
|
|
9
10
|
import * as CustomAuthApiEndpoint from "./CustomAuthApiEndpoint.js";
|
|
10
11
|
import {
|
|
11
12
|
SignUpChallengeRequest,
|
|
@@ -19,6 +20,7 @@ import {
|
|
|
19
20
|
SignUpContinueResponse,
|
|
20
21
|
SignUpStartResponse,
|
|
21
22
|
} from "./types/ApiResponseTypes.js";
|
|
23
|
+
import { CustomAuthRequestInterceptor } from "../../../configuration/CustomAuthRequestInterceptor.js";
|
|
22
24
|
|
|
23
25
|
export class SignupApiClient extends BaseApiClient {
|
|
24
26
|
private readonly capabilities?: string;
|
|
@@ -28,13 +30,17 @@ export class SignupApiClient extends BaseApiClient {
|
|
|
28
30
|
clientId: string,
|
|
29
31
|
httpClient: IHttpClient,
|
|
30
32
|
capabilities?: string,
|
|
31
|
-
customAuthApiQueryParams?: Record<string, string
|
|
33
|
+
customAuthApiQueryParams?: Record<string, string>,
|
|
34
|
+
requestInterceptor?: CustomAuthRequestInterceptor,
|
|
35
|
+
logger?: Logger
|
|
32
36
|
) {
|
|
33
37
|
super(
|
|
34
38
|
customAuthApiBaseUrl,
|
|
35
39
|
clientId,
|
|
36
40
|
httpClient,
|
|
37
|
-
customAuthApiQueryParams
|
|
41
|
+
customAuthApiQueryParams,
|
|
42
|
+
requestInterceptor,
|
|
43
|
+
logger
|
|
38
44
|
);
|
|
39
45
|
this.capabilities = capabilities;
|
|
40
46
|
}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
import { Logger } from "@azure/msal-common/browser";
|
|
7
|
+
import { CustomHeaderConstants } from "../../CustomAuthConstants.js";
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Filters the headers returned by a {@link CustomAuthRequestInterceptor},
|
|
11
|
+
* keeping only those that conform to the custom-auth header naming rules.
|
|
12
|
+
*
|
|
13
|
+
* Rules (mirrors the iOS / Android native auth implementations):
|
|
14
|
+
* - Header names must start with `x-` (case-insensitive); others are dropped.
|
|
15
|
+
* - Header names that start with any reserved prefix (`x-client-`, `x-ms-`,
|
|
16
|
+
* `x-broker-`, `x-app-`) are dropped.
|
|
17
|
+
* - Headers with empty/whitespace-only names or null/undefined values are dropped.
|
|
18
|
+
*
|
|
19
|
+
* Dropped headers are logged as warnings (PII-safe) when a logger is provided.
|
|
20
|
+
*
|
|
21
|
+
* @param headers - Raw headers returned by the interceptor.
|
|
22
|
+
* @param logger - Optional logger used to emit warnings for dropped headers.
|
|
23
|
+
* @param correlationId - Optional correlation id forwarded to the logger.
|
|
24
|
+
* @returns A new record containing only the headers that pass the filter,
|
|
25
|
+
* preserving the original casing of header names.
|
|
26
|
+
*/
|
|
27
|
+
export function filterCustomHeaders(
|
|
28
|
+
headers: Record<string, string> | null | undefined,
|
|
29
|
+
logger?: Logger,
|
|
30
|
+
correlationId?: string
|
|
31
|
+
): Record<string, string> {
|
|
32
|
+
const filtered: Record<string, string> = {};
|
|
33
|
+
|
|
34
|
+
if (!headers) {
|
|
35
|
+
return filtered;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
for (const [name, value] of Object.entries(headers)) {
|
|
39
|
+
if (!name || value === undefined || value === null) {
|
|
40
|
+
continue;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
const trimmedName = name.trim();
|
|
44
|
+
|
|
45
|
+
if (!trimmedName) {
|
|
46
|
+
continue;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
const lowerName = trimmedName.toLowerCase();
|
|
50
|
+
|
|
51
|
+
if (!lowerName.startsWith(CustomHeaderConstants.REQUIRED_PREFIX)) {
|
|
52
|
+
logger?.warningPii(
|
|
53
|
+
`Additional header field "${trimmedName}" must start with the "${CustomHeaderConstants.REQUIRED_PREFIX}" prefix. Ignoring.`,
|
|
54
|
+
correlationId ?? ""
|
|
55
|
+
);
|
|
56
|
+
continue;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
const reservedPrefix = CustomHeaderConstants.RESERVED_PREFIXES.find(
|
|
60
|
+
(prefix) => lowerName.startsWith(prefix)
|
|
61
|
+
);
|
|
62
|
+
|
|
63
|
+
if (reservedPrefix) {
|
|
64
|
+
logger?.warningPii(
|
|
65
|
+
`Additional header field "${trimmedName}" uses reserved prefix "${reservedPrefix}". Ignoring.`,
|
|
66
|
+
correlationId ?? ""
|
|
67
|
+
);
|
|
68
|
+
continue;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
filtered[trimmedName] = value;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
return filtered;
|
|
75
|
+
}
|
package/src/custom_auth/index.ts
CHANGED
|
@@ -19,6 +19,10 @@ export { ICustomAuthPublicClientApplication } from "./ICustomAuthPublicClientApp
|
|
|
19
19
|
|
|
20
20
|
// Configuration
|
|
21
21
|
export { CustomAuthConfiguration } from "./configuration/CustomAuthConfiguration.js";
|
|
22
|
+
export {
|
|
23
|
+
CustomAuthRequestInterceptor,
|
|
24
|
+
CustomAuthAdditionalHeaderFieldsResult,
|
|
25
|
+
} from "./configuration/CustomAuthRequestInterceptor.js";
|
|
22
26
|
|
|
23
27
|
// Models
|
|
24
28
|
export { CustomAuthAccountData } from "./get_account/auth_flow/CustomAuthAccountData.js";
|
|
@@ -73,15 +73,17 @@ export abstract class StandardInteractionClient extends BaseInteractionClient {
|
|
|
73
73
|
* and logoutHint attribute wasn't manually set in logout request
|
|
74
74
|
*/
|
|
75
75
|
if (logoutRequest) {
|
|
76
|
-
// If logoutHint isn't set and an account was passed in, try to extract logoutHint from ID Token Claims
|
|
76
|
+
// If logoutHint isn't set and an account was passed in, try to extract logoutHint from account loginHint or ID Token Claims
|
|
77
77
|
if (!logoutRequest.logoutHint) {
|
|
78
78
|
if (logoutRequest.account) {
|
|
79
|
-
const logoutHint =
|
|
80
|
-
logoutRequest.account
|
|
81
|
-
|
|
79
|
+
const logoutHint =
|
|
80
|
+
logoutRequest.account.loginHint ||
|
|
81
|
+
this.getLogoutHintFromIdTokenClaims(
|
|
82
|
+
logoutRequest.account
|
|
83
|
+
);
|
|
82
84
|
if (logoutHint) {
|
|
83
85
|
this.logger.verbose(
|
|
84
|
-
"Setting logoutHint to
|
|
86
|
+
"Setting logoutHint value to loginHint of the account provided",
|
|
85
87
|
this.correlationId
|
|
86
88
|
);
|
|
87
89
|
validLogoutRequest.logoutHint = logoutHint;
|
|
@@ -167,6 +169,10 @@ export abstract class StandardInteractionClient extends BaseInteractionClient {
|
|
|
167
169
|
const idTokenClaims: IdTokenClaims | undefined = account.idTokenClaims;
|
|
168
170
|
if (idTokenClaims) {
|
|
169
171
|
if (idTokenClaims.login_hint) {
|
|
172
|
+
this.logger.verbose(
|
|
173
|
+
"Extracted login_hint claim from account ID Token Claims to be used as logoutHint",
|
|
174
|
+
this.correlationId
|
|
175
|
+
);
|
|
170
176
|
return idTokenClaims.login_hint;
|
|
171
177
|
} else {
|
|
172
178
|
this.logger.verbose(
|
package/src/packageMetadata.ts
CHANGED
|
@@ -3,19 +3,14 @@ import { BrowserConfiguration } from "../../config/Configuration.js";
|
|
|
3
3
|
import { IPlatformAuthHandler } from "./IPlatformAuthHandler.js";
|
|
4
4
|
/**
|
|
5
5
|
* Checks if the platform broker is available in the current environment.
|
|
6
|
-
* @param
|
|
7
|
-
* @param
|
|
8
|
-
* @param
|
|
9
|
-
* @
|
|
10
|
-
|
|
11
|
-
export declare function isPlatformBrokerAvailable(loggerOptions?: LoggerOptions, perfClient?: IPerformanceClient, correlationId?: string): Promise<boolean>;
|
|
12
|
-
export declare function getPlatformAuthProvider(logger: Logger, performanceClient: IPerformanceClient, correlationId: string, nativeBrokerHandshakeTimeout?: number): Promise<IPlatformAuthHandler | undefined>;
|
|
13
|
-
/**
|
|
14
|
-
* Returns true if the DOM API support for platform auth is enabled in session storage
|
|
15
|
-
* @returns boolean
|
|
16
|
-
* @deprecated
|
|
6
|
+
* @param domConfig - Whether to enable platform broker DOM API support (required)
|
|
7
|
+
* @param loggerOptions - Optional logger options
|
|
8
|
+
* @param perfClient - Optional performance client
|
|
9
|
+
* @param correlationId - Optional correlation ID
|
|
10
|
+
* @returns Promise<boolean> indicating if platform broker is available
|
|
17
11
|
*/
|
|
18
|
-
export declare function
|
|
12
|
+
export declare function isPlatformBrokerAvailable(domConfig: boolean, loggerOptions?: LoggerOptions, perfClient?: IPerformanceClient, correlationId?: string): Promise<boolean>;
|
|
13
|
+
export declare function getPlatformAuthProvider(logger: Logger, performanceClient: IPerformanceClient, correlationId: string, nativeBrokerHandshakeTimeout?: number, enablePlatformBrokerDOMSupport?: boolean): Promise<IPlatformAuthHandler | undefined>;
|
|
19
14
|
/**
|
|
20
15
|
* Returns boolean indicating whether or not the request should attempt to use platform broker
|
|
21
16
|
* @param logger
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PlatformAuthProvider.d.ts","sourceRoot":"","sources":["../../../src/broker/nativeBroker/PlatformAuthProvider.ts"],"names":[],"mappings":"AAKA,OAAO,EACH,aAAa,EACb,kBAAkB,EAClB,MAAM,EACN,SAAS,
|
|
1
|
+
{"version":3,"file":"PlatformAuthProvider.d.ts","sourceRoot":"","sources":["../../../src/broker/nativeBroker/PlatformAuthProvider.ts"],"names":[],"mappings":"AAKA,OAAO,EACH,aAAa,EACb,kBAAkB,EAClB,MAAM,EACN,SAAS,EAIZ,MAAM,4BAA4B,CAAC;AAEpC,OAAO,EACH,oBAAoB,EAEvB,MAAM,+BAA+B,CAAC;AAEvC,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AAIjE;;;;;;;GAOG;AACH,wBAAsB,yBAAyB,CAC3C,SAAS,EAAE,OAAO,EAClB,aAAa,CAAC,EAAE,aAAa,EAC7B,UAAU,CAAC,EAAE,kBAAkB,EAC/B,aAAa,CAAC,EAAE,MAAM,GACvB,OAAO,CAAC,OAAO,CAAC,CAoBlB;AAED,wBAAsB,uBAAuB,CACzC,MAAM,EAAE,MAAM,EACd,iBAAiB,EAAE,kBAAkB,EACrC,aAAa,EAAE,MAAM,EACrB,4BAA4B,CAAC,EAAE,MAAM,EACrC,8BAA8B,CAAC,EAAE,OAAO,GACzC,OAAO,CAAC,oBAAoB,GAAG,SAAS,CAAC,CAwC3C;AAED;;;;;;;GAOG;AACH,wBAAgB,qBAAqB,CACjC,MAAM,EAAE,oBAAoB,EAC5B,MAAM,EAAE,MAAM,EACd,aAAa,EAAE,MAAM,EACrB,oBAAoB,CAAC,EAAE,oBAAoB,EAC3C,oBAAoB,CAAC,EAAE,SAAS,CAAC,oBAAoB,GACtD,OAAO,CAiDT"}
|
|
@@ -139,6 +139,10 @@ export type BrowserExperimentalOptions = {
|
|
|
139
139
|
* Enables iframe timeout telemetry experiment for silent iframe bridge monitoring.
|
|
140
140
|
*/
|
|
141
141
|
iframeTimeoutTelemetry?: boolean;
|
|
142
|
+
/**
|
|
143
|
+
* Flag to enable native broker support through DOM APIs in Edge
|
|
144
|
+
*/
|
|
145
|
+
allowPlatformBrokerWithDOM?: boolean;
|
|
142
146
|
};
|
|
143
147
|
/**
|
|
144
148
|
* Telemetry Options
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Configuration.d.ts","sourceRoot":"","sources":["../../src/config/Configuration.ts"],"names":[],"mappings":"AAKA,OAAO,EACH,aAAa,EACb,aAAa,EACb,cAAc,EAEd,YAAY,EACZ,WAAW,EAIX,iBAAiB,EACjB,oBAAoB,EAGpB,kBAAkB,EAIrB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,oBAAo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AAM,MAAM,aAAa,GAAG;IACxB;;OAEG;IACH,IAAI,EAAE,kBAAkB,CAAC;IACzB;;OAEG;IACH,KAAK,CAAC,EAAE,YAAY,CAAC;IACrB;;OAEG;IACH,MAAM,CAAC,EAAE,oBAAoB,CAAC;IAC9B;;OAEG;IACH,YAAY,CAAC,EAAE,0BAA0B,CAAC;IAC1C;;OAEG;IACH,SAAS,CAAC,EAAE,uBAAuB,CAAC;CACvC,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,oBAAoB,GAAG;IAC/B,IAAI,EAAE,mBAAmB,CAAC;IAC1B,KAAK,EAAE,QAAQ,CAAC,YAAY,CAAC,CAAC;IAC9B,MAAM,EAAE,QAAQ,CAAC,oBAAoB,CAAC,CAAC;IACvC,YAAY,EAAE,QAAQ,CAAC,0BAA0B,CAAC,CAAC;IACnD,SAAS,EAAE,QAAQ,CAAC,uBAAuB,CAAC,CAAC;CAChD,CAAC;AAEF;;;;;;;;GAQG;AACH,wBAAgB,kBAAkB,CAC9B,EACI,IAAI,EAAE,aAAa,EACnB,KAAK,EAAE,cAAc,EACrB,MAAM,EAAE,eAAe,EACvB,YAAY,EAAE,qBAAqB,EACnC,SAAS,EAAE,kBAAkB,GAChC,EAAE,aAAa,EAChB,oBAAoB,EAAE,OAAO,GAC9B,oBAAoB,CAsItB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StandardController.d.ts","sourceRoot":"","sources":["../../src/controllers/StandardController.ts"],"names":[],"mappings":"AAMA,OAAO,EAEH,WAAW,EACX,cAAc,EACd,MAAM,EACN,uBAAuB,EACvB,OAAO,EAGP,2BAA2B,EAC3B,kBAAkB,EAClB,eAAe,EAMf,aAAa,EAUhB,MAAM,4BAA4B,CAAC;AAGpC,OAAO,EACH,mBAAmB,EAEtB,MAAM,iCAAiC,CAAC;AAGzC,OAAO,EAAE,oBAAoB,EAAgB,MAAM,4BAA4B,CAAC;AAChF,OAAO,EAEH,KAAK,EAEL,UAAU,EAC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,OAAO,CAAC,oBAAoB;CA8B/B"}
|
|
@@ -17,9 +17,13 @@ export declare const HttpHeaderKeys: {
|
|
|
17
17
|
readonly CONTENT_TYPE: "Content-Type";
|
|
18
18
|
readonly X_MS_REQUEST_ID: "x-ms-request-id";
|
|
19
19
|
};
|
|
20
|
+
export declare const CustomHeaderConstants: {
|
|
21
|
+
readonly REQUIRED_PREFIX: "x-";
|
|
22
|
+
readonly RESERVED_PREFIXES: readonly string[];
|
|
23
|
+
};
|
|
20
24
|
export declare const DefaultPackageInfo: {
|
|
21
25
|
readonly SKU: "msal.browser";
|
|
22
|
-
readonly VERSION: "5.
|
|
26
|
+
readonly VERSION: "5.11.0";
|
|
23
27
|
readonly OS: "";
|
|
24
28
|
readonly CPU: "";
|
|
25
29
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CustomAuthConstants.d.ts","sourceRoot":"","sources":["../../src/custom_auth/CustomAuthConstants.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,SAAS;;;;;;;CAOZ,CAAC;AAEX,eAAO,MAAM,aAAa;;;;;CAKhB,CAAC;AAEX,eAAO,MAAM,aAAa,kDAIhB,CAAC;AAEX,eAAO,MAAM,cAAc;;;CAGjB,CAAC;AAEX,eAAO,MAAM,kBAAkB;;;;;CAKrB,CAAC;AAEX,eAAO,MAAM,uBAAuB;;;;;CAK1B,CAAC;AAEX,eAAO,MAAM,8BAA8B,KAAK,CAAC;AACjD,eAAO,MAAM,2CAA2C,MAAM,CAAC;AAC/D,eAAO,MAAM,+BAA+B,SAAS,CAAC"}
|
|
1
|
+
{"version":3,"file":"CustomAuthConstants.d.ts","sourceRoot":"","sources":["../../src/custom_auth/CustomAuthConstants.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,SAAS;;;;;;;CAOZ,CAAC;AAEX,eAAO,MAAM,aAAa;;;;;CAKhB,CAAC;AAEX,eAAO,MAAM,aAAa,kDAIhB,CAAC;AAEX,eAAO,MAAM,cAAc;;;CAGjB,CAAC;AAEX,eAAO,MAAM,qBAAqB;;;CAQxB,CAAC;AAEX,eAAO,MAAM,kBAAkB;;;;;CAKrB,CAAC;AAEX,eAAO,MAAM,uBAAuB;;;;;CAK1B,CAAC;AAEX,eAAO,MAAM,8BAA8B,KAAK,CAAC;AACjD,eAAO,MAAM,2CAA2C,MAAM,CAAC;AAC/D,eAAO,MAAM,+BAA+B,SAAS,CAAC"}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { BrowserConfiguration, Configuration } from "../../config/Configuration.js";
|
|
2
|
+
import { CustomAuthRequestInterceptor } from "./CustomAuthRequestInterceptor.js";
|
|
2
3
|
export type CustomAuthOptions = {
|
|
3
4
|
challengeTypes?: Array<string>;
|
|
4
5
|
authApiProxyUrl: string;
|
|
5
6
|
customAuthApiQueryParams?: Record<string, string>;
|
|
6
7
|
capabilities?: Array<string>;
|
|
8
|
+
requestInterceptor?: CustomAuthRequestInterceptor;
|
|
7
9
|
};
|
|
8
10
|
export type CustomAuthConfiguration = Configuration & {
|
|
9
11
|
customAuth: CustomAuthOptions;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CustomAuthConfiguration.d.ts","sourceRoot":"","sources":["../../../src/custom_auth/configuration/CustomAuthConfiguration.ts"],"names":[],"mappings":"AAKA,OAAO,EACH,oBAAoB,EACpB,aAAa,EAChB,MAAM,+BAA+B,CAAC;
|
|
1
|
+
{"version":3,"file":"CustomAuthConfiguration.d.ts","sourceRoot":"","sources":["../../../src/custom_auth/configuration/CustomAuthConfiguration.ts"],"names":[],"mappings":"AAKA,OAAO,EACH,oBAAoB,EACpB,aAAa,EAChB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,4BAA4B,EAAE,MAAM,mCAAmC,CAAC;AAEjF,MAAM,MAAM,iBAAiB,GAAG;IAC5B,cAAc,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAC/B,eAAe,EAAE,MAAM,CAAC;IACxB,wBAAwB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAClD,YAAY,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAC7B,kBAAkB,CAAC,EAAE,4BAA4B,CAAC;CACrD,CAAC;AAEF,MAAM,MAAM,uBAAuB,GAAG,aAAa,GAAG;IAClD,UAAU,EAAE,iBAAiB,CAAC;CACjC,CAAC;AAEF,MAAM,MAAM,8BAA8B,GAAG,oBAAoB,GAAG;IAChE,UAAU,EAAE,iBAAiB,CAAC;CACjC,CAAC"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Result type returned by {@link CustomAuthRequestInterceptor.addAdditionalHeaderFields}.
|
|
3
|
+
*
|
|
4
|
+
* Implementations may return either a synchronous value or a `Promise` resolving to one of
|
|
5
|
+
* the following:
|
|
6
|
+
* - A `Record<string, string>` of additional headers to add to the outgoing request.
|
|
7
|
+
* - `null` (or `undefined`) when no additional headers should be added for the request.
|
|
8
|
+
*/
|
|
9
|
+
export type CustomAuthAdditionalHeaderFieldsResult = Record<string, string> | null | undefined;
|
|
10
|
+
/**
|
|
11
|
+
* Interface for intercepting custom auth network requests in order to attach additional
|
|
12
|
+
* headers to outgoing requests.
|
|
13
|
+
*
|
|
14
|
+
* Implementations are invoked by MSAL before each backend request used by custom auth
|
|
15
|
+
* (sign-in, sign-up, reset-password, and register endpoints). Use this hook to integrate
|
|
16
|
+
* with third-party fraud and bot-detection SDKs that require custom `x-*` headers.
|
|
17
|
+
*
|
|
18
|
+
* MSAL applies the following rules when evaluating the headers you provide:
|
|
19
|
+
* - Headers must start with `x-` (case-insensitive). Headers that don't start with `x-`
|
|
20
|
+
* are ignored.
|
|
21
|
+
* - Headers that start with any of the following reserved prefixes are ignored:
|
|
22
|
+
* `x-client-`, `x-ms-`, `x-broker-`, `x-app-`.
|
|
23
|
+
* - Headers that pass both rules are added to the network request. If a header you
|
|
24
|
+
* provide has the same name as one of MSAL's own internal headers, your value takes
|
|
25
|
+
* precedence.
|
|
26
|
+
*/
|
|
27
|
+
export interface CustomAuthRequestInterceptor {
|
|
28
|
+
/**
|
|
29
|
+
* Returns additional headers to add to a custom-auth network request.
|
|
30
|
+
*
|
|
31
|
+
* Scope your headers to specific endpoints by inspecting `requestUrl`. Sending
|
|
32
|
+
* headers to unrelated endpoints can degrade signal quality and increase false
|
|
33
|
+
* positives for fraud/bot-detection vendors.
|
|
34
|
+
*
|
|
35
|
+
* @param requestUrl - The full URL of the outgoing custom-auth request.
|
|
36
|
+
* @returns A record of headers to add (or `null`/`undefined` if no extra headers
|
|
37
|
+
* are needed for the request). May be returned synchronously or as a
|
|
38
|
+
* `Promise`.
|
|
39
|
+
*/
|
|
40
|
+
addAdditionalHeaderFields(requestUrl: URL): CustomAuthAdditionalHeaderFieldsResult | Promise<CustomAuthAdditionalHeaderFieldsResult>;
|
|
41
|
+
}
|
|
42
|
+
//# sourceMappingURL=CustomAuthRequestInterceptor.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CustomAuthRequestInterceptor.d.ts","sourceRoot":"","sources":["../../../src/custom_auth/configuration/CustomAuthRequestInterceptor.ts"],"names":[],"mappings":"AAKA;;;;;;;GAOG;AACH,MAAM,MAAM,sCAAsC,GAC5C,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GACtB,IAAI,GACJ,SAAS,CAAC;AAEhB;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,WAAW,4BAA4B;IACzC;;;;;;;;;;;OAWG;IACH,yBAAyB,CACrB,UAAU,EAAE,GAAG,GAEb,sCAAsC,GACtC,OAAO,CAAC,sCAAsC,CAAC,CAAC;CACzD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CustomAuthStandardController.d.ts","sourceRoot":"","sources":["../../../src/custom_auth/controller/CustomAuthStandardController.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,gBAAgB,EAAE,MAAM,qDAAqD,CAAC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
|
2
|
-
import { ServerTelemetryManager } from "@azure/msal-common/browser";
|
|
2
|
+
import { Logger, ServerTelemetryManager } from "@azure/msal-common/browser";
|
|
3
|
+
import { CustomAuthRequestInterceptor } from "../../../configuration/CustomAuthRequestInterceptor.js";
|
|
3
4
|
export declare abstract class BaseApiClient {
|
|
4
5
|
private readonly clientId;
|
|
5
6
|
private httpClient;
|
|
6
7
|
private customAuthApiQueryParams?;
|
|
8
|
+
private requestInterceptor?;
|
|
9
|
+
private logger?;
|
|
7
10
|
private readonly baseRequestUrl;
|
|
8
|
-
constructor(baseUrl: string, clientId: string, httpClient: IHttpClient, customAuthApiQueryParams?: Record<string, string> | undefined);
|
|
11
|
+
constructor(baseUrl: string, clientId: string, httpClient: IHttpClient, customAuthApiQueryParams?: Record<string, string> | undefined, requestInterceptor?: CustomAuthRequestInterceptor | undefined, logger?: Logger | undefined);
|
|
9
12
|
protected request<T>(endpoint: string, data: Record<string, string | boolean>, telemetryManager: ServerTelemetryManager, correlationId: string): Promise<T>;
|
|
10
13
|
protected ensureContinuationTokenIsValid(continuationToken: string | undefined, correlationId: string): void;
|
|
11
14
|
private readResponseCorrelationId;
|
|
12
15
|
private getCommonHeaders;
|
|
13
16
|
private handleApiResponse;
|
|
17
|
+
private getAdditionalHeaders;
|
|
14
18
|
}
|
|
15
19
|
//# sourceMappingURL=BaseApiClient.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BaseApiClient.d.ts","sourceRoot":"","sources":["../../../../../src/custom_auth/core/network_client/custom_auth_api/BaseApiClient.ts"],"names":[],"mappings":"AAUA,OAAO,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC;AAO5D,OAAO,EAEH,sBAAsB,EACzB,MAAM,4BAA4B,CAAC;
|
|
1
|
+
{"version":3,"file":"BaseApiClient.d.ts","sourceRoot":"","sources":["../../../../../src/custom_auth/core/network_client/custom_auth_api/BaseApiClient.ts"],"names":[],"mappings":"AAUA,OAAO,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC;AAO5D,OAAO,EAEH,MAAM,EACN,sBAAsB,EACzB,MAAM,4BAA4B,CAAC;AAEpC,OAAO,EAAE,4BAA4B,EAAE,MAAM,wDAAwD,CAAC;AAGtG,8BAAsB,aAAa;IAK3B,OAAO,CAAC,QAAQ,CAAC,QAAQ;IACzB,OAAO,CAAC,UAAU;IAClB,OAAO,CAAC,wBAAwB,CAAC;IACjC,OAAO,CAAC,kBAAkB,CAAC;IAC3B,OAAO,CAAC,MAAM,CAAC;IARnB,OAAO,CAAC,QAAQ,CAAC,cAAc,CAAM;gBAGjC,OAAO,EAAE,MAAM,EACE,QAAQ,EAAE,MAAM,EACzB,UAAU,EAAE,WAAW,EACvB,wBAAwB,CAAC,oCAAwB,EACjD,kBAAkB,CAAC,0CAA8B,EACjD,MAAM,CAAC,oBAAQ;cAOX,OAAO,CAAC,CAAC,EACrB,QAAQ,EAAE,MAAM,EAChB,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,EACtC,gBAAgB,EAAE,sBAAsB,EACxC,aAAa,EAAE,MAAM,GACtB,OAAO,CAAC,CAAC,CAAC;IAqCb,SAAS,CAAC,8BAA8B,CACpC,iBAAiB,EAAE,MAAM,GAAG,SAAS,EACrC,aAAa,EAAE,MAAM,GACtB,IAAI;IAUP,OAAO,CAAC,yBAAyB;IAUjC,OAAO,CAAC,gBAAgB;YAkBV,iBAAiB;YAkEjB,oBAAoB;CAuBrC"}
|
|
@@ -4,11 +4,13 @@ import { SignInApiClient } from "./SignInApiClient.js";
|
|
|
4
4
|
import { RegisterApiClient } from "./RegisterApiClient.js";
|
|
5
5
|
import { ICustomAuthApiClient } from "./ICustomAuthApiClient.js";
|
|
6
6
|
import { IHttpClient } from "../http_client/IHttpClient.js";
|
|
7
|
+
import { Logger } from "@azure/msal-common/browser";
|
|
8
|
+
import { CustomAuthRequestInterceptor } from "../../../configuration/CustomAuthRequestInterceptor.js";
|
|
7
9
|
export declare class CustomAuthApiClient implements ICustomAuthApiClient {
|
|
8
10
|
signInApi: SignInApiClient;
|
|
9
11
|
signUpApi: SignupApiClient;
|
|
10
12
|
resetPasswordApi: ResetPasswordApiClient;
|
|
11
13
|
registerApi: RegisterApiClient;
|
|
12
|
-
constructor(customAuthApiBaseUrl: string, clientId: string, httpClient: IHttpClient, capabilities?: string, customAuthApiQueryParams?: Record<string, string
|
|
14
|
+
constructor(customAuthApiBaseUrl: string, clientId: string, httpClient: IHttpClient, capabilities?: string, customAuthApiQueryParams?: Record<string, string>, requestInterceptor?: CustomAuthRequestInterceptor, logger?: Logger);
|
|
13
15
|
}
|
|
14
16
|
//# sourceMappingURL=CustomAuthApiClient.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CustomAuthApiClient.d.ts","sourceRoot":"","sources":["../../../../../src/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AACrE,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAC3D,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC;
|
|
1
|
+
{"version":3,"file":"CustomAuthApiClient.d.ts","sourceRoot":"","sources":["../../../../../src/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AACrE,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAC3D,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;AACpD,OAAO,EAAE,4BAA4B,EAAE,MAAM,wDAAwD,CAAC;AAEtG,qBAAa,mBAAoB,YAAW,oBAAoB;IAC5D,SAAS,EAAE,eAAe,CAAC;IAC3B,SAAS,EAAE,eAAe,CAAC;IAC3B,gBAAgB,EAAE,sBAAsB,CAAC;IACzC,WAAW,EAAE,iBAAiB,CAAC;gBAG3B,oBAAoB,EAAE,MAAM,EAC5B,QAAQ,EAAE,MAAM,EAChB,UAAU,EAAE,WAAW,EACvB,YAAY,CAAC,EAAE,MAAM,EACrB,wBAAwB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,EACjD,kBAAkB,CAAC,EAAE,4BAA4B,EACjD,MAAM,CAAC,EAAE,MAAM;CAsCtB"}
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { BaseApiClient } from "./BaseApiClient.js";
|
|
2
2
|
import { IHttpClient } from "../http_client/IHttpClient.js";
|
|
3
|
+
import { Logger } from "@azure/msal-common/browser";
|
|
3
4
|
import { ResetPasswordChallengeRequest, ResetPasswordContinueRequest, ResetPasswordPollCompletionRequest, ResetPasswordStartRequest, ResetPasswordSubmitRequest } from "./types/ApiRequestTypes.js";
|
|
4
5
|
import { ResetPasswordChallengeResponse, ResetPasswordContinueResponse, ResetPasswordPollCompletionResponse, ResetPasswordStartResponse, ResetPasswordSubmitResponse } from "./types/ApiResponseTypes.js";
|
|
6
|
+
import { CustomAuthRequestInterceptor } from "../../../configuration/CustomAuthRequestInterceptor.js";
|
|
5
7
|
export declare class ResetPasswordApiClient extends BaseApiClient {
|
|
6
8
|
private readonly capabilities?;
|
|
7
|
-
constructor(customAuthApiBaseUrl: string, clientId: string, httpClient: IHttpClient, capabilities?: string, customAuthApiQueryParams?: Record<string, string
|
|
9
|
+
constructor(customAuthApiBaseUrl: string, clientId: string, httpClient: IHttpClient, capabilities?: string, customAuthApiQueryParams?: Record<string, string>, requestInterceptor?: CustomAuthRequestInterceptor, logger?: Logger);
|
|
8
10
|
/**
|
|
9
11
|
* Start the password reset flow
|
|
10
12
|
*/
|
package/types/custom_auth/core/network_client/custom_auth_api/ResetPasswordApiClient.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ResetPasswordApiClient.d.ts","sourceRoot":"","sources":["../../../../../src/custom_auth/core/network_client/custom_auth_api/ResetPasswordApiClient.ts"],"names":[],"mappings":"AAUA,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACnD,OAAO,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC;
|
|
1
|
+
{"version":3,"file":"ResetPasswordApiClient.d.ts","sourceRoot":"","sources":["../../../../../src/custom_auth/core/network_client/custom_auth_api/ResetPasswordApiClient.ts"],"names":[],"mappings":"AAUA,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACnD,OAAO,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;AAGpD,OAAO,EACH,6BAA6B,EAC7B,4BAA4B,EAC5B,kCAAkC,EAClC,yBAAyB,EACzB,0BAA0B,EAC7B,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACH,8BAA8B,EAC9B,6BAA6B,EAC7B,mCAAmC,EACnC,0BAA0B,EAC1B,2BAA2B,EAC9B,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,4BAA4B,EAAE,MAAM,wDAAwD,CAAC;AAEtG,qBAAa,sBAAuB,SAAQ,aAAa;IACrD,OAAO,CAAC,QAAQ,CAAC,YAAY,CAAC,CAAS;gBAGnC,oBAAoB,EAAE,MAAM,EAC5B,QAAQ,EAAE,MAAM,EAChB,UAAU,EAAE,WAAW,EACvB,YAAY,CAAC,EAAE,MAAM,EACrB,wBAAwB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,EACjD,kBAAkB,CAAC,EAAE,4BAA4B,EACjD,MAAM,CAAC,EAAE,MAAM;IAanB;;OAEG;IACG,KAAK,CACP,MAAM,EAAE,yBAAyB,GAClC,OAAO,CAAC,0BAA0B,CAAC;IAsBtC;;;OAGG;IACG,gBAAgB,CAClB,MAAM,EAAE,6BAA6B,GACtC,OAAO,CAAC,8BAA8B,CAAC;IAmB1C;;;OAGG;IACG,gBAAgB,CAClB,MAAM,EAAE,4BAA4B,GACrC,OAAO,CAAC,6BAA6B,CAAC;IAoBzC;;;OAGG;IACG,iBAAiB,CACnB,MAAM,EAAE,0BAA0B,GACnC,OAAO,CAAC,2BAA2B,CAAC;IAuBvC;;;OAGG;IACG,cAAc,CAChB,MAAM,EAAE,kCAAkC,GAC3C,OAAO,CAAC,mCAAmC,CAAC;IAe/C,SAAS,CAAC,uBAAuB,CAC7B,MAAM,EAAE,MAAM,EACd,aAAa,EAAE,MAAM,GACtB,IAAI;CAcV"}
|
|
@@ -1,10 +1,12 @@
|
|
|
1
|
+
import { Logger } from "@azure/msal-common/browser";
|
|
1
2
|
import { BaseApiClient } from "./BaseApiClient.js";
|
|
2
3
|
import { IHttpClient } from "../http_client/IHttpClient.js";
|
|
3
4
|
import { SignInChallengeRequest, SignInContinuationTokenRequest, SignInInitiateRequest, SignInIntrospectRequest, SignInOobTokenRequest, SignInPasswordTokenRequest } from "./types/ApiRequestTypes.js";
|
|
4
5
|
import { SignInChallengeResponse, SignInInitiateResponse, SignInIntrospectResponse, SignInTokenResponse } from "./types/ApiResponseTypes.js";
|
|
6
|
+
import { CustomAuthRequestInterceptor } from "../../../configuration/CustomAuthRequestInterceptor.js";
|
|
5
7
|
export declare class SignInApiClient extends BaseApiClient {
|
|
6
8
|
private readonly capabilities?;
|
|
7
|
-
constructor(customAuthApiBaseUrl: string, clientId: string, httpClient: IHttpClient, capabilities?: string, customAuthApiQueryParams?: Record<string, string
|
|
9
|
+
constructor(customAuthApiBaseUrl: string, clientId: string, httpClient: IHttpClient, capabilities?: string, customAuthApiQueryParams?: Record<string, string>, requestInterceptor?: CustomAuthRequestInterceptor, logger?: Logger);
|
|
8
10
|
/**
|
|
9
11
|
* Initiates the sign-in flow
|
|
10
12
|
* @param username User's email
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SignInApiClient.d.ts","sourceRoot":"","sources":["../../../../../src/custom_auth/core/network_client/custom_auth_api/SignInApiClient.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SignInApiClient.d.ts","sourceRoot":"","sources":["../../../../../src/custom_auth/core/network_client/custom_auth_api/SignInApiClient.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,MAAM,EAA0B,MAAM,4BAA4B,CAAC;AAG5E,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACnD,OAAO,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC;AAG5D,OAAO,EACH,sBAAsB,EACtB,8BAA8B,EAC9B,qBAAqB,EACrB,uBAAuB,EACvB,qBAAqB,EACrB,0BAA0B,EAC7B,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACH,uBAAuB,EACvB,sBAAsB,EACtB,wBAAwB,EACxB,mBAAmB,EACtB,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,4BAA4B,EAAE,MAAM,wDAAwD,CAAC;AAEtG,qBAAa,eAAgB,SAAQ,aAAa;IAC9C,OAAO,CAAC,QAAQ,CAAC,YAAY,CAAC,CAAS;gBAGnC,oBAAoB,EAAE,MAAM,EAC5B,QAAQ,EAAE,MAAM,EAChB,UAAU,EAAE,WAAW,EACvB,YAAY,CAAC,EAAE,MAAM,EACrB,wBAAwB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,EACjD,kBAAkB,CAAC,EAAE,4BAA4B,EACjD,MAAM,CAAC,EAAE,MAAM;IAanB;;;;OAIG;IACG,QAAQ,CACV,MAAM,EAAE,qBAAqB,GAC9B,OAAO,CAAC,sBAAsB,CAAC;IAsBlC;;;;OAIG;IACG,gBAAgB,CAClB,MAAM,EAAE,sBAAsB,GAC/B,OAAO,CAAC,uBAAuB,CAAC;IAoBnC;;;;;OAKG;IACG,yBAAyB,CAC3B,MAAM,EAAE,0BAA0B,GACnC,OAAO,CAAC,mBAAmB,CAAC;IAczB,oBAAoB,CACtB,MAAM,EAAE,qBAAqB,GAC9B,OAAO,CAAC,mBAAmB,CAAC;IAczB,iCAAiC,CACnC,MAAM,EAAE,8BAA8B,GACvC,OAAO,CAAC,mBAAmB,CAAC;IAc/B;;;OAGG;IACG,kBAAkB,CACpB,MAAM,EAAE,uBAAuB,GAChC,OAAO,CAAC,wBAAwB,CAAC;YAkBtB,aAAa;IAoB3B,OAAO,CAAC,MAAM,CAAC,0BAA0B;CAoC5C"}
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { BaseApiClient } from "./BaseApiClient.js";
|
|
2
2
|
import { IHttpClient } from "../http_client/IHttpClient.js";
|
|
3
|
+
import { Logger } from "@azure/msal-common/browser";
|
|
3
4
|
import { SignUpChallengeRequest, SignUpContinueWithAttributesRequest, SignUpContinueWithOobRequest, SignUpContinueWithPasswordRequest, SignUpStartRequest } from "./types/ApiRequestTypes.js";
|
|
4
5
|
import { SignUpChallengeResponse, SignUpContinueResponse, SignUpStartResponse } from "./types/ApiResponseTypes.js";
|
|
6
|
+
import { CustomAuthRequestInterceptor } from "../../../configuration/CustomAuthRequestInterceptor.js";
|
|
5
7
|
export declare class SignupApiClient extends BaseApiClient {
|
|
6
8
|
private readonly capabilities?;
|
|
7
|
-
constructor(customAuthApiBaseUrl: string, clientId: string, httpClient: IHttpClient, capabilities?: string, customAuthApiQueryParams?: Record<string, string
|
|
9
|
+
constructor(customAuthApiBaseUrl: string, clientId: string, httpClient: IHttpClient, capabilities?: string, customAuthApiQueryParams?: Record<string, string>, requestInterceptor?: CustomAuthRequestInterceptor, logger?: Logger);
|
|
8
10
|
/**
|
|
9
11
|
* Start the sign-up flow
|
|
10
12
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SignupApiClient.d.ts","sourceRoot":"","sources":["../../../../../src/custom_auth/core/network_client/custom_auth_api/SignupApiClient.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACnD,OAAO,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC;
|
|
1
|
+
{"version":3,"file":"SignupApiClient.d.ts","sourceRoot":"","sources":["../../../../../src/custom_auth/core/network_client/custom_auth_api/SignupApiClient.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACnD,OAAO,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;AAEpD,OAAO,EACH,sBAAsB,EACtB,mCAAmC,EACnC,4BAA4B,EAC5B,iCAAiC,EACjC,kBAAkB,EACrB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACH,uBAAuB,EACvB,sBAAsB,EACtB,mBAAmB,EACtB,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,4BAA4B,EAAE,MAAM,wDAAwD,CAAC;AAEtG,qBAAa,eAAgB,SAAQ,aAAa;IAC9C,OAAO,CAAC,QAAQ,CAAC,YAAY,CAAC,CAAS;gBAGnC,oBAAoB,EAAE,MAAM,EAC5B,QAAQ,EAAE,MAAM,EAChB,UAAU,EAAE,WAAW,EACvB,YAAY,CAAC,EAAE,MAAM,EACrB,wBAAwB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,EACjD,kBAAkB,CAAC,EAAE,4BAA4B,EACjD,MAAM,CAAC,EAAE,MAAM;IAanB;;OAEG;IACG,KAAK,CAAC,MAAM,EAAE,kBAAkB,GAAG,OAAO,CAAC,mBAAmB,CAAC;IA0BrE;;OAEG;IACG,gBAAgB,CAClB,MAAM,EAAE,sBAAsB,GAC/B,OAAO,CAAC,uBAAuB,CAAC;IAmBnC;;OAEG;IACG,gBAAgB,CAClB,MAAM,EAAE,4BAA4B,GACrC,OAAO,CAAC,sBAAsB,CAAC;IAoB5B,oBAAoB,CACtB,MAAM,EAAE,iCAAiC,GAC1C,OAAO,CAAC,sBAAsB,CAAC;IAoB5B,sBAAsB,CACxB,MAAM,EAAE,mCAAmC,GAC5C,OAAO,CAAC,sBAAsB,CAAC;CAmBrC"}
|