@azure/msal-node 2.13.0 → 2.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cache/ITokenCache.d.ts +1 -1
- package/dist/cache/ITokenCache.d.ts.map +1 -1
- package/dist/cache/NodeStorage.d.ts +1 -1
- package/dist/cache/NodeStorage.d.ts.map +1 -1
- package/dist/cache/NodeStorage.mjs +2 -2
- package/dist/cache/TokenCache.d.ts +1 -1
- package/dist/cache/TokenCache.d.ts.map +1 -1
- package/dist/cache/TokenCache.mjs +2 -2
- package/dist/cache/distributed/DistributedCachePlugin.d.ts +1 -1
- package/dist/cache/distributed/DistributedCachePlugin.d.ts.map +1 -1
- package/dist/cache/distributed/DistributedCachePlugin.mjs +2 -2
- package/dist/cache/distributed/IPartitionManager.d.ts +1 -1
- package/dist/cache/distributed/IPartitionManager.d.ts.map +1 -1
- package/dist/cache/serializer/Deserializer.d.ts +1 -1
- package/dist/cache/serializer/Deserializer.d.ts.map +1 -1
- package/dist/cache/serializer/Deserializer.mjs +2 -2
- package/dist/cache/serializer/Serializer.d.ts +1 -1
- package/dist/cache/serializer/Serializer.d.ts.map +1 -1
- package/dist/cache/serializer/Serializer.mjs +1 -1
- package/dist/cache/serializer/SerializerTypes.d.ts +1 -1
- package/dist/cache/serializer/SerializerTypes.d.ts.map +1 -1
- package/dist/client/ClientApplication.d.ts +1 -1
- package/dist/client/ClientApplication.d.ts.map +1 -1
- package/dist/client/ClientApplication.mjs +2 -2
- package/dist/client/ClientAssertion.mjs +2 -2
- package/dist/client/ClientCredentialClient.d.ts +2 -2
- package/dist/client/ClientCredentialClient.d.ts.map +1 -1
- package/dist/client/ClientCredentialClient.mjs +2 -2
- package/dist/client/ConfidentialClientApplication.d.ts +1 -1
- package/dist/client/ConfidentialClientApplication.d.ts.map +1 -1
- package/dist/client/ConfidentialClientApplication.mjs +3 -2
- package/dist/client/ConfidentialClientApplication.mjs.map +1 -1
- package/dist/client/DeviceCodeClient.d.ts +1 -1
- package/dist/client/DeviceCodeClient.d.ts.map +1 -1
- package/dist/client/DeviceCodeClient.mjs +2 -2
- package/dist/client/IConfidentialClientApplication.d.ts +1 -1
- package/dist/client/IConfidentialClientApplication.d.ts.map +1 -1
- package/dist/client/IPublicClientApplication.d.ts +1 -1
- package/dist/client/IPublicClientApplication.d.ts.map +1 -1
- package/dist/client/ManagedIdentityApplication.d.ts +4 -4
- package/dist/client/ManagedIdentityApplication.d.ts.map +1 -1
- package/dist/client/ManagedIdentityApplication.mjs +2 -2
- package/dist/client/ManagedIdentityClient.d.ts +6 -6
- package/dist/client/ManagedIdentityClient.d.ts.map +1 -1
- package/dist/client/ManagedIdentityClient.mjs +1 -1
- package/dist/client/ManagedIdentitySources/AppService.d.ts +6 -6
- package/dist/client/ManagedIdentitySources/AppService.d.ts.map +1 -1
- package/dist/client/ManagedIdentitySources/AppService.mjs +2 -2
- package/dist/client/ManagedIdentitySources/AzureArc.d.ts +7 -7
- package/dist/client/ManagedIdentitySources/AzureArc.d.ts.map +1 -1
- package/dist/client/ManagedIdentitySources/AzureArc.mjs +2 -2
- package/dist/client/ManagedIdentitySources/BaseManagedIdentitySource.d.ts +8 -8
- package/dist/client/ManagedIdentitySources/BaseManagedIdentitySource.d.ts.map +1 -1
- package/dist/client/ManagedIdentitySources/BaseManagedIdentitySource.mjs +2 -2
- package/dist/client/ManagedIdentitySources/CloudShell.d.ts +6 -6
- package/dist/client/ManagedIdentitySources/CloudShell.d.ts.map +1 -1
- package/dist/client/ManagedIdentitySources/CloudShell.mjs +2 -2
- package/dist/client/ManagedIdentitySources/Imds.d.ts +6 -6
- package/dist/client/ManagedIdentitySources/Imds.d.ts.map +1 -1
- package/dist/client/ManagedIdentitySources/Imds.mjs +2 -2
- package/dist/client/ManagedIdentitySources/ServiceFabric.d.ts +6 -6
- package/dist/client/ManagedIdentitySources/ServiceFabric.d.ts.map +1 -1
- package/dist/client/ManagedIdentitySources/ServiceFabric.mjs +2 -2
- package/dist/client/OnBehalfOfClient.d.ts +1 -1
- package/dist/client/OnBehalfOfClient.d.ts.map +1 -1
- package/dist/client/OnBehalfOfClient.mjs +2 -2
- package/dist/client/PublicClientApplication.d.ts +1 -1
- package/dist/client/PublicClientApplication.d.ts.map +1 -1
- package/dist/client/PublicClientApplication.mjs +2 -2
- package/dist/client/UsernamePasswordClient.d.ts +1 -1
- package/dist/client/UsernamePasswordClient.d.ts.map +1 -1
- package/dist/client/UsernamePasswordClient.mjs +2 -2
- package/dist/config/Configuration.d.ts +3 -3
- package/dist/config/Configuration.d.ts.map +1 -1
- package/dist/config/Configuration.mjs +2 -2
- package/dist/config/ManagedIdentityId.d.ts +2 -2
- package/dist/config/ManagedIdentityId.d.ts.map +1 -1
- package/dist/config/ManagedIdentityId.mjs +1 -1
- package/dist/config/ManagedIdentityRequestParameters.d.ts +1 -1
- package/dist/config/ManagedIdentityRequestParameters.d.ts.map +1 -1
- package/dist/config/ManagedIdentityRequestParameters.mjs +2 -2
- package/dist/crypto/CryptoProvider.d.ts +1 -1
- package/dist/crypto/CryptoProvider.d.ts.map +1 -1
- package/dist/crypto/CryptoProvider.mjs +1 -1
- package/dist/crypto/GuidGenerator.d.ts +1 -1
- package/dist/crypto/GuidGenerator.d.ts.map +1 -1
- package/dist/crypto/GuidGenerator.mjs +1 -1
- package/dist/crypto/HashUtils.d.ts +1 -1
- package/dist/crypto/HashUtils.mjs +1 -1
- package/dist/crypto/PkceGenerator.d.ts +1 -1
- package/dist/crypto/PkceGenerator.d.ts.map +1 -1
- package/dist/crypto/PkceGenerator.mjs +2 -2
- package/dist/error/ManagedIdentityError.d.ts +2 -2
- package/dist/error/ManagedIdentityError.d.ts.map +1 -1
- package/dist/error/ManagedIdentityError.mjs +2 -2
- package/dist/error/ManagedIdentityErrorCodes.mjs +1 -1
- package/dist/error/NodeAuthError.d.ts +1 -1
- package/dist/error/NodeAuthError.d.ts.map +1 -1
- package/dist/error/NodeAuthError.mjs +2 -2
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/internals.mjs +5 -1
- package/dist/internals.mjs.map +1 -1
- package/dist/network/HttpClient.d.ts +3 -3
- package/dist/network/HttpClient.d.ts.map +1 -1
- package/dist/network/HttpClient.mjs +2 -2
- package/dist/network/HttpClientWithRetries.d.ts +2 -2
- package/dist/network/HttpClientWithRetries.d.ts.map +1 -1
- package/dist/network/HttpClientWithRetries.mjs +2 -2
- package/dist/network/ILoopbackClient.d.ts +1 -1
- package/dist/network/ILoopbackClient.d.ts.map +1 -1
- package/dist/network/LoopbackClient.d.ts +1 -1
- package/dist/network/LoopbackClient.d.ts.map +1 -1
- package/dist/network/LoopbackClient.mjs +3 -3
- package/dist/network/LoopbackClient.mjs.map +1 -1
- package/dist/packageMetadata.d.ts +1 -1
- package/dist/packageMetadata.mjs +2 -2
- package/dist/request/AuthorizationCodeRequest.d.ts +1 -1
- package/dist/request/AuthorizationCodeRequest.d.ts.map +1 -1
- package/dist/request/AuthorizationUrlRequest.d.ts +1 -1
- package/dist/request/AuthorizationUrlRequest.d.ts.map +1 -1
- package/dist/request/ClientCredentialRequest.d.ts +1 -1
- package/dist/request/ClientCredentialRequest.d.ts.map +1 -1
- package/dist/request/DeviceCodeRequest.d.ts +1 -1
- package/dist/request/DeviceCodeRequest.d.ts.map +1 -1
- package/dist/request/InteractiveRequest.d.ts +1 -1
- package/dist/request/ManagedIdentityRequest.d.ts +2 -2
- package/dist/request/ManagedIdentityRequest.d.ts.map +1 -1
- package/dist/request/OnBehalfOfRequest.d.ts +1 -1
- package/dist/request/OnBehalfOfRequest.d.ts.map +1 -1
- package/dist/request/RefreshTokenRequest.d.ts +1 -1
- package/dist/request/RefreshTokenRequest.d.ts.map +1 -1
- package/dist/request/SignOutRequest.d.ts +1 -1
- package/dist/request/SignOutRequest.d.ts.map +1 -1
- package/dist/request/SilentFlowRequest.d.ts +1 -1
- package/dist/request/SilentFlowRequest.d.ts.map +1 -1
- package/dist/request/UsernamePasswordRequest.d.ts +1 -1
- package/dist/request/UsernamePasswordRequest.d.ts.map +1 -1
- package/dist/response/ManagedIdentityTokenResponse.d.ts +1 -1
- package/dist/response/ManagedIdentityTokenResponse.d.ts.map +1 -1
- package/dist/retry/IHttpRetryPolicy.d.ts +1 -1
- package/dist/retry/LinearRetryPolicy.d.ts +2 -2
- package/dist/retry/LinearRetryPolicy.d.ts.map +1 -1
- package/dist/retry/LinearRetryPolicy.mjs +1 -1
- package/dist/utils/Constants.mjs +2 -2
- package/dist/utils/EncodingUtils.d.ts +1 -1
- package/dist/utils/EncodingUtils.mjs +2 -2
- package/dist/utils/NetworkUtils.d.ts +1 -1
- package/dist/utils/NetworkUtils.d.ts.map +1 -1
- package/dist/utils/NetworkUtils.mjs +1 -1
- package/dist/utils/NetworkUtils.mjs.map +1 -1
- package/lib/msal-node.cjs +12362 -0
- package/lib/msal-node.cjs.map +1 -0
- package/lib/package.json +1 -0
- package/lib/types/cache/ITokenCache.d.ts +16 -0
- package/lib/types/cache/ITokenCache.d.ts.map +1 -0
- package/lib/types/cache/NodeStorage.d.ts +194 -0
- package/lib/types/cache/NodeStorage.d.ts.map +1 -0
- package/lib/types/cache/TokenCache.d.ts +91 -0
- package/lib/types/cache/TokenCache.d.ts.map +1 -0
- package/lib/types/cache/distributed/DistributedCachePlugin.d.ts +11 -0
- package/lib/types/cache/distributed/DistributedCachePlugin.d.ts.map +1 -0
- package/lib/types/cache/distributed/ICacheClient.d.ts +18 -0
- package/lib/types/cache/distributed/ICacheClient.d.ts.map +1 -0
- package/lib/types/cache/distributed/IPartitionManager.d.ts +29 -0
- package/lib/types/cache/distributed/IPartitionManager.d.ts.map +1 -0
- package/lib/types/cache/serializer/Deserializer.d.ts +43 -0
- package/lib/types/cache/serializer/Deserializer.d.ts.map +1 -0
- package/lib/types/cache/serializer/Serializer.d.ts +40 -0
- package/lib/types/cache/serializer/Serializer.d.ts.map +1 -0
- package/lib/types/cache/serializer/SerializerTypes.d.ts +103 -0
- package/lib/types/cache/serializer/SerializerTypes.d.ts.map +1 -0
- package/lib/types/client/ClientApplication.d.ts +144 -0
- package/lib/types/client/ClientApplication.d.ts.map +1 -0
- package/lib/types/client/ClientAssertion.d.ts +56 -0
- package/lib/types/client/ClientAssertion.d.ts.map +1 -0
- package/lib/types/client/ClientCredentialClient.d.ts +34 -0
- package/lib/types/client/ClientCredentialClient.d.ts.map +1 -0
- package/lib/types/client/ConfidentialClientApplication.d.ts +59 -0
- package/lib/types/client/ConfidentialClientApplication.d.ts.map +1 -0
- package/lib/types/client/DeviceCodeClient.d.ts +54 -0
- package/lib/types/client/DeviceCodeClient.d.ts.map +1 -0
- package/lib/types/client/IConfidentialClientApplication.d.ts +40 -0
- package/lib/types/client/IConfidentialClientApplication.d.ts.map +1 -0
- package/lib/types/client/IPublicClientApplication.d.ts +43 -0
- package/lib/types/client/IPublicClientApplication.d.ts.map +1 -0
- package/lib/types/client/ManagedIdentityApplication.d.ts +31 -0
- package/lib/types/client/ManagedIdentityApplication.d.ts.map +1 -0
- package/lib/types/client/ManagedIdentityClient.d.ts +28 -0
- package/lib/types/client/ManagedIdentityClient.d.ts.map +1 -0
- package/lib/types/client/ManagedIdentitySources/AppService.d.ts +18 -0
- package/lib/types/client/ManagedIdentitySources/AppService.d.ts.map +1 -0
- package/lib/types/client/ManagedIdentitySources/AzureArc.d.ts +28 -0
- package/lib/types/client/ManagedIdentitySources/AzureArc.d.ts.map +1 -0
- package/lib/types/client/ManagedIdentitySources/BaseManagedIdentitySource.d.ts +31 -0
- package/lib/types/client/ManagedIdentitySources/BaseManagedIdentitySource.d.ts.map +1 -0
- package/lib/types/client/ManagedIdentitySources/CloudShell.d.ts +17 -0
- package/lib/types/client/ManagedIdentitySources/CloudShell.d.ts.map +1 -0
- package/lib/types/client/ManagedIdentitySources/Imds.d.ts +13 -0
- package/lib/types/client/ManagedIdentitySources/Imds.d.ts.map +1 -0
- package/lib/types/client/ManagedIdentitySources/ServiceFabric.d.ts +18 -0
- package/lib/types/client/ManagedIdentitySources/ServiceFabric.d.ts.map +1 -0
- package/lib/types/client/OnBehalfOfClient.d.ts +48 -0
- package/lib/types/client/OnBehalfOfClient.d.ts.map +1 -0
- package/lib/types/client/PublicClientApplication.d.ts +73 -0
- package/lib/types/client/PublicClientApplication.d.ts.map +1 -0
- package/lib/types/client/UsernamePasswordClient.d.ts +26 -0
- package/lib/types/client/UsernamePasswordClient.d.ts.map +1 -0
- package/lib/types/config/Configuration.d.ts +132 -0
- package/lib/types/config/Configuration.d.ts.map +1 -0
- package/lib/types/config/ManagedIdentityId.d.ts +12 -0
- package/lib/types/config/ManagedIdentityId.d.ts.map +1 -0
- package/lib/types/config/ManagedIdentityRequestParameters.d.ts +12 -0
- package/lib/types/config/ManagedIdentityRequestParameters.d.ts.map +1 -0
- package/lib/types/crypto/CryptoProvider.d.ts +63 -0
- package/lib/types/crypto/CryptoProvider.d.ts.map +1 -0
- package/lib/types/crypto/GuidGenerator.d.ts +15 -0
- package/lib/types/crypto/GuidGenerator.d.ts.map +1 -0
- package/lib/types/crypto/HashUtils.d.ts +9 -0
- package/lib/types/crypto/HashUtils.d.ts.map +1 -0
- package/lib/types/crypto/PkceGenerator.d.ts +23 -0
- package/lib/types/crypto/PkceGenerator.d.ts.map +1 -0
- package/lib/types/error/ManagedIdentityError.d.ts +31 -0
- package/lib/types/error/ManagedIdentityError.d.ts.map +1 -0
- package/lib/types/error/ManagedIdentityErrorCodes.d.ts +23 -0
- package/lib/types/error/ManagedIdentityErrorCodes.d.ts.map +1 -0
- package/lib/types/error/NodeAuthError.d.ts +74 -0
- package/lib/types/error/NodeAuthError.d.ts.map +1 -0
- package/lib/types/index.d.ts +46 -0
- package/lib/types/index.d.ts.map +1 -0
- package/lib/types/internals.d.ts +7 -0
- package/lib/types/internals.d.ts.map +1 -0
- package/lib/types/network/HttpClient.d.ts +26 -0
- package/lib/types/network/HttpClient.d.ts.map +1 -0
- package/lib/types/network/HttpClientWithRetries.d.ts +12 -0
- package/lib/types/network/HttpClientWithRetries.d.ts.map +1 -0
- package/lib/types/network/ILoopbackClient.d.ts +11 -0
- package/lib/types/network/ILoopbackClient.d.ts.map +1 -0
- package/lib/types/network/LoopbackClient.d.ts +22 -0
- package/lib/types/network/LoopbackClient.d.ts.map +1 -0
- package/lib/types/packageMetadata.d.ts +3 -0
- package/lib/types/packageMetadata.d.ts.map +1 -0
- package/lib/types/request/AuthorizationCodeRequest.d.ts +22 -0
- package/lib/types/request/AuthorizationCodeRequest.d.ts.map +1 -0
- package/lib/types/request/AuthorizationUrlRequest.d.ts +34 -0
- package/lib/types/request/AuthorizationUrlRequest.d.ts.map +1 -0
- package/lib/types/request/ClientCredentialRequest.d.ts +15 -0
- package/lib/types/request/ClientCredentialRequest.d.ts.map +1 -0
- package/lib/types/request/DeviceCodeRequest.d.ts +16 -0
- package/lib/types/request/DeviceCodeRequest.d.ts.map +1 -0
- package/lib/types/request/InteractiveRequest.d.ts +23 -0
- package/lib/types/request/InteractiveRequest.d.ts.map +1 -0
- package/lib/types/request/ManagedIdentityRequest.d.ts +9 -0
- package/lib/types/request/ManagedIdentityRequest.d.ts.map +1 -0
- package/lib/types/request/ManagedIdentityRequestParams.d.ts +10 -0
- package/lib/types/request/ManagedIdentityRequestParams.d.ts.map +1 -0
- package/lib/types/request/OnBehalfOfRequest.d.ts +15 -0
- package/lib/types/request/OnBehalfOfRequest.d.ts.map +1 -0
- package/lib/types/request/RefreshTokenRequest.d.ts +18 -0
- package/lib/types/request/RefreshTokenRequest.d.ts.map +1 -0
- package/lib/types/request/SignOutRequest.d.ts +6 -0
- package/lib/types/request/SignOutRequest.d.ts.map +1 -0
- package/lib/types/request/SilentFlowRequest.d.ts +17 -0
- package/lib/types/request/SilentFlowRequest.d.ts.map +1 -0
- package/lib/types/request/UsernamePasswordRequest.d.ts +20 -0
- package/lib/types/request/UsernamePasswordRequest.d.ts.map +1 -0
- package/lib/types/response/ManagedIdentityTokenResponse.d.ts +35 -0
- package/lib/types/response/ManagedIdentityTokenResponse.d.ts.map +1 -0
- package/lib/types/retry/IHttpRetryPolicy.d.ts +6 -0
- package/lib/types/retry/IHttpRetryPolicy.d.ts.map +1 -0
- package/lib/types/retry/LinearRetryPolicy.d.ts +12 -0
- package/lib/types/retry/LinearRetryPolicy.d.ts.map +1 -0
- package/lib/types/utils/Constants.d.ts +142 -0
- package/lib/types/utils/Constants.d.ts.map +1 -0
- package/lib/types/utils/EncodingUtils.d.ts +27 -0
- package/lib/types/utils/EncodingUtils.d.ts.map +1 -0
- package/lib/types/utils/NetworkUtils.d.ts +6 -0
- package/lib/types/utils/NetworkUtils.d.ts.map +1 -0
- package/package.json +13 -10
- package/src/cache/ITokenCache.ts +1 -1
- package/src/cache/NodeStorage.ts +1 -1
- package/src/cache/TokenCache.ts +1 -1
- package/src/cache/distributed/DistributedCachePlugin.ts +1 -1
- package/src/cache/distributed/IPartitionManager.ts +1 -1
- package/src/cache/serializer/Deserializer.ts +1 -1
- package/src/cache/serializer/Serializer.ts +1 -1
- package/src/cache/serializer/SerializerTypes.ts +1 -1
- package/src/client/ClientApplication.ts +1 -1
- package/src/client/ClientAssertion.ts +1 -1
- package/src/client/ClientCredentialClient.ts +2 -2
- package/src/client/ConfidentialClientApplication.ts +1 -1
- package/src/client/DeviceCodeClient.ts +1 -1
- package/src/client/IConfidentialClientApplication.ts +1 -1
- package/src/client/IPublicClientApplication.ts +5 -1
- package/src/client/ManagedIdentityApplication.ts +9 -9
- package/src/client/ManagedIdentityClient.ts +13 -13
- package/src/client/ManagedIdentitySources/AppService.ts +7 -7
- package/src/client/ManagedIdentitySources/AzureArc.ts +9 -9
- package/src/client/ManagedIdentitySources/BaseManagedIdentitySource.ts +9 -9
- package/src/client/ManagedIdentitySources/CloudShell.ts +8 -8
- package/src/client/ManagedIdentitySources/Imds.ts +7 -7
- package/src/client/ManagedIdentitySources/ServiceFabric.ts +7 -7
- package/src/client/OnBehalfOfClient.ts +2 -2
- package/src/client/PublicClientApplication.ts +2 -2
- package/src/client/UsernamePasswordClient.ts +1 -1
- package/src/config/Configuration.ts +1 -1
- package/src/config/ManagedIdentityId.ts +3 -3
- package/src/config/ManagedIdentityRequestParameters.ts +2 -2
- package/src/crypto/CryptoProvider.ts +1 -1
- package/src/crypto/GuidGenerator.ts +1 -1
- package/src/crypto/PkceGenerator.ts +1 -1
- package/src/error/ManagedIdentityError.ts +3 -3
- package/src/error/ManagedIdentityErrorCodes.ts +1 -1
- package/src/error/NodeAuthError.ts +1 -1
- package/src/index.ts +1 -1
- package/src/network/HttpClient.ts +1 -1
- package/src/network/HttpClientWithRetries.ts +3 -3
- package/src/network/ILoopbackClient.ts +1 -1
- package/src/network/LoopbackClient.ts +2 -2
- package/src/packageMetadata.ts +1 -1
- package/src/request/AuthorizationCodeRequest.ts +1 -1
- package/src/request/AuthorizationUrlRequest.ts +1 -1
- package/src/request/ClientCredentialRequest.ts +1 -1
- package/src/request/DeviceCodeRequest.ts +1 -1
- package/src/request/ManagedIdentityRequest.ts +2 -2
- package/src/request/OnBehalfOfRequest.ts +1 -1
- package/src/request/RefreshTokenRequest.ts +1 -1
- package/src/request/SignOutRequest.ts +1 -1
- package/src/request/SilentFlowRequest.ts +1 -1
- package/src/request/UsernamePasswordRequest.ts +1 -1
- package/src/response/ManagedIdentityTokenResponse.ts +1 -1
- package/src/retry/LinearRetryPolicy.ts +1 -1
- package/src/utils/Constants.ts +1 -1
- package/src/utils/EncodingUtils.ts +1 -1
- package/src/utils/NetworkUtils.ts +4 -1
- package/dist/cache/NodeStorage.cjs +0 -436
- package/dist/cache/NodeStorage.cjs.map +0 -1
- package/dist/cache/TokenCache.cjs +0 -278
- package/dist/cache/TokenCache.cjs.map +0 -1
- package/dist/cache/distributed/DistributedCachePlugin.cjs +0 -37
- package/dist/cache/distributed/DistributedCachePlugin.cjs.map +0 -1
- package/dist/cache/serializer/Deserializer.cjs +0 -178
- package/dist/cache/serializer/Deserializer.cjs.map +0 -1
- package/dist/cache/serializer/Serializer.cjs +0 -146
- package/dist/cache/serializer/Serializer.cjs.map +0 -1
- package/dist/client/ClientApplication.cjs +0 -354
- package/dist/client/ClientApplication.cjs.map +0 -1
- package/dist/client/ClientAssertion.cjs +0 -161
- package/dist/client/ClientAssertion.cjs.map +0 -1
- package/dist/client/ClientCredentialClient.cjs +0 -205
- package/dist/client/ClientCredentialClient.cjs.map +0 -1
- package/dist/client/ConfidentialClientApplication.cjs +0 -184
- package/dist/client/ConfidentialClientApplication.cjs.map +0 -1
- package/dist/client/DeviceCodeClient.cjs +0 -218
- package/dist/client/DeviceCodeClient.cjs.map +0 -1
- package/dist/client/ManagedIdentityApplication.cjs +0 -102
- package/dist/client/ManagedIdentityApplication.cjs.map +0 -1
- package/dist/client/ManagedIdentityClient.cjs +0 -78
- package/dist/client/ManagedIdentityClient.cjs.map +0 -1
- package/dist/client/ManagedIdentitySources/AppService.cjs +0 -58
- package/dist/client/ManagedIdentitySources/AppService.cjs.map +0 -1
- package/dist/client/ManagedIdentitySources/AzureArc.cjs +0 -179
- package/dist/client/ManagedIdentitySources/AzureArc.cjs.map +0 -1
- package/dist/client/ManagedIdentitySources/BaseManagedIdentitySource.cjs +0 -137
- package/dist/client/ManagedIdentitySources/BaseManagedIdentitySource.cjs.map +0 -1
- package/dist/client/ManagedIdentitySources/CloudShell.cjs +0 -53
- package/dist/client/ManagedIdentitySources/CloudShell.cjs.map +0 -1
- package/dist/client/ManagedIdentitySources/Imds.cjs +0 -56
- package/dist/client/ManagedIdentitySources/Imds.cjs.map +0 -1
- package/dist/client/ManagedIdentitySources/ServiceFabric.cjs +0 -67
- package/dist/client/ManagedIdentitySources/ServiceFabric.cjs.map +0 -1
- package/dist/client/OnBehalfOfClient.cjs +0 -214
- package/dist/client/OnBehalfOfClient.cjs.map +0 -1
- package/dist/client/PublicClientApplication.cjs +0 -254
- package/dist/client/PublicClientApplication.cjs.map +0 -1
- package/dist/client/UsernamePasswordClient.cjs +0 -106
- package/dist/client/UsernamePasswordClient.cjs.map +0 -1
- package/dist/config/Configuration.cjs +0 -124
- package/dist/config/Configuration.cjs.map +0 -1
- package/dist/config/ManagedIdentityId.cjs +0 -61
- package/dist/config/ManagedIdentityId.cjs.map +0 -1
- package/dist/config/ManagedIdentityRequestParameters.cjs +0 -39
- package/dist/config/ManagedIdentityRequestParameters.cjs.map +0 -1
- package/dist/crypto/CryptoProvider.cjs +0 -103
- package/dist/crypto/CryptoProvider.cjs.map +0 -1
- package/dist/crypto/GuidGenerator.cjs +0 -33
- package/dist/crypto/GuidGenerator.cjs.map +0 -1
- package/dist/crypto/HashUtils.cjs +0 -29
- package/dist/crypto/HashUtils.cjs.map +0 -1
- package/dist/crypto/PkceGenerator.cjs +0 -68
- package/dist/crypto/PkceGenerator.cjs.map +0 -1
- package/dist/error/ManagedIdentityError.cjs +0 -56
- package/dist/error/ManagedIdentityError.cjs.map +0 -1
- package/dist/error/ManagedIdentityErrorCodes.cjs +0 -49
- package/dist/error/ManagedIdentityErrorCodes.cjs.map +0 -1
- package/dist/error/NodeAuthError.cjs +0 -107
- package/dist/error/NodeAuthError.cjs.map +0 -1
- package/dist/index.cjs +0 -125
- package/dist/index.cjs.map +0 -1
- package/dist/internals.cjs +0 -17
- package/dist/internals.cjs.map +0 -1
- package/dist/network/HttpClient.cjs +0 -301
- package/dist/network/HttpClient.cjs.map +0 -1
- package/dist/network/HttpClientWithRetries.cjs +0 -46
- package/dist/network/HttpClientWithRetries.cjs.map +0 -1
- package/dist/network/LoopbackClient.cjs +0 -99
- package/dist/network/LoopbackClient.cjs.map +0 -1
- package/dist/packageMetadata.cjs +0 -13
- package/dist/packageMetadata.cjs.map +0 -1
- package/dist/retry/LinearRetryPolicy.cjs +0 -49
- package/dist/retry/LinearRetryPolicy.cjs.map +0 -1
- package/dist/utils/Constants.cjs +0 -172
- package/dist/utils/Constants.cjs.map +0 -1
- package/dist/utils/EncodingUtils.cjs +0 -55
- package/dist/utils/EncodingUtils.cjs.map +0 -1
- package/dist/utils/NetworkUtils.cjs +0 -47
- package/dist/utils/NetworkUtils.cjs.map +0 -1
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
/*! @azure/msal-node v2.13.0 2024-08-13 */
|
|
2
|
-
'use strict';
|
|
3
|
-
'use strict';
|
|
4
|
-
|
|
5
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
6
|
-
|
|
7
|
-
var GuidGenerator = require('./GuidGenerator.cjs');
|
|
8
|
-
var EncodingUtils = require('../utils/EncodingUtils.cjs');
|
|
9
|
-
var PkceGenerator = require('./PkceGenerator.cjs');
|
|
10
|
-
var HashUtils = require('./HashUtils.cjs');
|
|
11
|
-
|
|
12
|
-
/*
|
|
13
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
14
|
-
* Licensed under the MIT License.
|
|
15
|
-
*/
|
|
16
|
-
/**
|
|
17
|
-
* This class implements MSAL node's crypto interface, which allows it to perform base64 encoding and decoding, generating cryptographically random GUIDs and
|
|
18
|
-
* implementing Proof Key for Code Exchange specs for the OAuth Authorization Code Flow using PKCE (rfc here: https://tools.ietf.org/html/rfc7636).
|
|
19
|
-
* @public
|
|
20
|
-
*/
|
|
21
|
-
class CryptoProvider {
|
|
22
|
-
constructor() {
|
|
23
|
-
// Browser crypto needs to be validated first before any other classes can be set.
|
|
24
|
-
this.pkceGenerator = new PkceGenerator.PkceGenerator();
|
|
25
|
-
this.guidGenerator = new GuidGenerator.GuidGenerator();
|
|
26
|
-
this.hashUtils = new HashUtils.HashUtils();
|
|
27
|
-
}
|
|
28
|
-
/**
|
|
29
|
-
* base64 URL safe encoded string
|
|
30
|
-
*/
|
|
31
|
-
base64UrlEncode() {
|
|
32
|
-
throw new Error("Method not implemented.");
|
|
33
|
-
}
|
|
34
|
-
/**
|
|
35
|
-
* Stringifies and base64Url encodes input public key
|
|
36
|
-
* @param inputKid
|
|
37
|
-
* @returns Base64Url encoded public key
|
|
38
|
-
*/
|
|
39
|
-
encodeKid() {
|
|
40
|
-
throw new Error("Method not implemented.");
|
|
41
|
-
}
|
|
42
|
-
/**
|
|
43
|
-
* Creates a new random GUID - used to populate state and nonce.
|
|
44
|
-
* @returns string (GUID)
|
|
45
|
-
*/
|
|
46
|
-
createNewGuid() {
|
|
47
|
-
return this.guidGenerator.generateGuid();
|
|
48
|
-
}
|
|
49
|
-
/**
|
|
50
|
-
* Encodes input string to base64.
|
|
51
|
-
* @param input - string to be encoded
|
|
52
|
-
*/
|
|
53
|
-
base64Encode(input) {
|
|
54
|
-
return EncodingUtils.EncodingUtils.base64Encode(input);
|
|
55
|
-
}
|
|
56
|
-
/**
|
|
57
|
-
* Decodes input string from base64.
|
|
58
|
-
* @param input - string to be decoded
|
|
59
|
-
*/
|
|
60
|
-
base64Decode(input) {
|
|
61
|
-
return EncodingUtils.EncodingUtils.base64Decode(input);
|
|
62
|
-
}
|
|
63
|
-
/**
|
|
64
|
-
* Generates PKCE codes used in Authorization Code Flow.
|
|
65
|
-
*/
|
|
66
|
-
generatePkceCodes() {
|
|
67
|
-
return this.pkceGenerator.generatePkceCodes();
|
|
68
|
-
}
|
|
69
|
-
/**
|
|
70
|
-
* Generates a keypair, stores it and returns a thumbprint - not yet implemented for node
|
|
71
|
-
*/
|
|
72
|
-
getPublicKeyThumbprint() {
|
|
73
|
-
throw new Error("Method not implemented.");
|
|
74
|
-
}
|
|
75
|
-
/**
|
|
76
|
-
* Removes cryptographic keypair from key store matching the keyId passed in
|
|
77
|
-
* @param kid
|
|
78
|
-
*/
|
|
79
|
-
removeTokenBindingKey() {
|
|
80
|
-
throw new Error("Method not implemented.");
|
|
81
|
-
}
|
|
82
|
-
/**
|
|
83
|
-
* Removes all cryptographic keys from Keystore
|
|
84
|
-
*/
|
|
85
|
-
clearKeystore() {
|
|
86
|
-
throw new Error("Method not implemented.");
|
|
87
|
-
}
|
|
88
|
-
/**
|
|
89
|
-
* Signs the given object as a jwt payload with private key retrieved by given kid - currently not implemented for node
|
|
90
|
-
*/
|
|
91
|
-
signJwt() {
|
|
92
|
-
throw new Error("Method not implemented.");
|
|
93
|
-
}
|
|
94
|
-
/**
|
|
95
|
-
* Returns the SHA-256 hash of an input string
|
|
96
|
-
*/
|
|
97
|
-
async hashString(plainText) {
|
|
98
|
-
return EncodingUtils.EncodingUtils.base64EncodeUrl(this.hashUtils.sha256(plainText).toString("base64"), "base64");
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
exports.CryptoProvider = CryptoProvider;
|
|
103
|
-
//# sourceMappingURL=CryptoProvider.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CryptoProvider.cjs","sources":["../../src/crypto/CryptoProvider.ts"],"sourcesContent":[null],"names":["PkceGenerator","GuidGenerator","HashUtils","EncodingUtils"],"mappings":";;;;;;;;;;;AAAA;;;AAGG;AAQH;;;;AAIG;MACU,cAAc,CAAA;AAKvB,IAAA,WAAA,GAAA;;AAEI,QAAA,IAAI,CAAC,aAAa,GAAG,IAAIA,2BAAa,EAAE,CAAC;AACzC,QAAA,IAAI,CAAC,aAAa,GAAG,IAAIC,2BAAa,EAAE,CAAC;AACzC,QAAA,IAAI,CAAC,SAAS,GAAG,IAAIC,mBAAS,EAAE,CAAC;KACpC;AAED;;AAEG;IACH,eAAe,GAAA;AACX,QAAA,MAAM,IAAI,KAAK,CAAC,yBAAyB,CAAC,CAAC;KAC9C;AACD;;;;AAIG;IACH,SAAS,GAAA;AACL,QAAA,MAAM,IAAI,KAAK,CAAC,yBAAyB,CAAC,CAAC;KAC9C;AAED;;;AAGG;IACH,aAAa,GAAA;AACT,QAAA,OAAO,IAAI,CAAC,aAAa,CAAC,YAAY,EAAE,CAAC;KAC5C;AAED;;;AAGG;AACH,IAAA,YAAY,CAAC,KAAa,EAAA;AACtB,QAAA,OAAOC,2BAAa,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC;KAC5C;AAED;;;AAGG;AACH,IAAA,YAAY,CAAC,KAAa,EAAA;AACtB,QAAA,OAAOA,2BAAa,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC;KAC5C;AAED;;AAEG;IACH,iBAAiB,GAAA;AACb,QAAA,OAAO,IAAI,CAAC,aAAa,CAAC,iBAAiB,EAAE,CAAC;KACjD;AAED;;AAEG;IACH,sBAAsB,GAAA;AAClB,QAAA,MAAM,IAAI,KAAK,CAAC,yBAAyB,CAAC,CAAC;KAC9C;AAED;;;AAGG;IACH,qBAAqB,GAAA;AACjB,QAAA,MAAM,IAAI,KAAK,CAAC,yBAAyB,CAAC,CAAC;KAC9C;AAED;;AAEG;IACH,aAAa,GAAA;AACT,QAAA,MAAM,IAAI,KAAK,CAAC,yBAAyB,CAAC,CAAC;KAC9C;AAED;;AAEG;IACH,OAAO,GAAA;AACH,QAAA,MAAM,IAAI,KAAK,CAAC,yBAAyB,CAAC,CAAC;KAC9C;AAED;;AAEG;IACH,MAAM,UAAU,CAAC,SAAiB,EAAA;QAC9B,OAAOA,2BAAa,CAAC,eAAe,CAChC,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC,QAAQ,CAAC,QAAQ,CAAC,EACnD,QAAQ,CACX,CAAC;KACL;AACJ;;;;"}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
/*! @azure/msal-node v2.13.0 2024-08-13 */
|
|
2
|
-
'use strict';
|
|
3
|
-
'use strict';
|
|
4
|
-
|
|
5
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
6
|
-
|
|
7
|
-
var uuid = require('uuid');
|
|
8
|
-
|
|
9
|
-
/*
|
|
10
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
11
|
-
* Licensed under the MIT License.
|
|
12
|
-
*/
|
|
13
|
-
class GuidGenerator {
|
|
14
|
-
/**
|
|
15
|
-
*
|
|
16
|
-
* RFC4122: The version 4 UUID is meant for generating UUIDs from truly-random or pseudo-random numbers.
|
|
17
|
-
* uuidv4 generates guids from cryprtographically-string random
|
|
18
|
-
*/
|
|
19
|
-
generateGuid() {
|
|
20
|
-
return uuid.v4();
|
|
21
|
-
}
|
|
22
|
-
/**
|
|
23
|
-
* verifies if a string is GUID
|
|
24
|
-
* @param guid
|
|
25
|
-
*/
|
|
26
|
-
isGuid(guid) {
|
|
27
|
-
const regexGuid = /^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i;
|
|
28
|
-
return regexGuid.test(guid);
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
exports.GuidGenerator = GuidGenerator;
|
|
33
|
-
//# sourceMappingURL=GuidGenerator.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"GuidGenerator.cjs","sources":["../../src/crypto/GuidGenerator.ts"],"sourcesContent":[null],"names":["uuidv4"],"mappings":";;;;;;;;AAAA;;;AAGG;MAKU,aAAa,CAAA;AACtB;;;;AAIG;IACH,YAAY,GAAA;QACR,OAAOA,OAAM,EAAE,CAAC;KACnB;AAED;;;AAGG;AACH,IAAA,MAAM,CAAC,IAAY,EAAA;QACf,MAAM,SAAS,GACX,4EAA4E,CAAC;AACjF,QAAA,OAAO,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;KAC/B;AACJ;;;;"}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
/*! @azure/msal-node v2.13.0 2024-08-13 */
|
|
2
|
-
'use strict';
|
|
3
|
-
'use strict';
|
|
4
|
-
|
|
5
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
6
|
-
|
|
7
|
-
var Constants = require('../utils/Constants.cjs');
|
|
8
|
-
var crypto = require('crypto');
|
|
9
|
-
|
|
10
|
-
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
11
|
-
|
|
12
|
-
var crypto__default = /*#__PURE__*/_interopDefaultLegacy(crypto);
|
|
13
|
-
|
|
14
|
-
/*
|
|
15
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
16
|
-
* Licensed under the MIT License.
|
|
17
|
-
*/
|
|
18
|
-
class HashUtils {
|
|
19
|
-
/**
|
|
20
|
-
* generate 'SHA256' hash
|
|
21
|
-
* @param buffer
|
|
22
|
-
*/
|
|
23
|
-
sha256(buffer) {
|
|
24
|
-
return crypto__default["default"].createHash(Constants.Hash.SHA256).update(buffer).digest();
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
exports.HashUtils = HashUtils;
|
|
29
|
-
//# sourceMappingURL=HashUtils.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"HashUtils.cjs","sources":["../../src/crypto/HashUtils.ts"],"sourcesContent":[null],"names":["crypto","Hash"],"mappings":";;;;;;;;;;;;;AAAA;;;AAGG;MAKU,SAAS,CAAA;AAClB;;;AAGG;AACH,IAAA,MAAM,CAAC,MAAc,EAAA;AACjB,QAAA,OAAOA,0BAAM,CAAC,UAAU,CAACC,cAAI,CAAC,MAAM,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,MAAM,EAAE,CAAC;KACjE;AACJ;;;;"}
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
/*! @azure/msal-node v2.13.0 2024-08-13 */
|
|
2
|
-
'use strict';
|
|
3
|
-
'use strict';
|
|
4
|
-
|
|
5
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
6
|
-
|
|
7
|
-
var msalCommon = require('@azure/msal-common');
|
|
8
|
-
var Constants = require('../utils/Constants.cjs');
|
|
9
|
-
var EncodingUtils = require('../utils/EncodingUtils.cjs');
|
|
10
|
-
var HashUtils = require('./HashUtils.cjs');
|
|
11
|
-
var crypto = require('crypto');
|
|
12
|
-
|
|
13
|
-
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
14
|
-
|
|
15
|
-
var crypto__default = /*#__PURE__*/_interopDefaultLegacy(crypto);
|
|
16
|
-
|
|
17
|
-
/*
|
|
18
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
19
|
-
* Licensed under the MIT License.
|
|
20
|
-
*/
|
|
21
|
-
/**
|
|
22
|
-
* https://tools.ietf.org/html/rfc7636#page-8
|
|
23
|
-
*/
|
|
24
|
-
class PkceGenerator {
|
|
25
|
-
constructor() {
|
|
26
|
-
this.hashUtils = new HashUtils.HashUtils();
|
|
27
|
-
}
|
|
28
|
-
/**
|
|
29
|
-
* generates the codeVerfier and the challenge from the codeVerfier
|
|
30
|
-
* reference: https://tools.ietf.org/html/rfc7636#section-4.1 and https://tools.ietf.org/html/rfc7636#section-4.2
|
|
31
|
-
*/
|
|
32
|
-
async generatePkceCodes() {
|
|
33
|
-
const verifier = this.generateCodeVerifier();
|
|
34
|
-
const challenge = this.generateCodeChallengeFromVerifier(verifier);
|
|
35
|
-
return { verifier, challenge };
|
|
36
|
-
}
|
|
37
|
-
/**
|
|
38
|
-
* generates the codeVerfier; reference: https://tools.ietf.org/html/rfc7636#section-4.1
|
|
39
|
-
*/
|
|
40
|
-
generateCodeVerifier() {
|
|
41
|
-
const charArr = [];
|
|
42
|
-
const maxNumber = 256 - (256 % Constants.CharSet.CV_CHARSET.length);
|
|
43
|
-
while (charArr.length <= Constants.RANDOM_OCTET_SIZE) {
|
|
44
|
-
const byte = crypto__default["default"].randomBytes(1)[0];
|
|
45
|
-
if (byte >= maxNumber) {
|
|
46
|
-
/*
|
|
47
|
-
* Ignore this number to maintain randomness.
|
|
48
|
-
* Including it would result in an unequal distribution of characters after doing the modulo
|
|
49
|
-
*/
|
|
50
|
-
continue;
|
|
51
|
-
}
|
|
52
|
-
const index = byte % Constants.CharSet.CV_CHARSET.length;
|
|
53
|
-
charArr.push(Constants.CharSet.CV_CHARSET[index]);
|
|
54
|
-
}
|
|
55
|
-
const verifier = charArr.join(msalCommon.Constants.EMPTY_STRING);
|
|
56
|
-
return EncodingUtils.EncodingUtils.base64EncodeUrl(verifier);
|
|
57
|
-
}
|
|
58
|
-
/**
|
|
59
|
-
* generate the challenge from the codeVerfier; reference: https://tools.ietf.org/html/rfc7636#section-4.2
|
|
60
|
-
* @param codeVerifier
|
|
61
|
-
*/
|
|
62
|
-
generateCodeChallengeFromVerifier(codeVerifier) {
|
|
63
|
-
return EncodingUtils.EncodingUtils.base64EncodeUrl(this.hashUtils.sha256(codeVerifier).toString("base64"), "base64");
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
exports.PkceGenerator = PkceGenerator;
|
|
68
|
-
//# sourceMappingURL=PkceGenerator.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PkceGenerator.cjs","sources":["../../src/crypto/PkceGenerator.ts"],"sourcesContent":[null],"names":["HashUtils","CharSet","RANDOM_OCTET_SIZE","crypto","Constants","EncodingUtils"],"mappings":";;;;;;;;;;;;;;;;AAAA;;;AAGG;AAQH;;AAEG;MACU,aAAa,CAAA;AAGtB,IAAA,WAAA,GAAA;AACI,QAAA,IAAI,CAAC,SAAS,GAAG,IAAIA,mBAAS,EAAE,CAAC;KACpC;AACD;;;AAGG;AACH,IAAA,MAAM,iBAAiB,GAAA;AACnB,QAAA,MAAM,QAAQ,GAAG,IAAI,CAAC,oBAAoB,EAAE,CAAC;QAC7C,MAAM,SAAS,GAAG,IAAI,CAAC,iCAAiC,CAAC,QAAQ,CAAC,CAAC;AACnE,QAAA,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC;KAClC;AAED;;AAEG;IACK,oBAAoB,GAAA;QACxB,MAAM,OAAO,GAAG,EAAE,CAAC;AACnB,QAAA,MAAM,SAAS,GAAG,GAAG,IAAI,GAAG,GAAGC,iBAAO,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC;AAC1D,QAAA,OAAO,OAAO,CAAC,MAAM,IAAIC,2BAAiB,EAAE;YACxC,MAAM,IAAI,GAAGC,0BAAM,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;YACtC,IAAI,IAAI,IAAI,SAAS,EAAE;AACnB;;;AAGG;gBACH,SAAS;AACZ,aAAA;YACD,MAAM,KAAK,GAAG,IAAI,GAAGF,iBAAO,CAAC,UAAU,CAAC,MAAM,CAAC;YAC/C,OAAO,CAAC,IAAI,CAACA,iBAAO,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC;AAC3C,SAAA;QACD,MAAM,QAAQ,GAAW,OAAO,CAAC,IAAI,CAACG,oBAAS,CAAC,YAAY,CAAC,CAAC;AAC9D,QAAA,OAAOC,2BAAa,CAAC,eAAe,CAAC,QAAQ,CAAC,CAAC;KAClD;AAED;;;AAGG;AACK,IAAA,iCAAiC,CAAC,YAAoB,EAAA;QAC1D,OAAOA,2BAAa,CAAC,eAAe,CAChC,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,YAAY,CAAC,CAAC,QAAQ,CAAC,QAAQ,CAAC,EACtD,QAAQ,CACX,CAAC;KACL;AACJ;;;;"}
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
/*! @azure/msal-node v2.13.0 2024-08-13 */
|
|
2
|
-
'use strict';
|
|
3
|
-
'use strict';
|
|
4
|
-
|
|
5
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
6
|
-
|
|
7
|
-
var msalCommon = require('@azure/msal-common');
|
|
8
|
-
var ManagedIdentityErrorCodes = require('./ManagedIdentityErrorCodes.cjs');
|
|
9
|
-
var Constants = require('../utils/Constants.cjs');
|
|
10
|
-
|
|
11
|
-
/*
|
|
12
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
13
|
-
* Licensed under the MIT License.
|
|
14
|
-
*/
|
|
15
|
-
/**
|
|
16
|
-
* ManagedIdentityErrorMessage class containing string constants used by error codes and messages.
|
|
17
|
-
*/
|
|
18
|
-
const ManagedIdentityErrorMessages = {
|
|
19
|
-
[ManagedIdentityErrorCodes.invalidFileExtension]: "The file path in the WWW-Authenticate header does not contain a .key file.",
|
|
20
|
-
[ManagedIdentityErrorCodes.invalidFilePath]: "The file path in the WWW-Authenticate header is not in a valid Windows or Linux Format.",
|
|
21
|
-
[ManagedIdentityErrorCodes.invalidManagedIdentityIdType]: "More than one ManagedIdentityIdType was provided.",
|
|
22
|
-
[ManagedIdentityErrorCodes.invalidSecret]: "The secret in the file on the file path in the WWW-Authenticate header is greater than 4096 bytes.",
|
|
23
|
-
[ManagedIdentityErrorCodes.platformNotSupported]: "The platform is not supported by Azure Arc. Azure Arc only supports Windows and Linux.",
|
|
24
|
-
[ManagedIdentityErrorCodes.missingId]: "A ManagedIdentityId id was not provided.",
|
|
25
|
-
[ManagedIdentityErrorCodes.MsiEnvironmentVariableUrlMalformedErrorCodes
|
|
26
|
-
.AZURE_POD_IDENTITY_AUTHORITY_HOST]: `The Managed Identity's '${Constants.ManagedIdentityEnvironmentVariableNames.AZURE_POD_IDENTITY_AUTHORITY_HOST}' environment variable is malformed.`,
|
|
27
|
-
[ManagedIdentityErrorCodes.MsiEnvironmentVariableUrlMalformedErrorCodes
|
|
28
|
-
.IDENTITY_ENDPOINT]: `The Managed Identity's '${Constants.ManagedIdentityEnvironmentVariableNames.IDENTITY_ENDPOINT}' environment variable is malformed.`,
|
|
29
|
-
[ManagedIdentityErrorCodes.MsiEnvironmentVariableUrlMalformedErrorCodes
|
|
30
|
-
.IMDS_ENDPOINT]: `The Managed Identity's '${Constants.ManagedIdentityEnvironmentVariableNames.IMDS_ENDPOINT}' environment variable is malformed.`,
|
|
31
|
-
[ManagedIdentityErrorCodes.MsiEnvironmentVariableUrlMalformedErrorCodes
|
|
32
|
-
.MSI_ENDPOINT]: `The Managed Identity's '${Constants.ManagedIdentityEnvironmentVariableNames.MSI_ENDPOINT}' environment variable is malformed.`,
|
|
33
|
-
[ManagedIdentityErrorCodes.networkUnavailable]: "Authentication unavailable. The request to the managed identity endpoint timed out.",
|
|
34
|
-
[ManagedIdentityErrorCodes.unableToCreateAzureArc]: "Azure Arc Managed Identities can only be system assigned.",
|
|
35
|
-
[ManagedIdentityErrorCodes.unableToCreateCloudShell]: "Cloud Shell Managed Identities can only be system assigned.",
|
|
36
|
-
[ManagedIdentityErrorCodes.unableToCreateSource]: "Unable to create a Managed Identity source based on environment variables.",
|
|
37
|
-
[ManagedIdentityErrorCodes.unableToReadSecretFile]: "Unable to read the secret file.",
|
|
38
|
-
[ManagedIdentityErrorCodes.userAssignedNotAvailableAtRuntime]: "Service Fabric user assigned managed identity ClientId or ResourceId is not configurable at runtime.",
|
|
39
|
-
[ManagedIdentityErrorCodes.wwwAuthenticateHeaderMissing]: "A 401 response was received form the Azure Arc Managed Identity, but the www-authenticate header is missing.",
|
|
40
|
-
[ManagedIdentityErrorCodes.wwwAuthenticateHeaderUnsupportedFormat]: "A 401 response was received form the Azure Arc Managed Identity, but the www-authenticate header is in an unsupported format.",
|
|
41
|
-
};
|
|
42
|
-
class ManagedIdentityError extends msalCommon.AuthError {
|
|
43
|
-
constructor(errorCode) {
|
|
44
|
-
super(errorCode, ManagedIdentityErrorMessages[errorCode]);
|
|
45
|
-
this.name = "ManagedIdentityError";
|
|
46
|
-
Object.setPrototypeOf(this, ManagedIdentityError.prototype);
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
function createManagedIdentityError(errorCode) {
|
|
50
|
-
return new ManagedIdentityError(errorCode);
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
exports.ManagedIdentityError = ManagedIdentityError;
|
|
54
|
-
exports.ManagedIdentityErrorMessages = ManagedIdentityErrorMessages;
|
|
55
|
-
exports.createManagedIdentityError = createManagedIdentityError;
|
|
56
|
-
//# sourceMappingURL=ManagedIdentityError.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ManagedIdentityError.cjs","sources":["../../src/error/ManagedIdentityError.ts"],"sourcesContent":[null],"names":["ManagedIdentityErrorCodes.invalidFileExtension","ManagedIdentityErrorCodes.invalidFilePath","ManagedIdentityErrorCodes.invalidManagedIdentityIdType","ManagedIdentityErrorCodes.invalidSecret","ManagedIdentityErrorCodes.platformNotSupported","ManagedIdentityErrorCodes.missingId","ManagedIdentityErrorCodes.MsiEnvironmentVariableUrlMalformedErrorCodes","ManagedIdentityEnvironmentVariableNames","ManagedIdentityErrorCodes.networkUnavailable","ManagedIdentityErrorCodes.unableToCreateAzureArc","ManagedIdentityErrorCodes.unableToCreateCloudShell","ManagedIdentityErrorCodes.unableToCreateSource","ManagedIdentityErrorCodes.unableToReadSecretFile","ManagedIdentityErrorCodes.userAssignedNotAvailableAtRuntime","ManagedIdentityErrorCodes.wwwAuthenticateHeaderMissing","ManagedIdentityErrorCodes.wwwAuthenticateHeaderUnsupportedFormat","AuthError"],"mappings":";;;;;;;;;;AAAA;;;AAGG;AAOH;;AAEG;AACU,MAAA,4BAA4B,GAAG;AACxC,IAAA,CAACA,8CAA8C,GAC3C,4EAA4E;AAChF,IAAA,CAACC,yCAAyC,GACtC,yFAAyF;AAC7F,IAAA,CAACC,sDAAsD,GACnD,mDAAmD;AACvD,IAAA,CAACC,uCAAuC,GACpC,oGAAoG;AACxG,IAAA,CAACC,8CAA8C,GAC3C,wFAAwF;AAC5F,IAAA,CAACC,mCAAmC,GAChC,0CAA0C;IAC9C,CAACC,sEAAsE;AAClE,SAAA,iCAAiC,GAAG,CAAA,wBAAA,EAA2BC,iDAAuC,CAAC,iCAAiC,CAAsC,oCAAA,CAAA;IACnL,CAACD,sEAAsE;AAClE,SAAA,iBAAiB,GAAG,CAAA,wBAAA,EAA2BC,iDAAuC,CAAC,iBAAiB,CAAsC,oCAAA,CAAA;IACnJ,CAACD,sEAAsE;AAClE,SAAA,aAAa,GAAG,CAAA,wBAAA,EAA2BC,iDAAuC,CAAC,aAAa,CAAsC,oCAAA,CAAA;IAC3I,CAACD,sEAAsE;AAClE,SAAA,YAAY,GAAG,CAAA,wBAAA,EAA2BC,iDAAuC,CAAC,YAAY,CAAsC,oCAAA,CAAA;AACzI,IAAA,CAACC,4CAA4C,GACzC,qFAAqF;AACzF,IAAA,CAACC,gDAAgD,GAC7C,2DAA2D;AAC/D,IAAA,CAACC,kDAAkD,GAC/C,6DAA6D;AACjE,IAAA,CAACC,8CAA8C,GAC3C,4EAA4E;AAChF,IAAA,CAACC,gDAAgD,GAC7C,iCAAiC;AACrC,IAAA,CAACC,2DAA2D,GACxD,sGAAsG;AAC1G,IAAA,CAACC,sDAAsD,GACnD,8GAA8G;AAClH,IAAA,CAACC,gEAAgE,GAC7D,+HAA+H;EACrI;AAEI,MAAO,oBAAqB,SAAQC,oBAAS,CAAA;AAC/C,IAAA,WAAA,CAAY,SAAiB,EAAA;QACzB,KAAK,CAAC,SAAS,EAAE,4BAA4B,CAAC,SAAS,CAAC,CAAC,CAAC;AAC1D,QAAA,IAAI,CAAC,IAAI,GAAG,sBAAsB,CAAC;QACnC,MAAM,CAAC,cAAc,CAAC,IAAI,EAAE,oBAAoB,CAAC,SAAS,CAAC,CAAC;KAC/D;AACJ,CAAA;AAEK,SAAU,0BAA0B,CACtC,SAAiB,EAAA;AAEjB,IAAA,OAAO,IAAI,oBAAoB,CAAC,SAAS,CAAC,CAAC;AAC/C;;;;;;"}
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
/*! @azure/msal-node v2.13.0 2024-08-13 */
|
|
2
|
-
'use strict';
|
|
3
|
-
'use strict';
|
|
4
|
-
|
|
5
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
6
|
-
|
|
7
|
-
var Constants = require('../utils/Constants.cjs');
|
|
8
|
-
|
|
9
|
-
/*
|
|
10
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
11
|
-
* Licensed under the MIT License.
|
|
12
|
-
*/
|
|
13
|
-
const invalidFileExtension = "invalid_file_extension";
|
|
14
|
-
const invalidFilePath = "invalid_file_path";
|
|
15
|
-
const invalidManagedIdentityIdType = "invalid_managed_identity_id_type";
|
|
16
|
-
const invalidSecret = "invalid_secret";
|
|
17
|
-
const missingId = "missing_client_id";
|
|
18
|
-
const networkUnavailable = "network_unavailable";
|
|
19
|
-
const platformNotSupported = "platform_not_supported";
|
|
20
|
-
const unableToCreateAzureArc = "unable_to_create_azure_arc";
|
|
21
|
-
const unableToCreateCloudShell = "unable_to_create_cloud_shell";
|
|
22
|
-
const unableToCreateSource = "unable_to_create_source";
|
|
23
|
-
const unableToReadSecretFile = "unable_to_read_secret_file";
|
|
24
|
-
const userAssignedNotAvailableAtRuntime = "user_assigned_not_available_at_runtime";
|
|
25
|
-
const wwwAuthenticateHeaderMissing = "www_authenticate_header_missing";
|
|
26
|
-
const wwwAuthenticateHeaderUnsupportedFormat = "www_authenticate_header_unsupported_format";
|
|
27
|
-
const MsiEnvironmentVariableUrlMalformedErrorCodes = {
|
|
28
|
-
[Constants.ManagedIdentityEnvironmentVariableNames.AZURE_POD_IDENTITY_AUTHORITY_HOST]: "azure_pod_identity_authority_host_url_malformed",
|
|
29
|
-
[Constants.ManagedIdentityEnvironmentVariableNames.IDENTITY_ENDPOINT]: "identity_endpoint_url_malformed",
|
|
30
|
-
[Constants.ManagedIdentityEnvironmentVariableNames.IMDS_ENDPOINT]: "imds_endpoint_url_malformed",
|
|
31
|
-
[Constants.ManagedIdentityEnvironmentVariableNames.MSI_ENDPOINT]: "msi_endpoint_url_malformed",
|
|
32
|
-
};
|
|
33
|
-
|
|
34
|
-
exports.MsiEnvironmentVariableUrlMalformedErrorCodes = MsiEnvironmentVariableUrlMalformedErrorCodes;
|
|
35
|
-
exports.invalidFileExtension = invalidFileExtension;
|
|
36
|
-
exports.invalidFilePath = invalidFilePath;
|
|
37
|
-
exports.invalidManagedIdentityIdType = invalidManagedIdentityIdType;
|
|
38
|
-
exports.invalidSecret = invalidSecret;
|
|
39
|
-
exports.missingId = missingId;
|
|
40
|
-
exports.networkUnavailable = networkUnavailable;
|
|
41
|
-
exports.platformNotSupported = platformNotSupported;
|
|
42
|
-
exports.unableToCreateAzureArc = unableToCreateAzureArc;
|
|
43
|
-
exports.unableToCreateCloudShell = unableToCreateCloudShell;
|
|
44
|
-
exports.unableToCreateSource = unableToCreateSource;
|
|
45
|
-
exports.unableToReadSecretFile = unableToReadSecretFile;
|
|
46
|
-
exports.userAssignedNotAvailableAtRuntime = userAssignedNotAvailableAtRuntime;
|
|
47
|
-
exports.wwwAuthenticateHeaderMissing = wwwAuthenticateHeaderMissing;
|
|
48
|
-
exports.wwwAuthenticateHeaderUnsupportedFormat = wwwAuthenticateHeaderUnsupportedFormat;
|
|
49
|
-
//# sourceMappingURL=ManagedIdentityErrorCodes.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ManagedIdentityErrorCodes.cjs","sources":["../../src/error/ManagedIdentityErrorCodes.ts"],"sourcesContent":[null],"names":["ManagedIdentityEnvironmentVariableNames"],"mappings":";;;;;;;;AAAA;;;AAGG;AAII,MAAM,oBAAoB,GAAG,yBAAyB;AACtD,MAAM,eAAe,GAAG,oBAAoB;AAC5C,MAAM,4BAA4B,GAAG,mCAAmC;AACxE,MAAM,aAAa,GAAG,iBAAiB;AACvC,MAAM,SAAS,GAAG,oBAAoB;AACtC,MAAM,kBAAkB,GAAG,sBAAsB;AACjD,MAAM,oBAAoB,GAAG,yBAAyB;AACtD,MAAM,sBAAsB,GAAG,6BAA6B;AAC5D,MAAM,wBAAwB,GAAG,+BAA+B;AAChE,MAAM,oBAAoB,GAAG,0BAA0B;AACvD,MAAM,sBAAsB,GAAG,6BAA6B;AAE5D,MAAM,iCAAiC,GAC1C,yCAAyC;AACtC,MAAM,4BAA4B,GAAG,kCAAkC;AACvE,MAAM,sCAAsC,GAC/C,6CAA6C;AAEpC,MAAA,4CAA4C,GAAG;AACxD,IAAA,CAACA,iDAAuC,CAAC,iCAAiC,GACtE,iDAAiD;AACrD,IAAA,CAACA,iDAAuC,CAAC,iBAAiB,GACtD,iCAAiC;AACrC,IAAA,CAACA,iDAAuC,CAAC,aAAa,GAClD,6BAA6B;AACjC,IAAA,CAACA,iDAAuC,CAAC,YAAY,GACjD,4BAA4B;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,107 +0,0 @@
|
|
|
1
|
-
/*! @azure/msal-node v2.13.0 2024-08-13 */
|
|
2
|
-
'use strict';
|
|
3
|
-
'use strict';
|
|
4
|
-
|
|
5
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
6
|
-
|
|
7
|
-
var msalCommon = require('@azure/msal-common');
|
|
8
|
-
|
|
9
|
-
/*
|
|
10
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
11
|
-
* Licensed under the MIT License.
|
|
12
|
-
*/
|
|
13
|
-
/**
|
|
14
|
-
* NodeAuthErrorMessage class containing string constants used by error codes and messages.
|
|
15
|
-
*/
|
|
16
|
-
const NodeAuthErrorMessage = {
|
|
17
|
-
invalidLoopbackAddressType: {
|
|
18
|
-
code: "invalid_loopback_server_address_type",
|
|
19
|
-
desc: "Loopback server address is not type string. This is unexpected.",
|
|
20
|
-
},
|
|
21
|
-
unableToLoadRedirectUri: {
|
|
22
|
-
code: "unable_to_load_redirectUrl",
|
|
23
|
-
desc: "Loopback server callback was invoked without a url. This is unexpected.",
|
|
24
|
-
},
|
|
25
|
-
noAuthCodeInResponse: {
|
|
26
|
-
code: "no_auth_code_in_response",
|
|
27
|
-
desc: "No auth code found in the server response. Please check your network trace to determine what happened.",
|
|
28
|
-
},
|
|
29
|
-
noLoopbackServerExists: {
|
|
30
|
-
code: "no_loopback_server_exists",
|
|
31
|
-
desc: "No loopback server exists yet.",
|
|
32
|
-
},
|
|
33
|
-
loopbackServerAlreadyExists: {
|
|
34
|
-
code: "loopback_server_already_exists",
|
|
35
|
-
desc: "Loopback server already exists. Cannot create another.",
|
|
36
|
-
},
|
|
37
|
-
loopbackServerTimeout: {
|
|
38
|
-
code: "loopback_server_timeout",
|
|
39
|
-
desc: "Timed out waiting for auth code listener to be registered.",
|
|
40
|
-
},
|
|
41
|
-
stateNotFoundError: {
|
|
42
|
-
code: "state_not_found",
|
|
43
|
-
desc: "State not found. Please verify that the request originated from msal.",
|
|
44
|
-
},
|
|
45
|
-
thumbprintMissing: {
|
|
46
|
-
code: "thumbprint_missing_from_client_certificate",
|
|
47
|
-
desc: "Client certificate does not contain a SHA-1 or SHA-256 thumbprint.",
|
|
48
|
-
},
|
|
49
|
-
};
|
|
50
|
-
class NodeAuthError extends msalCommon.AuthError {
|
|
51
|
-
constructor(errorCode, errorMessage) {
|
|
52
|
-
super(errorCode, errorMessage);
|
|
53
|
-
this.name = "NodeAuthError";
|
|
54
|
-
}
|
|
55
|
-
/**
|
|
56
|
-
* Creates an error thrown if loopback server address is of type string.
|
|
57
|
-
*/
|
|
58
|
-
static createInvalidLoopbackAddressTypeError() {
|
|
59
|
-
return new NodeAuthError(NodeAuthErrorMessage.invalidLoopbackAddressType.code, `${NodeAuthErrorMessage.invalidLoopbackAddressType.desc}`);
|
|
60
|
-
}
|
|
61
|
-
/**
|
|
62
|
-
* Creates an error thrown if the loopback server is unable to get a url.
|
|
63
|
-
*/
|
|
64
|
-
static createUnableToLoadRedirectUrlError() {
|
|
65
|
-
return new NodeAuthError(NodeAuthErrorMessage.unableToLoadRedirectUri.code, `${NodeAuthErrorMessage.unableToLoadRedirectUri.desc}`);
|
|
66
|
-
}
|
|
67
|
-
/**
|
|
68
|
-
* Creates an error thrown if the server response does not contain an auth code.
|
|
69
|
-
*/
|
|
70
|
-
static createNoAuthCodeInResponseError() {
|
|
71
|
-
return new NodeAuthError(NodeAuthErrorMessage.noAuthCodeInResponse.code, `${NodeAuthErrorMessage.noAuthCodeInResponse.desc}`);
|
|
72
|
-
}
|
|
73
|
-
/**
|
|
74
|
-
* Creates an error thrown if the loopback server has not been spun up yet.
|
|
75
|
-
*/
|
|
76
|
-
static createNoLoopbackServerExistsError() {
|
|
77
|
-
return new NodeAuthError(NodeAuthErrorMessage.noLoopbackServerExists.code, `${NodeAuthErrorMessage.noLoopbackServerExists.desc}`);
|
|
78
|
-
}
|
|
79
|
-
/**
|
|
80
|
-
* Creates an error thrown if a loopback server already exists when attempting to create another one.
|
|
81
|
-
*/
|
|
82
|
-
static createLoopbackServerAlreadyExistsError() {
|
|
83
|
-
return new NodeAuthError(NodeAuthErrorMessage.loopbackServerAlreadyExists.code, `${NodeAuthErrorMessage.loopbackServerAlreadyExists.desc}`);
|
|
84
|
-
}
|
|
85
|
-
/**
|
|
86
|
-
* Creates an error thrown if the loopback server times out registering the auth code listener.
|
|
87
|
-
*/
|
|
88
|
-
static createLoopbackServerTimeoutError() {
|
|
89
|
-
return new NodeAuthError(NodeAuthErrorMessage.loopbackServerTimeout.code, `${NodeAuthErrorMessage.loopbackServerTimeout.desc}`);
|
|
90
|
-
}
|
|
91
|
-
/**
|
|
92
|
-
* Creates an error thrown when the state is not present.
|
|
93
|
-
*/
|
|
94
|
-
static createStateNotFoundError() {
|
|
95
|
-
return new NodeAuthError(NodeAuthErrorMessage.stateNotFoundError.code, NodeAuthErrorMessage.stateNotFoundError.desc);
|
|
96
|
-
}
|
|
97
|
-
/**
|
|
98
|
-
* Creates an error thrown when client certificate was provided, but neither the SHA-1 or SHA-256 thumbprints were provided
|
|
99
|
-
*/
|
|
100
|
-
static createThumbprintMissingError() {
|
|
101
|
-
return new NodeAuthError(NodeAuthErrorMessage.thumbprintMissing.code, NodeAuthErrorMessage.thumbprintMissing.desc);
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
exports.NodeAuthError = NodeAuthError;
|
|
106
|
-
exports.NodeAuthErrorMessage = NodeAuthErrorMessage;
|
|
107
|
-
//# sourceMappingURL=NodeAuthError.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"NodeAuthError.cjs","sources":["../../src/error/NodeAuthError.ts"],"sourcesContent":[null],"names":["AuthError"],"mappings":";;;;;;;;AAAA;;;AAGG;AAIH;;AAEG;AACU,MAAA,oBAAoB,GAAG;AAChC,IAAA,0BAA0B,EAAE;AACxB,QAAA,IAAI,EAAE,sCAAsC;AAC5C,QAAA,IAAI,EAAE,iEAAiE;AAC1E,KAAA;AACD,IAAA,uBAAuB,EAAE;AACrB,QAAA,IAAI,EAAE,4BAA4B;AAClC,QAAA,IAAI,EAAE,yEAAyE;AAClF,KAAA;AACD,IAAA,oBAAoB,EAAE;AAClB,QAAA,IAAI,EAAE,0BAA0B;AAChC,QAAA,IAAI,EAAE,wGAAwG;AACjH,KAAA;AACD,IAAA,sBAAsB,EAAE;AACpB,QAAA,IAAI,EAAE,2BAA2B;AACjC,QAAA,IAAI,EAAE,gCAAgC;AACzC,KAAA;AACD,IAAA,2BAA2B,EAAE;AACzB,QAAA,IAAI,EAAE,gCAAgC;AACtC,QAAA,IAAI,EAAE,wDAAwD;AACjE,KAAA;AACD,IAAA,qBAAqB,EAAE;AACnB,QAAA,IAAI,EAAE,yBAAyB;AAC/B,QAAA,IAAI,EAAE,4DAA4D;AACrE,KAAA;AACD,IAAA,kBAAkB,EAAE;AAChB,QAAA,IAAI,EAAE,iBAAiB;AACvB,QAAA,IAAI,EAAE,uEAAuE;AAChF,KAAA;AACD,IAAA,iBAAiB,EAAE;AACf,QAAA,IAAI,EAAE,4CAA4C;AAClD,QAAA,IAAI,EAAE,oEAAoE;AAC7E,KAAA;EACH;AAEI,MAAO,aAAc,SAAQA,oBAAS,CAAA;IACxC,WAAY,CAAA,SAAiB,EAAE,YAAqB,EAAA;AAChD,QAAA,KAAK,CAAC,SAAS,EAAE,YAAY,CAAC,CAAC;AAC/B,QAAA,IAAI,CAAC,IAAI,GAAG,eAAe,CAAC;KAC/B;AAED;;AAEG;AACH,IAAA,OAAO,qCAAqC,GAAA;AACxC,QAAA,OAAO,IAAI,aAAa,CACpB,oBAAoB,CAAC,0BAA0B,CAAC,IAAI,EACpD,CAAA,EAAG,oBAAoB,CAAC,0BAA0B,CAAC,IAAI,CAAA,CAAE,CAC5D,CAAC;KACL;AAED;;AAEG;AACH,IAAA,OAAO,kCAAkC,GAAA;AACrC,QAAA,OAAO,IAAI,aAAa,CACpB,oBAAoB,CAAC,uBAAuB,CAAC,IAAI,EACjD,CAAA,EAAG,oBAAoB,CAAC,uBAAuB,CAAC,IAAI,CAAA,CAAE,CACzD,CAAC;KACL;AAED;;AAEG;AACH,IAAA,OAAO,+BAA+B,GAAA;AAClC,QAAA,OAAO,IAAI,aAAa,CACpB,oBAAoB,CAAC,oBAAoB,CAAC,IAAI,EAC9C,CAAA,EAAG,oBAAoB,CAAC,oBAAoB,CAAC,IAAI,CAAA,CAAE,CACtD,CAAC;KACL;AAED;;AAEG;AACH,IAAA,OAAO,iCAAiC,GAAA;AACpC,QAAA,OAAO,IAAI,aAAa,CACpB,oBAAoB,CAAC,sBAAsB,CAAC,IAAI,EAChD,CAAA,EAAG,oBAAoB,CAAC,sBAAsB,CAAC,IAAI,CAAA,CAAE,CACxD,CAAC;KACL;AAED;;AAEG;AACH,IAAA,OAAO,sCAAsC,GAAA;AACzC,QAAA,OAAO,IAAI,aAAa,CACpB,oBAAoB,CAAC,2BAA2B,CAAC,IAAI,EACrD,CAAA,EAAG,oBAAoB,CAAC,2BAA2B,CAAC,IAAI,CAAA,CAAE,CAC7D,CAAC;KACL;AAED;;AAEG;AACH,IAAA,OAAO,gCAAgC,GAAA;AACnC,QAAA,OAAO,IAAI,aAAa,CACpB,oBAAoB,CAAC,qBAAqB,CAAC,IAAI,EAC/C,CAAA,EAAG,oBAAoB,CAAC,qBAAqB,CAAC,IAAI,CAAA,CAAE,CACvD,CAAC;KACL;AAED;;AAEG;AACH,IAAA,OAAO,wBAAwB,GAAA;AAC3B,QAAA,OAAO,IAAI,aAAa,CACpB,oBAAoB,CAAC,kBAAkB,CAAC,IAAI,EAC5C,oBAAoB,CAAC,kBAAkB,CAAC,IAAI,CAC/C,CAAC;KACL;AAED;;AAEG;AACH,IAAA,OAAO,4BAA4B,GAAA;AAC/B,QAAA,OAAO,IAAI,aAAa,CACpB,oBAAoB,CAAC,iBAAiB,CAAC,IAAI,EAC3C,oBAAoB,CAAC,iBAAiB,CAAC,IAAI,CAC9C,CAAC;KACL;AACJ;;;;;"}
|
package/dist/index.cjs
DELETED
|
@@ -1,125 +0,0 @@
|
|
|
1
|
-
/*! @azure/msal-node v2.13.0 2024-08-13 */
|
|
2
|
-
'use strict';
|
|
3
|
-
'use strict';
|
|
4
|
-
|
|
5
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
6
|
-
|
|
7
|
-
var internals = require('./internals.cjs');
|
|
8
|
-
var PublicClientApplication = require('./client/PublicClientApplication.cjs');
|
|
9
|
-
var ConfidentialClientApplication = require('./client/ConfidentialClientApplication.cjs');
|
|
10
|
-
var ClientApplication = require('./client/ClientApplication.cjs');
|
|
11
|
-
var ClientCredentialClient = require('./client/ClientCredentialClient.cjs');
|
|
12
|
-
var DeviceCodeClient = require('./client/DeviceCodeClient.cjs');
|
|
13
|
-
var OnBehalfOfClient = require('./client/OnBehalfOfClient.cjs');
|
|
14
|
-
var ManagedIdentityApplication = require('./client/ManagedIdentityApplication.cjs');
|
|
15
|
-
var UsernamePasswordClient = require('./client/UsernamePasswordClient.cjs');
|
|
16
|
-
var Configuration = require('./config/Configuration.cjs');
|
|
17
|
-
var ClientAssertion = require('./client/ClientAssertion.cjs');
|
|
18
|
-
var TokenCache = require('./cache/TokenCache.cjs');
|
|
19
|
-
var NodeStorage = require('./cache/NodeStorage.cjs');
|
|
20
|
-
var DistributedCachePlugin = require('./cache/distributed/DistributedCachePlugin.cjs');
|
|
21
|
-
var Constants = require('./utils/Constants.cjs');
|
|
22
|
-
var CryptoProvider = require('./crypto/CryptoProvider.cjs');
|
|
23
|
-
var msalCommon = require('@azure/msal-common');
|
|
24
|
-
var packageMetadata = require('./packageMetadata.cjs');
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
exports.internals = internals;
|
|
29
|
-
exports.PublicClientApplication = PublicClientApplication.PublicClientApplication;
|
|
30
|
-
exports.ConfidentialClientApplication = ConfidentialClientApplication.ConfidentialClientApplication;
|
|
31
|
-
exports.ClientApplication = ClientApplication.ClientApplication;
|
|
32
|
-
exports.ClientCredentialClient = ClientCredentialClient.ClientCredentialClient;
|
|
33
|
-
exports.DeviceCodeClient = DeviceCodeClient.DeviceCodeClient;
|
|
34
|
-
exports.OnBehalfOfClient = OnBehalfOfClient.OnBehalfOfClient;
|
|
35
|
-
exports.ManagedIdentityApplication = ManagedIdentityApplication.ManagedIdentityApplication;
|
|
36
|
-
exports.UsernamePasswordClient = UsernamePasswordClient.UsernamePasswordClient;
|
|
37
|
-
exports.buildAppConfiguration = Configuration.buildAppConfiguration;
|
|
38
|
-
exports.ClientAssertion = ClientAssertion.ClientAssertion;
|
|
39
|
-
exports.TokenCache = TokenCache.TokenCache;
|
|
40
|
-
exports.NodeStorage = NodeStorage.NodeStorage;
|
|
41
|
-
exports.DistributedCachePlugin = DistributedCachePlugin.DistributedCachePlugin;
|
|
42
|
-
exports.ManagedIdentitySourceNames = Constants.ManagedIdentitySourceNames;
|
|
43
|
-
exports.CryptoProvider = CryptoProvider.CryptoProvider;
|
|
44
|
-
Object.defineProperty(exports, 'AuthError', {
|
|
45
|
-
enumerable: true,
|
|
46
|
-
get: function () { return msalCommon.AuthError; }
|
|
47
|
-
});
|
|
48
|
-
Object.defineProperty(exports, 'AuthErrorCodes', {
|
|
49
|
-
enumerable: true,
|
|
50
|
-
get: function () { return msalCommon.AuthErrorCodes; }
|
|
51
|
-
});
|
|
52
|
-
Object.defineProperty(exports, 'AuthErrorMessage', {
|
|
53
|
-
enumerable: true,
|
|
54
|
-
get: function () { return msalCommon.AuthErrorMessage; }
|
|
55
|
-
});
|
|
56
|
-
Object.defineProperty(exports, 'AzureCloudInstance', {
|
|
57
|
-
enumerable: true,
|
|
58
|
-
get: function () { return msalCommon.AzureCloudInstance; }
|
|
59
|
-
});
|
|
60
|
-
Object.defineProperty(exports, 'ClientAuthError', {
|
|
61
|
-
enumerable: true,
|
|
62
|
-
get: function () { return msalCommon.ClientAuthError; }
|
|
63
|
-
});
|
|
64
|
-
Object.defineProperty(exports, 'ClientAuthErrorCodes', {
|
|
65
|
-
enumerable: true,
|
|
66
|
-
get: function () { return msalCommon.ClientAuthErrorCodes; }
|
|
67
|
-
});
|
|
68
|
-
Object.defineProperty(exports, 'ClientAuthErrorMessage', {
|
|
69
|
-
enumerable: true,
|
|
70
|
-
get: function () { return msalCommon.ClientAuthErrorMessage; }
|
|
71
|
-
});
|
|
72
|
-
Object.defineProperty(exports, 'ClientConfigurationError', {
|
|
73
|
-
enumerable: true,
|
|
74
|
-
get: function () { return msalCommon.ClientConfigurationError; }
|
|
75
|
-
});
|
|
76
|
-
Object.defineProperty(exports, 'ClientConfigurationErrorCodes', {
|
|
77
|
-
enumerable: true,
|
|
78
|
-
get: function () { return msalCommon.ClientConfigurationErrorCodes; }
|
|
79
|
-
});
|
|
80
|
-
Object.defineProperty(exports, 'ClientConfigurationErrorMessage', {
|
|
81
|
-
enumerable: true,
|
|
82
|
-
get: function () { return msalCommon.ClientConfigurationErrorMessage; }
|
|
83
|
-
});
|
|
84
|
-
Object.defineProperty(exports, 'InteractionRequiredAuthError', {
|
|
85
|
-
enumerable: true,
|
|
86
|
-
get: function () { return msalCommon.InteractionRequiredAuthError; }
|
|
87
|
-
});
|
|
88
|
-
Object.defineProperty(exports, 'InteractionRequiredAuthErrorCodes', {
|
|
89
|
-
enumerable: true,
|
|
90
|
-
get: function () { return msalCommon.InteractionRequiredAuthErrorCodes; }
|
|
91
|
-
});
|
|
92
|
-
Object.defineProperty(exports, 'InteractionRequiredAuthErrorMessage', {
|
|
93
|
-
enumerable: true,
|
|
94
|
-
get: function () { return msalCommon.InteractionRequiredAuthErrorMessage; }
|
|
95
|
-
});
|
|
96
|
-
Object.defineProperty(exports, 'LogLevel', {
|
|
97
|
-
enumerable: true,
|
|
98
|
-
get: function () { return msalCommon.LogLevel; }
|
|
99
|
-
});
|
|
100
|
-
Object.defineProperty(exports, 'Logger', {
|
|
101
|
-
enumerable: true,
|
|
102
|
-
get: function () { return msalCommon.Logger; }
|
|
103
|
-
});
|
|
104
|
-
Object.defineProperty(exports, 'PromptValue', {
|
|
105
|
-
enumerable: true,
|
|
106
|
-
get: function () { return msalCommon.PromptValue; }
|
|
107
|
-
});
|
|
108
|
-
Object.defineProperty(exports, 'ProtocolMode', {
|
|
109
|
-
enumerable: true,
|
|
110
|
-
get: function () { return msalCommon.ProtocolMode; }
|
|
111
|
-
});
|
|
112
|
-
Object.defineProperty(exports, 'ResponseMode', {
|
|
113
|
-
enumerable: true,
|
|
114
|
-
get: function () { return msalCommon.ResponseMode; }
|
|
115
|
-
});
|
|
116
|
-
Object.defineProperty(exports, 'ServerError', {
|
|
117
|
-
enumerable: true,
|
|
118
|
-
get: function () { return msalCommon.ServerError; }
|
|
119
|
-
});
|
|
120
|
-
Object.defineProperty(exports, 'TokenCacheContext', {
|
|
121
|
-
enumerable: true,
|
|
122
|
-
get: function () { return msalCommon.TokenCacheContext; }
|
|
123
|
-
});
|
|
124
|
-
exports.version = packageMetadata.version;
|
|
125
|
-
//# sourceMappingURL=index.cjs.map
|
package/dist/index.cjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/internals.cjs
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/*! @azure/msal-node v2.13.0 2024-08-13 */
|
|
2
|
-
'use strict';
|
|
3
|
-
'use strict';
|
|
4
|
-
|
|
5
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
6
|
-
|
|
7
|
-
var Serializer = require('./cache/serializer/Serializer.cjs');
|
|
8
|
-
var Deserializer = require('./cache/serializer/Deserializer.cjs');
|
|
9
|
-
|
|
10
|
-
/*
|
|
11
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
12
|
-
* Licensed under the MIT License.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
exports.Serializer = Serializer.Serializer;
|
|
16
|
-
exports.Deserializer = Deserializer.Deserializer;
|
|
17
|
-
//# sourceMappingURL=internals.cjs.map
|
package/dist/internals.cjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"internals.cjs","sources":["../src/internals.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;;;AAAA;;;AAGG;;;;;"}
|