Skip to content

Commit

Permalink
Fix bug #3350 Do not display access token
Browse files Browse the repository at this point in the history
  • Loading branch information
Rodel Pacurib committed Aug 17, 2023
1 parent ccee58d commit 8ef716f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Commands/Base/TokenHandling.cs
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ internal static string GetAccessToken(Cmdlet cmdlet, string appOnlyDefaultScope,

cmdlet.WriteVerbose($"Acquiring oAuth token for {(requiredScopes.Length != 1 ? requiredScopes.Length + " " : "")}permission scope{(requiredScopes.Length != 1 ? "s" : "")} {string.Join(",", requiredScopes)}");
var accessToken = authManager.GetAccessTokenAsync(requiredScopes).GetAwaiter().GetResult();
cmdlet.WriteVerbose($"Access token acquired: {accessToken}");
cmdlet.WriteVerbose($"Access token acquired");
return accessToken;
}
return null;
Expand Down

0 comments on commit 8ef716f

Please sign in to comment.