@azure/msal-common 16.5.2 → 16.6.1
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/package.json +1 -1
- package/dist/account/AccountInfo.mjs +1 -1
- package/dist/account/AuthToken.mjs +1 -1
- package/dist/account/CcsCredential.mjs +1 -1
- package/dist/account/ClientInfo.mjs +1 -1
- package/dist/account/TokenClaims.mjs +1 -1
- package/dist/authority/Authority.mjs +140 -5
- package/dist/authority/Authority.mjs.map +1 -1
- package/dist/authority/AuthorityFactory.mjs +1 -1
- package/dist/authority/AuthorityMetadata.mjs +10 -1
- package/dist/authority/AuthorityMetadata.mjs.map +1 -1
- package/dist/authority/AuthorityOptions.mjs +1 -1
- package/dist/authority/AuthorityType.mjs +1 -1
- package/dist/authority/CloudInstanceDiscoveryErrorResponse.mjs +1 -1
- package/dist/authority/CloudInstanceDiscoveryResponse.mjs +1 -1
- package/dist/authority/OpenIdConfigResponse.mjs +1 -1
- package/dist/authority/ProtocolMode.mjs +1 -1
- package/dist/authority/RegionDiscovery.mjs +1 -1
- package/dist/cache/CacheManager.mjs +1 -1
- package/dist/cache/persistence/TokenCacheContext.mjs +1 -1
- package/dist/cache/utils/AccountEntityUtils.mjs +1 -1
- package/dist/cache/utils/CacheHelpers.mjs +1 -1
- package/dist/client/AuthorizationCodeClient.mjs +1 -1
- package/dist/client/RefreshTokenClient.mjs +1 -1
- package/dist/client/SilentFlowClient.mjs +1 -1
- package/dist/config/ClientConfiguration.mjs +1 -1
- package/dist/constants/AADServerParamKeys.mjs +1 -1
- package/dist/crypto/ICrypto.mjs +1 -1
- package/dist/crypto/JoseHeader.mjs +1 -1
- package/dist/crypto/PopTokenGenerator.mjs +1 -1
- package/dist/error/AuthError.mjs +1 -1
- package/dist/error/AuthErrorCodes.mjs +1 -1
- package/dist/error/CacheError.mjs +1 -1
- package/dist/error/CacheErrorCodes.mjs +1 -1
- package/dist/error/ClientAuthError.mjs +1 -1
- package/dist/error/ClientAuthErrorCodes.mjs +1 -1
- package/dist/error/ClientConfigurationError.mjs +1 -1
- package/dist/error/ClientConfigurationErrorCodes.mjs +4 -3
- package/dist/error/ClientConfigurationErrorCodes.mjs.map +1 -1
- package/dist/error/InteractionRequiredAuthError.mjs +1 -1
- package/dist/error/InteractionRequiredAuthErrorCodes.mjs +1 -1
- package/dist/error/JoseHeaderError.mjs +1 -1
- package/dist/error/JoseHeaderErrorCodes.mjs +1 -1
- package/dist/error/NetworkError.mjs +1 -1
- package/dist/error/PlatformBrokerError.mjs +1 -1
- package/dist/error/ServerError.mjs +1 -1
- package/dist/index-node.mjs +1 -1
- package/dist/index.mjs +1 -1
- package/dist/logger/Logger.mjs +1 -1
- package/dist/network/INetworkModule.mjs +1 -1
- package/dist/network/RequestThumbprint.mjs +1 -1
- package/dist/network/ThrottlingUtils.mjs +1 -1
- package/dist/packageMetadata.mjs +2 -2
- package/dist/protocol/Authorize.mjs +1 -1
- package/dist/protocol/Token.mjs +1 -1
- package/dist/request/AuthenticationHeaderParser.mjs +1 -1
- package/dist/request/BaseAuthRequest.mjs +1 -1
- package/dist/request/RequestParameterBuilder.mjs +1 -1
- package/dist/request/ScopeSet.mjs +1 -1
- package/dist/response/ResponseHandler.mjs +1 -1
- package/dist/telemetry/performance/PerformanceClient.mjs +1 -1
- package/dist/telemetry/performance/PerformanceEvent.mjs +1 -1
- package/dist/telemetry/performance/PerformanceEvents.mjs +1 -1
- package/dist/telemetry/performance/StubPerformanceClient.mjs +1 -1
- package/dist/telemetry/server/ServerTelemetryManager.mjs +1 -1
- package/dist/url/UrlString.mjs +1 -1
- package/dist/utils/ClientAssertionUtils.mjs +1 -1
- package/dist/utils/Constants.mjs +1 -1
- package/dist/utils/FunctionWrappers.mjs +1 -1
- package/dist/utils/ProtocolUtils.mjs +1 -1
- package/dist/utils/StringUtils.mjs +1 -1
- package/dist/utils/TimeUtils.mjs +1 -1
- package/dist/utils/UrlUtils.mjs +1 -1
- package/dist-browser/account/AccountInfo.mjs +1 -1
- package/dist-browser/account/AuthToken.mjs +1 -1
- package/dist-browser/account/CcsCredential.mjs +1 -1
- package/dist-browser/account/ClientInfo.mjs +1 -1
- package/dist-browser/account/TokenClaims.mjs +1 -1
- package/dist-browser/authority/Authority.mjs +140 -5
- package/dist-browser/authority/Authority.mjs.map +1 -1
- package/dist-browser/authority/AuthorityFactory.mjs +1 -1
- package/dist-browser/authority/AuthorityMetadata.mjs +10 -1
- package/dist-browser/authority/AuthorityMetadata.mjs.map +1 -1
- package/dist-browser/authority/AuthorityOptions.mjs +1 -1
- package/dist-browser/authority/AuthorityType.mjs +1 -1
- package/dist-browser/authority/CloudInstanceDiscoveryErrorResponse.mjs +1 -1
- package/dist-browser/authority/CloudInstanceDiscoveryResponse.mjs +1 -1
- package/dist-browser/authority/OpenIdConfigResponse.mjs +1 -1
- package/dist-browser/authority/ProtocolMode.mjs +1 -1
- package/dist-browser/authority/RegionDiscovery.mjs +1 -1
- package/dist-browser/cache/CacheManager.mjs +1 -1
- package/dist-browser/cache/persistence/TokenCacheContext.mjs +1 -1
- package/dist-browser/cache/utils/AccountEntityUtils.mjs +1 -1
- package/dist-browser/cache/utils/CacheHelpers.mjs +1 -1
- package/dist-browser/client/AuthorizationCodeClient.mjs +1 -1
- package/dist-browser/client/RefreshTokenClient.mjs +1 -1
- package/dist-browser/client/SilentFlowClient.mjs +1 -1
- package/dist-browser/config/ClientConfiguration.mjs +1 -1
- package/dist-browser/constants/AADServerParamKeys.mjs +1 -1
- package/dist-browser/crypto/ICrypto.mjs +1 -1
- package/dist-browser/crypto/JoseHeader.mjs +1 -1
- package/dist-browser/crypto/PopTokenGenerator.mjs +1 -1
- package/dist-browser/error/AuthError.mjs +1 -1
- package/dist-browser/error/AuthErrorCodes.mjs +1 -1
- package/dist-browser/error/CacheError.mjs +1 -1
- package/dist-browser/error/CacheErrorCodes.mjs +1 -1
- package/dist-browser/error/ClientAuthError.mjs +1 -1
- package/dist-browser/error/ClientAuthErrorCodes.mjs +1 -1
- package/dist-browser/error/ClientConfigurationError.mjs +1 -1
- package/dist-browser/error/ClientConfigurationErrorCodes.mjs +4 -3
- package/dist-browser/error/ClientConfigurationErrorCodes.mjs.map +1 -1
- package/dist-browser/error/InteractionRequiredAuthError.mjs +1 -1
- package/dist-browser/error/InteractionRequiredAuthErrorCodes.mjs +1 -1
- package/dist-browser/error/JoseHeaderError.mjs +1 -1
- package/dist-browser/error/JoseHeaderErrorCodes.mjs +1 -1
- package/dist-browser/error/NetworkError.mjs +1 -1
- package/dist-browser/error/PlatformBrokerError.mjs +1 -1
- package/dist-browser/error/ServerError.mjs +1 -1
- package/dist-browser/index-browser.mjs +1 -1
- package/dist-browser/index.mjs +1 -1
- package/dist-browser/log-strings-mapping.json +4 -4
- package/dist-browser/logger/Logger.mjs +1 -1
- package/dist-browser/network/INetworkModule.mjs +1 -1
- package/dist-browser/network/RequestThumbprint.mjs +1 -1
- package/dist-browser/network/ThrottlingUtils.mjs +1 -1
- package/dist-browser/packageMetadata.mjs +2 -2
- package/dist-browser/protocol/Authorize.mjs +1 -1
- package/dist-browser/protocol/Token.mjs +1 -1
- package/dist-browser/request/AuthenticationHeaderParser.mjs +1 -1
- package/dist-browser/request/BaseAuthRequest.mjs +1 -1
- package/dist-browser/request/RequestParameterBuilder.mjs +1 -1
- package/dist-browser/request/ScopeSet.mjs +1 -1
- package/dist-browser/response/ResponseHandler.mjs +1 -1
- package/dist-browser/telemetry/performance/PerformanceClient.mjs +1 -1
- package/dist-browser/telemetry/performance/PerformanceEvent.mjs +1 -1
- package/dist-browser/telemetry/performance/PerformanceEvents.mjs +1 -1
- package/dist-browser/telemetry/performance/StubPerformanceClient.mjs +1 -1
- package/dist-browser/telemetry/server/ServerTelemetryManager.mjs +1 -1
- package/dist-browser/url/UrlString.mjs +1 -1
- package/dist-browser/utils/ClientAssertionUtils.mjs +1 -1
- package/dist-browser/utils/Constants.mjs +1 -1
- package/dist-browser/utils/FunctionWrappers.mjs +1 -1
- package/dist-browser/utils/ProtocolUtils.mjs +1 -1
- package/dist-browser/utils/StringUtils.mjs +1 -1
- package/dist-browser/utils/TimeUtils.mjs +1 -1
- package/dist-browser/utils/UrlUtils.mjs +1 -1
- package/lib/index-browser.cjs +2 -2
- package/lib/{index-node-ByMjZ1FK.js → index-node-Cr_rbZzO.js} +152 -6
- package/lib/index-node-Cr_rbZzO.js.map +1 -0
- package/lib/index-node.cjs +2 -2
- package/lib/index.cjs +2 -2
- package/node/package.json +1 -1
- package/package.json +12 -10
- package/src/authority/Authority.ts +189 -2
- package/src/authority/AuthorityMetadata.ts +9 -0
- package/src/error/ClientConfigurationErrorCodes.ts +1 -0
- package/src/packageMetadata.ts +1 -1
- package/{dist-browser → types}/authority/Authority.d.ts +47 -1
- package/{dist-browser → types}/authority/Authority.d.ts.map +1 -1
- package/{dist-browser → types}/authority/AuthorityMetadata.d.ts.map +1 -1
- package/{dist → types}/error/ClientConfigurationErrorCodes.d.ts +1 -0
- package/{dist-browser → types}/error/ClientConfigurationErrorCodes.d.ts.map +1 -1
- package/types/index-browser.d.cts +1 -0
- package/types/index-node.d.cts +1 -0
- package/types/index.d.cts +1 -0
- package/types/packageMetadata.d.ts +3 -0
- package/dist/account/AccountInfo.d.ts +0 -73
- package/dist/account/AccountInfo.d.ts.map +0 -1
- package/dist/account/AuthToken.d.ts +0 -24
- package/dist/account/AuthToken.d.ts.map +0 -1
- package/dist/account/CcsCredential.d.ts +0 -10
- package/dist/account/CcsCredential.d.ts.map +0 -1
- package/dist/account/ClientCredentials.d.ts +0 -20
- package/dist/account/ClientCredentials.d.ts.map +0 -1
- package/dist/account/ClientInfo.d.ts +0 -23
- package/dist/account/ClientInfo.d.ts.map +0 -1
- package/dist/account/TokenClaims.d.ts +0 -88
- package/dist/account/TokenClaims.d.ts.map +0 -1
- package/dist/authority/Authority.d.ts +0 -255
- package/dist/authority/Authority.d.ts.map +0 -1
- package/dist/authority/AuthorityFactory.d.ts +0 -23
- package/dist/authority/AuthorityFactory.d.ts.map +0 -1
- package/dist/authority/AuthorityMetadata.d.ts +0 -44
- package/dist/authority/AuthorityMetadata.d.ts.map +0 -1
- package/dist/authority/AuthorityOptions.d.ts +0 -27
- package/dist/authority/AuthorityOptions.d.ts.map +0 -1
- package/dist/authority/AuthorityType.d.ts +0 -11
- package/dist/authority/AuthorityType.d.ts.map +0 -1
- package/dist/authority/AzureRegion.d.ts +0 -2
- package/dist/authority/AzureRegion.d.ts.map +0 -1
- package/dist/authority/AzureRegionConfiguration.d.ts +0 -6
- package/dist/authority/AzureRegionConfiguration.d.ts.map +0 -1
- package/dist/authority/CloudDiscoveryMetadata.d.ts +0 -6
- package/dist/authority/CloudDiscoveryMetadata.d.ts.map +0 -1
- package/dist/authority/CloudInstanceDiscoveryErrorResponse.d.ts +0 -14
- package/dist/authority/CloudInstanceDiscoveryErrorResponse.d.ts.map +0 -1
- package/dist/authority/CloudInstanceDiscoveryResponse.d.ts +0 -10
- package/dist/authority/CloudInstanceDiscoveryResponse.d.ts.map +0 -1
- package/dist/authority/ImdsOptions.d.ts +0 -6
- package/dist/authority/ImdsOptions.d.ts.map +0 -1
- package/dist/authority/OIDCOptions.d.ts +0 -9
- package/dist/authority/OIDCOptions.d.ts.map +0 -1
- package/dist/authority/OpenIdConfigResponse.d.ts +0 -12
- package/dist/authority/OpenIdConfigResponse.d.ts.map +0 -1
- package/dist/authority/ProtocolMode.d.ts +0 -20
- package/dist/authority/ProtocolMode.d.ts.map +0 -1
- package/dist/authority/RegionDiscovery.d.ts +0 -33
- package/dist/authority/RegionDiscovery.d.ts.map +0 -1
- package/dist/authority/RegionDiscoveryMetadata.d.ts +0 -7
- package/dist/authority/RegionDiscoveryMetadata.d.ts.map +0 -1
- package/dist/broker/nativeBroker/INativeBrokerPlugin.d.ts +0 -17
- package/dist/broker/nativeBroker/INativeBrokerPlugin.d.ts.map +0 -1
- package/dist/cache/CacheManager.d.ts +0 -485
- package/dist/cache/CacheManager.d.ts.map +0 -1
- package/dist/cache/entities/AccessTokenEntity.d.ts +0 -24
- package/dist/cache/entities/AccessTokenEntity.d.ts.map +0 -1
- package/dist/cache/entities/AccountEntity.d.ts +0 -47
- package/dist/cache/entities/AccountEntity.d.ts.map +0 -1
- package/dist/cache/entities/AppMetadataEntity.d.ts +0 -12
- package/dist/cache/entities/AppMetadataEntity.d.ts.map +0 -1
- package/dist/cache/entities/AuthorityMetadataEntity.d.ts +0 -16
- package/dist/cache/entities/AuthorityMetadataEntity.d.ts.map +0 -1
- package/dist/cache/entities/CacheRecord.d.ts +0 -14
- package/dist/cache/entities/CacheRecord.d.ts.map +0 -1
- package/dist/cache/entities/CredentialEntity.d.ts +0 -31
- package/dist/cache/entities/CredentialEntity.d.ts.map +0 -1
- package/dist/cache/entities/IdTokenEntity.d.ts +0 -9
- package/dist/cache/entities/IdTokenEntity.d.ts.map +0 -1
- package/dist/cache/entities/RefreshTokenEntity.d.ts +0 -8
- package/dist/cache/entities/RefreshTokenEntity.d.ts.map +0 -1
- package/dist/cache/entities/ServerTelemetryEntity.d.ts +0 -7
- package/dist/cache/entities/ServerTelemetryEntity.d.ts.map +0 -1
- package/dist/cache/entities/ThrottlingEntity.d.ts +0 -8
- package/dist/cache/entities/ThrottlingEntity.d.ts.map +0 -1
- package/dist/cache/interface/ICacheManager.d.ts +0 -188
- package/dist/cache/interface/ICacheManager.d.ts.map +0 -1
- package/dist/cache/interface/ICachePlugin.d.ts +0 -6
- package/dist/cache/interface/ICachePlugin.d.ts.map +0 -1
- package/dist/cache/interface/ISerializableTokenCache.d.ts +0 -5
- package/dist/cache/interface/ISerializableTokenCache.d.ts.map +0 -1
- package/dist/cache/persistence/TokenCacheContext.d.ts +0 -24
- package/dist/cache/persistence/TokenCacheContext.d.ts.map +0 -1
- package/dist/cache/utils/AccountEntityUtils.d.ts +0 -53
- package/dist/cache/utils/AccountEntityUtils.d.ts.map +0 -1
- package/dist/cache/utils/CacheHelpers.d.ts +0 -86
- package/dist/cache/utils/CacheHelpers.d.ts.map +0 -1
- package/dist/cache/utils/CacheTypes.d.ts +0 -69
- package/dist/cache/utils/CacheTypes.d.ts.map +0 -1
- package/dist/client/AuthorizationCodeClient.d.ts +0 -64
- package/dist/client/AuthorizationCodeClient.d.ts.map +0 -1
- package/dist/client/RefreshTokenClient.d.ts +0 -49
- package/dist/client/RefreshTokenClient.d.ts.map +0 -1
- package/dist/client/SilentFlowClient.d.ts +0 -35
- package/dist/client/SilentFlowClient.d.ts.map +0 -1
- package/dist/config/AppTokenProvider.d.ts +0 -39
- package/dist/config/AppTokenProvider.d.ts.map +0 -1
- package/dist/config/ClientConfiguration.d.ts +0 -145
- package/dist/config/ClientConfiguration.d.ts.map +0 -1
- package/dist/constants/AADServerParamKeys.d.ts +0 -61
- package/dist/constants/AADServerParamKeys.d.ts.map +0 -1
- package/dist/crypto/ICrypto.d.ts +0 -71
- package/dist/crypto/ICrypto.d.ts.map +0 -1
- package/dist/crypto/IGuidGenerator.d.ts +0 -5
- package/dist/crypto/IGuidGenerator.d.ts.map +0 -1
- package/dist/crypto/JoseHeader.d.ts +0 -23
- package/dist/crypto/JoseHeader.d.ts.map +0 -1
- package/dist/crypto/PopTokenGenerator.d.ts +0 -60
- package/dist/crypto/PopTokenGenerator.d.ts.map +0 -1
- package/dist/crypto/SignedHttpRequest.d.ts +0 -16
- package/dist/crypto/SignedHttpRequest.d.ts.map +0 -1
- package/dist/error/AuthError.d.ts +0 -33
- package/dist/error/AuthError.d.ts.map +0 -1
- package/dist/error/AuthErrorCodes.d.ts +0 -6
- package/dist/error/AuthErrorCodes.d.ts.map +0 -1
- package/dist/error/CacheError.d.ts +0 -23
- package/dist/error/CacheError.d.ts.map +0 -1
- package/dist/error/CacheErrorCodes.d.ts +0 -3
- package/dist/error/CacheErrorCodes.d.ts.map +0 -1
- package/dist/error/ClientAuthError.d.ts +0 -14
- package/dist/error/ClientAuthError.d.ts.map +0 -1
- package/dist/error/ClientAuthErrorCodes.d.ts +0 -40
- package/dist/error/ClientAuthErrorCodes.d.ts.map +0 -1
- package/dist/error/ClientConfigurationError.d.ts +0 -11
- package/dist/error/ClientConfigurationError.d.ts.map +0 -1
- package/dist/error/ClientConfigurationErrorCodes.d.ts.map +0 -1
- package/dist/error/InteractionRequiredAuthError.d.ts +0 -48
- package/dist/error/InteractionRequiredAuthError.d.ts.map +0 -1
- package/dist/error/InteractionRequiredAuthErrorCodes.d.ts +0 -46
- package/dist/error/InteractionRequiredAuthErrorCodes.d.ts.map +0 -1
- package/dist/error/JoseHeaderError.d.ts +0 -12
- package/dist/error/JoseHeaderError.d.ts.map +0 -1
- package/dist/error/JoseHeaderErrorCodes.d.ts +0 -3
- package/dist/error/JoseHeaderErrorCodes.d.ts.map +0 -1
- package/dist/error/NetworkError.d.ts +0 -19
- package/dist/error/NetworkError.d.ts.map +0 -1
- package/dist/error/PlatformBrokerError.d.ts +0 -16
- package/dist/error/PlatformBrokerError.d.ts.map +0 -1
- package/dist/error/ServerError.d.ts +0 -16
- package/dist/error/ServerError.d.ts.map +0 -1
- package/dist/exports-browser-only.d.ts +0 -11
- package/dist/exports-browser-only.d.ts.map +0 -1
- package/dist/exports-common.d.ts +0 -86
- package/dist/exports-common.d.ts.map +0 -1
- package/dist/exports-node-only.d.ts +0 -16
- package/dist/exports-node-only.d.ts.map +0 -1
- package/dist/index-browser.d.ts +0 -7
- package/dist/index-browser.d.ts.map +0 -1
- package/dist/index-node.d.ts +0 -7
- package/dist/index-node.d.ts.map +0 -1
- package/dist/index.d.ts +0 -12
- package/dist/index.d.ts.map +0 -1
- package/dist/logger/Logger.d.ts +0 -119
- package/dist/logger/Logger.d.ts.map +0 -1
- package/dist/network/INetworkModule.d.ts +0 -29
- package/dist/network/INetworkModule.d.ts.map +0 -1
- package/dist/network/NetworkResponse.d.ts +0 -6
- package/dist/network/NetworkResponse.d.ts.map +0 -1
- package/dist/network/RequestThumbprint.d.ts +0 -22
- package/dist/network/RequestThumbprint.d.ts.map +0 -1
- package/dist/network/ThrottlingUtils.d.ts +0 -43
- package/dist/network/ThrottlingUtils.d.ts.map +0 -1
- package/dist/packageMetadata.d.ts +0 -3
- package/dist/packageMetadata.d.ts.map +0 -1
- package/dist/protocol/Authorize.d.ts +0 -37
- package/dist/protocol/Authorize.d.ts.map +0 -1
- package/dist/protocol/Token.d.ts +0 -40
- package/dist/protocol/Token.d.ts.map +0 -1
- package/dist/request/AuthenticationHeaderParser.d.ts +0 -20
- package/dist/request/AuthenticationHeaderParser.d.ts.map +0 -1
- package/dist/request/BaseAuthRequest.d.ts +0 -111
- package/dist/request/BaseAuthRequest.d.ts.map +0 -1
- package/dist/request/CommonAuthorizationCodeRequest.d.ts +0 -32
- package/dist/request/CommonAuthorizationCodeRequest.d.ts.map +0 -1
- package/dist/request/CommonAuthorizationUrlRequest.d.ts +0 -71
- package/dist/request/CommonAuthorizationUrlRequest.d.ts.map +0 -1
- package/dist/request/CommonEndSessionRequest.d.ts +0 -36
- package/dist/request/CommonEndSessionRequest.d.ts.map +0 -1
- package/dist/request/CommonRefreshTokenRequest.d.ts +0 -24
- package/dist/request/CommonRefreshTokenRequest.d.ts.map +0 -1
- package/dist/request/CommonSilentFlowRequest.d.ts +0 -24
- package/dist/request/CommonSilentFlowRequest.d.ts.map +0 -1
- package/dist/request/NativeRequest.d.ts +0 -21
- package/dist/request/NativeRequest.d.ts.map +0 -1
- package/dist/request/NativeSignOutRequest.d.ts +0 -6
- package/dist/request/NativeSignOutRequest.d.ts.map +0 -1
- package/dist/request/RequestParameterBuilder.d.ts +0 -226
- package/dist/request/RequestParameterBuilder.d.ts.map +0 -1
- package/dist/request/ScopeSet.d.ts +0 -83
- package/dist/request/ScopeSet.d.ts.map +0 -1
- package/dist/request/StoreInCache.d.ts +0 -9
- package/dist/request/StoreInCache.d.ts.map +0 -1
- package/dist/response/AuthenticationResult.d.ts +0 -43
- package/dist/response/AuthenticationResult.d.ts.map +0 -1
- package/dist/response/AuthorizationCodePayload.d.ts +0 -14
- package/dist/response/AuthorizationCodePayload.d.ts.map +0 -1
- package/dist/response/AuthorizeResponse.d.ts +0 -83
- package/dist/response/AuthorizeResponse.d.ts.map +0 -1
- package/dist/response/DeviceCodeResponse.d.ts +0 -26
- package/dist/response/DeviceCodeResponse.d.ts.map +0 -1
- package/dist/response/ExternalTokenResponse.d.ts +0 -16
- package/dist/response/ExternalTokenResponse.d.ts.map +0 -1
- package/dist/response/IMDSBadResponse.d.ts +0 -5
- package/dist/response/IMDSBadResponse.d.ts.map +0 -1
- package/dist/response/ResponseHandler.d.ts +0 -63
- package/dist/response/ResponseHandler.d.ts.map +0 -1
- package/dist/response/ServerAuthorizationTokenResponse.d.ts +0 -48
- package/dist/response/ServerAuthorizationTokenResponse.d.ts.map +0 -1
- package/dist/telemetry/performance/IPerformanceClient.d.ts +0 -30
- package/dist/telemetry/performance/IPerformanceClient.d.ts.map +0 -1
- package/dist/telemetry/performance/IPerformanceMeasurement.d.ts +0 -6
- package/dist/telemetry/performance/IPerformanceMeasurement.d.ts.map +0 -1
- package/dist/telemetry/performance/PerformanceClient.d.ts +0 -170
- package/dist/telemetry/performance/PerformanceClient.d.ts.map +0 -1
- package/dist/telemetry/performance/PerformanceEvent.d.ts +0 -425
- package/dist/telemetry/performance/PerformanceEvent.d.ts.map +0 -1
- package/dist/telemetry/performance/PerformanceEvents.d.ts +0 -66
- package/dist/telemetry/performance/PerformanceEvents.d.ts.map +0 -1
- package/dist/telemetry/performance/StubPerformanceClient.d.ts +0 -21
- package/dist/telemetry/performance/StubPerformanceClient.d.ts.map +0 -1
- package/dist/telemetry/server/ServerTelemetryManager.d.ts +0 -79
- package/dist/telemetry/server/ServerTelemetryManager.d.ts.map +0 -1
- package/dist/telemetry/server/ServerTelemetryRequest.d.ts +0 -9
- package/dist/telemetry/server/ServerTelemetryRequest.d.ts.map +0 -1
- package/dist/url/IUri.d.ts +0 -13
- package/dist/url/IUri.d.ts.map +0 -1
- package/dist/url/UrlString.d.ts +0 -44
- package/dist/url/UrlString.d.ts.map +0 -1
- package/dist/utils/ClientAssertionUtils.d.ts +0 -3
- package/dist/utils/ClientAssertionUtils.d.ts.map +0 -1
- package/dist/utils/Constants.d.ts +0 -283
- package/dist/utils/Constants.d.ts.map +0 -1
- package/dist/utils/FunctionWrappers.d.ts +0 -28
- package/dist/utils/FunctionWrappers.d.ts.map +0 -1
- package/dist/utils/MsalTypes.d.ts +0 -7
- package/dist/utils/MsalTypes.d.ts.map +0 -1
- package/dist/utils/ProtocolUtils.d.ts +0 -22
- package/dist/utils/ProtocolUtils.d.ts.map +0 -1
- package/dist/utils/StateTypes.d.ts +0 -15
- package/dist/utils/StateTypes.d.ts.map +0 -1
- package/dist/utils/StringUtils.d.ts +0 -35
- package/dist/utils/StringUtils.d.ts.map +0 -1
- package/dist/utils/TimeUtils.d.ts +0 -43
- package/dist/utils/TimeUtils.d.ts.map +0 -1
- package/dist/utils/UrlUtils.d.ts +0 -23
- package/dist/utils/UrlUtils.d.ts.map +0 -1
- package/dist-browser/error/ClientConfigurationErrorCodes.d.ts +0 -23
- package/dist-browser/packageMetadata.d.ts +0 -3
- package/lib/index-node-ByMjZ1FK.js.map +0 -1
- package/lib/types/account/AccountInfo.d.ts +0 -73
- package/lib/types/account/AccountInfo.d.ts.map +0 -1
- package/lib/types/account/AuthToken.d.ts +0 -24
- package/lib/types/account/AuthToken.d.ts.map +0 -1
- package/lib/types/account/CcsCredential.d.ts +0 -10
- package/lib/types/account/CcsCredential.d.ts.map +0 -1
- package/lib/types/account/ClientCredentials.d.ts +0 -20
- package/lib/types/account/ClientCredentials.d.ts.map +0 -1
- package/lib/types/account/ClientInfo.d.ts +0 -23
- package/lib/types/account/ClientInfo.d.ts.map +0 -1
- package/lib/types/account/TokenClaims.d.ts +0 -88
- package/lib/types/account/TokenClaims.d.ts.map +0 -1
- package/lib/types/authority/Authority.d.ts +0 -255
- package/lib/types/authority/Authority.d.ts.map +0 -1
- package/lib/types/authority/AuthorityFactory.d.ts +0 -23
- package/lib/types/authority/AuthorityFactory.d.ts.map +0 -1
- package/lib/types/authority/AuthorityMetadata.d.ts +0 -44
- package/lib/types/authority/AuthorityMetadata.d.ts.map +0 -1
- package/lib/types/authority/AuthorityOptions.d.ts +0 -27
- package/lib/types/authority/AuthorityOptions.d.ts.map +0 -1
- package/lib/types/authority/AuthorityType.d.ts +0 -11
- package/lib/types/authority/AuthorityType.d.ts.map +0 -1
- package/lib/types/authority/AzureRegion.d.ts +0 -2
- package/lib/types/authority/AzureRegion.d.ts.map +0 -1
- package/lib/types/authority/AzureRegionConfiguration.d.ts +0 -6
- package/lib/types/authority/AzureRegionConfiguration.d.ts.map +0 -1
- package/lib/types/authority/CloudDiscoveryMetadata.d.ts +0 -6
- package/lib/types/authority/CloudDiscoveryMetadata.d.ts.map +0 -1
- package/lib/types/authority/CloudInstanceDiscoveryErrorResponse.d.ts +0 -14
- package/lib/types/authority/CloudInstanceDiscoveryErrorResponse.d.ts.map +0 -1
- package/lib/types/authority/CloudInstanceDiscoveryResponse.d.ts +0 -10
- package/lib/types/authority/CloudInstanceDiscoveryResponse.d.ts.map +0 -1
- package/lib/types/authority/ImdsOptions.d.ts +0 -6
- package/lib/types/authority/ImdsOptions.d.ts.map +0 -1
- package/lib/types/authority/OIDCOptions.d.ts +0 -9
- package/lib/types/authority/OIDCOptions.d.ts.map +0 -1
- package/lib/types/authority/OpenIdConfigResponse.d.ts +0 -12
- package/lib/types/authority/OpenIdConfigResponse.d.ts.map +0 -1
- package/lib/types/authority/ProtocolMode.d.ts +0 -20
- package/lib/types/authority/ProtocolMode.d.ts.map +0 -1
- package/lib/types/authority/RegionDiscovery.d.ts +0 -33
- package/lib/types/authority/RegionDiscovery.d.ts.map +0 -1
- package/lib/types/authority/RegionDiscoveryMetadata.d.ts +0 -7
- package/lib/types/authority/RegionDiscoveryMetadata.d.ts.map +0 -1
- package/lib/types/broker/nativeBroker/INativeBrokerPlugin.d.ts +0 -17
- package/lib/types/broker/nativeBroker/INativeBrokerPlugin.d.ts.map +0 -1
- package/lib/types/cache/CacheManager.d.ts +0 -485
- package/lib/types/cache/CacheManager.d.ts.map +0 -1
- package/lib/types/cache/entities/AccessTokenEntity.d.ts +0 -24
- package/lib/types/cache/entities/AccessTokenEntity.d.ts.map +0 -1
- package/lib/types/cache/entities/AccountEntity.d.ts +0 -47
- package/lib/types/cache/entities/AccountEntity.d.ts.map +0 -1
- package/lib/types/cache/entities/AppMetadataEntity.d.ts +0 -12
- package/lib/types/cache/entities/AppMetadataEntity.d.ts.map +0 -1
- package/lib/types/cache/entities/AuthorityMetadataEntity.d.ts +0 -16
- package/lib/types/cache/entities/AuthorityMetadataEntity.d.ts.map +0 -1
- package/lib/types/cache/entities/CacheRecord.d.ts +0 -14
- package/lib/types/cache/entities/CacheRecord.d.ts.map +0 -1
- package/lib/types/cache/entities/CredentialEntity.d.ts +0 -31
- package/lib/types/cache/entities/CredentialEntity.d.ts.map +0 -1
- package/lib/types/cache/entities/IdTokenEntity.d.ts +0 -9
- package/lib/types/cache/entities/IdTokenEntity.d.ts.map +0 -1
- package/lib/types/cache/entities/RefreshTokenEntity.d.ts +0 -8
- package/lib/types/cache/entities/RefreshTokenEntity.d.ts.map +0 -1
- package/lib/types/cache/entities/ServerTelemetryEntity.d.ts +0 -7
- package/lib/types/cache/entities/ServerTelemetryEntity.d.ts.map +0 -1
- package/lib/types/cache/entities/ThrottlingEntity.d.ts +0 -8
- package/lib/types/cache/entities/ThrottlingEntity.d.ts.map +0 -1
- package/lib/types/cache/interface/ICacheManager.d.ts +0 -188
- package/lib/types/cache/interface/ICacheManager.d.ts.map +0 -1
- package/lib/types/cache/interface/ICachePlugin.d.ts +0 -6
- package/lib/types/cache/interface/ICachePlugin.d.ts.map +0 -1
- package/lib/types/cache/interface/ISerializableTokenCache.d.ts +0 -5
- package/lib/types/cache/interface/ISerializableTokenCache.d.ts.map +0 -1
- package/lib/types/cache/persistence/TokenCacheContext.d.ts +0 -24
- package/lib/types/cache/persistence/TokenCacheContext.d.ts.map +0 -1
- package/lib/types/cache/utils/AccountEntityUtils.d.ts +0 -53
- package/lib/types/cache/utils/AccountEntityUtils.d.ts.map +0 -1
- package/lib/types/cache/utils/CacheHelpers.d.ts +0 -86
- package/lib/types/cache/utils/CacheHelpers.d.ts.map +0 -1
- package/lib/types/cache/utils/CacheTypes.d.ts +0 -69
- package/lib/types/cache/utils/CacheTypes.d.ts.map +0 -1
- package/lib/types/client/AuthorizationCodeClient.d.ts +0 -64
- package/lib/types/client/AuthorizationCodeClient.d.ts.map +0 -1
- package/lib/types/client/RefreshTokenClient.d.ts +0 -49
- package/lib/types/client/RefreshTokenClient.d.ts.map +0 -1
- package/lib/types/client/SilentFlowClient.d.ts +0 -35
- package/lib/types/client/SilentFlowClient.d.ts.map +0 -1
- package/lib/types/config/AppTokenProvider.d.ts +0 -39
- package/lib/types/config/AppTokenProvider.d.ts.map +0 -1
- package/lib/types/config/ClientConfiguration.d.ts +0 -145
- package/lib/types/config/ClientConfiguration.d.ts.map +0 -1
- package/lib/types/constants/AADServerParamKeys.d.ts +0 -61
- package/lib/types/constants/AADServerParamKeys.d.ts.map +0 -1
- package/lib/types/crypto/ICrypto.d.ts +0 -71
- package/lib/types/crypto/ICrypto.d.ts.map +0 -1
- package/lib/types/crypto/IGuidGenerator.d.ts +0 -5
- package/lib/types/crypto/IGuidGenerator.d.ts.map +0 -1
- package/lib/types/crypto/JoseHeader.d.ts +0 -23
- package/lib/types/crypto/JoseHeader.d.ts.map +0 -1
- package/lib/types/crypto/PopTokenGenerator.d.ts +0 -60
- package/lib/types/crypto/PopTokenGenerator.d.ts.map +0 -1
- package/lib/types/crypto/SignedHttpRequest.d.ts +0 -16
- package/lib/types/crypto/SignedHttpRequest.d.ts.map +0 -1
- package/lib/types/error/AuthError.d.ts +0 -33
- package/lib/types/error/AuthError.d.ts.map +0 -1
- package/lib/types/error/AuthErrorCodes.d.ts +0 -6
- package/lib/types/error/AuthErrorCodes.d.ts.map +0 -1
- package/lib/types/error/CacheError.d.ts +0 -23
- package/lib/types/error/CacheError.d.ts.map +0 -1
- package/lib/types/error/CacheErrorCodes.d.ts +0 -3
- package/lib/types/error/CacheErrorCodes.d.ts.map +0 -1
- package/lib/types/error/ClientAuthError.d.ts +0 -14
- package/lib/types/error/ClientAuthError.d.ts.map +0 -1
- package/lib/types/error/ClientAuthErrorCodes.d.ts +0 -40
- package/lib/types/error/ClientAuthErrorCodes.d.ts.map +0 -1
- package/lib/types/error/ClientConfigurationError.d.ts +0 -11
- package/lib/types/error/ClientConfigurationError.d.ts.map +0 -1
- package/lib/types/error/ClientConfigurationErrorCodes.d.ts +0 -23
- package/lib/types/error/ClientConfigurationErrorCodes.d.ts.map +0 -1
- package/lib/types/error/InteractionRequiredAuthError.d.ts +0 -48
- package/lib/types/error/InteractionRequiredAuthError.d.ts.map +0 -1
- package/lib/types/error/InteractionRequiredAuthErrorCodes.d.ts +0 -46
- package/lib/types/error/InteractionRequiredAuthErrorCodes.d.ts.map +0 -1
- package/lib/types/error/JoseHeaderError.d.ts +0 -12
- package/lib/types/error/JoseHeaderError.d.ts.map +0 -1
- package/lib/types/error/JoseHeaderErrorCodes.d.ts +0 -3
- package/lib/types/error/JoseHeaderErrorCodes.d.ts.map +0 -1
- package/lib/types/error/NetworkError.d.ts +0 -19
- package/lib/types/error/NetworkError.d.ts.map +0 -1
- package/lib/types/error/PlatformBrokerError.d.ts +0 -16
- package/lib/types/error/PlatformBrokerError.d.ts.map +0 -1
- package/lib/types/error/ServerError.d.ts +0 -16
- package/lib/types/error/ServerError.d.ts.map +0 -1
- package/lib/types/exports-browser-only.d.ts +0 -11
- package/lib/types/exports-browser-only.d.ts.map +0 -1
- package/lib/types/exports-common.d.ts +0 -86
- package/lib/types/exports-common.d.ts.map +0 -1
- package/lib/types/exports-node-only.d.ts +0 -16
- package/lib/types/exports-node-only.d.ts.map +0 -1
- package/lib/types/index-browser.d.ts +0 -7
- package/lib/types/index-browser.d.ts.map +0 -1
- package/lib/types/index-node.d.ts +0 -7
- package/lib/types/index-node.d.ts.map +0 -1
- package/lib/types/index.d.ts +0 -12
- package/lib/types/index.d.ts.map +0 -1
- package/lib/types/logger/Logger.d.ts +0 -119
- package/lib/types/logger/Logger.d.ts.map +0 -1
- package/lib/types/network/INetworkModule.d.ts +0 -29
- package/lib/types/network/INetworkModule.d.ts.map +0 -1
- package/lib/types/network/NetworkResponse.d.ts +0 -6
- package/lib/types/network/NetworkResponse.d.ts.map +0 -1
- package/lib/types/network/RequestThumbprint.d.ts +0 -22
- package/lib/types/network/RequestThumbprint.d.ts.map +0 -1
- package/lib/types/network/ThrottlingUtils.d.ts +0 -43
- package/lib/types/network/ThrottlingUtils.d.ts.map +0 -1
- package/lib/types/packageMetadata.d.ts +0 -3
- package/lib/types/packageMetadata.d.ts.map +0 -1
- package/lib/types/protocol/Authorize.d.ts +0 -37
- package/lib/types/protocol/Authorize.d.ts.map +0 -1
- package/lib/types/protocol/Token.d.ts +0 -40
- package/lib/types/protocol/Token.d.ts.map +0 -1
- package/lib/types/request/AuthenticationHeaderParser.d.ts +0 -20
- package/lib/types/request/AuthenticationHeaderParser.d.ts.map +0 -1
- package/lib/types/request/BaseAuthRequest.d.ts +0 -111
- package/lib/types/request/BaseAuthRequest.d.ts.map +0 -1
- package/lib/types/request/CommonAuthorizationCodeRequest.d.ts +0 -32
- package/lib/types/request/CommonAuthorizationCodeRequest.d.ts.map +0 -1
- package/lib/types/request/CommonAuthorizationUrlRequest.d.ts +0 -71
- package/lib/types/request/CommonAuthorizationUrlRequest.d.ts.map +0 -1
- package/lib/types/request/CommonEndSessionRequest.d.ts +0 -36
- package/lib/types/request/CommonEndSessionRequest.d.ts.map +0 -1
- package/lib/types/request/CommonRefreshTokenRequest.d.ts +0 -24
- package/lib/types/request/CommonRefreshTokenRequest.d.ts.map +0 -1
- package/lib/types/request/CommonSilentFlowRequest.d.ts +0 -24
- package/lib/types/request/CommonSilentFlowRequest.d.ts.map +0 -1
- package/lib/types/request/NativeRequest.d.ts +0 -21
- package/lib/types/request/NativeRequest.d.ts.map +0 -1
- package/lib/types/request/NativeSignOutRequest.d.ts +0 -6
- package/lib/types/request/NativeSignOutRequest.d.ts.map +0 -1
- package/lib/types/request/RequestParameterBuilder.d.ts +0 -226
- package/lib/types/request/RequestParameterBuilder.d.ts.map +0 -1
- package/lib/types/request/ScopeSet.d.ts +0 -83
- package/lib/types/request/ScopeSet.d.ts.map +0 -1
- package/lib/types/request/StoreInCache.d.ts +0 -9
- package/lib/types/request/StoreInCache.d.ts.map +0 -1
- package/lib/types/response/AuthenticationResult.d.ts +0 -43
- package/lib/types/response/AuthenticationResult.d.ts.map +0 -1
- package/lib/types/response/AuthorizationCodePayload.d.ts +0 -14
- package/lib/types/response/AuthorizationCodePayload.d.ts.map +0 -1
- package/lib/types/response/AuthorizeResponse.d.ts +0 -83
- package/lib/types/response/AuthorizeResponse.d.ts.map +0 -1
- package/lib/types/response/DeviceCodeResponse.d.ts +0 -26
- package/lib/types/response/DeviceCodeResponse.d.ts.map +0 -1
- package/lib/types/response/ExternalTokenResponse.d.ts +0 -16
- package/lib/types/response/ExternalTokenResponse.d.ts.map +0 -1
- package/lib/types/response/IMDSBadResponse.d.ts +0 -5
- package/lib/types/response/IMDSBadResponse.d.ts.map +0 -1
- package/lib/types/response/ResponseHandler.d.ts +0 -63
- package/lib/types/response/ResponseHandler.d.ts.map +0 -1
- package/lib/types/response/ServerAuthorizationTokenResponse.d.ts +0 -48
- package/lib/types/response/ServerAuthorizationTokenResponse.d.ts.map +0 -1
- package/lib/types/telemetry/performance/IPerformanceClient.d.ts +0 -30
- package/lib/types/telemetry/performance/IPerformanceClient.d.ts.map +0 -1
- package/lib/types/telemetry/performance/IPerformanceMeasurement.d.ts +0 -6
- package/lib/types/telemetry/performance/IPerformanceMeasurement.d.ts.map +0 -1
- package/lib/types/telemetry/performance/PerformanceClient.d.ts +0 -170
- package/lib/types/telemetry/performance/PerformanceClient.d.ts.map +0 -1
- package/lib/types/telemetry/performance/PerformanceEvent.d.ts +0 -425
- package/lib/types/telemetry/performance/PerformanceEvent.d.ts.map +0 -1
- package/lib/types/telemetry/performance/PerformanceEvents.d.ts +0 -66
- package/lib/types/telemetry/performance/PerformanceEvents.d.ts.map +0 -1
- package/lib/types/telemetry/performance/StubPerformanceClient.d.ts +0 -21
- package/lib/types/telemetry/performance/StubPerformanceClient.d.ts.map +0 -1
- package/lib/types/telemetry/server/ServerTelemetryManager.d.ts +0 -79
- package/lib/types/telemetry/server/ServerTelemetryManager.d.ts.map +0 -1
- package/lib/types/telemetry/server/ServerTelemetryRequest.d.ts +0 -9
- package/lib/types/telemetry/server/ServerTelemetryRequest.d.ts.map +0 -1
- package/lib/types/url/IUri.d.ts +0 -13
- package/lib/types/url/IUri.d.ts.map +0 -1
- package/lib/types/url/UrlString.d.ts +0 -44
- package/lib/types/url/UrlString.d.ts.map +0 -1
- package/lib/types/utils/ClientAssertionUtils.d.ts +0 -3
- package/lib/types/utils/ClientAssertionUtils.d.ts.map +0 -1
- package/lib/types/utils/Constants.d.ts +0 -283
- package/lib/types/utils/Constants.d.ts.map +0 -1
- package/lib/types/utils/FunctionWrappers.d.ts +0 -28
- package/lib/types/utils/FunctionWrappers.d.ts.map +0 -1
- package/lib/types/utils/MsalTypes.d.ts +0 -7
- package/lib/types/utils/MsalTypes.d.ts.map +0 -1
- package/lib/types/utils/ProtocolUtils.d.ts +0 -22
- package/lib/types/utils/ProtocolUtils.d.ts.map +0 -1
- package/lib/types/utils/StateTypes.d.ts +0 -15
- package/lib/types/utils/StateTypes.d.ts.map +0 -1
- package/lib/types/utils/StringUtils.d.ts +0 -35
- package/lib/types/utils/StringUtils.d.ts.map +0 -1
- package/lib/types/utils/TimeUtils.d.ts +0 -43
- package/lib/types/utils/TimeUtils.d.ts.map +0 -1
- package/lib/types/utils/UrlUtils.d.ts +0 -23
- package/lib/types/utils/UrlUtils.d.ts.map +0 -1
- /package/{dist-browser → types}/account/AccountInfo.d.ts +0 -0
- /package/{dist-browser → types}/account/AccountInfo.d.ts.map +0 -0
- /package/{dist-browser → types}/account/AuthToken.d.ts +0 -0
- /package/{dist-browser → types}/account/AuthToken.d.ts.map +0 -0
- /package/{dist-browser → types}/account/CcsCredential.d.ts +0 -0
- /package/{dist-browser → types}/account/CcsCredential.d.ts.map +0 -0
- /package/{dist-browser → types}/account/ClientCredentials.d.ts +0 -0
- /package/{dist-browser → types}/account/ClientCredentials.d.ts.map +0 -0
- /package/{dist-browser → types}/account/ClientInfo.d.ts +0 -0
- /package/{dist-browser → types}/account/ClientInfo.d.ts.map +0 -0
- /package/{dist-browser → types}/account/TokenClaims.d.ts +0 -0
- /package/{dist-browser → types}/account/TokenClaims.d.ts.map +0 -0
- /package/{dist-browser → types}/authority/AuthorityFactory.d.ts +0 -0
- /package/{dist-browser → types}/authority/AuthorityFactory.d.ts.map +0 -0
- /package/{dist-browser → types}/authority/AuthorityMetadata.d.ts +0 -0
- /package/{dist-browser → types}/authority/AuthorityOptions.d.ts +0 -0
- /package/{dist-browser → types}/authority/AuthorityOptions.d.ts.map +0 -0
- /package/{dist-browser → types}/authority/AuthorityType.d.ts +0 -0
- /package/{dist-browser → types}/authority/AuthorityType.d.ts.map +0 -0
- /package/{dist-browser → types}/authority/AzureRegion.d.ts +0 -0
- /package/{dist-browser → types}/authority/AzureRegion.d.ts.map +0 -0
- /package/{dist-browser → types}/authority/AzureRegionConfiguration.d.ts +0 -0
- /package/{dist-browser → types}/authority/AzureRegionConfiguration.d.ts.map +0 -0
- /package/{dist-browser → types}/authority/CloudDiscoveryMetadata.d.ts +0 -0
- /package/{dist-browser → types}/authority/CloudDiscoveryMetadata.d.ts.map +0 -0
- /package/{dist-browser → types}/authority/CloudInstanceDiscoveryErrorResponse.d.ts +0 -0
- /package/{dist-browser → types}/authority/CloudInstanceDiscoveryErrorResponse.d.ts.map +0 -0
- /package/{dist-browser → types}/authority/CloudInstanceDiscoveryResponse.d.ts +0 -0
- /package/{dist-browser → types}/authority/CloudInstanceDiscoveryResponse.d.ts.map +0 -0
- /package/{dist-browser → types}/authority/ImdsOptions.d.ts +0 -0
- /package/{dist-browser → types}/authority/ImdsOptions.d.ts.map +0 -0
- /package/{dist-browser → types}/authority/OIDCOptions.d.ts +0 -0
- /package/{dist-browser → types}/authority/OIDCOptions.d.ts.map +0 -0
- /package/{dist-browser → types}/authority/OpenIdConfigResponse.d.ts +0 -0
- /package/{dist-browser → types}/authority/OpenIdConfigResponse.d.ts.map +0 -0
- /package/{dist-browser → types}/authority/ProtocolMode.d.ts +0 -0
- /package/{dist-browser → types}/authority/ProtocolMode.d.ts.map +0 -0
- /package/{dist-browser → types}/authority/RegionDiscovery.d.ts +0 -0
- /package/{dist-browser → types}/authority/RegionDiscovery.d.ts.map +0 -0
- /package/{dist-browser → types}/authority/RegionDiscoveryMetadata.d.ts +0 -0
- /package/{dist-browser → types}/authority/RegionDiscoveryMetadata.d.ts.map +0 -0
- /package/{dist-browser → types}/broker/nativeBroker/INativeBrokerPlugin.d.ts +0 -0
- /package/{dist-browser → types}/broker/nativeBroker/INativeBrokerPlugin.d.ts.map +0 -0
- /package/{dist-browser → types}/cache/CacheManager.d.ts +0 -0
- /package/{dist-browser → types}/cache/CacheManager.d.ts.map +0 -0
- /package/{dist-browser → types}/cache/entities/AccessTokenEntity.d.ts +0 -0
- /package/{dist-browser → types}/cache/entities/AccessTokenEntity.d.ts.map +0 -0
- /package/{dist-browser → types}/cache/entities/AccountEntity.d.ts +0 -0
- /package/{dist-browser → types}/cache/entities/AccountEntity.d.ts.map +0 -0
- /package/{dist-browser → types}/cache/entities/AppMetadataEntity.d.ts +0 -0
- /package/{dist-browser → types}/cache/entities/AppMetadataEntity.d.ts.map +0 -0
- /package/{dist-browser → types}/cache/entities/AuthorityMetadataEntity.d.ts +0 -0
- /package/{dist-browser → types}/cache/entities/AuthorityMetadataEntity.d.ts.map +0 -0
- /package/{dist-browser → types}/cache/entities/CacheRecord.d.ts +0 -0
- /package/{dist-browser → types}/cache/entities/CacheRecord.d.ts.map +0 -0
- /package/{dist-browser → types}/cache/entities/CredentialEntity.d.ts +0 -0
- /package/{dist-browser → types}/cache/entities/CredentialEntity.d.ts.map +0 -0
- /package/{dist-browser → types}/cache/entities/IdTokenEntity.d.ts +0 -0
- /package/{dist-browser → types}/cache/entities/IdTokenEntity.d.ts.map +0 -0
- /package/{dist-browser → types}/cache/entities/RefreshTokenEntity.d.ts +0 -0
- /package/{dist-browser → types}/cache/entities/RefreshTokenEntity.d.ts.map +0 -0
- /package/{dist-browser → types}/cache/entities/ServerTelemetryEntity.d.ts +0 -0
- /package/{dist-browser → types}/cache/entities/ServerTelemetryEntity.d.ts.map +0 -0
- /package/{dist-browser → types}/cache/entities/ThrottlingEntity.d.ts +0 -0
- /package/{dist-browser → types}/cache/entities/ThrottlingEntity.d.ts.map +0 -0
- /package/{dist-browser → types}/cache/interface/ICacheManager.d.ts +0 -0
- /package/{dist-browser → types}/cache/interface/ICacheManager.d.ts.map +0 -0
- /package/{dist-browser → types}/cache/interface/ICachePlugin.d.ts +0 -0
- /package/{dist-browser → types}/cache/interface/ICachePlugin.d.ts.map +0 -0
- /package/{dist-browser → types}/cache/interface/ISerializableTokenCache.d.ts +0 -0
- /package/{dist-browser → types}/cache/interface/ISerializableTokenCache.d.ts.map +0 -0
- /package/{dist-browser → types}/cache/persistence/TokenCacheContext.d.ts +0 -0
- /package/{dist-browser → types}/cache/persistence/TokenCacheContext.d.ts.map +0 -0
- /package/{dist-browser → types}/cache/utils/AccountEntityUtils.d.ts +0 -0
- /package/{dist-browser → types}/cache/utils/AccountEntityUtils.d.ts.map +0 -0
- /package/{dist-browser → types}/cache/utils/CacheHelpers.d.ts +0 -0
- /package/{dist-browser → types}/cache/utils/CacheHelpers.d.ts.map +0 -0
- /package/{dist-browser → types}/cache/utils/CacheTypes.d.ts +0 -0
- /package/{dist-browser → types}/cache/utils/CacheTypes.d.ts.map +0 -0
- /package/{dist-browser → types}/client/AuthorizationCodeClient.d.ts +0 -0
- /package/{dist-browser → types}/client/AuthorizationCodeClient.d.ts.map +0 -0
- /package/{dist-browser → types}/client/RefreshTokenClient.d.ts +0 -0
- /package/{dist-browser → types}/client/RefreshTokenClient.d.ts.map +0 -0
- /package/{dist-browser → types}/client/SilentFlowClient.d.ts +0 -0
- /package/{dist-browser → types}/client/SilentFlowClient.d.ts.map +0 -0
- /package/{dist-browser → types}/config/AppTokenProvider.d.ts +0 -0
- /package/{dist-browser → types}/config/AppTokenProvider.d.ts.map +0 -0
- /package/{dist-browser → types}/config/ClientConfiguration.d.ts +0 -0
- /package/{dist-browser → types}/config/ClientConfiguration.d.ts.map +0 -0
- /package/{dist-browser → types}/constants/AADServerParamKeys.d.ts +0 -0
- /package/{dist-browser → types}/constants/AADServerParamKeys.d.ts.map +0 -0
- /package/{dist-browser → types}/crypto/ICrypto.d.ts +0 -0
- /package/{dist-browser → types}/crypto/ICrypto.d.ts.map +0 -0
- /package/{dist-browser → types}/crypto/IGuidGenerator.d.ts +0 -0
- /package/{dist-browser → types}/crypto/IGuidGenerator.d.ts.map +0 -0
- /package/{dist-browser → types}/crypto/JoseHeader.d.ts +0 -0
- /package/{dist-browser → types}/crypto/JoseHeader.d.ts.map +0 -0
- /package/{dist-browser → types}/crypto/PopTokenGenerator.d.ts +0 -0
- /package/{dist-browser → types}/crypto/PopTokenGenerator.d.ts.map +0 -0
- /package/{dist-browser → types}/crypto/SignedHttpRequest.d.ts +0 -0
- /package/{dist-browser → types}/crypto/SignedHttpRequest.d.ts.map +0 -0
- /package/{dist-browser → types}/error/AuthError.d.ts +0 -0
- /package/{dist-browser → types}/error/AuthError.d.ts.map +0 -0
- /package/{dist-browser → types}/error/AuthErrorCodes.d.ts +0 -0
- /package/{dist-browser → types}/error/AuthErrorCodes.d.ts.map +0 -0
- /package/{dist-browser → types}/error/CacheError.d.ts +0 -0
- /package/{dist-browser → types}/error/CacheError.d.ts.map +0 -0
- /package/{dist-browser → types}/error/CacheErrorCodes.d.ts +0 -0
- /package/{dist-browser → types}/error/CacheErrorCodes.d.ts.map +0 -0
- /package/{dist-browser → types}/error/ClientAuthError.d.ts +0 -0
- /package/{dist-browser → types}/error/ClientAuthError.d.ts.map +0 -0
- /package/{dist-browser → types}/error/ClientAuthErrorCodes.d.ts +0 -0
- /package/{dist-browser → types}/error/ClientAuthErrorCodes.d.ts.map +0 -0
- /package/{dist-browser → types}/error/ClientConfigurationError.d.ts +0 -0
- /package/{dist-browser → types}/error/ClientConfigurationError.d.ts.map +0 -0
- /package/{dist-browser → types}/error/InteractionRequiredAuthError.d.ts +0 -0
- /package/{dist-browser → types}/error/InteractionRequiredAuthError.d.ts.map +0 -0
- /package/{dist-browser → types}/error/InteractionRequiredAuthErrorCodes.d.ts +0 -0
- /package/{dist-browser → types}/error/InteractionRequiredAuthErrorCodes.d.ts.map +0 -0
- /package/{dist-browser → types}/error/JoseHeaderError.d.ts +0 -0
- /package/{dist-browser → types}/error/JoseHeaderError.d.ts.map +0 -0
- /package/{dist-browser → types}/error/JoseHeaderErrorCodes.d.ts +0 -0
- /package/{dist-browser → types}/error/JoseHeaderErrorCodes.d.ts.map +0 -0
- /package/{dist-browser → types}/error/NetworkError.d.ts +0 -0
- /package/{dist-browser → types}/error/NetworkError.d.ts.map +0 -0
- /package/{dist-browser → types}/error/PlatformBrokerError.d.ts +0 -0
- /package/{dist-browser → types}/error/PlatformBrokerError.d.ts.map +0 -0
- /package/{dist-browser → types}/error/ServerError.d.ts +0 -0
- /package/{dist-browser → types}/error/ServerError.d.ts.map +0 -0
- /package/{dist-browser → types}/exports-browser-only.d.ts +0 -0
- /package/{dist-browser → types}/exports-browser-only.d.ts.map +0 -0
- /package/{dist-browser → types}/exports-common.d.ts +0 -0
- /package/{dist-browser → types}/exports-common.d.ts.map +0 -0
- /package/{dist-browser → types}/exports-node-only.d.ts +0 -0
- /package/{dist-browser → types}/exports-node-only.d.ts.map +0 -0
- /package/{dist-browser → types}/index-browser.d.ts +0 -0
- /package/{dist-browser → types}/index-browser.d.ts.map +0 -0
- /package/{dist-browser → types}/index-node.d.ts +0 -0
- /package/{dist-browser → types}/index-node.d.ts.map +0 -0
- /package/{dist-browser → types}/index.d.ts +0 -0
- /package/{dist-browser → types}/index.d.ts.map +0 -0
- /package/{dist-browser → types}/logger/Logger.d.ts +0 -0
- /package/{dist-browser → types}/logger/Logger.d.ts.map +0 -0
- /package/{dist-browser → types}/network/INetworkModule.d.ts +0 -0
- /package/{dist-browser → types}/network/INetworkModule.d.ts.map +0 -0
- /package/{dist-browser → types}/network/NetworkResponse.d.ts +0 -0
- /package/{dist-browser → types}/network/NetworkResponse.d.ts.map +0 -0
- /package/{dist-browser → types}/network/RequestThumbprint.d.ts +0 -0
- /package/{dist-browser → types}/network/RequestThumbprint.d.ts.map +0 -0
- /package/{dist-browser → types}/network/ThrottlingUtils.d.ts +0 -0
- /package/{dist-browser → types}/network/ThrottlingUtils.d.ts.map +0 -0
- /package/{dist-browser → types}/packageMetadata.d.ts.map +0 -0
- /package/{dist-browser → types}/protocol/Authorize.d.ts +0 -0
- /package/{dist-browser → types}/protocol/Authorize.d.ts.map +0 -0
- /package/{dist-browser → types}/protocol/Token.d.ts +0 -0
- /package/{dist-browser → types}/protocol/Token.d.ts.map +0 -0
- /package/{dist-browser → types}/request/AuthenticationHeaderParser.d.ts +0 -0
- /package/{dist-browser → types}/request/AuthenticationHeaderParser.d.ts.map +0 -0
- /package/{dist-browser → types}/request/BaseAuthRequest.d.ts +0 -0
- /package/{dist-browser → types}/request/BaseAuthRequest.d.ts.map +0 -0
- /package/{dist-browser → types}/request/CommonAuthorizationCodeRequest.d.ts +0 -0
- /package/{dist-browser → types}/request/CommonAuthorizationCodeRequest.d.ts.map +0 -0
- /package/{dist-browser → types}/request/CommonAuthorizationUrlRequest.d.ts +0 -0
- /package/{dist-browser → types}/request/CommonAuthorizationUrlRequest.d.ts.map +0 -0
- /package/{dist-browser → types}/request/CommonEndSessionRequest.d.ts +0 -0
- /package/{dist-browser → types}/request/CommonEndSessionRequest.d.ts.map +0 -0
- /package/{dist-browser → types}/request/CommonRefreshTokenRequest.d.ts +0 -0
- /package/{dist-browser → types}/request/CommonRefreshTokenRequest.d.ts.map +0 -0
- /package/{dist-browser → types}/request/CommonSilentFlowRequest.d.ts +0 -0
- /package/{dist-browser → types}/request/CommonSilentFlowRequest.d.ts.map +0 -0
- /package/{dist-browser → types}/request/NativeRequest.d.ts +0 -0
- /package/{dist-browser → types}/request/NativeRequest.d.ts.map +0 -0
- /package/{dist-browser → types}/request/NativeSignOutRequest.d.ts +0 -0
- /package/{dist-browser → types}/request/NativeSignOutRequest.d.ts.map +0 -0
- /package/{dist-browser → types}/request/RequestParameterBuilder.d.ts +0 -0
- /package/{dist-browser → types}/request/RequestParameterBuilder.d.ts.map +0 -0
- /package/{dist-browser → types}/request/ScopeSet.d.ts +0 -0
- /package/{dist-browser → types}/request/ScopeSet.d.ts.map +0 -0
- /package/{dist-browser → types}/request/StoreInCache.d.ts +0 -0
- /package/{dist-browser → types}/request/StoreInCache.d.ts.map +0 -0
- /package/{dist-browser → types}/response/AuthenticationResult.d.ts +0 -0
- /package/{dist-browser → types}/response/AuthenticationResult.d.ts.map +0 -0
- /package/{dist-browser → types}/response/AuthorizationCodePayload.d.ts +0 -0
- /package/{dist-browser → types}/response/AuthorizationCodePayload.d.ts.map +0 -0
- /package/{dist-browser → types}/response/AuthorizeResponse.d.ts +0 -0
- /package/{dist-browser → types}/response/AuthorizeResponse.d.ts.map +0 -0
- /package/{dist-browser → types}/response/DeviceCodeResponse.d.ts +0 -0
- /package/{dist-browser → types}/response/DeviceCodeResponse.d.ts.map +0 -0
- /package/{dist-browser → types}/response/ExternalTokenResponse.d.ts +0 -0
- /package/{dist-browser → types}/response/ExternalTokenResponse.d.ts.map +0 -0
- /package/{dist-browser → types}/response/IMDSBadResponse.d.ts +0 -0
- /package/{dist-browser → types}/response/IMDSBadResponse.d.ts.map +0 -0
- /package/{dist-browser → types}/response/ResponseHandler.d.ts +0 -0
- /package/{dist-browser → types}/response/ResponseHandler.d.ts.map +0 -0
- /package/{dist-browser → types}/response/ServerAuthorizationTokenResponse.d.ts +0 -0
- /package/{dist-browser → types}/response/ServerAuthorizationTokenResponse.d.ts.map +0 -0
- /package/{dist-browser → types}/telemetry/performance/IPerformanceClient.d.ts +0 -0
- /package/{dist-browser → types}/telemetry/performance/IPerformanceClient.d.ts.map +0 -0
- /package/{dist-browser → types}/telemetry/performance/IPerformanceMeasurement.d.ts +0 -0
- /package/{dist-browser → types}/telemetry/performance/IPerformanceMeasurement.d.ts.map +0 -0
- /package/{dist-browser → types}/telemetry/performance/PerformanceClient.d.ts +0 -0
- /package/{dist-browser → types}/telemetry/performance/PerformanceClient.d.ts.map +0 -0
- /package/{dist-browser → types}/telemetry/performance/PerformanceEvent.d.ts +0 -0
- /package/{dist-browser → types}/telemetry/performance/PerformanceEvent.d.ts.map +0 -0
- /package/{dist-browser → types}/telemetry/performance/PerformanceEvents.d.ts +0 -0
- /package/{dist-browser → types}/telemetry/performance/PerformanceEvents.d.ts.map +0 -0
- /package/{dist-browser → types}/telemetry/performance/StubPerformanceClient.d.ts +0 -0
- /package/{dist-browser → types}/telemetry/performance/StubPerformanceClient.d.ts.map +0 -0
- /package/{dist-browser → types}/telemetry/server/ServerTelemetryManager.d.ts +0 -0
- /package/{dist-browser → types}/telemetry/server/ServerTelemetryManager.d.ts.map +0 -0
- /package/{dist-browser → types}/telemetry/server/ServerTelemetryRequest.d.ts +0 -0
- /package/{dist-browser → types}/telemetry/server/ServerTelemetryRequest.d.ts.map +0 -0
- /package/{dist-browser → types}/url/IUri.d.ts +0 -0
- /package/{dist-browser → types}/url/IUri.d.ts.map +0 -0
- /package/{dist-browser → types}/url/UrlString.d.ts +0 -0
- /package/{dist-browser → types}/url/UrlString.d.ts.map +0 -0
- /package/{dist-browser → types}/utils/ClientAssertionUtils.d.ts +0 -0
- /package/{dist-browser → types}/utils/ClientAssertionUtils.d.ts.map +0 -0
- /package/{dist-browser → types}/utils/Constants.d.ts +0 -0
- /package/{dist-browser → types}/utils/Constants.d.ts.map +0 -0
- /package/{dist-browser → types}/utils/FunctionWrappers.d.ts +0 -0
- /package/{dist-browser → types}/utils/FunctionWrappers.d.ts.map +0 -0
- /package/{dist-browser → types}/utils/MsalTypes.d.ts +0 -0
- /package/{dist-browser → types}/utils/MsalTypes.d.ts.map +0 -0
- /package/{dist-browser → types}/utils/ProtocolUtils.d.ts +0 -0
- /package/{dist-browser → types}/utils/ProtocolUtils.d.ts.map +0 -0
- /package/{dist-browser → types}/utils/StateTypes.d.ts +0 -0
- /package/{dist-browser → types}/utils/StateTypes.d.ts.map +0 -0
- /package/{dist-browser → types}/utils/StringUtils.d.ts +0 -0
- /package/{dist-browser → types}/utils/StringUtils.d.ts.map +0 -0
- /package/{dist-browser → types}/utils/TimeUtils.d.ts +0 -0
- /package/{dist-browser → types}/utils/TimeUtils.d.ts.map +0 -0
- /package/{dist-browser → types}/utils/UrlUtils.d.ts +0 -0
- /package/{dist-browser → types}/utils/UrlUtils.d.ts.map +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AccountEntity.d.ts","sourceRoot":"","sources":["../../../../src/cache/entities/AccountEntity.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAE3E;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,MAAM,MAAM,aAAa,GAAG;IACxB,aAAa,EAAE,MAAM,CAAC;IACtB,WAAW,EAAE,MAAM,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,cAAc,EAAE,MAAM,CAAC;IACvB,QAAQ,EAAE,MAAM,CAAC;IACjB,aAAa,EAAE,MAAM,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,cAAc,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,CAAC;IACtC,gDAAgD;IAChD,aAAa,EAAE,MAAM,CAAC;IACtB,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,6EAA6E;IAC7E,aAAa,CAAC,EAAE,MAAM,CAAC;CAC1B,CAAC"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* App Metadata Cache Type
|
|
3
|
-
*/
|
|
4
|
-
export type AppMetadataEntity = {
|
|
5
|
-
/** clientId of the application */
|
|
6
|
-
clientId: string;
|
|
7
|
-
/** entity that issued the token, represented as a full host */
|
|
8
|
-
environment: string;
|
|
9
|
-
/** Family identifier, '1' represents Microsoft Family */
|
|
10
|
-
familyId?: string;
|
|
11
|
-
};
|
|
12
|
-
//# sourceMappingURL=AppMetadataEntity.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AppMetadataEntity.d.ts","sourceRoot":"","sources":["../../../../src/cache/entities/AppMetadataEntity.ts"],"names":[],"mappings":"AAKA;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG;IAC5B,kCAAkC;IAClC,QAAQ,EAAE,MAAM,CAAC;IACjB,+DAA+D;IAC/D,WAAW,EAAE,MAAM,CAAC;IACpB,yDAAyD;IACzD,QAAQ,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC"}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/** @internal */
|
|
2
|
-
export type AuthorityMetadataEntity = {
|
|
3
|
-
aliases: Array<string>;
|
|
4
|
-
preferred_cache: string;
|
|
5
|
-
preferred_network: string;
|
|
6
|
-
canonical_authority: string;
|
|
7
|
-
authorization_endpoint: string;
|
|
8
|
-
token_endpoint: string;
|
|
9
|
-
end_session_endpoint?: string;
|
|
10
|
-
issuer: string;
|
|
11
|
-
aliasesFromNetwork: boolean;
|
|
12
|
-
endpointsFromNetwork: boolean;
|
|
13
|
-
expiresAt: number;
|
|
14
|
-
jwks_uri: string;
|
|
15
|
-
};
|
|
16
|
-
//# sourceMappingURL=AuthorityMetadataEntity.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,14 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,31 +0,0 @@
|
|
|
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
|
-
/** Timestamp when the entry was last updated */
|
|
29
|
-
lastUpdatedAt: string;
|
|
30
|
-
};
|
|
31
|
-
//# sourceMappingURL=CredentialEntity.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
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,gDAAgD;IAChD,aAAa,EAAE,MAAM,CAAC;CACzB,CAAC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,188 +0,0 @@
|
|
|
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
|
-
* @param correlationId
|
|
18
|
-
*/
|
|
19
|
-
getAccount(accountKey: string, correlationId: string): AccountEntity | null;
|
|
20
|
-
/**
|
|
21
|
-
* set account entity in the platform cache
|
|
22
|
-
* @param account
|
|
23
|
-
* @param correlationId
|
|
24
|
-
*/
|
|
25
|
-
setAccount(account: AccountEntity, correlationId: string, kmsi: boolean, apiId: number): Promise<void>;
|
|
26
|
-
/**
|
|
27
|
-
* fetch the idToken entity from the platform cache
|
|
28
|
-
* @param idTokenKey
|
|
29
|
-
* @param correlationId
|
|
30
|
-
*/
|
|
31
|
-
getIdTokenCredential(idTokenKey: string, correlationId: string): IdTokenEntity | null;
|
|
32
|
-
/**
|
|
33
|
-
* set idToken entity to the platform cache
|
|
34
|
-
* @param idToken
|
|
35
|
-
* @param correlationId
|
|
36
|
-
*/
|
|
37
|
-
setIdTokenCredential(idToken: IdTokenEntity, correlationId: string, kmsi: boolean): Promise<void>;
|
|
38
|
-
/**
|
|
39
|
-
* fetch the idToken entity from the platform cache
|
|
40
|
-
* @param accessTokenKey
|
|
41
|
-
* @param correlationId
|
|
42
|
-
*/
|
|
43
|
-
getAccessTokenCredential(accessTokenKey: string, correlationId: string): AccessTokenEntity | null;
|
|
44
|
-
/**
|
|
45
|
-
* set idToken entity to the platform cache
|
|
46
|
-
* @param accessToken
|
|
47
|
-
* @param correlationId
|
|
48
|
-
*/
|
|
49
|
-
setAccessTokenCredential(accessToken: AccessTokenEntity, correlationId: string, kmsi: boolean): Promise<void>;
|
|
50
|
-
/**
|
|
51
|
-
* fetch the idToken entity from the platform cache
|
|
52
|
-
* @param refreshTokenKey
|
|
53
|
-
* @param correlationId
|
|
54
|
-
*/
|
|
55
|
-
getRefreshTokenCredential(refreshTokenKey: string, correlationId: string): RefreshTokenEntity | null;
|
|
56
|
-
/**
|
|
57
|
-
* set idToken entity to the platform cache
|
|
58
|
-
* @param refreshToken
|
|
59
|
-
* @param correlationId
|
|
60
|
-
*/
|
|
61
|
-
setRefreshTokenCredential(refreshToken: RefreshTokenEntity, correlationId: string, kmsi: boolean): Promise<void>;
|
|
62
|
-
/**
|
|
63
|
-
* fetch appMetadata entity from the platform cache
|
|
64
|
-
* @param appMetadataKey
|
|
65
|
-
* @param correlationId
|
|
66
|
-
*/
|
|
67
|
-
getAppMetadata(appMetadataKey: string, correlationId: string): AppMetadataEntity | null;
|
|
68
|
-
/**
|
|
69
|
-
* set appMetadata entity to the platform cache
|
|
70
|
-
* @param appMetadata
|
|
71
|
-
* @param correlationId
|
|
72
|
-
*/
|
|
73
|
-
setAppMetadata(appMetadata: AppMetadataEntity, correlationId: string): void;
|
|
74
|
-
/**
|
|
75
|
-
* fetch server telemetry entity from the platform cache
|
|
76
|
-
* @param serverTelemetryKey
|
|
77
|
-
* @param correlationId
|
|
78
|
-
*/
|
|
79
|
-
getServerTelemetry(serverTelemetryKey: string, correlationId: string): ServerTelemetryEntity | null;
|
|
80
|
-
/**
|
|
81
|
-
* set server telemetry entity to the platform cache
|
|
82
|
-
* @param serverTelemetryKey
|
|
83
|
-
* @param serverTelemetry
|
|
84
|
-
* @param correlationId
|
|
85
|
-
*/
|
|
86
|
-
setServerTelemetry(serverTelemetryKey: string, serverTelemetry: ServerTelemetryEntity, correlationId: string): void;
|
|
87
|
-
/**
|
|
88
|
-
* fetch cloud discovery metadata entity from the platform cache
|
|
89
|
-
* @param key
|
|
90
|
-
* @param correlationId
|
|
91
|
-
*/
|
|
92
|
-
getAuthorityMetadata(key: string, correlationId: string): AuthorityMetadataEntity | null;
|
|
93
|
-
/**
|
|
94
|
-
* Get cache keys for authority metadata
|
|
95
|
-
* @param correlationId
|
|
96
|
-
*/
|
|
97
|
-
getAuthorityMetadataKeys(correlationId: string): Array<string>;
|
|
98
|
-
/**
|
|
99
|
-
* set cloud discovery metadata entity to the platform cache
|
|
100
|
-
* @param key
|
|
101
|
-
* @param value
|
|
102
|
-
* @param correlationId
|
|
103
|
-
*/
|
|
104
|
-
setAuthorityMetadata(key: string, value: AuthorityMetadataEntity, correlationId: string): void;
|
|
105
|
-
/**
|
|
106
|
-
* Provide an alias to find a matching AuthorityMetadataEntity in cache
|
|
107
|
-
* @param host
|
|
108
|
-
* @param correlationId
|
|
109
|
-
*/
|
|
110
|
-
getAuthorityMetadataByAlias(host: string, correlationId: string): AuthorityMetadataEntity | null;
|
|
111
|
-
/**
|
|
112
|
-
* given an authority generates the cache key for authorityMetadata
|
|
113
|
-
* @param authority
|
|
114
|
-
* @param correlationId
|
|
115
|
-
*/
|
|
116
|
-
generateAuthorityMetadataCacheKey(authority: string, correlationId: string): string;
|
|
117
|
-
/**
|
|
118
|
-
* fetch throttling entity from the platform cache
|
|
119
|
-
* @param throttlingCacheKey
|
|
120
|
-
* @param correlationId
|
|
121
|
-
*/
|
|
122
|
-
getThrottlingCache(throttlingCacheKey: string, correlationId: string): ThrottlingEntity | null;
|
|
123
|
-
/**
|
|
124
|
-
* set throttling entity to the platform cache
|
|
125
|
-
* @param throttlingCacheKey
|
|
126
|
-
* @param throttlingCache
|
|
127
|
-
* @param correlationId
|
|
128
|
-
*/
|
|
129
|
-
setThrottlingCache(throttlingCacheKey: string, throttlingCache: ThrottlingEntity, correlationId: string): void;
|
|
130
|
-
/**
|
|
131
|
-
* Returns all accounts in cache
|
|
132
|
-
* @param filter
|
|
133
|
-
* @param correlationId
|
|
134
|
-
*/
|
|
135
|
-
getAllAccounts(filter: AccountFilter, correlationId: string): AccountInfo[];
|
|
136
|
-
/**
|
|
137
|
-
* saves a cache record
|
|
138
|
-
* @param cacheRecord
|
|
139
|
-
* @param correlationId
|
|
140
|
-
* @param storeInCache
|
|
141
|
-
*/
|
|
142
|
-
saveCacheRecord(cacheRecord: CacheRecord, correlationId: string, kmsi: boolean, apiId: number, storeInCache?: StoreInCache): Promise<void>;
|
|
143
|
-
/**
|
|
144
|
-
* retrieve accounts matching all provided filters; if no filter is set, get all accounts
|
|
145
|
-
* @param filter
|
|
146
|
-
* @param correlationId
|
|
147
|
-
*/
|
|
148
|
-
getAccountsFilteredBy(filter: AccountFilter, correlationId: string): AccountEntity[];
|
|
149
|
-
/**
|
|
150
|
-
* Get AccountInfo object based on provided filters
|
|
151
|
-
* @param filter
|
|
152
|
-
* @param correlationId
|
|
153
|
-
*/
|
|
154
|
-
getAccountInfoFilteredBy(filter: AccountFilter, correlationId: string): AccountInfo | null;
|
|
155
|
-
/**
|
|
156
|
-
* Removes all accounts and related tokens from cache.
|
|
157
|
-
* @param correlationId
|
|
158
|
-
*/
|
|
159
|
-
removeAllAccounts(correlationId: string): void;
|
|
160
|
-
/**
|
|
161
|
-
* returns a boolean if the given account is removed
|
|
162
|
-
* @param account
|
|
163
|
-
* @param correlationId
|
|
164
|
-
*/
|
|
165
|
-
removeAccount(account: AccountInfo, correlationId: string): void;
|
|
166
|
-
/**
|
|
167
|
-
* returns a boolean if the given account is removed
|
|
168
|
-
* @param account
|
|
169
|
-
* @param correlationId
|
|
170
|
-
*/
|
|
171
|
-
removeAccountContext(account: AccountInfo, correlationId: string): void;
|
|
172
|
-
/**
|
|
173
|
-
* @param key
|
|
174
|
-
* @param correlationId
|
|
175
|
-
*/
|
|
176
|
-
removeIdToken(key: string, correlationId: string): void;
|
|
177
|
-
/**
|
|
178
|
-
* @param key
|
|
179
|
-
* @param correlationId
|
|
180
|
-
*/
|
|
181
|
-
removeAccessToken(key: string, correlationId: string): void;
|
|
182
|
-
/**
|
|
183
|
-
* @param key
|
|
184
|
-
* @param correlationId
|
|
185
|
-
*/
|
|
186
|
-
removeRefreshToken(key: string, correlationId: string): void;
|
|
187
|
-
}
|
|
188
|
-
//# sourceMappingURL=ICacheManager.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
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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
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,24 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import { Authority } from "../../authority/Authority.js";
|
|
2
|
-
import { ICrypto } from "../../crypto/ICrypto.js";
|
|
3
|
-
import { AccountInfo, TenantProfile } from "../../account/AccountInfo.js";
|
|
4
|
-
import { AuthorityType } from "../../authority/AuthorityType.js";
|
|
5
|
-
import { Logger } from "../../logger/Logger.js";
|
|
6
|
-
import { TokenClaims } from "../../account/TokenClaims.js";
|
|
7
|
-
import { AccountEntity } from "../entities/AccountEntity.js";
|
|
8
|
-
/**
|
|
9
|
-
* Generate Account Id key component as per the schema: <home_account_id>-<environment>
|
|
10
|
-
*/
|
|
11
|
-
export declare function generateAccountId(accountEntity: AccountEntity): string;
|
|
12
|
-
/**
|
|
13
|
-
* Returns the AccountInfo interface for this account.
|
|
14
|
-
*/
|
|
15
|
-
export declare function getAccountInfo(accountEntity: AccountEntity): AccountInfo;
|
|
16
|
-
/**
|
|
17
|
-
* Returns true if the account entity is in single tenant format (outdated), false otherwise
|
|
18
|
-
*/
|
|
19
|
-
export declare function isSingleTenant(accountEntity: AccountEntity): boolean;
|
|
20
|
-
/**
|
|
21
|
-
* Build Account cache from IdToken, clientInfo and authority/policy. Associated with AAD.
|
|
22
|
-
* @param accountDetails
|
|
23
|
-
*/
|
|
24
|
-
export declare function createAccountEntity(accountDetails: {
|
|
25
|
-
homeAccountId: string;
|
|
26
|
-
idTokenClaims?: TokenClaims;
|
|
27
|
-
clientInfo?: string;
|
|
28
|
-
cloudGraphHostName?: string;
|
|
29
|
-
msGraphHost?: string;
|
|
30
|
-
environment?: string;
|
|
31
|
-
nativeAccountId?: string;
|
|
32
|
-
tenantProfiles?: Array<TenantProfile>;
|
|
33
|
-
}, authority: Authority, base64Decode?: (input: string) => string): AccountEntity;
|
|
34
|
-
/**
|
|
35
|
-
* Creates an AccountEntity object from AccountInfo
|
|
36
|
-
* @param accountInfo
|
|
37
|
-
* @param cloudGraphHostName
|
|
38
|
-
* @param msGraphHost
|
|
39
|
-
* @returns
|
|
40
|
-
*/
|
|
41
|
-
export declare function createAccountEntityFromAccountInfo(accountInfo: AccountInfo, cloudGraphHostName?: string, msGraphHost?: string): AccountEntity;
|
|
42
|
-
/**
|
|
43
|
-
* Generate HomeAccountId from server response
|
|
44
|
-
* @param serverClientInfo
|
|
45
|
-
* @param authType
|
|
46
|
-
*/
|
|
47
|
-
export declare function generateHomeAccountId(serverClientInfo: string, authType: AuthorityType, logger: Logger, cryptoObj: ICrypto, correlationId: string, idTokenClaims?: TokenClaims): string;
|
|
48
|
-
/**
|
|
49
|
-
* Validates an entity: checks for all expected params
|
|
50
|
-
* @param entity
|
|
51
|
-
*/
|
|
52
|
-
export declare function isAccountEntity(entity: object): entity is AccountEntity;
|
|
53
|
-
//# sourceMappingURL=AccountEntityUtils.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AccountEntityUtils.d.ts","sourceRoot":"","sources":["../../../../src/cache/utils/AccountEntityUtils.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AACzD,OAAO,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAC;AAElD,OAAO,EACH,WAAW,EACX,aAAa,EAGhB,MAAM,8BAA8B,CAAC;AAKtC,OAAO,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;AACjE,OAAO,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AAChD,OAAO,EACH,WAAW,EAEd,MAAM,8BAA8B,CAAC;AAEtC,OAAO,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAC;AAE7D;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,aAAa,EAAE,aAAa,GAAG,MAAM,CAMtE;AAED;;GAEG;AACH,wBAAgB,cAAc,CAAC,aAAa,EAAE,aAAa,GAAG,WAAW,CAkCxE;AAED;;GAEG;AACH,wBAAgB,cAAc,CAAC,aAAa,EAAE,aAAa,GAAG,OAAO,CAEpE;AAED;;;GAGG;AACH,wBAAgB,mBAAmB,CAC/B,cAAc,EAAE;IACZ,aAAa,EAAE,MAAM,CAAC;IACtB,aAAa,CAAC,EAAE,WAAW,CAAC;IAC5B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,cAAc,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,CAAC;CACzC,EACD,SAAS,EAAE,SAAS,EACpB,YAAY,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,GACzC,aAAa,CAuFf;AAED;;;;;;GAMG;AACH,wBAAgB,kCAAkC,CAC9C,WAAW,EAAE,WAAW,EACxB,kBAAkB,CAAC,EAAE,MAAM,EAC3B,WAAW,CAAC,EAAE,MAAM,GACrB,aAAa,CAoCf;AAED;;;;GAIG;AACH,wBAAgB,qBAAqB,CACjC,gBAAgB,EAAE,MAAM,EACxB,QAAQ,EAAE,aAAa,EACvB,MAAM,EAAE,MAAM,EACd,SAAS,EAAE,OAAO,EAClB,aAAa,EAAE,MAAM,EACrB,aAAa,CAAC,EAAE,WAAW,GAC5B,MAAM,CAoBR;AAED;;;GAGG;AACH,wBAAgB,eAAe,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,IAAI,aAAa,CAavE"}
|
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
import { CloudDiscoveryMetadata } from "../../authority/CloudDiscoveryMetadata.js";
|
|
2
|
-
import { OpenIdConfigResponse } from "../../authority/OpenIdConfigResponse.js";
|
|
3
|
-
import * as Constants 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
|
-
* Create IdTokenEntity
|
|
12
|
-
* @param homeAccountId
|
|
13
|
-
* @param authenticationResult
|
|
14
|
-
* @param clientId
|
|
15
|
-
* @param authority
|
|
16
|
-
*/
|
|
17
|
-
export declare function createIdTokenEntity(homeAccountId: string, environment: string, idToken: string, clientId: string, tenantId: string): IdTokenEntity;
|
|
18
|
-
/**
|
|
19
|
-
* Create AccessTokenEntity
|
|
20
|
-
* @param homeAccountId
|
|
21
|
-
* @param environment
|
|
22
|
-
* @param accessToken
|
|
23
|
-
* @param clientId
|
|
24
|
-
* @param tenantId
|
|
25
|
-
* @param scopes
|
|
26
|
-
* @param expiresOn
|
|
27
|
-
* @param extExpiresOn
|
|
28
|
-
*/
|
|
29
|
-
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?: Constants.AuthenticationScheme, userAssertionHash?: string, keyId?: string): AccessTokenEntity;
|
|
30
|
-
/**
|
|
31
|
-
* Create RefreshTokenEntity
|
|
32
|
-
* @param homeAccountId
|
|
33
|
-
* @param authenticationResult
|
|
34
|
-
* @param clientId
|
|
35
|
-
* @param authority
|
|
36
|
-
*/
|
|
37
|
-
export declare function createRefreshTokenEntity(homeAccountId: string, environment: string, refreshToken: string, clientId: string, familyId?: string, userAssertionHash?: string, expiresOn?: number): RefreshTokenEntity;
|
|
38
|
-
export declare function isCredentialEntity(entity: object): entity is CredentialEntity;
|
|
39
|
-
/**
|
|
40
|
-
* Validates an entity: checks for all expected params
|
|
41
|
-
* @param entity
|
|
42
|
-
*/
|
|
43
|
-
export declare function isAccessTokenEntity(entity: object): entity is AccessTokenEntity;
|
|
44
|
-
/**
|
|
45
|
-
* Validates an entity: checks for all expected params
|
|
46
|
-
* @param entity
|
|
47
|
-
*/
|
|
48
|
-
export declare function isIdTokenEntity(entity: object): entity is IdTokenEntity;
|
|
49
|
-
/**
|
|
50
|
-
* Validates an entity: checks for all expected params
|
|
51
|
-
* @param entity
|
|
52
|
-
*/
|
|
53
|
-
export declare function isRefreshTokenEntity(entity: object): entity is RefreshTokenEntity;
|
|
54
|
-
/**
|
|
55
|
-
* validates if a given cache entry is "Telemetry", parses <key,value>
|
|
56
|
-
* @param key
|
|
57
|
-
* @param entity
|
|
58
|
-
*/
|
|
59
|
-
export declare function isServerTelemetryEntity(key: string, entity?: object): boolean;
|
|
60
|
-
/**
|
|
61
|
-
* validates if a given cache entry is "Throttling", parses <key,value>
|
|
62
|
-
* @param key
|
|
63
|
-
* @param entity
|
|
64
|
-
*/
|
|
65
|
-
export declare function isThrottlingEntity(key: string, entity?: object): boolean;
|
|
66
|
-
/**
|
|
67
|
-
* Generate AppMetadata Cache Key as per the schema: appmetadata-<environment>-<client_id>
|
|
68
|
-
*/
|
|
69
|
-
export declare function generateAppMetadataKey({ environment, clientId, }: AppMetadataEntity): string;
|
|
70
|
-
export declare function isAppMetadataEntity(key: string, entity: object): boolean;
|
|
71
|
-
/**
|
|
72
|
-
* Validates an entity: checks for all expected params
|
|
73
|
-
* @param entity
|
|
74
|
-
*/
|
|
75
|
-
export declare function isAuthorityMetadataEntity(key: string, entity: object): boolean;
|
|
76
|
-
/**
|
|
77
|
-
* Reset the exiresAt value
|
|
78
|
-
*/
|
|
79
|
-
export declare function generateAuthorityMetadataExpiresAt(): number;
|
|
80
|
-
export declare function updateAuthorityEndpointMetadata(authorityMetadata: AuthorityMetadataEntity, updatedValues: OpenIdConfigResponse, fromNetwork: boolean): void;
|
|
81
|
-
export declare function updateCloudDiscoveryMetadata(authorityMetadata: AuthorityMetadataEntity, updatedValues: CloudDiscoveryMetadata, fromNetwork: boolean): void;
|
|
82
|
-
/**
|
|
83
|
-
* Returns whether or not the data needs to be refreshed
|
|
84
|
-
*/
|
|
85
|
-
export declare function isAuthorityMetadataExpired(metadata: AuthorityMetadataEntity): boolean;
|
|
86
|
-
//# sourceMappingURL=CacheHelpers.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
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,KAAK,SAAS,MAAM,0BAA0B,CAAC;AAEtD,OAAO,EAAE,iBAA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ountEntity } from "../entities/AccountEntity.js";
|
|
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" | "upn">;
|
|
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
|
-
};
|
|
57
|
-
/**
|
|
58
|
-
* AppMetadata: appmetadata-<environment>-<client_id>
|
|
59
|
-
*/
|
|
60
|
-
export type AppMetadataFilter = {
|
|
61
|
-
environment?: string;
|
|
62
|
-
clientId?: string;
|
|
63
|
-
};
|
|
64
|
-
export type TokenKeys = {
|
|
65
|
-
idToken: string[];
|
|
66
|
-
accessToken: string[];
|
|
67
|
-
refreshToken: string[];
|
|
68
|
-
};
|
|
69
|
-
//# sourceMappingURL=CacheTypes.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
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,kC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