@azure/msal-common 15.13.0 → 16.0.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/AccountInfo.d.ts +0 -4
- package/dist/account/AccountInfo.d.ts.map +1 -1
- package/dist/account/AccountInfo.mjs +1 -1
- package/dist/account/AccountInfo.mjs.map +1 -1
- package/dist/account/AuthToken.mjs +1 -1
- package/dist/account/AuthToken.mjs.map +1 -1
- package/dist/account/CcsCredential.mjs +1 -1
- package/dist/account/CcsCredential.mjs.map +1 -1
- package/dist/account/ClientInfo.d.ts +1 -5
- package/dist/account/ClientInfo.d.ts.map +1 -1
- package/dist/account/ClientInfo.mjs +4 -6
- package/dist/account/ClientInfo.mjs.map +1 -1
- package/dist/account/TokenClaims.mjs +1 -1
- package/dist/account/TokenClaims.mjs.map +1 -1
- package/dist/authority/Authority.d.ts +2 -2
- package/dist/authority/Authority.d.ts.map +1 -1
- package/dist/authority/Authority.mjs +89 -105
- package/dist/authority/Authority.mjs.map +1 -1
- package/dist/authority/AuthorityFactory.d.ts +6 -2
- package/dist/authority/AuthorityFactory.d.ts.map +1 -1
- package/dist/authority/AuthorityFactory.mjs +8 -5
- package/dist/authority/AuthorityFactory.mjs.map +1 -1
- package/dist/authority/AuthorityMetadata.d.ts +2 -2
- package/dist/authority/AuthorityMetadata.d.ts.map +1 -1
- package/dist/authority/AuthorityMetadata.mjs +8 -8
- package/dist/authority/AuthorityMetadata.mjs.map +1 -1
- package/dist/authority/AuthorityOptions.d.ts +0 -1
- package/dist/authority/AuthorityOptions.d.ts.map +1 -1
- package/dist/authority/AuthorityOptions.mjs +1 -1
- package/dist/authority/AuthorityOptions.mjs.map +1 -1
- package/dist/authority/AuthorityType.mjs +1 -1
- package/dist/authority/AuthorityType.mjs.map +1 -1
- package/dist/authority/CloudInstanceDiscoveryErrorResponse.mjs +1 -1
- package/dist/authority/CloudInstanceDiscoveryResponse.mjs +1 -1
- package/dist/authority/OIDCOptions.d.ts +2 -2
- package/dist/authority/OIDCOptions.d.ts.map +1 -1
- package/dist/authority/OpenIdConfigResponse.mjs +1 -1
- package/dist/authority/ProtocolMode.mjs +1 -1
- package/dist/authority/ProtocolMode.mjs.map +1 -1
- package/dist/authority/RegionDiscovery.d.ts +3 -3
- package/dist/authority/RegionDiscovery.d.ts.map +1 -1
- package/dist/authority/RegionDiscovery.mjs +14 -15
- package/dist/authority/RegionDiscovery.mjs.map +1 -1
- package/dist/cache/CacheManager.d.ts +25 -17
- package/dist/cache/CacheManager.d.ts.map +1 -1
- package/dist/cache/CacheManager.mjs +69 -80
- package/dist/cache/CacheManager.mjs.map +1 -1
- package/dist/cache/entities/AccessTokenEntity.d.ts +0 -4
- package/dist/cache/entities/AccessTokenEntity.d.ts.map +1 -1
- package/dist/cache/entities/AccountEntity.d.ts +4 -57
- package/dist/cache/entities/AccountEntity.d.ts.map +1 -1
- package/dist/cache/entities/CredentialEntity.d.ts +0 -2
- package/dist/cache/entities/CredentialEntity.d.ts.map +1 -1
- package/dist/cache/interface/ICacheManager.d.ts +41 -12
- package/dist/cache/interface/ICacheManager.d.ts.map +1 -1
- package/dist/cache/persistence/TokenCacheContext.mjs +1 -1
- package/dist/cache/persistence/TokenCacheContext.mjs.map +1 -1
- package/dist/cache/utils/AccountEntityUtils.d.ts +60 -0
- package/dist/cache/utils/AccountEntityUtils.d.ts.map +1 -0
- package/dist/cache/utils/AccountEntityUtils.mjs +212 -0
- package/dist/cache/utils/AccountEntityUtils.mjs.map +1 -0
- package/dist/cache/utils/CacheHelpers.d.ts +2 -2
- package/dist/cache/utils/CacheHelpers.d.ts.map +1 -1
- package/dist/cache/utils/CacheHelpers.mjs +10 -13
- package/dist/cache/utils/CacheHelpers.mjs.map +1 -1
- package/dist/cache/utils/CacheTypes.d.ts +0 -1
- package/dist/cache/utils/CacheTypes.d.ts.map +1 -1
- package/dist/client/AuthorizationCodeClient.d.ts +1 -1
- package/dist/client/AuthorizationCodeClient.d.ts.map +1 -1
- package/dist/client/AuthorizationCodeClient.mjs +16 -20
- package/dist/client/AuthorizationCodeClient.mjs.map +1 -1
- package/dist/client/BaseClient.d.ts +3 -3
- package/dist/client/BaseClient.d.ts.map +1 -1
- package/dist/client/BaseClient.mjs +7 -12
- package/dist/client/BaseClient.mjs.map +1 -1
- package/dist/client/RefreshTokenClient.d.ts +1 -1
- package/dist/client/RefreshTokenClient.d.ts.map +1 -1
- package/dist/client/RefreshTokenClient.mjs +22 -27
- package/dist/client/RefreshTokenClient.mjs.map +1 -1
- package/dist/client/SilentFlowClient.d.ts +1 -1
- package/dist/client/SilentFlowClient.d.ts.map +1 -1
- package/dist/client/SilentFlowClient.mjs +8 -12
- package/dist/client/SilentFlowClient.mjs.map +1 -1
- package/dist/config/ClientConfiguration.d.ts +2 -22
- package/dist/config/ClientConfiguration.d.ts.map +1 -1
- package/dist/config/ClientConfiguration.mjs +9 -15
- package/dist/config/ClientConfiguration.mjs.map +1 -1
- package/dist/constants/AADServerParamKeys.mjs +1 -1
- package/dist/crypto/ICrypto.d.ts +5 -3
- package/dist/crypto/ICrypto.d.ts.map +1 -1
- package/dist/crypto/ICrypto.mjs +1 -1
- package/dist/crypto/ICrypto.mjs.map +1 -1
- package/dist/crypto/JoseHeader.mjs +1 -1
- package/dist/crypto/JoseHeader.mjs.map +1 -1
- package/dist/crypto/PopTokenGenerator.d.ts +2 -2
- package/dist/crypto/PopTokenGenerator.d.ts.map +1 -1
- package/dist/crypto/PopTokenGenerator.mjs +3 -5
- package/dist/crypto/PopTokenGenerator.mjs.map +1 -1
- package/dist/error/AuthError.d.ts +1 -18
- package/dist/error/AuthError.d.ts.map +1 -1
- package/dist/error/AuthError.mjs +12 -34
- package/dist/error/AuthError.mjs.map +1 -1
- package/dist/error/AuthErrorCodes.mjs +1 -1
- package/dist/error/CacheError.d.ts +1 -6
- package/dist/error/CacheError.d.ts.map +1 -1
- package/dist/error/CacheError.mjs +6 -13
- package/dist/error/CacheError.mjs.map +1 -1
- package/dist/error/CacheErrorCodes.mjs +1 -1
- package/dist/error/ClientAuthError.d.ts +0 -224
- package/dist/error/ClientAuthError.d.ts.map +1 -1
- package/dist/error/ClientAuthError.mjs +3 -235
- package/dist/error/ClientAuthError.mjs.map +1 -1
- package/dist/error/ClientAuthErrorCodes.d.ts +0 -8
- package/dist/error/ClientAuthErrorCodes.d.ts.map +1 -1
- package/dist/error/ClientAuthErrorCodes.mjs +2 -10
- package/dist/error/ClientAuthErrorCodes.mjs.map +1 -1
- package/dist/error/ClientConfigurationError.d.ts +0 -123
- package/dist/error/ClientConfigurationError.d.ts.map +1 -1
- package/dist/error/ClientConfigurationError.mjs +3 -129
- package/dist/error/ClientConfigurationError.mjs.map +1 -1
- package/dist/error/ClientConfigurationErrorCodes.d.ts +0 -2
- package/dist/error/ClientConfigurationErrorCodes.d.ts.map +1 -1
- package/dist/error/ClientConfigurationErrorCodes.mjs +3 -5
- package/dist/error/ClientConfigurationErrorCodes.mjs.map +1 -1
- package/dist/error/InteractionRequiredAuthError.d.ts +1 -19
- package/dist/error/InteractionRequiredAuthError.d.ts.map +1 -1
- package/dist/error/InteractionRequiredAuthError.mjs +10 -35
- package/dist/error/InteractionRequiredAuthError.mjs.map +1 -1
- package/dist/error/InteractionRequiredAuthErrorCodes.mjs +1 -1
- package/dist/error/JoseHeaderError.d.ts +0 -4
- package/dist/error/JoseHeaderError.d.ts.map +1 -1
- package/dist/error/JoseHeaderError.mjs +3 -8
- package/dist/error/JoseHeaderError.mjs.map +1 -1
- package/dist/error/JoseHeaderErrorCodes.mjs +1 -1
- package/dist/error/NetworkError.mjs +1 -1
- package/dist/error/NetworkError.mjs.map +1 -1
- package/dist/error/ServerError.mjs +1 -1
- package/dist/error/ServerError.mjs.map +1 -1
- package/dist/exports-browser-only.d.ts +4 -3
- package/dist/exports-browser-only.d.ts.map +1 -1
- package/dist/exports-common.d.ts +8 -6
- package/dist/exports-common.d.ts.map +1 -1
- package/dist/exports-node-only.d.ts +1 -4
- package/dist/exports-node-only.d.ts.map +1 -1
- package/dist/index-browser.mjs +12 -8
- package/dist/index-browser.mjs.map +1 -1
- package/dist/index-node.mjs +10 -7
- package/dist/index-node.mjs.map +1 -1
- package/dist/index.mjs +12 -8
- package/dist/index.mjs.map +1 -1
- package/dist/logger/Logger.d.ts +12 -13
- package/dist/logger/Logger.d.ts.map +1 -1
- package/dist/logger/Logger.mjs +16 -21
- package/dist/logger/Logger.mjs.map +1 -1
- package/dist/network/INetworkModule.mjs +1 -1
- package/dist/network/INetworkModule.mjs.map +1 -1
- package/dist/network/RequestThumbprint.mjs +1 -1
- package/dist/network/ThrottlingUtils.d.ts.map +1 -1
- package/dist/network/ThrottlingUtils.mjs +6 -7
- package/dist/network/ThrottlingUtils.mjs.map +1 -1
- package/dist/packageMetadata.d.ts +1 -1
- package/dist/packageMetadata.d.ts.map +1 -1
- package/dist/packageMetadata.mjs +2 -2
- package/dist/protocol/Authorize.d.ts +1 -2
- package/dist/protocol/Authorize.d.ts.map +1 -1
- package/dist/protocol/Authorize.mjs +14 -14
- package/dist/protocol/Authorize.mjs.map +1 -1
- package/dist/request/AuthenticationHeaderParser.d.ts.map +1 -1
- package/dist/request/AuthenticationHeaderParser.mjs +3 -3
- package/dist/request/AuthenticationHeaderParser.mjs.map +1 -1
- package/dist/request/BaseAuthRequest.d.ts +1 -7
- package/dist/request/BaseAuthRequest.d.ts.map +1 -1
- package/dist/request/RequestParameterBuilder.d.ts +3 -9
- package/dist/request/RequestParameterBuilder.d.ts.map +1 -1
- package/dist/request/RequestParameterBuilder.mjs +7 -20
- package/dist/request/RequestParameterBuilder.mjs.map +1 -1
- package/dist/request/ScopeSet.mjs +5 -5
- package/dist/request/ScopeSet.mjs.map +1 -1
- package/dist/response/AuthenticationResult.d.ts +1 -1
- package/dist/response/AuthenticationResult.d.ts.map +1 -1
- package/dist/response/ResponseHandler.d.ts +6 -5
- package/dist/response/ResponseHandler.d.ts.map +1 -1
- package/dist/response/ResponseHandler.mjs +39 -41
- package/dist/response/ResponseHandler.mjs.map +1 -1
- package/dist/telemetry/performance/IPerformanceClient.d.ts +1 -31
- package/dist/telemetry/performance/IPerformanceClient.d.ts.map +1 -1
- package/dist/telemetry/performance/PerformanceClient.d.ts +6 -85
- package/dist/telemetry/performance/PerformanceClient.d.ts.map +1 -1
- package/dist/telemetry/performance/PerformanceClient.mjs +28 -188
- package/dist/telemetry/performance/PerformanceClient.mjs.map +1 -1
- package/dist/telemetry/performance/PerformanceEvent.d.ts +0 -282
- package/dist/telemetry/performance/PerformanceEvent.d.ts.map +1 -1
- package/dist/telemetry/performance/PerformanceEvent.mjs +2 -483
- package/dist/telemetry/performance/PerformanceEvent.mjs.map +1 -1
- package/dist/telemetry/performance/PerformanceEvents.d.ts +65 -0
- package/dist/telemetry/performance/PerformanceEvents.d.ts.map +1 -0
- package/dist/telemetry/performance/PerformanceEvents.mjs +73 -0
- package/dist/telemetry/performance/PerformanceEvents.mjs.map +1 -0
- package/dist/telemetry/performance/StubPerformanceClient.d.ts +0 -4
- package/dist/telemetry/performance/StubPerformanceClient.d.ts.map +1 -1
- package/dist/telemetry/performance/StubPerformanceClient.mjs +2 -26
- package/dist/telemetry/performance/StubPerformanceClient.mjs.map +1 -1
- package/dist/telemetry/server/ServerTelemetryManager.d.ts +2 -2
- package/dist/telemetry/server/ServerTelemetryManager.d.ts.map +1 -1
- package/dist/telemetry/server/ServerTelemetryManager.mjs +28 -30
- package/dist/telemetry/server/ServerTelemetryManager.mjs.map +1 -1
- package/dist/url/UrlString.d.ts +0 -5
- package/dist/url/UrlString.d.ts.map +1 -1
- package/dist/url/UrlString.mjs +5 -13
- package/dist/url/UrlString.mjs.map +1 -1
- package/dist/utils/ClientAssertionUtils.mjs +1 -1
- package/dist/utils/ClientAssertionUtils.mjs.map +1 -1
- package/dist/utils/Constants.d.ts +81 -117
- package/dist/utils/Constants.d.ts.map +1 -1
- package/dist/utils/Constants.mjs +100 -131
- package/dist/utils/Constants.mjs.map +1 -1
- package/dist/utils/FunctionWrappers.d.ts +2 -2
- package/dist/utils/FunctionWrappers.d.ts.map +1 -1
- package/dist/utils/FunctionWrappers.mjs +19 -20
- package/dist/utils/FunctionWrappers.mjs.map +1 -1
- package/dist/utils/ProtocolUtils.mjs +7 -7
- package/dist/utils/ProtocolUtils.mjs.map +1 -1
- package/dist/utils/StringUtils.mjs +1 -1
- package/dist/utils/StringUtils.mjs.map +1 -1
- package/dist/utils/TimeUtils.mjs +1 -1
- package/dist/utils/TimeUtils.mjs.map +1 -1
- package/dist/utils/UrlUtils.d.ts +1 -2
- package/dist/utils/UrlUtils.d.ts.map +1 -1
- package/dist/utils/UrlUtils.mjs +3 -10
- package/dist/utils/UrlUtils.mjs.map +1 -1
- package/lib/index-browser.cjs +29 -222
- package/lib/index-browser.cjs.map +1 -1
- package/lib/{index-node-D8Iaiqq3.js → index-node-FrCFfFuh.js} +1606 -2493
- package/lib/index-node-FrCFfFuh.js.map +1 -0
- package/lib/index-node.cjs +4 -33
- package/lib/index-node.cjs.map +1 -1
- package/lib/index.cjs +3 -33
- package/lib/index.cjs.map +1 -1
- package/lib/types/account/AccountInfo.d.ts +0 -4
- package/lib/types/account/AccountInfo.d.ts.map +1 -1
- package/lib/types/account/ClientInfo.d.ts +1 -5
- package/lib/types/account/ClientInfo.d.ts.map +1 -1
- package/lib/types/authority/Authority.d.ts +2 -2
- package/lib/types/authority/Authority.d.ts.map +1 -1
- package/lib/types/authority/AuthorityFactory.d.ts +6 -2
- package/lib/types/authority/AuthorityFactory.d.ts.map +1 -1
- package/lib/types/authority/AuthorityMetadata.d.ts +2 -2
- package/lib/types/authority/AuthorityMetadata.d.ts.map +1 -1
- package/lib/types/authority/AuthorityOptions.d.ts +0 -1
- package/lib/types/authority/AuthorityOptions.d.ts.map +1 -1
- package/lib/types/authority/OIDCOptions.d.ts +2 -2
- package/lib/types/authority/OIDCOptions.d.ts.map +1 -1
- package/lib/types/authority/RegionDiscovery.d.ts +3 -3
- package/lib/types/authority/RegionDiscovery.d.ts.map +1 -1
- package/lib/types/cache/CacheManager.d.ts +25 -17
- package/lib/types/cache/CacheManager.d.ts.map +1 -1
- package/lib/types/cache/entities/AccessTokenEntity.d.ts +0 -4
- package/lib/types/cache/entities/AccessTokenEntity.d.ts.map +1 -1
- package/lib/types/cache/entities/AccountEntity.d.ts +4 -57
- package/lib/types/cache/entities/AccountEntity.d.ts.map +1 -1
- package/lib/types/cache/entities/CredentialEntity.d.ts +0 -2
- package/lib/types/cache/entities/CredentialEntity.d.ts.map +1 -1
- package/lib/types/cache/interface/ICacheManager.d.ts +41 -12
- package/lib/types/cache/interface/ICacheManager.d.ts.map +1 -1
- package/lib/types/cache/utils/AccountEntityUtils.d.ts +60 -0
- package/lib/types/cache/utils/AccountEntityUtils.d.ts.map +1 -0
- package/lib/types/cache/utils/CacheHelpers.d.ts +2 -2
- package/lib/types/cache/utils/CacheHelpers.d.ts.map +1 -1
- package/lib/types/cache/utils/CacheTypes.d.ts +0 -1
- package/lib/types/cache/utils/CacheTypes.d.ts.map +1 -1
- package/lib/types/client/AuthorizationCodeClient.d.ts +1 -1
- package/lib/types/client/AuthorizationCodeClient.d.ts.map +1 -1
- package/lib/types/client/BaseClient.d.ts +3 -3
- package/lib/types/client/BaseClient.d.ts.map +1 -1
- package/lib/types/client/RefreshTokenClient.d.ts +1 -1
- package/lib/types/client/RefreshTokenClient.d.ts.map +1 -1
- package/lib/types/client/SilentFlowClient.d.ts +1 -1
- package/lib/types/client/SilentFlowClient.d.ts.map +1 -1
- package/lib/types/config/ClientConfiguration.d.ts +2 -22
- package/lib/types/config/ClientConfiguration.d.ts.map +1 -1
- package/lib/types/crypto/ICrypto.d.ts +5 -3
- package/lib/types/crypto/ICrypto.d.ts.map +1 -1
- package/lib/types/crypto/PopTokenGenerator.d.ts +2 -2
- package/lib/types/crypto/PopTokenGenerator.d.ts.map +1 -1
- package/lib/types/error/AuthError.d.ts +1 -18
- package/lib/types/error/AuthError.d.ts.map +1 -1
- package/lib/types/error/CacheError.d.ts +1 -6
- package/lib/types/error/CacheError.d.ts.map +1 -1
- package/lib/types/error/ClientAuthError.d.ts +0 -224
- package/lib/types/error/ClientAuthError.d.ts.map +1 -1
- package/lib/types/error/ClientAuthErrorCodes.d.ts +0 -8
- package/lib/types/error/ClientAuthErrorCodes.d.ts.map +1 -1
- package/lib/types/error/ClientConfigurationError.d.ts +0 -123
- package/lib/types/error/ClientConfigurationError.d.ts.map +1 -1
- package/lib/types/error/ClientConfigurationErrorCodes.d.ts +0 -2
- package/lib/types/error/ClientConfigurationErrorCodes.d.ts.map +1 -1
- package/lib/types/error/InteractionRequiredAuthError.d.ts +1 -19
- package/lib/types/error/InteractionRequiredAuthError.d.ts.map +1 -1
- package/lib/types/error/JoseHeaderError.d.ts +0 -4
- package/lib/types/error/JoseHeaderError.d.ts.map +1 -1
- package/lib/types/exports-browser-only.d.ts +4 -3
- package/lib/types/exports-browser-only.d.ts.map +1 -1
- package/lib/types/exports-common.d.ts +8 -6
- package/lib/types/exports-common.d.ts.map +1 -1
- package/lib/types/exports-node-only.d.ts +1 -4
- package/lib/types/exports-node-only.d.ts.map +1 -1
- package/lib/types/logger/Logger.d.ts +12 -13
- package/lib/types/logger/Logger.d.ts.map +1 -1
- package/lib/types/network/ThrottlingUtils.d.ts.map +1 -1
- package/lib/types/packageMetadata.d.ts +1 -1
- package/lib/types/packageMetadata.d.ts.map +1 -1
- package/lib/types/protocol/Authorize.d.ts +1 -2
- package/lib/types/protocol/Authorize.d.ts.map +1 -1
- package/lib/types/request/AuthenticationHeaderParser.d.ts.map +1 -1
- package/lib/types/request/BaseAuthRequest.d.ts +1 -7
- package/lib/types/request/BaseAuthRequest.d.ts.map +1 -1
- package/lib/types/request/RequestParameterBuilder.d.ts +3 -9
- package/lib/types/request/RequestParameterBuilder.d.ts.map +1 -1
- package/lib/types/response/AuthenticationResult.d.ts +1 -1
- package/lib/types/response/AuthenticationResult.d.ts.map +1 -1
- package/lib/types/response/ResponseHandler.d.ts +6 -5
- package/lib/types/response/ResponseHandler.d.ts.map +1 -1
- package/lib/types/telemetry/performance/IPerformanceClient.d.ts +1 -31
- package/lib/types/telemetry/performance/IPerformanceClient.d.ts.map +1 -1
- package/lib/types/telemetry/performance/PerformanceClient.d.ts +6 -85
- package/lib/types/telemetry/performance/PerformanceClient.d.ts.map +1 -1
- package/lib/types/telemetry/performance/PerformanceEvent.d.ts +0 -282
- package/lib/types/telemetry/performance/PerformanceEvent.d.ts.map +1 -1
- package/lib/types/telemetry/performance/PerformanceEvents.d.ts +65 -0
- package/lib/types/telemetry/performance/PerformanceEvents.d.ts.map +1 -0
- package/lib/types/telemetry/performance/StubPerformanceClient.d.ts +0 -4
- package/lib/types/telemetry/performance/StubPerformanceClient.d.ts.map +1 -1
- package/lib/types/telemetry/server/ServerTelemetryManager.d.ts +2 -2
- package/lib/types/telemetry/server/ServerTelemetryManager.d.ts.map +1 -1
- package/lib/types/url/UrlString.d.ts +0 -5
- package/lib/types/url/UrlString.d.ts.map +1 -1
- package/lib/types/utils/Constants.d.ts +81 -117
- package/lib/types/utils/Constants.d.ts.map +1 -1
- package/lib/types/utils/FunctionWrappers.d.ts +2 -2
- package/lib/types/utils/FunctionWrappers.d.ts.map +1 -1
- package/lib/types/utils/UrlUtils.d.ts +1 -2
- package/lib/types/utils/UrlUtils.d.ts.map +1 -1
- package/package.json +120 -122
- package/src/account/AccountInfo.ts +0 -6
- package/src/account/ClientInfo.ts +4 -11
- package/src/authority/Authority.ts +145 -146
- package/src/authority/AuthorityFactory.ts +7 -7
- package/src/authority/AuthorityMetadata.ts +21 -12
- package/src/authority/AuthorityOptions.ts +0 -1
- package/src/authority/OIDCOptions.ts +2 -2
- package/src/authority/RegionDiscovery.ts +20 -33
- package/src/cache/CacheManager.ts +176 -126
- package/src/cache/entities/AccessTokenEntity.ts +0 -4
- package/src/cache/entities/AccountEntity.ts +4 -293
- package/src/cache/entities/CredentialEntity.ts +0 -2
- package/src/cache/interface/ICacheManager.ts +61 -15
- package/src/cache/utils/AccountEntityUtils.ts +287 -0
- package/src/cache/utils/CacheHelpers.ts +23 -37
- package/src/cache/utils/CacheTypes.ts +0 -1
- package/src/client/AuthorizationCodeClient.ts +28 -49
- package/src/client/BaseClient.ts +8 -20
- package/src/client/RefreshTokenClient.ts +29 -61
- package/src/client/SilentFlowClient.ts +11 -20
- package/src/config/ClientConfiguration.ts +9 -37
- package/src/crypto/ICrypto.ts +5 -3
- package/src/crypto/PopTokenGenerator.ts +3 -13
- package/src/error/AuthError.ts +11 -30
- package/src/error/CacheError.ts +4 -15
- package/src/error/ClientAuthError.ts +1 -311
- package/src/error/ClientAuthErrorCodes.ts +0 -8
- package/src/error/ClientConfigurationError.ts +1 -194
- package/src/error/ClientConfigurationErrorCodes.ts +0 -3
- package/src/error/InteractionRequiredAuthError.ts +8 -48
- package/src/error/JoseHeaderError.ts +1 -8
- package/src/exports-browser-only.ts +2 -6
- package/src/exports-common.ts +4 -34
- package/src/exports-node-only.ts +1 -4
- package/src/logger/Logger.ts +26 -39
- package/src/network/ThrottlingUtils.ts +12 -15
- package/src/packageMetadata.ts +1 -1
- package/src/protocol/Authorize.ts +24 -20
- package/src/request/AuthenticationHeaderParser.ts +2 -4
- package/src/request/BaseAuthRequest.ts +1 -7
- package/src/request/RequestParameterBuilder.ts +30 -45
- package/src/request/ScopeSet.ts +4 -4
- package/src/response/AuthenticationResult.ts +1 -1
- package/src/response/ResponseHandler.ts +53 -58
- package/src/telemetry/performance/IPerformanceClient.ts +1 -43
- package/src/telemetry/performance/PerformanceClient.ts +32 -295
- package/src/telemetry/performance/PerformanceEvent.ts +0 -586
- package/src/telemetry/performance/PerformanceEvents.ts +97 -0
- package/src/telemetry/performance/StubPerformanceClient.ts +0 -16
- package/src/telemetry/server/ServerTelemetryManager.ts +33 -44
- package/src/url/UrlString.ts +3 -12
- package/src/utils/Constants.ts +103 -146
- package/src/utils/FunctionWrappers.ts +28 -29
- package/src/utils/ProtocolUtils.ts +6 -6
- package/src/utils/UrlUtils.ts +2 -15
- package/dist/cache/entities/AccountEntity.mjs +0 -232
- package/dist/cache/entities/AccountEntity.mjs.map +0 -1
- package/dist/request/CommonClientCredentialRequest.d.ts +0 -18
- package/dist/request/CommonClientCredentialRequest.d.ts.map +0 -1
- package/dist/request/CommonDeviceCodeRequest.d.ts +0 -22
- package/dist/request/CommonDeviceCodeRequest.d.ts.map +0 -1
- package/dist/request/CommonOnBehalfOfRequest.d.ts +0 -14
- package/dist/request/CommonOnBehalfOfRequest.d.ts.map +0 -1
- package/dist/request/CommonUsernamePasswordRequest.d.ts +0 -18
- package/dist/request/CommonUsernamePasswordRequest.d.ts.map +0 -1
- package/lib/index-node-D8Iaiqq3.js.map +0 -1
- package/lib/types/request/CommonClientCredentialRequest.d.ts +0 -18
- package/lib/types/request/CommonClientCredentialRequest.d.ts.map +0 -1
- package/lib/types/request/CommonDeviceCodeRequest.d.ts +0 -22
- package/lib/types/request/CommonDeviceCodeRequest.d.ts.map +0 -1
- package/lib/types/request/CommonOnBehalfOfRequest.d.ts +0 -14
- package/lib/types/request/CommonOnBehalfOfRequest.d.ts.map +0 -1
- package/lib/types/request/CommonUsernamePasswordRequest.d.ts +0 -18
- package/lib/types/request/CommonUsernamePasswordRequest.d.ts.map +0 -1
- package/src/request/CommonClientCredentialRequest.ts +0 -23
- package/src/request/CommonDeviceCodeRequest.ts +0 -31
- package/src/request/CommonOnBehalfOfRequest.ts +0 -19
- package/src/request/CommonUsernamePasswordRequest.ts +0 -23
|
@@ -1,143 +1,17 @@
|
|
|
1
|
-
/*! @azure/msal-common
|
|
1
|
+
/*! @azure/msal-common v16.0.0-alpha.0 2025-10-02 */
|
|
2
2
|
'use strict';
|
|
3
3
|
import { AuthError } from './AuthError.mjs';
|
|
4
|
-
import { 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';
|
|
5
|
-
import * as ClientConfigurationErrorCodes from './ClientConfigurationErrorCodes.mjs';
|
|
6
|
-
export { ClientConfigurationErrorCodes };
|
|
7
4
|
|
|
8
5
|
/*
|
|
9
6
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
10
7
|
* Licensed under the MIT License.
|
|
11
8
|
*/
|
|
12
|
-
const ClientConfigurationErrorMessages = {
|
|
13
|
-
[redirectUriEmpty]: "A redirect URI is required for all calls, and none has been set.",
|
|
14
|
-
[claimsRequestParsingError]: "Could not parse the given claims request object.",
|
|
15
|
-
[authorityUriInsecure]: "Authority URIs must use https. Please see here for valid authority configuration options: https://docs.microsoft.com/en-us/azure/active-directory/develop/msal-js-initializing-client-applications#configuration-options",
|
|
16
|
-
[urlParseError]: "URL could not be parsed into appropriate segments.",
|
|
17
|
-
[urlEmptyError]: "URL was empty or null.",
|
|
18
|
-
[emptyInputScopesError]: "Scopes cannot be passed as null, undefined or empty array because they are required to obtain an access token.",
|
|
19
|
-
[invalidClaims]: "Given claims parameter must be a stringified JSON object.",
|
|
20
|
-
[tokenRequestEmpty]: "Token request was empty and not found in cache.",
|
|
21
|
-
[logoutRequestEmpty]: "The logout request was null or undefined.",
|
|
22
|
-
[invalidCodeChallengeMethod]: 'code_challenge_method passed is invalid. Valid values are "plain" and "S256".',
|
|
23
|
-
[pkceParamsMissing]: "Both params: code_challenge and code_challenge_method are to be passed if to be sent in the request",
|
|
24
|
-
[invalidCloudDiscoveryMetadata]: "Invalid cloudDiscoveryMetadata provided. Must be a stringified JSON object containing tenant_discovery_endpoint and metadata fields",
|
|
25
|
-
[invalidAuthorityMetadata]: "Invalid authorityMetadata provided. Must by a stringified JSON object containing authorization_endpoint, token_endpoint, issuer fields.",
|
|
26
|
-
[untrustedAuthority]: "The provided authority is not a trusted authority. Please include this authority in the knownAuthorities config parameter.",
|
|
27
|
-
[missingSshJwk]: "Missing sshJwk in SSH certificate request. A stringified JSON Web Key is required when using the SSH authentication scheme.",
|
|
28
|
-
[missingSshKid]: "Missing sshKid in SSH certificate request. A string that uniquely identifies the public SSH key is required when using the SSH authentication scheme.",
|
|
29
|
-
[missingNonceAuthenticationHeader]: "Unable to find an authentication header containing server nonce. Either the Authentication-Info or WWW-Authenticate headers must be present in order to obtain a server nonce.",
|
|
30
|
-
[invalidAuthenticationHeader]: "Invalid authentication header provided",
|
|
31
|
-
[cannotSetOIDCOptions]: "Cannot set OIDCOptions parameter. Please change the protocol mode to OIDC or use a non-Microsoft authority.",
|
|
32
|
-
[cannotAllowPlatformBroker]: "Cannot set allowPlatformBroker parameter to true when not in AAD protocol mode.",
|
|
33
|
-
[authorityMismatch]: "Authority mismatch error. Authority provided in login request or PublicClientApplication config does not match the environment of the provided account. Please use a matching account or make an interactive request to login to this authority.",
|
|
34
|
-
[invalidAuthorizePostBodyParameters]: "Invalid authorize post body parameters provided. If you are using authorizePostBodyParameters, the request method must be POST. Please check the request method and parameters.",
|
|
35
|
-
[invalidRequestMethodForEAR]: "Invalid request method for EAR protocol mode. The request method cannot be GET when using EAR protocol mode. Please change the request method to POST.",
|
|
36
|
-
};
|
|
37
|
-
/**
|
|
38
|
-
* ClientConfigurationErrorMessage class containing string constants used by error codes and messages.
|
|
39
|
-
* @deprecated Use ClientConfigurationErrorCodes instead
|
|
40
|
-
*/
|
|
41
|
-
const ClientConfigurationErrorMessage = {
|
|
42
|
-
redirectUriNotSet: {
|
|
43
|
-
code: redirectUriEmpty,
|
|
44
|
-
desc: ClientConfigurationErrorMessages[redirectUriEmpty],
|
|
45
|
-
},
|
|
46
|
-
claimsRequestParsingError: {
|
|
47
|
-
code: claimsRequestParsingError,
|
|
48
|
-
desc: ClientConfigurationErrorMessages[claimsRequestParsingError],
|
|
49
|
-
},
|
|
50
|
-
authorityUriInsecure: {
|
|
51
|
-
code: authorityUriInsecure,
|
|
52
|
-
desc: ClientConfigurationErrorMessages[authorityUriInsecure],
|
|
53
|
-
},
|
|
54
|
-
urlParseError: {
|
|
55
|
-
code: urlParseError,
|
|
56
|
-
desc: ClientConfigurationErrorMessages[urlParseError],
|
|
57
|
-
},
|
|
58
|
-
urlEmptyError: {
|
|
59
|
-
code: urlEmptyError,
|
|
60
|
-
desc: ClientConfigurationErrorMessages[urlEmptyError],
|
|
61
|
-
},
|
|
62
|
-
emptyScopesError: {
|
|
63
|
-
code: emptyInputScopesError,
|
|
64
|
-
desc: ClientConfigurationErrorMessages[emptyInputScopesError],
|
|
65
|
-
},
|
|
66
|
-
invalidClaimsRequest: {
|
|
67
|
-
code: invalidClaims,
|
|
68
|
-
desc: ClientConfigurationErrorMessages[invalidClaims],
|
|
69
|
-
},
|
|
70
|
-
tokenRequestEmptyError: {
|
|
71
|
-
code: tokenRequestEmpty,
|
|
72
|
-
desc: ClientConfigurationErrorMessages[tokenRequestEmpty],
|
|
73
|
-
},
|
|
74
|
-
logoutRequestEmptyError: {
|
|
75
|
-
code: logoutRequestEmpty,
|
|
76
|
-
desc: ClientConfigurationErrorMessages[logoutRequestEmpty],
|
|
77
|
-
},
|
|
78
|
-
invalidCodeChallengeMethod: {
|
|
79
|
-
code: invalidCodeChallengeMethod,
|
|
80
|
-
desc: ClientConfigurationErrorMessages[invalidCodeChallengeMethod],
|
|
81
|
-
},
|
|
82
|
-
invalidCodeChallengeParams: {
|
|
83
|
-
code: pkceParamsMissing,
|
|
84
|
-
desc: ClientConfigurationErrorMessages[pkceParamsMissing],
|
|
85
|
-
},
|
|
86
|
-
invalidCloudDiscoveryMetadata: {
|
|
87
|
-
code: invalidCloudDiscoveryMetadata,
|
|
88
|
-
desc: ClientConfigurationErrorMessages[invalidCloudDiscoveryMetadata],
|
|
89
|
-
},
|
|
90
|
-
invalidAuthorityMetadata: {
|
|
91
|
-
code: invalidAuthorityMetadata,
|
|
92
|
-
desc: ClientConfigurationErrorMessages[invalidAuthorityMetadata],
|
|
93
|
-
},
|
|
94
|
-
untrustedAuthority: {
|
|
95
|
-
code: untrustedAuthority,
|
|
96
|
-
desc: ClientConfigurationErrorMessages[untrustedAuthority],
|
|
97
|
-
},
|
|
98
|
-
missingSshJwk: {
|
|
99
|
-
code: missingSshJwk,
|
|
100
|
-
desc: ClientConfigurationErrorMessages[missingSshJwk],
|
|
101
|
-
},
|
|
102
|
-
missingSshKid: {
|
|
103
|
-
code: missingSshKid,
|
|
104
|
-
desc: ClientConfigurationErrorMessages[missingSshKid],
|
|
105
|
-
},
|
|
106
|
-
missingNonceAuthenticationHeader: {
|
|
107
|
-
code: missingNonceAuthenticationHeader,
|
|
108
|
-
desc: ClientConfigurationErrorMessages[missingNonceAuthenticationHeader],
|
|
109
|
-
},
|
|
110
|
-
invalidAuthenticationHeader: {
|
|
111
|
-
code: invalidAuthenticationHeader,
|
|
112
|
-
desc: ClientConfigurationErrorMessages[invalidAuthenticationHeader],
|
|
113
|
-
},
|
|
114
|
-
cannotSetOIDCOptions: {
|
|
115
|
-
code: cannotSetOIDCOptions,
|
|
116
|
-
desc: ClientConfigurationErrorMessages[cannotSetOIDCOptions],
|
|
117
|
-
},
|
|
118
|
-
cannotAllowPlatformBroker: {
|
|
119
|
-
code: cannotAllowPlatformBroker,
|
|
120
|
-
desc: ClientConfigurationErrorMessages[cannotAllowPlatformBroker],
|
|
121
|
-
},
|
|
122
|
-
authorityMismatch: {
|
|
123
|
-
code: authorityMismatch,
|
|
124
|
-
desc: ClientConfigurationErrorMessages[authorityMismatch],
|
|
125
|
-
},
|
|
126
|
-
invalidAuthorizePostBodyParameters: {
|
|
127
|
-
code: invalidAuthorizePostBodyParameters,
|
|
128
|
-
desc: ClientConfigurationErrorMessages[invalidAuthorizePostBodyParameters],
|
|
129
|
-
},
|
|
130
|
-
invalidRequestMethodForEAR: {
|
|
131
|
-
code: invalidRequestMethodForEAR,
|
|
132
|
-
desc: ClientConfigurationErrorMessages[invalidRequestMethodForEAR],
|
|
133
|
-
},
|
|
134
|
-
};
|
|
135
9
|
/**
|
|
136
10
|
* Error thrown when there is an error in configuration of the MSAL.js library.
|
|
137
11
|
*/
|
|
138
12
|
class ClientConfigurationError extends AuthError {
|
|
139
13
|
constructor(errorCode) {
|
|
140
|
-
super(errorCode
|
|
14
|
+
super(errorCode);
|
|
141
15
|
this.name = "ClientConfigurationError";
|
|
142
16
|
Object.setPrototypeOf(this, ClientConfigurationError.prototype);
|
|
143
17
|
}
|
|
@@ -146,5 +20,5 @@ function createClientConfigurationError(errorCode) {
|
|
|
146
20
|
return new ClientConfigurationError(errorCode);
|
|
147
21
|
}
|
|
148
22
|
|
|
149
|
-
export { ClientConfigurationError,
|
|
23
|
+
export { ClientConfigurationError, createClientConfigurationError };
|
|
150
24
|
//# sourceMappingURL=ClientConfigurationError.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ClientConfigurationError.mjs","sources":["../../src/error/ClientConfigurationError.ts"],"sourcesContent":[null],"names":[
|
|
1
|
+
{"version":3,"file":"ClientConfigurationError.mjs","sources":["../../src/error/ClientConfigurationError.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;AAAA;;;AAGG;AAMH;;AAEG;AACG,MAAO,wBAAyB,SAAQ,SAAS,CAAA;AACnD,IAAA,WAAA,CAAY,SAAiB,EAAA;QACzB,KAAK,CAAC,SAAS,CAAC,CAAC;AACjB,QAAA,IAAI,CAAC,IAAI,GAAG,0BAA0B,CAAC;QACvC,MAAM,CAAC,cAAc,CAAC,IAAI,EAAE,wBAAwB,CAAC,SAAS,CAAC,CAAC;IACpE,CAAC;AACJ,CAAA;AAEK,SAAU,8BAA8B,CAC1C,SAAiB,EAAA;AAEjB,IAAA,OAAO,IAAI,wBAAwB,CAAC,SAAS,CAAC,CAAC;AACnD;;;;"}
|
|
@@ -19,6 +19,4 @@ export declare const invalidAuthenticationHeader = "invalid_authentication_heade
|
|
|
19
19
|
export declare const cannotSetOIDCOptions = "cannot_set_OIDCOptions";
|
|
20
20
|
export declare const cannotAllowPlatformBroker = "cannot_allow_platform_broker";
|
|
21
21
|
export declare const authorityMismatch = "authority_mismatch";
|
|
22
|
-
export declare const invalidRequestMethodForEAR = "invalid_request_method_for_EAR";
|
|
23
|
-
export declare const invalidAuthorizePostBodyParameters = "invalid_authorize_post_body_parameters";
|
|
24
22
|
//# sourceMappingURL=ClientConfigurationErrorCodes.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ClientConfigurationErrorCodes.d.ts","sourceRoot":"","sources":["../../src/error/ClientConfigurationErrorCodes.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,gBAAgB,uBAAuB,CAAC;AACrD,eAAO,MAAM,yBAAyB,iCAAiC,CAAC;AACxE,eAAO,MAAM,oBAAoB,2BAA2B,CAAC;AAC7D,eAAO,MAAM,aAAa,oBAAoB,CAAC;AAC/C,eAAO,MAAM,aAAa,oBAAoB,CAAC;AAC/C,eAAO,MAAM,qBAAqB,6BAA6B,CAAC;AAChE,eAAO,MAAM,aAAa,mBAAmB,CAAC;AAC9C,eAAO,MAAM,iBAAiB,wBAAwB,CAAC;AACvD,eAAO,MAAM,kBAAkB,yBAAyB,CAAC;AACzD,eAAO,MAAM,0BAA0B,kCAAkC,CAAC;AAC1E,eAAO,MAAM,iBAAiB,wBAAwB,CAAC;AACvD,eAAO,MAAM,6BAA6B,qCAAqC,CAAC;AAChF,eAAO,MAAM,wBAAwB,+BAA+B,CAAC;AACrE,eAAO,MAAM,kBAAkB,wBAAwB,CAAC;AACxD,eAAO,MAAM,aAAa,oBAAoB,CAAC;AAC/C,eAAO,MAAM,aAAa,oBAAoB,CAAC;AAC/C,eAAO,MAAM,gCAAgC,wCACJ,CAAC;AAC1C,eAAO,MAAM,2BAA2B,kCAAkC,CAAC;AAC3E,eAAO,MAAM,oBAAoB,2BAA2B,CAAC;AAC7D,eAAO,MAAM,yBAAyB,iCAAiC,CAAC;AACxE,eAAO,MAAM,iBAAiB,uBAAuB,CAAC
|
|
1
|
+
{"version":3,"file":"ClientConfigurationErrorCodes.d.ts","sourceRoot":"","sources":["../../src/error/ClientConfigurationErrorCodes.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,gBAAgB,uBAAuB,CAAC;AACrD,eAAO,MAAM,yBAAyB,iCAAiC,CAAC;AACxE,eAAO,MAAM,oBAAoB,2BAA2B,CAAC;AAC7D,eAAO,MAAM,aAAa,oBAAoB,CAAC;AAC/C,eAAO,MAAM,aAAa,oBAAoB,CAAC;AAC/C,eAAO,MAAM,qBAAqB,6BAA6B,CAAC;AAChE,eAAO,MAAM,aAAa,mBAAmB,CAAC;AAC9C,eAAO,MAAM,iBAAiB,wBAAwB,CAAC;AACvD,eAAO,MAAM,kBAAkB,yBAAyB,CAAC;AACzD,eAAO,MAAM,0BAA0B,kCAAkC,CAAC;AAC1E,eAAO,MAAM,iBAAiB,wBAAwB,CAAC;AACvD,eAAO,MAAM,6BAA6B,qCAAqC,CAAC;AAChF,eAAO,MAAM,wBAAwB,+BAA+B,CAAC;AACrE,eAAO,MAAM,kBAAkB,wBAAwB,CAAC;AACxD,eAAO,MAAM,aAAa,oBAAoB,CAAC;AAC/C,eAAO,MAAM,aAAa,oBAAoB,CAAC;AAC/C,eAAO,MAAM,gCAAgC,wCACJ,CAAC;AAC1C,eAAO,MAAM,2BAA2B,kCAAkC,CAAC;AAC3E,eAAO,MAAM,oBAAoB,2BAA2B,CAAC;AAC7D,eAAO,MAAM,yBAAyB,iCAAiC,CAAC;AACxE,eAAO,MAAM,iBAAiB,uBAAuB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @azure/msal-common
|
|
1
|
+
/*! @azure/msal-common v16.0.0-alpha.0 2025-10-02 */
|
|
2
2
|
'use strict';
|
|
3
3
|
/*
|
|
4
4
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -24,9 +24,7 @@ const missingNonceAuthenticationHeader = "missing_nonce_authentication_header";
|
|
|
24
24
|
const invalidAuthenticationHeader = "invalid_authentication_header";
|
|
25
25
|
const cannotSetOIDCOptions = "cannot_set_OIDCOptions";
|
|
26
26
|
const cannotAllowPlatformBroker = "cannot_allow_platform_broker";
|
|
27
|
-
const authorityMismatch = "authority_mismatch";
|
|
28
|
-
const invalidRequestMethodForEAR = "invalid_request_method_for_EAR";
|
|
29
|
-
const invalidAuthorizePostBodyParameters = "invalid_authorize_post_body_parameters";
|
|
27
|
+
const authorityMismatch = "authority_mismatch";
|
|
30
28
|
|
|
31
|
-
export { authorityMismatch, authorityUriInsecure, cannotAllowPlatformBroker, cannotSetOIDCOptions, claimsRequestParsingError, emptyInputScopesError, invalidAuthenticationHeader, invalidAuthorityMetadata,
|
|
29
|
+
export { authorityMismatch, authorityUriInsecure, cannotAllowPlatformBroker, cannotSetOIDCOptions, claimsRequestParsingError, emptyInputScopesError, invalidAuthenticationHeader, invalidAuthorityMetadata, invalidClaims, invalidCloudDiscoveryMetadata, invalidCodeChallengeMethod, logoutRequestEmpty, missingNonceAuthenticationHeader, missingSshJwk, missingSshKid, pkceParamsMissing, redirectUriEmpty, tokenRequestEmpty, untrustedAuthority, urlEmptyError, urlParseError };
|
|
32
30
|
//# sourceMappingURL=ClientConfigurationErrorCodes.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ClientConfigurationErrorCodes.mjs","sources":["../../src/error/ClientConfigurationErrorCodes.ts"],"sourcesContent":[null],"names":[],"mappings":";;AAAA;;;AAGG;AAEI,MAAM,gBAAgB,GAAG,qBAAqB;AAC9C,MAAM,yBAAyB,GAAG,+BAA+B;AACjE,MAAM,oBAAoB,GAAG,yBAAyB;AACtD,MAAM,aAAa,GAAG,kBAAkB;AACxC,MAAM,aAAa,GAAG,kBAAkB;AACxC,MAAM,qBAAqB,GAAG,2BAA2B;AACzD,MAAM,aAAa,GAAG,iBAAiB;AACvC,MAAM,iBAAiB,GAAG,sBAAsB;AAChD,MAAM,kBAAkB,GAAG,uBAAuB;AAClD,MAAM,0BAA0B,GAAG,gCAAgC;AACnE,MAAM,iBAAiB,GAAG,sBAAsB;AAChD,MAAM,6BAA6B,GAAG,mCAAmC;AACzE,MAAM,wBAAwB,GAAG,6BAA6B;AAC9D,MAAM,kBAAkB,GAAG,sBAAsB;AACjD,MAAM,aAAa,GAAG,kBAAkB;AACxC,MAAM,aAAa,GAAG,kBAAkB;AACxC,MAAM,gCAAgC,GACzC,sCAAsC;AACnC,MAAM,2BAA2B,GAAG,gCAAgC;AACpE,MAAM,oBAAoB,GAAG,yBAAyB;AACtD,MAAM,yBAAyB,GAAG,+BAA+B;AACjE,MAAM,iBAAiB,GAAG
|
|
1
|
+
{"version":3,"file":"ClientConfigurationErrorCodes.mjs","sources":["../../src/error/ClientConfigurationErrorCodes.ts"],"sourcesContent":[null],"names":[],"mappings":";;AAAA;;;AAGG;AAEI,MAAM,gBAAgB,GAAG,qBAAqB;AAC9C,MAAM,yBAAyB,GAAG,+BAA+B;AACjE,MAAM,oBAAoB,GAAG,yBAAyB;AACtD,MAAM,aAAa,GAAG,kBAAkB;AACxC,MAAM,aAAa,GAAG,kBAAkB;AACxC,MAAM,qBAAqB,GAAG,2BAA2B;AACzD,MAAM,aAAa,GAAG,iBAAiB;AACvC,MAAM,iBAAiB,GAAG,sBAAsB;AAChD,MAAM,kBAAkB,GAAG,uBAAuB;AAClD,MAAM,0BAA0B,GAAG,gCAAgC;AACnE,MAAM,iBAAiB,GAAG,sBAAsB;AAChD,MAAM,6BAA6B,GAAG,mCAAmC;AACzE,MAAM,wBAAwB,GAAG,6BAA6B;AAC9D,MAAM,kBAAkB,GAAG,sBAAsB;AACjD,MAAM,aAAa,GAAG,kBAAkB;AACxC,MAAM,aAAa,GAAG,kBAAkB;AACxC,MAAM,gCAAgC,GACzC,sCAAsC;AACnC,MAAM,2BAA2B,GAAG,gCAAgC;AACpE,MAAM,oBAAoB,GAAG,yBAAyB;AACtD,MAAM,yBAAyB,GAAG,+BAA+B;AACjE,MAAM,iBAAiB,GAAG;;;;"}
|
|
@@ -6,24 +6,6 @@ export { InteractionRequiredAuthErrorCodes };
|
|
|
6
6
|
*/
|
|
7
7
|
export declare const InteractionRequiredServerErrorMessage: string[];
|
|
8
8
|
export declare const InteractionRequiredAuthSubErrorMessage: string[];
|
|
9
|
-
/**
|
|
10
|
-
* Interaction required errors defined by the SDK
|
|
11
|
-
* @deprecated Use InteractionRequiredAuthErrorCodes instead
|
|
12
|
-
*/
|
|
13
|
-
export declare const InteractionRequiredAuthErrorMessage: {
|
|
14
|
-
noTokensFoundError: {
|
|
15
|
-
code: string;
|
|
16
|
-
desc: string;
|
|
17
|
-
};
|
|
18
|
-
native_account_unavailable: {
|
|
19
|
-
code: string;
|
|
20
|
-
desc: string;
|
|
21
|
-
};
|
|
22
|
-
bad_token: {
|
|
23
|
-
code: string;
|
|
24
|
-
desc: string;
|
|
25
|
-
};
|
|
26
|
-
};
|
|
27
9
|
/**
|
|
28
10
|
* Error thrown when user interaction is required.
|
|
29
11
|
*/
|
|
@@ -62,5 +44,5 @@ export declare function isInteractionRequiredError(errorCode?: string, errorStri
|
|
|
62
44
|
/**
|
|
63
45
|
* Creates an InteractionRequiredAuthError
|
|
64
46
|
*/
|
|
65
|
-
export declare function createInteractionRequiredAuthError(errorCode: string): InteractionRequiredAuthError;
|
|
47
|
+
export declare function createInteractionRequiredAuthError(errorCode: string, errorMessage?: string): InteractionRequiredAuthError;
|
|
66
48
|
//# sourceMappingURL=InteractionRequiredAuthError.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InteractionRequiredAuthError.d.ts","sourceRoot":"","sources":["../../src/error/InteractionRequiredAuthError.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"InteractionRequiredAuthError.d.ts","sourceRoot":"","sources":["../../src/error/InteractionRequiredAuthError.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,KAAK,iCAAiC,MAAM,wCAAwC,CAAC;AAC5F,OAAO,EAAE,iCAAiC,EAAE,CAAC;AAE7C;;GAEG;AACH,eAAO,MAAM,qCAAqC,UAMjD,CAAC;AAEF,eAAO,MAAM,sCAAsC,UAQlD,CAAC;AAEF;;GAEG;AACH,qBAAa,4BAA6B,SAAQ,SAAS;IACvD;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;;;;;;;OAQG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC;gBAGtB,SAAS,CAAC,EAAE,MAAM,EAClB,YAAY,CAAC,EAAE,MAAM,EACrB,QAAQ,CAAC,EAAE,MAAM,EACjB,SAAS,CAAC,EAAE,MAAM,EAClB,OAAO,CAAC,EAAE,MAAM,EAChB,aAAa,CAAC,EAAE,MAAM,EACtB,MAAM,CAAC,EAAE,MAAM,EACf,OAAO,CAAC,EAAE,MAAM;CAYvB;AAED;;;;;GAKG;AACH,wBAAgB,0BAA0B,CACtC,SAAS,CAAC,EAAE,MAAM,EAClB,WAAW,CAAC,EAAE,MAAM,EACpB,QAAQ,CAAC,EAAE,MAAM,GAClB,OAAO,CAkBT;AAED;;GAEG;AACH,wBAAgB,kCAAkC,CAC9C,SAAS,EAAE,MAAM,EACjB,YAAY,CAAC,EAAE,MAAM,GACtB,4BAA4B,CAE9B"}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
/*! @azure/msal-common
|
|
1
|
+
/*! @azure/msal-common v16.0.0-alpha.0 2025-10-02 */
|
|
2
2
|
'use strict';
|
|
3
|
-
import { Constants } from '../utils/Constants.mjs';
|
|
4
3
|
import { AuthError } from './AuthError.mjs';
|
|
5
|
-
import {
|
|
4
|
+
import { interactionRequired, consentRequired, loginRequired, badToken, uxNotAllowed } from './InteractionRequiredAuthErrorCodes.mjs';
|
|
6
5
|
import * as InteractionRequiredAuthErrorCodes from './InteractionRequiredAuthErrorCodes.mjs';
|
|
7
6
|
export { InteractionRequiredAuthErrorCodes };
|
|
8
7
|
|
|
@@ -27,32 +26,8 @@ const InteractionRequiredAuthSubErrorMessage = [
|
|
|
27
26
|
"user_password_expired",
|
|
28
27
|
"consent_required",
|
|
29
28
|
"bad_token",
|
|
29
|
+
"ux_not_allowed",
|
|
30
30
|
];
|
|
31
|
-
const InteractionRequiredAuthErrorMessages = {
|
|
32
|
-
[noTokensFound]: "No refresh token found in the cache. Please sign-in.",
|
|
33
|
-
[nativeAccountUnavailable]: "The requested account is not available in the native broker. It may have been deleted or logged out. Please sign-in again using an interactive API.",
|
|
34
|
-
[refreshTokenExpired]: "Refresh token has expired.",
|
|
35
|
-
[badToken]: "Identity provider returned bad_token due to an expired or invalid refresh token. Please invoke an interactive API to resolve.",
|
|
36
|
-
[uxNotAllowed]: "`canShowUI` flag in Edge was set to false. User interaction required on web page. Please invoke an interactive API to resolve.",
|
|
37
|
-
};
|
|
38
|
-
/**
|
|
39
|
-
* Interaction required errors defined by the SDK
|
|
40
|
-
* @deprecated Use InteractionRequiredAuthErrorCodes instead
|
|
41
|
-
*/
|
|
42
|
-
const InteractionRequiredAuthErrorMessage = {
|
|
43
|
-
noTokensFoundError: {
|
|
44
|
-
code: noTokensFound,
|
|
45
|
-
desc: InteractionRequiredAuthErrorMessages[noTokensFound],
|
|
46
|
-
},
|
|
47
|
-
native_account_unavailable: {
|
|
48
|
-
code: nativeAccountUnavailable,
|
|
49
|
-
desc: InteractionRequiredAuthErrorMessages[nativeAccountUnavailable],
|
|
50
|
-
},
|
|
51
|
-
bad_token: {
|
|
52
|
-
code: badToken,
|
|
53
|
-
desc: InteractionRequiredAuthErrorMessages[badToken],
|
|
54
|
-
},
|
|
55
|
-
};
|
|
56
31
|
/**
|
|
57
32
|
* Error thrown when user interaction is required.
|
|
58
33
|
*/
|
|
@@ -60,10 +35,10 @@ class InteractionRequiredAuthError extends AuthError {
|
|
|
60
35
|
constructor(errorCode, errorMessage, subError, timestamp, traceId, correlationId, claims, errorNo) {
|
|
61
36
|
super(errorCode, errorMessage, subError);
|
|
62
37
|
Object.setPrototypeOf(this, InteractionRequiredAuthError.prototype);
|
|
63
|
-
this.timestamp = timestamp ||
|
|
64
|
-
this.traceId = traceId ||
|
|
65
|
-
this.correlationId = correlationId ||
|
|
66
|
-
this.claims = claims ||
|
|
38
|
+
this.timestamp = timestamp || "";
|
|
39
|
+
this.traceId = traceId || "";
|
|
40
|
+
this.correlationId = correlationId || "";
|
|
41
|
+
this.claims = claims || "";
|
|
67
42
|
this.name = "InteractionRequiredAuthError";
|
|
68
43
|
this.errorNo = errorNo;
|
|
69
44
|
}
|
|
@@ -90,9 +65,9 @@ function isInteractionRequiredError(errorCode, errorString, subError) {
|
|
|
90
65
|
/**
|
|
91
66
|
* Creates an InteractionRequiredAuthError
|
|
92
67
|
*/
|
|
93
|
-
function createInteractionRequiredAuthError(errorCode) {
|
|
94
|
-
return new InteractionRequiredAuthError(errorCode,
|
|
68
|
+
function createInteractionRequiredAuthError(errorCode, errorMessage) {
|
|
69
|
+
return new InteractionRequiredAuthError(errorCode, errorMessage);
|
|
95
70
|
}
|
|
96
71
|
|
|
97
|
-
export { InteractionRequiredAuthError,
|
|
72
|
+
export { InteractionRequiredAuthError, InteractionRequiredAuthSubErrorMessage, InteractionRequiredServerErrorMessage, createInteractionRequiredAuthError, isInteractionRequiredError };
|
|
98
73
|
//# sourceMappingURL=InteractionRequiredAuthError.mjs.map
|
|
@@ -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"
|
|
1
|
+
{"version":3,"file":"InteractionRequiredAuthError.mjs","sources":["../../src/error/InteractionRequiredAuthError.ts"],"sourcesContent":[null],"names":["InteractionRequiredAuthErrorCodes.interactionRequired","InteractionRequiredAuthErrorCodes.consentRequired","InteractionRequiredAuthErrorCodes.loginRequired","InteractionRequiredAuthErrorCodes.badToken","InteractionRequiredAuthErrorCodes.uxNotAllowed"],"mappings":";;;;;;;AAAA;;;AAGG;AAMH;;AAEG;AACI,MAAM,qCAAqC,GAAG;AACjD,IAAAA,mBAAqD;AACrD,IAAAC,eAAiD;AACjD,IAAAC,aAA+C;AAC/C,IAAAC,QAA0C;AAC1C,IAAAC,YAA8C;EAChD;AAEK,MAAM,sCAAsC,GAAG;IAClD,cAAc;IACd,mBAAmB;IACnB,cAAc;IACd,uBAAuB;IACvB,kBAAkB;IAClB,WAAW;IACX,gBAAgB;EAClB;AAEF;;AAEG;AACG,MAAO,4BAA6B,SAAQ,SAAS,CAAA;AA2BvD,IAAA,WAAA,CACI,SAAkB,EAClB,YAAqB,EACrB,QAAiB,EACjB,SAAkB,EAClB,OAAgB,EAChB,aAAsB,EACtB,MAAe,EACf,OAAgB,EAAA;AAEhB,QAAA,KAAK,CAAC,SAAS,EAAE,YAAY,EAAE,QAAQ,CAAC,CAAC;QACzC,MAAM,CAAC,cAAc,CAAC,IAAI,EAAE,4BAA4B,CAAC,SAAS,CAAC,CAAC;AAEpE,QAAA,IAAI,CAAC,SAAS,GAAG,SAAS,IAAI,EAAE,CAAC;AACjC,QAAA,IAAI,CAAC,OAAO,GAAG,OAAO,IAAI,EAAE,CAAC;AAC7B,QAAA,IAAI,CAAC,aAAa,GAAG,aAAa,IAAI,EAAE,CAAC;AACzC,QAAA,IAAI,CAAC,MAAM,GAAG,MAAM,IAAI,EAAE,CAAC;AAC3B,QAAA,IAAI,CAAC,IAAI,GAAG,8BAA8B,CAAC;AAC3C,QAAA,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IAC3B,CAAC;AACJ,CAAA;AAED;;;;;AAKG;SACa,0BAA0B,CACtC,SAAkB,EAClB,WAAoB,EACpB,QAAiB,EAAA;AAEjB,IAAA,MAAM,8BAA8B,GAChC,CAAC,CAAC,SAAS;QACX,qCAAqC,CAAC,OAAO,CAAC,SAAS,CAAC,GAAG,EAAE,CAAC;AAClE,IAAA,MAAM,6BAA6B,GAC/B,CAAC,CAAC,QAAQ;QACV,sCAAsC,CAAC,OAAO,CAAC,QAAQ,CAAC,GAAG,EAAE,CAAC;AAClE,IAAA,MAAM,8BAA8B,GAChC,CAAC,CAAC,WAAW;AACb,QAAA,qCAAqC,CAAC,IAAI,CAAC,CAAC,WAAW,KAAI;YACvD,OAAO,WAAW,CAAC,OAAO,CAAC,WAAW,CAAC,GAAG,EAAE,CAAC;AACjD,QAAA,CAAC,CAAC,CAAC;AAEP,IAAA,QACI,8BAA8B;QAC9B,8BAA8B;AAC9B,QAAA,6BAA6B,EAC/B;AACN,CAAC;AAED;;AAEG;AACG,SAAU,kCAAkC,CAC9C,SAAiB,EACjB,YAAqB,EAAA;AAErB,IAAA,OAAO,IAAI,4BAA4B,CAAC,SAAS,EAAE,YAAY,CAAC,CAAC;AACrE;;;;"}
|
|
@@ -1,10 +1,6 @@
|
|
|
1
1
|
import { AuthError } from "./AuthError.js";
|
|
2
2
|
import * as JoseHeaderErrorCodes from "./JoseHeaderErrorCodes.js";
|
|
3
3
|
export { JoseHeaderErrorCodes };
|
|
4
|
-
export declare const JoseHeaderErrorMessages: {
|
|
5
|
-
missing_kid_error: string;
|
|
6
|
-
missing_alg_error: string;
|
|
7
|
-
};
|
|
8
4
|
/**
|
|
9
5
|
* Error thrown when there is an error in the client code running on the browser.
|
|
10
6
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"JoseHeaderError.d.ts","sourceRoot":"","sources":["../../src/error/JoseHeaderError.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,KAAK,oBAAoB,MAAM,2BAA2B,CAAC;AAClE,OAAO,EAAE,oBAAoB,EAAE,CAAC;AAEhC
|
|
1
|
+
{"version":3,"file":"JoseHeaderError.d.ts","sourceRoot":"","sources":["../../src/error/JoseHeaderError.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,KAAK,oBAAoB,MAAM,2BAA2B,CAAC;AAClE,OAAO,EAAE,oBAAoB,EAAE,CAAC;AAEhC;;GAEG;AACH,qBAAa,eAAgB,SAAQ,SAAS;gBAC9B,SAAS,EAAE,MAAM,EAAE,YAAY,CAAC,EAAE,MAAM;CAMvD;AAED,qCAAqC;AACrC,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,MAAM,GAAG,eAAe,CAEnE"}
|
|
@@ -1,16 +1,11 @@
|
|
|
1
|
-
/*! @azure/msal-common
|
|
1
|
+
/*! @azure/msal-common v16.0.0-alpha.0 2025-10-02 */
|
|
2
2
|
'use strict';
|
|
3
3
|
import { AuthError } from './AuthError.mjs';
|
|
4
|
-
import { missingAlgError, missingKidError } from './JoseHeaderErrorCodes.mjs';
|
|
5
4
|
|
|
6
5
|
/*
|
|
7
6
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
8
7
|
* Licensed under the MIT License.
|
|
9
8
|
*/
|
|
10
|
-
const JoseHeaderErrorMessages = {
|
|
11
|
-
[missingKidError]: "The JOSE Header for the requested JWT, JWS or JWK object requires a keyId to be configured as the 'kid' header claim. No 'kid' value was provided.",
|
|
12
|
-
[missingAlgError]: "The JOSE Header for the requested JWT, JWS or JWK object requires an algorithm to be specified as the 'alg' header claim. No 'alg' value was provided.",
|
|
13
|
-
};
|
|
14
9
|
/**
|
|
15
10
|
* Error thrown when there is an error in the client code running on the browser.
|
|
16
11
|
*/
|
|
@@ -23,8 +18,8 @@ class JoseHeaderError extends AuthError {
|
|
|
23
18
|
}
|
|
24
19
|
/** Returns JoseHeaderError object */
|
|
25
20
|
function createJoseHeaderError(code) {
|
|
26
|
-
return new JoseHeaderError(code
|
|
21
|
+
return new JoseHeaderError(code);
|
|
27
22
|
}
|
|
28
23
|
|
|
29
|
-
export { JoseHeaderError,
|
|
24
|
+
export { JoseHeaderError, createJoseHeaderError };
|
|
30
25
|
//# sourceMappingURL=JoseHeaderError.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"JoseHeaderError.mjs","sources":["../../src/error/JoseHeaderError.ts"],"sourcesContent":[null],"names":[
|
|
1
|
+
{"version":3,"file":"JoseHeaderError.mjs","sources":["../../src/error/JoseHeaderError.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;AAAA;;;AAGG;AAMH;;AAEG;AACG,MAAO,eAAgB,SAAQ,SAAS,CAAA;IAC1C,WAAA,CAAY,SAAiB,EAAE,YAAqB,EAAA;AAChD,QAAA,KAAK,CAAC,SAAS,EAAE,YAAY,CAAC,CAAC;AAC/B,QAAA,IAAI,CAAC,IAAI,GAAG,iBAAiB,CAAC;QAE9B,MAAM,CAAC,cAAc,CAAC,IAAI,EAAE,eAAe,CAAC,SAAS,CAAC,CAAC;IAC3D,CAAC;AACJ,CAAA;AAED;AACM,SAAU,qBAAqB,CAAC,IAAY,EAAA;AAC9C,IAAA,OAAO,IAAI,eAAe,CAAC,IAAI,CAAC,CAAC;AACrC;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NetworkError.mjs","sources":["../../src/error/NetworkError.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;AAAA;;;AAGG;AAIH;;AAEG;AACG,MAAO,YAAa,SAAQ,SAAS,CAAA;AAKvC,IAAA,WAAA,CACI,KAAgB,EAChB,UAAmB,EACnB,eAAwC,EAAA;AAExC,QAAA,KAAK,CAAC,KAAK,CAAC,SAAS,EAAE,KAAK,CAAC,YAAY,EAAE,KAAK,CAAC,QAAQ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;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ServerError.mjs","sources":["../../src/error/ServerError.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;AAAA;;;AAGG;AAIH;;AAEG;AACG,MAAO,WAAY,SAAQ,SAAS,CAAA;IAWtC,
|
|
1
|
+
{"version":3,"file":"ServerError.mjs","sources":["../../src/error/ServerError.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;AAAA;;;AAGG;AAIH;;AAEG;AACG,MAAO,WAAY,SAAQ,SAAS,CAAA;IAWtC,WAAA,CACI,SAAkB,EAClB,YAAqB,EACrB,QAAiB,EACjB,OAAgB,EAChB,MAAe,EAAA;AAEf,QAAA,KAAK,CAAC,SAAS,EAAE,YAAY,EAAE,QAAQ,CAAC,CAAC;AACzC,QAAA,IAAI,CAAC,IAAI,GAAG,aAAa,CAAC;AAC1B,QAAA,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;AACvB,QAAA,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QAErB,MAAM,CAAC,cAAc,CAAC,IAAI,EAAE,WAAW,CAAC,SAAS,CAAC,CAAC;IACvD,CAAC;AACJ;;;;"}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
export { SignedHttpRequest, ShrOptions } from "./crypto/SignedHttpRequest.js";
|
|
2
2
|
export { JoseHeader } from "./crypto/JoseHeader.js";
|
|
3
3
|
export { ExternalTokenResponse } from "./response/ExternalTokenResponse.js";
|
|
4
|
-
export { IPerformanceClient, PerformanceCallbackFunction, InProgressPerformanceEvent,
|
|
5
|
-
export { IntFields, PerformanceEvent,
|
|
4
|
+
export { IPerformanceClient, PerformanceCallbackFunction, InProgressPerformanceEvent, } from "./telemetry/performance/IPerformanceClient.js";
|
|
5
|
+
export { IntFields, PerformanceEvent, PerformanceEventStatus, SubMeasurement, } from "./telemetry/performance/PerformanceEvent.js";
|
|
6
|
+
export * as PerformanceEvents from "./telemetry/performance/PerformanceEvents.js";
|
|
6
7
|
export { IPerformanceMeasurement } from "./telemetry/performance/IPerformanceMeasurement.js";
|
|
7
|
-
export { PerformanceClient
|
|
8
|
+
export { PerformanceClient } from "./telemetry/performance/PerformanceClient.js";
|
|
8
9
|
export { StubPerformanceClient } from "./telemetry/performance/StubPerformanceClient.js";
|
|
9
10
|
export { PopTokenGenerator } from "./crypto/PopTokenGenerator.js";
|
|
10
11
|
//# sourceMappingURL=exports-browser-only.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"exports-browser-only.d.ts","sourceRoot":"","sources":["../src/exports-browser-only.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,iBAAiB,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAC9E,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACpD,OAAO,EAAE,qBAAqB,EAAE,MAAM,qCAAqC,CAAC;AAC5E,OAAO,EACH,kBAAkB,EAClB,2BAA2B,EAC3B,0BAA0B,
|
|
1
|
+
{"version":3,"file":"exports-browser-only.d.ts","sourceRoot":"","sources":["../src/exports-browser-only.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,iBAAiB,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAC9E,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACpD,OAAO,EAAE,qBAAqB,EAAE,MAAM,qCAAqC,CAAC;AAC5E,OAAO,EACH,kBAAkB,EAClB,2BAA2B,EAC3B,0BAA0B,GAC7B,MAAM,+CAA+C,CAAC;AACvD,OAAO,EACH,SAAS,EACT,gBAAgB,EAChB,sBAAsB,EACtB,cAAc,GACjB,MAAM,6CAA6C,CAAC;AACrD,OAAO,KAAK,iBAAiB,MAAM,8CAA8C,CAAC;AAClF,OAAO,EAAE,uBAAuB,EAAE,MAAM,oDAAoD,CAAC;AAC7F,OAAO,EAAE,iBAAiB,EAAE,MAAM,8CAA8C,CAAC;AACjF,OAAO,EAAE,qBAAqB,EAAE,MAAM,kDAAkD,CAAC;AAEzF,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC"}
|
package/dist/exports-common.d.ts
CHANGED
|
@@ -4,17 +4,19 @@ import * as CacheHelpers from "./cache/utils/CacheHelpers.js";
|
|
|
4
4
|
import * as TimeUtils from "./utils/TimeUtils.js";
|
|
5
5
|
import * as UrlUtils from "./utils/UrlUtils.js";
|
|
6
6
|
import * as AADServerParamKeys from "./constants/AADServerParamKeys.js";
|
|
7
|
+
import * as AccountEntityUtils from "./cache/utils/AccountEntityUtils.js";
|
|
7
8
|
export { AuthToken };
|
|
8
9
|
export { AuthorityFactory };
|
|
9
10
|
export { CacheHelpers };
|
|
10
11
|
export { TimeUtils };
|
|
11
12
|
export { UrlUtils };
|
|
12
13
|
export { AADServerParamKeys };
|
|
14
|
+
export { AccountEntityUtils };
|
|
13
15
|
export { AuthorizationCodeClient } from "./client/AuthorizationCodeClient.js";
|
|
14
16
|
export { RefreshTokenClient } from "./client/RefreshTokenClient.js";
|
|
15
17
|
export { SilentFlowClient } from "./client/SilentFlowClient.js";
|
|
16
18
|
export { BaseClient } from "./client/BaseClient.js";
|
|
17
|
-
export { AuthOptions, SystemOptions, LoggerOptions,
|
|
19
|
+
export { AuthOptions, SystemOptions, LoggerOptions, DEFAULT_SYSTEM_OPTIONS, AzureCloudOptions, ApplicationTelemetry, } from "./config/ClientConfiguration.js";
|
|
18
20
|
export { ClientConfiguration } from "./config/ClientConfiguration.js";
|
|
19
21
|
export { AccountInfo, ActiveAccountFilters, TenantProfile, updateAccountTenantProfileData, tenantIdMatchesHomeTenant, buildTenantProfile, } from "./account/AccountInfo.js";
|
|
20
22
|
export { TokenClaims, getTenantIdFromIdTokenClaims, } from "./account/TokenClaims.js";
|
|
@@ -64,14 +66,14 @@ export { ResponseHandler, buildAccountToCache, } from "./response/ResponseHandle
|
|
|
64
66
|
export { ScopeSet } from "./request/ScopeSet.js";
|
|
65
67
|
export { AuthenticationHeaderParser } from "./request/AuthenticationHeaderParser.js";
|
|
66
68
|
export { ILoggerCallback, LogLevel, Logger } from "./logger/Logger.js";
|
|
67
|
-
export { InteractionRequiredAuthError, InteractionRequiredAuthErrorCodes,
|
|
68
|
-
export { AuthError,
|
|
69
|
+
export { InteractionRequiredAuthError, InteractionRequiredAuthErrorCodes, createInteractionRequiredAuthError, } from "./error/InteractionRequiredAuthError.js";
|
|
70
|
+
export { AuthError, AuthErrorCodes, createAuthError, } from "./error/AuthError.js";
|
|
69
71
|
export { ServerError } from "./error/ServerError.js";
|
|
70
72
|
export { NetworkError, createNetworkError } from "./error/NetworkError.js";
|
|
71
73
|
export { CacheError, CacheErrorCodes, createCacheError, } from "./error/CacheError.js";
|
|
72
|
-
export { ClientAuthError,
|
|
73
|
-
export { ClientConfigurationError,
|
|
74
|
-
export
|
|
74
|
+
export { ClientAuthError, ClientAuthErrorCodes, createClientAuthError, } from "./error/ClientAuthError.js";
|
|
75
|
+
export { ClientConfigurationError, ClientConfigurationErrorCodes, createClientConfigurationError, } from "./error/ClientConfigurationError.js";
|
|
76
|
+
export * as Constants from "./utils/Constants.js";
|
|
75
77
|
export { StringUtils } from "./utils/StringUtils.js";
|
|
76
78
|
export { StringDict } from "./utils/MsalTypes.js";
|
|
77
79
|
export { ProtocolUtils, RequestStateObject, LibraryStateObject, } from "./utils/ProtocolUtils.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"exports-common.d.ts","sourceRoot":"","sources":["../src/exports-common.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,SAAS,MAAM,wBAAwB,CAAC;AACpD,OAAO,KAAK,gBAAgB,MAAM,iCAAiC,CAAC;AACpE,OAAO,KAAK,YAAY,MAAM,+BAA+B,CAAC;AAC9D,OAAO,KAAK,SAAS,MAAM,sBAAsB,CAAC;AAClD,OAAO,KAAK,QAAQ,MAAM,qBAAqB,CAAC;AAChD,OAAO,KAAK,kBAAkB,MAAM,mCAAmC,CAAC;
|
|
1
|
+
{"version":3,"file":"ex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
|
|
5
5
|
export { ICachePlugin } from "./cache/interface/ICachePlugin.js";
|
|
6
6
|
export { TokenCacheContext } from "./cache/persistence/TokenCacheContext.js";
|
|
7
7
|
export { ISerializableTokenCache } from "./cache/interface/ISerializableTokenCache.js";
|
|
8
|
-
export { CommonClientCredentialRequest } from "./request/CommonClientCredentialRequest.js";
|
|
9
|
-
export { CommonOnBehalfOfRequest } from "./request/CommonOnBehalfOfRequest.js";
|
|
10
|
-
export { CommonDeviceCodeRequest } from "./request/CommonDeviceCodeRequest.js";
|
|
11
|
-
export { CommonUsernamePasswordRequest } from "./request/CommonUsernamePasswordRequest.js";
|
|
12
8
|
export { NativeRequest } from "./request/NativeRequest.js";
|
|
13
9
|
export { NativeSignOutRequest } from "./request/NativeSignOutRequest.js";
|
|
14
10
|
export { ClientAssertion, ClientAssertionConfig, ClientAssertionCallback, } from "./account/ClientCredentials.js";
|
|
15
11
|
export { DeviceCodeResponse, ServerDeviceCodeResponse, } from "./response/DeviceCodeResponse.js";
|
|
16
12
|
export { getClientAssertion } from "./utils/ClientAssertionUtils.js";
|
|
17
13
|
export { IGuidGenerator } from "./crypto/IGuidGenerator.js";
|
|
14
|
+
export { StubPerformanceClient } from "./telemetry/performance/StubPerformanceClient.js";
|
|
18
15
|
//# sourceMappingURL=exports-node-only.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"exports-node-only.d.ts","sourceRoot":"","sources":["../src/exports-node-only.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,oBAAoB,MAAM,iCAAiC,CAAC;AAExE,OAAO,EAAE,oBAAoB,EAAE,CAAC;AAEhC,OAAO,EACH,iBAAiB,EACjB,0BAA0B,EAC1B,sBAAsB,GACzB,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,mBAAmB,EAAE,MAAM,8CAA8C,CAAC;AACnF,OAAO,EAAE,YAAY,EAAE,MAAM,mCAAmC,CAAC;AACjE,OAAO,EAAE,iBAAiB,EAAE,MAAM,0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