mirror of
https://github.com/MeowLynxSea/Proksea.git
synced 2025-07-10 19:34:41 +00:00
32 lines
2.0 KiB
JavaScript
32 lines
2.0 KiB
JavaScript
/*! @azure/msal-node v2.9.2 2024-06-10 */
|
|
'use strict';
|
|
import { ManagedIdentityEnvironmentVariableNames } from '../utils/Constants.mjs';
|
|
|
|
/*
|
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
* Licensed under the MIT License.
|
|
*/
|
|
const invalidFileExtension = "invalid_file_extension";
|
|
const invalidFilePath = "invalid_file_path";
|
|
const invalidManagedIdentityIdType = "invalid_managed_identity_id_type";
|
|
const invalidSecret = "invalid_secret";
|
|
const missingId = "missing_client_id";
|
|
const networkUnavailable = "network_unavailable";
|
|
const platformNotSupported = "platform_not_supported";
|
|
const unableToCreateAzureArc = "unable_to_create_azure_arc";
|
|
const unableToCreateCloudShell = "unable_to_create_cloud_shell";
|
|
const unableToCreateSource = "unable_to_create_source";
|
|
const unableToReadSecretFile = "unable_to_read_secret_file";
|
|
const userAssignedNotAvailableAtRuntime = "user_assigned_not_available_at_runtime";
|
|
const wwwAuthenticateHeaderMissing = "www_authenticate_header_missing";
|
|
const wwwAuthenticateHeaderUnsupportedFormat = "www_authenticate_header_unsupported_format";
|
|
const MsiEnvironmentVariableUrlMalformedErrorCodes = {
|
|
[ManagedIdentityEnvironmentVariableNames.AZURE_POD_IDENTITY_AUTHORITY_HOST]: "azure_pod_identity_authority_host_url_malformed",
|
|
[ManagedIdentityEnvironmentVariableNames.IDENTITY_ENDPOINT]: "identity_endpoint_url_malformed",
|
|
[ManagedIdentityEnvironmentVariableNames.IMDS_ENDPOINT]: "imds_endpoint_url_malformed",
|
|
[ManagedIdentityEnvironmentVariableNames.MSI_ENDPOINT]: "msi_endpoint_url_malformed",
|
|
};
|
|
|
|
export { MsiEnvironmentVariableUrlMalformedErrorCodes, invalidFileExtension, invalidFilePath, invalidManagedIdentityIdType, invalidSecret, missingId, networkUnavailable, platformNotSupported, unableToCreateAzureArc, unableToCreateCloudShell, unableToCreateSource, unableToReadSecretFile, userAssignedNotAvailableAtRuntime, wwwAuthenticateHeaderMissing, wwwAuthenticateHeaderUnsupportedFormat };
|
|
//# sourceMappingURL=ManagedIdentityErrorCodes.mjs.map
|