@azure/msal-common 14.14.2 → 14.15.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/browser/README.md +1 -0
- package/browser/package.json +5 -0
- package/dist/account/AccountInfo.d.ts +1 -1
- package/dist/account/AccountInfo.d.ts.map +1 -1
- package/dist/account/AccountInfo.mjs +1 -1
- package/dist/account/AuthToken.d.ts +1 -1
- package/dist/account/AuthToken.d.ts.map +1 -1
- package/dist/account/AuthToken.mjs +1 -1
- package/dist/account/CcsCredential.mjs +1 -1
- package/dist/account/ClientInfo.mjs +1 -1
- package/dist/account/TokenClaims.mjs +1 -1
- package/dist/authority/Authority.d.ts +12 -12
- package/dist/authority/Authority.d.ts.map +1 -1
- package/dist/authority/Authority.mjs +1 -1
- package/dist/authority/AuthorityFactory.d.ts +6 -6
- package/dist/authority/AuthorityFactory.d.ts.map +1 -1
- package/dist/authority/AuthorityFactory.mjs +1 -1
- package/dist/authority/AuthorityMetadata.d.ts +6 -6
- package/dist/authority/AuthorityMetadata.d.ts.map +1 -1
- package/dist/authority/AuthorityMetadata.mjs +1 -1
- package/dist/authority/AuthorityOptions.d.ts +4 -4
- package/dist/authority/AuthorityOptions.d.ts.map +1 -1
- package/dist/authority/AuthorityOptions.mjs +1 -1
- package/dist/authority/AuthorityType.mjs +1 -1
- package/dist/authority/AzureRegionConfiguration.d.ts +1 -1
- package/dist/authority/AzureRegionConfiguration.d.ts.map +1 -1
- package/dist/authority/CloudInstanceDiscoveryErrorResponse.mjs +1 -1
- package/dist/authority/CloudInstanceDiscoveryResponse.d.ts +1 -1
- package/dist/authority/CloudInstanceDiscoveryResponse.d.ts.map +1 -1
- package/dist/authority/CloudInstanceDiscoveryResponse.mjs +1 -1
- package/dist/authority/OIDCOptions.d.ts +1 -1
- 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/RegionDiscovery.d.ts +5 -5
- package/dist/authority/RegionDiscovery.d.ts.map +1 -1
- package/dist/authority/RegionDiscovery.mjs +1 -1
- package/dist/authority/RegionDiscoveryMetadata.d.ts +1 -1
- package/dist/authority/RegionDiscoveryMetadata.d.ts.map +1 -1
- package/dist/broker/nativeBroker/INativeBrokerPlugin.d.ts +6 -6
- package/dist/broker/nativeBroker/INativeBrokerPlugin.d.ts.map +1 -1
- package/dist/cache/CacheManager.d.ts +18 -18
- package/dist/cache/CacheManager.d.ts.map +1 -1
- package/dist/cache/CacheManager.mjs +1 -1
- package/dist/cache/entities/AccessTokenEntity.d.ts +2 -2
- package/dist/cache/entities/AccessTokenEntity.d.ts.map +1 -1
- package/dist/cache/entities/AccountEntity.d.ts +6 -6
- package/dist/cache/entities/AccountEntity.d.ts.map +1 -1
- package/dist/cache/entities/AccountEntity.mjs +1 -1
- package/dist/cache/entities/CacheRecord.d.ts +5 -5
- package/dist/cache/entities/CacheRecord.d.ts.map +1 -1
- package/dist/cache/entities/CredentialEntity.d.ts +1 -1
- package/dist/cache/entities/CredentialEntity.d.ts.map +1 -1
- package/dist/cache/entities/IdTokenEntity.d.ts +1 -1
- package/dist/cache/entities/IdTokenEntity.d.ts.map +1 -1
- package/dist/cache/entities/RefreshTokenEntity.d.ts +1 -1
- package/dist/cache/entities/RefreshTokenEntity.d.ts.map +1 -1
- package/dist/cache/interface/ICacheManager.d.ts +12 -12
- package/dist/cache/interface/ICacheManager.d.ts.map +1 -1
- package/dist/cache/interface/ICachePlugin.d.ts +1 -1
- package/dist/cache/interface/ICachePlugin.d.ts.map +1 -1
- package/dist/cache/persistence/TokenCacheContext.d.ts +1 -1
- package/dist/cache/persistence/TokenCacheContext.d.ts.map +1 -1
- package/dist/cache/persistence/TokenCacheContext.mjs +1 -1
- package/dist/cache/utils/CacheHelpers.d.ts +9 -9
- package/dist/cache/utils/CacheHelpers.d.ts.map +1 -1
- package/dist/cache/utils/CacheHelpers.mjs +1 -1
- package/dist/cache/utils/CacheTypes.d.ts +11 -11
- package/dist/cache/utils/CacheTypes.d.ts.map +1 -1
- package/dist/client/AuthorizationCodeClient.d.ts +10 -9
- package/dist/client/AuthorizationCodeClient.d.ts.map +1 -1
- package/dist/client/AuthorizationCodeClient.mjs +13 -5
- package/dist/client/AuthorizationCodeClient.mjs.map +1 -1
- package/dist/client/BaseClient.d.ts +13 -13
- package/dist/client/BaseClient.d.ts.map +1 -1
- package/dist/client/BaseClient.mjs +1 -1
- package/dist/client/RefreshTokenClient.d.ts +6 -6
- package/dist/client/RefreshTokenClient.d.ts.map +1 -1
- package/dist/client/RefreshTokenClient.mjs +1 -1
- package/dist/client/SilentFlowClient.d.ts +6 -6
- package/dist/client/SilentFlowClient.d.ts.map +1 -1
- package/dist/client/SilentFlowClient.mjs +1 -1
- package/dist/config/ClientConfiguration.d.ts +13 -11
- package/dist/config/ClientConfiguration.d.ts.map +1 -1
- package/dist/config/ClientConfiguration.mjs +2 -1
- package/dist/config/ClientConfiguration.mjs.map +1 -1
- package/dist/constants/AADServerParamKeys.mjs +1 -1
- package/dist/crypto/ICrypto.d.ts +2 -2
- package/dist/crypto/ICrypto.d.ts.map +1 -1
- package/dist/crypto/ICrypto.mjs +1 -1
- package/dist/crypto/JoseHeader.d.ts +1 -1
- package/dist/crypto/JoseHeader.d.ts.map +1 -1
- package/dist/crypto/JoseHeader.mjs +1 -1
- package/dist/crypto/PopTokenGenerator.d.ts +3 -3
- package/dist/crypto/PopTokenGenerator.d.ts.map +1 -1
- package/dist/crypto/PopTokenGenerator.mjs +1 -1
- package/dist/crypto/SignedHttpRequest.d.ts +1 -1
- package/dist/crypto/SignedHttpRequest.d.ts.map +1 -1
- package/dist/error/AuthError.d.ts +1 -1
- package/dist/error/AuthError.d.ts.map +1 -1
- package/dist/error/AuthError.mjs +1 -1
- package/dist/error/AuthErrorCodes.mjs +1 -1
- package/dist/error/CacheError.d.ts +1 -1
- package/dist/error/CacheError.d.ts.map +1 -1
- package/dist/error/CacheError.mjs +1 -1
- package/dist/error/CacheErrorCodes.mjs +1 -1
- package/dist/error/ClientAuthError.d.ts +2 -2
- package/dist/error/ClientAuthError.d.ts.map +1 -1
- package/dist/error/ClientAuthError.mjs +1 -1
- package/dist/error/ClientAuthErrorCodes.mjs +1 -1
- package/dist/error/ClientConfigurationError.d.ts +2 -2
- package/dist/error/ClientConfigurationError.d.ts.map +1 -1
- package/dist/error/ClientConfigurationError.mjs +1 -1
- package/dist/error/ClientConfigurationErrorCodes.mjs +1 -1
- package/dist/error/InteractionRequiredAuthError.d.ts +2 -2
- package/dist/error/InteractionRequiredAuthError.d.ts.map +1 -1
- package/dist/error/InteractionRequiredAuthError.mjs +1 -1
- package/dist/error/InteractionRequiredAuthErrorCodes.mjs +1 -1
- package/dist/error/JoseHeaderError.d.ts +2 -2
- package/dist/error/JoseHeaderError.d.ts.map +1 -1
- package/dist/error/JoseHeaderError.mjs +1 -1
- package/dist/error/JoseHeaderErrorCodes.mjs +1 -1
- package/dist/error/ServerError.d.ts +1 -1
- package/dist/error/ServerError.d.ts.map +1 -1
- package/dist/error/ServerError.mjs +1 -1
- package/dist/exports-browser-only.d.ts +10 -0
- package/dist/exports-browser-only.d.ts.map +1 -0
- package/dist/exports-common.d.ts +80 -0
- package/dist/exports-common.d.ts.map +1 -0
- package/dist/exports-node-only.d.ts +18 -0
- package/dist/exports-node-only.d.ts.map +1 -0
- package/dist/index-browser.d.ts +7 -0
- package/dist/index-browser.d.ts.map +1 -0
- package/dist/index-browser.mjs +67 -0
- package/dist/index-browser.mjs.map +1 -0
- package/dist/index-node.d.ts +7 -0
- package/dist/index-node.d.ts.map +1 -0
- package/dist/index-node.mjs +66 -0
- package/dist/index-node.mjs.map +1 -0
- package/dist/index.d.ts +7 -103
- package/dist/index.d.ts.map +1 -1
- package/dist/index.mjs +30 -30
- package/dist/logger/Logger.d.ts +1 -1
- package/dist/logger/Logger.d.ts.map +1 -1
- package/dist/logger/Logger.mjs +1 -1
- package/dist/network/INetworkModule.d.ts +1 -1
- package/dist/network/INetworkModule.d.ts.map +1 -1
- package/dist/network/INetworkModule.mjs +1 -1
- package/dist/network/NetworkManager.d.ts +4 -4
- package/dist/network/NetworkManager.d.ts.map +1 -1
- package/dist/network/NetworkManager.mjs +1 -1
- package/dist/network/RequestThumbprint.d.ts +2 -2
- package/dist/network/RequestThumbprint.d.ts.map +1 -1
- package/dist/network/ThrottlingUtils.d.ts +5 -5
- package/dist/network/ThrottlingUtils.d.ts.map +1 -1
- package/dist/network/ThrottlingUtils.mjs +1 -1
- package/dist/packageMetadata.d.ts +1 -1
- package/dist/packageMetadata.mjs +2 -2
- package/dist/request/AuthenticationHeaderParser.mjs +1 -1
- package/dist/request/BaseAuthRequest.d.ts +5 -5
- package/dist/request/BaseAuthRequest.d.ts.map +1 -1
- package/dist/request/CommonAuthorizationCodeRequest.d.ts +3 -3
- package/dist/request/CommonAuthorizationCodeRequest.d.ts.map +1 -1
- package/dist/request/CommonAuthorizationUrlRequest.d.ts +4 -4
- package/dist/request/CommonAuthorizationUrlRequest.d.ts.map +1 -1
- package/dist/request/CommonClientCredentialRequest.d.ts +3 -3
- package/dist/request/CommonClientCredentialRequest.d.ts.map +1 -1
- package/dist/request/CommonDeviceCodeRequest.d.ts +3 -3
- package/dist/request/CommonDeviceCodeRequest.d.ts.map +1 -1
- package/dist/request/CommonEndSessionRequest.d.ts +2 -2
- package/dist/request/CommonEndSessionRequest.d.ts.map +1 -1
- package/dist/request/CommonOnBehalfOfRequest.d.ts +1 -1
- package/dist/request/CommonOnBehalfOfRequest.d.ts.map +1 -1
- package/dist/request/CommonRefreshTokenRequest.d.ts +3 -3
- package/dist/request/CommonRefreshTokenRequest.d.ts.map +1 -1
- package/dist/request/CommonSilentFlowRequest.d.ts +3 -3
- package/dist/request/CommonSilentFlowRequest.d.ts.map +1 -1
- package/dist/request/CommonUsernamePasswordRequest.d.ts +1 -1
- package/dist/request/CommonUsernamePasswordRequest.d.ts.map +1 -1
- package/dist/request/NativeRequest.d.ts +1 -1
- package/dist/request/NativeRequest.d.ts.map +1 -1
- package/dist/request/RequestParameterBuilder.d.ts +5 -5
- package/dist/request/RequestParameterBuilder.d.ts.map +1 -1
- package/dist/request/RequestParameterBuilder.mjs +1 -1
- package/dist/request/RequestValidator.mjs +1 -1
- package/dist/request/ScopeSet.mjs +1 -1
- package/dist/response/AuthenticationResult.d.ts +1 -1
- package/dist/response/AuthenticationResult.d.ts.map +1 -1
- package/dist/response/ExternalTokenResponse.d.ts +1 -1
- package/dist/response/ExternalTokenResponse.d.ts.map +1 -1
- package/dist/response/ResponseHandler.d.ts +16 -16
- package/dist/response/ResponseHandler.d.ts.map +1 -1
- package/dist/response/ResponseHandler.mjs +1 -1
- package/dist/response/ServerAuthorizationTokenResponse.d.ts +1 -1
- package/dist/response/ServerAuthorizationTokenResponse.d.ts.map +1 -1
- package/dist/telemetry/performance/IPerformanceClient.d.ts +2 -2
- package/dist/telemetry/performance/IPerformanceClient.d.ts.map +1 -1
- package/dist/telemetry/performance/PerformanceClient.d.ts +5 -5
- package/dist/telemetry/performance/PerformanceClient.d.ts.map +1 -1
- package/dist/telemetry/performance/PerformanceClient.mjs +1 -1
- package/dist/telemetry/performance/PerformanceEvent.mjs +1 -1
- package/dist/telemetry/performance/StubPerformanceClient.d.ts +3 -3
- package/dist/telemetry/performance/StubPerformanceClient.d.ts.map +1 -1
- package/dist/telemetry/performance/StubPerformanceClient.mjs +1 -1
- package/dist/telemetry/performance/StubPerformanceClient.mjs.map +1 -1
- package/dist/telemetry/server/ServerTelemetryManager.d.ts +5 -5
- package/dist/telemetry/server/ServerTelemetryManager.d.ts.map +1 -1
- package/dist/telemetry/server/ServerTelemetryManager.mjs +1 -1
- package/dist/url/UrlString.d.ts +1 -1
- package/dist/url/UrlString.d.ts.map +1 -1
- package/dist/url/UrlString.mjs +1 -1
- package/dist/utils/ClientAssertionUtils.d.ts +1 -1
- package/dist/utils/ClientAssertionUtils.d.ts.map +1 -1
- package/dist/utils/ClientAssertionUtils.mjs +1 -1
- package/dist/utils/Constants.mjs +1 -1
- package/dist/utils/FunctionWrappers.d.ts +2 -2
- package/dist/utils/FunctionWrappers.d.ts.map +1 -1
- package/dist/utils/FunctionWrappers.mjs +1 -1
- package/dist/utils/ProtocolUtils.d.ts +1 -1
- package/dist/utils/ProtocolUtils.d.ts.map +1 -1
- package/dist/utils/ProtocolUtils.mjs +1 -1
- package/dist/utils/StringUtils.mjs +1 -1
- package/dist/utils/TimeUtils.mjs +1 -1
- package/dist/utils/UrlUtils.d.ts +1 -1
- package/dist/utils/UrlUtils.d.ts.map +1 -1
- package/dist/utils/UrlUtils.mjs +1 -1
- package/lib/index-browser.cjs +838 -0
- package/lib/index-browser.cjs.map +1 -0
- package/{dist/index.cjs → lib/index-node-aee3f7b6.js} +39 -765
- package/lib/index-node-aee3f7b6.js.map +1 -0
- package/lib/index-node.cjs +103 -0
- package/lib/index-node.cjs.map +1 -0
- package/lib/index.cjs +111 -0
- package/lib/index.cjs.map +1 -0
- package/lib/package.json +1 -0
- package/lib/types/account/AccountInfo.d.ts +67 -0
- package/lib/types/account/AccountInfo.d.ts.map +1 -0
- package/lib/types/account/AuthToken.d.ts +18 -0
- package/lib/types/account/AuthToken.d.ts.map +1 -0
- package/lib/types/account/CcsCredential.d.ts +10 -0
- package/lib/types/account/CcsCredential.d.ts.map +1 -0
- package/lib/types/account/ClientCredentials.d.ts +20 -0
- package/lib/types/account/ClientCredentials.d.ts.map +1 -0
- package/lib/types/account/ClientInfo.d.ts +19 -0
- package/lib/types/account/ClientInfo.d.ts.map +1 -0
- package/lib/types/account/TokenClaims.d.ts +84 -0
- package/lib/types/account/TokenClaims.d.ts.map +1 -0
- package/lib/types/authority/Authority.d.ts +255 -0
- package/lib/types/authority/Authority.d.ts.map +1 -0
- package/lib/types/authority/AuthorityFactory.d.ts +19 -0
- package/lib/types/authority/AuthorityFactory.d.ts.map +1 -0
- package/lib/types/authority/AuthorityMetadata.d.ts +44 -0
- package/lib/types/authority/AuthorityMetadata.d.ts.map +1 -0
- package/lib/types/authority/AuthorityOptions.d.ts +28 -0
- package/lib/types/authority/AuthorityOptions.d.ts.map +1 -0
- package/lib/types/authority/AuthorityType.d.ts +11 -0
- package/lib/types/authority/AuthorityType.d.ts.map +1 -0
- package/lib/types/authority/AzureRegion.d.ts +2 -0
- package/lib/types/authority/AzureRegion.d.ts.map +1 -0
- package/lib/types/authority/AzureRegionConfiguration.d.ts +6 -0
- package/lib/types/authority/AzureRegionConfiguration.d.ts.map +1 -0
- package/lib/types/authority/CloudDiscoveryMetadata.d.ts +6 -0
- package/lib/types/authority/CloudDiscoveryMetadata.d.ts.map +1 -0
- package/lib/types/authority/CloudInstanceDiscoveryErrorResponse.d.ts +14 -0
- package/lib/types/authority/CloudInstanceDiscoveryErrorResponse.d.ts.map +1 -0
- package/lib/types/authority/CloudInstanceDiscoveryResponse.d.ts +10 -0
- package/lib/types/authority/CloudInstanceDiscoveryResponse.d.ts.map +1 -0
- package/lib/types/authority/ImdsOptions.d.ts +6 -0
- package/lib/types/authority/ImdsOptions.d.ts.map +1 -0
- package/lib/types/authority/OIDCOptions.d.ts +9 -0
- package/lib/types/authority/OIDCOptions.d.ts.map +1 -0
- package/lib/types/authority/OpenIdConfigResponse.d.ts +12 -0
- package/lib/types/authority/OpenIdConfigResponse.d.ts.map +1 -0
- package/lib/types/authority/ProtocolMode.d.ts +9 -0
- package/lib/types/authority/ProtocolMode.d.ts.map +1 -0
- package/lib/types/authority/RegionDiscovery.d.ts +33 -0
- package/lib/types/authority/RegionDiscovery.d.ts.map +1 -0
- package/lib/types/authority/RegionDiscoveryMetadata.d.ts +7 -0
- package/lib/types/authority/RegionDiscoveryMetadata.d.ts.map +1 -0
- package/lib/types/broker/nativeBroker/INativeBrokerPlugin.d.ts +16 -0
- package/lib/types/broker/nativeBroker/INativeBrokerPlugin.d.ts.map +1 -0
- package/lib/types/cache/CacheManager.d.ts +498 -0
- package/lib/types/cache/CacheManager.d.ts.map +1 -0
- package/lib/types/cache/entities/AccessTokenEntity.d.ts +26 -0
- package/lib/types/cache/entities/AccessTokenEntity.d.ts.map +1 -0
- package/lib/types/cache/entities/AccountEntity.d.ts +107 -0
- package/lib/types/cache/entities/AccountEntity.d.ts.map +1 -0
- package/lib/types/cache/entities/AppMetadataEntity.d.ts +12 -0
- package/lib/types/cache/entities/AppMetadataEntity.d.ts.map +1 -0
- package/lib/types/cache/entities/AuthorityMetadataEntity.d.ts +16 -0
- package/lib/types/cache/entities/AuthorityMetadataEntity.d.ts.map +1 -0
- package/lib/types/cache/entities/CacheRecord.d.ts +14 -0
- package/lib/types/cache/entities/CacheRecord.d.ts.map +1 -0
- package/lib/types/cache/entities/CredentialEntity.d.ts +31 -0
- package/lib/types/cache/entities/CredentialEntity.d.ts.map +1 -0
- package/lib/types/cache/entities/IdTokenEntity.d.ts +9 -0
- package/lib/types/cache/entities/IdTokenEntity.d.ts.map +1 -0
- package/lib/types/cache/entities/RefreshTokenEntity.d.ts +8 -0
- package/lib/types/cache/entities/RefreshTokenEntity.d.ts.map +1 -0
- package/lib/types/cache/entities/ServerTelemetryEntity.d.ts +7 -0
- package/lib/types/cache/entities/ServerTelemetryEntity.d.ts.map +1 -0
- package/lib/types/cache/entities/ThrottlingEntity.d.ts +8 -0
- package/lib/types/cache/entities/ThrottlingEntity.d.ts.map +1 -0
- package/lib/types/cache/interface/ICacheManager.d.ts +167 -0
- package/lib/types/cache/interface/ICacheManager.d.ts.map +1 -0
- package/lib/types/cache/interface/ICachePlugin.d.ts +6 -0
- package/lib/types/cache/interface/ICachePlugin.d.ts.map +1 -0
- package/lib/types/cache/interface/ISerializableTokenCache.d.ts +5 -0
- package/lib/types/cache/interface/ISerializableTokenCache.d.ts.map +1 -0
- package/lib/types/cache/persistence/TokenCacheContext.d.ts +24 -0
- package/lib/types/cache/persistence/TokenCacheContext.d.ts.map +1 -0
- package/lib/types/cache/utils/CacheHelpers.d.ts +95 -0
- package/lib/types/cache/utils/CacheHelpers.d.ts.map +1 -0
- package/lib/types/cache/utils/CacheTypes.d.ts +70 -0
- package/lib/types/cache/utils/CacheTypes.d.ts.map +1 -0
- package/lib/types/client/AuthorizationCodeClient.d.ts +76 -0
- package/lib/types/client/AuthorizationCodeClient.d.ts.map +1 -0
- package/lib/types/client/BaseClient.d.ts +52 -0
- package/lib/types/client/BaseClient.d.ts.map +1 -0
- package/lib/types/client/RefreshTokenClient.d.ts +36 -0
- package/lib/types/client/RefreshTokenClient.d.ts.map +1 -0
- package/lib/types/client/SilentFlowClient.d.ts +28 -0
- package/lib/types/client/SilentFlowClient.d.ts.map +1 -0
- package/lib/types/config/AppTokenProvider.d.ts +39 -0
- package/lib/types/config/AppTokenProvider.d.ts.map +1 -0
- package/lib/types/config/ClientConfiguration.d.ts +153 -0
- package/lib/types/config/ClientConfiguration.d.ts.map +1 -0
- package/lib/types/constants/AADServerParamKeys.d.ts +54 -0
- package/lib/types/constants/AADServerParamKeys.d.ts.map +1 -0
- package/lib/types/crypto/ICrypto.d.ts +69 -0
- package/lib/types/crypto/ICrypto.d.ts.map +1 -0
- package/lib/types/crypto/IGuidGenerator.d.ts +5 -0
- package/lib/types/crypto/IGuidGenerator.d.ts.map +1 -0
- package/lib/types/crypto/JoseHeader.d.ts +23 -0
- package/lib/types/crypto/JoseHeader.d.ts.map +1 -0
- package/lib/types/crypto/PopTokenGenerator.d.ts +60 -0
- package/lib/types/crypto/PopTokenGenerator.d.ts.map +1 -0
- package/lib/types/crypto/SignedHttpRequest.d.ts +16 -0
- package/lib/types/crypto/SignedHttpRequest.d.ts.map +1 -0
- package/lib/types/error/AuthError.d.ts +45 -0
- package/lib/types/error/AuthError.d.ts.map +1 -0
- package/lib/types/error/AuthErrorCodes.d.ts +6 -0
- package/lib/types/error/AuthErrorCodes.d.ts.map +1 -0
- package/lib/types/error/CacheError.d.ts +21 -0
- package/lib/types/error/CacheError.d.ts.map +1 -0
- package/lib/types/error/CacheErrorCodes.d.ts +3 -0
- package/lib/types/error/CacheErrorCodes.d.ts.map +1 -0
- package/lib/types/error/ClientAuthError.d.ts +238 -0
- package/lib/types/error/ClientAuthError.d.ts.map +1 -0
- package/lib/types/error/ClientAuthErrorCodes.d.ts +45 -0
- package/lib/types/error/ClientAuthErrorCodes.d.ts.map +1 -0
- package/lib/types/error/ClientConfigurationError.d.ts +129 -0
- package/lib/types/error/ClientConfigurationError.d.ts.map +1 -0
- package/lib/types/error/ClientConfigurationErrorCodes.d.ts +23 -0
- package/lib/types/error/ClientConfigurationErrorCodes.d.ts.map +1 -0
- package/lib/types/error/InteractionRequiredAuthError.d.ts +66 -0
- package/lib/types/error/InteractionRequiredAuthError.d.ts.map +1 -0
- package/lib/types/error/InteractionRequiredAuthErrorCodes.d.ts +8 -0
- package/lib/types/error/InteractionRequiredAuthErrorCodes.d.ts.map +1 -0
- package/lib/types/error/JoseHeaderError.d.ts +16 -0
- package/lib/types/error/JoseHeaderError.d.ts.map +1 -0
- package/lib/types/error/JoseHeaderErrorCodes.d.ts +3 -0
- package/lib/types/error/JoseHeaderErrorCodes.d.ts.map +1 -0
- package/lib/types/error/ServerError.d.ts +16 -0
- package/lib/types/error/ServerError.d.ts.map +1 -0
- package/lib/types/exports-browser-only.d.ts +10 -0
- package/lib/types/exports-browser-only.d.ts.map +1 -0
- package/lib/types/exports-common.d.ts +80 -0
- package/lib/types/exports-common.d.ts.map +1 -0
- package/lib/types/exports-node-only.d.ts +18 -0
- package/lib/types/exports-node-only.d.ts.map +1 -0
- package/lib/types/index-browser.d.ts +7 -0
- package/lib/types/index-browser.d.ts.map +1 -0
- package/lib/types/index-node.d.ts +7 -0
- package/lib/types/index-node.d.ts.map +1 -0
- package/lib/types/index.d.ts +12 -0
- package/lib/types/index.d.ts.map +1 -0
- package/lib/types/logger/Logger.d.ts +96 -0
- package/lib/types/logger/Logger.d.ts.map +1 -0
- package/lib/types/network/INetworkModule.d.ts +30 -0
- package/lib/types/network/INetworkModule.d.ts.map +1 -0
- package/lib/types/network/NetworkManager.d.ts +34 -0
- package/lib/types/network/NetworkManager.d.ts.map +1 -0
- package/lib/types/network/RequestThumbprint.d.ts +19 -0
- package/lib/types/network/RequestThumbprint.d.ts.map +1 -0
- package/lib/types/network/ThrottlingUtils.d.ts +43 -0
- package/lib/types/network/ThrottlingUtils.d.ts.map +1 -0
- package/lib/types/packageMetadata.d.ts +3 -0
- package/lib/types/packageMetadata.d.ts.map +1 -0
- package/lib/types/request/AuthenticationHeaderParser.d.ts +20 -0
- package/lib/types/request/AuthenticationHeaderParser.d.ts.map +1 -0
- package/lib/types/request/BaseAuthRequest.d.ts +48 -0
- package/lib/types/request/BaseAuthRequest.d.ts.map +1 -0
- package/lib/types/request/CommonAuthorizationCodeRequest.d.ts +28 -0
- package/lib/types/request/CommonAuthorizationCodeRequest.d.ts.map +1 -0
- package/lib/types/request/CommonAuthorizationUrlRequest.d.ts +51 -0
- package/lib/types/request/CommonAuthorizationUrlRequest.d.ts.map +1 -0
- package/lib/types/request/CommonClientCredentialRequest.d.ts +18 -0
- package/lib/types/request/CommonClientCredentialRequest.d.ts.map +1 -0
- package/lib/types/request/CommonDeviceCodeRequest.d.ts +22 -0
- package/lib/types/request/CommonDeviceCodeRequest.d.ts.map +1 -0
- package/lib/types/request/CommonEndSessionRequest.d.ts +22 -0
- package/lib/types/request/CommonEndSessionRequest.d.ts.map +1 -0
- package/lib/types/request/CommonOnBehalfOfRequest.d.ts +14 -0
- package/lib/types/request/CommonOnBehalfOfRequest.d.ts.map +1 -0
- package/lib/types/request/CommonRefreshTokenRequest.d.ts +23 -0
- package/lib/types/request/CommonRefreshTokenRequest.d.ts.map +1 -0
- package/lib/types/request/CommonSilentFlowRequest.d.ts +28 -0
- package/lib/types/request/CommonSilentFlowRequest.d.ts.map +1 -0
- package/lib/types/request/CommonUsernamePasswordRequest.d.ts +18 -0
- package/lib/types/request/CommonUsernamePasswordRequest.d.ts.map +1 -0
- package/lib/types/request/NativeRequest.d.ts +20 -0
- package/lib/types/request/NativeRequest.d.ts.map +1 -0
- package/lib/types/request/NativeSignOutRequest.d.ts +6 -0
- package/lib/types/request/NativeSignOutRequest.d.ts.map +1 -0
- package/lib/types/request/RequestParameterBuilder.d.ts +218 -0
- package/lib/types/request/RequestParameterBuilder.d.ts.map +1 -0
- package/lib/types/request/RequestValidator.d.ts +28 -0
- package/lib/types/request/RequestValidator.d.ts.map +1 -0
- package/lib/types/request/ScopeSet.d.ts +89 -0
- package/lib/types/request/ScopeSet.d.ts.map +1 -0
- package/lib/types/request/StoreInCache.d.ts +9 -0
- package/lib/types/request/StoreInCache.d.ts.map +1 -0
- package/lib/types/response/AuthenticationResult.d.ts +42 -0
- package/lib/types/response/AuthenticationResult.d.ts.map +1 -0
- package/lib/types/response/AuthorizationCodePayload.d.ts +14 -0
- package/lib/types/response/AuthorizationCodePayload.d.ts.map +1 -0
- package/lib/types/response/DeviceCodeResponse.d.ts +26 -0
- package/lib/types/response/DeviceCodeResponse.d.ts.map +1 -0
- package/lib/types/response/ExternalTokenResponse.d.ts +16 -0
- package/lib/types/response/ExternalTokenResponse.d.ts.map +1 -0
- package/lib/types/response/IMDSBadResponse.d.ts +5 -0
- package/lib/types/response/IMDSBadResponse.d.ts.map +1 -0
- package/lib/types/response/ResponseHandler.d.ts +70 -0
- package/lib/types/response/ResponseHandler.d.ts.map +1 -0
- package/lib/types/response/ServerAuthorizationCodeResponse.d.ts +27 -0
- package/lib/types/response/ServerAuthorizationCodeResponse.d.ts.map +1 -0
- package/lib/types/response/ServerAuthorizationTokenResponse.d.ts +48 -0
- package/lib/types/response/ServerAuthorizationTokenResponse.d.ts.map +1 -0
- package/lib/types/telemetry/performance/IPerformanceClient.d.ts +58 -0
- package/lib/types/telemetry/performance/IPerformanceClient.d.ts.map +1 -0
- package/lib/types/telemetry/performance/IPerformanceMeasurement.d.ts +6 -0
- package/lib/types/telemetry/performance/IPerformanceMeasurement.d.ts.map +1 -0
- package/lib/types/telemetry/performance/PerformanceClient.d.ts +243 -0
- package/lib/types/telemetry/performance/PerformanceClient.d.ts.map +1 -0
- package/lib/types/telemetry/performance/PerformanceEvent.d.ts +512 -0
- package/lib/types/telemetry/performance/PerformanceEvent.d.ts.map +1 -0
- package/lib/types/telemetry/performance/StubPerformanceClient.d.ts +25 -0
- package/lib/types/telemetry/performance/StubPerformanceClient.d.ts.map +1 -0
- package/lib/types/telemetry/server/ServerTelemetryManager.d.ts +79 -0
- package/lib/types/telemetry/server/ServerTelemetryManager.d.ts.map +1 -0
- package/lib/types/telemetry/server/ServerTelemetryRequest.d.ts +9 -0
- package/lib/types/telemetry/server/ServerTelemetryRequest.d.ts.map +1 -0
- package/lib/types/url/IUri.d.ts +13 -0
- package/lib/types/url/IUri.d.ts.map +1 -0
- package/lib/types/url/UrlString.d.ts +49 -0
- package/lib/types/url/UrlString.d.ts.map +1 -0
- package/lib/types/utils/ClientAssertionUtils.d.ts +3 -0
- package/lib/types/utils/ClientAssertionUtils.d.ts.map +1 -0
- package/lib/types/utils/Constants.d.ts +310 -0
- package/lib/types/utils/Constants.d.ts.map +1 -0
- package/lib/types/utils/FunctionWrappers.d.ts +28 -0
- package/lib/types/utils/FunctionWrappers.d.ts.map +1 -0
- package/lib/types/utils/MsalTypes.d.ts +7 -0
- package/lib/types/utils/MsalTypes.d.ts.map +1 -0
- package/lib/types/utils/ProtocolUtils.d.ts +43 -0
- package/lib/types/utils/ProtocolUtils.d.ts.map +1 -0
- package/lib/types/utils/StringUtils.d.ts +41 -0
- package/lib/types/utils/StringUtils.d.ts.map +1 -0
- package/lib/types/utils/TimeUtils.d.ts +26 -0
- package/lib/types/utils/TimeUtils.d.ts.map +1 -0
- package/lib/types/utils/UrlUtils.d.ts +11 -0
- package/lib/types/utils/UrlUtils.d.ts.map +1 -0
- package/node/README.md +1 -0
- package/node/package.json +5 -0
- package/package.json +37 -8
- package/src/account/AccountInfo.ts +1 -1
- package/src/account/AuthToken.ts +2 -2
- package/src/account/ClientInfo.ts +2 -2
- package/src/authority/Authority.ts +26 -26
- package/src/authority/AuthorityFactory.ts +9 -9
- package/src/authority/AuthorityMetadata.ts +7 -7
- package/src/authority/AuthorityOptions.ts +4 -4
- package/src/authority/AzureRegionConfiguration.ts +1 -1
- package/src/authority/CloudInstanceDiscoveryResponse.ts +1 -1
- package/src/authority/OIDCOptions.ts +1 -1
- package/src/authority/RegionDiscovery.ts +10 -10
- package/src/authority/RegionDiscoveryMetadata.ts +1 -1
- package/src/broker/nativeBroker/INativeBrokerPlugin.ts +5 -5
- package/src/cache/CacheManager.ts +28 -28
- package/src/cache/entities/AccessTokenEntity.ts +2 -2
- package/src/cache/entities/AccountEntity.ts +10 -10
- package/src/cache/entities/CacheRecord.ts +5 -5
- package/src/cache/entities/CredentialEntity.ts +1 -1
- package/src/cache/entities/IdTokenEntity.ts +1 -1
- package/src/cache/entities/RefreshTokenEntity.ts +1 -1
- package/src/cache/interface/ICacheManager.ts +12 -12
- package/src/cache/interface/ICachePlugin.ts +1 -1
- package/src/cache/persistence/TokenCacheContext.ts +1 -1
- package/src/cache/utils/CacheHelpers.ts +13 -13
- package/src/cache/utils/CacheTypes.ts +11 -11
- package/src/client/AuthorizationCodeClient.ts +51 -38
- package/src/client/BaseClient.ts +19 -19
- package/src/client/RefreshTokenClient.ts +29 -29
- package/src/client/SilentFlowClient.ts +17 -17
- package/src/config/ClientConfiguration.ts +18 -15
- package/src/crypto/ICrypto.ts +3 -3
- package/src/crypto/JoseHeader.ts +2 -2
- package/src/crypto/PopTokenGenerator.ts +7 -7
- package/src/crypto/SignedHttpRequest.ts +1 -1
- package/src/error/AuthError.ts +2 -2
- package/src/error/CacheError.ts +1 -1
- package/src/error/ClientAuthError.ts +2 -2
- package/src/error/ClientConfigurationError.ts +2 -2
- package/src/error/InteractionRequiredAuthError.ts +3 -3
- package/src/error/JoseHeaderError.ts +2 -2
- package/src/error/ServerError.ts +1 -1
- package/src/exports-browser-only.ts +29 -0
- package/src/exports-common.ts +192 -0
- package/src/exports-node-only.ts +35 -0
- package/src/index-browser.ts +11 -0
- package/src/index-node.ts +11 -0
- package/src/index.ts +7 -250
- package/src/logger/Logger.ts +2 -2
- package/src/network/INetworkModule.ts +2 -2
- package/src/network/NetworkManager.ts +7 -7
- package/src/network/RequestThumbprint.ts +2 -2
- package/src/network/ThrottlingUtils.ts +8 -8
- package/src/packageMetadata.ts +1 -1
- package/src/request/AuthenticationHeaderParser.ts +2 -2
- package/src/request/BaseAuthRequest.ts +5 -5
- package/src/request/CommonAuthorizationCodeRequest.ts +3 -3
- package/src/request/CommonAuthorizationUrlRequest.ts +4 -4
- package/src/request/CommonClientCredentialRequest.ts +3 -3
- package/src/request/CommonDeviceCodeRequest.ts +3 -3
- package/src/request/CommonEndSessionRequest.ts +2 -2
- package/src/request/CommonOnBehalfOfRequest.ts +1 -1
- package/src/request/CommonRefreshTokenRequest.ts +3 -3
- package/src/request/CommonSilentFlowRequest.ts +3 -3
- package/src/request/CommonUsernamePasswordRequest.ts +1 -1
- package/src/request/NativeRequest.ts +1 -1
- package/src/request/RequestParameterBuilder.ts +9 -9
- package/src/request/RequestValidator.ts +2 -2
- package/src/request/ScopeSet.ts +4 -4
- package/src/response/AuthenticationResult.ts +1 -1
- package/src/response/ExternalTokenResponse.ts +1 -1
- package/src/response/ResponseHandler.ts +31 -31
- package/src/response/ServerAuthorizationTokenResponse.ts +1 -1
- package/src/telemetry/performance/IPerformanceClient.ts +2 -2
- package/src/telemetry/performance/PerformanceClient.ts +10 -10
- package/src/telemetry/performance/StubPerformanceClient.ts +6 -3
- package/src/telemetry/server/ServerTelemetryManager.ts +6 -6
- package/src/url/UrlString.ts +5 -5
- package/src/utils/ClientAssertionUtils.ts +1 -1
- package/src/utils/FunctionWrappers.ts +2 -2
- package/src/utils/ProtocolUtils.ts +3 -3
- package/src/utils/UrlUtils.ts +2 -2
- package/dist/index.cjs.map +0 -1
|
@@ -3,55 +3,55 @@
|
|
|
3
3
|
* Licensed under the MIT License.
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
import { BaseClient } from "./BaseClient";
|
|
7
|
-
import { CommonAuthorizationUrlRequest } from "../request/CommonAuthorizationUrlRequest";
|
|
8
|
-
import { CommonAuthorizationCodeRequest } from "../request/CommonAuthorizationCodeRequest";
|
|
9
|
-
import { Authority } from "../authority/Authority";
|
|
10
|
-
import { RequestParameterBuilder } from "../request/RequestParameterBuilder";
|
|
6
|
+
import { BaseClient } from "./BaseClient.js";
|
|
7
|
+
import { CommonAuthorizationUrlRequest } from "../request/CommonAuthorizationUrlRequest.js";
|
|
8
|
+
import { CommonAuthorizationCodeRequest } from "../request/CommonAuthorizationCodeRequest.js";
|
|
9
|
+
import { Authority } from "../authority/Authority.js";
|
|
10
|
+
import { RequestParameterBuilder } from "../request/RequestParameterBuilder.js";
|
|
11
11
|
import {
|
|
12
12
|
GrantType,
|
|
13
13
|
AuthenticationScheme,
|
|
14
14
|
PromptValue,
|
|
15
15
|
Separators,
|
|
16
16
|
HeaderNames,
|
|
17
|
-
} from "../utils/Constants";
|
|
18
|
-
import * as AADServerParamKeys from "../constants/AADServerParamKeys";
|
|
17
|
+
} from "../utils/Constants.js";
|
|
18
|
+
import * as AADServerParamKeys from "../constants/AADServerParamKeys.js";
|
|
19
19
|
import {
|
|
20
20
|
ClientConfiguration,
|
|
21
21
|
isOidcProtocolMode,
|
|
22
|
-
} from "../config/ClientConfiguration";
|
|
23
|
-
import { ServerAuthorizationTokenResponse } from "../response/ServerAuthorizationTokenResponse";
|
|
24
|
-
import { NetworkResponse } from "../network/NetworkManager";
|
|
25
|
-
import { ResponseHandler } from "../response/ResponseHandler";
|
|
26
|
-
import { AuthenticationResult } from "../response/AuthenticationResult";
|
|
27
|
-
import { StringUtils } from "../utils/StringUtils";
|
|
22
|
+
} from "../config/ClientConfiguration.js";
|
|
23
|
+
import { ServerAuthorizationTokenResponse } from "../response/ServerAuthorizationTokenResponse.js";
|
|
24
|
+
import { NetworkResponse } from "../network/NetworkManager.js";
|
|
25
|
+
import { ResponseHandler } from "../response/ResponseHandler.js";
|
|
26
|
+
import { AuthenticationResult } from "../response/AuthenticationResult.js";
|
|
27
|
+
import { StringUtils } from "../utils/StringUtils.js";
|
|
28
28
|
import {
|
|
29
29
|
ClientAuthErrorCodes,
|
|
30
30
|
createClientAuthError,
|
|
31
|
-
} from "../error/ClientAuthError";
|
|
32
|
-
import { UrlString } from "../url/UrlString";
|
|
33
|
-
import { ServerAuthorizationCodeResponse } from "../response/ServerAuthorizationCodeResponse";
|
|
34
|
-
import { CommonEndSessionRequest } from "../request/CommonEndSessionRequest";
|
|
35
|
-
import { PopTokenGenerator } from "../crypto/PopTokenGenerator";
|
|
36
|
-
import { RequestThumbprint } from "../network/RequestThumbprint";
|
|
37
|
-
import { AuthorizationCodePayload } from "../response/AuthorizationCodePayload";
|
|
38
|
-
import * as TimeUtils from "../utils/TimeUtils";
|
|
39
|
-
import { AccountInfo } from "../account/AccountInfo";
|
|
31
|
+
} from "../error/ClientAuthError.js";
|
|
32
|
+
import { UrlString } from "../url/UrlString.js";
|
|
33
|
+
import { ServerAuthorizationCodeResponse } from "../response/ServerAuthorizationCodeResponse.js";
|
|
34
|
+
import { CommonEndSessionRequest } from "../request/CommonEndSessionRequest.js";
|
|
35
|
+
import { PopTokenGenerator } from "../crypto/PopTokenGenerator.js";
|
|
36
|
+
import { RequestThumbprint } from "../network/RequestThumbprint.js";
|
|
37
|
+
import { AuthorizationCodePayload } from "../response/AuthorizationCodePayload.js";
|
|
38
|
+
import * as TimeUtils from "../utils/TimeUtils.js";
|
|
39
|
+
import { AccountInfo } from "../account/AccountInfo.js";
|
|
40
40
|
import {
|
|
41
41
|
buildClientInfoFromHomeAccountId,
|
|
42
42
|
buildClientInfo,
|
|
43
|
-
} from "../account/ClientInfo";
|
|
44
|
-
import { CcsCredentialType, CcsCredential } from "../account/CcsCredential";
|
|
43
|
+
} from "../account/ClientInfo.js";
|
|
44
|
+
import { CcsCredentialType, CcsCredential } from "../account/CcsCredential.js";
|
|
45
45
|
import {
|
|
46
46
|
createClientConfigurationError,
|
|
47
47
|
ClientConfigurationErrorCodes,
|
|
48
|
-
} from "../error/ClientConfigurationError";
|
|
49
|
-
import { RequestValidator } from "../request/RequestValidator";
|
|
50
|
-
import { IPerformanceClient } from "../telemetry/performance/IPerformanceClient";
|
|
51
|
-
import { PerformanceEvents } from "../telemetry/performance/PerformanceEvent";
|
|
52
|
-
import { invokeAsync } from "../utils/FunctionWrappers";
|
|
53
|
-
import { ClientAssertion } from "../account/ClientCredentials";
|
|
54
|
-
import { getClientAssertion } from "../utils/ClientAssertionUtils";
|
|
48
|
+
} from "../error/ClientConfigurationError.js";
|
|
49
|
+
import { RequestValidator } from "../request/RequestValidator.js";
|
|
50
|
+
import { IPerformanceClient } from "../telemetry/performance/IPerformanceClient.js";
|
|
51
|
+
import { PerformanceEvents } from "../telemetry/performance/PerformanceEvent.js";
|
|
52
|
+
import { invokeAsync } from "../utils/FunctionWrappers.js";
|
|
53
|
+
import { ClientAssertion } from "../account/ClientCredentials.js";
|
|
54
|
+
import { getClientAssertion } from "../utils/ClientAssertionUtils.js";
|
|
55
55
|
|
|
56
56
|
/**
|
|
57
57
|
* Oauth2.0 Authorization Code client
|
|
@@ -674,11 +674,7 @@ export class AuthorizationCodeClient extends BaseClient {
|
|
|
674
674
|
);
|
|
675
675
|
}
|
|
676
676
|
|
|
677
|
-
|
|
678
|
-
parameterBuilder.addExtraQueryParameters(
|
|
679
|
-
request.extraQueryParameters
|
|
680
|
-
);
|
|
681
|
-
}
|
|
677
|
+
this.addExtraQueryParams(request, parameterBuilder);
|
|
682
678
|
|
|
683
679
|
if (request.nativeBroker) {
|
|
684
680
|
// signal ests that this is a WAM call
|
|
@@ -742,13 +738,30 @@ export class AuthorizationCodeClient extends BaseClient {
|
|
|
742
738
|
parameterBuilder.addLogoutHint(request.logoutHint);
|
|
743
739
|
}
|
|
744
740
|
|
|
741
|
+
this.addExtraQueryParams(request, parameterBuilder);
|
|
742
|
+
|
|
743
|
+
return parameterBuilder.createQueryString();
|
|
744
|
+
}
|
|
745
|
+
|
|
746
|
+
private addExtraQueryParams(
|
|
747
|
+
request: CommonAuthorizationUrlRequest | CommonEndSessionRequest,
|
|
748
|
+
parameterBuilder: RequestParameterBuilder
|
|
749
|
+
) {
|
|
750
|
+
const hasRequestInstanceAware =
|
|
751
|
+
request.extraQueryParameters &&
|
|
752
|
+
request.extraQueryParameters.hasOwnProperty("instance_aware");
|
|
753
|
+
|
|
754
|
+
// Set instance_aware flag if config auth param is set
|
|
755
|
+
if (!hasRequestInstanceAware && this.config.authOptions.instanceAware) {
|
|
756
|
+
request.extraQueryParameters = request.extraQueryParameters || {};
|
|
757
|
+
request.extraQueryParameters["instance_aware"] = "true";
|
|
758
|
+
}
|
|
759
|
+
|
|
745
760
|
if (request.extraQueryParameters) {
|
|
746
761
|
parameterBuilder.addExtraQueryParameters(
|
|
747
762
|
request.extraQueryParameters
|
|
748
763
|
);
|
|
749
764
|
}
|
|
750
|
-
|
|
751
|
-
return parameterBuilder.createQueryString();
|
|
752
765
|
}
|
|
753
766
|
|
|
754
767
|
/**
|
package/src/client/BaseClient.ts
CHANGED
|
@@ -7,25 +7,25 @@ import {
|
|
|
7
7
|
ClientConfiguration,
|
|
8
8
|
buildClientConfiguration,
|
|
9
9
|
CommonClientConfiguration,
|
|
10
|
-
} from "../config/ClientConfiguration";
|
|
11
|
-
import { INetworkModule } from "../network/INetworkModule";
|
|
12
|
-
import { NetworkManager, NetworkResponse } from "../network/NetworkManager";
|
|
13
|
-
import { ICrypto } from "../crypto/ICrypto";
|
|
14
|
-
import { Authority } from "../authority/Authority";
|
|
15
|
-
import { Logger } from "../logger/Logger";
|
|
16
|
-
import { Constants, HeaderNames } from "../utils/Constants";
|
|
17
|
-
import { ServerAuthorizationTokenResponse } from "../response/ServerAuthorizationTokenResponse";
|
|
18
|
-
import { CacheManager } from "../cache/CacheManager";
|
|
19
|
-
import { ServerTelemetryManager } from "../telemetry/server/ServerTelemetryManager";
|
|
20
|
-
import { RequestThumbprint } from "../network/RequestThumbprint";
|
|
21
|
-
import { version, name } from "../packageMetadata";
|
|
22
|
-
import { CcsCredential, CcsCredentialType } from "../account/CcsCredential";
|
|
23
|
-
import { buildClientInfoFromHomeAccountId } from "../account/ClientInfo";
|
|
24
|
-
import { IPerformanceClient } from "../telemetry/performance/IPerformanceClient";
|
|
25
|
-
import { RequestParameterBuilder } from "../request/RequestParameterBuilder";
|
|
26
|
-
import { BaseAuthRequest } from "../request/BaseAuthRequest";
|
|
27
|
-
import { createDiscoveredInstance } from "../authority/AuthorityFactory";
|
|
28
|
-
import { PerformanceEvents } from "../telemetry/performance/PerformanceEvent";
|
|
10
|
+
} from "../config/ClientConfiguration.js";
|
|
11
|
+
import { INetworkModule } from "../network/INetworkModule.js";
|
|
12
|
+
import { NetworkManager, NetworkResponse } from "../network/NetworkManager.js";
|
|
13
|
+
import { ICrypto } from "../crypto/ICrypto.js";
|
|
14
|
+
import { Authority } from "../authority/Authority.js";
|
|
15
|
+
import { Logger } from "../logger/Logger.js";
|
|
16
|
+
import { Constants, HeaderNames } from "../utils/Constants.js";
|
|
17
|
+
import { ServerAuthorizationTokenResponse } from "../response/ServerAuthorizationTokenResponse.js";
|
|
18
|
+
import { CacheManager } from "../cache/CacheManager.js";
|
|
19
|
+
import { ServerTelemetryManager } from "../telemetry/server/ServerTelemetryManager.js";
|
|
20
|
+
import { RequestThumbprint } from "../network/RequestThumbprint.js";
|
|
21
|
+
import { version, name } from "../packageMetadata.js";
|
|
22
|
+
import { CcsCredential, CcsCredentialType } from "../account/CcsCredential.js";
|
|
23
|
+
import { buildClientInfoFromHomeAccountId } from "../account/ClientInfo.js";
|
|
24
|
+
import { IPerformanceClient } from "../telemetry/performance/IPerformanceClient.js";
|
|
25
|
+
import { RequestParameterBuilder } from "../request/RequestParameterBuilder.js";
|
|
26
|
+
import { BaseAuthRequest } from "../request/BaseAuthRequest.js";
|
|
27
|
+
import { createDiscoveredInstance } from "../authority/AuthorityFactory.js";
|
|
28
|
+
import { PerformanceEvents } from "../telemetry/performance/PerformanceEvent.js";
|
|
29
29
|
|
|
30
30
|
/**
|
|
31
31
|
* Base application class which will construct requests to send to and handle responses from the Microsoft STS using the authorization code flow.
|
|
@@ -6,50 +6,50 @@
|
|
|
6
6
|
import {
|
|
7
7
|
ClientConfiguration,
|
|
8
8
|
isOidcProtocolMode,
|
|
9
|
-
} from "../config/ClientConfiguration";
|
|
10
|
-
import { BaseClient } from "./BaseClient";
|
|
11
|
-
import { CommonRefreshTokenRequest } from "../request/CommonRefreshTokenRequest";
|
|
12
|
-
import { Authority } from "../authority/Authority";
|
|
13
|
-
import { ServerAuthorizationTokenResponse } from "../response/ServerAuthorizationTokenResponse";
|
|
14
|
-
import { RequestParameterBuilder } from "../request/RequestParameterBuilder";
|
|
9
|
+
} from "../config/ClientConfiguration.js";
|
|
10
|
+
import { BaseClient } from "./BaseClient.js";
|
|
11
|
+
import { CommonRefreshTokenRequest } from "../request/CommonRefreshTokenRequest.js";
|
|
12
|
+
import { Authority } from "../authority/Authority.js";
|
|
13
|
+
import { ServerAuthorizationTokenResponse } from "../response/ServerAuthorizationTokenResponse.js";
|
|
14
|
+
import { RequestParameterBuilder } from "../request/RequestParameterBuilder.js";
|
|
15
15
|
import {
|
|
16
16
|
GrantType,
|
|
17
17
|
AuthenticationScheme,
|
|
18
18
|
Errors,
|
|
19
19
|
HeaderNames,
|
|
20
|
-
} from "../utils/Constants";
|
|
21
|
-
import * as AADServerParamKeys from "../constants/AADServerParamKeys";
|
|
22
|
-
import { ResponseHandler } from "../response/ResponseHandler";
|
|
23
|
-
import { AuthenticationResult } from "../response/AuthenticationResult";
|
|
24
|
-
import { PopTokenGenerator } from "../crypto/PopTokenGenerator";
|
|
25
|
-
import { StringUtils } from "../utils/StringUtils";
|
|
26
|
-
import { RequestThumbprint } from "../network/RequestThumbprint";
|
|
27
|
-
import { NetworkResponse } from "../network/NetworkManager";
|
|
28
|
-
import { CommonSilentFlowRequest } from "../request/CommonSilentFlowRequest";
|
|
20
|
+
} from "../utils/Constants.js";
|
|
21
|
+
import * as AADServerParamKeys from "../constants/AADServerParamKeys.js";
|
|
22
|
+
import { ResponseHandler } from "../response/ResponseHandler.js";
|
|
23
|
+
import { AuthenticationResult } from "../response/AuthenticationResult.js";
|
|
24
|
+
import { PopTokenGenerator } from "../crypto/PopTokenGenerator.js";
|
|
25
|
+
import { StringUtils } from "../utils/StringUtils.js";
|
|
26
|
+
import { RequestThumbprint } from "../network/RequestThumbprint.js";
|
|
27
|
+
import { NetworkResponse } from "../network/NetworkManager.js";
|
|
28
|
+
import { CommonSilentFlowRequest } from "../request/CommonSilentFlowRequest.js";
|
|
29
29
|
import {
|
|
30
30
|
createClientConfigurationError,
|
|
31
31
|
ClientConfigurationErrorCodes,
|
|
32
|
-
} from "../error/ClientConfigurationError";
|
|
32
|
+
} from "../error/ClientConfigurationError.js";
|
|
33
33
|
import {
|
|
34
34
|
createClientAuthError,
|
|
35
35
|
ClientAuthErrorCodes,
|
|
36
|
-
} from "../error/ClientAuthError";
|
|
37
|
-
import { ServerError } from "../error/ServerError";
|
|
38
|
-
import * as TimeUtils from "../utils/TimeUtils";
|
|
39
|
-
import { UrlString } from "../url/UrlString";
|
|
40
|
-
import { CcsCredentialType } from "../account/CcsCredential";
|
|
41
|
-
import { buildClientInfoFromHomeAccountId } from "../account/ClientInfo";
|
|
36
|
+
} from "../error/ClientAuthError.js";
|
|
37
|
+
import { ServerError } from "../error/ServerError.js";
|
|
38
|
+
import * as TimeUtils from "../utils/TimeUtils.js";
|
|
39
|
+
import { UrlString } from "../url/UrlString.js";
|
|
40
|
+
import { CcsCredentialType } from "../account/CcsCredential.js";
|
|
41
|
+
import { buildClientInfoFromHomeAccountId } from "../account/ClientInfo.js";
|
|
42
42
|
import {
|
|
43
43
|
InteractionRequiredAuthError,
|
|
44
44
|
InteractionRequiredAuthErrorCodes,
|
|
45
45
|
createInteractionRequiredAuthError,
|
|
46
|
-
} from "../error/InteractionRequiredAuthError";
|
|
47
|
-
import { PerformanceEvents } from "../telemetry/performance/PerformanceEvent";
|
|
48
|
-
import { IPerformanceClient } from "../telemetry/performance/IPerformanceClient";
|
|
49
|
-
import { invoke, invokeAsync } from "../utils/FunctionWrappers";
|
|
50
|
-
import { generateCredentialKey } from "../cache/utils/CacheHelpers";
|
|
51
|
-
import { ClientAssertion } from "../account/ClientCredentials";
|
|
52
|
-
import { getClientAssertion } from "../utils/ClientAssertionUtils";
|
|
46
|
+
} from "../error/InteractionRequiredAuthError.js";
|
|
47
|
+
import { PerformanceEvents } from "../telemetry/performance/PerformanceEvent.js";
|
|
48
|
+
import { IPerformanceClient } from "../telemetry/performance/IPerformanceClient.js";
|
|
49
|
+
import { invoke, invokeAsync } from "../utils/FunctionWrappers.js";
|
|
50
|
+
import { generateCredentialKey } from "../cache/utils/CacheHelpers.js";
|
|
51
|
+
import { ClientAssertion } from "../account/ClientCredentials.js";
|
|
52
|
+
import { getClientAssertion } from "../utils/ClientAssertionUtils.js";
|
|
53
53
|
|
|
54
54
|
const DEFAULT_REFRESH_TOKEN_EXPIRATION_OFFSET_SECONDS = 300; // 5 Minutes
|
|
55
55
|
|
|
@@ -3,27 +3,27 @@
|
|
|
3
3
|
* Licensed under the MIT License.
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
import { BaseClient } from "./BaseClient";
|
|
7
|
-
import { ClientConfiguration } from "../config/ClientConfiguration";
|
|
8
|
-
import { CommonSilentFlowRequest } from "../request/CommonSilentFlowRequest";
|
|
9
|
-
import { AuthenticationResult } from "../response/AuthenticationResult";
|
|
10
|
-
import * as TimeUtils from "../utils/TimeUtils";
|
|
11
|
-
import { RefreshTokenClient } from "./RefreshTokenClient";
|
|
6
|
+
import { BaseClient } from "./BaseClient.js";
|
|
7
|
+
import { ClientConfiguration } from "../config/ClientConfiguration.js";
|
|
8
|
+
import { CommonSilentFlowRequest } from "../request/CommonSilentFlowRequest.js";
|
|
9
|
+
import { AuthenticationResult } from "../response/AuthenticationResult.js";
|
|
10
|
+
import * as TimeUtils from "../utils/TimeUtils.js";
|
|
11
|
+
import { RefreshTokenClient } from "./RefreshTokenClient.js";
|
|
12
12
|
import {
|
|
13
13
|
ClientAuthError,
|
|
14
14
|
ClientAuthErrorCodes,
|
|
15
15
|
createClientAuthError,
|
|
16
|
-
} from "../error/ClientAuthError";
|
|
17
|
-
import { ResponseHandler } from "../response/ResponseHandler";
|
|
18
|
-
import { CacheRecord } from "../cache/entities/CacheRecord";
|
|
19
|
-
import { CacheOutcome, OIDC_DEFAULT_SCOPES } from "../utils/Constants";
|
|
20
|
-
import { IPerformanceClient } from "../telemetry/performance/IPerformanceClient";
|
|
21
|
-
import { StringUtils } from "../utils/StringUtils";
|
|
22
|
-
import { checkMaxAge, extractTokenClaims } from "../account/AuthToken";
|
|
23
|
-
import { TokenClaims } from "../account/TokenClaims";
|
|
24
|
-
import { PerformanceEvents } from "../telemetry/performance/PerformanceEvent";
|
|
25
|
-
import { invokeAsync } from "../utils/FunctionWrappers";
|
|
26
|
-
import { getTenantFromAuthorityString } from "../authority/Authority";
|
|
16
|
+
} from "../error/ClientAuthError.js";
|
|
17
|
+
import { ResponseHandler } from "../response/ResponseHandler.js";
|
|
18
|
+
import { CacheRecord } from "../cache/entities/CacheRecord.js";
|
|
19
|
+
import { CacheOutcome, OIDC_DEFAULT_SCOPES } from "../utils/Constants.js";
|
|
20
|
+
import { IPerformanceClient } from "../telemetry/performance/IPerformanceClient.js";
|
|
21
|
+
import { StringUtils } from "../utils/StringUtils.js";
|
|
22
|
+
import { checkMaxAge, extractTokenClaims } from "../account/AuthToken.js";
|
|
23
|
+
import { TokenClaims } from "../account/TokenClaims.js";
|
|
24
|
+
import { PerformanceEvents } from "../telemetry/performance/PerformanceEvent.js";
|
|
25
|
+
import { invokeAsync } from "../utils/FunctionWrappers.js";
|
|
26
|
+
import { getTenantFromAuthorityString } from "../authority/Authority.js";
|
|
27
27
|
|
|
28
28
|
/** @internal */
|
|
29
29
|
export class SilentFlowClient extends BaseClient {
|
|
@@ -3,26 +3,26 @@
|
|
|
3
3
|
* Licensed under the MIT License.
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
import { INetworkModule } from "../network/INetworkModule";
|
|
7
|
-
import { DEFAULT_CRYPTO_IMPLEMENTATION, ICrypto } from "../crypto/ICrypto";
|
|
8
|
-
import { ILoggerCallback, Logger, LogLevel } from "../logger/Logger";
|
|
6
|
+
import { INetworkModule } from "../network/INetworkModule.js";
|
|
7
|
+
import { DEFAULT_CRYPTO_IMPLEMENTATION, ICrypto } from "../crypto/ICrypto.js";
|
|
8
|
+
import { ILoggerCallback, Logger, LogLevel } from "../logger/Logger.js";
|
|
9
9
|
import {
|
|
10
10
|
Constants,
|
|
11
11
|
DEFAULT_TOKEN_RENEWAL_OFFSET_SEC,
|
|
12
|
-
} from "../utils/Constants";
|
|
13
|
-
import { version } from "../packageMetadata";
|
|
14
|
-
import { Authority } from "../authority/Authority";
|
|
15
|
-
import { AzureCloudInstance } from "../authority/AuthorityOptions";
|
|
16
|
-
import { CacheManager, DefaultStorageClass } from "../cache/CacheManager";
|
|
17
|
-
import { ServerTelemetryManager } from "../telemetry/server/ServerTelemetryManager";
|
|
18
|
-
import { ICachePlugin } from "../cache/interface/ICachePlugin";
|
|
19
|
-
import { ISerializableTokenCache } from "../cache/interface/ISerializableTokenCache";
|
|
20
|
-
import { ClientCredentials } from "../account/ClientCredentials";
|
|
21
|
-
import { ProtocolMode } from "../authority/ProtocolMode";
|
|
12
|
+
} from "../utils/Constants.js";
|
|
13
|
+
import { version } from "../packageMetadata.js";
|
|
14
|
+
import { Authority } from "../authority/Authority.js";
|
|
15
|
+
import { AzureCloudInstance } from "../authority/AuthorityOptions.js";
|
|
16
|
+
import { CacheManager, DefaultStorageClass } from "../cache/CacheManager.js";
|
|
17
|
+
import { ServerTelemetryManager } from "../telemetry/server/ServerTelemetryManager.js";
|
|
18
|
+
import { ICachePlugin } from "../cache/interface/ICachePlugin.js";
|
|
19
|
+
import { ISerializableTokenCache } from "../cache/interface/ISerializableTokenCache.js";
|
|
20
|
+
import { ClientCredentials } from "../account/ClientCredentials.js";
|
|
21
|
+
import { ProtocolMode } from "../authority/ProtocolMode.js";
|
|
22
22
|
import {
|
|
23
23
|
ClientAuthErrorCodes,
|
|
24
24
|
createClientAuthError,
|
|
25
|
-
} from "../error/ClientAuthError";
|
|
25
|
+
} from "../error/ClientAuthError.js";
|
|
26
26
|
|
|
27
27
|
/**
|
|
28
28
|
* Use the configuration object to configure MSAL Modules and initialize the base interfaces for MSAL.
|
|
@@ -80,7 +80,8 @@ export type CommonClientConfiguration = {
|
|
|
80
80
|
* - cloudDiscoveryMetadata - A string containing the cloud discovery response. Used in AAD scenarios.
|
|
81
81
|
* - clientCapabilities - Array of capabilities which will be added to the claims.access_token.xms_cc request property on every network request.
|
|
82
82
|
* - protocolMode - Enum that represents the protocol that msal follows. Used for configuring proper endpoints.
|
|
83
|
-
* - skipAuthorityMetadataCache
|
|
83
|
+
* - skipAuthorityMetadataCache - A flag to choose whether to use or not use the local metadata cache during authority initialization. Defaults to false.
|
|
84
|
+
* - instanceAware - A flag of whether the STS will send back additional parameters to specify where the tokens should be retrieved from.
|
|
84
85
|
* @internal
|
|
85
86
|
*/
|
|
86
87
|
export type AuthOptions = {
|
|
@@ -89,6 +90,7 @@ export type AuthOptions = {
|
|
|
89
90
|
clientCapabilities?: Array<string>;
|
|
90
91
|
azureCloudOptions?: AzureCloudOptions;
|
|
91
92
|
skipAuthorityMetadataCache?: boolean;
|
|
93
|
+
instanceAware?: boolean;
|
|
92
94
|
};
|
|
93
95
|
|
|
94
96
|
/**
|
|
@@ -271,6 +273,7 @@ function buildAuthOptions(authOptions: AuthOptions): Required<AuthOptions> {
|
|
|
271
273
|
clientCapabilities: [],
|
|
272
274
|
azureCloudOptions: DEFAULT_AZURE_CLOUD_OPTIONS,
|
|
273
275
|
skipAuthorityMetadataCache: false,
|
|
276
|
+
instanceAware: false,
|
|
274
277
|
...authOptions,
|
|
275
278
|
};
|
|
276
279
|
}
|
package/src/crypto/ICrypto.ts
CHANGED
|
@@ -6,9 +6,9 @@
|
|
|
6
6
|
import {
|
|
7
7
|
ClientAuthErrorCodes,
|
|
8
8
|
createClientAuthError,
|
|
9
|
-
} from "../error/ClientAuthError";
|
|
10
|
-
import { BaseAuthRequest } from "../request/BaseAuthRequest";
|
|
11
|
-
import { ShrOptions, SignedHttpRequest } from "./SignedHttpRequest";
|
|
9
|
+
} from "../error/ClientAuthError.js";
|
|
10
|
+
import { BaseAuthRequest } from "../request/BaseAuthRequest.js";
|
|
11
|
+
import { ShrOptions, SignedHttpRequest } from "./SignedHttpRequest.js";
|
|
12
12
|
|
|
13
13
|
/**
|
|
14
14
|
* The PkceCodes type describes the structure
|
package/src/crypto/JoseHeader.ts
CHANGED
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
import {
|
|
7
7
|
JoseHeaderErrorCodes,
|
|
8
8
|
createJoseHeaderError,
|
|
9
|
-
} from "../error/JoseHeaderError";
|
|
10
|
-
import { JsonWebTokenTypes } from "../utils/Constants";
|
|
9
|
+
} from "../error/JoseHeaderError.js";
|
|
10
|
+
import { JsonWebTokenTypes } from "../utils/Constants.js";
|
|
11
11
|
|
|
12
12
|
export type JoseHeaderOptions = {
|
|
13
13
|
typ?: JsonWebTokenTypes;
|
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
* Licensed under the MIT License.
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
import { ICrypto, SignedHttpRequestParameters } from "./ICrypto";
|
|
7
|
-
import * as TimeUtils from "../utils/TimeUtils";
|
|
8
|
-
import { UrlString } from "../url/UrlString";
|
|
9
|
-
import { IPerformanceClient } from "../telemetry/performance/IPerformanceClient";
|
|
10
|
-
import { PerformanceEvents } from "../telemetry/performance/PerformanceEvent";
|
|
11
|
-
import { invokeAsync } from "../utils/FunctionWrappers";
|
|
12
|
-
import { Logger } from "../logger/Logger";
|
|
6
|
+
import { ICrypto, SignedHttpRequestParameters } from "./ICrypto.js";
|
|
7
|
+
import * as TimeUtils from "../utils/TimeUtils.js";
|
|
8
|
+
import { UrlString } from "../url/UrlString.js";
|
|
9
|
+
import { IPerformanceClient } from "../telemetry/performance/IPerformanceClient.js";
|
|
10
|
+
import { PerformanceEvents } from "../telemetry/performance/PerformanceEvent.js";
|
|
11
|
+
import { invokeAsync } from "../utils/FunctionWrappers.js";
|
|
12
|
+
import { Logger } from "../logger/Logger.js";
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
15
|
* See eSTS docs for more info.
|
package/src/error/AuthError.ts
CHANGED
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
* Licensed under the MIT License.
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
import { Constants } from "../utils/Constants";
|
|
7
|
-
import * as AuthErrorCodes from "./AuthErrorCodes";
|
|
6
|
+
import { Constants } from "../utils/Constants.js";
|
|
7
|
+
import * as AuthErrorCodes from "./AuthErrorCodes.js";
|
|
8
8
|
export { AuthErrorCodes };
|
|
9
9
|
|
|
10
10
|
export const AuthErrorMessages = {
|
package/src/error/CacheError.ts
CHANGED
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
* Licensed under the MIT License.
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
import { AuthError } from "./AuthError";
|
|
7
|
-
import * as ClientAuthErrorCodes from "./ClientAuthErrorCodes";
|
|
6
|
+
import { AuthError } from "./AuthError.js";
|
|
7
|
+
import * as ClientAuthErrorCodes from "./ClientAuthErrorCodes.js";
|
|
8
8
|
export { ClientAuthErrorCodes }; // Allow importing as "ClientAuthErrorCodes";
|
|
9
9
|
|
|
10
10
|
/**
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
* Licensed under the MIT License.
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
import { AuthError } from "./AuthError";
|
|
7
|
-
import * as ClientConfigurationErrorCodes from "./ClientConfigurationErrorCodes";
|
|
6
|
+
import { AuthError } from "./AuthError.js";
|
|
7
|
+
import * as ClientConfigurationErrorCodes from "./ClientConfigurationErrorCodes.js";
|
|
8
8
|
export { ClientConfigurationErrorCodes };
|
|
9
9
|
|
|
10
10
|
export const ClientConfigurationErrorMessages = {
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
* Licensed under the MIT License.
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
import { Constants } from "../utils/Constants";
|
|
7
|
-
import { AuthError } from "./AuthError";
|
|
8
|
-
import * as InteractionRequiredAuthErrorCodes from "./InteractionRequiredAuthErrorCodes";
|
|
6
|
+
import { Constants } from "../utils/Constants.js";
|
|
7
|
+
import { AuthError } from "./AuthError.js";
|
|
8
|
+
import * as InteractionRequiredAuthErrorCodes from "./InteractionRequiredAuthErrorCodes.js";
|
|
9
9
|
export { InteractionRequiredAuthErrorCodes };
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
* Licensed under the MIT License.
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
import { AuthError } from "./AuthError";
|
|
7
|
-
import * as JoseHeaderErrorCodes from "./JoseHeaderErrorCodes";
|
|
6
|
+
import { AuthError } from "./AuthError.js";
|
|
7
|
+
import * as JoseHeaderErrorCodes from "./JoseHeaderErrorCodes.js";
|
|
8
8
|
export { JoseHeaderErrorCodes };
|
|
9
9
|
|
|
10
10
|
export const JoseHeaderErrorMessages = {
|
package/src/error/ServerError.ts
CHANGED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
export { SignedHttpRequest, ShrOptions } from "./crypto/SignedHttpRequest.js";
|
|
7
|
+
export { JoseHeader } from "./crypto/JoseHeader.js";
|
|
8
|
+
export { ExternalTokenResponse } from "./response/ExternalTokenResponse.js";
|
|
9
|
+
export {
|
|
10
|
+
IPerformanceClient,
|
|
11
|
+
PerformanceCallbackFunction,
|
|
12
|
+
InProgressPerformanceEvent,
|
|
13
|
+
QueueMeasurement,
|
|
14
|
+
} from "./telemetry/performance/IPerformanceClient.js";
|
|
15
|
+
export {
|
|
16
|
+
IntFields,
|
|
17
|
+
PerformanceEvent,
|
|
18
|
+
PerformanceEvents,
|
|
19
|
+
PerformanceEventStatus,
|
|
20
|
+
SubMeasurement,
|
|
21
|
+
} from "./telemetry/performance/PerformanceEvent.js";
|
|
22
|
+
export { IPerformanceMeasurement } from "./telemetry/performance/IPerformanceMeasurement.js";
|
|
23
|
+
export {
|
|
24
|
+
PerformanceClient,
|
|
25
|
+
PreQueueEvent,
|
|
26
|
+
} from "./telemetry/performance/PerformanceClient.js";
|
|
27
|
+
export { StubPerformanceClient } from "./telemetry/performance/StubPerformanceClient.js";
|
|
28
|
+
|
|
29
|
+
export { PopTokenGenerator } from "./crypto/PopTokenGenerator.js";
|