@azure/msal-common 15.14.2 → 15.16.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/account/AccountInfo.mjs +1 -1
- package/dist/account/AuthToken.mjs +1 -1
- package/dist/account/CcsCredential.mjs +1 -1
- package/dist/account/ClientInfo.mjs +1 -1
- package/dist/account/TokenClaims.mjs +1 -1
- package/dist/authority/Authority.mjs +1 -1
- package/dist/authority/AuthorityFactory.mjs +1 -1
- package/dist/authority/AuthorityMetadata.mjs +1 -1
- package/dist/authority/AuthorityOptions.mjs +1 -1
- package/dist/authority/AuthorityType.mjs +1 -1
- package/dist/authority/CloudInstanceDiscoveryErrorResponse.mjs +1 -1
- package/dist/authority/CloudInstanceDiscoveryResponse.mjs +1 -1
- package/dist/authority/OpenIdConfigResponse.mjs +1 -1
- package/dist/authority/ProtocolMode.mjs +1 -1
- package/dist/authority/RegionDiscovery.mjs +1 -1
- package/dist/cache/CacheManager.mjs +1 -1
- package/dist/cache/entities/AccountEntity.mjs +1 -1
- package/dist/cache/persistence/TokenCacheContext.mjs +1 -1
- package/dist/cache/utils/CacheHelpers.mjs +1 -1
- package/dist/client/AuthorizationCodeClient.mjs +1 -1
- package/dist/client/BaseClient.mjs +1 -1
- package/dist/client/RefreshTokenClient.mjs +1 -1
- package/dist/client/SilentFlowClient.mjs +1 -1
- package/dist/config/ClientConfiguration.mjs +1 -1
- package/dist/constants/AADServerParamKeys.mjs +1 -1
- package/dist/crypto/ICrypto.mjs +1 -1
- package/dist/crypto/JoseHeader.mjs +1 -1
- package/dist/crypto/PopTokenGenerator.mjs +1 -1
- package/dist/error/AuthError.mjs +1 -1
- package/dist/error/AuthErrorCodes.mjs +1 -1
- package/dist/error/CacheError.mjs +1 -1
- package/dist/error/CacheErrorCodes.mjs +1 -1
- package/dist/error/ClientAuthError.mjs +1 -1
- package/dist/error/ClientAuthErrorCodes.mjs +1 -1
- package/dist/error/ClientConfigurationError.mjs +1 -1
- package/dist/error/ClientConfigurationErrorCodes.mjs +1 -1
- package/dist/error/InteractionRequiredAuthError.d.ts +4 -0
- package/dist/error/InteractionRequiredAuthError.d.ts.map +1 -1
- package/dist/error/InteractionRequiredAuthError.mjs +9 -2
- package/dist/error/InteractionRequiredAuthError.mjs.map +1 -1
- package/dist/error/InteractionRequiredAuthErrorCodes.d.ts +37 -0
- package/dist/error/InteractionRequiredAuthErrorCodes.d.ts.map +1 -1
- package/dist/error/InteractionRequiredAuthErrorCodes.mjs +40 -5
- package/dist/error/InteractionRequiredAuthErrorCodes.mjs.map +1 -1
- package/dist/error/JoseHeaderError.mjs +1 -1
- package/dist/error/JoseHeaderErrorCodes.mjs +1 -1
- package/dist/error/NetworkError.mjs +1 -1
- package/dist/error/PlatformBrokerError.mjs +1 -1
- package/dist/error/ServerError.mjs +1 -1
- package/dist/index-browser.mjs +1 -1
- package/dist/index-node.mjs +1 -1
- package/dist/index.mjs +1 -1
- package/dist/logger/Logger.mjs +1 -1
- package/dist/network/INetworkModule.mjs +1 -1
- package/dist/network/RequestThumbprint.mjs +1 -1
- package/dist/network/ThrottlingUtils.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/request/AuthenticationHeaderParser.mjs +1 -1
- package/dist/request/RequestParameterBuilder.mjs +1 -1
- package/dist/request/ScopeSet.mjs +1 -1
- package/dist/response/ResponseHandler.mjs +1 -1
- package/dist/telemetry/performance/PerformanceClient.mjs +1 -1
- package/dist/telemetry/performance/PerformanceEvent.d.ts +12 -0
- package/dist/telemetry/performance/PerformanceEvent.d.ts.map +1 -1
- package/dist/telemetry/performance/PerformanceEvent.mjs +7 -1
- package/dist/telemetry/performance/PerformanceEvent.mjs.map +1 -1
- package/dist/telemetry/performance/StubPerformanceClient.mjs +1 -1
- package/dist/telemetry/server/ServerTelemetryManager.mjs +1 -1
- package/dist/url/UrlString.mjs +1 -1
- package/dist/utils/ClientAssertionUtils.mjs +1 -1
- package/dist/utils/Constants.mjs +1 -1
- package/dist/utils/FunctionWrappers.mjs +1 -1
- package/dist/utils/ProtocolUtils.mjs +1 -1
- package/dist/utils/StringUtils.d.ts +25 -0
- package/dist/utils/StringUtils.d.ts.map +1 -1
- package/dist/utils/StringUtils.mjs +40 -1
- package/dist/utils/StringUtils.mjs.map +1 -1
- package/dist/utils/TimeUtils.mjs +1 -1
- package/dist/utils/UrlUtils.mjs +1 -1
- package/lib/index-browser.cjs +2 -2
- package/lib/{index-node-CYiBwGSg.js → index-node-BovRRhfW.js} +94 -6
- package/lib/index-node-BovRRhfW.js.map +1 -0
- package/lib/index-node.cjs +2 -2
- package/lib/index.cjs +2 -2
- package/lib/types/error/InteractionRequiredAuthError.d.ts +4 -0
- package/lib/types/error/InteractionRequiredAuthError.d.ts.map +1 -1
- package/lib/types/error/InteractionRequiredAuthErrorCodes.d.ts +37 -0
- package/lib/types/error/InteractionRequiredAuthErrorCodes.d.ts.map +1 -1
- package/lib/types/packageMetadata.d.ts +1 -1
- package/lib/types/telemetry/performance/PerformanceEvent.d.ts +12 -0
- package/lib/types/telemetry/performance/PerformanceEvent.d.ts.map +1 -1
- package/lib/types/utils/StringUtils.d.ts +25 -0
- package/lib/types/utils/StringUtils.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/error/InteractionRequiredAuthError.ts +10 -0
- package/src/error/InteractionRequiredAuthErrorCodes.ts +37 -2
- package/src/packageMetadata.ts +1 -1
- package/src/telemetry/performance/PerformanceEvent.ts +15 -0
- package/src/utils/StringUtils.ts +48 -0
- package/lib/index-node-CYiBwGSg.js.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @azure/msal-common v15.
|
|
1
|
+
/*! @azure/msal-common v15.16.0 2026-03-04 */
|
|
2
2
|
'use strict';
|
|
3
3
|
import { createClientAuthError } from '../error/ClientAuthError.mjs';
|
|
4
4
|
import { tokenParsingError, nullOrEmptyToken, maxAgeTranspired } from '../error/ClientAuthErrorCodes.mjs';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @azure/msal-common v15.
|
|
1
|
+
/*! @azure/msal-common v15.16.0 2026-03-04 */
|
|
2
2
|
'use strict';
|
|
3
3
|
import { Constants, HttpStatus, RegionDiscoverySources } from '../utils/Constants.mjs';
|
|
4
4
|
import { PerformanceEvents } from '../telemetry/performance/PerformanceEvent.mjs';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @azure/msal-common v15.
|
|
1
|
+
/*! @azure/msal-common v15.16.0 2026-03-04 */
|
|
2
2
|
'use strict';
|
|
3
3
|
import { CredentialType, AuthenticationScheme, THE_FAMILY_ID, APP_METADATA, AUTHORITY_METADATA_CONSTANTS } from '../utils/Constants.mjs';
|
|
4
4
|
import { ScopeSet } from '../request/ScopeSet.mjs';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @azure/msal-common v15.
|
|
1
|
+
/*! @azure/msal-common v15.16.0 2026-03-04 */
|
|
2
2
|
'use strict';
|
|
3
3
|
import { BaseClient } from './BaseClient.mjs';
|
|
4
4
|
import { addClientId, addRedirectUri, addScopes, addAuthorizationCode, addLibraryInfo, addApplicationTelemetry, addThrottling, addServerTelemetry, addCodeVerifier, addClientSecret, addClientAssertion, addClientAssertionType, addGrantType, addClientInfo, addPopToken, addSshJwk, addClaims, addCcsUpn, addCcsOid, addBrokerParameters, addExtraQueryParameters, instrumentBrokerParams, addPostLogoutRedirectUri, addCorrelationId, addIdTokenHint, addState, addLogoutHint, addInstanceAware } from '../request/RequestParameterBuilder.mjs';
|
package/dist/crypto/ICrypto.mjs
CHANGED
package/dist/error/AuthError.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @azure/msal-common v15.
|
|
1
|
+
/*! @azure/msal-common v15.16.0 2026-03-04 */
|
|
2
2
|
'use strict';
|
|
3
3
|
import { AuthError } from './AuthError.mjs';
|
|
4
4
|
import { platformBrokerError, nestedAppAuthBridgeDisabled, missingTenantIdError, userCanceled, noNetworkConnectivity, keyIdMissing, endSessionEndpointNotSupported, bindingKeyNotRemoved, authorizationCodeMissingFromServerResponse, tokenClaimsCnfRequiredForSignedJwt, userTimeoutReached, tokenRefreshRequired, invalidClientCredential, invalidAssertion, unexpectedCredentialType, noCryptoObject, noAccountFound, invalidCacheEnvironment, invalidCacheRecord, noAccountInSilentRequest, deviceCodeUnknownError, deviceCodeExpired, deviceCodePollingCancelled, emptyInputScopeSet, cannotAppendScopeSet, cannotRemoveEmptyScope, requestCannotBeMade, multipleMatchingAppMetadata, multipleMatchingAccounts, multipleMatchingTokens, maxAgeTranspired, authTimeNotFound, nonceMismatch, stateNotFound, stateMismatch, invalidState, hashNotDeserialized, openIdConfigError, networkError, endpointResolutionError, nullOrEmptyToken, tokenParsingError, clientInfoEmptyError, clientInfoDecodingError, methodNotImplemented } from './ClientAuthErrorCodes.mjs';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @azure/msal-common v15.
|
|
1
|
+
/*! @azure/msal-common v15.16.0 2026-03-04 */
|
|
2
2
|
'use strict';
|
|
3
3
|
import { AuthError } from './AuthError.mjs';
|
|
4
4
|
import { invalidPlatformBrokerConfiguration, invalidRequestMethodForEAR, invalidAuthorizePostBodyParameters, authorityMismatch, cannotAllowPlatformBroker, cannotSetOIDCOptions, invalidAuthenticationHeader, missingNonceAuthenticationHeader, missingSshKid, missingSshJwk, untrustedAuthority, invalidAuthorityMetadata, invalidCloudDiscoveryMetadata, pkceParamsMissing, invalidCodeChallengeMethod, logoutRequestEmpty, tokenRequestEmpty, invalidClaims, emptyInputScopesError, urlEmptyError, urlParseError, authorityUriInsecure, claimsRequestParsingError, redirectUriEmpty } from './ClientConfigurationErrorCodes.mjs';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InteractionRequiredAuthError.d.ts","sourceRoot":"","sources":["../../src/error/InteractionRequiredAuthError.ts"],"names":[],"mappings":"AAMA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EG;AACH,wBAAgB,kCAAkC,CAC9C,SAAS,EAAE,MAAM,GAClB,4BAA4B,CAK9B"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
/*! @azure/msal-common v15.
|
|
1
|
+
/*! @azure/msal-common v15.16.0 2026-03-04 */
|
|
2
2
|
'use strict';
|
|
3
3
|
import { Constants } from '../utils/Constants.mjs';
|
|
4
4
|
import { AuthError } from './AuthError.mjs';
|
|
5
|
-
import { badToken, nativeAccountUnavailable, noTokensFound, uxNotAllowed, refreshTokenExpired, interactionRequired, consentRequired, loginRequired } from './InteractionRequiredAuthErrorCodes.mjs';
|
|
5
|
+
import { interruptedUser, badToken, nativeAccountUnavailable, noTokensFound, uxNotAllowed, refreshTokenExpired, interactionRequired, consentRequired, loginRequired } from './InteractionRequiredAuthErrorCodes.mjs';
|
|
6
6
|
import * as InteractionRequiredAuthErrorCodes from './InteractionRequiredAuthErrorCodes.mjs';
|
|
7
7
|
export { InteractionRequiredAuthErrorCodes };
|
|
8
8
|
|
|
@@ -19,6 +19,7 @@ const InteractionRequiredServerErrorMessage = [
|
|
|
19
19
|
loginRequired,
|
|
20
20
|
badToken,
|
|
21
21
|
uxNotAllowed,
|
|
22
|
+
interruptedUser,
|
|
22
23
|
];
|
|
23
24
|
const InteractionRequiredAuthSubErrorMessage = [
|
|
24
25
|
"message_only",
|
|
@@ -27,6 +28,7 @@ const InteractionRequiredAuthSubErrorMessage = [
|
|
|
27
28
|
"user_password_expired",
|
|
28
29
|
"consent_required",
|
|
29
30
|
"bad_token",
|
|
31
|
+
"interrupted_user",
|
|
30
32
|
];
|
|
31
33
|
const InteractionRequiredAuthErrorMessages = {
|
|
32
34
|
[noTokensFound]: "No refresh token found in the cache. Please sign-in.",
|
|
@@ -34,6 +36,7 @@ const InteractionRequiredAuthErrorMessages = {
|
|
|
34
36
|
[refreshTokenExpired]: "Refresh token has expired.",
|
|
35
37
|
[badToken]: "Identity provider returned bad_token due to an expired or invalid refresh token. Please invoke an interactive API to resolve.",
|
|
36
38
|
[uxNotAllowed]: "`canShowUI` flag in Edge was set to false. User interaction required on web page. Please invoke an interactive API to resolve.",
|
|
39
|
+
[interruptedUser]: "The user could not be authenticated due to an interrupted state. Please invoke an interactive API to resolve.",
|
|
37
40
|
};
|
|
38
41
|
/**
|
|
39
42
|
* Interaction required errors defined by the SDK
|
|
@@ -52,6 +55,10 @@ const InteractionRequiredAuthErrorMessage = {
|
|
|
52
55
|
code: badToken,
|
|
53
56
|
desc: InteractionRequiredAuthErrorMessages[badToken],
|
|
54
57
|
},
|
|
58
|
+
interrupted_user: {
|
|
59
|
+
code: interruptedUser,
|
|
60
|
+
desc: InteractionRequiredAuthErrorMessages[interruptedUser],
|
|
61
|
+
},
|
|
55
62
|
};
|
|
56
63
|
/**
|
|
57
64
|
* Error thrown when user interaction is required.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InteractionRequiredAuthError.mjs","sources":["../../src/error/InteractionRequiredAuthError.ts"],"sourcesContent":[null],"names":["InteractionRequiredAuthErrorCodes.interactionRequired","InteractionRequiredAuthErrorCodes.consentRequired","InteractionRequiredAuthErrorCodes.loginRequired","InteractionRequiredAuthErrorCodes.badToken","InteractionRequiredAuthErrorCodes.uxNotAllowed","InteractionRequiredAuthErrorCodes.noTokensFound","InteractionRequiredAuthErrorCodes.nativeAccountUnavailable","InteractionRequiredAuthErrorCodes.refreshTokenExpired"],"mappings":";;;;;;;;AAAA;;;AAGG;AAOH;;AAEG;AACU,MAAA,qCAAqC,GAAG;AACjD,IAAAA,mBAAqD;AACrD,IAAAC,eAAiD;AACjD,IAAAC,aAA+C;AAC/C,IAAAC,QAA0C;AAC1C,IAAAC,YAA8C;
|
|
1
|
+
{"version":3,"file":"InteractionRequiredAuthError.mjs","sources":["../../src/error/InteractionRequiredAuthError.ts"],"sourcesContent":[null],"names":["InteractionRequiredAuthErrorCodes.interactionRequired","InteractionRequiredAuthErrorCodes.consentRequired","InteractionRequiredAuthErrorCodes.loginRequired","InteractionRequiredAuthErrorCodes.badToken","InteractionRequiredAuthErrorCodes.uxNotAllowed","InteractionRequiredAuthErrorCodes.interruptedUser","InteractionRequiredAuthErrorCodes.noTokensFound","InteractionRequiredAuthErrorCodes.nativeAccountUnavailable","InteractionRequiredAuthErrorCodes.refreshTokenExpired"],"mappings":";;;;;;;;AAAA;;;AAGG;AAOH;;AAEG;AACU,MAAA,qCAAqC,GAAG;AACjD,IAAAA,mBAAqD;AACrD,IAAAC,eAAiD;AACjD,IAAAC,aAA+C;AAC/C,IAAAC,QAA0C;AAC1C,IAAAC,YAA8C;AAC9C,IAAAC,eAAiD;EACnD;AAEW,MAAA,sCAAsC,GAAG;IAClD,cAAc;IACd,mBAAmB;IACnB,cAAc;IACd,uBAAuB;IACvB,kBAAkB;IAClB,WAAW;IACX,kBAAkB;EACpB;AAEF,MAAM,oCAAoC,GAAG;AACzC,IAAA,CAACC,aAA+C,GAC5C,sDAAsD;AAC1D,IAAA,CAACC,wBAA0D,GACvD,qJAAqJ;AACzJ,IAAA,CAACC,mBAAqD,GAClD,4BAA4B;AAChC,IAAA,CAACL,QAA0C,GACvC,+HAA+H;AACnI,IAAA,CAACC,YAA8C,GAC3C,gIAAgI;AACpI,IAAA,CAACC,eAAiD,GAC9C,+GAA+G;CACtH,CAAC;AAEF;;;AAGG;AACU,MAAA,mCAAmC,GAAG;AAC/C,IAAA,kBAAkB,EAAE;QAChB,IAAI,EAAEC,aAA+C;AACrD,QAAA,IAAI,EAAE,oCAAoC,CACtCA,aAA+C,CAClD;AACJ,KAAA;AACD,IAAA,0BAA0B,EAAE;QACxB,IAAI,EAAEC,wBAA0D;AAChE,QAAA,IAAI,EAAE,oCAAoC,CACtCA,wBAA0D,CAC7D;AACJ,KAAA;AACD,IAAA,SAAS,EAAE;QACP,IAAI,EAAEJ,QAA0C;AAChD,QAAA,IAAI,EAAE,oCAAoC,CACtCA,QAA0C,CAC7C;AACJ,KAAA;AACD,IAAA,gBAAgB,EAAE;QACd,IA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OAAO,CAAC,WAAW,CAAC,GAAG,EAAE,CAAC;AACjD,SAAC,CAAC,CAAC;AAEP,IAAA,QACI,8BAA8B;QAC9B,8BAA8B;AAC9B,QAAA,6BAA6B,EAC/B;AACN,CAAC;AAED;;AAEG;AACG,SAAU,kCAAkC,CAC9C,SAAiB,EAAA;IAEjB,OAAO,IAAI,4BAA4B,CACnC,SAAS,EACT,oCAAoC,CAAC,SAAS,CAAC,CAClD,CAAC;AACN;;;;"}
|
|
@@ -1,9 +1,46 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* MSAL-defined interaction required error code indicating no tokens are found in cache.
|
|
3
|
+
* @public
|
|
4
|
+
*/
|
|
1
5
|
export declare const noTokensFound = "no_tokens_found";
|
|
6
|
+
/**
|
|
7
|
+
* MSAL-defined error code indicating a native account is unavailable on the platform.
|
|
8
|
+
* @public
|
|
9
|
+
*/
|
|
2
10
|
export declare const nativeAccountUnavailable = "native_account_unavailable";
|
|
11
|
+
/**
|
|
12
|
+
* MSAL-defined error code indicating the refresh token has expired and user interaction is needed.
|
|
13
|
+
* @public
|
|
14
|
+
*/
|
|
3
15
|
export declare const refreshTokenExpired = "refresh_token_expired";
|
|
16
|
+
/**
|
|
17
|
+
* MSAL-defined error code indicating UI/UX is not allowed (e.g., blocked by policy), requiring alternate interaction.
|
|
18
|
+
* @public
|
|
19
|
+
*/
|
|
4
20
|
export declare const uxNotAllowed = "ux_not_allowed";
|
|
21
|
+
/**
|
|
22
|
+
* Server-originated error code indicating interaction is required to complete the request.
|
|
23
|
+
* @public
|
|
24
|
+
*/
|
|
5
25
|
export declare const interactionRequired = "interaction_required";
|
|
26
|
+
/**
|
|
27
|
+
* Server-originated error code indicating user consent is required.
|
|
28
|
+
* @public
|
|
29
|
+
*/
|
|
6
30
|
export declare const consentRequired = "consent_required";
|
|
31
|
+
/**
|
|
32
|
+
* Server-originated error code indicating user login is required.
|
|
33
|
+
* @public
|
|
34
|
+
*/
|
|
7
35
|
export declare const loginRequired = "login_required";
|
|
36
|
+
/**
|
|
37
|
+
* Server-originated error code indicating the token is invalid or corrupted.
|
|
38
|
+
* @public
|
|
39
|
+
*/
|
|
8
40
|
export declare const badToken = "bad_token";
|
|
41
|
+
/**
|
|
42
|
+
* Server-originated error code indicating the user was interrupted and must reattempt the flow.
|
|
43
|
+
* @public
|
|
44
|
+
*/
|
|
45
|
+
export declare const interruptedUser = "interrupted_user";
|
|
9
46
|
//# sourceMappingURL=InteractionRequiredAuthErrorCodes.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InteractionRequiredAuthErrorCodes.d.ts","sourceRoot":"","sources":["../../src/error/InteractionRequiredAuthErrorCodes.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"InteractionRequiredAuthErrorCodes.d.ts","sourceRoot":"","sources":["../../src/error/InteractionRequiredAuthErrorCodes.ts"],"names":[],"mappings":"AAKA;;;GAGG;AACH,eAAO,MAAM,aAAa,oBAAoB,CAAC;AAC/C;;;GAGG;AACH,eAAO,MAAM,wBAAwB,+BAA+B,CAAC;AACrE;;;GAGG;AACH,eAAO,MAAM,mBAAmB,0BAA0B,CAAC;AAC3D;;;GAGG;AACH,eAAO,MAAM,YAAY,mBAAmB,CAAC;AAE7C;;;GAGG;AACH,eAAO,MAAM,mBAAmB,yBAAyB,CAAC;AAC1D;;;GAGG;AACH,eAAO,MAAM,eAAe,qBAAqB,CAAC;AAClD;;;GAGG;AACH,eAAO,MAAM,aAAa,mBAAmB,CAAC;AAC9C;;;GAGG;AACH,eAAO,MAAM,QAAQ,cAAc,CAAC;AACpC;;;GAGG;AACH,eAAO,MAAM,eAAe,qBAAqB,CAAC"}
|
|
@@ -1,19 +1,54 @@
|
|
|
1
|
-
/*! @azure/msal-common v15.
|
|
1
|
+
/*! @azure/msal-common v15.16.0 2026-03-04 */
|
|
2
2
|
'use strict';
|
|
3
3
|
/*
|
|
4
4
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
5
5
|
* Licensed under the MIT License.
|
|
6
6
|
*/
|
|
7
|
-
|
|
7
|
+
/**
|
|
8
|
+
* MSAL-defined interaction required error code indicating no tokens are found in cache.
|
|
9
|
+
* @public
|
|
10
|
+
*/
|
|
8
11
|
const noTokensFound = "no_tokens_found";
|
|
12
|
+
/**
|
|
13
|
+
* MSAL-defined error code indicating a native account is unavailable on the platform.
|
|
14
|
+
* @public
|
|
15
|
+
*/
|
|
9
16
|
const nativeAccountUnavailable = "native_account_unavailable";
|
|
17
|
+
/**
|
|
18
|
+
* MSAL-defined error code indicating the refresh token has expired and user interaction is needed.
|
|
19
|
+
* @public
|
|
20
|
+
*/
|
|
10
21
|
const refreshTokenExpired = "refresh_token_expired";
|
|
22
|
+
/**
|
|
23
|
+
* MSAL-defined error code indicating UI/UX is not allowed (e.g., blocked by policy), requiring alternate interaction.
|
|
24
|
+
* @public
|
|
25
|
+
*/
|
|
11
26
|
const uxNotAllowed = "ux_not_allowed";
|
|
12
|
-
|
|
27
|
+
/**
|
|
28
|
+
* Server-originated error code indicating interaction is required to complete the request.
|
|
29
|
+
* @public
|
|
30
|
+
*/
|
|
13
31
|
const interactionRequired = "interaction_required";
|
|
32
|
+
/**
|
|
33
|
+
* Server-originated error code indicating user consent is required.
|
|
34
|
+
* @public
|
|
35
|
+
*/
|
|
14
36
|
const consentRequired = "consent_required";
|
|
37
|
+
/**
|
|
38
|
+
* Server-originated error code indicating user login is required.
|
|
39
|
+
* @public
|
|
40
|
+
*/
|
|
15
41
|
const loginRequired = "login_required";
|
|
16
|
-
|
|
42
|
+
/**
|
|
43
|
+
* Server-originated error code indicating the token is invalid or corrupted.
|
|
44
|
+
* @public
|
|
45
|
+
*/
|
|
46
|
+
const badToken = "bad_token";
|
|
47
|
+
/**
|
|
48
|
+
* Server-originated error code indicating the user was interrupted and must reattempt the flow.
|
|
49
|
+
* @public
|
|
50
|
+
*/
|
|
51
|
+
const interruptedUser = "interrupted_user";
|
|
17
52
|
|
|
18
|
-
export { badToken, consentRequired, interactionRequired, loginRequired, nativeAccountUnavailable, noTokensFound, refreshTokenExpired, uxNotAllowed };
|
|
53
|
+
export { badToken, consentRequired, interactionRequired, interruptedUser, loginRequired, nativeAccountUnavailable, noTokensFound, refreshTokenExpired, uxNotAllowed };
|
|
19
54
|
//# sourceMappingURL=InteractionRequiredAuthErrorCodes.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InteractionRequiredAuthErrorCodes.mjs","sources":["../../src/error/InteractionRequiredAuthErrorCodes.ts"],"sourcesContent":[null],"names":[],"mappings":";;AAAA;;;AAGG;AAEH;
|
|
1
|
+
{"version":3,"file":"InteractionRequiredAuthErrorCodes.mjs","sources":["../../src/error/InteractionRequiredAuthErrorCodes.ts"],"sourcesContent":[null],"names":[],"mappings":";;AAAA;;;AAGG;AAEH;;;AAGG;AACI,MAAM,aAAa,GAAG,kBAAkB;AAC/C;;;AAGG;AACI,MAAM,wBAAwB,GAAG,6BAA6B;AACrE;;;AAGG;AACI,MAAM,mBAAmB,GAAG,wBAAwB;AAC3D;;;AAGG;AACI,MAAM,YAAY,GAAG,iBAAiB;AAE7C;;;AAGG;AACI,MAAM,mBAAmB,GAAG,uBAAuB;AAC1D;;;AAGG;AACI,MAAM,eAAe,GAAG,mBAAmB;AAClD;;;AAGG;AACI,MAAM,aAAa,GAAG,iBAAiB;AAC9C;;;AAGG;AACI,MAAM,QAAQ,GAAG,YAAY;AACpC;;;AAGG;AACI,MAAM,eAAe,GAAG;;;;"}
|
package/dist/index-browser.mjs
CHANGED
package/dist/index-node.mjs
CHANGED
package/dist/index.mjs
CHANGED
package/dist/logger/Logger.mjs
CHANGED
package/dist/packageMetadata.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
/*! @azure/msal-common v15.
|
|
1
|
+
/*! @azure/msal-common v15.16.0 2026-03-04 */
|
|
2
2
|
'use strict';
|
|
3
3
|
/* eslint-disable header/header */
|
|
4
4
|
const name = "@azure/msal-common";
|
|
5
|
-
const version = "15.
|
|
5
|
+
const version = "15.16.0";
|
|
6
6
|
|
|
7
7
|
export { name, version };
|
|
8
8
|
//# sourceMappingURL=packageMetadata.mjs.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @azure/msal-common v15.
|
|
1
|
+
/*! @azure/msal-common v15.16.0 2026-03-04 */
|
|
2
2
|
'use strict';
|
|
3
3
|
import { addClientId, addScopes, addRedirectUri, addCorrelationId, addResponseMode, addClientInfo, addPrompt, addDomainHint, addSid, addLoginHint, addCcsOid, addCcsUpn, addNonce, addState, addClaims, addBrokerParameters, addInstanceAware } from '../request/RequestParameterBuilder.mjs';
|
|
4
4
|
import { INSTANCE_AWARE, CLIENT_ID } from '../constants/AADServerParamKeys.mjs';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @azure/msal-common v15.
|
|
1
|
+
/*! @azure/msal-common v15.16.0 2026-03-04 */
|
|
2
2
|
'use strict';
|
|
3
3
|
import { OIDC_DEFAULT_SCOPES, ResponseMode, HeaderNames, CLIENT_INFO, ClaimsRequestKeys, PasswordGrantConstants, AuthenticationScheme, ThrottlingConstants } from '../utils/Constants.mjs';
|
|
4
4
|
import { CLIENT_ID, BROKER_CLIENT_ID, REDIRECT_URI, RESPONSE_TYPE, RESPONSE_MODE, NATIVE_BROKER, SCOPE, POST_LOGOUT_URI, ID_TOKEN_HINT, DOMAIN_HINT, LOGIN_HINT, SID, CLAIMS, CLIENT_REQUEST_ID, X_CLIENT_SKU, X_CLIENT_VER, X_CLIENT_OS, X_CLIENT_CPU, X_APP_NAME, X_APP_VER, PROMPT, STATE, NONCE, CODE_CHALLENGE, CODE_CHALLENGE_METHOD, CODE, DEVICE_CODE, REFRESH_TOKEN, CODE_VERIFIER, CLIENT_SECRET, CLIENT_ASSERTION, CLIENT_ASSERTION_TYPE, OBO_ASSERTION, REQUESTED_TOKEN_USE, GRANT_TYPE, INSTANCE_AWARE, TOKEN_TYPE, REQ_CNF, X_CLIENT_CURR_TELEM, X_CLIENT_LAST_TELEM, X_MS_LIB_CAPABILITY, LOGOUT_HINT, BROKER_REDIRECT_URI, EAR_JWK, EAR_JWE_CRYPTO } from '../constants/AADServerParamKeys.mjs';
|