mirror of
https://github.com/azure/login.git
synced 2026-03-15 09:20:56 -04:00
changes in scriptbuilder
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
class ScriptBuilder {
|
||||
constructor() {
|
||||
this.script = "";
|
||||
}
|
||||
getScript(scheme, tenantId, servicePrincipalId, servicePrincipalKey, subscriptionId, environment, scopeLevel) {
|
||||
this.script += `Clear-AzContext -Scope Process; Clear-AzContext -Scope CurrentUser -Force -ErrorAction SilentlyContinue;`;
|
||||
if (scheme === "ServicePrincipal") {
|
||||
|
||||
Reference in New Issue
Block a user