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,5 +1,5 @@
|
||||
export default class ScriptBuilder {
|
||||
script: string;
|
||||
script: string = "";
|
||||
getScript(scheme: string, tenantId: string, servicePrincipalId: string, servicePrincipalKey: string, subscriptionId: string, environment: string, scopeLevel: string): string {
|
||||
this.script += `Clear-AzContext -Scope Process; Clear-AzContext -Scope CurrentUser -Force -ErrorAction SilentlyContinue;`;
|
||||
if (scheme === "ServicePrincipal") {
|
||||
|
||||
Reference in New Issue
Block a user