@azure/msal-common 14.14.2 → 14.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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 -23
- package/dist/cache/CacheManager.d.ts.map +1 -1
- package/dist/cache/CacheManager.mjs +1 -4
- package/dist/cache/CacheManager.mjs.map +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 +35 -16
- package/dist/client/AuthorizationCodeClient.mjs.map +1 -1
- package/dist/client/BaseClient.d.ts +21 -14
- package/dist/client/BaseClient.d.ts.map +1 -1
- package/dist/client/BaseClient.mjs +62 -10
- package/dist/client/BaseClient.mjs.map +1 -1
- package/dist/client/RefreshTokenClient.d.ts +6 -6
- package/dist/client/RefreshTokenClient.d.ts.map +1 -1
- package/dist/client/RefreshTokenClient.mjs +10 -4
- package/dist/client/RefreshTokenClient.mjs.map +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 +15 -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.d.ts +2 -0
- package/dist/constants/AADServerParamKeys.d.ts.map +1 -1
- package/dist/constants/AADServerParamKeys.mjs +5 -3
- package/dist/constants/AADServerParamKeys.mjs.map +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/NetworkError.d.ts +19 -0
- package/dist/error/NetworkError.d.ts.map +1 -0
- package/dist/error/NetworkError.mjs +34 -0
- package/dist/error/NetworkError.mjs.map +1 -0
- 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 +81 -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 +31 -31
- 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/NetworkResponse.d.ts +6 -0
- package/dist/network/NetworkResponse.d.ts.map +1 -0
- 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 +7 -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 +13 -6
- package/dist/request/RequestParameterBuilder.d.ts.map +1 -1
- package/dist/request/RequestParameterBuilder.mjs +26 -3
- package/dist/request/RequestParameterBuilder.mjs.map +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 +29 -10
- package/dist/telemetry/performance/PerformanceClient.mjs.map +1 -1
- package/dist/telemetry/performance/PerformanceEvent.d.ts +9 -0
- package/dist/telemetry/performance/PerformanceEvent.d.ts.map +1 -1
- package/dist/telemetry/performance/PerformanceEvent.mjs +6 -1
- package/dist/telemetry/performance/PerformanceEvent.mjs.map +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.d.ts +1 -0
- package/dist/utils/Constants.d.ts.map +1 -1
- package/dist/utils/Constants.mjs +2 -1
- 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 +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 +858 -0
- package/lib/index-browser.cjs.map +1 -0
- package/{dist/index.cjs → lib/index-node-C9XsExml.js} +352 -990
- package/lib/index-node-C9XsExml.js.map +1 -0
- package/lib/index-node.cjs +104 -0
- package/lib/index-node.cjs.map +1 -0
- package/lib/index.cjs +112 -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 +493 -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 +59 -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 +155 -0
- package/lib/types/config/ClientConfiguration.d.ts.map +1 -0
- package/lib/types/constants/AADServerParamKeys.d.ts +56 -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/NetworkError.d.ts +19 -0
- package/lib/types/error/NetworkError.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 +81 -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/NetworkResponse.d.ts +6 -0
- package/lib/types/network/NetworkResponse.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 +50 -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 +225 -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 +521 -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 +311 -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 +38 -11
- 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 -36
- 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 +86 -52
- package/src/client/BaseClient.ts +121 -39
- package/src/client/RefreshTokenClient.ts +42 -33
- package/src/client/SilentFlowClient.ts +17 -17
- package/src/config/ClientConfiguration.ts +20 -15
- package/src/constants/AADServerParamKeys.ts +2 -0
- 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/NetworkError.ts +44 -0
- package/src/error/ServerError.ts +1 -1
- package/src/exports-browser-only.ts +29 -0
- package/src/exports-common.ts +189 -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/NetworkResponse.ts +10 -0
- 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 +7 -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 +60 -10
- 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 +52 -22
- package/src/telemetry/performance/PerformanceEvent.ts +15 -0
- 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/Constants.ts +1 -0
- 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
- package/dist/network/NetworkManager.d.ts +0 -34
- package/dist/network/NetworkManager.d.ts.map +0 -1
- package/dist/network/NetworkManager.mjs +0 -44
- package/dist/network/NetworkManager.mjs.map +0 -1
- package/src/network/NetworkManager.ts +0 -76
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AuthorityMetadataEntity.d.ts","sourceRoot":"","sources":["../../../../src/cache/entities/AuthorityMetadataEntity.ts"],"names":[],"mappings":"AAKA,gBAAgB;AAChB,MAAM,MAAM,uBAAuB,GAAG;IAClC,OAAO,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACvB,eAAe,EAAE,MAAM,CAAC;IACxB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,mBAAmB,EAAE,MAAM,CAAC;IAC5B,sBAAsB,EAAE,MAAM,CAAC;IAC/B,cAAc,EAAE,MAAM,CAAC;IACvB,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,MAAM,EAAE,MAAM,CAAC;IACf,kBAAkB,EAAE,OAAO,CAAC;IAC5B,oBAAoB,EAAE,OAAO,CAAC;IAC9B,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;CACpB,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { IdTokenEntity } from "./IdTokenEntity.js";
|
|
2
|
+
import { AccessTokenEntity } from "./AccessTokenEntity.js";
|
|
3
|
+
import { RefreshTokenEntity } from "./RefreshTokenEntity.js";
|
|
4
|
+
import { AccountEntity } from "./AccountEntity.js";
|
|
5
|
+
import { AppMetadataEntity } from "./AppMetadataEntity.js";
|
|
6
|
+
/** @internal */
|
|
7
|
+
export type CacheRecord = {
|
|
8
|
+
account?: AccountEntity | null;
|
|
9
|
+
idToken?: IdTokenEntity | null;
|
|
10
|
+
accessToken?: AccessTokenEntity | null;
|
|
11
|
+
refreshToken?: RefreshTokenEntity | null;
|
|
12
|
+
appMetadata?: AppMetadataEntity | null;
|
|
13
|
+
};
|
|
14
|
+
//# sourceMappingURL=CacheRecord.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CacheRecord.d.ts","sourceRoot":"","sources":["../../../../src/cache/entities/CacheRecord.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACnD,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAC3D,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACnD,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAE3D,gBAAgB;AAChB,MAAM,MAAM,WAAW,GAAG;IACtB,OAAO,CAAC,EAAE,aAAa,GAAG,IAAI,CAAC;IAC/B,OAAO,CAAC,EAAE,aAAa,GAAG,IAAI,CAAC;IAC/B,WAAW,CAAC,EAAE,iBAAiB,GAAG,IAAI,CAAC;IACvC,YAAY,CAAC,EAAE,kBAAkB,GAAG,IAAI,CAAC;IACzC,WAAW,CAAC,EAAE,iBAAiB,GAAG,IAAI,CAAC;CAC1C,CAAC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { CredentialType, AuthenticationScheme } from "../../utils/Constants.js";
|
|
2
|
+
/**
|
|
3
|
+
* Credential Cache Type
|
|
4
|
+
*/
|
|
5
|
+
export type CredentialEntity = {
|
|
6
|
+
/** Identifier for the user in their home tenant*/
|
|
7
|
+
homeAccountId: string;
|
|
8
|
+
/** Entity that issued the token, represented as a full host */
|
|
9
|
+
environment: string;
|
|
10
|
+
/** Type of credential */
|
|
11
|
+
credentialType: CredentialType;
|
|
12
|
+
/** Client ID of the application */
|
|
13
|
+
clientId: string;
|
|
14
|
+
/** Actual credential as a string */
|
|
15
|
+
secret: string;
|
|
16
|
+
/** Family ID identifier, usually only used for refresh tokens */
|
|
17
|
+
familyId?: string;
|
|
18
|
+
/** Full tenant or organizational identifier that the account belongs to */
|
|
19
|
+
realm?: string;
|
|
20
|
+
/** Permissions that are included in the token, or for refresh tokens, the resource identifier. */
|
|
21
|
+
target?: string;
|
|
22
|
+
/** Matches the SHA 256 hash of the obo_assertion for the OBO flow */
|
|
23
|
+
userAssertionHash?: string;
|
|
24
|
+
/** Matches the authentication scheme for which the token was issued (i.e. Bearer or pop) */
|
|
25
|
+
tokenType?: AuthenticationScheme;
|
|
26
|
+
/** KeyId for PoP and SSH tokens stored in the kid claim */
|
|
27
|
+
keyId?: string;
|
|
28
|
+
/** Matches the SHA 256 hash of the claims object included in the token request */
|
|
29
|
+
requestedClaimsHash?: string;
|
|
30
|
+
};
|
|
31
|
+
//# sourceMappingURL=CredentialEntity.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CredentialEntity.d.ts","sourceRoot":"","sources":["../../../../src/cache/entities/CredentialEntity.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,cAAc,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAEhF;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG;IAC3B,kDAAkD;IAClD,aAAa,EAAE,MAAM,CAAC;IACtB,+DAA+D;IAC/D,WAAW,EAAE,MAAM,CAAC;IACpB,yBAAyB;IACzB,cAAc,EAAE,cAAc,CAAC;IAC/B,mCAAmC;IACnC,QAAQ,EAAE,MAAM,CAAC;IACjB,oCAAoC;IACpC,MAAM,EAAE,MAAM,CAAC;IACf,iEAAiE;IACjE,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,2EAA2E;IAC3E,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,kGAAkG;IAClG,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,qEAAqE;IACrE,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,4FAA4F;IAC5F,SAAS,CAAC,EAAE,oBAAoB,CAAC;IACjC,2DAA2D;IAC3D,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,kFAAkF;IAClF,mBAAmB,CAAC,EAAE,MAAM,CAAC;CAChC,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { CredentialEntity } from "./CredentialEntity.js";
|
|
2
|
+
/**
|
|
3
|
+
* Id Token Cache Type
|
|
4
|
+
*/
|
|
5
|
+
export type IdTokenEntity = CredentialEntity & {
|
|
6
|
+
/** Full tenant or organizational identifier that the account belongs to */
|
|
7
|
+
realm: string;
|
|
8
|
+
};
|
|
9
|
+
//# sourceMappingURL=IdTokenEntity.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IdTokenEntity.d.ts","sourceRoot":"","sources":["../../../../src/cache/entities/IdTokenEntity.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAEzD;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG,gBAAgB,GAAG;IAC3C,4EAA4E;IAC5E,KAAK,EAAE,MAAM,CAAC;CACjB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RefreshTokenEntity.d.ts","sourceRoot":"","sources":["../../../../src/cache/entities/RefreshTokenEntity.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAEzD;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG,gBAAgB,GAAG;IAChD,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ServerTelemetryEntity.d.ts","sourceRoot":"","sources":["../../../../src/cache/entities/ServerTelemetryEntity.ts"],"names":[],"mappings":"AAKA,MAAM,MAAM,qBAAqB,GAAG;IAChC,cAAc,EAAE,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC,CAAC;IACvC,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,qBAAqB,CAAC,EAAE,MAAM,CAAC;CAClC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ThrottlingEntity.d.ts","sourceRoot":"","sources":["../../../../src/cache/entities/ThrottlingEntity.ts"],"names":[],"mappings":"AAKA,MAAM,MAAM,gBAAgB,GAAG;IAE3B,YAAY,EAAE,MAAM,CAAC;IAErB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAC3B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC"}
|
|
@@ -0,0 +1,167 @@
|
|
|
1
|
+
import { AccountFilter } from "../utils/CacheTypes.js";
|
|
2
|
+
import { CacheRecord } from "../entities/CacheRecord.js";
|
|
3
|
+
import { AccountEntity } from "../entities/AccountEntity.js";
|
|
4
|
+
import { AccountInfo } from "../../account/AccountInfo.js";
|
|
5
|
+
import { AppMetadataEntity } from "../entities/AppMetadataEntity.js";
|
|
6
|
+
import { ServerTelemetryEntity } from "../entities/ServerTelemetryEntity.js";
|
|
7
|
+
import { ThrottlingEntity } from "../entities/ThrottlingEntity.js";
|
|
8
|
+
import { IdTokenEntity } from "../entities/IdTokenEntity.js";
|
|
9
|
+
import { AccessTokenEntity } from "../entities/AccessTokenEntity.js";
|
|
10
|
+
import { RefreshTokenEntity } from "../entities/RefreshTokenEntity.js";
|
|
11
|
+
import { AuthorityMetadataEntity } from "../entities/AuthorityMetadataEntity.js";
|
|
12
|
+
import { StoreInCache } from "../../request/StoreInCache.js";
|
|
13
|
+
export interface ICacheManager {
|
|
14
|
+
/**
|
|
15
|
+
* fetch the account entity from the platform cache
|
|
16
|
+
* @param accountKey
|
|
17
|
+
*/
|
|
18
|
+
getAccount(accountKey: string): AccountEntity | null;
|
|
19
|
+
/**
|
|
20
|
+
* set account entity in the platform cache
|
|
21
|
+
* @param account
|
|
22
|
+
*/
|
|
23
|
+
setAccount(account: AccountEntity): void;
|
|
24
|
+
/**
|
|
25
|
+
* Returns true if the given key matches our account key schema. Also matches homeAccountId and/or tenantId if provided
|
|
26
|
+
* @param key
|
|
27
|
+
* @param homeAccountId
|
|
28
|
+
* @param tenantId
|
|
29
|
+
* @returns
|
|
30
|
+
*/
|
|
31
|
+
isAccountKey(key: string, homeAccountId?: string, tenantId?: string): boolean;
|
|
32
|
+
/**
|
|
33
|
+
* fetch the idToken entity from the platform cache
|
|
34
|
+
* @param idTokenKey
|
|
35
|
+
*/
|
|
36
|
+
getIdTokenCredential(idTokenKey: string): IdTokenEntity | null;
|
|
37
|
+
/**
|
|
38
|
+
* set idToken entity to the platform cache
|
|
39
|
+
* @param idToken
|
|
40
|
+
*/
|
|
41
|
+
setIdTokenCredential(idToken: IdTokenEntity): void;
|
|
42
|
+
/**
|
|
43
|
+
* fetch the idToken entity from the platform cache
|
|
44
|
+
* @param accessTokenKey
|
|
45
|
+
*/
|
|
46
|
+
getAccessTokenCredential(accessTokenKey: string): AccessTokenEntity | null;
|
|
47
|
+
/**
|
|
48
|
+
* set idToken entity to the platform cache
|
|
49
|
+
* @param accessToken
|
|
50
|
+
*/
|
|
51
|
+
setAccessTokenCredential(accessToken: AccessTokenEntity): void;
|
|
52
|
+
/**
|
|
53
|
+
* fetch the idToken entity from the platform cache
|
|
54
|
+
* @param refreshTokenKey
|
|
55
|
+
*/
|
|
56
|
+
getRefreshTokenCredential(refreshTokenKey: string): RefreshTokenEntity | null;
|
|
57
|
+
/**
|
|
58
|
+
* set idToken entity to the platform cache
|
|
59
|
+
* @param refreshToken
|
|
60
|
+
*/
|
|
61
|
+
setRefreshTokenCredential(refreshToken: RefreshTokenEntity): void;
|
|
62
|
+
/**
|
|
63
|
+
* fetch appMetadata entity from the platform cache
|
|
64
|
+
* @param appMetadataKey
|
|
65
|
+
*/
|
|
66
|
+
getAppMetadata(appMetadataKey: string): AppMetadataEntity | null;
|
|
67
|
+
/**
|
|
68
|
+
* set appMetadata entity to the platform cache
|
|
69
|
+
* @param appMetadata
|
|
70
|
+
*/
|
|
71
|
+
setAppMetadata(appMetadata: AppMetadataEntity): void;
|
|
72
|
+
/**
|
|
73
|
+
* fetch server telemetry entity from the platform cache
|
|
74
|
+
* @param serverTelemetryKey
|
|
75
|
+
*/
|
|
76
|
+
getServerTelemetry(serverTelemetryKey: string): ServerTelemetryEntity | null;
|
|
77
|
+
/**
|
|
78
|
+
* set server telemetry entity to the platform cache
|
|
79
|
+
* @param serverTelemetryKey
|
|
80
|
+
* @param serverTelemetry
|
|
81
|
+
*/
|
|
82
|
+
setServerTelemetry(serverTelemetryKey: string, serverTelemetry: ServerTelemetryEntity): void;
|
|
83
|
+
/**
|
|
84
|
+
* fetch cloud discovery metadata entity from the platform cache
|
|
85
|
+
* @param key
|
|
86
|
+
*/
|
|
87
|
+
getAuthorityMetadata(key: string): AuthorityMetadataEntity | null;
|
|
88
|
+
/**
|
|
89
|
+
* Get cache keys for authority metadata
|
|
90
|
+
*/
|
|
91
|
+
getAuthorityMetadataKeys(): Array<string>;
|
|
92
|
+
/**
|
|
93
|
+
* set cloud discovery metadata entity to the platform cache
|
|
94
|
+
* @param key
|
|
95
|
+
* @param value
|
|
96
|
+
*/
|
|
97
|
+
setAuthorityMetadata(key: string, value: AuthorityMetadataEntity): void;
|
|
98
|
+
/**
|
|
99
|
+
* Provide an alias to find a matching AuthorityMetadataEntity in cache
|
|
100
|
+
* @param host
|
|
101
|
+
*/
|
|
102
|
+
getAuthorityMetadataByAlias(host: string): AuthorityMetadataEntity | null;
|
|
103
|
+
/**
|
|
104
|
+
* given an authority generates the cache key for authorityMetadata
|
|
105
|
+
* @param authority
|
|
106
|
+
*/
|
|
107
|
+
generateAuthorityMetadataCacheKey(authority: string): string;
|
|
108
|
+
/**
|
|
109
|
+
* fetch throttling entity from the platform cache
|
|
110
|
+
* @param throttlingCacheKey
|
|
111
|
+
*/
|
|
112
|
+
getThrottlingCache(throttlingCacheKey: string): ThrottlingEntity | null;
|
|
113
|
+
/**
|
|
114
|
+
* set throttling entity to the platform cache
|
|
115
|
+
* @param throttlingCacheKey
|
|
116
|
+
* @param throttlingCache
|
|
117
|
+
*/
|
|
118
|
+
setThrottlingCache(throttlingCacheKey: string, throttlingCache: ThrottlingEntity): void;
|
|
119
|
+
/**
|
|
120
|
+
* Returns all accounts in cache
|
|
121
|
+
*/
|
|
122
|
+
getAllAccounts(): AccountInfo[];
|
|
123
|
+
/**
|
|
124
|
+
* saves a cache record
|
|
125
|
+
* @param cacheRecord
|
|
126
|
+
*/
|
|
127
|
+
saveCacheRecord(cacheRecord: CacheRecord, storeInCache?: StoreInCache): Promise<void>;
|
|
128
|
+
/**
|
|
129
|
+
* retrieve accounts matching all provided filters; if no filter is set, get all accounts
|
|
130
|
+
* @param homeAccountId
|
|
131
|
+
* @param environment
|
|
132
|
+
* @param realm
|
|
133
|
+
*/
|
|
134
|
+
getAccountsFilteredBy(filter: AccountFilter): AccountEntity[];
|
|
135
|
+
/**
|
|
136
|
+
* Get AccountInfo object based on provided filters
|
|
137
|
+
* @param filter
|
|
138
|
+
*/
|
|
139
|
+
getAccountInfoFilteredBy(filter: AccountFilter): AccountInfo | null;
|
|
140
|
+
/**
|
|
141
|
+
* Removes all accounts and related tokens from cache.
|
|
142
|
+
*/
|
|
143
|
+
removeAllAccounts(): Promise<void>;
|
|
144
|
+
/**
|
|
145
|
+
* returns a boolean if the given account is removed
|
|
146
|
+
* @param account
|
|
147
|
+
*/
|
|
148
|
+
removeAccount(accountKey: string): Promise<void>;
|
|
149
|
+
/**
|
|
150
|
+
* returns a boolean if the given account is removed
|
|
151
|
+
* @param account
|
|
152
|
+
*/
|
|
153
|
+
removeAccountContext(account: AccountEntity): Promise<void>;
|
|
154
|
+
/**
|
|
155
|
+
* @param key
|
|
156
|
+
*/
|
|
157
|
+
removeIdToken(key: string): void;
|
|
158
|
+
/**
|
|
159
|
+
* @param key
|
|
160
|
+
*/
|
|
161
|
+
removeAccessToken(key: string): Promise<void>;
|
|
162
|
+
/**
|
|
163
|
+
* @param key
|
|
164
|
+
*/
|
|
165
|
+
removeRefreshToken(key: string): void;
|
|
166
|
+
}
|
|
167
|
+
//# sourceMappingURL=ICacheManager.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ICacheManager.d.ts","sourceRoot":"","sources":["../../../../src/cache/interface/ICacheManager.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AACzD,OAAO,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAC;AAC7D,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAC3D,OAAO,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACrE,OAAO,EAAE,qBAAqB,EAAE,MAAM,sCAAsC,CAAC;A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AAO,CAAC,IAAI,CAAC,CAAC;IAEjD;;;OAGG;IACH,oBAAoB,CAAC,OAAO,EAAE,aAAa,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAE5D;;OAEG;IACH,aAAa,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;IAEjC;;OAEG;IACH,iBAAiB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAE9C;;OAEG;IACH,kBAAkB,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;CACzC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { TokenCacheContext } from "../persistence/TokenCacheContext.js";
|
|
2
|
+
export interface ICachePlugin {
|
|
3
|
+
beforeCacheAccess: (tokenCacheContext: TokenCacheContext) => Promise<void>;
|
|
4
|
+
afterCacheAccess: (tokenCacheContext: TokenCacheContext) => Promise<void>;
|
|
5
|
+
}
|
|
6
|
+
//# sourceMappingURL=ICachePlugin.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ICachePlugin.d.ts","sourceRoot":"","sources":["../../../../src/cache/interface/ICachePlugin.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,iBAAiB,EAAE,MAAM,qCAAqC,CAAC;AAExE,MAAM,WAAW,YAAY;IACzB,iBAAiB,EAAE,CAAC,iBAAiB,EAAE,iBAAiB,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IAC3E,gBAAgB,EAAE,CAAC,iBAAiB,EAAE,iBAAiB,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;CAC7E"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ISerializableTokenCache.d.ts","sourceRoot":"","sources":["../../../../src/cache/interface/ISerializableTokenCache.ts"],"names":[],"mappings":"AAKA,MAAM,WAAW,uBAAuB;IACpC,WAAW,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACrC,SAAS,EAAE,MAAM,MAAM,CAAC;CAC3B"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { ISerializableTokenCache } from "../interface/ISerializableTokenCache.js";
|
|
2
|
+
/**
|
|
3
|
+
* This class instance helps track the memory changes facilitating
|
|
4
|
+
* decisions to read from and write to the persistent cache
|
|
5
|
+
*/ export declare class TokenCacheContext {
|
|
6
|
+
/**
|
|
7
|
+
* boolean indicating cache change
|
|
8
|
+
*/
|
|
9
|
+
hasChanged: boolean;
|
|
10
|
+
/**
|
|
11
|
+
* serializable token cache interface
|
|
12
|
+
*/
|
|
13
|
+
cache: ISerializableTokenCache;
|
|
14
|
+
constructor(tokenCache: ISerializableTokenCache, hasChanged: boolean);
|
|
15
|
+
/**
|
|
16
|
+
* boolean which indicates the changes in cache
|
|
17
|
+
*/
|
|
18
|
+
get cacheHasChanged(): boolean;
|
|
19
|
+
/**
|
|
20
|
+
* function to retrieve the token cache
|
|
21
|
+
*/
|
|
22
|
+
get tokenCache(): ISerializableTokenCache;
|
|
23
|
+
}
|
|
24
|
+
//# sourceMappingURL=TokenCacheContext.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TokenCacheContext.d.ts","sourceRoot":"","sources":["../../../../src/cache/persistence/TokenCacheContext.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,uBAAuB,EAAE,MAAM,yCAAyC,CAAC;AAElF;;;GAGG,CAAC,qBAAa,iBAAiB;IAC9B;;OAEG;IACH,UAAU,EAAE,OAAO,CAAC;IACpB;;OAEG;IACH,KAAK,EAAE,uBAAuB,CAAC;gBAEnB,UAAU,EAAE,uBAAuB,EAAE,UAAU,EAAE,OAAO;IAKpE;;OAEG;IACH,IAAI,eAAe,IAAI,OAAO,CAE7B;IAED;;OAEG;IACH,IAAI,UAAU,IAAI,uBAAuB,CAExC;CACJ"}
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import { CloudDiscoveryMetadata } from "../../authority/CloudDiscoveryMetadata.js";
|
|
2
|
+
import { OpenIdConfigResponse } from "../../authority/OpenIdConfigResponse.js";
|
|
3
|
+
import { AuthenticationScheme } from "../../utils/Constants.js";
|
|
4
|
+
import { AccessTokenEntity } from "../entities/AccessTokenEntity.js";
|
|
5
|
+
import { AppMetadataEntity } from "../entities/AppMetadataEntity.js";
|
|
6
|
+
import { AuthorityMetadataEntity } from "../entities/AuthorityMetadataEntity.js";
|
|
7
|
+
import { CredentialEntity } from "../entities/CredentialEntity.js";
|
|
8
|
+
import { IdTokenEntity } from "../entities/IdTokenEntity.js";
|
|
9
|
+
import { RefreshTokenEntity } from "../entities/RefreshTokenEntity.js";
|
|
10
|
+
/**
|
|
11
|
+
* Cache Key: <home_account_id>-<environment>-<credential_type>-<client_id or familyId>-<realm>-<scopes>-<claims hash>-<scheme>
|
|
12
|
+
* IdToken Example: uid.utid-login.microsoftonline.com-idtoken-app_client_id-contoso.com
|
|
13
|
+
* AccessToken Example: uid.utid-login.microsoftonline.com-accesstoken-app_client_id-contoso.com-scope1 scope2--pop
|
|
14
|
+
* RefreshToken Example: uid.utid-login.microsoftonline.com-refreshtoken-1-contoso.com
|
|
15
|
+
* @param credentialEntity
|
|
16
|
+
* @returns
|
|
17
|
+
*/
|
|
18
|
+
export declare function generateCredentialKey(credentialEntity: CredentialEntity): string;
|
|
19
|
+
/**
|
|
20
|
+
* Create IdTokenEntity
|
|
21
|
+
* @param homeAccountId
|
|
22
|
+
* @param authenticationResult
|
|
23
|
+
* @param clientId
|
|
24
|
+
* @param authority
|
|
25
|
+
*/
|
|
26
|
+
export declare function createIdTokenEntity(homeAccountId: string, environment: string, idToken: string, clientId: string, tenantId: string): IdTokenEntity;
|
|
27
|
+
/**
|
|
28
|
+
* Create AccessTokenEntity
|
|
29
|
+
* @param homeAccountId
|
|
30
|
+
* @param environment
|
|
31
|
+
* @param accessToken
|
|
32
|
+
* @param clientId
|
|
33
|
+
* @param tenantId
|
|
34
|
+
* @param scopes
|
|
35
|
+
* @param expiresOn
|
|
36
|
+
* @param extExpiresOn
|
|
37
|
+
*/
|
|
38
|
+
export declare function createAccessTokenEntity(homeAccountId: string, environment: string, accessToken: string, clientId: string, tenantId: string, scopes: string, expiresOn: number, extExpiresOn: number, base64Decode: (input: string) => string, refreshOn?: number, tokenType?: AuthenticationScheme, userAssertionHash?: string, keyId?: string, requestedClaims?: string, requestedClaimsHash?: string): AccessTokenEntity;
|
|
39
|
+
/**
|
|
40
|
+
* Create RefreshTokenEntity
|
|
41
|
+
* @param homeAccountId
|
|
42
|
+
* @param authenticationResult
|
|
43
|
+
* @param clientId
|
|
44
|
+
* @param authority
|
|
45
|
+
*/
|
|
46
|
+
export declare function createRefreshTokenEntity(homeAccountId: string, environment: string, refreshToken: string, clientId: string, familyId?: string, userAssertionHash?: string, expiresOn?: number): RefreshTokenEntity;
|
|
47
|
+
export declare function isCredentialEntity(entity: object): boolean;
|
|
48
|
+
/**
|
|
49
|
+
* Validates an entity: checks for all expected params
|
|
50
|
+
* @param entity
|
|
51
|
+
*/
|
|
52
|
+
export declare function isAccessTokenEntity(entity: object): boolean;
|
|
53
|
+
/**
|
|
54
|
+
* Validates an entity: checks for all expected params
|
|
55
|
+
* @param entity
|
|
56
|
+
*/
|
|
57
|
+
export declare function isIdTokenEntity(entity: object): boolean;
|
|
58
|
+
/**
|
|
59
|
+
* Validates an entity: checks for all expected params
|
|
60
|
+
* @param entity
|
|
61
|
+
*/
|
|
62
|
+
export declare function isRefreshTokenEntity(entity: object): boolean;
|
|
63
|
+
/**
|
|
64
|
+
* validates if a given cache entry is "Telemetry", parses <key,value>
|
|
65
|
+
* @param key
|
|
66
|
+
* @param entity
|
|
67
|
+
*/
|
|
68
|
+
export declare function isServerTelemetryEntity(key: string, entity?: object): boolean;
|
|
69
|
+
/**
|
|
70
|
+
* validates if a given cache entry is "Throttling", parses <key,value>
|
|
71
|
+
* @param key
|
|
72
|
+
* @param entity
|
|
73
|
+
*/
|
|
74
|
+
export declare function isThrottlingEntity(key: string, entity?: object): boolean;
|
|
75
|
+
/**
|
|
76
|
+
* Generate AppMetadata Cache Key as per the schema: appmetadata-<environment>-<client_id>
|
|
77
|
+
*/
|
|
78
|
+
export declare function generateAppMetadataKey({ environment, clientId, }: AppMetadataEntity): string;
|
|
79
|
+
export declare function isAppMetadataEntity(key: string, entity: object): boolean;
|
|
80
|
+
/**
|
|
81
|
+
* Validates an entity: checks for all expected params
|
|
82
|
+
* @param entity
|
|
83
|
+
*/
|
|
84
|
+
export declare function isAuthorityMetadataEntity(key: string, entity: object): boolean;
|
|
85
|
+
/**
|
|
86
|
+
* Reset the exiresAt value
|
|
87
|
+
*/
|
|
88
|
+
export declare function generateAuthorityMetadataExpiresAt(): number;
|
|
89
|
+
export declare function updateAuthorityEndpointMetadata(authorityMetadata: AuthorityMetadataEntity, updatedValues: OpenIdConfigResponse, fromNetwork: boolean): void;
|
|
90
|
+
export declare function updateCloudDiscoveryMetadata(authorityMetadata: AuthorityMetadataEntity, updatedValues: CloudDiscoveryMetadata, fromNetwork: boolean): void;
|
|
91
|
+
/**
|
|
92
|
+
* Returns whether or not the data needs to be refreshed
|
|
93
|
+
*/
|
|
94
|
+
export declare function isAuthorityMetadataExpired(metadata: AuthorityMetadataEntity): boolean;
|
|
95
|
+
//# sourceMappingURL=CacheHelpers.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CacheHelpers.d.ts","sourceRoot":"","sources":["../../../../src/cache/utils/CacheHelpers.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,sBAAsB,EAAE,MAAM,2CAA2C,CAAC;AACnF,OAAO,EAAE,oBAAoB,EAAE,MAAM,yCAAyC,CAAC;AAK/E,OAAO,EAGH,oBAAoB,EAKvB,MAAM,0BAA0B,CAAC;AAElC,OAAO,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACrE,OAAO,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACrE,OAAO,EAAE,uBAAuB,EAAE,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2
|
+
import { IdTokenEntity } from "../entities/IdTokenEntity.js";
|
|
3
|
+
import { AccessTokenEntity } from "../entities/AccessTokenEntity.js";
|
|
4
|
+
import { RefreshTokenEntity } from "../entities/RefreshTokenEntity.js";
|
|
5
|
+
import { AppMetadataEntity } from "../entities/AppMetadataEntity.js";
|
|
6
|
+
import { ServerTelemetryEntity } from "../entities/ServerTelemetryEntity.js";
|
|
7
|
+
import { ThrottlingEntity } from "../entities/ThrottlingEntity.js";
|
|
8
|
+
import { AuthorityMetadataEntity } from "../entities/AuthorityMetadataEntity.js";
|
|
9
|
+
import { AuthenticationScheme } from "../../utils/Constants.js";
|
|
10
|
+
import { ScopeSet } from "../../request/ScopeSet.js";
|
|
11
|
+
import { AccountInfo } from "../../account/AccountInfo.js";
|
|
12
|
+
/** @internal */
|
|
13
|
+
export type AccountCache = Record<string, AccountEntity>;
|
|
14
|
+
/** @internal */
|
|
15
|
+
export type IdTokenCache = Record<string, IdTokenEntity>;
|
|
16
|
+
/** @internal */
|
|
17
|
+
export type AccessTokenCache = Record<string, AccessTokenEntity>;
|
|
18
|
+
/** @internal */
|
|
19
|
+
export type RefreshTokenCache = Record<string, RefreshTokenEntity>;
|
|
20
|
+
/** @internal */
|
|
21
|
+
export type AppMetadataCache = Record<string, AppMetadataEntity>;
|
|
22
|
+
/**
|
|
23
|
+
* Object type of all accepted cache types
|
|
24
|
+
* @internal
|
|
25
|
+
*/
|
|
26
|
+
export type ValidCacheType = AccountEntity | IdTokenEntity | AccessTokenEntity | RefreshTokenEntity | AppMetadataEntity | AuthorityMetadataEntity | ServerTelemetryEntity | ThrottlingEntity | string;
|
|
27
|
+
/**
|
|
28
|
+
* Object type of all credential types
|
|
29
|
+
* @internal
|
|
30
|
+
*/
|
|
31
|
+
export type ValidCredentialType = IdTokenEntity | AccessTokenEntity | RefreshTokenEntity;
|
|
32
|
+
/**
|
|
33
|
+
* Account: <home_account_id>-<environment>-<realm*>
|
|
34
|
+
*/
|
|
35
|
+
export type AccountFilter = Omit<Partial<AccountInfo>, "idToken" | "idTokenClaims"> & {
|
|
36
|
+
realm?: string;
|
|
37
|
+
loginHint?: string;
|
|
38
|
+
sid?: string;
|
|
39
|
+
isHomeTenant?: boolean;
|
|
40
|
+
};
|
|
41
|
+
export type TenantProfileFilter = Pick<AccountFilter, "localAccountId" | "loginHint" | "name" | "sid" | "isHomeTenant" | "username">;
|
|
42
|
+
/**
|
|
43
|
+
* Credential: <home_account_id*>-<environment>-<credential_type>-<client_id>-<realm*>-<target*>-<scheme*>
|
|
44
|
+
*/
|
|
45
|
+
export type CredentialFilter = {
|
|
46
|
+
homeAccountId?: string;
|
|
47
|
+
environment?: string;
|
|
48
|
+
credentialType?: string;
|
|
49
|
+
clientId?: string;
|
|
50
|
+
familyId?: string;
|
|
51
|
+
realm?: string;
|
|
52
|
+
target?: ScopeSet;
|
|
53
|
+
userAssertionHash?: string;
|
|
54
|
+
tokenType?: AuthenticationScheme;
|
|
55
|
+
keyId?: string;
|
|
56
|
+
requestedClaimsHash?: string;
|
|
57
|
+
};
|
|
58
|
+
/**
|
|
59
|
+
* AppMetadata: appmetadata-<environment>-<client_id>
|
|
60
|
+
*/
|
|
61
|
+
export type AppMetadataFilter = {
|
|
62
|
+
environment?: string;
|
|
63
|
+
clientId?: string;
|
|
64
|
+
};
|
|
65
|
+
export type TokenKeys = {
|
|
66
|
+
idToken: string[];
|
|
67
|
+
accessToken: string[];
|
|
68
|
+
refreshToken: string[];
|
|
69
|
+
};
|
|
70
|
+
//# sourceMappingURL=CacheTypes.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CacheTypes.d.ts","sourceRoot":"","sources":["../../../../src/cache/utils/CacheTypes.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAC;AAC7D,OAAO,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAC;AAC7D,OAAO,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,C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C9B,GAAG;IACA,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,YAAY,CAAC,EAAE,OAAO,CAAC;CAC1B,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG,IAAI,CAClC,aAAa,EACX,gBAAgB,GAChB,WAAW,GACX,MAAM,GACN,KAAK,GACL,cAAc,GACd,UAAU,CACf,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG;IAC3B,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,QAAQ,CAAC;IAClB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,SAAS,CAAC,EAAE,oBAAoB,CAAC;IACjC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,mBAAmB,CAAC,EAAE,MAAM,CAAC;CAChC,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG;IAC5B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,SAAS,GAAG;IACpB,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,WAAW,EAAE,MAAM,EAAE,CAAC;IACtB,YAAY,EAAE,MAAM,EAAE,CAAC;CAC1B,CAAC"}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { BaseClient } from "./BaseClient.js";
|
|
2
|
+
import { CommonAuthorizationUrlRequest } from "../request/CommonAuthorizationUrlRequest.js";
|
|
3
|
+
import { CommonAuthorizationCodeRequest } from "../request/CommonAuthorizationCodeRequest.js";
|
|
4
|
+
import { ClientConfiguration } from "../config/ClientConfiguration.js";
|
|
5
|
+
import { AuthenticationResult } from "../response/AuthenticationResult.js";
|
|
6
|
+
import { ServerAuthorizationCodeResponse } from "../response/ServerAuthorizationCodeResponse.js";
|
|
7
|
+
import { CommonEndSessionRequest } from "../request/CommonEndSessionRequest.js";
|
|
8
|
+
import { AuthorizationCodePayload } from "../response/AuthorizationCodePayload.js";
|
|
9
|
+
import { IPerformanceClient } from "../telemetry/performance/IPerformanceClient.js";
|
|
10
|
+
/**
|
|
11
|
+
* Oauth2.0 Authorization Code client
|
|
12
|
+
* @internal
|
|
13
|
+
*/
|
|
14
|
+
export declare class AuthorizationCodeClient extends BaseClient {
|
|
15
|
+
protected includeRedirectUri: boolean;
|
|
16
|
+
private oidcDefaultScopes;
|
|
17
|
+
constructor(configuration: ClientConfiguration, performanceClient?: IPerformanceClient);
|
|
18
|
+
/**
|
|
19
|
+
* Creates the URL of the authorization request letting the user input credentials and consent to the
|
|
20
|
+
* application. The URL target the /authorize endpoint of the authority configured in the
|
|
21
|
+
* application object.
|
|
22
|
+
*
|
|
23
|
+
* Once the user inputs their credentials and consents, the authority will send a response to the redirect URI
|
|
24
|
+
* sent in the request and should contain an authorization code, which can then be used to acquire tokens via
|
|
25
|
+
* acquireToken(AuthorizationCodeRequest)
|
|
26
|
+
* @param request
|
|
27
|
+
*/
|
|
28
|
+
getAuthCodeUrl(request: CommonAuthorizationUrlRequest): Promise<string>;
|
|
29
|
+
/**
|
|
30
|
+
* API to acquire a token in exchange of 'authorization_code` acquired by the user in the first leg of the
|
|
31
|
+
* authorization_code_grant
|
|
32
|
+
* @param request
|
|
33
|
+
*/
|
|
34
|
+
acquireToken(request: CommonAuthorizationCodeRequest, authCodePayload?: AuthorizationCodePayload): Promise<AuthenticationResult>;
|
|
35
|
+
/**
|
|
36
|
+
* Handles the hash fragment response from public client code request. Returns a code response used by
|
|
37
|
+
* the client to exchange for a token in acquireToken.
|
|
38
|
+
* @param hashFragment
|
|
39
|
+
*/
|
|
40
|
+
handleFragmentResponse(serverParams: ServerAuthorizationCodeResponse, cachedState: string): AuthorizationCodePayload;
|
|
41
|
+
/**
|
|
42
|
+
* Used to log out the current user, and redirect the user to the postLogoutRedirectUri.
|
|
43
|
+
* Default behaviour is to redirect the user to `window.location.href`.
|
|
44
|
+
* @param authorityUri
|
|
45
|
+
*/
|
|
46
|
+
getLogoutUri(logoutRequest: CommonEndSessionRequest): string;
|
|
47
|
+
/**
|
|
48
|
+
* Executes POST request to token endpoint
|
|
49
|
+
* @param authority
|
|
50
|
+
* @param request
|
|
51
|
+
*/
|
|
52
|
+
private executeTokenRequest;
|
|
53
|
+
/**
|
|
54
|
+
* Generates a map for all the params to be sent to the service
|
|
55
|
+
* @param request
|
|
56
|
+
*/
|
|
57
|
+
private createTokenRequestBody;
|
|
58
|
+
/**
|
|
59
|
+
* This API validates the `AuthorizationCodeUrlRequest` and creates a URL
|
|
60
|
+
* @param request
|
|
61
|
+
*/
|
|
62
|
+
private createAuthCodeUrlQueryString;
|
|
63
|
+
/**
|
|
64
|
+
* This API validates the `EndSessionRequest` and creates a URL
|
|
65
|
+
* @param request
|
|
66
|
+
*/
|
|
67
|
+
private createLogoutUrlQueryString;
|
|
68
|
+
private addExtraQueryParams;
|
|
69
|
+
/**
|
|
70
|
+
* Helper to get sid from account. Returns null if idTokenClaims are not present or sid is not present.
|
|
71
|
+
* @param account
|
|
72
|
+
*/
|
|
73
|
+
private extractAccountSid;
|
|
74
|
+
private extractLoginHint;
|
|
75
|
+
}
|
|
76
|
+
//# sourceMappingURL=AuthorizationCodeClient.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AuthorizationCodeClient.d.ts","sourceRoot":"","sources":["../../../src/client/AuthorizationCodeClient.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAE,6BAA6B,EAAE,MAAM,6CAA6C,CAAC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