@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":"RefreshTokenClient.d.ts","sourceRoot":"","sources":["../../src/client/RefreshTokenClient.ts"],"names":[],"mappings":"AAKA,OAAO,EAEH,mBAAmB,EACnB,yBAAyB,EAE5B,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAE,yBAAyB,EAAE,MAAM,yCAAyC,CAAC;AACpF,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAOtD,OAAO,EAAE,oBAAoB,EAAE,MAAM,qCAAqC,CAAC;AAG3E,OAAO,EAAE,uBAAuB,EAAE,MAAM,uCAAuC,CAAC;AAoBhF,OAAO,EAAE,kBAAkB,EAAE,MAAM,gDAAgD,CAAC;AAUpF,OAAO,EAAE,sBAAsB,EAAE,MAAM,+CAA+C,CAAC;AACvF,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAC9D,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACxD,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAC/C,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAK7C;;;GAGG;AACH,qBAAa,kBAAkB;IAEpB,MAAM,EAAE,MAAM,CAAC;IAGtB,SAAS,CAAC,MAAM,EAAE,yBAAyB,CAAC;IAG5C,SAAS,CAAC,WAAW,EAAE,OAAO,CAAC;IAG/B,SAAS,CAAC,YAAY,EAAE,YAAY,CAAC;IAGrC,SAAS,CAAC,aAAa,EAAE,cAAc,CAAC;IAGxC,SAAS,CAAC,sBAAsB,EAAE,sBAAsB,GAAG,IAAI,CAAC;IAGzD,SAAS,EAAE,SAAS,CAAC;IAG5B,SAAS,CAAC,iBAAiB,EAAE,kBAAkB,CAAC;gBAG5C,aAAa,EAAE,mBAAmB,EAClC,iBAAiB,EAAE,kBAAkB;IA0B5B,YAAY,CACrB,OAAO,EAAE,yBAAyB,EAClC,KAAK,EAAE,MAAM,GACd,OAAO,CAAC,oBAAoB,CAAC;IA+ChC;;;OAGG;IACU,0BAA0B,CACnC,OAAO,EAAE,uBAAuB,EAChC,KAAK,EAAE,MAAM,GACd,OAAO,CAAC,oBAAoB,CAAC;IAiEhC;;;OAGG;YACW,kCAAkC;IAiFhD;;;;OAIG;YACW,mBAAmB;IAqDjC;;;OAGG;YACW,sBAAsB;CAgLvC"}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { ClientConfiguration, CommonClientConfiguration } from "../config/ClientConfiguration.js";
|
|
2
|
-
import { CommonSilentFlowRequest } from "../request/CommonSilentFlowRequest.js";
|
|
3
|
-
import { AuthenticationResult } from "../response/AuthenticationResult.js";
|
|
4
|
-
import { CacheOutcome } from "../utils/Constants.js";
|
|
5
|
-
import { IPerformanceClient } from "../telemetry/performance/IPerformanceClient.js";
|
|
6
|
-
import { Authority } from "../authority/Authority.js";
|
|
7
|
-
import { Logger } from "../logger/Logger.js";
|
|
8
|
-
import { ICrypto } from "../crypto/ICrypto.js";
|
|
9
|
-
import { CacheManager } from "../cache/CacheManager.js";
|
|
10
|
-
import { INetworkModule } from "../network/INetworkModule.js";
|
|
11
|
-
import { ServerTelemetryManager } from "../telemetry/server/ServerTelemetryManager.js";
|
|
12
|
-
/** @internal */
|
|
13
|
-
export declare class SilentFlowClient {
|
|
14
|
-
logger: Logger;
|
|
15
|
-
protected config: CommonClientConfiguration;
|
|
16
|
-
protected cryptoUtils: ICrypto;
|
|
17
|
-
protected cacheManager: CacheManager;
|
|
18
|
-
protected networkClient: INetworkModule;
|
|
19
|
-
protected serverTelemetryManager: ServerTelemetryManager | null;
|
|
20
|
-
authority: Authority;
|
|
21
|
-
protected performanceClient: IPerformanceClient;
|
|
22
|
-
constructor(configuration: ClientConfiguration, performanceClient: IPerformanceClient);
|
|
23
|
-
/**
|
|
24
|
-
* Retrieves token from cache or throws an error if it must be refreshed.
|
|
25
|
-
* @param request
|
|
26
|
-
*/
|
|
27
|
-
acquireCachedToken(request: CommonSilentFlowRequest): Promise<[AuthenticationResult, CacheOutcome]>;
|
|
28
|
-
private setCacheOutcome;
|
|
29
|
-
/**
|
|
30
|
-
* Helper function to build response object from the CacheRecord
|
|
31
|
-
* @param cacheRecord
|
|
32
|
-
*/
|
|
33
|
-
private generateResultFromCacheRecord;
|
|
34
|
-
}
|
|
35
|
-
//# sourceMappingURL=SilentFlowClient.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SilentFlowClient.d.ts","sourceRoot":"","sources":["../../src/client/SilentFlowClient.ts"],"names":[],"mappings":"AAKA,OAAO,EAEH,mBAAmB,EACnB,yBAAyB,EAC5B,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAE,uBAAuB,EAAE,MAAM,uCAAuC,CAAC;AAChF,OAAO,EAAE,oBAAoB,EAAE,MAAM,qCAAqC,CAAC;AAQ3E,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AACrD,OAAO,EAAE,kBAAkB,EAAE,MAAM,gDAAgD,CAAC;AAMpF,OAAO,EACH,SAAS,EAEZ,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAC7C,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAC/C,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACxD,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAC9D,OAAO,EAAE,sBAAsB,EAAE,MAAM,+CAA+C,CAAC;AAGvF,gBAAgB;AAChB,qBAAa,gBAAgB;IAElB,MAAM,EAAE,MAAM,CAAC;IAGtB,SAAS,CAAC,MAAM,EAAE,yBAAyB,CAAC;IAG5C,SAAS,CAAC,WAAW,EAAE,OAAO,CAAC;IAG/B,SAAS,CAAC,YAAY,EAAE,YAAY,CAAC;IAGrC,SAAS,CAAC,aAAa,EAAE,cAAc,CAAC;IAGxC,SAAS,CAAC,sBAAsB,EAAE,sBAAsB,GAAG,IAAI,CAAC;IAGzD,SAAS,EAAE,SAAS,CAAC;IAG5B,SAAS,CAAC,iBAAiB,EAAE,kBAAkB,CAAC;gBAG5C,aAAa,EAAE,mBAAmB,EAClC,iBAAiB,EAAE,kBAAkB;IA2BzC;;;OAGG;IACG,kBAAkB,CACpB,OAAO,EAAE,uBAAuB,GACjC,OAAO,CAAC,CAAC,oBAAoB,EAAE,YAAY,CAAC,CAAC;IAoHhD,OAAO,CAAC,eAAe;IAmBvB;;;OAGG;YACW,6BAA6B;CAkC9C"}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Extensibility interface, which allows the app developer to return a token, based on the passed-in parameters, instead of fetching tokens from
|
|
3
|
-
* the Identity Provider (AAD).
|
|
4
|
-
* Developers need to construct and return an AppTokenProviderResult object back to MSAL. MSAL will cache the token response
|
|
5
|
-
* in the same way it would do if the result were comming from AAD.
|
|
6
|
-
* This extensibility point is only defined for the client_credential flow, i.e. acquireTokenByClientCredential and
|
|
7
|
-
* meant for Azure SDK to enhance Managed Identity support.
|
|
8
|
-
*/
|
|
9
|
-
export interface IAppTokenProvider {
|
|
10
|
-
(appTokenProviderParameters: AppTokenProviderParameters): Promise<AppTokenProviderResult>;
|
|
11
|
-
}
|
|
12
|
-
/**
|
|
13
|
-
* Input object for the IAppTokenProvider extensiblity. MSAL will create this object, which can be used
|
|
14
|
-
* to help create an AppTokenProviderResult.
|
|
15
|
-
*
|
|
16
|
-
* - correlationId - the correlation Id associated with the request
|
|
17
|
-
* - tenantId - the tenant Id for which the token must be provided
|
|
18
|
-
* - scopes - the scopes for which the token must be provided
|
|
19
|
-
* - claims - any extra claims that the token must satisfy
|
|
20
|
-
*/
|
|
21
|
-
export type AppTokenProviderParameters = {
|
|
22
|
-
readonly correlationId?: string;
|
|
23
|
-
readonly tenantId: string;
|
|
24
|
-
readonly scopes: Array<string>;
|
|
25
|
-
readonly claims?: string;
|
|
26
|
-
};
|
|
27
|
-
/**
|
|
28
|
-
* Output object for IAppTokenProvider extensiblity.
|
|
29
|
-
*
|
|
30
|
-
* - accessToken - the actual access token, typically in JWT format, that satisfies the request data AppTokenProviderParameters
|
|
31
|
-
* - expiresInSeconds - how long the tokens has before expiry, in seconds. Similar to the "expires_in" field in an AAD token response.
|
|
32
|
-
* - refreshInSeconds - how long the token has before it should be proactively refreshed. Similar to the "refresh_in" field in an AAD token response.
|
|
33
|
-
*/
|
|
34
|
-
export type AppTokenProviderResult = {
|
|
35
|
-
accessToken: string;
|
|
36
|
-
expiresInSeconds: number;
|
|
37
|
-
refreshInSeconds?: number;
|
|
38
|
-
};
|
|
39
|
-
//# sourceMappingURL=AppTokenProvider.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AppTokenProvider.d.ts","sourceRoot":"","sources":["../../src/config/AppTokenProvider.ts"],"names":[],"mappings":"AAKA;;;;;;;GAOG;AACH,MAAM,WAAW,iBAAiB;IAC9B,CACI,0BAA0B,EAAE,0BAA0B,GACvD,OAAO,CAAC,sBAAsB,CAAC,CAAC;CACtC;AAED;;;;;;;;GAQG;AACH,MAAM,MAAM,0BAA0B,GAAG;IACrC,QAAQ,CAAC,aAAa,CAAC,EAAE,MAAM,CAAC;IAChC,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAC/B,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC;CAC5B,CAAC;AAEF;;;;;;GAMG;AACH,MAAM,MAAM,sBAAsB,GAAG;IACjC,WAAW,EAAE,MAAM,CAAC;IACpB,gBAAgB,EAAE,MAAM,CAAC;IACzB,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC7B,CAAC"}
|
|
@@ -1,145 +0,0 @@
|
|
|
1
|
-
import { INetworkModule } from "../network/INetworkModule.js";
|
|
2
|
-
import { ICrypto } from "../crypto/ICrypto.js";
|
|
3
|
-
import { ILoggerCallback, LogLevel } from "../logger/Logger.js";
|
|
4
|
-
import type { Authority } from "../authority/Authority.js";
|
|
5
|
-
import { AzureCloudInstance } from "../authority/AuthorityOptions.js";
|
|
6
|
-
import { CacheManager } from "../cache/CacheManager.js";
|
|
7
|
-
import { ServerTelemetryManager } from "../telemetry/server/ServerTelemetryManager.js";
|
|
8
|
-
import { ICachePlugin } from "../cache/interface/ICachePlugin.js";
|
|
9
|
-
import { ISerializableTokenCache } from "../cache/interface/ISerializableTokenCache.js";
|
|
10
|
-
import { ClientCredentials } from "../account/ClientCredentials.js";
|
|
11
|
-
/**
|
|
12
|
-
* Use the configuration object to configure MSAL Modules and initialize the base interfaces for MSAL.
|
|
13
|
-
*
|
|
14
|
-
* This object allows you to configure important elements of MSAL functionality:
|
|
15
|
-
* - authOptions - Authentication for application
|
|
16
|
-
* - cryptoInterface - Implementation of crypto functions
|
|
17
|
-
* - libraryInfo - Library metadata
|
|
18
|
-
* - telemetry - Telemetry options and data
|
|
19
|
-
* - loggerOptions - Logging for application
|
|
20
|
-
* - networkInterface - Network implementation
|
|
21
|
-
* - storageInterface - Storage implementation
|
|
22
|
-
* - systemOptions - Additional library options
|
|
23
|
-
* - clientCredentials - Credentials options for confidential clients
|
|
24
|
-
* @internal
|
|
25
|
-
*/
|
|
26
|
-
export type ClientConfiguration = {
|
|
27
|
-
authOptions: AuthOptions;
|
|
28
|
-
systemOptions?: SystemOptions;
|
|
29
|
-
loggerOptions?: LoggerOptions;
|
|
30
|
-
storageInterface?: CacheManager;
|
|
31
|
-
networkInterface?: INetworkModule;
|
|
32
|
-
cryptoInterface?: ICrypto;
|
|
33
|
-
clientCredentials?: ClientCredentials;
|
|
34
|
-
libraryInfo?: LibraryInfo;
|
|
35
|
-
telemetry?: TelemetryOptions;
|
|
36
|
-
serverTelemetryManager?: ServerTelemetryManager | null;
|
|
37
|
-
persistencePlugin?: ICachePlugin | null;
|
|
38
|
-
serializableCache?: ISerializableTokenCache | null;
|
|
39
|
-
};
|
|
40
|
-
export type CommonClientConfiguration = {
|
|
41
|
-
authOptions: Required<AuthOptions>;
|
|
42
|
-
systemOptions: Required<SystemOptions>;
|
|
43
|
-
loggerOptions: Required<LoggerOptions>;
|
|
44
|
-
storageInterface: CacheManager;
|
|
45
|
-
networkInterface: INetworkModule;
|
|
46
|
-
cryptoInterface: Required<ICrypto>;
|
|
47
|
-
libraryInfo: LibraryInfo;
|
|
48
|
-
telemetry: Required<TelemetryOptions>;
|
|
49
|
-
serverTelemetryManager: ServerTelemetryManager | null;
|
|
50
|
-
clientCredentials: ClientCredentials;
|
|
51
|
-
persistencePlugin: ICachePlugin | null;
|
|
52
|
-
serializableCache: ISerializableTokenCache | null;
|
|
53
|
-
};
|
|
54
|
-
/**
|
|
55
|
-
* Use this to configure the auth options in the ClientConfiguration object
|
|
56
|
-
*
|
|
57
|
-
* - clientId - Client ID of your app registered with our Application registration portal : https://portal.azure.com/#blade/Microsoft_AAD_IAM/ActiveDirectoryMenuBlade/RegisteredAppsPreview in Microsoft Identity Platform
|
|
58
|
-
* - authority - You can configure a specific authority, defaults to " " or "https://login.microsoftonline.com/common"
|
|
59
|
-
* - knownAuthorities - An array of URIs that are known to be valid. Used in B2C scenarios.
|
|
60
|
-
* - cloudDiscoveryMetadata - A string containing the cloud discovery response. Used in AAD scenarios.
|
|
61
|
-
* - clientCapabilities - Array of capabilities which will be added to the claims.access_token.xms_cc request property on every network request.
|
|
62
|
-
* - instanceAware - A flag of whether the STS will send back additional parameters to specify where the tokens should be retrieved from.
|
|
63
|
-
* - redirectUri - The redirect URI where authentication responses can be received by your application. It must exactly match one of the redirect URIs registered in the Azure portal.
|
|
64
|
-
* - isMcp - A flag of whether the application is an MCP application, which requires a resource parameter to be sent in token requests.
|
|
65
|
-
* @internal
|
|
66
|
-
*/
|
|
67
|
-
export type AuthOptions = {
|
|
68
|
-
clientId: string;
|
|
69
|
-
authority: Authority;
|
|
70
|
-
redirectUri: string;
|
|
71
|
-
clientCapabilities?: Array<string>;
|
|
72
|
-
azureCloudOptions?: AzureCloudOptions;
|
|
73
|
-
instanceAware?: boolean;
|
|
74
|
-
isMcp?: boolean;
|
|
75
|
-
};
|
|
76
|
-
/**
|
|
77
|
-
* Use this to configure token renewal info in the Configuration object
|
|
78
|
-
*
|
|
79
|
-
* - tokenRenewalOffsetSeconds - Sets the window of offset needed to renew the token before expiry
|
|
80
|
-
* - protocolMode - Enum that represents the protocol that msal follows. Used for configuring proper endpoints.
|
|
81
|
-
*/
|
|
82
|
-
export type SystemOptions = {
|
|
83
|
-
tokenRenewalOffsetSeconds?: number;
|
|
84
|
-
preventCorsPreflight?: boolean;
|
|
85
|
-
};
|
|
86
|
-
/**
|
|
87
|
-
* Use this to configure the logging that MSAL does, by configuring logger options in the Configuration object
|
|
88
|
-
*
|
|
89
|
-
* - loggerCallback - Callback for logger
|
|
90
|
-
* - piiLoggingEnabled - Sets whether pii logging is enabled
|
|
91
|
-
* - logLevel - Sets the level at which logging happens
|
|
92
|
-
* - correlationId - Sets the correlationId printed by the logger
|
|
93
|
-
*/
|
|
94
|
-
export type LoggerOptions = {
|
|
95
|
-
loggerCallback?: ILoggerCallback;
|
|
96
|
-
piiLoggingEnabled?: boolean;
|
|
97
|
-
logLevel?: LogLevel;
|
|
98
|
-
correlationId?: string;
|
|
99
|
-
};
|
|
100
|
-
/**
|
|
101
|
-
* Library-specific options
|
|
102
|
-
*/
|
|
103
|
-
export type LibraryInfo = {
|
|
104
|
-
sku: string;
|
|
105
|
-
version: string;
|
|
106
|
-
cpu: string;
|
|
107
|
-
os: string;
|
|
108
|
-
};
|
|
109
|
-
/**
|
|
110
|
-
* AzureCloudInstance specific options
|
|
111
|
-
*
|
|
112
|
-
* - azureCloudInstance - string enum providing short notation for soverign and public cloud authorities
|
|
113
|
-
* - tenant - provision to provide the tenant info
|
|
114
|
-
*/
|
|
115
|
-
export type AzureCloudOptions = {
|
|
116
|
-
azureCloudInstance: AzureCloudInstance;
|
|
117
|
-
tenant?: string;
|
|
118
|
-
};
|
|
119
|
-
export type TelemetryOptions = {
|
|
120
|
-
application: ApplicationTelemetry;
|
|
121
|
-
};
|
|
122
|
-
/**
|
|
123
|
-
* Telemetry information sent on request
|
|
124
|
-
* - appName: Unique string name of an application
|
|
125
|
-
* - appVersion: Version of the application using MSAL
|
|
126
|
-
*/
|
|
127
|
-
export type ApplicationTelemetry = {
|
|
128
|
-
appName: string;
|
|
129
|
-
appVersion: string;
|
|
130
|
-
};
|
|
131
|
-
export declare const DEFAULT_SYSTEM_OPTIONS: Required<SystemOptions>;
|
|
132
|
-
/**
|
|
133
|
-
* Function that sets the default options when not explicitly configured from app developer
|
|
134
|
-
*
|
|
135
|
-
* @param Configuration
|
|
136
|
-
*
|
|
137
|
-
* @returns Configuration
|
|
138
|
-
*/
|
|
139
|
-
export declare function buildClientConfiguration({ authOptions: userAuthOptions, systemOptions: userSystemOptions, loggerOptions: userLoggerOption, storageInterface: storageImplementation, networkInterface: networkImplementation, cryptoInterface: cryptoImplementation, clientCredentials: clientCredentials, libraryInfo: libraryInfo, telemetry: telemetry, serverTelemetryManager: serverTelemetryManager, persistencePlugin: persistencePlugin, serializableCache: serializableCache, }: ClientConfiguration): CommonClientConfiguration;
|
|
140
|
-
/**
|
|
141
|
-
* Returns true if config has protocolMode set to ProtocolMode.OIDC, false otherwise
|
|
142
|
-
* @param ClientConfiguration
|
|
143
|
-
*/
|
|
144
|
-
export declare function isOidcProtocolMode(config: ClientConfiguration): boolean;
|
|
145
|
-
//# sourceMappingURL=ClientConfiguration.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ClientConfiguration.d.ts","sourceRoot":"","sources":["../../src/config/ClientConfiguration.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAC9D,OAAO,EAAiC,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAC9E,OAAO,EAAE,eAAe,EAAU,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAOxE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAC3D,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AACtE,OAAO,EAAE,YAAY,EAAuB,MAAM,0BAA0B,CAAC;AAC7E,OAAO,EAAE,sBAAsB,EAAE,MAAM,+CAA+C,CAAC;AACvF,OAAO,EAAE,YAAY,EAAE,MAAM,oCAAoC,CAAC;AAClE,OAAO,EAAE,uBAAuB,EAAE,MAAM,+CAA+C,CAAC;AACxF,OAAO,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAC;AAQpE;;;;;;;;;;;;;;GAcG;AACH,MAAM,MAAM,mBAAmB,GAAG;IAC9B,WAAW,EAAE,WAAW,CAAC;IACzB,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B,gBAAgB,CAAC,EAAE,YAAY,CAAC;IAChC,gBAAgB,CAAC,EAAE,cAAc,CAAC;IAClC,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,iBAAiB,CAAC,EAAE,iBAAiB,CAAC;IACtC,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,SAAS,CAAC,EAAE,gBAAgB,CAAC;IAC7B,sBAAsB,CAAC,EAAE,sBAAsB,GAAG,IAAI,CAAC;IACvD,iBAAiB,CAAC,EAAE,YAAY,GAAG,IAAI,CAAC;IACxC,iBAAiB,CAAC,EAAE,uBAAuB,GAAG,IAAI,CAAC;CACtD,CAAC;AAEF,MAAM,MAAM,yBAAyB,GAAG;IACpC,WAAW,EAAE,QAAQ,CAAC,WAAW,CAAC,CAAC;IACnC,aAAa,EAAE,QAAQ,CAAC,aAAa,CAAC,CAAC;IACvC,aAAa,EAAE,QAAQ,CAAC,aAAa,CAAC,CAAC;IACvC,gBAAgB,EAAE,YAAY,CAAC;IAC/B,gBAAgB,EAAE,cAAc,CAAC;IACjC,eAAe,EAAE,QAAQ,CAAC,OAAO,CAAC,CAAC;IACnC,WAAW,EAAE,WAAW,CAAC;IACzB,SAAS,EAAE,QAAQ,CAAC,gBAAgB,CAAC,CAAC;IACtC,sBAAsB,EAAE,sBAAsB,GAAG,IAAI,CAAC;IACtD,iBAAiB,EAAE,iBAAiB,CAAC;IACrC,iBAAiB,EAAE,YAAY,GAAG,IAAI,CAAC;IACvC,iBAAiB,EAAE,uBAAuB,GAAG,IAAI,CAAC;CACrD,CAAC;AAEF;;;;;;;;;;;;GAYG;AACH,MAAM,MAAM,WAAW,GAAG;IACtB,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,SAAS,CAAC;IACrB,WAAW,EAAE,MAAM,CAAC;IACpB,kBAAkB,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACnC,iBAAiB,CAAC,EAAE,iBAAiB,CAAC;IACtC,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,KAAK,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC;AAEF;;;;;GAKG;AACH,MAAM,MAAM,aAAa,GAAG;IACxB,yBAAyB,CAAC,EAAE,MAAM,CAAC;IACnC,oBAAoB,CAAC,EAAE,OAAO,CAAC;CAClC,CAAC;AAEF;;;;;;;GAOG;AACH,MAAM,MAAM,aAAa,GAAG;IACxB,cAAc,CAAC,EAAE,eAAe,CAAC;IACjC,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,QAAQ,CAAC,EAAE,QAAQ,CAAC;IACpB,aAAa,CAAC,EAAE,MAAM,CAAC;CAC1B,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG;IACtB,GAAG,EAAE,MAAM,CAAC;IACZ,OAAO,EAAE,MAAM,CAAC;IAChB,GAAG,EAAE,MAAM,CAAC;IACZ,EAAE,EAAE,MAAM,CAAC;CACd,CAAC;AAEF;;;;;GAKG;AACH,MAAM,MAAM,iBAAiB,GAAG;IAC5B,kBAAkB,EAAE,kBAAkB,CAAC;IACvC,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG;IAC3B,WAAW,EAAE,oBAAoB,CAAC;CACrC,CAAC;AAEF;;;;GAIG;AACH,MAAM,MAAM,oBAAoB,GAAG;IAC/B,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,eAAO,MAAM,sBAAsB,EAAE,QAAQ,CAAC,aAAa,CAG1D,CAAC;AA4CF;;;;;;GAMG;AACH,wBAAgB,wBAAwB,CAAC,EACrC,WAAW,EAAE,eAAe,EAC5B,aAAa,EAAE,iBAAiB,EAChC,aAAa,EAAE,gBAAgB,EAC/B,gBAAgB,EAAE,qBAAqB,EACvC,gBAAgB,EAAE,qBAAqB,EACvC,eAAe,EAAE,oBAAoB,EACrC,iBAAiB,EAAE,iBAAiB,EACpC,WAAW,EAAE,WAAW,EACxB,SAAS,EAAE,SAAS,EACpB,sBAAsB,EAAE,sBAAsB,EAC9C,iBAAiB,EAAE,iBAAiB,EACpC,iBAAiB,EAAE,iBAAiB,GACvC,EAAE,mBAAmB,GAAG,yBAAyB,CA4BjD;AAgBD;;;GAGG;AACH,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,mBAAmB,GAAG,OAAO,CAIvE"}
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
export declare const CLIENT_ID = "client_id";
|
|
2
|
-
export declare const REDIRECT_URI = "redirect_uri";
|
|
3
|
-
export declare const RESPONSE_TYPE = "response_type";
|
|
4
|
-
export declare const RESPONSE_MODE = "response_mode";
|
|
5
|
-
export declare const GRANT_TYPE = "grant_type";
|
|
6
|
-
export declare const CLAIMS = "claims";
|
|
7
|
-
export declare const SCOPE = "scope";
|
|
8
|
-
export declare const ERROR = "error";
|
|
9
|
-
export declare const ERROR_DESCRIPTION = "error_description";
|
|
10
|
-
export declare const ACCESS_TOKEN = "access_token";
|
|
11
|
-
export declare const ID_TOKEN = "id_token";
|
|
12
|
-
export declare const REFRESH_TOKEN = "refresh_token";
|
|
13
|
-
export declare const EXPIRES_IN = "expires_in";
|
|
14
|
-
export declare const REFRESH_TOKEN_EXPIRES_IN = "refresh_token_expires_in";
|
|
15
|
-
export declare const STATE = "state";
|
|
16
|
-
export declare const NONCE = "nonce";
|
|
17
|
-
export declare const PROMPT = "prompt";
|
|
18
|
-
export declare const SESSION_STATE = "session_state";
|
|
19
|
-
export declare const CLIENT_INFO = "client_info";
|
|
20
|
-
export declare const CODE = "code";
|
|
21
|
-
export declare const CODE_CHALLENGE = "code_challenge";
|
|
22
|
-
export declare const CODE_CHALLENGE_METHOD = "code_challenge_method";
|
|
23
|
-
export declare const CODE_VERIFIER = "code_verifier";
|
|
24
|
-
export declare const CLIENT_REQUEST_ID = "client-request-id";
|
|
25
|
-
export declare const X_CLIENT_SKU = "x-client-SKU";
|
|
26
|
-
export declare const X_CLIENT_VER = "x-client-VER";
|
|
27
|
-
export declare const X_CLIENT_OS = "x-client-OS";
|
|
28
|
-
export declare const X_CLIENT_CPU = "x-client-CPU";
|
|
29
|
-
export declare const X_CLIENT_CURR_TELEM = "x-client-current-telemetry";
|
|
30
|
-
export declare const X_CLIENT_LAST_TELEM = "x-client-last-telemetry";
|
|
31
|
-
export declare const X_MS_LIB_CAPABILITY = "x-ms-lib-capability";
|
|
32
|
-
export declare const X_APP_NAME = "x-app-name";
|
|
33
|
-
export declare const X_APP_VER = "x-app-ver";
|
|
34
|
-
export declare const POST_LOGOUT_URI = "post_logout_redirect_uri";
|
|
35
|
-
export declare const ID_TOKEN_HINT = "id_token_hint";
|
|
36
|
-
export declare const DEVICE_CODE = "device_code";
|
|
37
|
-
export declare const CLIENT_SECRET = "client_secret";
|
|
38
|
-
export declare const CLIENT_ASSERTION = "client_assertion";
|
|
39
|
-
export declare const CLIENT_ASSERTION_TYPE = "client_assertion_type";
|
|
40
|
-
export declare const TOKEN_TYPE = "token_type";
|
|
41
|
-
export declare const REQ_CNF = "req_cnf";
|
|
42
|
-
export declare const OBO_ASSERTION = "assertion";
|
|
43
|
-
export declare const REQUESTED_TOKEN_USE = "requested_token_use";
|
|
44
|
-
export declare const ON_BEHALF_OF = "on_behalf_of";
|
|
45
|
-
export declare const FOCI = "foci";
|
|
46
|
-
export declare const CCS_HEADER = "X-AnchorMailbox";
|
|
47
|
-
export declare const RETURN_SPA_CODE = "return_spa_code";
|
|
48
|
-
export declare const NATIVE_BROKER = "nativebroker";
|
|
49
|
-
export declare const LOGOUT_HINT = "logout_hint";
|
|
50
|
-
export declare const SID = "sid";
|
|
51
|
-
export declare const LOGIN_HINT = "login_hint";
|
|
52
|
-
export declare const DOMAIN_HINT = "domain_hint";
|
|
53
|
-
export declare const X_CLIENT_EXTRA_SKU = "x-client-xtra-sku";
|
|
54
|
-
export declare const BROKER_CLIENT_ID = "brk_client_id";
|
|
55
|
-
export declare const BROKER_REDIRECT_URI = "brk_redirect_uri";
|
|
56
|
-
export declare const INSTANCE_AWARE = "instance_aware";
|
|
57
|
-
export declare const EAR_JWK = "ear_jwk";
|
|
58
|
-
export declare const EAR_JWE_CRYPTO = "ear_jwe_crypto";
|
|
59
|
-
export declare const RESOURCE = "resource";
|
|
60
|
-
export declare const CLI_DATA = "clidata";
|
|
61
|
-
//# sourceMappingURL=AADServerParamKeys.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AADServerParamKeys.d.ts","sourceRoot":"","sources":["../../src/constants/AADServerParamKeys.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,SAAS,cAAc,CAAC;AACrC,eAAO,MAAM,YAAY,iBAAiB,CAAC;AAC3C,eAAO,MAAM,aAAa,kBAAkB,CAAC;AAC7C,eAAO,MAAM,aAAa,kBAAkB,CAAC;AAC7C,eAAO,MAAM,UAAU,eAAe,CAAC;AACvC,eAAO,MAAM,MAAM,WAAW,CAAC;AAC/B,eAAO,MAAM,KAAK,UAAU,CAAC;AAC7B,eAAO,MAAM,KAAK,UAAU,CAAC;AAC7B,eAAO,MAAM,iBAAiB,sBAAsB,CAAC;AACrD,eAAO,MAAM,YAAY,iBAAiB,CAAC;AAC3C,eAAO,MAAM,QAAQ,aAAa,CAAC;AACnC,eAAO,MAAM,aAAa,kBAAkB,CAAC;AAC7C,eAAO,MAAM,UAAU,eAAe,CAAC;AACvC,eAAO,MAAM,wBAAwB,6BAA6B,CAAC;AACnE,eAAO,MAAM,KAAK,UAAU,CAAC;AAC7B,eAAO,MAAM,KAAK,UAAU,CAAC;AAC7B,eAAO,MAAM,MAAM,WAAW,CAAC;AAC/B,eAAO,MAAM,aAAa,kBAAkB,CAAC;AAC7C,eAAO,MAAM,WAAW,gBAAgB,CAAC;AACzC,eAAO,MAAM,IAAI,SAAS,CAAC;AAC3B,eAAO,MAAM,cAAc,mBAAmB,CAAC;AAC/C,eAAO,MAAM,qBAAqB,0BAA0B,CAAC;AAC7D,eAAO,MAAM,aAAa,kBAAkB,CAAC;AAC7C,eAAO,MAAM,iBAAiB,sBAAsB,CAAC;AACrD,eAAO,MAAM,YAAY,iBAAiB,CAAC;AAC3C,eAAO,MAAM,YAAY,iBAAiB,CAAC;AAC3C,eAAO,MAAM,WAAW,gBAAgB,CAAC;AACzC,eAAO,MAAM,YAAY,iBAAiB,CAAC;AAC3C,eAAO,MAAM,mBAAmB,+BAA+B,CAAC;AAChE,eAAO,MAAM,mBAAmB,4BAA4B,CAAC;AAC7D,eAAO,MAAM,mBAAmB,wBAAwB,CAAC;AACzD,eAAO,MAAM,UAAU,eAAe,CAAC;AACvC,eAAO,MAAM,SAAS,cAAc,CAAC;AACrC,eAAO,MAAM,eAAe,6BAA6B,CAAC;AAC1D,eAAO,MAAM,aAAa,kBAAkB,CAAC;AAC7C,eAAO,MAAM,WAAW,gBAAgB,CAAC;AACzC,eAAO,MAAM,aAAa,kBAAkB,CAAC;AAC7C,eAAO,MAAM,gBAAgB,qBAAqB,CAAC;AACnD,eAAO,MAAM,qBAAqB,0BAA0B,CAAC;AAC7D,eAAO,MAAM,UAAU,eAAe,CAAC;AACvC,eAAO,MAAM,OAAO,YAAY,CAAC;AACjC,eAAO,MAAM,aAAa,cAAc,CAAC;AACzC,eAAO,MAAM,mBAAmB,wBAAwB,CAAC;AACzD,eAAO,MAAM,YAAY,iBAAiB,CAAC;AAC3C,eAAO,MAAM,IAAI,SAAS,CAAC;AAC3B,eAAO,MAAM,UAAU,oBAAoB,CAAC;AAC5C,eAAO,MAAM,eAAe,oBAAoB,CAAC;AACjD,eAAO,MAAM,aAAa,iBAAiB,CAAC;AAC5C,eAAO,MAAM,WAAW,gBAAgB,CAAC;AACzC,eAAO,MAAM,GAAG,QAAQ,CAAC;AACzB,eAAO,MAAM,UAAU,eAAe,CAAC;AACvC,eAAO,MAAM,WAAW,gBAAgB,CAAC;AACzC,eAAO,MAAM,kBAAkB,sBAAsB,CAAC;AACtD,eAAO,MAAM,gBAAgB,kBAAkB,CAAC;AAChD,eAAO,MAAM,mBAAmB,qBAAqB,CAAC;AACtD,eAAO,MAAM,cAAc,mBAAmB,CAAC;AAC/C,eAAO,MAAM,OAAO,YAAY,CAAC;AACjC,eAAO,MAAM,cAAc,mBAAmB,CAAC;AAC/C,eAAO,MAAM,QAAQ,aAAa,CAAC;AACnC,eAAO,MAAM,QAAQ,YAAY,CAAC"}
|
package/dist/crypto/ICrypto.d.ts
DELETED
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
import type { BaseAuthRequest } from "../request/BaseAuthRequest.js";
|
|
2
|
-
import type { ShrOptions, SignedHttpRequest } from "./SignedHttpRequest.js";
|
|
3
|
-
/**
|
|
4
|
-
* The PkceCodes type describes the structure
|
|
5
|
-
* of objects that contain PKCE code
|
|
6
|
-
* challenge and verifier pairs
|
|
7
|
-
*/
|
|
8
|
-
export type PkceCodes = {
|
|
9
|
-
verifier: string;
|
|
10
|
-
challenge: string;
|
|
11
|
-
};
|
|
12
|
-
export type SignedHttpRequestParameters = Pick<BaseAuthRequest, "resourceRequestMethod" | "resourceRequestUri" | "shrClaims" | "shrNonce" | "shrOptions"> & {
|
|
13
|
-
correlationId: string;
|
|
14
|
-
};
|
|
15
|
-
/**
|
|
16
|
-
* Interface for crypto functions used by library
|
|
17
|
-
*/
|
|
18
|
-
export interface ICrypto {
|
|
19
|
-
/**
|
|
20
|
-
* Creates a guid randomly.
|
|
21
|
-
*/
|
|
22
|
-
createNewGuid(): string;
|
|
23
|
-
/**
|
|
24
|
-
* base64 Encode string
|
|
25
|
-
* @param input
|
|
26
|
-
*/
|
|
27
|
-
base64Encode(input: string): string;
|
|
28
|
-
/**
|
|
29
|
-
* base64 decode string
|
|
30
|
-
* @param input
|
|
31
|
-
*/
|
|
32
|
-
base64Decode(input: string): string;
|
|
33
|
-
/**
|
|
34
|
-
* base64 URL safe encoded string
|
|
35
|
-
*/
|
|
36
|
-
base64UrlEncode(input: string): string;
|
|
37
|
-
/**
|
|
38
|
-
* Stringifies and base64Url encodes input public key
|
|
39
|
-
* @param inputKid
|
|
40
|
-
* @returns Base64Url encoded public key
|
|
41
|
-
*/
|
|
42
|
-
encodeKid(inputKid: string): string;
|
|
43
|
-
/**
|
|
44
|
-
* Generates an JWK RSA S256 Thumbprint
|
|
45
|
-
* @param request
|
|
46
|
-
*/
|
|
47
|
-
getPublicKeyThumbprint(request: SignedHttpRequestParameters): Promise<string>;
|
|
48
|
-
/**
|
|
49
|
-
* Removes cryptographic keypair from key store matching the keyId passed in
|
|
50
|
-
* @param kid
|
|
51
|
-
* @param correlationId
|
|
52
|
-
*/
|
|
53
|
-
removeTokenBindingKey(kid: string, correlationId: string): Promise<void>;
|
|
54
|
-
/**
|
|
55
|
-
* Removes all cryptographic keys from IndexedDB storage
|
|
56
|
-
* @param correlationId
|
|
57
|
-
*/
|
|
58
|
-
clearKeystore(correlationId: string): Promise<boolean>;
|
|
59
|
-
/**
|
|
60
|
-
* Returns a signed proof-of-possession token with a given acces token that contains a cnf claim with the required kid.
|
|
61
|
-
* @param accessToken
|
|
62
|
-
*/
|
|
63
|
-
signJwt(payload: SignedHttpRequest, kid: string, shrOptions?: ShrOptions, correlationId?: string): Promise<string>;
|
|
64
|
-
/**
|
|
65
|
-
* Returns the SHA-256 hash of an input string
|
|
66
|
-
* @param plainText
|
|
67
|
-
*/
|
|
68
|
-
hashString(plainText: string): Promise<string>;
|
|
69
|
-
}
|
|
70
|
-
export declare const DEFAULT_CRYPTO_IMPLEMENTATION: ICrypto;
|
|
71
|
-
//# sourceMappingURL=ICrypto.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ICrypto.d.ts","sourceRoot":"","sources":["../../src/crypto/ICrypto.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AACrE,OAAO,KAAK,EAAE,UAAU,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAE5E;;;;GAIG;AACH,MAAM,MAAM,SAAS,GAAG;IACpB,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,2BAA2B,GAAG,IAAI,CAC1C,eAAe,EACb,uBAAuB,GACvB,oBAAoB,GACpB,WAAW,GACX,UAAU,GACV,YAAY,CACjB,GAAG;IACA,aAAa,EAAE,MAAM,CAAC;CACzB,CAAC;AAEF;;GAEG;AACH,MAAM,WAAW,OAAO;IACpB;;OAEG;IACH,aAAa,IAAI,MAAM,CAAC;IACxB;;;OAGG;IACH,YAAY,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;IACpC;;;OAGG;IACH,YAAY,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;IACpC;;OAEG;IACH,eAAe,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;IACvC;;;;OAIG;IACH,SAAS,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,CAAC;IACpC;;;OAGG;IACH,sBAAsB,CAClB,OAAO,EAAE,2BAA2B,GACrC,OAAO,CAAC,MAAM,CAAC,CAAC;IACnB;;;;OAIG;IACH,qBAAqB,CAAC,GAAG,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IACzE;;;OAGG;IACH,aAAa,CAAC,aAAa,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;IACvD;;;OAGG;IACH,OAAO,CACH,OAAO,EAAE,iBAAiB,EAC1B,GAAG,EAAE,MAAM,EACX,UAAU,CAAC,EAAE,UAAU,EACvB,aAAa,CAAC,EAAE,MAAM,GACvB,OAAO,CAAC,MAAM,CAAC,CAAC;IACnB;;;OAGG;IACH,UAAU,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;CAClD;AAED,eAAO,MAAM,6BAA6B,EAAE,OA+B3C,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IGuidGenerator.d.ts","sourceRoot":"","sources":["../../src/crypto/IGuidGenerator.ts"],"names":[],"mappings":"AAKA,MAAM,WAAW,cAAc;IAC3B,YAAY,IAAI,MAAM,CAAC;IACvB,MAAM,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC;CACjC"}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { JsonWebTokenTypes } from "../utils/Constants.js";
|
|
2
|
-
export type JoseHeaderOptions = {
|
|
3
|
-
typ?: JsonWebTokenTypes;
|
|
4
|
-
alg?: string;
|
|
5
|
-
kid?: string;
|
|
6
|
-
};
|
|
7
|
-
/** @internal */
|
|
8
|
-
export declare class JoseHeader {
|
|
9
|
-
typ?: JsonWebTokenTypes;
|
|
10
|
-
alg?: string;
|
|
11
|
-
kid?: string;
|
|
12
|
-
constructor(options: JoseHeaderOptions);
|
|
13
|
-
/**
|
|
14
|
-
* Builds SignedHttpRequest formatted JOSE Header from the
|
|
15
|
-
* JOSE Header options provided or previously set on the object and returns
|
|
16
|
-
* the stringified header object.
|
|
17
|
-
* Throws if keyId or algorithm aren't provided since they are required for Access Token Binding.
|
|
18
|
-
* @param shrHeaderOptions
|
|
19
|
-
* @returns
|
|
20
|
-
*/
|
|
21
|
-
static getShrHeaderString(shrHeaderOptions: JoseHeaderOptions): string;
|
|
22
|
-
}
|
|
23
|
-
//# sourceMappingURL=JoseHeader.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"JoseHeader.d.ts","sourceRoot":"","sources":["../../src/crypto/JoseHeader.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAE1D,MAAM,MAAM,iBAAiB,GAAG;IAC5B,GAAG,CAAC,EAAE,iBAAiB,CAAC;IACxB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,gBAAgB;AAChB,qBAAa,UAAU;IACZ,GAAG,CAAC,EAAE,iBAAiB,CAAC;IACxB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;gBAER,OAAO,EAAE,iBAAiB;IAMtC;;;;;;;OAOG;IACH,MAAM,CAAC,kBAAkB,CAAC,gBAAgB,EAAE,iBAAiB,GAAG,MAAM;CAoBzE"}
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
import { ICrypto, SignedHttpRequestParameters } from "./ICrypto.js";
|
|
2
|
-
import { IPerformanceClient } from "../telemetry/performance/IPerformanceClient.js";
|
|
3
|
-
import { Logger } from "../logger/Logger.js";
|
|
4
|
-
/**
|
|
5
|
-
* See eSTS docs for more info.
|
|
6
|
-
* - A kid element, with the value containing an RFC 7638-compliant JWK thumbprint that is base64 encoded.
|
|
7
|
-
* - xms_ksl element, representing the storage location of the key's secret component on the client device. One of two values:
|
|
8
|
-
* - sw: software storage
|
|
9
|
-
* - uhw: hardware storage
|
|
10
|
-
*/
|
|
11
|
-
type ReqCnf = {
|
|
12
|
-
kid: string;
|
|
13
|
-
xms_ksl: KeyLocation;
|
|
14
|
-
};
|
|
15
|
-
export type ReqCnfData = {
|
|
16
|
-
kid: string;
|
|
17
|
-
reqCnfString: string;
|
|
18
|
-
};
|
|
19
|
-
declare const KeyLocation: {
|
|
20
|
-
readonly SW: "sw";
|
|
21
|
-
readonly UHW: "uhw";
|
|
22
|
-
};
|
|
23
|
-
export type KeyLocation = (typeof KeyLocation)[keyof typeof KeyLocation];
|
|
24
|
-
/** @internal */
|
|
25
|
-
export declare class PopTokenGenerator {
|
|
26
|
-
private cryptoUtils;
|
|
27
|
-
private performanceClient;
|
|
28
|
-
constructor(cryptoUtils: ICrypto, performanceClient: IPerformanceClient);
|
|
29
|
-
/**
|
|
30
|
-
* Generates the req_cnf validated at the RP in the POP protocol for SHR parameters
|
|
31
|
-
* and returns an object containing the keyid, the full req_cnf string and the req_cnf string hash
|
|
32
|
-
* @param request
|
|
33
|
-
* @returns
|
|
34
|
-
*/
|
|
35
|
-
generateCnf(request: SignedHttpRequestParameters, logger: Logger): Promise<ReqCnfData>;
|
|
36
|
-
/**
|
|
37
|
-
* Generates key_id for a SHR token request
|
|
38
|
-
* @param request
|
|
39
|
-
* @returns
|
|
40
|
-
*/
|
|
41
|
-
generateKid(request: SignedHttpRequestParameters): Promise<ReqCnf>;
|
|
42
|
-
/**
|
|
43
|
-
* Signs the POP access_token with the local generated key-pair
|
|
44
|
-
* @param accessToken
|
|
45
|
-
* @param request
|
|
46
|
-
* @returns
|
|
47
|
-
*/
|
|
48
|
-
signPopToken(accessToken: string, keyId: string, request: SignedHttpRequestParameters): Promise<string>;
|
|
49
|
-
/**
|
|
50
|
-
* Utility function to generate the signed JWT for an access_token
|
|
51
|
-
* @param payload
|
|
52
|
-
* @param kid
|
|
53
|
-
* @param request
|
|
54
|
-
* @param claims
|
|
55
|
-
* @returns
|
|
56
|
-
*/
|
|
57
|
-
signPayload(payload: string, keyId: string, request: SignedHttpRequestParameters, claims?: object): Promise<string>;
|
|
58
|
-
}
|
|
59
|
-
export {};
|
|
60
|
-
//# sourceMappingURL=PopTokenGenerator.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PopTokenGenerator.d.ts","sourceRoot":"","sources":["../../src/crypto/PopTokenGenerator.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,EAAE,2BAA2B,EAAE,MAAM,cAAc,CAAC;AAGpE,OAAO,EAAE,kBAAkB,EAAE,MAAM,gDAAgD,CAAC;AAGpF,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAE7C;;;;;;GAMG;AACH,KAAK,MAAM,GAAG;IACV,GAAG,EAAE,MAAM,CAAC;IACZ,OAAO,EAAE,WAAW,CAAC;CACxB,CAAC;AAEF,MAAM,MAAM,UAAU,GAAG;IACrB,GAAG,EAAE,MAAM,CAAC;IACZ,YAAY,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF,QAAA,MAAM,WAAW;;;CAGP,CAAC;AACX,MAAM,MAAM,WAAW,GAAG,CAAC,OAAO,WAAW,CAAC,CAAC,MAAM,OAAO,WAAW,CAAC,CAAC;AAEzE,gBAAgB;AAChB,qBAAa,iBAAiB;IAC1B,OAAO,CAAC,WAAW,CAAU;IAC7B,OAAO,CAAC,iBAAiB,CAAqB;gBAElC,WAAW,EAAE,OAAO,EAAE,iBAAiB,EAAE,kBAAkB;IAKvE;;;;;OAKG;IACG,WAAW,CACb,OAAO,EAAE,2BAA2B,EACpC,MAAM,EAAE,MAAM,GACf,OAAO,CAAC,UAAU,CAAC;IAkBtB;;;;OAIG;IACG,WAAW,CAAC,OAAO,EAAE,2BAA2B,GAAG,OAAO,CAAC,MAAM,CAAC;IAWxE;;;;;OAKG;IACG,YAAY,CACd,WAAW,EAAE,MAAM,EACnB,KAAK,EAAE,MAAM,EACb,OAAO,EAAE,2BAA2B,GACrC,OAAO,CAAC,MAAM,CAAC;IAIlB;;;;;;;OAOG;IACG,WAAW,CACb,OAAO,EAAE,MAAM,EACf,KAAK,EAAE,MAAM,EACb,OAAO,EAAE,2BAA2B,EACpC,MAAM,CAAC,EAAE,MAAM,GAChB,OAAO,CAAC,MAAM,CAAC;CAiCrB"}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { JoseHeaderOptions } from "./JoseHeader.js";
|
|
2
|
-
export type SignedHttpRequest = {
|
|
3
|
-
at?: string;
|
|
4
|
-
cnf?: object;
|
|
5
|
-
m?: string;
|
|
6
|
-
u?: string;
|
|
7
|
-
p?: string;
|
|
8
|
-
q?: [Array<string>, string];
|
|
9
|
-
ts?: number;
|
|
10
|
-
nonce?: string;
|
|
11
|
-
client_claims?: string;
|
|
12
|
-
};
|
|
13
|
-
export type ShrOptions = {
|
|
14
|
-
header: JoseHeaderOptions;
|
|
15
|
-
};
|
|
16
|
-
//# sourceMappingURL=SignedHttpRequest.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SignedHttpRequest.d.ts","sourceRoot":"","sources":["../../src/crypto/SignedHttpRequest.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAEpD,MAAM,MAAM,iBAAiB,GAAG;IAC5B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,CAAC,CAAC,EAAE,MAAM,CAAC;IACX,CAAC,CAAC,EAAE,MAAM,CAAC;IACX,CAAC,CAAC,EAAE,MAAM,CAAC;IACX,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,CAAC;IAC5B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,aAAa,CAAC,EAAE,MAAM,CAAC;CAC1B,CAAC;AAEF,MAAM,MAAM,UAAU,GAAG;IACrB,MAAM,EAAE,iBAAiB,CAAC;CAC7B,CAAC"}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import * as AuthErrorCodes from "./AuthErrorCodes.js";
|
|
2
|
-
import type { PlatformBrokerError } from "./PlatformBrokerError.js";
|
|
3
|
-
export { AuthErrorCodes };
|
|
4
|
-
export declare function getDefaultErrorMessage(code: string): string;
|
|
5
|
-
/**
|
|
6
|
-
* General error class thrown by the MSAL.js library.
|
|
7
|
-
*/
|
|
8
|
-
export declare class AuthError extends Error {
|
|
9
|
-
/**
|
|
10
|
-
* Short string denoting error
|
|
11
|
-
*/
|
|
12
|
-
errorCode: string;
|
|
13
|
-
/**
|
|
14
|
-
* Detailed description of error
|
|
15
|
-
*/
|
|
16
|
-
errorMessage: string;
|
|
17
|
-
/**
|
|
18
|
-
* Describes the subclass of an error
|
|
19
|
-
*/
|
|
20
|
-
subError: string;
|
|
21
|
-
/**
|
|
22
|
-
* CorrelationId associated with the error
|
|
23
|
-
*/
|
|
24
|
-
correlationId: string;
|
|
25
|
-
/**
|
|
26
|
-
* Default PlatformBrokerError from MsalNodeRuntime when broker is enabled
|
|
27
|
-
*/
|
|
28
|
-
platformBrokerError?: PlatformBrokerError;
|
|
29
|
-
constructor(errorCode?: string, errorMessage?: string, suberror?: string);
|
|
30
|
-
setCorrelationId(correlationId: string): void;
|
|
31
|
-
}
|
|
32
|
-
export declare function createAuthError(code: string, additionalMessage?: string): AuthError;
|
|
33
|
-
//# sourceMappingURL=AuthError.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AuthError.d.ts","sourceRoot":"","sources":["../../src/error/AuthError.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,cAAc,MAAM,qBAAqB,CAAC;AACtD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AACpE,OAAO,EAAE,cAAc,EAAE,CAAC;AAE1B,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAE3D;AAED;;GAEG;AACH,qBAAa,SAAU,SAAQ,KAAK;IAChC;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,mBAAmB,CAAC,EAAE,mBAAmB,CAAC;gBAE9B,SAAS,CAAC,EAAE,MAAM,EAAE,YAAY,CAAC,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,MAAM;IAcxE,gBAAgB,CAAC,aAAa,EAAE,MAAM,GAAG,IAAI;CAGhD;AAED,wBAAgB,eAAe,CAC3B,IAAI,EAAE,MAAM,EACZ,iBAAiB,CAAC,EAAE,MAAM,GAC3B,SAAS,CAKX"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* AuthErrorMessage class containing string constants used by error codes and messages.
|
|
3
|
-
*/
|
|
4
|
-
export declare const unexpectedError = "unexpected_error";
|
|
5
|
-
export declare const postRequestFailed = "post_request_failed";
|
|
6
|
-
//# sourceMappingURL=AuthErrorCodes.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AuthErrorCodes.d.ts","sourceRoot":"","sources":["../../src/error/AuthErrorCodes.ts"],"names":[],"mappings":"AAKA;;GAEG;AACH,eAAO,MAAM,eAAe,qBAAqB,CAAC;AAClD,eAAO,MAAM,iBAAiB,wBAAwB,CAAC"}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import * as CacheErrorCodes from "./CacheErrorCodes.js";
|
|
2
|
-
export { CacheErrorCodes };
|
|
3
|
-
/**
|
|
4
|
-
* Error thrown when there is an error with the cache
|
|
5
|
-
*/
|
|
6
|
-
export declare class CacheError extends Error {
|
|
7
|
-
/**
|
|
8
|
-
* Short string denoting error
|
|
9
|
-
*/
|
|
10
|
-
errorCode: string;
|
|
11
|
-
/**
|
|
12
|
-
* Detailed description of error
|
|
13
|
-
*/
|
|
14
|
-
errorMessage: string;
|
|
15
|
-
constructor(errorCode: string, errorMessage?: string);
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
* Helper function to wrap browser errors in a CacheError object
|
|
19
|
-
* @param e
|
|
20
|
-
* @returns
|
|
21
|
-
*/
|
|
22
|
-
export declare function createCacheError(e: unknown): CacheError;
|
|
23
|
-
//# sourceMappingURL=CacheError.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CacheError.d.ts","sourceRoot":"","sources":["../../src/error/CacheError.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,eAAe,MAAM,sBAAsB,CAAC;AAExD,OAAO,EAAE,eAAe,EAAE,CAAC;AAE3B;;GAEG;AACH,qBAAa,UAAW,SAAQ,KAAK;IACjC;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;gBAET,SAAS,EAAE,MAAM,EAAE,YAAY,CAAC,EAAE,MAAM;CASvD;AAED;;;;GAIG;AACH,wBAAgB,gBAAgB,CAAC,CAAC,EAAE,OAAO,GAAG,UAAU,CAcvD"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CacheErrorCodes.d.ts","sourceRoot":"","sources":["../../src/error/CacheErrorCodes.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,kBAAkB,yBAAyB,CAAC;AACzD,eAAO,MAAM,iBAAiB,wBAAwB,CAAC"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { AuthError } from "./AuthError.js";
|
|
2
|
-
import * as ClientAuthErrorCodes from "./ClientAuthErrorCodes.js";
|
|
3
|
-
export { ClientAuthErrorCodes };
|
|
4
|
-
/**
|
|
5
|
-
* ClientAuthErrorMessage class containing string constants used by error codes and messages.
|
|
6
|
-
*/
|
|
7
|
-
/**
|
|
8
|
-
* Error thrown when there is an error in the client code running on the browser.
|
|
9
|
-
*/
|
|
10
|
-
export declare class ClientAuthError extends AuthError {
|
|
11
|
-
constructor(errorCode: string, additionalMessage?: string);
|
|
12
|
-
}
|
|
13
|
-
export declare function createClientAuthError(errorCode: string, additionalMessage?: string): ClientAuthError;
|
|
14
|
-
//# sourceMappingURL=ClientAuthError.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ClientAuthError.d.ts","sourceRoot":"","sources":["../../src/error/ClientAuthError.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,KAAK,oBAAoB,MAAM,2BAA2B,CAAC;AAClE,OAAO,EAAE,oBAAoB,EAAE,CAAC;AAEhC;;GAEG;AAEH;;GAEG;AACH,qBAAa,eAAgB,SAAQ,SAAS;gBAC9B,SAAS,EAAE,MAAM,EAAE,iBAAiB,CAAC,EAAE,MAAM;CAM5D;AAED,wBAAgB,qBAAqB,CACjC,SAAS,EAAE,MAAM,EACjB,iBAAiB,CAAC,EAAE,MAAM,GAC3B,eAAe,CAEjB"}
|