@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
|
@@ -6,7 +6,7 @@ export type LoggerMessageOptions = {
|
|
|
6
6
|
logLevel: LogLevel;
|
|
7
7
|
containsPii?: boolean;
|
|
8
8
|
context?: string;
|
|
9
|
-
correlationId
|
|
9
|
+
correlationId: string;
|
|
10
10
|
};
|
|
11
11
|
/**
|
|
12
12
|
* Log message level.
|
|
@@ -28,7 +28,6 @@ export interface ILoggerCallback {
|
|
|
28
28
|
* Class which facilitates logging of messages to a specific place.
|
|
29
29
|
*/
|
|
30
30
|
export declare class Logger {
|
|
31
|
-
private correlationId;
|
|
32
31
|
private level;
|
|
33
32
|
private piiLoggingEnabled;
|
|
34
33
|
private localCallback;
|
|
@@ -39,7 +38,7 @@ export declare class Logger {
|
|
|
39
38
|
/**
|
|
40
39
|
* Create new Logger with existing configurations.
|
|
41
40
|
*/
|
|
42
|
-
clone(packageName: string, packageVersion: string
|
|
41
|
+
clone(packageName: string, packageVersion: string): Logger;
|
|
43
42
|
/**
|
|
44
43
|
* Log message with required options.
|
|
45
44
|
*/
|
|
@@ -51,43 +50,43 @@ export declare class Logger {
|
|
|
51
50
|
/**
|
|
52
51
|
* Logs error messages.
|
|
53
52
|
*/
|
|
54
|
-
error(message: string, correlationId
|
|
53
|
+
error(message: string, correlationId: string): void;
|
|
55
54
|
/**
|
|
56
55
|
* Logs error messages with PII.
|
|
57
56
|
*/
|
|
58
|
-
errorPii(message: string, correlationId
|
|
57
|
+
errorPii(message: string, correlationId: string): void;
|
|
59
58
|
/**
|
|
60
59
|
* Logs warning messages.
|
|
61
60
|
*/
|
|
62
|
-
warning(message: string, correlationId
|
|
61
|
+
warning(message: string, correlationId: string): void;
|
|
63
62
|
/**
|
|
64
63
|
* Logs warning messages with PII.
|
|
65
64
|
*/
|
|
66
|
-
warningPii(message: string, correlationId
|
|
65
|
+
warningPii(message: string, correlationId: string): void;
|
|
67
66
|
/**
|
|
68
67
|
* Logs info messages.
|
|
69
68
|
*/
|
|
70
|
-
info(message: string, correlationId
|
|
69
|
+
info(message: string, correlationId: string): void;
|
|
71
70
|
/**
|
|
72
71
|
* Logs info messages with PII.
|
|
73
72
|
*/
|
|
74
|
-
infoPii(message: string, correlationId
|
|
73
|
+
infoPii(message: string, correlationId: string): void;
|
|
75
74
|
/**
|
|
76
75
|
* Logs verbose messages.
|
|
77
76
|
*/
|
|
78
|
-
verbose(message: string, correlationId
|
|
77
|
+
verbose(message: string, correlationId: string): void;
|
|
79
78
|
/**
|
|
80
79
|
* Logs verbose messages with PII.
|
|
81
80
|
*/
|
|
82
|
-
verbosePii(message: string, correlationId
|
|
81
|
+
verbosePii(message: string, correlationId: string): void;
|
|
83
82
|
/**
|
|
84
83
|
* Logs trace messages.
|
|
85
84
|
*/
|
|
86
|
-
trace(message: string, correlationId
|
|
85
|
+
trace(message: string, correlationId: string): void;
|
|
87
86
|
/**
|
|
88
87
|
* Logs trace messages with PII.
|
|
89
88
|
*/
|
|
90
|
-
tracePii(message: string, correlationId
|
|
89
|
+
tracePii(message: string, correlationId: string): void;
|
|
91
90
|
/**
|
|
92
91
|
* Returns whether PII Logging is enabled or not.
|
|
93
92
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Logger.d.ts","sourceRoot":"","sources":["../../../src/logger/Logger.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;
|
|
1
|
+
{"version":3,"file":"Logger.d.ts","sourceRoot":"","sources":["../../../src/logger/Logger.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;AAEtE;;GAEG;AACH,MAAM,MAAM,oBAAoB,GAAG;IAC/B,QAAQ,EAAE,QAAQ,CAAC;IACnB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,aAAa,EAAE,MAAM,CAAC;CACzB,CAAC;AAEF;;GAEG;AACH,oBAAY,QAAQ;IAChB,KAAK,IAAA;IACL,OAAO,IAAA;IACP,IAAI,IAAA;IACJ,OAAO,IAAA;IACP,KAAK,IAAA;CACR;AAED;;GAEG;AACH,MAAM,WAAW,eAAe;IAC5B,CAAC,KAAK,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,OAAO,GAAG,IAAI,CAAC;CAClE;AAED;;GAEG;AACH,qBAAa,MAAM;IAEf,OAAO,CAAC,KAAK,CAA2B;IAGxC,OAAO,CAAC,iBAAiB,CAAU;IAGnC,OAA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QAAQ,CAAC,OAAO,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,GAAG,IAAI;IAQtD;;OAEG;IACH,mBAAmB,IAAI,OAAO;CAGjC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ThrottlingUtils.d.ts","sourceRoot":"","sources":["../../../src/network/ThrottlingUtils.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,gCAAgC,EAAE,MAAM,iDAAiD,CAAC;
|
|
1
|
+
{"version":3,"file":"ThrottlingUtils.d.ts","sourceRoot":"","sources":["../../../src/network/ThrottlingUtils.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,gCAAgC,EAAE,MAAM,iDAAiD,CAAC;AAEnG,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAExD,OAAO,EAEH,iBAAiB,EACpB,MAAM,wBAAwB,CAAC;AAEhC,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAEhE,gBAAgB;AAChB,qBAAa,eAAe;IACxB;;;OAGG;IACH,MAAM,CAAC,4BAA4B,CAAC,UAAU,EAAE,iBAAiB,GAAG,MAAM;IAI1E;;;;OAIG;IACH,MAAM,CAAC,UAAU,CACb,YAAY,EAAE,YAAY,EAC1B,UAAU,EAAE,iBAAiB,EAC7B,aAAa,EAAE,MAAM,GACtB,IAAI;IAiBP;;;;;OAKG;IACH,MAAM,CAAC,WAAW,CACd,YAAY,EAAE,YAAY,EAC1B,UAAU,EAAE,iBAAiB,EAC7B,QAAQ,EAAE,eAAe,CAAC,gCAAgC,CAAC,EAC3D,aAAa,EAAE,MAAM,GACtB,IAAI;IAwBP;;;OAGG;IACH,MAAM,CAAC,mBAAmB,CACtB,QAAQ,EAAE,eAAe,CAAC,gCAAgC,CAAC,GAC5D,OAAO;IAOV;;;OAGG;IACH,MAAM,CAAC,0BAA0B,CAC7B,QAAQ,EAAE,eAAe,CAAC,gCAAgC,CAAC,GAC5D,OAAO;IAYV;;;OAGG;IACH,MAAM,CAAC,qBAAqB,CAAC,YAAY,EAAE,MAAM,GAAG,MAAM;IAa1D,MAAM,CAAC,cAAc,CACjB,YAAY,EAAE,YAAY,EAC1B,QAAQ,EAAE,MAAM,EAChB,OAAO,EAAE,eAAe,EACxB,qBAAqB,CAAC,EAAE,MAAM,GAC/B,IAAI;CASV"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"packageMetadata.d.ts","sourceRoot":"","sources":["../../src/packageMetadata.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,IAAI,uBAAuB,CAAC;AACzC,eAAO,MAAM,OAAO,
|
|
1
|
+
{"version":3,"file":"packageMetadata.d.ts","sourceRoot":"","sources":["../../src/packageMetadata.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,IAAI,uBAAuB,CAAC;AACzC,eAAO,MAAM,OAAO,mBAAmB,CAAC"}
|
|
@@ -5,7 +5,6 @@ import { Logger } from "../logger/Logger.js";
|
|
|
5
5
|
import { Authority } from "../authority/Authority.js";
|
|
6
6
|
import { AuthorizationCodePayload } from "../response/AuthorizationCodePayload.js";
|
|
7
7
|
import { AuthorizeResponse } from "../response/AuthorizeResponse.js";
|
|
8
|
-
import { StringDict } from "../utils/MsalTypes.js";
|
|
9
8
|
/**
|
|
10
9
|
* Returns map of parameters that are applicable to all calls to /authorize whether using PKCE or EAR
|
|
11
10
|
* @param config
|
|
@@ -21,7 +20,7 @@ export declare function getStandardAuthorizeRequestParameters(authOptions: AuthO
|
|
|
21
20
|
* @param requestParameters
|
|
22
21
|
* @returns
|
|
23
22
|
*/
|
|
24
|
-
export declare function getAuthorizeUrl(authority: Authority, requestParameters: Map<string, string
|
|
23
|
+
export declare function getAuthorizeUrl(authority: Authority, requestParameters: Map<string, string>): string;
|
|
25
24
|
/**
|
|
26
25
|
* Handles the hash fragment response from public client code request. Returns a code response used by
|
|
27
26
|
* the client to exchange for a token in acquireToken.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Authorize.d.ts","sourceRoot":"","sources":["../../../src/protocol/Authorize.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,6BAA6B,EAAE,MAAM,6CAA6C,CAAC;AAE5F,OAAO,EAAE,kBAAkB,EAAE,MAAM,gDAAgD,CAAC;AAEpF,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AAG/D,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAE7C,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAGtD,OAAO,EAAE,wBAAwB,EAAE,MAAM,yCAAyC,CAAC;AACnF,OAAO,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;
|
|
1
|
+
{"version":3,"file":"Authorize.d.ts","sourceRoot":"","sources":["../../../src/protocol/Authorize.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,6BAA6B,EAAE,MAAM,6CAA6C,CAAC;AAE5F,OAAO,EAAE,kBAAkB,EAAE,MAAM,gDAAgD,CAAC;AAEpF,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AAG/D,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAE7C,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAGtD,OAAO,EAAE,wBAAwB,EAAE,MAAM,yCAAyC,CAAC;AACnF,OAAO,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AAWrE;;;;;;;GAOG;AACH,wBAAgB,qCAAqC,CACjD,WAAW,EAAE,WAAW,EACxB,OAAO,EAAE,6BAA6B,EACtC,MAAM,EAAE,MAAM,EACd,iBAAiB,CAAC,EAAE,kBAAkB,GACvC,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAiOrB;AAED;;;;;GAKG;AACH,wBAAgB,eAAe,CAC3B,SAAS,EAAE,SAAS,EACpB,iBAAiB,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,GACvC,MAAM,CAMR;AAED;;;;;GAKG;AACH,wBAAgB,2BAA2B,CACvC,YAAY,EAAE,iBAAiB,EAC/B,WAAW,EAAE,MAAM,GACpB,wBAAwB,CAY1B;AAED;;;;GAIG;AACH,wBAAgB,6BAA6B,CACzC,cAAc,EAAE,iBAAiB,EACjC,YAAY,EAAE,MAAM,GACrB,IAAI,CAuEN"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AuthenticationHeaderParser.d.ts","sourceRoot":"","sources":["../../../src/request/AuthenticationHeaderParser.ts"],"names":[],"mappings":"AAmBA;;;GAGG;AACH,qBAAa,0BAA0B;IACnC,OAAO,CAAC,OAAO,CAAyB;gBAE5B,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC;IAI3C;;;OAGG;IACH,WAAW,IAAI,MAAM;IAqCrB;;;;OAIG;IACH,OAAO,CAAC,eAAe;
|
|
1
|
+
{"version":3,"file":"AuthenticationHeaderParser.d.ts","sourceRoot":"","sources":["../../../src/request/AuthenticationHeaderParser.ts"],"names":[],"mappings":"AAmBA;;;GAGG;AACH,qBAAa,0BAA0B;IACnC,OAAO,CAAC,OAAO,CAAyB;gBAE5B,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC;IAI3C;;;OAGG;IACH,WAAW,IAAI,MAAM;IAqCrB;;;;OAIG;IACH,OAAO,CAAC,eAAe;CAa1B"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AuthenticationScheme
|
|
1
|
+
import { AuthenticationScheme } from "../utils/Constants.js";
|
|
2
2
|
import type { AzureCloudOptions } from "../config/ClientConfiguration.js";
|
|
3
3
|
import { StringDict } from "../utils/MsalTypes.js";
|
|
4
4
|
import { StoreInCache } from "./StoreInCache.js";
|
|
@@ -18,15 +18,12 @@ import { ShrOptions } from "../crypto/SignedHttpRequest.js";
|
|
|
18
18
|
* - sshJwk - A stringified JSON Web Key representing a public key that can be signed by an SSH certificate.
|
|
19
19
|
* - sshKid - Key ID that uniquely identifies the SSH public key mentioned above.
|
|
20
20
|
* - azureCloudOptions - Convenience string enums for users to provide public/sovereign cloud ids
|
|
21
|
-
* - requestedClaimsHash - SHA 256 hash string of the requested claims string, used as part of an access token cache key so tokens can be filtered by requested claims
|
|
22
21
|
* - tokenQueryParameters - String to string map of custom query parameters added to the /token call
|
|
23
22
|
* - tokenBodyParameters - String to string map of custom parameters added to the body of the /token call
|
|
24
23
|
* - storeInCache - Object containing boolean values indicating whether to store tokens in the cache or not (default is true)
|
|
25
24
|
* - scenarioId - Scenario id to track custom user prompts
|
|
26
25
|
* - popKid - Key ID to identify the public key for PoP token request
|
|
27
26
|
* - embeddedClientId - Embedded client id. When specified, broker client id (brk_client_id) and redirect uri (brk_redirect_uri) params are set with values from the config, overriding the corresponding extra parameters, if present.
|
|
28
|
-
* - httpMethod - HTTP method to use for the /authorize request. Defaults to GET, but can be set to POST if the request requires body parameters
|
|
29
|
-
* - authorizePostBodyParameters - String to string map of custom parameters added to the body of the /authorize call when httpMethod is set to POST
|
|
30
27
|
*/
|
|
31
28
|
export type BaseAuthRequest = {
|
|
32
29
|
authority: string;
|
|
@@ -42,7 +39,6 @@ export type BaseAuthRequest = {
|
|
|
42
39
|
sshJwk?: string;
|
|
43
40
|
sshKid?: string;
|
|
44
41
|
azureCloudOptions?: AzureCloudOptions;
|
|
45
|
-
requestedClaimsHash?: string;
|
|
46
42
|
maxAge?: number;
|
|
47
43
|
tokenBodyParameters?: StringDict;
|
|
48
44
|
tokenQueryParameters?: StringDict;
|
|
@@ -50,7 +46,5 @@ export type BaseAuthRequest = {
|
|
|
50
46
|
scenarioId?: string;
|
|
51
47
|
popKid?: string;
|
|
52
48
|
embeddedClientId?: string;
|
|
53
|
-
httpMethod?: HttpMethod;
|
|
54
|
-
authorizePostBodyParameters?: StringDict;
|
|
55
49
|
};
|
|
56
50
|
//# sourceMappingURL=BaseAuthRequest.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BaseAuthRequest.d.ts","sourceRoot":"","sources":["../../../src/request/BaseAuthRequest.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,oBAAoB,EAAE,
|
|
1
|
+
{"version":3,"file":"BaseAuthRequest.d.ts","sourceRoot":"","sources":["../../../src/request/BaseAuthRequest.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAC7D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AAC1E,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AACnD,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,EAAE,UAAU,EAAE,MAAM,gCAAgC,CAAC;AAE5D;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,MAAM,MAAM,eAAe,GAAG;IAC1B,SAAS,EAAE,MAAM,CAAC;IAClB,aAAa,EAAE,MAAM,CAAC;IACtB,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACtB,oBAAoB,CAAC,EAAE,oBAAoB,CAAC;IAC5C,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,iBAAiB,CAAC,EAAE,iBAAiB,CAAC;IACtC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,mBAAmB,CAAC,EAAE,UAAU,CAAC;IACjC,oBAAoB,CAAC,EAAE,UAAU,CAAC;IAClC,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC7B,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import * as Constants from "../utils/Constants.js";
|
|
2
2
|
import { StringDict } from "../utils/MsalTypes.js";
|
|
3
3
|
import { ApplicationTelemetry, LibraryInfo } from "../config/ClientConfiguration.js";
|
|
4
4
|
import { ServerTelemetryManager } from "../telemetry/server/ServerTelemetryManager.js";
|
|
@@ -10,12 +10,12 @@ export declare function instrumentBrokerParams(parameters: Map<string, string>,
|
|
|
10
10
|
* @param parameters
|
|
11
11
|
* @param responseType
|
|
12
12
|
*/
|
|
13
|
-
export declare function addResponseType(parameters: Map<string, string>, responseType: OAuthResponseType): void;
|
|
13
|
+
export declare function addResponseType(parameters: Map<string, string>, responseType: Constants.OAuthResponseType): void;
|
|
14
14
|
/**
|
|
15
15
|
* add response_mode. defaults to query.
|
|
16
16
|
* @param responseMode
|
|
17
17
|
*/
|
|
18
|
-
export declare function addResponseMode(parameters: Map<string, string>, responseMode?: ResponseMode): void;
|
|
18
|
+
export declare function addResponseMode(parameters: Map<string, string>, responseMode?: Constants.ResponseMode): void;
|
|
19
19
|
/**
|
|
20
20
|
* Add flag to indicate STS should attempt to use WAM if available
|
|
21
21
|
*/
|
|
@@ -214,10 +214,4 @@ export declare function addBrokerParameters(parameters: Map<string, string>, bro
|
|
|
214
214
|
* @param jwk
|
|
215
215
|
*/
|
|
216
216
|
export declare function addEARParameters(parameters: Map<string, string>, jwk: string): void;
|
|
217
|
-
/**
|
|
218
|
-
* Adds authorize body parameters to the request parameters
|
|
219
|
-
* @param parameters
|
|
220
|
-
* @param bodyParameters
|
|
221
|
-
*/
|
|
222
|
-
export declare function addPostBodyParameters(parameters: Map<string, string>, bodyParameters: StringDict): void;
|
|
223
217
|
//# sourceMappingURL=RequestParameterBuilder.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RequestParameterBuilder.d.ts","sourceRoot":"","sources":["../../../src/request/RequestParameterBuilder.ts"],"names":[],"mappings":"AAKA,OAAO,
|
|
1
|
+
{"version":3,"file":"RequestParameterBuilder.d.ts","sourceRoot":"","sources":["../../../src/request/RequestParameterBuilder.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,SAAS,MAAM,uBAAuB,CAAC;AAOnD,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AACnD,OAAO,EACH,oBAAoB,EACpB,WAAW,EACd,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAE,sBAAsB,EAAE,MAAM,+CAA+C,CAAC;AACvF,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AACtD,OAAO,EAAE,kBAAkB,EAAE,MAAM,gDAAgD,CAAC;AAEpF,wBAAgB,sBAAsB,CAClC,UAAU,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,EAC/B,aAAa,CAAC,EAAE,MAAM,EACtB,iBAAiB,CAAC,EAAE,kBAAkB,GACvC,IAAI,CAiBN;AAED;;;;GAIG;AACH,wBAAgB,eAAe,CAC3B,UAAU,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,EAC/B,YAAY,EAAE,SAAS,CAAC,iBAAiB,GAC1C,IAAI,CAEN;AAED;;;GAGG;AACH,wBAAgB,eAAe,CAC3B,UAAU,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,EAC/B,YAAY,CAAC,EAAE,SAAS,CAAC,YAAY,GACtC,IAAI,CAKN;AAED;;GAEG;AACH,wBAAgB,eAAe,CAAC,UAAU,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,IAAI,CAErE;AAED;;;;GAIG;AACH,wBAAgB,SAAS,CACrB,UAAU,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,EAC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AAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,
|
|
1
|
+
{"version":3,"file":"AuthenticationResult.d.ts","sourceRoot":"","sources":["../../../src/response/AuthenticationResult.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAExD;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,MAAM,oBAAoB,GAAG;IAC/B,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACtB,OAAO,EAAE,WAAW,GAAG,IAAI,CAAC;IAC5B,OAAO,EAAE,MAAM,CAAC;IAChB,aAAa,EAAE,MAAM,CAAC;IACtB,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,OAAO,CAAC;IACnB,SAAS,EAAE,IAAI,GAAG,IAAI,CAAC;IACvB,YAAY,CAAC,EAAE,IAAI,CAAC;IACpB,SAAS,CAAC,EAAE,IAAI,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,aAAa,EAAE,MAAM,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,kBAAkB,CAAC,EAAE,OAAO,CAAC;CAChC,CAAC"}
|
|
@@ -11,8 +11,8 @@ import { ICachePlugin } from "../cache/interface/ICachePlugin.js";
|
|
|
11
11
|
import { ISerializableTokenCache } from "../cache/interface/ISerializableTokenCache.js";
|
|
12
12
|
import { AuthorizationCodePayload } from "./AuthorizationCodePayload.js";
|
|
13
13
|
import { BaseAuthRequest } from "../request/BaseAuthRequest.js";
|
|
14
|
-
import { IPerformanceClient } from "../telemetry/performance/IPerformanceClient.js";
|
|
15
14
|
import { TokenClaims } from "../account/TokenClaims.js";
|
|
15
|
+
import { IPerformanceClient } from "../telemetry/performance/IPerformanceClient.js";
|
|
16
16
|
/**
|
|
17
17
|
* Class that handles response parsing.
|
|
18
18
|
* @internal
|
|
@@ -23,16 +23,17 @@ export declare class ResponseHandler {
|
|
|
23
23
|
private cryptoObj;
|
|
24
24
|
private logger;
|
|
25
25
|
private homeAccountIdentifier;
|
|
26
|
+
private performanceClient;
|
|
26
27
|
private serializableCache;
|
|
27
28
|
private persistencePlugin;
|
|
28
|
-
|
|
29
|
-
constructor(clientId: string, cacheStorage: CacheManager, cryptoObj: ICrypto, logger: Logger, serializableCache: ISerializableTokenCache | null, persistencePlugin: ICachePlugin | null, performanceClient?: IPerformanceClient);
|
|
29
|
+
constructor(clientId: string, cacheStorage: CacheManager, cryptoObj: ICrypto, logger: Logger, performanceClient: IPerformanceClient, serializableCache: ISerializableTokenCache | null, persistencePlugin: ICachePlugin | null);
|
|
30
30
|
/**
|
|
31
31
|
* Function which validates server authorization token response.
|
|
32
32
|
* @param serverResponse
|
|
33
|
+
* @param correlationId
|
|
33
34
|
* @param refreshAccessToken
|
|
34
35
|
*/
|
|
35
|
-
validateTokenResponse(serverResponse: ServerAuthorizationTokenResponse, refreshAccessToken?: boolean): void;
|
|
36
|
+
validateTokenResponse(serverResponse: ServerAuthorizationTokenResponse, correlationId: string, refreshAccessToken?: boolean): void;
|
|
36
37
|
/**
|
|
37
38
|
* Returns a constructed token response based on given string. Also manages the cache updates and cleanups.
|
|
38
39
|
* @param serverTokenResponse
|
|
@@ -56,7 +57,7 @@ export declare class ResponseHandler {
|
|
|
56
57
|
* @param fromTokenCache
|
|
57
58
|
* @param stateString
|
|
58
59
|
*/
|
|
59
|
-
static generateAuthenticationResult(cryptoObj: ICrypto, authority: Authority, cacheRecord: CacheRecord, fromTokenCache: boolean, request: BaseAuthRequest, idTokenClaims?: TokenClaims, requestState?: RequestStateObject, serverTokenResponse?: ServerAuthorizationTokenResponse, requestId?: string): Promise<AuthenticationResult>;
|
|
60
|
+
static generateAuthenticationResult(cryptoObj: ICrypto, authority: Authority, cacheRecord: CacheRecord, fromTokenCache: boolean, request: BaseAuthRequest, performanceClient: IPerformanceClient, idTokenClaims?: TokenClaims, requestState?: RequestStateObject, serverTokenResponse?: ServerAuthorizationTokenResponse, requestId?: string): Promise<AuthenticationResult>;
|
|
60
61
|
}
|
|
61
62
|
export declare function buildAccountToCache(cacheStorage: CacheManager, authority: Authority, homeAccountId: string, base64Decode: (input: string) => string, correlationId: string, idTokenClaims?: TokenClaims, clientInfo?: string, environment?: string, claimsTenantId?: string | null, authCodePayload?: AuthorizationCodePayload, nativeAccountId?: string, logger?: Logger): AccountEntity;
|
|
62
63
|
//# sourceMappingURL=ResponseHandler.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ResponseHandler.d.ts","sourceRoot":"","sources":["../../../src/response/ResponseHandler.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,gCAAgC,EAAE,MAAM,uCAAuC,CAAC;AACzF,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAK/C,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAG7C,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAQtD,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AAC/D,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACxD,OAAO,EAAiB,kBAAkB,EAAE,MAAM,2BAA2B,CA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M,EACnB,WAAW,CAAC,EAAE,MAAM,EACpB,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,EAC9B,eAAe,CAAC,EAAE,wBAAwB,EAC1C,eAAe,CAAC,EAAE,MAAM,EACxB,MAAM,CAAC,EAAE,MAAM,GAChB,aAAa,CAiDf"}
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import { PerformanceEvent } from "./PerformanceEvent.js";
|
|
2
|
-
import { IPerformanceMeasurement } from "./IPerformanceMeasurement.js";
|
|
3
|
-
import { AccountInfo } from "../../account/AccountInfo.js";
|
|
4
2
|
export type PerformanceCallbackFunction = (events: PerformanceEvent[]) => void;
|
|
5
3
|
export type InProgressPerformanceEvent = {
|
|
6
|
-
end: (event?: Partial<PerformanceEvent>, error?: unknown
|
|
4
|
+
end: (event?: Partial<PerformanceEvent>, error?: unknown) => PerformanceEvent | null;
|
|
7
5
|
discard: () => void;
|
|
8
6
|
add: (fields: {
|
|
9
7
|
[key: string]: {} | undefined;
|
|
@@ -12,10 +10,6 @@ export type InProgressPerformanceEvent = {
|
|
|
12
10
|
[key: string]: number | undefined;
|
|
13
11
|
}) => void;
|
|
14
12
|
event: PerformanceEvent;
|
|
15
|
-
/**
|
|
16
|
-
* @deprecated This attribute will be removed in the next major version
|
|
17
|
-
*/
|
|
18
|
-
measurement: IPerformanceMeasurement;
|
|
19
13
|
};
|
|
20
14
|
export interface IPerformanceClient {
|
|
21
15
|
startMeasurement(measureName: string, correlationId?: string): InProgressPerformanceEvent;
|
|
@@ -30,30 +24,6 @@ export interface IPerformanceClient {
|
|
|
30
24
|
removePerformanceCallback(callbackId: string): boolean;
|
|
31
25
|
addPerformanceCallback(callback: PerformanceCallbackFunction): string;
|
|
32
26
|
emitEvents(events: PerformanceEvent[], correlationId: string): void;
|
|
33
|
-
/**
|
|
34
|
-
* @deprecated This method will be removed in the next major version
|
|
35
|
-
*/
|
|
36
|
-
startPerformanceMeasurement(measureName: string, correlationId: string): IPerformanceMeasurement;
|
|
37
27
|
generateId(): string;
|
|
38
|
-
calculateQueuedTime(preQueueTime: number, currentTime: number): number;
|
|
39
|
-
addQueueMeasurement(eventName: string, correlationId?: string, queueTime?: number, manuallyCompleted?: boolean): void;
|
|
40
|
-
setPreQueueTime(eventName: string, correlationId?: string): void;
|
|
41
28
|
}
|
|
42
|
-
/**
|
|
43
|
-
* Queue measurement type
|
|
44
|
-
*/
|
|
45
|
-
export type QueueMeasurement = {
|
|
46
|
-
/**
|
|
47
|
-
* Name of performance event
|
|
48
|
-
*/
|
|
49
|
-
eventName: string;
|
|
50
|
-
/**
|
|
51
|
-
* Time spent in JS queue
|
|
52
|
-
*/
|
|
53
|
-
queueTime: number;
|
|
54
|
-
/**
|
|
55
|
-
* Incomplete pre-queue events are instrumentation bugs that should be fixed.
|
|
56
|
-
*/
|
|
57
|
-
manuallyCompleted?: boolean;
|
|
58
|
-
};
|
|
59
29
|
//# sourceMappingURL=IPerformanceClient.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IPerformanceClient.d.ts","sourceRoot":"","sources":["../../../../src/telemetry/performance/IPerformanceClient.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"IPerformanceClient.d.ts","sourceRoot":"","sources":["../../../../src/telemetry/performance/IPerformanceClient.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAEzD,MAAM,MAAM,2BAA2B,GAAG,CAAC,MAAM,EAAE,gBAAgB,EAAE,KAAK,IAAI,CAAC;AAE/E,MAAM,MAAM,0BAA0B,GAAG;IACrC,GAAG,EAAE,CACD,KAAK,CAAC,EAAE,OAAO,CAAC,gBAAgB,CAAC,EACjC,KAAK,CAAC,EAAE,OAAO,KACd,gBAAgB,GAAG,IAAI,CAAC;IAC7B,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,GAAG,EAAE,CAAC,MAAM,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,EAAE,GAAG,SAAS,CAAA;KAAE,KAAK,IAAI,CAAC;IACzD,SAAS,EAAE,CAAC,MAAM,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAAA;KAAE,KAAK,IAAI,CAAC;IACnE,KAAK,EAAE,gBAAgB,CAAC;CAC3B,CAAC;AAEF,MAAM,WAAW,kBAAkB;IAC/B,gBAAgB,CACZ,WAAW,EAAE,MAAM,EACnB,aAAa,CAAC,EAAE,MAAM,GACvB,0BAA0B,CAAC;IAC9B,cAAc,CAAC,KAAK,EAAE,gBAAgB,GAAG,gBAAgB,GAAG,IAAI,CAAC;IACjE,mBAAmB,CAAC,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IACjD,SAAS,CACL,MAAM,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,EAAE,GAAG,SAAS,CAAA;KAAE,EACzC,aAAa,EAAE,MAAM,GACtB,IAAI,CAAC;IACR,eAAe,CACX,MAAM,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAAA;KAAE,EAC7C,aAAa,EAAE,MAAM,GACtB,IAAI,CAAC;IACR,yBAAyB,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC;IACvD,sBAAsB,CAAC,QAAQ,EAAE,2BAA2B,GAAG,MAAM,CAAC;IACtE,UAAU,CAAC,MAAM,EAAE,gBAAgB,EAAE,EAAE,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IACpE,UAAU,IAAI,MAAM,CAAC;CACxB"}
|
|
@@ -1,29 +1,21 @@
|
|
|
1
1
|
import { ApplicationTelemetry } from "../../config/ClientConfiguration.js";
|
|
2
2
|
import { Logger } from "../../logger/Logger.js";
|
|
3
|
-
import { InProgressPerformanceEvent, IPerformanceClient, PerformanceCallbackFunction
|
|
4
|
-
import { PerformanceEvent, PerformanceEventContext,
|
|
5
|
-
import { IPerformanceMeasurement } from "./IPerformanceMeasurement.js";
|
|
6
|
-
import { AccountInfo } from "../../account/AccountInfo.js";
|
|
7
|
-
export interface PreQueueEvent {
|
|
8
|
-
name: PerformanceEvents;
|
|
9
|
-
time: number;
|
|
10
|
-
}
|
|
3
|
+
import { InProgressPerformanceEvent, IPerformanceClient, PerformanceCallbackFunction } from "./IPerformanceClient.js";
|
|
4
|
+
import { PerformanceEvent, PerformanceEventContext, PerformanceEventStackedContext } from "./PerformanceEvent.js";
|
|
11
5
|
/**
|
|
12
6
|
* Starts context by adding payload to the stack
|
|
13
7
|
* @param event {PerformanceEvent}
|
|
14
|
-
* @param abbreviations {Map<string, string>} event name abbreviations
|
|
15
8
|
* @param stack {?PerformanceEventStackedContext[]} stack
|
|
16
9
|
*/
|
|
17
|
-
export declare function startContext(event: PerformanceEvent,
|
|
10
|
+
export declare function startContext(event: PerformanceEvent, stack?: PerformanceEventStackedContext[]): void;
|
|
18
11
|
/**
|
|
19
12
|
* Ends context by removing payload from the stack and returning parent or self, if stack is empty, payload
|
|
20
13
|
*
|
|
21
14
|
* @param event {PerformanceEvent}
|
|
22
|
-
* @param abbreviations {Map<string, string>} event name abbreviations
|
|
23
15
|
* @param stack {?PerformanceEventStackedContext[]} stack
|
|
24
16
|
* @param error {?unknown} error
|
|
25
17
|
*/
|
|
26
|
-
export declare function endContext(event: PerformanceEvent,
|
|
18
|
+
export declare function endContext(event: PerformanceEvent, stack?: PerformanceEventStackedContext[], error?: unknown): PerformanceEventContext | undefined;
|
|
27
19
|
/**
|
|
28
20
|
* Adds error name and stack trace to the telemetry event
|
|
29
21
|
* @param error {Error}
|
|
@@ -46,7 +38,6 @@ export declare function compactStack(stack: string, stackMaxSize: number): strin
|
|
|
46
38
|
* @returns {string}
|
|
47
39
|
*/
|
|
48
40
|
export declare function compactStackLine(line: string): string;
|
|
49
|
-
export declare function getAccountType(account?: AccountInfo): "AAD" | "MSA" | "B2C" | undefined;
|
|
50
41
|
export declare abstract class PerformanceClient implements IPerformanceClient {
|
|
51
42
|
protected authority: string;
|
|
52
43
|
protected libraryName: string;
|
|
@@ -61,20 +52,6 @@ export declare abstract class PerformanceClient implements IPerformanceClient {
|
|
|
61
52
|
* @type {Map<string, PerformanceEvent>}
|
|
62
53
|
*/
|
|
63
54
|
protected eventsByCorrelationId: Map<string, PerformanceEvent>;
|
|
64
|
-
/**
|
|
65
|
-
* Map of pre-queue times by correlation Id
|
|
66
|
-
*
|
|
67
|
-
* @protected
|
|
68
|
-
* @type {Map<string, PreQueueEvent>}
|
|
69
|
-
*/
|
|
70
|
-
protected preQueueTimeByCorrelationId: Map<string, PreQueueEvent>;
|
|
71
|
-
/**
|
|
72
|
-
* Map of queue measurements by correlation Id
|
|
73
|
-
*
|
|
74
|
-
* @protected
|
|
75
|
-
* @type {Map<string, Array<QueueMeasurement>>}
|
|
76
|
-
*/
|
|
77
|
-
protected queueMeasurements: Map<string, Array<QueueMeasurement>>;
|
|
78
55
|
protected intFields: Set<string>;
|
|
79
56
|
/**
|
|
80
57
|
* Map of stacked events by correlation id.
|
|
@@ -82,12 +59,6 @@ export declare abstract class PerformanceClient implements IPerformanceClient {
|
|
|
82
59
|
* @protected
|
|
83
60
|
*/
|
|
84
61
|
protected eventStack: Map<string, PerformanceEventStackedContext[]>;
|
|
85
|
-
/**
|
|
86
|
-
* Event name abbreviations
|
|
87
|
-
*
|
|
88
|
-
* @protected
|
|
89
|
-
*/
|
|
90
|
-
protected abbreviations: Map<string, string>;
|
|
91
62
|
/**
|
|
92
63
|
* Creates an instance of PerformanceClient,
|
|
93
64
|
* an abstract class containing core performance telemetry logic.
|
|
@@ -100,9 +71,8 @@ export declare abstract class PerformanceClient implements IPerformanceClient {
|
|
|
100
71
|
* @param {string} libraryVersion Version of the library
|
|
101
72
|
* @param {ApplicationTelemetry} applicationTelemetry application name and version
|
|
102
73
|
* @param {Set<String>} intFields integer fields to be truncated
|
|
103
|
-
* @param {Map<string, string>} abbreviations event name abbreviations
|
|
104
74
|
*/
|
|
105
|
-
constructor(clientId: string, authority: string, logger: Logger, libraryName: string, libraryVersion: string, applicationTelemetry: ApplicationTelemetry, intFields?: Set<string
|
|
75
|
+
constructor(clientId: string, authority: string, logger: Logger, libraryName: string, libraryVersion: string, applicationTelemetry: ApplicationTelemetry, intFields?: Set<string>);
|
|
106
76
|
/**
|
|
107
77
|
* Generates and returns a unique id, typically a guid.
|
|
108
78
|
*
|
|
@@ -110,53 +80,6 @@ export declare abstract class PerformanceClient implements IPerformanceClient {
|
|
|
110
80
|
* @returns {string}
|
|
111
81
|
*/
|
|
112
82
|
abstract generateId(): string;
|
|
113
|
-
/**
|
|
114
|
-
* Starts and returns an platform-specific implementation of IPerformanceMeasurement.
|
|
115
|
-
* Note: this function can be changed to abstract at the next major version bump.
|
|
116
|
-
*
|
|
117
|
-
* @param {string} measureName
|
|
118
|
-
* @param {string} correlationId
|
|
119
|
-
* @returns {IPerformanceMeasurement}
|
|
120
|
-
* @deprecated This method will be removed in the next major version
|
|
121
|
-
*/
|
|
122
|
-
startPerformanceMeasurement(measureName: string, // eslint-disable-line @typescript-eslint/no-unused-vars
|
|
123
|
-
correlationId: string): IPerformanceMeasurement;
|
|
124
|
-
/**
|
|
125
|
-
* Sets pre-queue time by correlation Id
|
|
126
|
-
*
|
|
127
|
-
* @abstract
|
|
128
|
-
* @param {PerformanceEvents} eventName
|
|
129
|
-
* @param {string} correlationId
|
|
130
|
-
* @returns
|
|
131
|
-
*/
|
|
132
|
-
abstract setPreQueueTime(eventName: PerformanceEvents, correlationId?: string): void;
|
|
133
|
-
/**
|
|
134
|
-
* Gets map of pre-queue times by correlation Id
|
|
135
|
-
*
|
|
136
|
-
* @param {PerformanceEvents} eventName
|
|
137
|
-
* @param {string} correlationId
|
|
138
|
-
* @returns {number}
|
|
139
|
-
*/
|
|
140
|
-
getPreQueueTime(eventName: string, correlationId: string): number | void;
|
|
141
|
-
/**
|
|
142
|
-
* Calculates the difference between current time and time when function was queued.
|
|
143
|
-
* Note: It is possible to have 0 as the queue time if the current time and the queued time was the same.
|
|
144
|
-
*
|
|
145
|
-
* @param {number} preQueueTime
|
|
146
|
-
* @param {number} currentTime
|
|
147
|
-
* @returns {number}
|
|
148
|
-
*/
|
|
149
|
-
calculateQueuedTime(preQueueTime: number, currentTime: number): number;
|
|
150
|
-
/**
|
|
151
|
-
* Adds queue measurement time to QueueMeasurements array for given correlation ID.
|
|
152
|
-
*
|
|
153
|
-
* @param {PerformanceEvents} eventName
|
|
154
|
-
* @param {?string} correlationId
|
|
155
|
-
* @param {?number} queueTime
|
|
156
|
-
* @param {?boolean} manuallyCompleted - indicator for manually completed queue measurements
|
|
157
|
-
* @returns
|
|
158
|
-
*/
|
|
159
|
-
addQueueMeasurement(eventName: string, correlationId?: string, queueTime?: number, manuallyCompleted?: boolean): void;
|
|
160
83
|
/**
|
|
161
84
|
* Starts measuring performance for a given operation. Returns a function that should be used to end the measurement.
|
|
162
85
|
*
|
|
@@ -173,10 +96,9 @@ export declare abstract class PerformanceClient implements IPerformanceClient {
|
|
|
173
96
|
*
|
|
174
97
|
* @param {PerformanceEvent} event
|
|
175
98
|
* @param {unknown} error
|
|
176
|
-
* @param {AccountInfo?} account
|
|
177
99
|
* @returns {(PerformanceEvent | null)}
|
|
178
100
|
*/
|
|
179
|
-
endMeasurement(event: PerformanceEvent, error?: unknown
|
|
101
|
+
endMeasurement(event: PerformanceEvent, error?: unknown): PerformanceEvent | null;
|
|
180
102
|
/**
|
|
181
103
|
* Saves extra information to be emitted when the measurements are flushed
|
|
182
104
|
* @param fields
|
|
@@ -203,7 +125,6 @@ export declare abstract class PerformanceClient implements IPerformanceClient {
|
|
|
203
125
|
* @param {PerformanceEvent} event
|
|
204
126
|
*/
|
|
205
127
|
protected cacheEventByCorrelationId(event: PerformanceEvent): void;
|
|
206
|
-
private getQueueInfo;
|
|
207
128
|
/**
|
|
208
129
|
* Removes measurements and aux data for a given correlation id.
|
|
209
130
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PerformanceClient.d.ts","sourceRoot":"","sources":["../../../../src/telemetry/performance/PerformanceClient.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,oBAAoB,EAAE,MAAM,qCAAqC,CAAC;AAC3E,OAAO,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AAChD,OAAO,EACH,0BAA0B,EAC1B,kBAAkB,EAClB,2BAA2B,
|
|
1
|
+
{"version":3,"file":"PerformanceClient.d.ts","sourceRoot":"","sources":["../../../../src/telemetry/performance/PerformanceClient.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,oBAAoB,EAAE,MAAM,qCAAqC,CAAC;AAC3E,OAAO,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AAChD,OAAO,EACH,0BAA0B,EAC1B,kBAAkB,EAClB,2BAA2B,EAC9B,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAEH,gBAAgB,EAChB,uBAAuB,EACvB,8BAA8B,EAEjC,MAAM,uBAAuB,CAAC;AAM/B;;;;GAIG;AACH,wBAAgB,YAAY,CACxB,KAAK,EAAE,gBAAgB,EACvB,KAAK,CAAC,EAAE,8BAA8B,EAAE,GACzC,IAAI,CAQN;AAED;;;;;;GAMG;AACH,wBAAgB,UAAU,CACtB,KAAK,EAAE,gBAAgB,EACvB,KAAK,CAAC,EAAE,8BAA8B,EAAE,EACxC,KAAK,CAAC,EAAE,OAAO,GAChB,uBAAuB,GAAG,SAAS,CAmErC;AAED;;;;;;GAMG;AACH,wBAAgB,QAAQ,CACpB,KAAK,EAAE,OAAO,EACd,MAAM,EAAE,MAAM,EACd,KAAK,EAAE,gBAAgB,EACvB,YAAY,GAAE,MAAU,GACzB,IAAI,CAsCN;AAED;;;;;GAKG;AACH,wBAAgB,YAAY,CAAC,KAAK,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,GAAG,MAAM,EAAE,CA0C1E;AAED;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAAC,IA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