"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.createAuthProvider = createAuthProvider;
const environment_auth_provider_1 = require("./environment-auth-provider");
function createAuthProvider(config, input = {}) {
    return new environment_auth_provider_1.EnvironmentAuthProvider(process.env, input.retryCommand, input.locale ?? config.i18n.defaultLanguage);
}
